/* =========================================================================
   ÔTAY BOX - STYLESHEET
   100% Vanilla CSS, Responsive, Dark/Light Mode
   ========================================================================= */

/* --- CSS Variables & Theme Definitions --- */
:root {
    /* Brand Colors */
    --clr-brand-dark: #4b6c4f;
    /* Logo Main Green */
    --clr-brand-light: #8dac95;
    /* Logo Light Green */
    --clr-brand-accent: #424746;
    /* Logo Slate Grey */

    /* Typography */
    --font-heading: 'Poppins',
        sans-serif;
    --font-body: 'Inter',
        sans-serif;

    /* Spacing & Layout */
    --section-padding: 5rem 0;
    --nav-height: 100px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Animation Speeds */
    --transition-fast: 0.2s ease;
    --transition-mid: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-main: #FDFDFD;
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);

    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-muted: #888888;

    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);

    --accent: var(--clr-brand-dark);
    --accent-glow: rgba(75, 108, 79, 0.2);
}

/* Dark Theme Variables (Default) */
[data-theme="dark"] {
    --bg-main: #121212;
    --bg-surface: #1E1E1E;
    --bg-glass: rgba(30, 30, 30, 0.6);
    --bg-glass-hover: rgba(45, 45, 45, 0.8);

    --text-primary: #F5F5F5;
    --text-secondary: #BBBBBB;
    --text-muted: #777777;

    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);

    --accent: var(--clr-brand-light);
    --accent-glow: rgba(141, 172, 149, 0.15);
}

/* --- Resets --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-mid), color var(--transition-mid);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

section[id] {
    scroll-margin-top: var(--nav-height);
}

.text-primary {
    color: var(--accent);
}

.text-accent {
    color: var(--accent);
}

.text-orange {
    color: var(--clr-brand-accent);
}

.mt-4 {
    margin-top: 2rem;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.btn-primary {
    background: var(--clr-brand-dark);
    color: white;
    box-shadow: 0 4px 15px rgba(75, 108, 79, 0.3);
}

.btn-primary:hover {
    background: #3a543d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 108, 79, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-block {
    width: 100%;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    background: var(--bg-surface);
}

.icon-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--accent);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-mid);
}

.navbar.scrolled {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transform: scale(1.25);
    transform-origin: left center;
}

.footer-brand .logo-img {
    transform-origin: center center;
}

[data-theme="dark"] .logo-img {
    /* Soft warm white silhouette for dark mode */
    filter: brightness(0) invert(1) sepia(0.2) saturate(0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-surface);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--bg-main);
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
}

.cart-btn {
    position: relative;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    background: var(--bg-surface);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--clr-brand-accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Theme Toggle Icons */
[data-theme="dark"] .dark-icon {
    display: none;
}

[data-theme="light"] .light-icon {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: all var(--transition-mid);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    box-shadow: var(--shadow-md);
}

.mobile-link {
    padding: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    text-align: center;
    background: var(--bg-main);
}

.mobile-link:hover {
    color: var(--accent);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
}

.about-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-surface);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
}

.floating-badge i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* --- Boxes/Products Section --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.box-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-mid), box-shadow var(--transition-mid);
    display: flex;
    flex-direction: column;
}

.box-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.box-img-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.box-img {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-mid);
}

.box-card:hover .box-img {
    transform: scale(1.08);
}

.box-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.box-tag {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.box-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.box-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.box-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.box-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.box-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.btn-cart {
    background: var(--bg-main);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cart i {
    margin-right: 0.5rem;
}

.btn-cart:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* --- Product Detail Section (La Thé Box Style) --- */
.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

/* Image Gallery Stack */
.product-gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-mid);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Sticky Info Container */
.product-info-sticky {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    height: auto;
}

.product-info-content {
    padding: 1rem;
}

.product-title {
    font-size: 3rem;
    margin: 0.5rem 0 1rem;
    line-height: 1.1;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
}

.product-highlights {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.highlight-item i {
    color: var(--accent);
    font-size: 0.8rem;
}

.product-actions {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    margin: 2.5rem 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
}

.quantity-btn {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.quantity-btn:hover {
    color: var(--accent);
}

.product-meta-minimal {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Accordion Styles */
.product-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-accordion details {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.product-accordion summary {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.product-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-mid);
}

.product-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.details-content {
    padding: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.ingredient-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Product Detail */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-info-sticky {
        position: static;
    }

    .product-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .product-gallery-stack {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .gallery-item {
        min-width: 85%;
        scroll-snap-align: center;
    }
}

/* --- Content Blocks (Alternating) --- */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse .block-text {
    direction: ltr;
}

.block-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.block-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.content-block:hover .block-image img {
    transform: scale(1.05);
}

.block-text {
    padding: 2rem;
}

.block-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.block-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.block-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.block-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.block-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.block-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Responsive Content Blocks */
@media (max-width: 992px) {
    .content-block {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .content-block.reverse {
        direction: ltr;
    }

    .block-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .block-text h3 {
        font-size: 2rem;
    }
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.benefit-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Services Banner --- */
.glass-banner {
    position: relative;
}

.glass-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-brand-dark) 0%, var(--clr-brand-light) 100%);
    opacity: 0.05;
    z-index: -1;
}

.services-container {
    background: var(--bg-surface);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 4rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.services-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-family: serif;
    color: var(--border-color);
    line-height: 1;
}

.stars {
    color: #FFB800;
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.author {
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Mission --- */
.mission-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.mission-statement {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

/* --- Footer --- */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 350px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-primary);
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--accent);
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* --- Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Scroll Animations Base Classes */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up {
    transform: translateY(30px);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Product Detail Page --- */
.product-detail {
    background: var(--bg-main);
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.box-main-image {
    text-align: center;
    margin-bottom: 2rem;
}

.box-main-image img {
    width: 280px;
    max-width: 100%;
    border-radius: 20px;
}

.product-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform var(--transition-mid);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.thumb:hover {
    opacity: 0.8;
}

.thumb.active {
    border-color: var(--accent);
}

.product-main-image:hover {
    transform: scale(1.02);
}

.product-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
}

.quantity-btn {
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.5rem;
    background: none;
    border: none;
}

.quantity-val {
    font-weight: 600;
    margin: 0 1rem;
}

.product-meta {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* --- Content Showcase --- */
/* --- Premium Content Section --- */
.box-content-premium {
    max-width: 1440px;
    margin: 0 auto;
}

.full-content-view {
    margin-bottom: 8rem;
    perspective: 1000px;
}

.main-content-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    transition: transform 1.2s var(--transition-slow);
}

.main-content-image-wrapper:hover {
    transform: scale(1.02);
}

.content-overlay {
    position: absolute;
    top: 3rem;
    left: 3rem;
    z-index: 2;
}

.badge {
    background: var(--bg-surface);
    color: var(--accent);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Slider */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.slider-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 200px;
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.slide img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media screen and (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-block.reverse .block-image {
        order: -1;
    }
}

/* --- Media Queries --- */
@media screen and (max-width: 992px) {

    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-image-wrapper {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        text-align: center;
        padding-top: calc(var(--nav-height) + 2rem);
    }

    .hero-intro {
        margin: 0 auto 2rem;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .services-container,
    .contact-form {
        padding: 2rem;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
    }

    .box-info {
        padding: 1.5rem;
    }
}

/* =========================================================================
   PREMIUM EDITORIAL LAYOUT (Box Detail Page)
   ========================================================================= */
.premium-editorial {
    --clr-cream: #F9F6F0;
    --clr-warm-beige: #E6DFD3;
    --clr-dusty-rose: #D9A8A5;
    --clr-sage-green: #9BB0A5;
    --clr-soft-brown: #8D7B68;

    --text-editorial-dark: #3A3532;
    --text-editorial-light: #6A605C;

    background-color: var(--clr-cream);
    color: var(--text-editorial-dark);
    font-family: var(--font-body);
}

/* Force override for body background if .premium-editorial is present */
[data-theme="light"] body:has(.premium-editorial) {
    background-color: var(--clr-cream);
}
[data-theme="dark"] body:has(.premium-editorial) {
    background-color: var(--bg-main);
}

.premium-editorial h1,
.premium-editorial h2,
.premium-editorial h3 {
    font-family: var(--font-heading);
    color: var(--text-editorial-dark);
}

/* Hero Section */
.editorial-hero {
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 5rem;
    overflow: hidden;
}

.editorial-hero-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: start;
}

.editorial-hero-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-main-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    object-fit: contain;
    aspect-ratio: 4/3;
    background-color: white;
}

.hero-sub-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hero-sub-images img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    aspect-ratio: 1/1;
    object-fit: cover;
}

.clickable-thumb {
    cursor: pointer;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    border: 2px solid transparent;
}

.clickable-thumb:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.editorial-hero-info {
    padding: 2rem 0;
}

.editorial-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--clr-sage-green);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.editorial-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.editorial-price {
    font-size: 1.8rem;
    color: var(--clr-soft-brown);
    font-weight: 400;
    margin-bottom: 2rem;
}

.editorial-story {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-editorial-light);
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--clr-dusty-rose);
    padding-left: 1.5rem;
}

.editorial-benefits-list {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    color: var(--text-editorial-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.editorial-benefits-list i {
    color: var(--clr-sage-green);
    margin-right: 0.5rem;
}

.editorial-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: center;
}

.quantity-selector-elegant {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--clr-warm-beige);
}

.qty-btn-elegant {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-editorial-dark);
}

.qty-val-elegant {
    margin: 0 1rem;
    font-weight: 600;
}

.btn-elegant {
    background: var(--text-editorial-dark);
    color: var(--clr-cream);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-mid);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-elegant:hover {
    background: var(--clr-soft-brown);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Accordion */
.editorial-accordion details {
    border-bottom: 1px solid var(--clr-warm-beige);
    padding: 1rem 0;
}

.editorial-accordion summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.editorial-accordion summary::after {
    content: '+';
    font-weight: 300;
    transition: transform 0.3s;
}

.editorial-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.editorial-accordion .accordion-content {
    padding-top: 1rem;
    color: var(--text-editorial-light);
    line-height: 1.6;
}

/* Ritual Section */
.editorial-ritual {
    background: var(--clr-warm-beige);
    padding: 6rem 0;
}

.ritual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ritual-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-editorial-dark);
}

.ritual-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-editorial-light);
}

.ritual-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Inside the Box */
.editorial-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.editorial-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.editorial-section-header p {
    color: var(--text-editorial-light);
    font-size: 1.1rem;
}

.inside-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.inside-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-mid);
    border: 1px solid var(--clr-warm-beige);
}

.inside-card:hover {
    transform: translateY(-10px);
}

.inside-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.inside-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.inside-card:hover .inside-img img {
    transform: scale(1.05);
}

.inside-info {
    padding: 2rem;
}

.inside-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-sage-green);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.inside-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.inside-desc {
    color: var(--text-editorial-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.inside-notes {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-dusty-rose);
}

/* Gallery Ticker */
.gallery-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.gallery-ticker {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
}

.gallery-ticker:hover {
    animation-play-state: paused;
}

.gallery-ticker img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Reviews */
.editorial-reviews {
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--clr-cream);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.review-stars {
    color: var(--clr-soft-brown);
    margin-bottom: 1.5rem;
}

.review-text {
    font-style: italic;
    color: var(--text-editorial-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.review-author {
    font-weight: 600;
    color: var(--clr-sage-green);
}

/* Responsive Editorial */
@media (max-width: 992px) {
    .editorial-hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ritual-layout {
        grid-template-columns: 1fr;
    }

    .ritual-text {
        order: 2;
        text-align: center;
    }

    .ritual-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .editorial-title {
        font-size: 2.5rem;
    }

    .editorial-benefits-list {
        flex-direction: column;
        gap: 1rem;
    }

    /* =========================
   LUXE PRODUCT PREMIUM
========================= */

    /* LAYOUT */
    .lux-product {
        max-width: 1200px;
        margin: 120px auto;
        padding: 0 20px;

        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 70px;
        align-items: start;
    }

    /* LEFT */
    .lux-gallery {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .lux-main-image {
        border-radius: 24px;
        overflow: hidden;
        background: white;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    }

    .lux-main-image img {
        width: 100%;
        display: block;
        transition: transform .6s ease;
    }

    .lux-main-image:hover img {
        transform: scale(1.03);
    }

    .lux-thumbs {
        display: flex;
        gap: 12px;
    }

    .lux-thumbs img {
        width: 85px;
        height: 85px;
        object-fit: cover;
        border-radius: 14px;
        cursor: pointer;
        opacity: .6;
        transition: .3s;
    }

    .lux-thumbs img:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    /* RIGHT */
    .lux-info {
        position: sticky;
        top: 120px;
    }

    .lux-tag {
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #7a8b7d;
    }

    .lux-title {
        font-size: 42px;
        margin: 10px 0;
    }

    .lux-price {
        font-size: 24px;
        color: #4b6c4f;
        margin-bottom: 20px;
    }

    .lux-story {
        color: #666;
        line-height: 1.8;
        margin-bottom: 30px;
    }

    /* ACTIONS */
    .lux-actions {
        display: flex;
        gap: 12px;
        margin-bottom: 25px;
    }

    .lux-qty {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 10px 15px;
        border-radius: 999px;
        background: white;
        border: 1px solid #eee;
    }

    .lux-qty button {
        font-size: 18px;
        cursor: pointer;
    }

    .lux-btn {
        flex: 1;
        background: #4b6c4f;
        color: white;
        border: none;
        border-radius: 999px;
        padding: 14px;
        cursor: pointer;
        font-weight: 600;
        transition: .3s;
    }

    .lux-btn:hover {
        background: #3a543d;
        transform: translateY(-2px);
    }

    /* META */
    .lux-meta {
        margin: 25px 0;
        font-size: 14px;
        color: #666;
    }

    .lux-meta p {
        margin: 6px 0;
    }

    /* ACCORDION */
    .lux-accordion details {
        border-bottom: 1px solid #eee;
        padding: 12px 0;
    }

    .lux-accordion summary {
        cursor: pointer;
        font-weight: 600;
    }

    .lux-accordion p {
        margin-top: 10px;
        color: #777;
        line-height: 1.6;
    }

    /* RESPONSIVE */
    @media(max-width: 900px) {
        .lux-product {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .lux-info {
            position: static;
        }

        .lux-title {
            font-size: 28px;
        }

    }
/* --- Global WhatsApp Floating Button --- */
.global-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.global-wa-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.global-wa-btn::before {
    content: "Une question ? Commandez via WhatsApp !";
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #FAF8F5;
    color: #2F2A25;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    pointer-events: none;
}

[data-theme="dark"] .global-wa-btn::before {
    background: #2F2A25;
    color: #FAF8F5;
}

.global-wa-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

@media(max-width: 768px) {
    .global-wa-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    .global-wa-btn::before {
        display: none;
    }
}

/* Hide extra nav actions on mobile and tablet to prevent overflow */
@media(max-width: 768px) {
    .nav-actions .search-btn,
    .nav-actions .profile-btn,
    .nav-actions .theme-toggle {
        display: none !important;
    }
}

/* =========================================================
   MOBILE FIXES — Box Detail Page & Global
   ========================================================= */

/* Smaller elegant tab buttons on mobile */
@media(max-width: 768px) {
    .btn-elegant, .tab-btn {
        padding: 0.6rem 1.4rem !important;
        font-size: 0.88rem !important;
    }

    .tabs-header {
        gap: 0.6rem !important;
        margin-bottom: 2rem !important;
    }

    /* Editorial hero stacks vertically */
    .editorial-hero-layout {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .editorial-hero-gallery {
        width: 100% !important;
    }

    .hero-main-image img {
        width: 100% !important;
        max-height: 300px !important;
        object-fit: cover !important;
    }

    .hero-sub-images {
        display: flex !important;
        gap: 0.5rem !important;
    }

    .hero-sub-images img {
        width: calc(33.333% - 0.35rem) !important;
        height: 80px !important;
        object-fit: cover !important;
    }

    /* Quantity + add to cart responsive */
    .editorial-actions {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .btn-elegant.add-to-cart-btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* Section padding reduction */
    .editorial-inside {
        padding: 3rem 1rem !important;
        margin: 1rem !important;
    }
}

/* Dark mode: ensure editorial page text is readable */
[data-theme="dark"] .editorial-hero-info,
[data-theme="dark"] .editorial-badge,
[data-theme="dark"] .editorial-story p,
[data-theme="dark"] .editorial-benefits-list span {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .editorial-title {
    color: var(--accent) !important;
}

[data-theme="dark"] .editorial-price {
    color: var(--text-primary) !important;
}

/* Image lazy loading fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

