/* ============================================================
   ZAYYORA HEADER + FOOTER — FULLY RESPONSIVE
   Navy (#062037) + Gold Theme
   ============================================================ */

/* ── Root Variables ── */
:root {
    --navy: #062037;
    --navy-deep: #041525;
    --navy-soft: #0A2D4F;
    --navy-mid: #0D3B63;
    --navy-pale: #E8EEF4;
    --navy-faint: rgba(6, 32, 55, 0.05);

    --gold: #D9BD6B;
    --gold-light: #E8D48B;
    --gold-dark: #A07828;
    --gold-pale: #F5EDD6;

    --brand: #C87070;
    --brand-dark: #A05555;
    --brand-pale: #FBF0F0;

    --border: #E8E2DA;
    --border-light: #F0EBE4;

    --text-dark: #1A1A2E;
    --text-mid: #3A3F52;
    --text-soft: #6B7588;
    --text-faint: #94A3B8;

    --bg-white: #FFFFFF;
    --bg-cream: #FDF9F4;
    --bg-soft: #FAF7F2;

    --shadow-xs: 0 1px 4px rgba(6, 32, 55, 0.04);
    --shadow-sm: 0 2px 12px rgba(6, 32, 55, 0.07);
    --shadow-md: 0 8px 32px rgba(6, 32, 55, 0.1);
    --shadow-lg: 0 16px 48px rgba(6, 32, 55, 0.14);

    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --radius: 6px;
    --radius-lg: 10px;

    --hamburger-bar-height: 2px;
    --hamburger-gap: 5px;
    --hamburger-width: 22px;
}

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


/* ═══════════════════════════════════════════
   STICKY HEADER SHELL
═══════════════════════════════════════════ */
.zayyora-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}


/* ═══════════════════════════════════════════
   TOP BAR — DESKTOP
═══════════════════════════════════════════ */
.top-bar {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    padding: 10px 4vw;
    gap: 32px;
    max-width: 1920px;
    margin: 0 auto;
}


.swal2-container {
    z-index: 99999 !important;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.3s ease;
}

/* Header specific sizing */
.zayyora-header .header-left {
    display: flex !important;
    align-items: center;
    gap: 10px;
    /* Replaces manual margins */
}

.zayyora-header .brand-text {
    font-size: 20px;
}

.zayyora-header .logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ── Search ── */
.zayyora-header .header-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.zayyora-header .premium-search-container {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    padding: 9px 18px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    border: 1.5px solid rgba(6, 32, 55, 0.15);
    transition: var(--transition);
    position: relative;
    z-index: 99999;
}

.zayyora-header .premium-search-container:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217, 189, 107, 0.12);
    transform: translateY(-1px);
}

.zayyora-header .premium-search-container input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0 12px;
    outline: none;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
}

.zayyora-header .premium-search-container input::placeholder {
    color: var(--text-faint);
}

.zayyora-header .search-icon {
    color: var(--navy);
    font-size: 14px;
}

.zayyora-header .search-actions {
    cursor: pointer;
}

.zayyora-header .search-actions i {
    color: var(--navy);
    transition: 0.3s;
}

.zayyora-header .search-actions i:hover {
    color: var(--gold-dark);
}


/* ── Right Icons ── */
.zayyora-header .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Gold Rate Ticker */
.zayyora-header .gold-rate-ticker {
    height: 22px;
    overflow: hidden;
    border-left: 1px solid var(--border);
    padding-left: 16px;
}

.zayyora-header .ticker-wrapper {
    display: flex;
    flex-direction: column;
    animation: slideGoldRates 10s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

.zayyora-header .rate-item {
    height: 22px;
    display: flex;
    align-items: center;
    font-family: "Jost", sans-serif;
    font-size: 12px;
    color: var(--text-soft);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.zayyora-header .rate-item span {
    color: var(--gold-dark);
    font-weight: 700;
    margin-right: 5px;
    font-size: 10px;
    text-transform: uppercase;
}

@keyframes slideGoldRates {

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

    25%,
    45% {
        transform: translateY(-22px);
    }

    50%,
    70% {
        transform: translateY(-44px);
    }

    75%,
    95% {
        transform: translateY(-66px);
    }

    100% {
        transform: translateY(-66px);
    }
}

.zayyora-header .gold-rate-ticker:hover .ticker-wrapper {
    animation-play-state: paused;
}

/* Currency Switcher */
.zayyora-header .global-switches {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zayyora-header .global-switches .form-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px 26px 5px 12px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-soft);
    cursor: pointer;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B7588' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 7px;
}

.zayyora-header .global-switches .form-select:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.zayyora-header .global-switches .form-select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 2px var(--navy-faint);
}

.zayyora-header #header-greeting {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 10px;
    border-right: 1px solid var(--border);
    margin-right: 4px;
    font-family: "Jost", sans-serif;
}

/* Icon Nav */
.zayyora-header .icon-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 8px;
}

.zayyora-header .icon-nav a {
    color: var(--navy) !important;
    font-size: 19px;
    transition: 0.3s;
    position: relative;
    display: flex;
    align-items: center;
}

.zayyora-header .icon-nav a:hover {
    color: var(--gold-dark) !important;
}

.zayyora-header .cart-badge,
.zayyora-header .wishlist-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: var(--navy);
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
}

/* User Menu */
.zayyora-header .user-menu {
    position: relative;
    display: inline-block;
}

.zayyora-header .header-auth-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.zayyora-header .user-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--navy);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-cream);
}

.zayyora-header .user-avatar-circle svg {
    width: 17px;
    height: 17px;
}

.zayyora-header .auth-inline-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zayyora-header .auth-text-link {
    font-family: "Jost", sans-serif;
    font-size: 12px;
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.zayyora-header .auth-text-link:hover {
    color: var(--navy);
}

.zayyora-header .auth-divider {
    width: 1px;
    height: 13px;
    background: var(--border);
}

.zayyora-header .auth-logged-in-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.zayyora-header .auth-user-name {
    font-family: "Jost", sans-serif;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.zayyora-header .dropdown-arrow {
    width: 13px;
    height: 13px;
    color: var(--navy);
    transition: transform 0.3s;
}

.zayyora-header .auth-logged-in-menu.active .dropdown-arrow {
    transform: rotate(180deg);
}

.zayyora-header .user-dropdown-box {
    position: absolute;
    top: 44px;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.zayyora-header .user-dropdown-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zayyora-header .dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
    padding: 11px 18px;
    font-family: "Jost", sans-serif;
    font-size: 12px !important;
    color: var(--text-dark) !important;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.zayyora-header .dropdown-item:hover {
    background: var(--navy-faint);
    color: var(--navy) !important;
}


/* ═══════════════════════════════════════════
   MAIN NAV — DESKTOP
═══════════════════════════════════════════ */
.zayyora-header .main-nav {
    background: var(--navy);
    width: 100%;
    position: relative;
}

.zayyora-header .main-nav>ul {
    display: flex;
    justify-content: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zayyora-header .main-nav>ul>li {
    position: relative;
}

.zayyora-header .main-nav>ul>li>a {
    display: block;
    text-decoration: none;
    color: rgba(220, 231, 242, 0.85) !important;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    position: relative;
    padding: 16px 0 13px;
    transition: color 0.3s;
}

.zayyora-header .main-nav>ul>li>a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.zayyora-header .main-nav>ul>li:hover>a {
    color: var(--gold) !important;
}

.zayyora-header .main-nav>ul>li:hover>a::after {
    width: 100%;
}

.zayyora-header .drop-icon {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s;
}

.zayyora-header .main-nav>ul>li:hover .drop-icon {
    transform: rotate(180deg);
}

.zayyora-header .main-nav>ul>li.mega-dropdown-parent {
    position: static;
}

.zayyora-header .mega-menu-tray {
    position: absolute;
    top: 100%;
    left: 27%;
    width: auto;
    min-width: 400px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 9999;
    display: flex;
    justify-content: flex-start;
}

.zayyora-header .mega-dropdown-parent:hover .mega-menu-tray {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zayyora-header .mega-menu-inner {
    display: flex;
    gap: 60px;
    padding: 40px 30px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
}

.zayyora-header .mega-column {
    display: flex;
    flex-direction: column;
    min-width: 130px;
}

.zayyora-header .mega-column h4 {
    font-family: "Playfair Display", serif;
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.zayyora-header .mega-column a {
    display: block;
    padding: 7px 0;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 13px;
    font-family: "Jost", sans-serif;
    transition: all 0.2s;
    text-transform: capitalize;
}

.zayyora-header .mega-column a:hover {
    color: var(--navy);
    padding-left: 6px;
}

.zayyora-header .mega-column a::after {
    display: none !important;
}

.zayyora-header .mega-menu-loading {
    padding: 30px;
    color: var(--text-faint);
    font-size: 13px;
}


/* ═══════════════════════════════════════════
   HAMBURGER BUTTON (hidden on desktop)
═══════════════════════════════════════════ */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    gap: var(--hamburger-gap);
    border-radius: var(--radius);
    transition: background 0.2s;
    padding: 8px;
    flex-shrink: 0;
    z-index: 10003;
}

.hamburger-btn:hover {
    background: var(--navy-faint);
}

.hamburger-bar {
    display: block;
    width: var(--hamburger-width);
    height: var(--hamburger-bar-height);
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s, width 0.3s;
    transform-origin: center;
}

.hamburger-btn.is-open .hamburger-bar:nth-child(1) {
    transform: translateY(calc(var(--hamburger-gap) + var(--hamburger-bar-height))) rotate(45deg);
}

.hamburger-btn.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.is-open .hamburger-bar:nth-child(3) {
    transform: translateY(calc(-1 * (var(--hamburger-gap) + var(--hamburger-bar-height)))) rotate(-45deg);
}


/* ═══════════════════════════════════════════
   MOBILE DRAWER
═══════════════════════════════════════════ */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 90vw);
    height: 100dvh;
    background: var(--bg-white);
    z-index: 10002;
    overflow-y: auto;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -8px 0 40px rgba(6, 32, 55, 0.18);
    overscroll-behavior: contain;
}

.mobile-drawer.drawer-open {
    transform: translateX(0);
}

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 21, 37, 0.5);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.35s;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.drawer-overlay.overlay-visible {
    opacity: 1;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 10;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.drawer-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Drawer Search */
.drawer-search-container {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--border-light);
}

/* Gold Rate Chips */
.drawer-gold-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-light);
}

.drawer-gold-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "Jost", sans-serif;
    font-size: 11px;
    color: var(--text-soft);
    padding: 4px 10px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    white-space: nowrap;
}

.drawer-gold-chip strong {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
}

/* User Strip */
.drawer-user-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-soft);
}

.zayyora-header .drawer-user-strip-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-soft);
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.zayyora-header .drawer-user-strip-link:hover {
    background: #f0ebe2;
}

.zayyora-header .drawer-user-strip-link:active {
    transform: scale(0.98);
}

.drawer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-white);
    color: var(--navy);
}

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

.drawer-avatar svg {
    width: 18px;
    height: 18px;
}

.drawer-user-info {
    flex: 1;
}

.drawer-user-name {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.drawer-user-label {
    font-size: 11px;
    color: var(--text-soft);
    margin-top: 1px;
}

.drawer-user-actions {
    display: flex;
    gap: 6px;
}

.drawer-auth-link {
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid var(--navy);
    border-radius: 20px;
    transition: 0.2s;
}

.drawer-auth-link:hover {
    background: var(--navy);
    color: var(--bg-white);
}

/* Drawer Navigation */
.drawer-nav {
    flex: 1;
    padding: 8px 0;
}

.drawer-nav-item {
    border-bottom: 1px solid var(--border-light);
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.2s, color 0.2s;
    gap: 12px;
}

.drawer-nav-link:hover {
    background: var(--bg-soft);
    color: var(--navy);
}

.drawer-nav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-faint);
    border-radius: 6px;
    font-size: 13px;
    color: var(--navy);
    flex-shrink: 0;
}

.drawer-nav-label {
    flex: 1;
}

.drawer-chevron {
    font-size: 10px;
    color: var(--navy);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.drawer-nav-item.is-expanded .drawer-chevron {
    transform: rotate(90deg);
}

.drawer-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    background: var(--bg-cream);
}

/* .drawer-nav-item.is-expanded .drawer-submenu {
    max-height: 2000px;
} */

.drawer-category-group {
    padding: 12px 20px 8px;
    border-bottom: 1px solid var(--border-light);
}

.drawer-category-group:last-child {
    border-bottom: none;
}

.drawer-category-title {
    font-family: "Playfair Display", serif;
    font-size: 13px;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-light);
    display: block;
}

.drawer-subcategory-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px;
    text-decoration: none;
    color: var(--text-mid);
    font-size: 13px;
    font-family: "Jost", sans-serif;
    transition: 0.2s;
    border-radius: 5px;
}

.drawer-subcategory-link::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.drawer-subcategory-link:hover {
    color: var(--navy);
    background: var(--bg-white);
    padding-left: 14px;
}

.drawer-simple-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: 0.2s;
    border-bottom: 1px solid var(--border-light);
}

.drawer-simple-link:hover {
    background: var(--bg-soft);
    color: var(--navy);
}

/* Override static max-height with JS-driven value */
.drawer-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    background: var(--bg-cream);
}



.drawer-simple-link>span:first-child {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-faint);
    border-radius: 6px;
    font-size: 13px;
    color: var(--navy) !important;
    flex-shrink: 0;
}

/* Drawer Footer */
.drawer-footer {
    padding: 16px;
    border-top: 2px solid var(--border);
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-currency-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-currency-label {
    font-family: "Jost", sans-serif;
    font-size: 11px;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.drawer-currency-select {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 7px 28px 7px 12px;
    font-size: 12px;
    font-family: "Jost", sans-serif;
    font-weight: 600;
    color: var(--text-soft);
    background: var(--bg-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B7588' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 7px;
    cursor: pointer;
    outline: none;
}

.drawer-logout-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(6, 32, 55, 0.15);
    border-radius: var(--radius);
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.drawer-logout-btn:hover {
    background: var(--navy);
    color: var(--bg-white);
    border-color: var(--navy);
}


/* ═══════════════════════════════════════════
   SEARCH DROPDOWN (desktop)
═══════════════════════════════════════════ */
#headerSearchDropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    z-index: 99999;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    max-height: 420px;
    overflow-y: auto;
    min-width: 100%;
}


/* ═══════════════════════════════════════════
   HEADER RESPONSIVE — LAPTOP (≤1200px)
═══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .top-bar {
        grid-template-columns: 200px 1fr auto;
        gap: 24px;
        padding: 10px 3vw;
    }

    .zayyora-header .premium-search-container {
        max-width: 420px;
    }

    .zayyora-header .main-nav>ul {
        gap: 28px;
    }
}


/* ═══════════════════════════════════════════
   HEADER RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .top-bar {
        grid-template-columns: 180px 1fr auto;
        gap: 20px;
        padding: 10px 3vw;
    }

    .zayyora-header .gold-rate-ticker {
        display: none;
    }

    .zayyora-header #header-greeting {
        display: none;
    }

    .zayyora-header .brand-text {
        font-size: 17px;
    }

    .zayyora-footer .brand-text {
        font-size: 22px;
    }

    .zayyora-footer .footer-logo img {
        height: 60px;
    }

    .zayyora-header .icon-nav {
        gap: 14px;
        margin-left: 4px;
    }

    .zayyora-header .premium-search-container {
        max-width: 360px;
    }

    .zayyora-header .brand-text {
        font-size: 17px;
    }

    .zayyora-header .main-nav>ul {
        gap: 22px;
    }

    .zayyora-header .main-nav>ul>li>a {
        font-size: 11px;
        letter-spacing: 1.2px;
    }
}


/* ═══════════════════════════════════════════
   HEADER RESPONSIVE — MOBILE (≤768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .zayyora-header {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 10000 !important;
    }

    .hamburger-btn {
        display: flex;
    }

    .mobile-drawer {
        display: flex;
    }

    .zayyora-header .main-nav {
        display: none;
    }

    .top-bar {
        grid-template-columns: auto 1fr auto;
        padding: 8px 16px;
        gap: 10px;
        align-items: center;
    }

    .zayyora-header .gold-rate-ticker {
        display: none;
    }

    .zayyora-header .global-switches {
        display: none;
    }

    .zayyora-header #header-greeting {
        display: none;
    }

    .zayyora-header .user-menu {
        display: none;
    }

    .zayyora-header .icon-nav .wishlist-link {
        display: none;
    }

    .zayyora-header .icon-nav {
        gap: 10px;
        margin-left: 0;
    }

    .zayyora-header .header-center {
        display: flex;
    }

    .zayyora-header .brand-text {
        font-size: 16px;
    }

    .zayyora-footer .brand-text {
        font-size: 20px;
    }

    .zayyora-footer .footer-logo img {
        height: 50px;
    }

    .zayyora-header .premium-search-container {
        max-width: 100%;
        padding: 8px 14px;
        border-radius: 25px;
    }

    .zayyora-header .premium-search-container input {
        font-size: 16px;
        padding: 0 8px;
    }

    .zayyora-header .search-icon {
        font-size: 13px;
    }

    .zayyora-header .logo img {
        height: 44px;
    }

    .zayyora-header .brand-text {
        font-size: 15px;
    }

    .zayyora-header .header-right {
        gap: 6px;
    }

    .drawer-nav-link {
        font-size: 14px;
        padding: 16px 20px;
    }

    .drawer-user-name {
        font-size: 15px;
    }
}


/* ═══════════════════════════════════════════
   HEADER RESPONSIVE — SMALL MOBILE (≤480px)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .zayyora-header .brand-text {
        display: none;
    }

    .top-bar {
        gap: 6px;
        padding: 8px 12px;
    }

    .zayyora-header .logo img {
        height: 38px;
    }

    .zayyora-header .icon-nav a {
        font-size: 17px;
    }

    .zayyora-header .premium-search-container {
        padding: 7px 10px;
        border-radius: 20px;
    }

    .zayyora-header .premium-search-container input {
        font-size: 13px;
        padding: 0 6px;
    }

    .zayyora-header .brand-text {
        display: none;
    }

    /* Hide text on very small screens if needed */
    .zayyora-footer .brand-text {
        font-size: 18px;
    }

    .zayyora-footer .footer-logo img {
        height: 45px;
    }

    .zayyora-header .search-icon {
        font-size: 12px;
    }
}


/* Drawer Scrollbar */
.mobile-drawer::-webkit-scrollbar {
    width: 3px;
}

.mobile-drawer::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-drawer::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}


/* ════════════════════════════════════════════════════════════════
   FOOTER — ALL STYLES SCOPED UNDER .zayyora-footer
   ════════════════════════════════════════════════════════════════ */
.zayyora-footer {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: "Jost", sans-serif;
    border-top: 1px solid var(--border);
}


/* ── Newsletter Section ── */
.zayyora-footer .footer-newsletter {
    background: linear-gradient(165deg, rgba(6, 32, 55, 0.03) 0%, rgba(217, 189, 107, 0.06) 100%);
    padding: 80px 5vw;
    display: flex;
    justify-content: center;
}

.zayyora-footer .fn-content {
    text-align: center;
    max-width: 560px;
}

/* Footer specific sizing */
.zayyora-footer .footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.zayyora-footer .brand-text {
    font-size: 26px;
    /* Slightly larger in the footer for prominence */
    letter-spacing: 2px;
}

.zayyora-footer .footer-logo img {
    height: 70px;
    /* Slightly larger logo in footer */
    width: auto;
    object-fit: contain;
}

.zayyora-footer .fn-icon {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 20px;
}

.zayyora-footer .fn-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.zayyora-footer .fn-desc {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 35px;
}

.zayyora-footer .fn-form {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.zayyora-footer .fn-phone-wrap {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    border-bottom: 2px solid var(--navy);
    padding-bottom: 5px;
}

.zayyora-footer .fn-form input {
    flex: 1;
    padding: 12px 100px 12px 0;
    background: transparent;
    border: none !important;
    font-family: "Jost", sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
}

.zayyora-footer .fn-form input::placeholder {
    color: var(--text-faint);
    letter-spacing: 0.5px;
}

.zayyora-footer .fn-flag-dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    cursor: pointer;
    background: transparent;
}

.zayyora-footer .fn-flag-display {
    font-size: 20px;
    min-width: 24px;
    display: inline-block;
    line-height: 1;
}

.zayyora-footer .fn-caret {
    font-size: 12px;
    color: var(--gold-dark);
    margin-top: 2px;
}

.zayyora-footer .fn-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.zayyora-footer .fn-form button:hover {
    color: var(--gold-dark);
    letter-spacing: 2px;
}

/* Country Dropdown */
.zayyora-footer .fn-country-list {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    width: 280px;
    max-height: 260px;
    overflow-y: auto;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.zayyora-footer .fn-country-list.open {
    display: block;
}

.zayyora-footer .fn-country-list::-webkit-scrollbar {
    width: 4px;
}

.zayyora-footer .fn-country-list::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.zayyora-footer .fn-search-box {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    padding: 10px;
    border-bottom: 1px solid var(--border-light);
}

.zayyora-footer .fn-search-box input {
    width: 100%;
    border: 1px solid var(--border) !important;
    border-radius: 6px;
    padding: 7px 10px !important;
    font-size: 12px;
    color: var(--text-dark);
    outline: none;
    background: var(--bg-cream) !important;
    text-transform: none !important;
}

.zayyora-footer .fn-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
    transition: background 0.15s;
}

.zayyora-footer .fn-country-item:hover {
    background: var(--gold-pale);
}

.zayyora-footer .fn-country-item .ci-flag {
    font-size: 20px;
    flex-shrink: 0;
}

.zayyora-footer .fn-country-item .ci-name {
    flex: 1;
    color: var(--text-mid);
    font-size: 12px;
}

.zayyora-footer .fn-country-item .ci-code {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 600;
}


/* ── Footer Main Section ── */
.zayyora-footer .footer-main {
    padding: 70px 5vw 50px;
    background: var(--navy);
    border-radius: 50px 50px 0 0;
}

.zayyora-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.zayyora-footer .footer-col h4,
.zayyora-footer .footer-heading-premium {
    font-family: "Playfair Display", serif;
    font-size: 19px;          
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
}

.zayyora-footer .footer-logo img {
    width: 120px;
    height: auto;
}

.zayyora-footer .footer-about {
    font-size: 14px;
    color: rgba(220, 231, 242, 0.7);
    line-height: 1.8;
    margin-bottom: 28px;
    margin-top: 18px;
    max-width: 320px;
}

.zayyora-footer .social-links {
    display: flex;
    gap: 12px;
}

.zayyora-footer .social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(220, 231, 242, 0.25);
    border-radius: 50%;
    color: rgba(220, 231, 242, 0.7) !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.zayyora-footer .social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy) !important;
    transform: translateY(-3px);
}

.zayyora-footer .footer-col ul {
    list-style: none;
}

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

.zayyora-footer .footer-col ul li a {
    text-decoration: none;
    color: rgba(220, 231, 242, 0.75) !important;
    font-size: 14px;          /* was 20px — this was the main bug */
    line-height: 1.4;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

.zayyora-footer .footer-col ul li a:hover {
    color: var(--gold) !important;
    transform: translateX(4px);
}

.zayyora-footer .footer-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zayyora-footer .footer-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.zayyora-footer .footer-contact-details li i {
    color: var(--gold);
    font-size: 18px;
    margin-top: 3px;
    opacity: 0.8;
}

.zayyora-footer .footer-contact-details div {
    font-size: 14px;          
    line-height: 1.6;
    color: rgba(220, 231, 242, 0.8);
    font-weight: 400;
}

.zayyora-footer .footer-contact-details li:hover {
    transform: translateX(3px);
}

.zayyora-footer .footer-contact-details li:hover i {
    opacity: 1;
    color: var(--gold-light);
}

.zayyora-footer .brand-col {
    padding-right: 20px;
}


/* ── Footer Bottom ── */
.zayyora-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 5vw;
    border-top: 1px solid rgba(220, 231, 242, 0.1);
    background: var(--navy-deep);
    max-width: 100%;
    margin: 0 auto;
}

.zayyora-footer .copyright {
    font-size: 13px;
    color: rgba(220, 231, 242, 0.4);
    letter-spacing: 0.5px;
}

.zayyora-footer .payment-icons {
    display: flex;
    gap: 14px;
    color: rgba(220, 231, 242, 0.35);
    font-size: 22px;
}

.footer-social-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 25px 0 10px;
}

.footer-social-mobile a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(220, 231, 242, .25);
    border-radius: 50%;
    color: rgba(220, 231, 242, .7);
    text-decoration: none;
    transition: .3s;
}

.footer-social-mobile a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ═══════════════════════════════════════════
   FOOTER RESPONSIVE — LAPTOP (≤1200px)
═══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .zayyora-footer .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
        gap: 32px;
    }
}


/* ═══════════════════════════════════════════
   FOOTER RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {

    .zayyora-footer .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Brand column full width */
    .zayyora-footer .brand-col {
        grid-column: 1 / -1;
        padding-bottom: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(220, 231, 242, 0.1);
    }

    /* Discover */
    .zayyora-footer .footer-grid .footer-col:nth-child(2) {
        grid-column: 1;
    }

    /* Client Care */
    .zayyora-footer .footer-grid .footer-col:nth-child(3) {
        grid-column: 2;
    }

    /* The Company */
    .zayyora-footer .footer-grid .footer-col:nth-child(4) {
        grid-column: 1;
    }

    /* The Atelier */
    .zayyora-footer .footer-grid .footer-col:nth-child(5) {
        grid-column: 2;
    }

    .zayyora-footer .footer-logo img {
        width: 100px;
    }

    .zayyora-footer .footer-about {
        max-width: 100%;
    }

    .zayyora-footer .footer-contact-details li {
        margin-bottom: 14px;
    }
}


@media (max-width: 768px) {

    .zayyora-footer .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    /* Brand section full width */
    .zayyora-footer .brand-col {
        grid-column: 1 / -1;
        text-align: left;
        border-bottom: 1px solid rgba(220, 231, 242, .08);
        padding-bottom: 20px;
    }

    /* Discover */
    .zayyora-footer .footer-grid .footer-col:nth-child(2) {
        grid-column: auto;
    }

    /* Client Care */
    .zayyora-footer .footer-grid .footer-col:nth-child(3) {
        grid-column: auto;
    }

    /* Company */
    .zayyora-footer .footer-grid .footer-col:nth-child(4) {
        grid-column: auto;
    }

    /* Atelier */
    .zayyora-footer .footer-grid .footer-col:nth-child(5) {
        grid-column: auto;
    }

    .zayyora-footer .footer-col {
        border: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Social icons below description */
    .zayyora-footer .social-links {
        margin-top: 16px;
    }

    .zayyora-footer .fn-phone-wrap {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }

    .zayyora-footer .fn-flag-dropdown {
        width: auto;
        margin: 0;
        padding: 0 10px 0 0;
        border: none;
    }

    .zayyora-footer #phoneNumber {
        flex: 1;
        min-width: 0;
    }

    .zayyora-footer .fn-form button {
        position: static;
        transform: none;
        white-space: nowrap;
    }

    .footer-bottom {
        display: grid;
    }

    #countryList, #contactCountryList {
        width: 85vw !important;
        max-width: 320px !important;
        max-height: 220px !important;
        left: 0 !important;
    }
}

@media (max-width: 480px) {

    .zayyora-footer .fn-form {
        max-width: 300px;
    }

    .zayyora-footer .fn-phone-wrap {
        gap: 4px;
    }

    .zayyora-footer .fn-form input {
        font-size: 12px;
    }

    .zayyora-footer .fn-form button {
        font-size: 10px;
        letter-spacing: 1px;
    }

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

/* ═══════════════════════════════════════════
   FOOTER RESPONSIVE — VERY SMALL (≤360px)
═══════════════════════════════════════════ */
@media (max-width: 360px) {
    .zayyora-footer .fn-title {
        font-size: 18px;
    }

    .zayyora-footer .fn-form input {
        font-size: 12px;
        padding: 5px 72px 5px 0;
    }

    .zayyora-footer .fn-form button {
        font-size: 9px;
        top: 26px;
    }

    .zayyora-footer .footer-col ul li a {
        font-size: 12px;
    }

    .zayyora-footer .footer-logo img {
        width: 70px;
    }

    .zayyora-footer .footer-about {
        font-size: 11.5px;
    }

    .zayyora-footer .payment-icons {
        font-size: 14px;
        gap: 6px;
    }
}


/* ═══════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.hamburger-btn:focus-visible,
.drawer-close-btn:focus-visible,
.drawer-nav-link:focus-visible,
.drawer-auth-link:focus-visible,
.zayyora-header .icon-nav a:focus-visible,
.zayyora-header .global-switches .form-select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
/* ═══════════════════════════════════════════
   FOOTER MOBILE & TABLET TYPOGRAPHY FIX
═══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {

    .zayyora-footer .footer-heading-premium,
    .zayyora-footer .footer-col h4 {
        font-size: 18px !important;
        margin-bottom: 14px !important;
        line-height: 1.2 !important;
    }

    .zayyora-footer .footer-about {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }

    .zayyora-footer .footer-col ul li {
        margin-bottom: 6px !important;
    }

    .zayyora-footer .footer-col ul li a {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .zayyora-footer .footer-contact-details div {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .zayyora-footer .footer-contact-details li {
        margin-bottom: 10px !important;
    }

    .zayyora-footer .footer-main {
        padding: 45px 20px 35px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .zayyora-footer .footer-main {
        padding: 35px 18px 25px !important;
    }

    .zayyora-footer .footer-grid {
        gap: 18px !important;
    }

    .zayyora-footer .footer-heading-premium,
    .zayyora-footer .footer-col h4 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
        letter-spacing: 0.8px !important;
        line-height: 1.1 !important;
    }

    .zayyora-footer .footer-about {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin-top: 10px !important;
        margin-bottom: 14px !important;
    }

    .zayyora-footer .footer-col ul li {
        margin-bottom: 4px !important;
    }

    .zayyora-footer .footer-col ul li a {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .zayyora-footer .footer-contact-details li {
        gap: 8px !important;
        margin-bottom: 8px !important;
    }

    .zayyora-footer .footer-contact-details li i {
        font-size: 13px !important;
    }

    .zayyora-footer .footer-contact-details div {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .zayyora-footer .copyright {
        font-size: 11px !important;
        text-align: center;
        line-height: 1.3 !important;
    }

    .zayyora-footer .payment-icons {
        font-size: 16px !important;
        gap: 8px !important;
        justify-content: center;
    }

    .zayyora-footer .footer-bottom {
        padding: 14px 15px !important;
        gap: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .zayyora-footer .footer-heading-premium,
    .zayyora-footer .footer-col h4 {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .zayyora-footer .footer-about {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .zayyora-footer .footer-col ul li a {
        font-size: 11px !important;
        line-height: 1.15 !important;
    }

    .zayyora-footer .footer-contact-details div {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .zayyora-footer .footer-contact-details li {
        margin-bottom: 6px !important;
    }

    .zayyora-footer .footer-grid {
        gap: 14px !important;
    }
}