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

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

/* ─── Horizontal-scroll guard ───────────────────────
   overflow-x: hidden on <html> creates a new stacking
   context that swallows dropdowns behind page sections.
   Use overflow-x: clip on html (no stacking context) and
   restrict only body width instead.                    */
html {
    overflow-x: clip;
}
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

:root {
    --gold: #9B8459;
    --gold-light: #c4a96b;
    --gold-pale: #e8d9b8;
    --cream: #FEF9F3;
    --cream-dark: #f5edd9;
    --dark: #1a1612;
    --header-h: 90px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Header Shell ──────────────────────────────── */
header {
    width: 100%;
    max-width: 100%;
    background-color: var(--cream);
    height: var(--header-h);
    border-bottom: 1px solid rgba(155, 132, 89, 0.35);
    position: sticky;
    top: 0;
    z-index: 12000;
    overflow: visible;         /* allow dropdown to paint outside header box   */
    box-shadow: 0 2px 20px rgba(155, 132, 89, 0.08);
    transition: box-shadow var(--transition);
    isolation: isolate;        /* explicit stacking context on the header      */
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(155, 132, 89, 0.15);
}

header .container {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

header .container > .row,
header .container > .row > [class*="col-"] {
    overflow: visible !important;
}

/* ─── Logo ──────────────────────────────────────── */
.rivanta-logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    flex-shrink: 0;                          /* ✅ FIX 5: Prevent logo squish */
}

.rivanta-logo img {
    height: 72px;
    width: auto;
    object-fit: contain;
    margin-top: 0 !important;
    transition: transform var(--transition), opacity var(--transition);
}

.rivanta-logo img:hover {
    transform: scale(1.04);
    opacity: 0.88;
}

/* ─── Nav Links ─────────────────────────────────── */
a {
    text-decoration: none;
}

.menu {
    height: 100%;
}

.menu li a {
    color: var(--gold);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 3px;
    transition: color var(--transition);
    white-space: nowrap;                     /* ✅ FIX 6: Prevent nav text wrapping */
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width var(--transition);
}

.menu li a:hover {
    color: var(--gold-light);
}

.menu li a:hover::after {
    width: 100%;
}

/* ─── Icon Row ──────────────────────────────────── */
.icon-row {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 4px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;                          /* ✅ FIX 7: Prevent icon row squish */
}

.icon-row li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.icon-row li a i {
    color: var(--gold);
    font-size: 18px;
    transition: color var(--transition);
}

.icon-row li a:hover {
    border-color: rgba(155, 132, 89, 0.3);
    background: rgba(155, 132, 89, 0.07);
    transform: translateY(-1px);
}

.icon-row li a:hover i {
    color: var(--gold-light);
}

/* ─── Hamburger Button ──────────────────────────── */
.menu-btn {
    border: 1px solid rgba(155, 132, 89, 0.4);
    background-color: transparent;
    color: var(--gold);
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;                          /* ✅ FIX 8: Button stays square */
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.menu-btn:hover {
    background: rgba(155, 132, 89, 0.1);
    border-color: var(--gold);
    transform: scale(1.05);
}

/* ─── Mobile Dropdown ───────────────────────────── */
.dropdown {
    background: var(--cream);
    width: 220px;
    position: absolute;
    top: var(--header-h);
    right: 12px;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(155, 132, 89, 0.25);
    border-top: 2px solid var(--gold);
    box-shadow: 0 12px 35px rgba(155, 132, 89, 0.18);
    overflow: hidden;
    overflow-y: auto;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    z-index: 999;
}

.dropdownhide {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    border-color: transparent;
    box-shadow: none;
}

.dropdownshow {
    max-height: 90vh;
    opacity: 1;
    pointer-events: auto;
}

.menu1 {
    padding: 8px 0;
}

.menu1 li {
    border-bottom: 1px solid rgba(155, 132, 89, 0.1);
}

.menu1 li:last-child {
    border-bottom: none;
}

.menu1 li a {
    display: block;
    padding: 12px 24px;
    color: var(--gold);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.05em;
    text-align: left;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.menu1 li a:hover {
    background: rgba(155, 132, 89, 0.08);
    color: var(--gold-light);
    padding-left: 32px;
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 576px) {
    :root { --header-h: 70px; }

    .rivanta-logo img {
        height: 52px;
    }

    .dropdown {
        width: calc(100% - 24px);
        right: 12px;
        border-radius: 0 0 10px 10px;
    }

    .icon-row li a {
        width: 32px;
        height: 32px;
    }

    .icon-row li a i {
        font-size: 16px;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    :root { --header-h: 76px; }

    .rivanta-logo img {
        height: 58px;
    }

    .dropdown {
        width: 55%;
        right: 12px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    :root { --header-h: 82px; }

    .rivanta-logo img {
        height: 64px;
    }

    .dropdown {
        width: 40%;
        right: 16px;
    }
}

@media (min-width: 992px) {
    .rivanta-logo img {
        height: 72px;
    }
}

@media (min-width: 1200px) {
    .menu li a {
        font-size: 19px;
    }
}

@media (min-width:1400px){
    
}

/* ─── Desktop Products Mega-Drop ────────────────── */
.nav-products {
    position: relative;
    z-index: 2;
}

.nav-products-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-chevron {
    font-size: 11px;
    transition: transform var(--transition);
    margin-top: 1px;
}

.nav-products:hover .nav-chevron {
    transform: rotate(180deg);
}

.products-megadrop {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--cream);
    border: 1px solid rgba(155, 132, 89, 0.22);
    border-top: 2px solid var(--gold);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 40px rgba(155, 132, 89, 0.16);
    min-width: 185px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 2147483647;
}

/* Invisible bridge so hover doesn't drop */
.products-megadrop::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-products:hover .products-megadrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.products-megadrop li {
    border-bottom: 1px solid rgba(155, 132, 89, 0.09);
}

.products-megadrop li:last-child {
    border-bottom: none;
}

.products-megadrop li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    color: var(--gold) !important;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.products-megadrop li a i {
    font-size: 13px;
    color: var(--gold-light);
    transition: transform var(--transition);
}

.products-megadrop li a::after {
    display: none; /* remove the underline pseudo-element from .menu li a */
}

.products-megadrop li a:hover {
    background: rgba(155, 132, 89, 0.08);
    color: var(--gold-light) !important;
    padding-left: 30px;
}

.products-megadrop li a:hover i {
    transform: scale(1.2);
}

/* ─── Mobile Collections Sub-menu ───────────────── */
.mobile-products-item {
    border-bottom: 1px solid rgba(155, 132, 89, 0.1);
}

.mobile-products-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px !important;
    cursor: pointer;
    user-select: none;
}

.mobile-chevron {
    font-size: 11px;
    transition: transform var(--transition);
}

.mobile-chevron.open {
    transform: rotate(180deg);
}

.mobile-collections {
    max-height: 0;
    overflow: hidden;
    background: rgba(155, 132, 89, 0.04);
    border-top: 1px solid rgba(155, 132, 89, 0.08);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-collections.open {
    max-height: none;
}

.mobile-collections li {
    border-bottom: 1px solid rgba(155, 132, 89, 0.07);
}

.mobile-collections li:last-child {
    border-bottom: none;
}

.mobile-collections li a {
    display: block;
    padding: 10px 24px 10px 38px !important;
    color: var(--gold) !important;
    font-family: 'Jost', sans-serif;
    font-weight: 500 !important;
    font-size: 15px !important;
    letter-spacing: 0.03em;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.mobile-collections li a:hover {
    background: rgba(155, 132, 89, 0.1);
    color: var(--gold-light) !important;
    padding-left: 46px !important;
}
/* ─── Craft My Vision — Desktop (matches .menu li a style) ── */
.nav-craft-item {
    position: relative;
}

/* Base link — same font, size, color, underline trick as all .menu li a */
.nav-craft-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 3px;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--transition);
}

/* Underline pseudo — same as .menu li a::after */
.nav-craft-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width var(--transition);
}

.nav-craft-link:hover {
    color: var(--gold-light);
}

.nav-craft-link:hover::after {
    width: 100%;
}

/* Gem icon — subtle, slightly smaller */
.nav-craft-icon {
    font-size: 14px;
    opacity: 0.85;
    transition: opacity var(--transition), transform var(--transition);
}

.nav-craft-link:hover .nav-craft-icon {
    opacity: 1;
    transform: rotate(-12deg) scale(1.1);
}

@media (min-width: 1200px) {
    .nav-craft-link {
        font-size: 19px;
    }
    .nav-craft-icon {
        font-size: 15px;
    }
}

/* ─── Craft My Vision — Mobile (matches .menu1 li a style) ── */
.mobile-craft-item {
    border-bottom: 1px solid rgba(155, 132, 89, 0.1);
}

.mobile-craft-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--gold);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.05em;
    text-align: left;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.mobile-craft-item a:hover {
    background: rgba(155, 132, 89, 0.08);
    color: var(--gold-light);
    padding-left: 32px;
}

.mobile-craft-item a i {
    font-size: 15px;
    opacity: 0.85;
}

/* ─── Currency Selector — Header Chip ───────────── */
.currency-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px 5px 5px;
    border: 1.5px solid rgba(155, 132, 89, 0.38);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color var(--transition), background var(--transition),
                box-shadow var(--transition);
}

.currency-selector-btn:hover {
    border-color: var(--gold);
    background: rgba(155, 132, 89, 0.06);
    box-shadow: 0 2px 10px rgba(155, 132, 89, 0.13);
}

.currency-selector-btn .currency-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(155, 132, 89, 0.13);
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.currency-selector-btn .currency-code {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gold);
}

.currency-selector-btn .currency-chevron {
    font-size: 10px;
    color: var(--gold);
    opacity: 0.65;
    transition: transform var(--transition);
}

.currency-selector-btn .currency-chevron.open {
    transform: rotate(180deg);
}

@media (max-width: 576px) {
    .currency-selector-btn { padding: 4px 7px 4px 4px; }
    .currency-selector-btn .currency-flag { width: 22px; height: 22px; font-size: 8px; }
    .currency-selector-btn .currency-code { font-size: 11px; }
}

/* ─── Currency Selector — Mobile Dropdown ───────── */
.mobile-currency-item {
    border-bottom: 1px solid rgba(155, 132, 89, 0.1);
    display: flex;
    justify-content: center;
    padding: 10px 24px;
}

.mobile-currency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    border: 1.5px solid rgba(155, 132, 89, 0.38);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
    transition: border-color var(--transition), background var(--transition);
}

.mobile-currency-btn:hover {
    border-color: var(--gold);
    background: rgba(155, 132, 89, 0.06);
}

.mobile-currency-btn .currency-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(155, 132, 89, 0.13);
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}

/* ─── Currency Modal — Backdrop ─────────────────── */
.curr-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 22, 18, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 12600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.curr-backdrop--visible { opacity: 1; visibility: visible; }

/* ─── Currency Modal — Card ─────────────────────── */
.curr-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.95);
    z-index: 12601;
    width: min(480px, 94vw);
    max-height: 88vh;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.20),
                0 0 0 1px rgba(155, 132, 89, 0.10);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.35s ease;
}
.curr-modal--visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* ─── Modal Header ───────────────────────────────── */
.curr-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 18px;
    border-bottom: 1px solid #e8d9b8;
    flex-shrink: 0;
}
.curr-modal__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    letter-spacing: 0.01em;
}
.curr-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #e8d9b8;
    background: #FEF9F3;
    color: var(--gold);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition);
}
.curr-modal__close:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: rotate(90deg) scale(1.05);
}

/* ─── Active Currency Panel ──────────────────────── */
.curr-active {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: #FEF9F3;
    border-bottom: 1px solid #e8d9b8;
    flex-shrink: 0;
}
.curr-flag-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(155, 132, 89, 0.12);
    border: 1.5px solid #e8d9b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
    flex-shrink: 0;
}
.curr-active__name {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}
.curr-active__code {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: var(--gold);
    opacity: 0.75;
    margin-top: 2px;
    letter-spacing: 0.03em;
}

/* ─── List Label ─────────────────────────────────── */
.curr-list-label {
    padding: 14px 22px 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.20em;
    color: var(--gold);
    opacity: 0.65;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ─── Scrollable List ────────────────────────────── */
.curr-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 8px;
    scrollbar-width: thin;
    scrollbar-color: #e8d9b8 transparent;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.curr-list::-webkit-scrollbar { width: 5px; }
.curr-list::-webkit-scrollbar-thumb { background: #e8d9b8; border-radius: 10px; }

/* ─── Currency Item ──────────────────────────────── */
.curr-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background var(--transition), border-color var(--transition);
}
.curr-item:hover { background: #FEF9F3; border-color: #e8d9b8; }

.curr-item--selected { background: var(--gold) !important; border-color: var(--gold) !important; }
.curr-item--selected .curr-item__flag  { background: rgba(255,255,255,0.22) !important; color: #fff !important; border-color: rgba(255,255,255,0.28) !important; }
.curr-item--selected .curr-item__name  { color: #fff !important; }
.curr-item--selected .curr-item__desc  { color: rgba(255,255,255,0.78) !important; opacity: 1 !important; }
.curr-item--selected .curr-item__badge { background: rgba(255,255,255,0.18) !important; color: #fff !important; border-color: rgba(255,255,255,0.28) !important; }

.curr-item__flag {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(155,132,89,0.10);
    border: 1.5px solid #e8d9b8;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px; font-weight: 700;
    color: var(--gold); letter-spacing: 0.02em;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.curr-item__info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.curr-item__name { font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 600; color: var(--dark); line-height: 1.3; transition: color var(--transition); }
.curr-item__desc { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--gold); opacity: 0.65; transition: color var(--transition), opacity var(--transition); }
.curr-item__badge { padding: 3px 10px; border-radius: 20px; border: 1.5px solid #e8d9b8; background: #FEF9F3; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; flex-shrink: 0; transition: background var(--transition), color var(--transition), border-color var(--transition); }

/* ─── Modal Footer ───────────────────────────────── */
.curr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px 18px;
    border-top: 1px solid #e8d9b8;
    background: #FEF9F3;
    flex-shrink: 0;
}
.curr-footer__note {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; color: var(--gold); opacity: 0.8; margin: 0;
    display: flex; align-items: center; gap: 6px;
    flex: 1; line-height: 1.45;
}
.curr-footer__note i { font-size: 13px; flex-shrink: 0; opacity: 0.7; }
.curr-footer__btn {
    padding: 10px 26px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #fff; border: none; border-radius: 10px;
    font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 600;
    letter-spacing: 0.06em; cursor: pointer;
    box-shadow: 0 4px 14px rgba(155,132,89,0.35);
    white-space: nowrap; flex-shrink: 0;
    transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
}
.curr-footer__btn:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(155,132,89,0.45);
}

/* ─── Currency Modal Responsive ─────────────────── */
@media (max-width: 576px) {
    .curr-modal { width: 97vw; border-radius: 16px; max-height: 92vh; }
    .curr-modal__header { padding: 16px 16px 14px; }
    .curr-modal__title  { font-size: 19px; }
    .curr-active        { padding: 12px 16px; }
    .curr-list          { padding: 0 8px 8px; }
    .curr-list-label    { padding: 12px 16px 6px; }
    .curr-item          { padding: 10px 12px; gap: 10px; }
    .curr-item__name    { font-size: 14px; }
    .curr-footer        { padding: 12px 14px 16px; flex-wrap: wrap; }
    .curr-footer__note  { font-size: 11px; }
    .curr-footer__btn   { padding: 9px 20px; font-size: 13px; width: 100%; justify-content: center; display: flex; }
}
@media (min-width: 577px) and (max-width: 767px) {
    .curr-modal { width: 90vw; }
}