:root {
    --forest: #1b3022;
    --forest-light: #2a4a35;
    --forest-dark: #0f1a12;
    --gold: #c4a265;
    --gold-light: #dbc08a;
    --gold-dark: #9a7b42;
    --beige: #f9f7f2;
    --beige-dark: #f0ebe3;
    --cream: #f9f7f2;
    --cream-dark: #ede8df;
    --white: #ffffff;
    --text: #2c2c2c;
    --text-muted: #6b6560;
    --charcoal: #1a1a1a;
    --shadow: 0 4px 24px rgba(27, 48, 34, 0.08);
    --shadow-lg: 0 16px 48px rgba(27, 48, 34, 0.12);
    --shadow-soft: 0 2px 12px rgba(27, 48, 34, 0.06);
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --font: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* legacy aliases */
    --navy: var(--forest-dark);
    --navy-soft: var(--forest);
    --emerald: var(--forest);
    --emerald-light: var(--forest-light);
    --burgundy: #7b4a3a;
    --burgundy-light: #9e5d48;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--beige);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--forest-dark);
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--gold-light); }
.top-divider { opacity: 0.3; }
.top-social { display: flex; gap: 8px; margin-left: 8px; }
.top-social a {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}
.top-social a:hover { background: var(--gold); color: var(--forest-dark); }

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid rgba(27,48,34,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header.hide-up { transform: translateY(-100%); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: #000;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(196,162,101,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-link:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.logo-img {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain;
}
.logo-link--sm .logo-img { height: 36px !important; min-width: 128px; }
.logo-link--md .logo-img { height: 44px !important; min-width: 156px; }
.logo-link--lg .logo-img { height: 52px !important; min-width: 184px; }
.logo-link--xl .logo-img { height: 60px !important; min-width: 212px; }
.footer-brand .logo-link { margin-bottom: 20px; }
.admin-sidebar .logo-link { margin-bottom: 28px; }
.login-box .logo-link { margin: 0 auto 12px; justify-content: center; }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--forest);
    transition: var(--transition);
}
.main-nav a:hover { color: var(--forest); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-contact-btn { white-space: nowrap; }

.header-search {
    display: flex;
    align-items: center;
    background: var(--beige);
    border: 1px solid rgba(27,48,34,0.1);
    border-radius: 50px;
    padding: 4px 4px 4px 16px;
    min-width: 200px;
    transition: var(--transition);
}
.header-search:focus-within {
    border-color: var(--forest);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27,48,34,0.08);
}
.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-family: var(--font);
    outline: none;
    padding: 8px 0;
    min-width: 0;
}
.header-search button {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--forest);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.header-search button:hover { background: var(--forest-light); }

.header-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    border: 1px solid rgba(27,48,34,0.1);
    transition: var(--transition);
    position: relative;
}
.header-icon:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}
.header-cart .cart-count {
    position: absolute;
    top: -2px; right: -2px;
    background: var(--gold);
    color: var(--forest-dark);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--forest);
    padding: 4px;
}

/* ===== HERO MODERN ===== */
.hero-modern {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.05);
}
.hero-slide.active {
    opacity: 1;
    animation: heroKenBurns 12s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}
.hero-modern-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(15,26,18,0.82) 0%,
        rgba(15,26,18,0.55) 45%,
        rgba(15,26,18,0.25) 100%);
}
.hero-modern-inner {
    position: relative;
    z-index: 2;
    padding: 100px 28px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85vh;
}
.hero-modern-content { max-width: 620px; }
.hero-tagline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}
.hero-modern-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}
.hero-modern-content h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.hero-modern-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 480px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 28px;
    right: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(1320px - 56px);
    margin: 0 auto;
    width: 100%;
}
.hero-dots { display: flex; gap: 16px; }
.hero-dot {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: var(--transition);
    font-family: var(--font);
}
.hero-dot.active, .hero-dot:hover { color: var(--white); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.hero-arrow:hover {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font);
}
.btn-forest {
    background: var(--forest);
    color: var(--white);
}
.btn-forest:hover {
    background: var(--forest-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--forest);
}
.btn-white:hover {
    background: var(--beige);
    color: var(--forest);
    transform: translateY(-2px);
}
.btn-primary {
    background: var(--forest);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--forest-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid rgba(27,48,34,0.25);
}
.btn-outline:hover {
    border-color: var(--forest);
    background: rgba(27,48,34,0.04);
}
.btn-dark {
    background: var(--forest);
    color: var(--white);
}
.btn-dark:hover { background: var(--forest-light); color: var(--white); }
.btn-burgundy {
    background: var(--burgundy);
    color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
}
.section-row h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--charcoal);
    font-weight: 600;
}
.section-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--forest);
    white-space: nowrap;
}
.section-link:hover { color: var(--gold-dark); }
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 10px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--charcoal);
    font-weight: 600;
}

/* ===== CATEGORIES MODERN ===== */
.section-categories { background: var(--white); padding: 88px 0; }
.categories-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.category-card-pro {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--beige);
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.category-card-pro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.7s ease;
}
.category-card-pro-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 22px 22px;
    background: linear-gradient(180deg, rgba(15,26,18,0.05) 20%, rgba(15,26,18,0.82) 100%);
    color: var(--white);
    z-index: 1;
}
.category-card-pro-count {
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 6px;
}
.category-card-pro h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
}
.category-card-pro p {
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.78);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.category-card-pro-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-light);
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}
.category-card-pro:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card-pro:hover img { transform: scale(1.12); }
.category-card-pro:hover .category-card-pro-cta {
    opacity: 1;
    transform: translateY(0);
}
.category-modern {
    text-align: center;
    transition: var(--transition);
}
.category-modern:hover { transform: translateY(-6px); }
.category-modern-img {
    background: var(--beige);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.category-modern:hover .category-modern-img {
    box-shadow: var(--shadow);
    background: var(--beige-dark);
}
.category-modern-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-modern:hover .category-modern-img img { transform: scale(1.08); }
.category-modern-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}
.category-modern-count {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== PRO GALLERY TILES ===== */
.products-gallery {
    gap: 24px;
}
.product-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27,48,34,0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-tile .product-card-img,
.product-tile .product-modern-img {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f2ec, #ebe6dc);
}
.product-tile .product-card-img img,
.product-tile .product-modern-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.product-tile:hover .product-card-img img,
.product-tile:hover .product-modern-img img {
    transform: scale(1.06);
}
.product-tile-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(27,48,34,0.88);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 50px;
    z-index: 2;
    backdrop-filter: blur(6px);
}
.product-tile-badge--inline {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
}
.product-tile-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 8px 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-tile .product-card-body,
.product-tile .product-modern-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-tile h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 4px;
}
.product-tile .btn-block { margin-top: auto; }
.catalog-count {
    opacity: 0.75;
    font-size: 0.92rem;
    margin-top: 8px;
}
.sidebar .cat-count {
    font-size: 0.78rem;
    opacity: 0.55;
    font-weight: 400;
}
.product-show-header {
    padding-top: 32px;
    text-align: center;
}
.product-detail-pro {
    align-items: start;
}
.product-detail-gallery {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(145deg, #f5f2ec, #ebe6dc);
}
.product-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
}
.product-inquiry-note {
    color: var(--text-muted);
    margin: 16px 0 24px;
    line-height: 1.7;
}
.product-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.back-to-category {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--forest);
}
.back-to-category:hover { color: var(--gold-dark); }
.section-related {
    background: var(--beige);
    padding: 60px 0 80px;
}
.product-hero-bar {
    background: var(--white);
    border-bottom: 1px solid rgba(27,48,34,0.06);
    padding: 16px 0 0;
}
.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-bottom: 16px;
}
.product-breadcrumb a:hover { color: var(--forest); }
.product-page { padding: 28px 0 72px; background: var(--beige); }
.product-wood-line {
    font-size: 1rem;
    color: var(--forest);
    margin: 0 0 16px;
    line-height: 1.6;
}
.quality-callout {
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    margin: 8px 0 22px;
}
.quality-kicker {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 8px;
}
.quality-callout p { margin: 0; opacity: 0.92; line-height: 1.7; font-size: 0.95rem; }
.quality-points {
    margin: 0 0 28px;
    display: grid;
    gap: 10px;
}
.quality-points li {
    position: relative;
    padding-left: 22px;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
}
.quality-points li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
}
.product-gallery-chip {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(27,48,34,0.92);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 8px 14px;
    border-radius: 50px;
}
.product-detail-gallery { position: relative; }

.wood-story { background: var(--white); padding: 80px 0; }
.wood-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.wood-card {
    background: var(--beige);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    border: 1px solid rgba(27,48,34,0.06);
}
.wood-card--dark {
    background: var(--forest);
    color: var(--white);
}
.wood-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 10px;
}
.wood-card--dark .wood-card-tag { color: var(--gold-light); }
.wood-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.wood-card p { line-height: 1.75; margin-bottom: 18px; color: var(--text-muted); }
.wood-card--dark p { color: rgba(255,255,255,0.78); }
.wood-card ul { display: grid; gap: 8px; }
.wood-card li {
    font-size: 0.9rem;
    padding-left: 18px;
    position: relative;
}
.wood-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--forest);
    font-weight: 700;
}
.wood-card--dark li::before { color: var(--gold-light); }

.quality-specs { background: var(--beige); padding: 80px 0; }
.specs-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 48px;
    align-items: start;
}
.specs-layout h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 8px 0 16px;
    font-weight: 600;
}
.specs-layout > div > p {
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 540px;
    line-height: 1.75;
}
.craft-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.craft-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(27,48,34,0.06);
}
.craft-item strong { display: block; margin-bottom: 6px; font-size: 0.95rem; }
.craft-item span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.spec-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(27,48,34,0.06);
    position: sticky;
    top: 110px;
}
.spec-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.spec-card dl { margin-bottom: 24px; }
.spec-card dl > div {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--beige-dark);
}
.spec-card dt {
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
}
.spec-card dd { font-size: 0.92rem; color: var(--text); }

@media (max-width: 992px) {
    .wood-grid, .specs-layout, .craft-list { grid-template-columns: 1fr; }
    .spec-card { position: static; }
}
.products-modern.products-gallery {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
    .products-modern.products-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-modern.products-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ===== LIFESTYLE BANNERS ===== */
.section-lifestyle { padding: 0 0 80px; }
.lifestyle-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}
.lifestyle-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--beige);
}
.lifestyle-card--large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
}
.lifestyle-card-content {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lifestyle-card-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.2;
    font-weight: 600;
}
.lifestyle-card-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}
.lifestyle-card-img { overflow: hidden; }
.lifestyle-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.lifestyle-card--large:hover .lifestyle-card-img img { transform: scale(1.06); }

.lifestyle-card--overlay {
    position: relative;
    min-height: 380px;
}
.lifestyle-card--overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}
.lifestyle-card--overlay:hover img { transform: scale(1.06); }
.lifestyle-overlay-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(15,26,18,0.85), transparent);
    color: var(--white);
}
.lifestyle-overlay-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 8px;
    font-weight: 600;
}
.lifestyle-overlay-content a {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.88rem;
}
.lifestyle-overlay-content a:hover { color: var(--white); }

/* ===== PRODUCTS MODERN ===== */
.section-featured { background: var(--beige); }
.products-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.product-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(27,48,34,0.06);
}
.product-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-modern-img {
    position: relative;
    aspect-ratio: 1;
    background: var(--beige);
    overflow: hidden;
}
.product-modern-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-modern:hover .product-modern-img img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--burgundy);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}
.product-wishlist {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.product-wishlist:hover { background: var(--forest); color: var(--white); }
.product-modern-body { padding: 16px; }
.product-modern-body .category {
    font-size: 0.7rem;
    color: var(--gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}
.product-modern-body h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
}
.product-modern-body h3 a:hover { color: var(--forest); }
.product-modern-price { margin-bottom: 6px; }
.price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--forest);
}
.price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.78rem;
}
.stars { color: var(--gold); letter-spacing: 1px; }
.rating-text { color: var(--text-muted); }
.add-cart-form { margin: 0; }

/* Legacy product grid (shop page) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(27,48,34,0.06);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--beige);
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 20px; }
.product-card-body .category {
    font-size: 0.7rem;
    color: var(--gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 6px 0 12px;
    font-weight: 600;
}
.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

/* Legacy categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,26,18,0.85), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
}
.category-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}
.category-card-overlay .count {
    font-size: 0.78rem;
    color: var(--gold-light);
    font-weight: 500;
}

/* ===== CUSTOM FURNITURE CTA ===== */
.section-custom {
    background: var(--forest);
    padding: 0;
}
.custom-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 400px;
}
.custom-content {
    padding: 60px 48px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.custom-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.2;
}
.custom-content p {
    opacity: 0.8;
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 0.95rem;
}
.custom-image {
    width: 280px;
    overflow: hidden;
}
.custom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.custom-features {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.custom-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}
.custom-feature-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.custom-feature strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.custom-feature span {
    font-size: 0.8rem;
    opacity: 0.65;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--white);
    padding: 48px 0;
    border-top: 1px solid rgba(27,48,34,0.06);
    border-bottom: 1px solid rgba(27,48,34,0.06);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.trust-icon {
    width: 48px; height: 48px;
    background: var(--beige);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.trust-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}
.trust-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.section-testimonials { background: var(--beige); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27,48,34,0.06);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--forest-dark);
    color: rgba(255,255,255,0.65);
    margin-top: auto;
    padding: 72px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--forest-dark); }
.footer-col h4 {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-col a, .footer-col p {
    display: block;
    font-size: 0.86rem;
    padding: 4px 0;
    line-height: 1.6;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-newsletter-form {
    display: flex;
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    overflow: hidden;
}
.footer-newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font);
    outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form button {
    padding: 12px 16px;
    border: none;
    background: var(--gold);
    color: var(--forest-dark);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.footer-newsletter-form button:hover { background: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}
.footer-bottom .gold { color: var(--gold); }

/* ===== LEGACY / SHARED ===== */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; overflow: hidden; background: var(--forest-dark); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,26,18,0.85), rgba(27,48,34,0.6)); }
.hero .container { position: relative; z-index: 2; padding: 80px 28px; }
.hero-content { max-width: 580px; }
.hero-badge { display: inline-block; background: rgba(196,162,101,0.15); border: 1px solid rgba(196,162,101,0.3); color: var(--gold-light); padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); margin-bottom: 20px; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.75; }

.color-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: -40px auto 0; max-width: 900px; position: relative; z-index: 10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.color-strip-item { padding: 24px 16px; text-align: center; color: var(--white); }
.color-strip-item:nth-child(1) { background: var(--forest); }
.color-strip-item:nth-child(2) { background: var(--forest-light); }
.color-strip-item:nth-child(3) { background: var(--gold-dark); }
.color-strip-item:nth-child(4) { background: var(--forest-dark); }
.color-strip-item strong { display: block; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 4px; }
.color-strip-item span { font-size: 0.78rem; opacity: 0.85; }

.promo-banner { background: var(--forest); border-radius: var(--radius-xl); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; color: var(--white); overflow: hidden; }
.promo-banner h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 14px; font-weight: 600; }
.promo-banner h2 em { color: var(--gold-light); font-style: italic; }
.promo-banner p { opacity: 0.8; margin-bottom: 24px; }
.promo-banner img { border-radius: var(--radius-lg); }

.features-section { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item { text-align: center; padding: 32px 24px; border-radius: var(--radius-lg); background: var(--beige); border: 1px solid rgba(27,48,34,0.06); transition: var(--transition); }
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; background: var(--white); }
.feature-item h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; font-weight: 600; }
.feature-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.newsletter-section { background: var(--forest); padding: 72px 0; text-align: center; color: var(--white); }
.newsletter-section h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 10px; font-weight: 600; }
.newsletter-section p { opacity: 0.75; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 20px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: var(--white); font-size: 0.9rem; outline: none; font-family: var(--font); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }

.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.88rem; font-weight: 500; }
.alert-success { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #4caf50; }
.alert-error { background: #fde8e8; color: #7b1f1f; border-left: 4px solid var(--burgundy); }

.page-header {
    background: var(--forest);
    color: var(--white);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1600&fit=crop') center/cover;
    opacity: 0.12;
}
.page-header .container { position: relative; }
.page-header .logo-link { justify-content: center; margin: 0 auto 16px; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 10px; font-weight: 600; }
.page-header p { opacity: 0.75; font-size: 1rem; }

.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 56px 0; }
.sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(27,48,34,0.06);
}
.sidebar h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--charcoal);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--forest);
    font-weight: 600;
}
.sidebar ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: var(--transition);
    margin-bottom: 2px;
}
.sidebar ul li a:hover, .sidebar ul li a.active {
    background: rgba(27,48,34,0.06);
    color: var(--forest);
    font-weight: 600;
}
.search-form { display: flex; gap: 8px; margin-bottom: 24px; }
.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(27,48,34,0.12);
    border-radius: var(--radius);
    font-size: 0.88rem;
    outline: none;
    font-family: var(--font);
    background: var(--beige);
}
.search-form input:focus { border-color: var(--forest); background: var(--white); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px 0; }
.product-detail-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 10px 0 16px; font-weight: 600; }
.product-detail-info .description { color: var(--text-muted); margin: 20px 0; line-height: 1.8; }
.in-stock { color: var(--forest); font-weight: 600; }
.out-stock { color: var(--burgundy); font-weight: 600; }
.qty-input {
    width: 72px;
    padding: 10px;
    border: 1px solid rgba(27,48,34,0.15);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.95rem;
    font-family: var(--font);
    background: var(--beige);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
}
.cart-btn:hover { background: var(--forest-light); color: var(--white); }
.cart-count {
    background: var(--gold);
    color: var(--forest-dark);
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-table { width: 100%; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--beige-dark); }
.cart-table th { background: var(--forest); color: var(--white); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); border: 1px solid rgba(27,48,34,0.06); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary-row.total { font-size: 1.2rem; font-weight: 700; border-top: 2px solid var(--forest); padding-top: 14px; margin-top: 6px; font-family: var(--font-display); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.82rem; margin-bottom: 6px; color: var(--charcoal); text-transform: uppercase; letter-spacing: 0.3px; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(27,48,34,0.12);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font);
    outline: none;
    transition: var(--transition);
    background: var(--beige);
}
.form-control:focus { border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 3px rgba(27,48,34,0.08); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-error { color: var(--burgundy); font-size: 0.82rem; margin-top: 4px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; padding: 56px 0; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; border: 1px solid rgba(27,48,34,0.1); background: var(--white); transition: var(--transition); }
.pagination a:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.pagination .active { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* Admin */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--forest-dark); color: var(--white); padding: 24px; flex-shrink: 0; }
.admin-nav a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 2px; font-size: 0.92rem; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(196,162,101,0.15); color: var(--gold-light); }
.admin-content { flex: 1; padding: 32px; background: var(--beige); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-header h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft); border-top: 3px solid var(--forest); }
.stat-card h3 { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.stat-card .value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.admin-table { width: 100%; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--beige-dark); font-size: 0.88rem; }
.admin-table th { background: var(--forest); color: var(--white); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.5px; }
.status-badge { display: inline-block; padding: 3px 12px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cce5ff; color: #004085; }
.status-shipped { background: #d1ecf1; color: #0c5460; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--forest); }
.login-box { background: var(--white); border-radius: var(--radius-xl); padding: 44px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-box h1 { font-family: var(--font-display); text-align: center; margin-bottom: 6px; font-size: 1.8rem; font-weight: 600; }
.login-box p.subtitle { text-align: center; color: var(--text-muted); margin-bottom: 32px; }
.empty-state { text-align: center; padding: 72px 20px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 10px; font-weight: 600; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* Animations */
.js-ready [data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.js-ready [data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate="fade-left"] { transform: translateX(-32px); }
[data-animate="fade-left"].is-visible { transform: translateX(0); }
[data-animate="fade-right"] { transform: translateX(32px); }
[data-animate="fade-right"].is-visible { transform: translateX(0); }
[data-animate="scale"] { transform: scale(0.95); }
[data-animate="scale"].is-visible { transform: scale(1); }

.hero-modern-content > * {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-tagline { animation-delay: 0.1s !important; }
.hero-modern-content h1 { animation-delay: 0.25s !important; }
.hero-modern-content p { animation-delay: 0.4s !important; }
.hero-buttons { animation-delay: 0.55s !important; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-card { background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-lg); }
.img-wrap { position: relative; overflow: hidden; background: var(--beige); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.contact-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .contact-split { grid-template-columns: 1fr; }
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-actions--stack {
    flex-direction: column;
}
.contact-actions--stack .btn { width: 100%; justify-content: center; }
.btn-whatsapp {
    background: #25D366;
    color: #fff;
}
.btn-whatsapp:hover {
    background: #1ebe5a;
    color: #fff;
    transform: translateY(-2px);
}
.top-whatsapp {
    background: #25D366;
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.72rem;
}
.top-whatsapp:hover { background: #1ebe5a; color: #fff !important; }

.float-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 48px;
    padding: 0 16px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.float-btn-whatsapp { background: #25D366; }
.float-btn-whatsapp:hover { background: #1ebe5a; color: #fff; }
.float-btn-call { background: var(--forest); }
.float-btn-call:hover { background: var(--forest-light); color: #fff; }

@media (max-width: 768px) {
    .float-contact { right: 12px; bottom: 12px; }
    .header-contact-btn { padding: 8px 12px; font-size: 0.75rem; }
}

/* Responsive */
@media (max-width: 1200px) {
    .products-modern { grid-template-columns: repeat(3, 1fr); }
    .categories-modern { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .custom-grid { grid-template-columns: 1fr 1fr; }
    .custom-image { display: none; }
    .custom-features { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
}

@media (max-width: 992px) {
    .top-bar-left span:not(:first-child) { display: none; }
    .top-divider { display: none; }
    .main-nav { display: none; }
    .header-search { display: none; }
    .mobile-toggle { display: block; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(27,48,34,0.08);
        gap: 12px;
    }
    .site-header .header-inner { position: relative; }
    .lifestyle-grid { grid-template-columns: 1fr; }
    .lifestyle-card--large { grid-template-columns: 1fr; }
    .lifestyle-card-img { min-height: 240px; }
    .products-modern { grid-template-columns: repeat(2, 1fr); }
    .categories-modern { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .custom-grid { grid-template-columns: 1fr; }
    .shop-layout, .product-detail, .checkout-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .promo-banner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 56px 0; }
    .hero-modern { min-height: 75vh; }
    .hero-modern-inner { min-height: 75vh; padding: 80px 28px 100px; }
    .hero-nav { bottom: 24px; }
    .categories-modern { grid-template-columns: repeat(2, 1fr); }
    .products-modern { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-modern-body { padding: 12px; }
    .product-modern-body h3 { font-size: 0.85rem; }
    .trust-grid, .testimonials-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
    .color-strip { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
    .section-row { flex-direction: column; align-items: flex-start; }
    .custom-content { padding: 40px 28px; }
    .custom-features { padding: 32px 28px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .newsletter-form { flex-direction: column; }
    .logo-link--md .logo-img { height: 38px !important; min-width: 135px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-animate] { opacity: 1; transform: none; }
}
