/* ===== Art by Adliya Furnishing - Main Stylesheet ===== */

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --color-primary: #1a1a2e;
    --color-accent: #C8A96E;
    --color-text: #2D2D2D;
    --color-text-light: #666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F3EF;
    --color-border: #767676;
    --color-success: #2E7D32;
    --color-error: #CC0000;
    --color-warning: #E06000;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;

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

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
    --z-skip-link: 900;
    --z-preloader: 1000;

    /* ===== Unified Design Tokens =====
       The following tokens are the canonical color system.
       Legacy aliases below map to established values for backwards compatibility.
       For new components, prefer the --color-* tokens (lines 6-15). */

    /* DEPRECATED - Use --color-* tokens instead */
    --primary: #2D6A4F;
    --primary-dark: #1B4332;
    --primary-light: #52B788;
    --secondary: #1a1a2e;
    --dark: #222222;
    --text: #555555;
    --text-light: #666666;
    --light: #f8f8f8;
    --lighter: #f5f5f5;
    --white: #ffffff;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --success: #28a745;
    --danger: #e74c3c;
    --warning: #ffc107;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 8px 35px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --gold: #C9A96E;
    --gold-dark: #B8944F;
    --gold-glow: rgba(201, 169, 110, 0.3);
    --obsidian: #111117;
    --champagne: #F7F3EE;
    --ivory: #FFFEF9;
    --charcoal: #444444;
    --luxury-gradient: linear-gradient(135deg, #C9A96E 0%, #E8D5B5 50%, #C9A96E 100%);
    --luxury-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

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

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: clip;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; }

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

@media (max-width: 992px) {
    .section-padding {
        padding: 45px 0;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 32px 0;
    }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.35);
}

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.announcement-content i {
    color: var(--primary);
    font-size: 16px;
}

.announcement-messages {
    position: relative;
    height: 1.4em;
    overflow: hidden;
}

.announcement-messages span {
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    white-space: nowrap;
}

.announcement-messages span.active {
    opacity: 1;
    position: relative;
}

/* ===== Header ===== */
.header-top {
    background: var(--lighter);
    border-bottom: 1px solid var(--border);
    padding: 6px 0;
    font-size: 13px;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-contact {
    display: flex;
    gap: 20px;
}

.header-contact a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-contact a:hover {
    color: var(--primary);
}

.header-social {
    display: flex;
    gap: 12px;
}

.header-social a {
    color: var(--text-light);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
}

.header-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header Main */
.header-main {
    padding: 18px 0;
    background: var(--white);
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    min-height: 70px;
}

.header-main-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--dark);
    padding: 8px;
}

/* Logo */
.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

/* Search Bar */
.search-bar {
    flex: 1;
    display: flex;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    max-width: 600px;
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.search-category select {
    border: none;
    padding: 12px 15px;
    background: var(--lighter);
    font-size: 13px;
    color: var(--text);
    outline: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    min-width: 150px;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    font-size: 16px;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

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

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    position: relative;
    color: var(--dark);
    transition: var(--transition);
    border-radius: var(--radius);
    min-width: 44px;
    min-height: 44px;
}

.action-btn:hover {
    color: var(--primary);
    background: rgba(45, 106, 79, 0.06);
}

.action-btn i {
    font-size: 20px;
}

.action-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.action-btn .badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== Main Navigation ===== */
.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(45, 106, 79, 0.3);
}

.nav-content {
    display: flex;
    align-items: center;
}

/* Categories Dropdown */
.categories-dropdown {
    position: relative;
}

.categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 15px 20px;
    font-weight: 600;
    font-size: 14px;
    min-width: 260px;
    transition: var(--transition);
}

.categories-btn:hover {
    background: rgba(0,0,0,0.2);
}

.categories-btn .fa-chevron-down {
    margin-left: auto;
    font-size: 11px;
    transition: var(--transition);
}

.categories-dropdown.active .categories-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 200;
}

.categories-dropdown.active .categories-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-menu > ul > li {
    border-bottom: 1px solid var(--border-light);
}

.categories-menu > ul > li:last-child {
    border-bottom: none;
}

.categories-menu > ul > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}

.categories-menu > ul > li > a:hover {
    color: var(--primary);
    background: rgba(45, 106, 79, 0.05);
    padding-left: 22px;
}

.categories-menu > ul > li > a i:first-child {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 15px;
}

.categories-menu > ul > li > a .arrow {
    margin-left: auto;
    font-size: 10px;
    color: var(--text-light);
}

/* Submenu */
.categories-menu .has-submenu {
    position: relative;
}

.categories-menu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 201;
}

.categories-menu .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.categories-menu .submenu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text);
    font-size: 13px;
    transition: var(--transition);
}

.categories-menu .submenu li a:hover {
    color: var(--primary);
    padding-left: 22px;
}

/* Main Menu */
.main-menu {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 0;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 18px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.main-menu > li > a:hover,
.main-menu > li.active > a {
    background: rgba(255,255,255,0.15);
}

.main-menu > li > a .fa-chevron-down {
    font-size: 10px;
    opacity: 0.8;
}

.nav-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.nav-badge.sale {
    background: var(--danger);
    color: var(--white);
}

.nav-badge.hot {
    background: var(--warning);
    color: var(--dark);
}

.special-offer-link {
    color: var(--color-accent);
}

/* Mega Menu */
.has-mega {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 700px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    display: flex;
    padding: 25px;
    gap: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 200;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-col {
    flex: 1;
    min-width: 150px;
}

.mega-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.mega-col ul li a {
    display: block;
    padding: 5px 0;
    color: var(--text);
    font-size: 13px;
    transition: var(--transition);
}

.mega-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.mega-col p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.mega-shop-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
}

.mega-shop-btn:hover {
    background: var(--primary-dark);
}

.mega-promo-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
}

.mega-promo-card .promo-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-promo-card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.mega-promo-card h3 span {
    font-size: 28px;
    font-weight: 700;
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-header .logo-text {
    color: var(--white);
    font-size: 24px;
}

.mobile-menu-close {
    color: var(--white);
    font-size: 22px;
    padding: 5px;
}

.mobile-search {
    padding: 15px 20px;
    display: flex;
    border-bottom: 1px solid var(--border);
}

.mobile-search input {
    flex: 1;
    border: 1px solid var(--border);
    border-right: none;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
}

.mobile-search button {
    background: var(--primary);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.mobile-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.mobile-nav > li > a.active {
    color: var(--primary);
}

.mobile-nav > li > a i {
    font-size: 12px;
    transition: var(--transition);
}

.mobile-has-sub.active > a i {
    transform: rotate(180deg);
}

.mobile-sub {
    display: none;
    background: var(--lighter);
}

.mobile-has-sub.active .mobile-sub {
    display: block;
}

.mobile-sub li a {
    display: block;
    padding: 10px 20px 10px 35px;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

.mobile-sub li a:hover {
    color: var(--primary);
}

/* ===== Cart Sidebar ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.cart-overlay.active .cart-panel {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--primary);
    color: var(--white);
}

.cart-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    color: var(--white);
    font-size: 22px;
    padding: 5px;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.cart-empty i {
    font-size: 50px;
    color: var(--border);
    margin-bottom: 15px;
}

.cart-empty p {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.cart-empty span {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.cart-total-row.total {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 5px;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 460px;
    min-height: 460px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 520px;
    padding: 40px 0;
}

.hero-subtitle {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 5px;
}

.hero-text h1 .highlight {
    color: var(--primary);
}

.hero-text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-image img {
    max-height: 450px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 5;
}

.hero-arrow:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ===== Promo Banners ===== */
.promo-banners {
    padding: 40px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 30px;
    display: flex;
    align-items: center;
    min-height: 200px;
    transition: var(--transition);
    cursor: pointer;
}

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

.promo-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.promo-card-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.promo-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.promo-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.promo-discount {
    margin-bottom: 12px;
}

.discount-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.discount-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-left: 4px;
}

.promo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark);
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid var(--dark);
    padding-bottom: 2px;
}

.promo-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.promo-card-image {
    position: relative;
    z-index: 2;
    width: 140px;
    flex-shrink: 0;
}

.promo-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

/* ===== Section Headers ===== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

.section-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    border: 1px solid var(--border);
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== Products Layout ===== */
.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Sidebar */
.products-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-categories {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sidebar-categories h3 {
    background: var(--secondary);
    color: var(--white);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-categories ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.sidebar-categories ul li:last-child a {
    border-bottom: none;
}

.sidebar-categories ul li a:hover,
.sidebar-categories ul li a.active {
    color: var(--primary);
    background: rgba(45, 106, 79, 0.05);
    padding-left: 25px;
}

.sidebar-categories ul li a i {
    width: 18px;
    text-align: center;
    color: var(--primary);
}

.sidebar-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
}

.sidebar-banner span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.sidebar-banner h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 8px 0;
}

.sidebar-banner p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.sidebar-banner .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    font-size: 13px;
    padding: 10px 25px;
}

.sidebar-banner .btn-primary:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    will-change: transform;
}

.product-card:hover,
.product-card:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding: 15px;
    background: var(--lighter);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 3;
}

.badge-new {
    background: var(--success);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge-sale {
    background: var(--danger);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge-pack {
    background: var(--secondary);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease;
    z-index: 3;
    transform: translateX(50px);
}

.product-card:hover .product-actions,
.product-card:focus-within .product-actions {
    transform: translateX(0);
}

.action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.action-icon:hover {
    background: var(--primary);
    color: var(--white);
}

.add-to-cart-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 3;
    transform: translateY(50px);
}

.product-card:hover .add-to-cart-btn,
.product-card:focus-within .add-to-cart-btn {
    transform: translateY(0);
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
}

/* Product Info */
.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    height: 39px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-name a {
    color: var(--dark);
}

.product-name a:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .stars i {
    font-size: 12px;
    color: var(--color-accent);
}

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

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.discount-tag {
    font-size: 11px;
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Product Countdown */
.product-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

.cd-item {
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.cd-val {
    background: var(--secondary);
    color: var(--white);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.cd-label {
    font-size: 10px;
    color: var(--text-light);
    margin-left: 1px;
}

.cd-sep {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
}

/* ===== Top Categories ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: var(--white);
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(45, 106, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
}

.category-icon i {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-icon i {
    color: var(--white);
}

.category-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

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

/* ===== Deal Banner ===== */
.deal-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #16213e 100%);
    padding: 60px 0;
    color: var(--white);
    overflow: hidden;
}

.deal-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.deal-text {
    flex: 1;
}

.deal-subtitle {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.deal-text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.deal-text p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 25px;
}

.deal-countdown {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.deal-cd-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 12px 18px;
    border-radius: var(--radius);
    min-width: 70px;
}

.deal-cd-val {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.deal-cd-label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 1px;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.deal-old-price {
    font-size: 22px;
    text-decoration: line-through;
    opacity: 0.5;
}

.deal-current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.deal-discount {
    background: var(--danger);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.deal-image {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-image img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(45, 106, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-icon i {
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

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

/* ===== Newsletter ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 50px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.newsletter-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 450px;
    flex: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.newsletter-form .btn-primary {
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--secondary);
    border-color: var(--secondary);
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
    background: var(--dark);
    border-color: var(--dark);
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 28px;
}

.footer-logo .logo-sub {
    color: var(--primary);
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact .contact-item i {
    color: var(--primary);
    font-size: 15px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-methods i {
    font-size: 28px;
    opacity: 0.6;
    transition: var(--transition);
}

.payment-methods i:hover {
    opacity: 1;
    color: var(--primary);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Utility Classes (replacing inline styles) ===== */
.text-center-mt-20 {
    text-align: center;
    margin-top: 20px;
}

.text-center-mt-28 {
    text-align: center;
    margin-top: 28px;
}

.text-center-mt-30 {
    text-align: center;
    margin-top: 30px;
}

.deal-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.deal-share-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.deal-share-icon {
    color: var(--text-light);
    font-size: 1.1rem;
}

.brand-story-subtitle {
    color: var(--gold);
}

.brand-story-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.brand-story-paragraph {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 28px;
}

.brand-story-cta {
    margin-top: 24px;
}

.pos-relative-z2 {
    position: relative;
    z-index: 2;
}

.footer-payment-section {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-bottom: 10px;
}

.footer-payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-payment-icon {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Cursor & Touch Device Optimization ===== */
/* Disable custom cursor on touch-only devices and low-end devices */
@media (pointer: coarse), (hover: none) {
    .luxury-cursor,
    .luxury-cursor-ring {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .luxury-cursor,
    .luxury-cursor-ring {
        display: none !important;
    }
}

/* Make product actions visible without hover on touch devices */
@media (pointer: coarse) {
    .product-card .product-actions {
        opacity: 1 !important;
        transform: translateX(0) !important;
        right: 8px !important;
    }

    .product-card .add-to-cart-btn {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* ===== Button Loading State ===== */
.add-to-cart-btn.loading,
.btn-primary.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.add-to-cart-btn.loading i,
.btn-primary.loading i:first-child {
    display: none;
}

.add-to-cart-btn.loading::before,
.btn-primary.loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Form Validation ===== */
.form-error {
    color: var(--color-error, #CC0000);
    font-size: 0.78rem;
    margin-top: 4px;
    display: none;
}

input:invalid:not(:placeholder-shown) + .form-error,
input:invalid:not(:focus):not(:placeholder-shown) ~ .form-error {
    display: block;
}

input:invalid:not(:placeholder-shown) {
    border-color: var(--color-error, #CC0000);
}

/* ===== Responsive Design ===== */

/* Large Screens */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trending-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
}

/* Medium Screens */
@media (max-width: 992px) {
    .header-top { display: none; }
    
    .mobile-menu-toggle { display: flex; }
    
    .search-category { display: none; }
    
    .action-label { display: none; }
    
    .categories-dropdown { display: none; }
    
    .main-menu { display: none; }
    
    .main-nav .nav-content {
        justify-content: center;
        padding: 12px 0;
    }
    
    .main-nav::after {
        content: 'Art by Adliya Furnishing';
        color: var(--white);
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .hero-slides {
        min-height: 360px;
    }

    .hero-image {
        display: none;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 34px;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar { display: none; }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trending-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-grid .promo-card:last-child {
        grid-column: span 2;
    }
    
    .deal-content {
        flex-direction: column;
        text-align: center;
    }
    
    .deal-countdown {
        justify-content: center;
    }
    
    .deal-price {
        justify-content: center;
    }
    
    .deal-image {
        flex: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

/* Small Screens */
@media (max-width: 768px) {
    .section-padding {
        padding: 45px 0;
    }
    
    .section-title {
        font-size: 24px;
    }

    .hero-slides {
        min-height: 340px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text h2 {
        font-size: 22px;
    }
    
    .hero-text p {
        font-size: 14px;
    }
    
    .hero-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-grid .promo-card:last-child {
        grid-column: auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .deal-text h2 {
        font-size: 26px;
    }
    
    .deal-image img {
        max-height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-tabs {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        gap: 0;
        width: 100%;
        padding-bottom: 5px;
    }
    .section-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* Medium-Small Screens */
@media (max-width: 640px) {
    .hero-slides {
        min-height: 320px;
        height: auto;
    }

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

/* Extra Small Screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-main-content {
        gap: 12px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .search-bar {
        display: none;
    }

    .hero-slides {
        min-height: 300px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text h2 {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .current-price {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trending-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .deal-countdown {
        gap: 8px;
    }
    
    .deal-cd-item {
        padding: 8px 12px;
        min-width: 55px;
    }
    
    .deal-cd-val {
        font-size: 22px;
    }
}

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

.product-card {
    opacity: 1;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

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

/* Selection Color */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ===== ACCESSIBILITY: Focus States ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.action-icon:focus-visible,
.btn-primary:focus-visible,
.tab-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--gold-glow);
}

/* Skip to content for screen readers */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: var(--z-skip-link);
}
.skip-to-content:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: var(--z-skip-link);
}

/* Accessibility utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[aria-live] {
    position: relative;
}

/* ===== PRINT STYLES ===== */
@media print {
    .announcement-bar, .header, .footer, .back-to-top,
    .newsletter-section, .luxury-preloader, .luxury-cursor,
    .luxury-cursor-ring, .mobile-menu, .mobile-nav,
    .product-actions, .add-to-cart-btn, .btn-primary,
    .exclusive-offers, nav { display: none !important; }

    body { background: white !important; color: black !important; font-size: 12pt; }
    .container { max-width: 100% !important; padding: 0 !important; }
    img { max-width: 100% !important; }
    a { color: black !important; text-decoration: underline; }
    .product-card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ddd; }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* FIX: Accessibility - keyboard focus indicators */
*:focus-visible {
    outline: 2px solid var(--gold, #c9a96e);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold, #c9a96e);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2);
}

/* FIX: Skip to main content link for keyboard users */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold, #c9a96e);
    color: #fff;
    padding: 8px 16px;
    z-index: var(--z-skip-link);
    transition: top 0.3s;
}
.skip-to-main:focus {
    top: 0;
}

/* FIX: Restore visible focus indicators for keyboard navigation (WCAG 2.1 AA) */
/* Elements with outline:none get a focus-visible ring so keyboard users can navigate */
.search-category select:focus-visible,
.search-bar input:focus-visible,
.mobile-search input:focus-visible,
.newsletter-form input:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary, #c9a96e);
    outline-offset: 2px;
}
/* Skip-to-content: make visible on focus */
.skip-to-content:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;
    background: var(--primary, #c9a96e);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    width: auto;
    height: auto;
    clip: auto;
    white-space: normal;
    text-decoration: none;
    font-weight: 600;
}

/* ===== MEGA MENU MOBILE FIX ===== */
@media (max-width: 768px) {
    .mega-menu,
    .mega-dropdown {
        min-width: unset !important;
        width: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
    }
}

/* ===== GLOBAL MOBILE TOUCH & TEXT FIXES ===== */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Word break for long text */
    h1, h2, h3, h4, h5, h6, p, td, th, li, a, span, label {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Minimum touch targets */
    button, .btn, [role="button"], a.btn, input[type="submit"], input[type="button"] {
        min-height: 44px;
    }

    /* Remove tap highlight */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* Touch action for fast taps */
    button, a, input, select, textarea, [role="button"] {
        touch-action: manipulation;
    }

    /* Safe area for fixed elements */
    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .store-toast {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }
}