/* ============================================
   CAMPGEAR THEME - Main Stylesheet
   Nội thất Camping Indoor & Outdoor
   ============================================ */

/* === CSS Custom Properties === */
:root {
    /* Colors */
    --color-primary: #2D6A4F;
    --color-primary-dark: #1B4332;
    --color-primary-light: #40916C;
    --color-accent: #D4A373;
    --color-accent-dark: #B8834A;
    --color-gold: #E9C46A;
    --color-cream: #FEFAE0;
    --color-bg: #FAFAF5;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #111827;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;
    --color-error: #DC2626;
    --color-success: #16A34A;
    --color-warning: #F59E0B;
    --color-info: #0EA5E9;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --header-height: 80px;
    --container-max: 1280px;
    --container-padding: 20px;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

/* === Container === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === Section Common === */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.section-tabs {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-lg);
}

.tab-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--color-border);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}
.tab-btn.active,
.tab-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: var(--color-primary-dark);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.announcement-bar .container p {
    margin: 0;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-base);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--space-lg);
}

/* Logo */
.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
}
.logo-icon { font-size: 28px; }
.logo-accent { color: var(--color-primary); }

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-menu li { position: relative; }

.nav-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.nav-menu a:hover {
    color: var(--color-primary);
    background: rgba(45, 106, 79, 0.06);
}
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   NAV DROPDOWN - Products categories (desktop)
   ============================================ */
.nav-menu .sub-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 100;
    list-style: none;
    margin: 0;
    /* gentle slide-down + fade */
    transition:
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.3s;
    will-change: opacity, transform;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    /* small delay so the menu does not flicker while the mouse moves down */
    transition-delay: 0.12s;
}
.nav-menu .sub-menu li {
    width: 100%;
    position: relative;
}
.nav-menu .sub-menu a {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-menu .sub-menu a:hover {
    color: var(--color-primary);
    background: rgba(45, 106, 79, 0.06);
}
.nav-menu .sub-menu .current-menu-item > a {
    color: var(--color-primary);
    font-weight: 600;
    background: rgba(45, 106, 79, 0.06);
}
/* Small caret next to "Products" */
.nav-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.6;
}

/* Mobile: dropdown becomes a simple vertical list */
@media (max-width: 1024px) {
    #mobile-menu .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: none;
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        transition: none;
    }
    #mobile-menu .sub-menu a {
        padding-left: calc(var(--container-padding) + 24px);
        white-space: normal;
    }
}

/* ============================================
   LANGUAGE SWITCHER (flags)
   ============================================ */
.lang-switcher {
    position: relative;
    cursor: pointer;
}
.lang-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    margin: 0;
    list-style: none;
    z-index: 200;
    transition:
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.3s;
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.lang-dropdown li { margin: 0; }
.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 26px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.lang-dropdown a:hover,
.lang-dropdown a.current-lang {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.15);
}
.lang-dropdown img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Google Translate widget: hide its top banner & body offset */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.header-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    color: var(--color-text);
    transition: all var(--transition-fast);
}
.header-action-btn:hover {
    background: var(--color-border-light);
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    padding: 30px 0;
    transform: translateY(-100%);
    transition: transform var(--transition-slow);
    z-index: 1001;
    border-bottom: 1px solid var(--color-border);
}
.search-overlay.active {
    transform: translateY(0);
}

.search-form {
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 60px 16px 24px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 18px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-fast);
}
.search-input:focus {
    border-color: var(--color-primary);
}

.search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}
.search-close:hover {
    background: var(--color-border-light);
    color: var(--color-text);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--color-border-light);
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-menu a {
    display: block;
    padding: 14px var(--container-padding);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 100px 0 120px;
    max-width: 680px;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

.hero-highlight {
    color: var(--color-gold);
}

.hero-desc {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    opacity: 0.7;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
    padding: var(--space-xl) 0;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    font-size: 14px;
    color: var(--color-text);
}

.feature-text span {
    font-size: 12px;
    color: var(--color-text-light);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    background: var(--color-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.category-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.category-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.category-card:hover::before {
    transform: scaleY(1);
}

.category-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
    min-width: 0;
}

.category-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
}

.category-desc {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.category-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
}

.category-arrow {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    margin-top: 4px;
}

.category-card:hover .category-arrow {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.tab-content { display: none; }
.tab-content.active { display: grid; }

/* Product Card Placeholder (for demo without WooCommerce data) */
.product-card-placeholder {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
}

.placeholder-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-border-light) 0%, var(--color-bg) 100%);
    animation: shimmer 1.5s infinite;
}

.placeholder-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.placeholder-line {
    height: 14px;
    background: var(--color-border-light);
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
}
.placeholder-line.w-75 { width: 75%; }
.placeholder-line.w-50 { width: 50%; }

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section {
    padding: var(--space-xl) 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.banner-card {
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.banner-outdoor {
    background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 50%, #0D2818 100%);
}

.banner-indoor {
    background: linear-gradient(135deg, #D4A373 0%, #B8834A 50%, #9A6D3A 100%);
}

.banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.banner-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.banner-content p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: var(--space-lg);
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us-section {
    background: var(--color-bg-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.why-us-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.why-us-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-us-icon {
    font-size: 40px;
    margin-bottom: var(--space-md);
}

.why-us-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.why-us-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 16px;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.author-info strong {
    display: block;
    font-size: 14px;
    color: var(--color-text);
}

.author-info span {
    font-size: 12px;
    color: var(--color-text-light);
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */
.instagram-section {
    background: var(--color-bg-white);
}

.instagram-handle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: var(--space-sm);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.insta-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
    transition: all var(--transition-base);
}
.insta-item:hover {
    transform: scale(1.03);
}

.insta-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--color-border-light), var(--color-bg));
}

.insta-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-bg-dark);
    color: #E5E7EB;
}

/* Newsletter */
.footer-newsletter {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.newsletter-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #fff;
    margin-bottom: 4px;
}

.newsletter-content p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    min-width: 360px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-fast);
}
.newsletter-form input::placeholder { color: var(--color-text-muted); }
.newsletter-form input:focus { border-color: var(--color-primary); }

.newsletter-form button {
    padding: 14px 28px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.newsletter-form button:hover {
    background: var(--color-primary-light);
}

/* Footer Main */
.footer-main {
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
}

.footer-brand {
    margin-bottom: var(--space-md);
}
.footer-brand .logo-text {
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}
.footer-social a:hover {
    background: var(--color-primary);
    color: #fff;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-lg);
}

.footer-menu a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}
.footer-menu a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-main {
    padding: var(--space-xl) 0;
}

.shop-layout {
    display: flex;
    gap: var(--space-xl);
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
    order: 2;
}

.shop-content {
    flex: 1;
    min-width: 0;
    order: 1;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.shop-results-count {
    font-size: 14px;
    color: var(--color-text-light);
}

.shop-sorting select {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    background: #fff;
    cursor: pointer;
}

/* ============================================
   BLOG / GENERIC PAGES
   ============================================ */

/* Blog post item */
.post-item {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border-light);
}
.post-item:last-child {
    border-bottom: none;
}

.post-thumbnail {
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 70%;
}
.post-thumbnail img {
    width: 100%;
    display: block;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}
.post-title a {
    color: var(--color-text);
    text-decoration: none;
}
.post-title a:hover {
    color: var(--color-accent);
}

.post-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.page-content {
    padding: var(--space-2xl) 0;
}

.page-header {
    margin-bottom: var(--space-xl);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    .header-nav { display: none; }
    .mobile-menu-toggle { display: flex; }

    .header-logo img,
    .site-logo,
    .custom-logo {
        height: 50px !important;
        max-height: 50px;
    }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-grid { grid-template-columns: 1fr; }

    .hero-content {
        padding: 60px 0 80px;
    }
    .hero-actions {
        flex-direction: column;
    }

    .section-tabs {
        flex-wrap: wrap;
    }

    .newsletter-form {
        min-width: 280px;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --header-height: 60px;
    }

    section {
        padding: var(--space-2xl) 0;
    }

    /* Announcement bar */
    .announcement-bar {
        font-size: 11px;
        padding: 6px 12px;
        line-height: 1.5;
    }

    /* Header / Logo */
    .header-inner {
        gap: var(--space-sm);
    }
    .header-logo img,
    .site-logo,
    .custom-logo {
        height: 40px !important;
        max-height: 40px;
    }

    .hero-content {
        padding: 40px 0 60px;
    }
    .hero-title { font-size: 32px; }
    .hero-stats { gap: var(--space-lg); }
    .hero-wave svg { height: 40px; }

    .features-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .why-us-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }

    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { min-width: 100%; flex-direction: column; }
    .newsletter-form button { width: 100%; }

    .banner-card { min-height: 220px; padding: var(--space-xl); }
    .banner-content h3 { font-size: 24px; }

    .header-actions .header-action-btn:nth-child(2) { display: none; }

    .section-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    .tab-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .post-thumbnail {
        max-width: 100%;
    }

    .category-card {
        padding: var(--space-lg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        justify-content: center;
    }

    .footer-newsletter {
        padding: var(--space-xl) 0;
    }
    .footer-main {
        padding: var(--space-xl) 0 var(--space-lg);
    }

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

    .post-meta {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 26px; }
    .hero-stats { flex-direction: column; gap: var(--space-md); }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    :root {
        --header-height: 52px;
    }
    .header-inner {
        gap: 4px;
    }
    .header-logo img,
    .site-logo,
    .custom-logo {
        height: 34px !important;
        max-height: 34px;
    }

    .banner-card {
        min-height: 180px;
        padding: var(--space-lg);
    }
    .banner-content h3 {
        font-size: 20px;
    }

    .hero-content {
        padding: 32px 0 48px;
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .hero-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .header-actions {
        gap: 0;
    }
    .header-action-btn {
        width: 36px;
        height: 36px;
    }
    .header-action-btn svg {
        width: 18px;
        height: 18px;
    }

    .announcement-bar {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.back-to-top.visible:hover {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .announcement-bar,
    .site-header,
    .site-footer,
    .hero-wave { display: none; }
}
/* ===== LOGO ===== */

.header-logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.logo-link{
    display:flex;
    align-items:center;
    text-decoration:none;
    flex-shrink:0;
}

.header-logo img,
.site-logo,
.custom-logo{
    height:80px !important;
    width:auto !important;
    max-width:100%;
    object-fit:contain;
    display:block;
}