/* ============================================
   EN-STYLE.CSS — English site supplementary styles
   Overrides Chinese-specific styles from main site
   ============================================ */

/* --- Typography --- */
body {
    font-family: 'Open Sans', 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #2c2c2c;
}

h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8c4c4;
}

h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* --- Navigation --- */
.nav_bg {
    background: #8b4557;
}

.navbar-nav li a p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.navbar-nav li a span {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav li.active a p,
.navbar-nav li.active a span {
    color: #ffecd2;
}

.navbar-nav li a:hover p,
.navbar-nav li a:hover span {
    color: #ffecd2;
}

.navbar-collapse {
    padding: 0;
}

.list-inline {
    margin: 0;
}

.list-inline > li {
    padding: 12px 18px;
}

/* --- WEIXIN / Lang Switch area --- */
.weixin_code {
    float: right;
    text-align: center;
    margin-top: 5px;
}

.weixin_code img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.weixin_code p {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #fff;
    background: #8b4557;
    padding: 3px 12px;
    border-radius: 3px;
    cursor: pointer;
}

.weixin_code p a {
    color: #fff !important;
}

/* --- Hero Banner --- */
.en-hero {
    background: linear-gradient(135deg, #8b4557 0%, #6b3040 50%, #4a1f2d 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.en-hero-sm {
    padding: 50px 0;
}

.en-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.en-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.en-hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin: 5px 0;
}

/* --- Highlight Badge --- */
.en-highlight-badge {
    display: inline-block;
    background: #ffecd2;
    color: #8b4557;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* --- ISME Highlight Section --- */
.en-highlight {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 50px 0;
}

.en-highlight-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.en-highlight-box h2 {
    font-size: 24px;
    color: #8b4557;
    border: none;
    margin-top: 15px;
    margin-bottom: 15px;
}

.en-highlight-box p {
    font-size: 15px;
    color: #555;
    max-width: 700px;
    margin: 10px auto;
}

/* --- Section Styles --- */
.en-section {
    padding: 50px 0;
}

.en-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: #8b4557;
    margin-bottom: 20px;
    border-bottom: 2px solid #e8c4c4;
    padding-bottom: 10px;
}

.en-center {
    text-align: center;
}

.en-section p {
    margin-bottom: 12px;
    color: #555;
}

/* --- Button --- */
.en-btn {
    display: inline-block;
    background: #8b4557;
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.en-btn:hover {
    background: #6b3040;
    color: #ffecd2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,69,87,0.3);
}

/* --- Gallery --- */
.en-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.en-gallery-img {
    flex: 1;
    min-width: 200px;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- Features Section --- */
.en-features {
    background: #faf8f5;
    padding: 60px 0;
}

.en-feature-item {
    text-align: center;
    padding: 30px 20px;
}

.en-feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.en-feature-item h3 {
    color: #8b4557;
    font-size: 22px;
    margin-bottom: 10px;
}

.en-feature-item p {
    color: #666;
    font-size: 14px;
}

/* --- Products --- */
.en-products {
    background: linear-gradient(135deg, #8b4557 0%, #6b3040 100%);
    padding: 60px 0;
}

.en-products .en-section-title {
    color: #ffecd2;
    border-bottom-color: rgba(255,236,210,0.4);
}

.en-product-item {
    text-align: center;
    padding: 15px;
}

.en-product-item img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.en-product-item img:hover {
    transform: scale(1.05);
}

.en-product-item p {
    color: #ffecd2;
    font-size: 14px;
    font-weight: 600;
}

/* --- Page Content (Inner pages) --- */
.en-page {
    padding: 30px 0 60px;
}

.en-page-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    color: #8b4557;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #8b4557;
}

.en-page-content h2 {
    font-size: 24px;
    color: #8b4557;
}

.en-page-content p {
    margin-bottom: 12px;
    color: #555;
}

/* --- Lists --- */
.en-list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.en-list li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.7;
}

/* --- Mission Quote --- */
.en-mission-quote {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    border-left: 5px solid #8b4557;
    padding: 25px 30px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.en-mission-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #4a1f2d;
    font-style: italic;
    margin-bottom: 5px;
    line-height: 1.6;
}

/* --- Timeline --- */
.en-timeline {
    margin: 30px 0;
}

.en-timeline-item {
    padding: 20px;
    margin-bottom: 15px;
    background: #faf8f5;
    border-radius: 8px;
    border-left: 4px solid #8b4557;
}

.en-timeline-item h3 {
    color: #8b4557;
    margin-bottom: 10px;
}

/* --- Contact --- */
.en-contact-info {
    margin: 20px 0;
}

.en-contact-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.en-contact-item strong {
    color: #8b4557;
}

.en-qr-section {
    margin: 30px 0;
}

.en-qr-box {
    text-align: center;
    padding: 20px;
    background: #faf8f5;
    border-radius: 8px;
    display: inline-block;
}

.en-qr-box img {
    width: 180px;
    height: 180px;
    border-radius: 4px;
}

/* --- ISME Link --- */
.en-isme-link {
    text-align: center;
    margin: 30px 0;
}

/* --- Products Page (products.html) --- */
.en-prod-category {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.en-prod-cat-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: #8b4557;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.en-prod-cat-icon {
    font-size: 32px;
}

.en-prod-cat-desc {
    color: #777;
    font-size: 15px;
    margin-bottom: 25px;
    max-width: 800px;
}

.en-prod-card-wrap {
    margin-bottom: 20px;
}

.en-prod-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.en-prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139,69,87,0.18);
}

.en-prod-card-img {
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf8f5;
}

.en-prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.en-prod-card:hover .en-prod-card-img img {
    transform: scale(1.06);
}

.en-prod-card-body {
    padding: 18px 20px 22px;
}

.en-prod-card-body h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    color: #2c2c2c;
    margin: 0 0 8px 0;
}

.en-prod-card-body p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.en-prod-tag {
    display: inline-block;
    background: #f0e6dd;
    color: #8b4557;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* --- Category Table --- */
.en-cat-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
}

.en-cat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.en-cat-table th {
    background: #8b4557;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.en-cat-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: #555;
    vertical-align: top;
}

.en-cat-table tr:nth-child(even) td {
    background: #faf8f5;
}

.en-cat-table tr:hover td {
    background: #f5eee8;
}

.en-cat-table a {
    color: #8b4557;
    font-weight: 600;
    text-decoration: none;
}

.en-cat-table a:hover {
    text-decoration: underline;
}

/* --- Responsive: Products Page --- */
@media (max-width: 768px) {
    .en-prod-card-img {
        height: 160px;
    }

    .en-prod-cat-title {
        font-size: 20px;
    }

    .en-cat-table {
        font-size: 12px;
    }

    .en-cat-table th,
    .en-cat-table td {
        padding: 8px 10px;
    }
}

/* --- Shop Filter Bar --- */
.en-shop-filter {
    background: #faf8f5;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.en-filter-section {
    margin-bottom: 18px;
}

.en-filter-section:last-of-type {
    margin-bottom: 0;
}

.en-filter-section h4 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    color: #8b4557;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.en-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.en-filter-btn {
    background: #fff;
    border: 1.5px solid #ddd;
    color: #555;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Open Sans', Arial, sans-serif;
}

.en-filter-btn:hover {
    border-color: #8b4557;
    color: #8b4557;
    background: #fff5f7;
}

.en-filter-btn.active {
    background: #8b4557;
    color: #fff;
    border-color: #8b4557;
}

.en-filter-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e8e0d8;
    flex-wrap: wrap;
    gap: 10px;
}

#filter-count {
    font-size: 14px;
    color: #777;
    font-weight: 500;
}

.en-sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #777;
}

.en-sort-select select {
    padding: 5px 12px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Open Sans', Arial, sans-serif;
    background: #fff;
    color: #555;
    cursor: pointer;
}

.en-sort-select select:focus {
    outline: none;
    border-color: #8b4557;
}

/* --- Breadcrumb --- */
.en-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
    padding: 10px 0;
}

.en-breadcrumb a {
    color: #8b4557;
    text-decoration: none;
}

.en-breadcrumb a:hover {
    text-decoration: underline;
}

.en-breadcrumb span {
    color: #666;
}

/* --- Product Price --- */
.en-prod-price {
    font-size: 18px;
    color: #8b4557 !important;
    font-weight: 700;
    margin: 0 0 10px 0 !important;
    font-family: 'Open Sans', Arial, sans-serif;
}

/* --- Chinese product name (subtitle) --- */
.en-prod-cn-name {
    font-size: 12px !important;
    color: #aaa !important;
    margin: 0 0 4px 0 !important;
    font-style: italic;
}

/* --- Small Button --- */
.en-btn-sm {
    display: inline-block;
    background: #8b4557;
    color: #fff !important;
    padding: 4px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.en-btn-sm:hover {
    background: #6b3040;
    color: #ffecd2 !important;
}

/* --- No Results --- */
#no-results {
    text-align: center;
    padding: 60px 0;
}

#no-results a {
    color: #8b4557;
    text-decoration: underline;
    cursor: pointer;
}

/* --- Responsive: Shop --- */
@media (max-width: 768px) {
    .en-shop-filter {
        padding: 18px 15px;
    }

    .en-filter-buttons {
        gap: 6px;
    }

    .en-filter-btn {
        padding: 5px 12px;
        font-size: 12px;
    }

    .en-filter-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .en-hero-sm {
        padding: 35px 0;
    }

    .en-hero-title {
        font-size: 28px;
    }
}

/* --- Footer Overrides --- */
.foot {
    background: #3a3a3a;
    color: #ccc;
    padding: 30px 0 15px;
}

.foot h3 {
    color: #ffecd2;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.foot p {
    color: #aaa;
    font-size: 13px;
}

.foot a {
    color: #fcb69f;
}

.foot a:hover {
    color: #ffecd2;
}

.copy {
    background: #2a2a2a;
    padding: 12px 0;
    color: #888;
    font-size: 12px;
}

.copy a {
    color: #888;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .en-hero-title {
        font-size: 32px;
    }

    .en-hero-subtitle {
        font-size: 16px;
    }

    .en-page-title {
        font-size: 28px;
    }

    .en-highlight-box {
        padding: 25px 20px;
    }

    .en-gallery {
        flex-direction: column;
    }

    .en-gallery-img {
        min-width: 100%;
    }

    .list-inline > li {
        padding: 8px 10px;
    }

    .navbar-nav li a p {
        font-size: 12px;
    }
}
