/**
 * SPA 額外樣式 - 包含所有頁面的額外 CSS
 * 需要在 index.html 的 <style> 標籤後引入
 */

/* Contact section simplified (without overlay card) */
.contact-section .contact-left {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-section .contact-left img {
    width: 100%;
    max-width: 590px;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
}

/* ===========================================
   導航高亮
   =========================================== */
.nav-items a.active {
    color: #16544F;
}

/* ===========================================
   SPA 內容容器動畫
   =========================================== */
#app-content {
    transition: opacity 0.2s ease;
}

#app-content.fade-out {
    opacity: 0;
}

/* ===========================================
   About Page 樣式
   =========================================== */
/* Hero Section - About */
.hero.about-hero {
    background-image: url('../images/archive/brand/2.png');
}

/* About Section */
.about-section {
    width: 100%;
    padding: var(--spacing-xl) clamp(20px, 5vw, 100px);
    background: #FFFFFF;
}

.about-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.content-block {
    display: flex;
    flex-direction: column;
}

.content-block h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h2);
    /* Unified to H2 (approx 35px) to match Home baseline */
    line-height: 1.3;
    text-transform: capitalize;
    color: #2B2B2B;
}

.content-block .subheading {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    /* Unified to match body text size as requested */
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #2B2B2B;
    margin-top: 15px;
    /* Slightly reduced margin */
}

.content-block .body-text {
    margin-top: 20px;
}

.content-block .body-text p {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    /* Unified to match home page baseline (approx 17px) */
    line-height: 1.6;
    letter-spacing: 0.03em;
    color: #2B2B2B;
}

.content-block .body-text p+p {
    margin-top: 20px;
}

/* ===========================================
   Product Overview Page 樣式
   =========================================== */
/* Hero Section - Collections */
.hero {
    width: 100%;
    height: var(--banner-height);
    background-size: cover;
    background-position: center;
}

.hero.collections-hero {
    background-image: url('../images/pages/collections/header.png');
}

/* Hybrid Hero Banner */
.responsive-hero {
    width: 100%;
    display: block;
    /* Desktop: Crop to fixed height for cinematic look */
    height: var(--banner-height);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .responsive-hero {
        /* Mobile: Show full image (auto height) */
        height: auto;
        object-fit: contain;
    }
}


/* Collection Section */
.collection-section {
    width: 100%;
    padding: var(--spacing-xl) clamp(20px, 5vw, 100px);
    background: #FFFFFF;
}

.collection-top {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.collection-media {
    width: 590px;
    height: 590px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.collection-content {
    width: 590px;
    padding: var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.collection-title-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.collection-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h1);
    line-height: 1.3;
    text-transform: capitalize;
    color: #2B2B2B;
}

.collection-body {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    line-height: 1.6;
    color: #757575;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item img {
    width: 20px;
    height: 20px;
}

.feature-item span {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    line-height: 1.6;
    color: #6E6E6E;
}

/* Product List Sections */
.product-list-section {
    width: 100%;
    padding: 0 clamp(20px, 5vw, 100px) var(--spacing-xl);
    background: #FFFFFF;
    margin-top: calc(-1 * var(--spacing-md));
    /* Tighten gap between description and products */
}

.product-list-wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

/* 3-column grid */
.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}

/* 2-column grid */
.products-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Single card aligned right */
.products-grid-1 {
    display: flex;
    justify-content: flex-end;
}

/* Product Card - Small (375px) */
.product-card-sm {
    width: 100%;
    max-width: 375px;
    background: #F9F9F9;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card-sm .product-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.product-card-sm .product-content {
    padding: 15px;
    background: #FFFFFF;
}

/* Product Card - Large (605px) */
.product-card-lg {
    width: 100%;
    max-width: 605px;
    background: #F9F9F9;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card-lg .product-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.product-card-lg .product-content {
    padding: 15px;
    background: #FFFFFF;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h3);
    /* Unified to H3 (approx 20px) to match Home baseline */
    line-height: 1.4;
    color: #2B2B2B;
}

/* ===========================================
   Product Detail Page 樣式
   =========================================== */
body.drawer-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

/* Product Section */
.product-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--spacing-xl) clamp(20px, 5vw, 100px);
    background: #FFFFFF;
}

.product-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-lg);
    align-items: stretch;
}

/* Left Column - Gallery */
.product-gallery {
    width: 615px;
    min-height: 820px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.main-image-carousel {
    position: relative;
    width: 615px;
    flex: 1;
    min-height: 820px;
    overflow: hidden;
}

.product-gallery .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.product-gallery .carousel-slide.active {
    opacity: 1;
}

.product-gallery .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

.product-gallery .carousel-dot {
    width: 15px;
    height: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.product-gallery .carousel-dot.active {
    background: #FFFFFF;
}

.product-thumbnails {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0;
}

.product-thumbnails::-webkit-scrollbar {
    height: 5px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: #C2AA87;
    border-radius: 10px;
}

.thumbnail {
    width: 100px;
    height: 120px;
    object-fit: cover;
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active {
    opacity: 1;
}

.thumbnail:hover {
    opacity: 0.8;
}

/* Right Column - Product Info */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-bottom: 0;
}

.product-info .product-thumbnails {
    margin-top: auto;
    padding-top: 10px;
    order: 10;
}

.product-title h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h1);
    line-height: 1.3;
    text-transform: capitalize;
    color: #2B2B2B;
}

.product-quote {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    line-height: 1.6;
    color: #2B2B2B;
    color: #2B2B2B;
    margin-top: 15px;
}

/* Product Capsules */
.product-capsules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* Reduced from 12px for tighter fit */
    margin-top: 10px;
    /* Reduced from 20px */
}

.tag-capsule {
    background: #16544F;
    color: #FFFFFF;
    padding: 3px 10px;
    /* Smaller mobile padding */
    border-radius: 30px;
    font-size: 12px;
    /* Smaller mobile font */
    font-weight: 500;
    font-family: 'Archivo', sans-serif;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .tag-capsule {
        padding: 4px 12px;
        font-size: 14px;
    }
}

.key-benefits h2,
.product-specs h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: var(--font-h3);
    line-height: 1.5;
    color: #2B2B2B;
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 52px;
    padding: 8px 0;
}

.benefits-list li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.benefits-list li span {
    font-family: 'Archivo', sans-serif;
    font-size: var(--font-body);
    line-height: 1.6;
    color: #2B2B2B;
}

.benefits-list li strong {
    font-weight: 600;
}

.product-specs ul {
    list-style: none;
    margin-top: 10px;
}

.product-specs li {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    line-height: 1.6;
    color: #2B2B2B;
}

.tips-accordion {
    width: 100%;
    height: 67px;
    padding: 20px 0;
    border-radius: 0;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: none;
    border-top: 1px solid #E0E0E0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.tips-accordion:hover {
    opacity: 0.7;
}

.tips-accordion span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h3);
    line-height: 1.5;
    color: #2B2B2B;
}

.accordion-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.tips-accordion.open .accordion-icon {
    transform: rotate(180deg);
}

/* Tips Overlay */
.tips-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 0.3s;
}

.tips-overlay.visible {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s;
}

.overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.tips-overlay.visible .overlay-backdrop {
    opacity: 1;
}

/* Desktop Optimization: Compress vertical spacing to aligning with image column */
@media (min-width: 1024px) {
    .product-quote {
        margin-top: 10px;
    }

    .key-benefits h2,
    .product-specs h2 {
        margin-bottom: 10px;
    }

    .benefits-list li {
        padding: 4px 0;
        /* Reduced from 8px */
    }

    .tips-accordion {
        padding: 15px 0;
        /* Reduced from 20px */
        height: auto;
        /* Allow height to adjust */
        min-height: 50px;
    }

    .product-capsules {
        margin-top: 8px;
    }
}

.drawer-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 408px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -6px -3px 18px rgba(0, 0, 0, 0.25);
    padding: 60px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.tips-overlay.visible .drawer-panel {
    transform: translateX(0);
}

.close-btn {
    position: absolute;
    top: 34px;
    right: 40px;
    width: 25px;
    height: 25px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 0.7;
}

.tips-content {
    max-width: 344px;
}

.tips-content h3 {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 24px;
    color: #2B2B2B;
    margin-bottom: 15px;
}

.tips-content h3:not(:first-child) {
    margin-top: 30px;
}

.tips-content p {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    color: #2B2B2B;
}

/* You Might Also Like Section */
.recommendations-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--spacing-xl) clamp(20px, 5vw, 100px);
    background: #FFFFFF;
}

.recommendations-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.recommendations-section .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h2);
    line-height: 1.3;
    color: #000000;
}

.product-cards-row {
    display: flex;
    gap: 57.5px;
    /* (1240 - 3*375)/2 = 57.5px for perfect desktop alignment */
    flex-wrap: wrap;
}

.product-card {
    width: 375px;
    height: auto;
    min-height: 565px;
    background: #F9F9F9;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.product-card-content {
    width: 100%;
    height: 65px;
    padding: 15px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
}

.product-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h3);
    /* Unified to H3 to match collections page */
    line-height: 1.4;
    color: #2B2B2B;
    padding-bottom: 5px;
}

/* ===========================================
   響應式樣式 - 額外頁面
   =========================================== */
@media (max-width: 1280px) {
    .collection-top {
        flex-direction: column;
        align-items: center;
    }

    .collection-media {
        width: 100%;
        max-width: 590px;
        height: 400px;
    }

    .collection-content {
        width: 100%;
        max-width: 590px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .products-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .product-card-sm {
        width: 100%;
    }

    .products-grid-2 {
        grid-template-columns: 1fr;
    }

    .product-card-lg {
        width: 100%;
    }

    .products-grid-1 {
        justify-content: center;
    }

    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product-gallery {
        width: 100%;
        max-width: 615px;
        min-height: auto;
        margin: 0 auto;
    }

    .main-image-carousel {
        width: 100%;
        height: 0;
        padding-bottom: 120%;
        min-height: auto;
    }

    .product-gallery .carousel-slide {
        background-size: cover;
        background-position: center;
        /* Centered Core */
    }

    .product-info {
        width: 100%;
        max-width: 615px;
    }

    .product-cards-row {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .about-section {
        padding: var(--spacing-lg) 20px;
    }

    .collection-section {
        padding: 50px;
    }

    .product-list-section {
        padding: 50px;
    }

    .product-section {
        padding: 50px;
    }

    .recommendations-section {
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .product-info {
        display: flex;
        flex-direction: column;
    }

    .product-info .product-thumbnails {
        order: -1;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .hero {
        height: 300px;
    }

    .collection-section {
        padding: var(--spacing-lg) 20px;
    }

    .collection-media {
        height: 300px;
        border-radius: 20px;
    }

    .product-list-section {
        padding: 0 20px var(--spacing-lg);
        margin-top: 0;
    }

    /* Grid for Collections - Fit all in one row */
    .products-grid-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding-bottom: 0;
    }

    .products-grid-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-bottom: 0;
    }

    .product-card-sm,
    .product-card-lg {
        width: 100%;
        min-width: 0;
        /* Allow shrinking below min-content */
        max-width: none;
        flex-shrink: 1;
    }

    /* Maintain aspect ratio: 375/500 = 0.75 or 3/4 */
    .product-card-sm .product-image {
        height: auto;
        aspect-ratio: 375 / 500;
    }

    /* Maintain aspect ratio: 605/500 = 1.21 */
    .product-card-lg .product-image {
        height: auto;
        aspect-ratio: 605 / 500;
    }

    .product-card-sm .product-content,
    .product-card-lg .product-content {
        padding: 10px 5px;
    }

    .product-name {
        font-size: clamp(10px, 4vw, 16px);
        line-height: 1.2;
    }

    .about-section {
        padding: var(--spacing-lg) 20px 60px;
    }

    .about-wrapper {
        gap: 40px;
    }

    .product-section {
        padding: var(--spacing-md) 20px;
    }

    .product-title h1 {
        font-size: 32px;
        line-height: 42px;
    }

    .thumbnail {
        width: 80px;
        height: 100px;
    }

    .recommendations-section {
        padding: var(--spacing-lg) 20px;
    }

    .product-cards-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .product-card {
        width: 100%;
        min-height: 0;
        height: auto;
    }

    .product-card .product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 375 / 500;
        background-size: cover;
        background-position: center;
        padding-bottom: 0;
    }

    .product-card-content {
        padding: 8px 5px;
    }

    .product-card-content h3 {
        font-size: var(--font-h3);
        /* Follow global responsive scaling instead of fixed clamp */
    }

    .drawer-panel {
        width: 100%;
    }
}

/* ===========================================
   Home Page - Collection Cards with Images (NEW)
   =========================================== */
.collection-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collection-card-image {
    width: 100%;
    /* Maintain 392/264 ratio approx 3/2 */
    aspect-ratio: 3/2;
    border-radius: clamp(10px, 2.5vw, 30px);
    background-size: cover;
    background-position: center;
}

.collection-card h3 {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h3);
    line-height: 1.4;
    text-align: center;
    color: #2B2B2B;
}

/* ===========================================
   Home Page - Services Section (NEW)
   =========================================== */
.services-section {
    width: 100%;
    padding: 50px clamp(20px, 5vw, 100px);
    background: #F9F9F9;
}

.services-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    /* Aggressively reduced to maximize width */
}

.service-card {
    padding: 15px;
    /* Aggressively reduced */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
}

.service-card h3 {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: var(--font-h3);
    line-height: 1.4;
    letter-spacing: 0;
    color: #2B2B2B;
}

.service-card p {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.06em;
    color: #000000;
}

/* ===========================================
   Home Page - Why Choose Section (NEW)
   =========================================== */
.why-choose-section {
    width: 100%;
    padding: 50px clamp(20px, 5vw, 100px);
    background: #F9F9F9;
    text-align: center;
}

.why-choose-section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-h2);
    line-height: 1.4;
    color: #2B2B2B;
    margin-bottom: 50px;
}

.why-choose-list {
    max-width: 1124px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.why-choose-item img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.why-choose-item span {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
    color: #757575;
}

/* ===========================================
   Responsive - New Sections
   =========================================== */
@media (max-width: 1024px) {
    /* Services Grid layout remains default (3 columns) */

    .service-card {
        padding: 25px;
    }

    .why-choose-list {
        flex-direction: column;
        align-items: flex-start;
        /* Changed from center to align icons to the left */
        width: fit-content;
        /* Ensure the group stays together */
        margin: 0 auto;
        /* Keep the group centered in the section */
        gap: 20px;
    }

    /* Collection Card Image follows global aspect-ratio */
}

@media (max-width: 768px) {
    .services-section {
        padding: 25px 20px;
        /* Reduced top/bottom padding */
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        /* Reduced gap between cards */
    }

    .service-card {
        padding: 10px;
        /* Reduced internal padding */
        gap: 8px;
        /* Reduced gap between icon, title and text */
    }



    .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-card p {
        font-size: 10px;
        line-height: 1.4;
    }

    .why-choose-section {
        padding: 40px 20px;
    }

    .why-choose-section h2 {
        /* font-size: 22px; Removed */
        margin-bottom: 30px;
    }

    .why-choose-item span {
        font-size: 14px;
    }

    /* Reduce checkmark icon sizes specifically for mobile */
    .why-choose-item img,
    .feature-item img,
    .benefits-list li img {
        width: 16px !important;
        height: 16px !important;
    }
}

/* ===================================================
   Mobile Responsive - Contact Section
   =================================================== */

@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-lg) 20px;
    }

    .contact-left {
        order: -1;
        padding-left: 0;
    }

    .contact-left img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 15px;
    }

    .contact-right h2 {
        font-size: var(--font-h2);
        margin-bottom: var(--spacing-md);
    }

    .routine-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .routine-card {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .routine-card h3,
    .routine-card p {
        margin: 0;
    }
}

/* ===================================================
   Terms of Service Page
   =================================================== */
.terms-container {
    max-width: 1233px;
    margin: 0 auto;
    padding: 100px 20px;
    color: #2B2B2B;
}

.terms-header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 45px;
    line-height: 59px;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 60px;
    color: #2B2B2B;
}

.terms-content {
    font-family: 'Archivo', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.terms-content p {
    margin-bottom: 20px;
}

.terms-section-title {
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Mobile Adjustments for Terms */
@media (max-width: 768px) {
    .terms-container {
        padding: 50px 20px;
    }

    .terms-header h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .terms-content {
        font-size: 16px;
    }
}

/* ===================================================
   Product Lightbox (Premium Glassmorphism)
   =================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.visible {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 10001;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox-overlay.visible .lightbox-content {
    transform: scale(1);
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 10002;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10002;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

/* Main Carousel Interactivity */
.main-image-carousel {
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }
}