/* ============================================
   LUXURY BOUTIQUE DESIGN - MH
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0A0A0A;
    --white: #FEFEFE;
    --gold: #C9A961;
    --gold-dark: #A68B4E;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-400: #B0B0B0;
    --gray-500: #808080;
    --gray-600: #5A5A5A;
    --gray-700: #3A3A3A;
    --gray-800: #1F1F1F;
    --gray-900: #121212;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--black);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   NAVIGATION - ELEGANT
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 70px;
    width: auto;
    transition: all 0.4s ease;
}

.logo:hover img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 56px;
    align-items: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-700);
    position: relative;
    padding: 8px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--black);
}

.nav-link.active {
    color: var(--black);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 19px;
    color: var(--gray-700);
    position: relative;
}

.icon-btn:hover {
    color: var(--black);
    transform: translateY(-2px);
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
}

.mobile-toggle span {
    width: 26px;
    height: 1.5px;
    background: var(--black);
    transition: all 0.3s ease;
}

/* ============================================
   MEGA MENU - HIERARCHICAL CATEGORIES
   ============================================ */
.nav-menu > li {
    position: relative;
    list-style: none;
}

.has-mega-menu {
    position: static !important;
}

.has-mega-menu > .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.has-mega-menu:hover .nav-arrow,
.has-mega-menu.active .nav-arrow {
    transform: rotate(180deg);
}

.mega-menu {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

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

.mega-menu-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
}

.mega-menu-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
    font-size: 14px;
}

.mega-menu-loading i {
    margin-right: 8px;
}

/* Mobile header - hidden on desktop */
.mega-menu-header {
    display: none;
}

.mega-menu-close {
    display: none;
}

.mega-menu-column {
    min-width: 180px;
    max-width: 220px;
    flex: 0 0 auto;
}

.mega-menu-column h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-menu-column h3 i {
    color: var(--gold);
    font-size: 16px;
}

.mega-menu-column h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-menu-column h3 a:hover {
    color: var(--gold);
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column li {
    margin-bottom: 10px;
}

.mega-menu-column a {
    font-size: 13px;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.mega-menu-column a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.mega-menu-column a:hover {
    color: var(--black);
    padding-left: 16px;
}

.mega-menu-column a:hover::before {
    width: 8px;
}

/* Featured Category Styling */
.mega-menu-column.featured h3 {
    color: var(--gold);
}

.mega-menu-column.featured h3 i {
    animation: pulse 2s infinite;
}

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

/* View All Link */
.mega-menu-column .view-all {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-menu-column .view-all a {
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.mega-menu-column .view-all a:hover {
    color: var(--black);
}

/* Mobile Mega Menu Styles */
@media (max-width: 991px) {
    .mega-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .mega-menu-container {
        flex-direction: column;
        gap: 0;
        padding: 0;
        padding-top: 60px;
    }

    /* Mobile menu header */
    .mega-menu-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 16px 20px;
        background: var(--white);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 10;
    }

    .mega-menu-title {
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--black);
    }

    .mega-menu-close {
        width: 44px;
        height: 44px;
        background: var(--white);
        border: 1px solid var(--gray-300);
        border-radius: 4px;
        font-size: 22px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gray-700);
        transition: all 0.2s ease;
        position: relative;
        z-index: 100;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }

    .mega-menu-close i {
        pointer-events: none;
    }

    .mega-menu-close:hover,
    .mega-menu-close:active {
        color: var(--black);
    }

    .mega-menu-column {
        max-width: 100%;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 0;
    }

    .mega-menu-column:last-child {
        border-bottom: none;
    }

    /* Accordion-style parent categories */
    .mega-menu-column h3 {
        font-size: 14px;
        font-weight: 500;
        margin: 0;
        padding: 16px 20px;
        border-bottom: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--white);
        transition: background 0.2s ease;
    }

    .mega-menu-column h3:active {
        background: var(--gray-50);
    }

    .mega-menu-column h3 i:first-child {
        margin-right: 12px;
    }

    .mega-menu-column h3::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        color: var(--gray-500);
        transition: transform 0.3s ease;
    }

    .mega-menu-column.expanded h3::after {
        transform: rotate(180deg);
    }

    .mega-menu-column h3 a {
        flex: 1;
        /* Allow clicks on links - navigation handled by JS */
        pointer-events: auto;
    }

    /* Subcategory list - collapsible */
    .mega-menu-column ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        background: var(--gray-50);
        opacity: 0;
    }

    .mega-menu-column.expanded ul {
        max-height: 1000px;
        opacity: 1;
    }

    .mega-menu-column li {
        margin: 0;
    }

    .mega-menu-column a {
        font-size: 14px;
        padding: 14px 20px 14px 52px;
        display: block;
        color: var(--gray-700);
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .mega-menu-column a::before {
        display: none;
    }

    .mega-menu-column a:hover,
    .mega-menu-column a:active {
        background: rgba(0, 0, 0, 0.03);
        padding-left: 52px;
    }

    .mega-menu-column .view-all {
        margin: 0;
        padding: 0;
        border-top: none;
    }

    .mega-menu-column .view-all a {
        color: var(--gold);
        font-weight: 500;
        padding: 14px 20px 14px 52px;
    }

    /* Featured category styling on mobile */
    .mega-menu-column.featured h3 {
        background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
    }

    .mega-menu-column.featured h3 i:first-child {
        color: var(--gold);
    }

    /* Loading state */
    .mega-menu-loading {
        padding: 40px 20px;
        text-align: center;
    }

    /* Nav arrow in header */
    .nav-arrow {
        margin-left: 6px;
    }

    [dir="rtl"] .nav-arrow {
        margin-left: 0;
        margin-right: 6px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .mega-menu-column h3 {
        padding: 14px 16px;
        font-size: 13px;
    }

    .mega-menu-column a {
        padding: 12px 16px 12px 44px;
        font-size: 13px;
    }

    .mega-menu-column .view-all a {
        padding: 12px 16px 12px 44px;
    }
}

/* RTL Support for Mega Menu */
[dir="rtl"] .mega-menu-column a::before {
    left: auto;
    right: -12px;
}

[dir="rtl"] .mega-menu-column a:hover {
    padding-left: 0;
    padding-right: 16px;
}

[dir="rtl"] .mega-menu-column a:hover::before {
    width: 8px;
}

[dir="rtl"] .mega-menu-loading i {
    margin-right: 0;
    margin-left: 8px;
}

/* RTL Mobile Mega Menu */
@media (max-width: 991px) {
    [dir="rtl"] .mega-menu {
        transform: translateX(-100%);
    }

    [dir="rtl"] .has-mega-menu.active .mega-menu {
        transform: translateX(0);
    }

    [dir="rtl"] .mega-menu-header {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .mega-menu-column h3 i:first-child {
        margin-right: 0;
        margin-left: 12px;
    }

    [dir="rtl"] .mega-menu-column a {
        padding: 14px 52px 14px 20px;
    }

    [dir="rtl"] .mega-menu-column a:hover,
    [dir="rtl"] .mega-menu-column a:active {
        padding-right: 52px;
        padding-left: 20px;
    }

    [dir="rtl"] .mega-menu-column .view-all a {
        padding: 14px 52px 14px 20px;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .mega-menu-column a {
        padding: 12px 44px 12px 16px;
    }

    [dir="rtl"] .mega-menu-column .view-all a {
        padding: 12px 44px 12px 16px;
    }
}

/* ============================================
   BUTTONS - LUXURY STYLE
   ============================================ */
.btn {
    display: inline-block;
    padding: 18px 48px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1.5px solid var(--black);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-black {
    background: var(--black);
    color: var(--white);
}

.btn-black::before {
    background: var(--gold);
}

.btn-black:hover {
    border-color: var(--gold);
}

.btn-black:hover::before {
    left: 0;
}

.btn-outline {
    background: transparent;
    color: var(--black);
}

.btn-outline::before {
    background: var(--black);
}

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

.btn-outline:hover::before {
    left: 0;
}

.btn-large {
    padding: 22px 64px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO - SOPHISTICATED
   ============================================ */
.hero-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 100px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(52px, 9vw, 112px);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 32px;
    letter-spacing: 3px;
}

.title-line {
    display: block;
}

.title-line.accent {
    font-weight: 600;
    font-style: italic;
}

.title-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 48px auto;
}

.hero-description {
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-600);
    margin-bottom: 56px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HEADER - REFINED
   ============================================ */
.page-header {
    padding: 200px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(201, 169, 97, 0.04) 0%, transparent 60%);
}

.page-header h1 {
    font-size: clamp(48px, 7vw, 76px);
    font-weight: 300;
    margin-bottom: 32px;
    letter-spacing: 4px;
}

.header-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 32px;
}

.page-header p {
    font-size: 14px;
    color: var(--gray-500);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 120px 0;
}

.section-header-minimal {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    margin-bottom: 96px;
}

.section-header-minimal h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 3px;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    max-width: 240px;
}

/* ============================================
   FEATURED SECTION
   ============================================ */
.featured-section {
    background: var(--white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 80px;
}

.featured-item {
    text-align: center;
    transition: transform 0.4s ease;
}

.featured-item:hover {
    transform: translateY(-8px);
}

.featured-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    font-size: 72px;
    color: var(--gray-200);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-100);
}

.featured-item:hover .featured-image {
    background: var(--white);
    border-color: var(--gold);
    color: var(--gold);
}

.featured-item h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.featured-item p {
    color: var(--gray-500);
    margin-bottom: 28px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.link-arrow:hover {
    gap: 16px;
    color: var(--gold);
}

.link-arrow i {
    transition: transform 0.3s ease;
}

.link-arrow:hover i {
    transform: translateX(4px);
}

/* ============================================
   PHILOSOPHY SECTION - ELEGANT
   ============================================ */
.philosophy-section {
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
}

.philosophy-quote {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 300;
    line-height: 1.7;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    position: relative;
}

.quote-author {
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gray-50);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-600);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
}

/* ============================================
   PRODUCTS SECTION - LUXURY
   ============================================ */
.products-section {
    padding-top: 80px;
}

/* Search Bar */
.search-bar {
    margin-bottom: 40px;
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 50px;
    font-size: 14px;
    font-family: inherit;
    letter-spacing: 0.5px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
}

.search-input-wrapper input:focus + .search-icon,
.search-input-wrapper input:focus ~ .search-icon {
    color: var(--gold);
}

.search-input-wrapper input::placeholder {
    color: var(--gray-400);
    font-weight: 300;
}

.search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.search-clear:hover {
    color: var(--gray-700);
}

.search-results-info {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

/* Navbar Search Overlay */
.navbar-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.navbar-search-container {
    width: 90%;
    max-width: 700px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.navbar-search-overlay.active .navbar-search-container {
    transform: translateY(0);
}

.navbar-search-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10001;
}

.navbar-search-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.navbar-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.navbar-search-input-wrapper {
    flex: 1;
    position: relative;
}

.navbar-search-input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 18px;
}

.navbar-search-input-wrapper input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    font-size: 16px;
    border: 2px solid var(--gray-700);
    border-radius: 4px;
    background: var(--gray-900);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.navbar-search-input-wrapper input::placeholder {
    color: var(--gray-500);
}

.navbar-search-input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
}

.navbar-search-submit {
    padding: 18px 35px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.navbar-search-submit:hover {
    background: var(--gold-dark);
}

.navbar-search-results {
    max-height: 50vh;
    overflow-y: auto;
}

.navbar-search-results::-webkit-scrollbar {
    width: 6px;
}

.navbar-search-results::-webkit-scrollbar-track {
    background: var(--gray-800);
}

.navbar-search-results::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 3px;
}

.navbar-search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-search-result-item:hover {
    border-color: var(--gold);
    background: var(--gray-800);
}

.navbar-search-result-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.navbar-search-result-info {
    flex: 1;
}

.navbar-search-result-info h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.navbar-search-result-info span {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.navbar-search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}

.navbar-search-no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

/* RTL Support for Navbar Search */
[dir="rtl"] .navbar-search-input-wrapper i {
    left: auto;
    right: 20px;
}

[dir="rtl"] .navbar-search-input-wrapper input {
    padding: 18px 55px 18px 20px;
}

[dir="rtl"] .navbar-search-close {
    right: auto;
    left: 30px;
}

/* Hide close button when overlay is not active */
.navbar-search-close {
    opacity: 0;
    pointer-events: none;
}

.navbar-search-overlay.active .navbar-search-close {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile styles for Navbar Search */
@media (max-width: 768px) {
    .navbar-search-overlay {
        padding: 0;
        align-items: flex-start;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    }

    .navbar-search-container {
        width: 100%;
        max-width: 100%;
        padding: 80px 24px 24px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .navbar-search-form {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .navbar-search-input-wrapper {
        border-radius: 16px;
        overflow: hidden;
    }

    .navbar-search-input-wrapper input {
        padding: 20px 20px 20px 52px;
        font-size: 17px;
        border: none;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar-search-input-wrapper input:focus {
        background: rgba(255, 255, 255, 0.15);
        border: none;
        box-shadow: 0 0 0 2px var(--gold);
    }

    .navbar-search-input-wrapper i {
        left: 18px;
        font-size: 17px;
        color: var(--gray-400);
    }

    .navbar-search-submit {
        width: 100%;
        padding: 18px 24px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        background: var(--gold);
        border: none;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .navbar-search-submit:active {
        transform: scale(0.98);
    }

    .navbar-search-overlay .navbar-search-close {
        top: 20px;
        right: 20px;
        font-size: 28px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar-search-overlay .navbar-search-close:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.95);
    }

    [dir="rtl"] .navbar-search-overlay .navbar-search-close {
        right: auto;
        left: 20px;
    }

    /* Search results on mobile */
    .navbar-search-results {
        max-height: calc(100vh - 220px);
        max-height: calc(100dvh - 220px);
        padding: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.05);
    }

    .navbar-search-result-item {
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-search-result-item:hover,
    .navbar-search-result-item:active {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--gold);
    }

    .navbar-search-result-item img {
        width: 64px;
        height: 64px;
        border-radius: 10px;
    }

    .navbar-search-no-results {
        padding: 40px 20px;
        text-align: center;
    }

    .navbar-search-no-results i {
        font-size: 48px;
        margin-bottom: 16px;
        opacity: 0.5;
    }
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 72px;
    gap: 32px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 14px 32px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.sort-select {
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: var(--gray-500);
}

/* Category Dropdown */
.category-dropdown {
    position: relative;
    display: inline-block;
}

.category-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: space-between;
}

.category-dropdown-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.category-dropdown-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.category-dropdown-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.category-dropdown.open .category-dropdown-btn i {
    transform: rotate(180deg);
}

.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 300px;
    overflow-y: auto;
}

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

.category-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

/* Parent category in dropdown */
.category-dropdown-parent {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--black);
    background: var(--gray-50);
    cursor: pointer;
    border-bottom: 1px solid var(--gray-200);
}

.category-dropdown-parent i {
    color: var(--gold);
    font-size: 14px;
}

.category-dropdown-parent:hover {
    background: var(--gray-100);
}

/* Child category in dropdown */
.category-dropdown-child {
    padding-left: 44px;
    font-weight: 400;
}

.category-dropdown-child::before {
    content: '';
    display: none;
}

[dir="rtl"] .category-dropdown-child {
    padding-left: 20px;
    padding-right: 44px;
}

.category-dropdown-item:last-child {
    border-bottom: none;
}

.category-dropdown-item:hover {
    background: var(--gray-50);
    color: var(--gold);
}

.category-dropdown-item.active {
    background: var(--gray-100);
    color: var(--black);
    font-weight: 500;
}

.category-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--gray-400);
}

.category-dropdown-item.active i,
.category-dropdown-item:hover i {
    color: var(--gold);
}

/* Desktop filter buttons container */
.desktop-filter-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Category dropdown - hidden by default on desktop */
.category-dropdown {
    display: none;
}

/* Mobile: show dropdown, hide desktop buttons */
@media (max-width: 768px) {
    .category-dropdown {
        display: block;
        width: 100%;
    }

    .category-dropdown-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 13px;
    }

    .category-dropdown-menu {
        width: 100%;
        max-height: 60vh;
        -webkit-overflow-scrolling: touch;
    }

    .category-dropdown-item {
        padding: 16px 20px;
        font-size: 14px;
    }

    .category-dropdown-parent {
        padding: 16px 20px;
        font-size: 13px;
    }

    .category-dropdown-child {
        padding-left: 48px;
        font-size: 14px;
    }

    [dir="rtl"] .category-dropdown-child {
        padding-left: 20px;
        padding-right: 48px;
    }

    .desktop-filter-buttons {
        display: none !important;
    }
}

/* RTL Support for category dropdown */
[dir="rtl"] .category-dropdown-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .category-dropdown-item {
    flex-direction: row-reverse;
}

/* Advanced Filters */
.advanced-filters {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 20px 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-item label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    white-space: nowrap;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-range-inputs input {
    width: 90px;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    text-align: center;
}

.price-range-inputs input:focus {
    outline: none;
    border-color: var(--gold);
}

.price-range-inputs span {
    color: var(--gray-400);
}

.apply-price-btn {
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-price-btn:hover {
    background: var(--gold);
}

.color-filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-filter-tag {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-filter-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.color-filter-tag.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.clear-filters-btn {
    margin-left: auto;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    border: 1px solid var(--gray-400);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    border-color: var(--black);
    color: var(--black);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 56px;
}

.product-card {
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Wishlist Button on Product Card */
.product-card .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card .wishlist-btn:hover {
    transform: scale(1.1);
    background: white;
}

.product-card .wishlist-btn i {
    font-size: 16px;
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.product-card .wishlist-btn:hover i {
    color: #e11d48;
}

.product-card .wishlist-btn.active i {
    color: #e11d48;
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 10;
}

/* Wishlist Only Button Style */
.wishlist-only-btn {
    background: transparent !important;
    border: 2px solid var(--gray-900) !important;
    color: var(--gray-900) !important;
}

.wishlist-only-btn:hover {
    background: var(--gray-900) !important;
    color: white !important;
}

.wishlist-only-btn i {
    margin-right: 8px;
}

/* Wishlist Page */
.wishlist-section {
    padding: 60px 0 100px;
    min-height: 50vh;
}

.wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-500);
}

.wishlist-empty i {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--gray-300);
}

.wishlist-empty h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.wishlist-empty p {
    font-size: 14px;
    margin-bottom: 32px;
    color: var(--gray-500);
}

.wishlist-empty .btn {
    padding: 14px 40px;
}

.product-card .wishlist-btn.in-wishlist {
    background: var(--gold);
    color: white;
}

.product-card .wishlist-btn.in-wishlist i {
    color: white;
}

.product-card .wishlist-btn.in-wishlist:hover {
    background: #dc2626;
}

.product-card-link {
    display: block;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.product-card > .add-to-cart-btn {
    margin: 0 16px 24px;
}

/* Product Card Image Navigation */
.product-card-image {
    position: relative;
}

.card-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gray-700);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.product-card:hover .card-nav {
    opacity: 1;
}

.card-nav:hover {
    background: var(--black);
    color: var(--white);
}

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

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

.card-image-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.card-dot:hover {
    background: var(--white);
}

/* RTL Support for Card Navigation */
[dir="rtl"] .card-nav-prev {
    left: auto;
    right: 10px;
}

[dir="rtl"] .card-nav-next {
    right: auto;
    left: 10px;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-12px);
}

.product-card:hover::after {
    width: 100%;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gray-50);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--gray-200);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.product-card:hover .product-card-image {
    border-color: var(--gold);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card-content {
    padding: 0 16px 24px;
}

.product-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    background: var(--black);
    color: var(--white);
    margin-bottom: 20px;
}

/* Color Variants */
.color-variants {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.color-variant-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.color-variant-dot:hover {
    transform: scale(1.15);
    border-color: var(--gold);
}

.color-variant-dot.active {
    border-color: var(--black);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black);
}

/* Product Detail Color Variants */
.product-color-variants {
    margin: 16px 0 24px;
}

.product-color-variants label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--gray-600);
}

.product-color-variants .current-color-name {
    color: var(--black);
    text-transform: capitalize;
}

.color-variant-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-variant-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.color-variant-option:hover {
    transform: scale(1.1);
    border-color: var(--gold);
}

.color-variant-option.active {
    border-color: var(--black);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black);
    cursor: default;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.product-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

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

.product-price {
    font-size: 22px;
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

.add-to-cart-btn {
    padding: 12px 28px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* ============================================
   STORY & VALUES SECTIONS
   ============================================ */
.story-section {
    background: var(--white);
}

.story-text {
    max-width: 760px;
    margin: 0 auto;
}

.story-text p {
    font-size: 17px;
    line-height: 2;
    color: var(--gray-600);
    margin-bottom: 32px;
    letter-spacing: 0.3px;
    text-align: center;
}

.values-section {
    background: var(--gray-50);
}

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

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

.value-icon {
    width: 88px;
    height: 88px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 32px;
    border: 1px solid var(--black);
    transition: all 0.4s ease;
}

.value-item:hover .value-icon {
    background: var(--white);
    color: var(--gold);
    border-color: var(--gold);
}

.value-item h3 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

.value-item p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-500);
    letter-spacing: 0.3px;
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission-section {
    background: var(--black);
    color: var(--white);
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(201, 169, 97, 0.06) 0%, transparent 60%);
}

.mission-box {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
    position: relative;
}

.mission-box h2 {
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 32px;
    letter-spacing: 2px;
    color: var(--white);
}

.mission-divider {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 40px;
}

.mission-box p {
    font-size: 19px;
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ============================================
   SOCIALS SECTION - ELEGANT
   ============================================ */
.socials-section {
    padding-top: 80px;
}

.socials-intro {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 96px;
}

.socials-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray-600);
    letter-spacing: 0.3px;
}

.social-cards {
    display: grid;
    gap: 32px;
    max-width: 860px;
    margin: 0 auto;
}

.social-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 40px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-card:hover {
    border-color: var(--gold);
    transform: translateX(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.social-card-icon {
    font-size: 52px;
    transition: transform 0.4s ease;
}

.social-card:hover .social-card-icon {
    transform: scale(1.1);
}

.social-card.instagram .social-card-icon {
    color: #E4405F;
}

.social-card.tiktok .social-card-icon {
    color: #000000;
}

.social-card.whatsapp .social-card-icon {
    color: #25D366;
}

.social-card.facebook .social-card-icon {
    color: #1877F2;
}

.social-card h3 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.social-handle {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.social-description {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.social-card-arrow {
    font-size: 28px;
    color: var(--gray-300);
    transition: all 0.4s ease;
}

.social-card:hover .social-card-arrow {
    transform: translateX(12px);
    color: var(--gold);
}

/* ============================================
   INSTAGRAM FEED
   ============================================ */
.instagram-feed-section {
    background: var(--gray-50);
}

.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 72px;
}

.instagram-feed-item {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.instagram-feed-item:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
}

.instagram-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--white);
    font-size: 52px;
    transition: transform 0.4s ease;
}

.instagram-feed-item:hover .instagram-placeholder {
    transform: scale(1.05);
}

.instagram-placeholder p {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

.instagram-feed-cta {
    text-align: center;
}

/* ============================================
   CONTACT SECTION - REFINED
   ============================================ */
.contact-section {
    padding-top: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 96px;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.form-intro,
.info-intro {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 48px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 48px;
}

.contact-info-item {
    display: flex;
    gap: 24px;
}

.info-icon {
    width: 52px;
    height: 52px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .info-icon {
    background: var(--gold);
}

.info-content h4 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.info-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.quick-social {
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.quick-social h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER - ELEGANT
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 72px;
    margin-bottom: 72px;
    position: relative;
}

.footer-logo {
    height: 90px;
    width: auto;
    margin-bottom: 20px;
    filter: invert(1);
}

.footer-tagline {
    font-size: 13px;
    color: var(--gray-400);
    letter-spacing: 1px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-700);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    transform: translateY(-4px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    position: relative;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 1px;
}

/* ============================================
   SHOPPING CART MODAL - LUXURY
   ============================================ */
.cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-modal.active {
    pointer-events: auto;
    opacity: 1;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cart-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 520px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.cart-modal.active .cart-content {
    transform: translateX(0);
}

.cart-header {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    border-bottom: 1px solid var(--gray-200);
}

.cart-header h3 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 26px;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.cart-close:hover {
    color: var(--black);
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    min-height: 0;
    padding: 40px;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    color: var(--gray-400);
    padding: 80px 0;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cart-item-image {
    width: 90px;
    height: 90px;
    background: var(--gray-50);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--gray-300);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.cart-item-image:hover {
    opacity: 0.85;
    border-color: var(--gold);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    font-family: 'Cormorant Garamond', serif;
}

a.cart-item-name {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

a.cart-item-name:hover {
    color: var(--gold-dark);
}

.cart-item-size {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gold-dark);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--gold);
}

.quantity {
    font-size: 14px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}

.remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 16px;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    color: var(--black);
    transform: scale(1.1);
}

.cart-footer {
    flex-shrink: 0;
    padding: 40px;
    border-top: 1px solid var(--gray-200);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    font-size: 22px;
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

.total-amount {
    color: var(--gold-dark);
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--gray-300);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--gold);
    color: var(--black);
}

.lang-btn i {
    font-size: 16px;
}

.current-lang {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

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

.lang-option {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
    color: var(--black);
    padding-left: 24px;
}

.lang-option.active {
    background: var(--gray-50);
    color: var(--gold);
    font-weight: 600;
}

/* User Menu Dropdown */
.user-menu-container {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

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

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-100);
}

.user-menu-item:last-child {
    border-bottom: none;
}

.user-menu-item:hover {
    background: var(--gray-50);
    color: var(--black);
    padding-left: 24px;
}

.user-menu-item i {
    width: 16px;
    text-align: center;
    color: var(--gray-500);
}

.user-menu-item:hover i {
    color: var(--gold);
}

.user-admin-link {
    color: var(--gold);
    font-weight: 500;
}

.user-admin-link i {
    color: var(--gold);
}

/* ============================================
   RTL SUPPORT
   ============================================ */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

/* RTL Mobile Navigation */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        flex-direction: column;
        text-align: right;
    }

    [dir="rtl"] .nav-container {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .nav-actions {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .nav-menu .nav-link {
        text-align: right;
    }

    [dir="rtl"] .mega-menu-column h3 {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .mega-menu-header {
        flex-direction: row-reverse;
    }
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .link-arrow {
    flex-direction: row-reverse;
}

[dir="rtl"] .link-arrow:hover {
    gap: 16px;
}

[dir="rtl"] .link-arrow i {
    transform: rotate(180deg);
}

[dir="rtl"] .link-arrow:hover i {
    transform: rotate(180deg) translateX(-4px);
}

[dir="rtl"] .product-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-item-controls {
    flex-direction: row-reverse;
}

[dir="rtl"] .remove-btn {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .contact-grid {
    direction: rtl;
}

[dir="rtl"] .contact-info-item {
    flex-direction: row;
    text-align: right;
}

[dir="rtl"] .form-row {
    direction: rtl;
}

[dir="rtl"] .footer-col a:hover {
    padding-right: 8px;
    padding-left: 0;
}

[dir="rtl"] .social-card {
    grid-template-columns: auto 1fr auto;
}

[dir="rtl"] .social-card:hover {
    transform: translateX(-12px);
}

[dir="rtl"] .social-card-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .social-card:hover .social-card-arrow {
    transform: rotate(180deg) translateX(-12px);
}

[dir="rtl"] .cart-content {
    left: 0;
    right: auto;
    transform: translateX(-100%);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
}

[dir="rtl"] .cart-modal.active .cart-content {
    transform: translateX(0);
}

[dir="rtl"] .lang-dropdown {
    left: 0;
    right: auto;
}

[dir="rtl"] .user-dropdown {
    left: 0;
    right: auto;
}

[dir="rtl"] .user-menu-item:hover {
    padding-left: 20px;
    padding-right: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .nav-container {
        padding: 14px 20px;
        position: relative;
    }

    .logo img {
        height: 44px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-actions .icon-btn {
        font-size: 18px;
        padding: 10px;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

    .nav-actions .icon-btn:hover,
    .nav-actions .icon-btn:active {
        background-color: rgba(0, 0, 0, 0.05);
        transform: none;
    }

    /* Hide language text on mobile, show only icon */
    .language-switcher .lang-btn {
        padding: 10px;
        font-size: 0;
        gap: 0;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

    .language-switcher .lang-btn:hover,
    .language-switcher .lang-btn:active {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .language-switcher .lang-btn i {
        font-size: 18px;
    }

    .language-switcher .lang-btn .current-lang {
        display: none;
    }

    /* Mobile menu styling */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 8px 20px 20px;
        gap: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        z-index: 999;
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-10px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .nav-menu > li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

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

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 4px;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 1px;
    }

    .nav-menu .nav-link::before {
        display: none;
    }

    .nav-menu .nav-link.active {
        color: var(--gold);
    }

    .mobile-toggle {
        display: flex;
        padding: 10px;
        margin-left: 4px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .mobile-toggle:hover,
    .mobile-toggle:active {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .mobile-toggle span {
        width: 22px;
        height: 2px;
        background: var(--black);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Cart and wishlist count badges on mobile */
    .cart-count,
    .wishlist-count {
        top: 0;
        right: 0;
        font-size: 9px;
        padding: 2px 5px;
        min-width: 16px;
        border-radius: 8px;
    }

    /* User dropdown on mobile */
    .user-dropdown,
    .lang-dropdown {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        width: auto;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    .user-menu-item,
    .lang-option {
        padding: 16px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .featured-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .advanced-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
        overflow: hidden;
    }

    .filter-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .price-range-inputs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 8px;
    }

    .price-range-inputs input {
        width: 100%;
        padding: 12px 10px;
    }

    .price-range-inputs span {
        text-align: center;
    }

    .apply-price-btn {
        width: 100%;
        margin-top: 12px;
        padding: 14px 16px;
    }

    .clear-filters-btn {
        margin-left: 0;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 40px;
    }

    .social-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .social-card-arrow {
        display: none;
    }

    .cart-content {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .section-header-minimal {
        flex-direction: column;
        gap: 20px;
    }

    .section-line {
        width: 80px;
        max-width: 80px;
    }

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

    .instagram-feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Small mobile navbar adjustments */
    .nav-container {
        padding: 12px 16px;
    }

    .logo img {
        height: 38px;
    }

    .nav-actions {
        gap: 2px;
    }

    .nav-actions .icon-btn {
        padding: 8px;
        font-size: 17px;
    }

    .language-switcher .lang-btn {
        padding: 8px;
    }

    .language-switcher .lang-btn i {
        font-size: 17px;
    }

    .mobile-toggle {
        padding: 8px;
    }

    .mobile-toggle span {
        width: 20px;
    }

    /* Adjust mobile menu for small screens */
    .nav-menu {
        top: 62px;
        max-height: calc(100vh - 62px);
        max-height: calc(100dvh - 62px);
    }

    .nav-menu .nav-link {
        padding: 16px 4px;
        font-size: 14px;
    }

    /* User and lang dropdowns on small mobile */
    .user-dropdown,
    .lang-dropdown {
        top: 62px;
        left: 12px;
        right: 12px;
    }
}

/* ============================================
   CHECKOUT & CONFIRMATION MODALS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-dialog {
    position: relative;
    background: white;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    z-index: 10001;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    flex-shrink: 0;
    padding: 30px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    flex: 1;
    min-height: 0;
    padding: 30px;
    overflow-y: auto;
}

.modal-body h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #000;
}

.order-summary {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.checkout-subtotal,
.checkout-discount {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.checkout-discount {
    color: #28a745;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 15px;
    border-top: 2px solid #000;
    font-size: 18px;
}

/* Coupon Section */
.coupon-section {
    margin-top: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.coupon-section h4 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coupon-input-group input:focus {
    outline: none;
    border-color: #000;
}

.coupon-input-group input:disabled {
    background: #f5f5f5;
    color: #999;
}

.coupon-input-group .btn {
    padding: 12px 20px;
    white-space: nowrap;
}

.coupon-message {
    margin-top: 10px;
    font-size: 13px;
    min-height: 20px;
}

.coupon-message-success {
    color: #28a745;
}

.coupon-message-error {
    color: #dc3545;
}

.applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px 15px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    font-size: 14px;
    color: #2e7d32;
}

.remove-coupon-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.2s;
}

.remove-coupon-btn:hover {
    color: #dc3545;
}

/* RTL Support for Coupon Section */
[dir="rtl"] .coupon-input-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .coupon-input-group input {
    text-align: left;
}

[dir="rtl"] .applied-coupon {
    flex-direction: row-reverse;
}

.modal-footer {
    flex-shrink: 0;
    padding: 20px 30px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Form inside modal needs flex layout */
.modal-dialog form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.btn-secondary {
    background: white;
    color: #000;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #000;
}

/* Confirmation Modal Specific */
.text-center {
    text-align: center;
}

.confirmation-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
}

.confirmation-icon i {
    animation: checkPulse 0.5s ease;
}

@keyframes checkPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.order-number {
    background: #f8f8f8;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #000;
}

.order-number span {
    display: block;
    margin-top: 10px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
}

.confirmation-text {
    color: #666;
    margin: 20px 0;
}

.confirmation-thank-you {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-dialog {
        width: 95%;
        max-height: 95vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-section {
    padding: 120px 0 80px;
    min-height: 70vh;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.profile-header h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 3px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.profile-card {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 30px;
}

.profile-card.full-width {
    grid-column: 1 / -1;
}

.profile-card h3 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.profile-card h3 i {
    margin-right: 10px;
    color: #666;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.info-label {
    font-weight: 500;
    color: #666;
}

/* Phone Edit Styles */
.info-row {
    position: relative;
}

.btn-edit-phone {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    color: #495057;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-edit-phone:hover {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    border-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-edit-phone:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-edit-phone i {
    font-size: 10px;
}

.phone-edit-row {
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-top: 5px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phone-edit-row .info-label {
    min-width: auto;
    font-size: 13px;
    color: #495057;
}

.phone-edit-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.phone-edit-form input {
    padding: 10px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    width: 180px;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.phone-edit-form input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.phone-edit-form input::placeholder {
    color: #adb5bd;
}

.btn-small {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-small.btn-primary {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-small.btn-primary:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-small.btn-secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-small.btn-secondary:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #212529;
}

.btn-small i {
    font-size: 12px;
}

.btn-small:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Security Settings Styles */
.security-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.security-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.security-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--gray-700);
}

.security-form .form-group {
    margin-bottom: 18px;
}

.security-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.security-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.security-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.security-form .form-hint {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 6px;
}

.security-form button {
    margin-top: 10px;
}

/* Verification Banner Styles */
#verification-status {
    margin-bottom: 25px;
}

.verification-banner {
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-banner.verified {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.verification-banner.verified i {
    font-size: 20px;
}

.verification-banner.unverified {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    flex-wrap: wrap;
    justify-content: space-between;
}

.verification-banner.unverified .verification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.verification-banner.unverified .verification-content i {
    font-size: 24px;
    color: #e6a000;
}

.verification-banner.unverified .verification-content p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.9;
}

.verification-banner .btn-small {
    padding: 8px 16px;
    font-size: 12px;
    background-color: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.verification-banner .btn-small:hover {
    opacity: 0.85;
}

.verification-banner .btn-small:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.orders-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    border: 1px solid #e5e5e5;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.order-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.order-number {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-details {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-item-line {
    font-size: 14px;
    color: #333;
}

.order-total {
    font-size: 18px;
    font-weight: 500;
}

.order-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
}

.order-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.order-status.confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.order-status.processing {
    background: #e0e7ff;
    color: #3730a3;
}

.order-status.shipped {
    background: #d1fae5;
    color: #065f46;
}

.order-status.delivered {
    background: #d1fae5;
    color: #047857;
}

.order-status.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 968px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-card.full-width {
        grid-column: 1;
    }

    .order-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .profile-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .profile-header h1 {
        font-size: 28px;
    }

    /* Phone Edit Mobile Styles */
    .info-row {
        flex-wrap: wrap;
    }

    .btn-edit-phone {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }

    .phone-edit-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .phone-edit-form {
        width: 100%;
        flex-wrap: wrap;
    }

    .phone-edit-form input {
        width: 100%;
        flex: 1;
    }

    .btn-small {
        flex: 1;
        min-width: 80px;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    background: var(--gray-50);
    padding: 15px 0;
    margin-top: 80px;
    font-size: 13px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    margin: 0 8px;
}

/* Product Detail Section */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    background: var(--gray-50);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    cursor: zoom-in;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-image-container:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--black);
    color: var(--white);
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-image-container:hover .zoom-btn {
    opacity: 1;
}

.zoom-btn:hover {
    background: var(--black);
    color: var(--white);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    border-color: var(--gold);
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-category-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 10px;
}

.product-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-price-box {
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 25px;
}

.product-stock.in-stock {
    color: #059669;
}

.product-stock.out-of-stock {
    color: #dc2626;
}

.product-stock i {
    font-size: 16px;
}

/* Size Selector */
.size-selector {
    margin-bottom: 25px;
}

.size-selector label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    min-width: 50px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid var(--gray-300);
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.size-btn:hover:not(:disabled) {
    border-color: var(--gray-900);
    color: var(--gray-900);
}

.size-btn.active {
    border-color: var(--gray-900);
    background: var(--gray-900);
    color: white;
}

.size-btn.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
}

/* Size Picker Popup */
.size-picker-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.size-picker-popup.active {
    opacity: 1;
    visibility: visible;
}

.size-picker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.size-picker-content {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.size-picker-popup.active .size-picker-content {
    transform: translateY(0);
}

.size-picker-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.size-picker-close:hover {
    background: var(--gray-200);
}

.size-picker-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.size-picker-product {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.size-picker-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.size-picker-btn {
    min-width: 55px;
    height: 48px;
    padding: 0 18px;
    border: 2px solid var(--gray-300);
    background: white;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.size-picker-btn:hover:not(:disabled) {
    border-color: var(--gray-900);
    background: var(--gray-900);
    color: white;
}

.size-picker-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.size-picker-btn .size-name {
    font-weight: 600;
}

.size-picker-btn .size-stock {
    font-size: 11px;
    color: var(--gray-500);
}

.size-picker-btn:hover:not(:disabled) .size-stock {
    color: rgba(255, 255, 255, 0.8);
}

.size-picker-btn.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
}

.size-picker-btn.out-of-stock .size-name {
    text-decoration: line-through;
}

.size-picker-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 15px;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--gray-50);
    border: none;
    font-size: 18px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--gray-200);
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Product Actions */
.product-actions {
    margin-bottom: 30px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 14px;
}

/* Product Meta */
.product-meta {
    padding: 25px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    width: 20px;
    color: var(--gold);
}

/* Share Product */
.share-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-product span {
    font-size: 14px;
    color: var(--gray-600);
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-icons a,
.share-icons button {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-icons a:hover,
.share-icons button:hover {
    background: var(--gold);
    color: var(--white);
}

/* Related Products Section */
.related-products-section {
    padding: 80px 0;
    background: var(--gray-50);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--white);
    color: var(--black);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--white);
    color: var(--black);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.lightbox-thumbnail {
    width: 60px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.lightbox-thumbnail:hover {
    opacity: 0.8;
}

.lightbox-thumbnail.active {
    border-color: var(--white);
    opacity: 1;
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--black);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--gold);
    font-size: 18px;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 80px 20px;
}

.error-message i {
    font-size: 60px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.error-message h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.error-message p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

/* Product Card Link */
.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Responsive Design for Product Detail */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-top: 70px;
    }

    .product-detail-section {
        padding: 40px 0;
    }

    .product-title {
        font-size: 26px;
    }

    .product-price {
        font-size: 24px;
    }

    .thumbnail {
        width: 60px;
        height: 75px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lightbox-thumbnails {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-detail-grid {
        gap: 30px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-description {
        font-size: 14px;
    }

    .quantity-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* RTL Support for Product Detail */
[dir="rtl"] .gallery-prev {
    left: auto;
    right: 15px;
}

[dir="rtl"] .gallery-next {
    right: auto;
    left: 15px;
}

[dir="rtl"] .zoom-btn {
    right: auto;
    left: 15px;
}

[dir="rtl"] .lightbox-prev {
    left: auto;
    right: 20px;
}

[dir="rtl"] .lightbox-next {
    right: auto;
    left: 20px;
}

[dir="rtl"] .meta-item i {
    margin-left: 12px;
    margin-right: 0;
}

/* ============================================
   SKELETON LOADERS
   ============================================ */
@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

.skeleton-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite ease-in-out;
}

.skeleton-content {
    padding: 24px;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 14px;
    width: 50%;
    margin-bottom: 8px;
}

.skeleton-price {
    height: 24px;
    width: 30%;
    margin-top: 16px;
}

/* ============================================
   TOAST NOTIFICATIONS - ENHANCED
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification i {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-notification .toast-message {
    flex: 1;
}

.toast-notification .toast-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.toast-notification .toast-close:hover {
    opacity: 1;
}

/* Toast Types */
.toast-notification.toast-success {
    background: var(--black);
    color: var(--white);
    border-left: 3px solid #4CAF50;
}

.toast-notification.toast-success i {
    color: #4CAF50;
}

.toast-notification.toast-error {
    background: var(--black);
    color: var(--white);
    border-left: 3px solid #F44336;
}

.toast-notification.toast-error i {
    color: #F44336;
}

.toast-notification.toast-warning {
    background: var(--black);
    color: var(--white);
    border-left: 3px solid #FF9800;
}

.toast-notification.toast-warning i {
    color: #FF9800;
}

.toast-notification.toast-info {
    background: var(--black);
    color: var(--white);
    border-left: 3px solid var(--gold);
}

.toast-notification.toast-info i {
    color: var(--gold);
}

/* RTL Toast Support */
[dir="rtl"] .toast-notification {
    border-left: none;
}

[dir="rtl"] .toast-notification.toast-success {
    border-right: 3px solid #4CAF50;
}

[dir="rtl"] .toast-notification.toast-error {
    border-right: 3px solid #F44336;
}

[dir="rtl"] .toast-notification.toast-warning {
    border-right: 3px solid #FF9800;
}

[dir="rtl"] .toast-notification.toast-info {
    border-right: 3px solid var(--gold);
}

/* ============================================
   PASSWORD STRENGTH METER
   ============================================ */
.password-strength-container {
    margin-top: 8px;
}

.password-strength-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength-fill.strength-weak {
    width: 25%;
    background: #F44336;
}

.password-strength-fill.strength-fair {
    width: 50%;
    background: #FF9800;
}

.password-strength-fill.strength-good {
    width: 75%;
    background: #FFC107;
}

.password-strength-fill.strength-strong {
    width: 100%;
    background: #4CAF50;
}

.password-strength-text {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--gray-500);
}

.password-strength-text.strength-weak {
    color: #F44336;
}

.password-strength-text.strength-fair {
    color: #FF9800;
}

.password-strength-text.strength-good {
    color: #FFC107;
}

.password-strength-text.strength-strong {
    color: #4CAF50;
}

.password-requirements {
    margin-top: 10px;
    font-size: 11px;
    color: var(--gray-500);
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.password-requirements li i {
    font-size: 10px;
}

.password-requirements li.valid {
    color: #4CAF50;
}

.password-requirements li.invalid {
    color: var(--gray-400);
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-state-icon i {
    font-size: 32px;
    color: var(--gray-300);
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.empty-state p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 400px;
    line-height: 1.6;
}

.empty-state .btn {
    padding: 14px 32px;
}

/* ============================================
   BUTTON LOADING STATES
   ============================================ */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spinner 0.8s linear infinite;
}

@keyframes btn-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Ensure button text is wrapped for loading state */
.btn .btn-text {
    display: inline-block;
}

/* ============================================
   NO RESULTS STATE
   ============================================ */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.no-results-icon i {
    font-size: 40px;
    color: var(--gray-300);
}

.no-results h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.no-results p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.no-results-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.no-results-suggestions .suggestion-tag {
    padding: 8px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.no-results-suggestions .suggestion-tag:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ============================================
   FORM VALIDATION FEEDBACK
   ============================================ */
.form-group {
    position: relative;
}

.form-group .validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}

[dir="rtl"] .form-group .validation-icon {
    right: auto;
    left: 12px;
}

.form-group.valid .validation-icon {
    opacity: 1;
    color: #4CAF50;
}

.form-group.invalid .validation-icon {
    opacity: 1;
    color: #F44336;
}

.form-group.valid input {
    border-color: #4CAF50;
}

.form-group.invalid input {
    border-color: #F44336;
}

.form-error-message {
    font-size: 11px;
    color: #F44336;
    margin-top: 4px;
    display: none;
}

.form-group.invalid .form-error-message {
    display: block;
}

/* ============================================
   ACCESSIBILITY FOCUS STYLES
   ============================================ */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only class */
.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;
}

/* ============================================
   404 ERROR PAGE
   ============================================ */
.error-page-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.error-link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.error-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
}

.error-link-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.error-link-card i {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 12px;
}

.error-link-card span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    color: #fff;
    z-index: 9999;
    padding: 20px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.cookie-consent-text a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-consent-btn.accept {
    background: var(--gold);
    color: #111;
}

.cookie-consent-btn.accept:hover {
    background: var(--gold-hover);
}

.cookie-consent-btn.decline {
    background: transparent;
    color: #999;
    border: 1px solid #444;
}

.cookie-consent-btn.decline:hover {
    border-color: #999;
    color: #fff;
}

/* ============================================
   LEGAL CONTENT PAGES
   ============================================ */
.legal-content {
    text-align: left;
}

[dir="rtl"] .legal-content {
    text-align: right;
}

.legal-content .story-text {
    text-align: inherit;
}

.legal-content .story-text p,
.legal-content .story-text li {
    text-align: inherit;
}

.legal-update-date {
    background: var(--gray-100);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    font-size: 14px;
    color: var(--gray-600);
}

[dir="rtl"] .legal-update-date {
    border-left: none;
    border-right: 4px solid var(--gold);
}

/* ============================================
   DEVELOPER CREDIT
   ============================================ */
.footer-developer {
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    transition: color 0.4s ease;
}

.footer-developer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, text-shadow 0.3s ease;
}

.footer-developer a:hover {
    border-bottom-color: var(--gold);
    text-shadow: 0 0 8px rgba(201, 169, 97, 0.4);
}

/* Developer Contact Popup */
.dev-contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dev-contact-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.dev-contact-popup {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(10px);
    transition: transform 0.3s ease;
}

.dev-contact-overlay.visible .dev-contact-popup {
    transform: scale(1) translateY(0);
}

.dev-contact-popup .dev-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 16px;
}

.dev-contact-popup h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.dev-contact-popup .dev-title {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dev-contact-popup .dev-message {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.dev-contact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.dev-contact-actions button {
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dev-contact-actions .dev-btn-email {
    background: var(--gold);
    color: #111;
    border: none;
}

.dev-contact-actions .dev-btn-email:hover {
    background: var(--gold-hover);
    box-shadow: 0 0 16px rgba(201, 169, 97, 0.3);
}

.dev-contact-actions .dev-btn-cancel {
    background: transparent;
    color: #777;
    border: 1px solid #333;
}

.dev-contact-actions .dev-btn-cancel:hover {
    border-color: #666;
    color: #ccc;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS FOR NEW COMPONENTS
   ============================================ */
@media (max-width: 768px) {
    .toast-container {
        left: 20px;
        right: 20px;
        transform: none;
        bottom: 20px;
    }

    .toast-notification {
        max-width: 100%;
    }

    .empty-state {
        padding: 60px 20px;
    }

    .empty-state-icon {
        width: 60px;
        height: 60px;
    }

    .empty-state-icon i {
        font-size: 24px;
    }

    .empty-state h3 {
        font-size: 20px;
    }

    .no-results {
        padding: 60px 20px;
    }

    .no-results-icon {
        width: 80px;
        height: 80px;
    }

    .no-results-icon i {
        font-size: 32px;
    }

    /* Cookie consent responsive */
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }

    /* 404 page responsive */
    .error-page-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-link-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .error-link-card {
        padding: 20px 15px;
    }
}

/* ============================================
   CLOUDFLARE TURNSTILE
   ============================================ */
.turnstile-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.turnstile-container iframe {
    margin: 0 auto;
}

/* ============================================
   WCAG 2.1 AA ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Form Error Styles */
.input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.form-error {
    display: none;
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.form-error:not(:empty) {
    display: block;
}

/* Focus indicator for form fields with errors */
.input-error:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* ============================================
   COLOR CONTRAST - WCAG AA COMPLIANT
   ============================================ */
/*
 * Original gold (#C9A961) has insufficient contrast on white (2.4:1)
 * --gold-text (#8B6914) provides 4.5:1 contrast ratio for AA compliance
 */
:root {
    --gold-text: #8B6914;  /* Darker gold for text on light backgrounds - passes WCAG AA */
}

/* Apply darker gold to text that appears on light backgrounds */
.mega-menu-column .view-all a,
.nav-link:hover,
.nav-link.active,
a[style*="color: #C9A961"],
a[style*="color: var(--gold)"] {
    color: var(--gold-text);
}

/* Links within light content areas that use gold */
.modal-body a:not(.btn),
.footer-col a:hover,
.profile-card a:hover {
    color: var(--gold-text);
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@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;
    }

    /* Disable specific animations */
    .hero-slide,
    .product-card,
    .cart-modal,
    .modal,
    .navbar-search-overlay,
    .mega-menu {
        transition: none !important;
        animation: none !important;
    }

    /* Keep opacity changes instant for visibility */
    .modal.active,
    .cart-modal.active,
    .navbar-search-overlay.active {
        opacity: 1 !important;
    }

    /* Disable transform animations */
    .product-card:hover,
    .icon-btn:hover,
    .btn:hover {
        transform: none !important;
    }

    /* Disable loading spinner animation - show static state */
    .fa-spin {
        animation: none !important;
    }
}

/* ============================================
   WCAG 2.1 - TARGET SIZE (2.5.5)
   Minimum 44x44px touch targets for mobile
   ============================================ */
@media (pointer: coarse) {
    /* Buttons and interactive elements */
    .btn,
    .icon-btn,
    .mobile-toggle,
    .modal-close,
    .cart-close,
    .gallery-nav,
    .lightbox-nav,
    .lightbox-close,
    .qty-btn,
    .size-option,
    .lang-btn,
    .wishlist-btn,
    .card-nav {
        min-width: 44px;
        min-height: 44px;
    }

    /* Form inputs */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        min-height: 44px;
        padding: 10px 12px;
    }

    /* Checkbox and radio buttons */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 24px;
        min-height: 24px;
    }

    /* Navigation links */
    .nav-link,
    .footer-col a,
    .user-menu-item {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Product card buttons */
    .product-card .wishlist-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ============================================
   WCAG 2.1 - REFLOW (1.4.10)
   Content reflows at 320px width
   ============================================ */
@media (max-width: 320px) {
    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
    }

    .container,
    .container-narrow {
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
        max-width: 100%;
    }

    /* Stack form rows */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        width: 100%;
    }

    /* Modal adjustments */
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    /* Product grid single column */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Navigation adjustments */
    .nav-actions {
        gap: 8px;
    }

    .icon-btn {
        padding: 8px;
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Button text wrapping */
    .btn {
        white-space: normal;
        word-wrap: break-word;
    }
}

/* ============================================
   WCAG 2.1 - TEXT SPACING (1.4.12)
   Support for user-defined text spacing
   ============================================ */
/*
 * These styles ensure content remains readable when users apply:
 * - Line height: 1.5x font size
 * - Paragraph spacing: 2x font size
 * - Letter spacing: 0.12x font size
 * - Word spacing: 0.16x font size
 */
body {
    /* Allow text spacing adjustments without breaking layout */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Prevent fixed heights that could cause text overflow */
.btn,
.nav-link,
.product-card,
.form-group label {
    height: auto;
    min-height: unset;
}

/* Ensure containers can expand with text */
.product-info,
.checkout-item {
    height: auto;
    overflow: visible;
}

/* Allow text to wrap in buttons */
.btn {
    white-space: normal;
    line-height: 1.4;
}

/* ============================================
   WCAG 2.1 - ORIENTATION (1.3.4)
   No orientation lock
   ============================================ */
@media (orientation: portrait), (orientation: landscape) {
    /* Content adapts to both orientations */
    body {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
    }
}

/* ============================================
   WCAG 2.1 - STATUS MESSAGES (4.1.3)
   Live region styling
   ============================================ */
[aria-live="polite"],
[aria-live="assertive"],
[role="alert"],
[role="status"] {
    /* Ensure live regions are not visually hidden in a way that breaks announcements */
}

/* Toast notifications should be announced */
.toast,
.notification,
.toast-notification {
    /* Already visible, just ensure role="status" is set in HTML */
}

/* Form error messages - ensure they're announced */
.form-error[role="alert"] {
    /* Styling already defined above */
}

/* ============================================
   WCAG 2.1 - CONTENT ON HOVER/FOCUS (1.4.13)
   ============================================ */
/* Dropdown menus and tooltips should be dismissible and persistent */
.mega-menu,
.lang-dropdown,
.user-dropdown {
    /* Can be dismissed with Escape (handled in JS) */
    /* Remains visible while hovered */
}

.mega-menu:hover,
.lang-dropdown:hover,
.user-dropdown:hover {
    /* Keep visible while being hovered */
    display: block;
    visibility: visible;
    opacity: 1;
}
