@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --bg: #090912;
    --panel: #151526;
    --line: rgba(255, 255, 255, .08);
    --text: #e9ecff;
    --muted: #aab0d6;
    --mild: #4da6ff;
    --medium: #ffd633;
    --strong: #ff4d4d;
    --glow-blue: 0 0 10px rgba(77, 166, 255, .8), 0 0 20px rgba(77, 166, 255, .35);
    --glow-yellow: 0 0 10px rgba(255, 214, 51, .85), 0 0 20px rgba(255, 214, 51, .35);
    --glow-red: 0 0 10px rgba(255, 77, 77, .85), 0 0 20px rgba(255, 77, 77, .35);
    --primary-grad: linear-gradient(90deg, #00ffe0, #7a00ff)
}

* {
    box-sizing: border-box
}

body,
.nox-root {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    background: radial-gradient(circle at 50% -80px, #16162a 0%, #0c0c18 40%, var(--bg) 100%);
    color: var(--text)
}

header {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1rem;
    background: rgba(12, 12, 24, .35);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line)
}

.hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line)
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.05) brightness(.9);
    pointer-events: none
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 400px at 50% -20%, rgba(0, 255, 224, .12), transparent 60%), linear-gradient(180deg, rgba(5, 8, 15, .25), rgba(5, 8, 15, .75));
    pointer-events: none
}

.logo-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: .4rem;
    text-align: center;
    padding: 24px;
    cursor: pointer
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--primary-grad);
    color: #081018;
    font-weight: 900;
    font-size: 2.1rem;
    box-shadow: 0 0 30px rgba(0, 255, 224, .45), 0 8px 40px rgba(0, 0, 0, .55)
}

.card .title {
    font-size: 1.4rem;
    letter-spacing: .3px;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 22px rgba(0, 255, 224, .25);
    color: #fff !important;
    float: left;
}

.hero .subtitle {
    opacity: .9;
    font-size: .95rem
}

.main-chooser {
    max-width: 1200px;
    margin: 18px auto 6px;
    padding: 0 16px
}

.main-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch
}

.main-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 15px 34px rgba(0, 0, 0, .45);
    cursor: pointer;
    transition: transform .25s, box-shadow .25s
}

.main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 255, 224, .18)
}

.main-card .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.08) contrast(1.02)
}

.main-card.dark .bg {
    background-image: url('https://images.unsplash.com/photo-1541643600914-78b084683601?q=80&w=1600&auto=format&fit=crop')
}

.main-card.light .bg {
    background-image: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=1600&auto=format&fit=crop')
}

.main-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 7, 15, .05) 0%, rgba(4, 7, 15, .55) 55%, rgba(4, 7, 15, .85) 100%), radial-gradient(600px 160px at 50% 0%, rgba(0, 255, 224, .18), transparent 70%)
}

.main-card .content {
    position: relative;
    padding: 16px 16px 18px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.main-card .name {
    font-weight: 800;
    font-size: 1.25rem
}

.main-card .cta {
    border: 0;
    border-radius: 999px;
    padding: .55rem .9rem;
    font-weight: 700;
    color: #081018;
    background: var(--primary-grad);
    box-shadow: 0 0 16px rgba(0, 255, 224, .42)
}

.category-bar {
    position: sticky;
    top: 54px;
    z-index: 55;
    display: none;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: .5rem .75rem;
    background: rgba(10, 14, 24, .7);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line)
}

.category-bar.show {
    display: flex
}

.crumb {
    font-size: .92rem;
    color: #cfe3ff
}

.back-btn {
    border: 1px solid var(--line);
    background: #141a2b;
    color: #e9ecff;
    border-radius: 999px;
    padding: .45rem .8rem;
    cursor: pointer
}

.back-btn:hover {
    background: #0f1423
}

.brand-bar {
    max-width: 1200px;
    margin: 10px auto 6px;
    padding: 0 16px;
    display: none
}

.brand-bar.show {
    display: block
}

.brand-pills {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #141a2b;
    color: #e9ecff;
    cursor: pointer;
    transition: .2s
}

.brand-pill .count {
    opacity: .8;
    font-size: .8rem
}

.brand-pill.active {
    background: #0fe;
    color: #061018;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(0, 255, 238, .45)
}

.applied {
    display: none;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin: 10px auto 16px;
    max-width: 1200px;
    padding: 0 16px
}

.applied.show {
    display: flex
}

.applied .label {
    color: #9fb1ff;
    font-size: .85rem
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #1b2336;
    font-size: .8rem
}

.chip .x {
    cursor: pointer;
    opacity: .9
}

.clear {
    margin-left: .25rem;
    background: transparent;
    border: 1px solid var(--line);
    color: #cfd4ff;
    border-radius: 10px;
    padding: .35rem .6rem;
    cursor: pointer
}

.clear:hover {
    background: #0f1423
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 22px
}

.cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 8px
}

.card {
    background: linear-gradient(180deg, rgba(27, 27, 46, .9), rgba(17, 17, 32, .9));
    border-radius: 18px;
    padding: 1.25rem;
    position: relative;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    transition: transform .25s ease, box-shadow .25s ease
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 255, 224, .16), 0 0 40px rgba(122, 0, 255, .14)
}

.title {
    font-weight: 700;
    margin: .25rem 0 .35rem
}

.brandline {
    color: #aab0d6;
    font-size: .92rem;
    margin-bottom: .6rem
}

.desc {
    color: #cfd3ff;
    opacity: .8;
    font-size: .92rem;
    margin-bottom: .9rem
}

.strength {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .6rem 0 .25rem
}

.strength .label {
    font-size: .8rem;
    color: #c4c8ef;
    opacity: .85
}

.strength-bar {
    flex: 1;
    display: flex;
    gap: 6px
}

.sb-seg {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #31324a;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .8)
}

.strength-bar.mild .sb-seg.active {
    background: var(--mild);
    box-shadow: var(--glow-blue)
}

.strength-bar.medium .sb-seg.active {
    background: var(--medium);
    box-shadow: var(--glow-yellow)
}

.strength-bar.strong .sb-seg.active {
    background: var(--strong);
    box-shadow: var(--glow-red)
}

/* .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .55rem;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: .3rem;
    background: #2F3047;
    color: #fff;
} */

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .55rem;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.badge i {
    font-size: 2.1em;
}

/* Hot (🔥 red) */
.badge.hot {
    color: #ff4d4d;
}

/* Freeze (❄️ icy blue) */
.badge.cold {
    color: #00cfff;
}

/* Featured (⭐ gold) */
.badge.featured {
    color: #ffd633;
}

/* Most Ordered (👑 royal purple) */
.badge.most_ordered {
    color: #9b59b6;
}

/* .badge.hot {
    background: #2F3047;
    color: #fff;
}

.badge.cold {
    background: #2F3047;
    color: #fff;
}

.badge.sweet {
    background: #2F3047;
    color: #000;
}

.badge.floral {
    background: #2F3047;
    color: #000;
} */

.tags {
    margin: .9rem 0 .6rem
}

.tag {
    display: inline-block;
    margin: .2rem;
    padding: .3rem .7rem;
    border-radius: 12px;
    font-size: .75rem;
    background: #222;
    color: #eee;
    transition: .25s
}

.tag:hover {
    background: #fff;
    box-shadow: 0 0 12px rgba(0, 255, 224, .7);
    color: #111;
}

.actions {
    margin-top: .8rem
}

.btn {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: .7rem .9rem;
    font-weight: 700;
    color: #0b101d;
    background: var(--primary-grad);
    cursor: pointer;
    box-shadow: 0 0 18px rgba(0, 255, 224, .45);
    transition: .25s
}

.btn i {
    font-size: 1.3em;
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 255, 224, .8)
}

.fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1rem;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #17182A;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .4), 0 0 18px rgba(0, 255, 224, .45)
}

.fab i {
    font-size: 1.7em;
}

.fab .badge-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 800;
    color: #fff;
    background: #ff4d4d;
    box-shadow: 0 0 12px rgba(255, 77, 77, .7)
}

.fab .badge-count[hidden] {
    display: none
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 16, .55);
    backdrop-filter: blur(3px);
    display: none;
    /* hidden by default */
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    z-index: 80;
}

.overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* kill Bootstrap's positioning on your custom modal */
.overlay .modal {
    position: static !important;
    /* or relative */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: auto;
    /* keep your centering fallback */
}

/* make sure the overlay is above Bootstrap backdrops */
.overlay {
    z-index: 1200;
}

/* rename to .nox-modal */
.nox-modal {
    margin: auto;
    width: min(94vw, 600px);
    background: linear-gradient(180deg, #111627, #0b0f1d);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(-20px);
    /* opacity: 0; */
    transition: opacity .25s ease, transform .25s ease;
    max-height: 84vh;
    /* usability */
}

.overlay.show .nox-modal {
    transform: translateY(0);
    opacity: 1;
}

.overlay {
    z-index: 1200;
}

/* > Bootstrap's 1050/1055 */

.modal {
    margin: auto;
    width: min(94vw, 600px);
    max-height: 84vh;
    background: linear-gradient(180deg, #111627, #0b0f1d);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(-20px);
    /* opacity: 0; */
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.overlay.show .modal {
    transform: translateY(0);
    opacity: 1;
}

.modal .body {
    overflow-y: auto;
    /* scroll inner content if needed */
    flex: 1;
    /* expand to fill available space */
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line)
}

.title {
    font-weight: 700
}

.x {
    background: #151b2d;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .35rem .55rem;
    color: #cdd4ff;
    cursor: pointer
}

.tabs {
    display: flex;
    gap: .5rem;
    padding: 10px 12px;
    flex-wrap: wrap
}

.tab {
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #171d30;
    color: #cfd4ff;
    border: 1px solid var(--line);
    cursor: pointer
}

.tab.active {
    background: #0f1423
}

.body {
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: .7rem
}

.search {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem .8rem;
    border-radius: 12px;
    background: #0e1322;
    color: #cfd4ff;
    border: 1px solid var(--line)
}

.search input {
    all: unset;
    flex: 1
}

.list {
    overflow: auto;
    padding-right: .5rem;
    height: 52vh
}

.group {
    margin: 1rem 0 .25rem;
    color: #8fa2ff;
    font-weight: 700;
    font-size: .85rem
}

.chip-sel {
    display: inline-block;
    margin: .25rem .35rem .25rem 0;
    padding: .38rem .78rem;
    border-radius: 999px;
    border: 1px solid #3a4566;
    background: #1b2336;
    color: #e9ecff;
    cursor: pointer;
    transition: .2s
}

.chip-sel.active {
    background: #0fe;
    color: #061018;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(0, 255, 238, .5)
}

.foot {
    padding: 10px 12px;
    background: #0e1322;
    border-top: 1px solid var(--line);
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    flex-wrap: wrap
}

.btn-sec {
    background: transparent;
    border: 1px solid var(--line);
    color: #cfd4ff;
    border-radius: 12px;
    padding: .45rem .9rem;
    cursor: pointer
}

.btn-sec i {
 font-size: 1.5em;
}

.btn-pri {
    padding: .55rem 1rem;
    border-radius: 12px;
    border: 0;
    font-weight: 700;
    color: #091016;
    background: #e9ecff;
    cursor: pointer
}

.btn-pri i {
    font-size: 1.5em;
}


/* NEW CARDS */

/* --- 3-up tiles --- */
.hookah-chooser {
    background: transparent;
}

/* The tile itself uses a CSS background image */
.hookah-tile {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    /* nice square tiles; change if you prefer */
    background-color: transparent;
    /* keep transparent background */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* keep full image without cropping */
    border: none;
    border-radius: 16px;
    overflow: hidden;
    outline: none;
    transition: transform .3s ease, filter .3s ease;
    cursor: pointer;
}

/* subtle zoom + shadow on hover/focus */
.hookah-tile:hover,
.hookah-tile:focus-visible {
    transform: scale(1.03);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35));
}

/* Overlay label */
.hookah-tile .overlay {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    font-weight: 600;
    letter-spacing: .2px;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.hookah-tile:hover .overlay,
.hookah-tile:focus-visible .overlay {
    opacity: 1;
}

/* --- Set your images here (same image for all three or different per tile) --- */
/* Example paths; change to your actual asset paths */
.hookah-1 {
    background-image: url("/assets/hookah-menu/img/yellow-tabacco.png");
}

.hookah-2 {
    background-image: url("/assets/hookah-menu/img/red-tabacco.png");
}

.hookah-3 {
    background-image: url("/assets/hookah-menu/img/dark-tabacco.png");
}

/* Base: 1-up on very small screens */

/* ≥ 480px: 2-up */
@media (min-width: 480px) {
    .cards {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ≥ 768px: 3-up */
@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ≥ 1200px: 4-up (optional) */
@media (min-width: 1200px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Make cards comfy on small screens */
.card {
    padding: 1rem;
}

/* Tighten typography on tiny screens; scale up smoothly */
.title {
    font-size: clamp(1rem, 2vw + .6rem, 1.15rem);
}

.desc {
    font-size: clamp(.9rem, 1.2vw + .6rem, .95rem);
}

/* Prevent tag wrap from exploding layout */
.tag {
    white-space: nowrap;
}

.tags {
    overflow-x: auto;
    padding-bottom: .25rem;
}

/* Disable hover lift on touch devices (prevents jumpiness) */
@media (hover: none) {
    .card:hover {
        transform: none;
        box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    }
}

/* Respect reduced motion settings */
@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none;
    }
}

/* LANGUAGES */

.lang-select-wrap {
    position: relative;
    display: inline-block;
}

/* Base style */
.lang-select {
    appearance: none;
    /* remove native arrow */
    background: #141a2b;
    /* dark panel */
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px 34px 6px 12px;
    /* space for custom arrow */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Add a custom arrow */
.lang-select-wrap::after {
    content: "▾";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--muted);
    font-size: 0.8rem;
}

/* Hover + focus states */
.lang-select:hover {
    border-color: var(--mild);
    box-shadow: var(--glow-blue);
}

.lang-select:focus {
    outline: none;
    border-color: var(--medium);
    box-shadow: var(--glow-yellow);
}

/* Options */
.lang-select option {
    background: #0f1423;
    color: var(--text);
    padding: 6px 8px;
}

/* If you want different images, just point each class to a different file */

/* ================================
   RESPONSIVE (desktop preserved)
   Replace everything from here down
   ================================ */

/* ---- Responsive grids (do NOT change desktop base) ----
   Your base already is:
   .cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
   .main-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
   We only override on smaller screens.
*/

/* Phones ≤ 479px */
@media (max-width: 479px) {
    .cards {
        grid-template-columns: 1fr;
    }

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

/* Small tablets 480–767px */
@media (min-width: 480px) and (max-width: 767px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Tablets / small laptops 768–1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }

    /* .main-grid keeps auto-fit at this size (looks good) */
}

/* Desktops ≥ 1200px (optional – keep your auto-fit OR force 4-up) */
@media (min-width: 1200px) {
    /* Uncomment if you want a strict 4-up:
     .cards { grid-template-columns: repeat(4, 1fr); }
  */
}

/* ================================
   MOBILE OVERRIDES — phones/tablets only
   (Everything here is scoped to max-width so desktop stays unchanged)
   ================================ */
@media (max-width: 640px) {

    /* Tight paddings / tap targets */
    :root {
        --container-pad: 14px;
    }

    body,
    .nox-root {
        padding: 0;
    }

    /* Header */
    header {
        padding: .5rem var(--container-pad);
        backdrop-filter: blur(10px);
    }

    /* Hero */
    .hero {
        min-height: 200px;
    }

    .hero video {
        filter: contrast(1.02) saturate(1.03) brightness(.92);
    }

    .logo-wrap {
        padding: 16px;
    }

    .logo-circle {
        width: 88px;
        height: 88px;
        font-size: 1.6rem;
    }

    .hero .subtitle {
        font-size: .9rem;
        line-height: 1.3;
        padding: 0 8px;
    }

    /* Category bar: horizontal scroll */
    .category-bar {
        gap: .5rem;
        padding: .5rem var(--container-pad);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .category-bar::-webkit-scrollbar {
        display: none;
    }

    .back-btn {
        padding: .45rem .75rem;
    }

    /* Brand pills: wrap + scroll */
    .brand-bar {
        padding: 0 var(--container-pad);
    }

    .brand-pills {
        gap: .4rem;
        overflow-x: auto;
        padding-bottom: .25rem;
    }

    .brand-pills::-webkit-scrollbar {
        display: none;
    }

    .brand-pill {
        padding: .4rem .65rem;
    }

    /* Applied filters */
    .applied {
        gap: .4rem;
        padding: 0 var(--container-pad);
    }

    /* Page gutters */
    .main-chooser {
        padding: 0 var(--container-pad);
    }

    .wrap {
        padding: 0 var(--container-pad) 18px;
    }

    /* Cards: comfy on phones */
    .cards {
        gap: 1rem;
    }

    .card {
        padding: .95rem;
        border-radius: 14px;
    }

    .card .title {
        font-size: clamp(1rem, 2.8vw + .6rem, 1.1rem);
    }

    .brandline,
    .desc {
        font-size: .9rem;
    }

    /* Strength bar */
    .strength {
        gap: .6rem;
    }

    .sb-seg {
        height: 7px;
    }

    /* Tags: horizontal scroll */
    .tags {
        margin: .65rem 0 .4rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .15rem;
    }

    .tag {
        margin: .15rem .3rem .15rem 0;
        white-space: nowrap;
    }

    /* Main tiles */
    .main-card {
        min-height: 180px;
        border-radius: 14px;
    }

    .main-card .content {
        padding: 12px;
    }

    .main-card .name {
        font-size: 1.05rem;
    }

    .main-card .cta {
        padding: .5rem .8rem;
        font-size: .9rem;
    }

    /* FAB: avoid iOS home bar */
    .fab {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        padding: .6rem .9rem;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 14px rgba(0, 255, 224, .35);
    }

    .fab .badge-count {
        min-width: 20px;
        height: 20px;
        font-size: .72rem;
    }

    /* Modal as bottom sheet */
    .overlay {
        align-items: flex-end;
    }

    .modal,
    .nox-modal {
        width: 100vw;
        max-height: 86vh;
        border-radius: 18px 18px 0 0;
        transform: translateY(12px);
    }

    .overlay.show .modal,
    .overlay.show .nox-modal {
        transform: translateY(0);
    }

    .top {
        padding: 12px 14px;
    }

    .tabs {
        padding: 10px 14px;
        gap: .4rem;
    }

    .body {
        padding: 0 14px 14px;
    }

    .list {
        height: 52vh;
    }

    .btn-sec,
    .btn-pri {
        padding: .5rem .9rem;
    }

    /* Search field */
    .search {
        padding: .65rem .85rem;
    }

    .search input {
        font-size: .95rem;
    }

    /* Hookah chooser tiles */
    .hookah-chooser {
        padding: 0;
    }

    .hookah-tile {
        aspect-ratio: 1/1;
        border-radius: 14px;
    }

    .hookah-tile .overlay {
        bottom: 10px;
        padding: 6px 10px;
        font-size: .85rem;
    }

    /* Sticky bars stacking on mobile */
    header {
        z-index: 60;
    }

    .category-bar {
        top: 54px;
        z-index: 55;
    }
}

/* Tablets up to 768px get the 2-up override (already set above) */
@media (max-width: 768px) {
    /* (grid rules handled above) */
}

/* Touch devices: disable hover jumps */
@media (hover: none) {

    .card:hover,
    .hookah-tile:hover,
    .main-card:hover {
        transform: none;
        filter: none;
        box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    }
}

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

    .main-card,
    .card,
    .modal,
    .nox-modal,
    .hookah-tile {
        transition: none !important;
    }
}

/* Safe-area padding for iOS (ok globally) */
body {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Base: keep nav hidden by default */
.mnav {
    display: none;
}

/* Phones-only bottom nav */
@media (max-width: 640px) {
    .mnav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 85;
        /* above content, below overlays (your overlay is 1200) */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(10, 14, 24, .85);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
    }

    .mnav-btn {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: #141a2b;
        color: var(--text);
        font-weight: 700;
        cursor: pointer;
    }

    .mnav-btn[disabled],
    .mnav-btn[aria-disabled="true"] {
        opacity: .55;
        cursor: default;
    }

    .mnav-icn {
        font-size: 1.1rem;
        line-height: 1;
    }

    .mnav-lbl {
        font-size: .9rem;
    }

    .mnav-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 999px;
        display: inline-grid;
        place-items: center;
        font-size: .72rem;
        font-weight: 800;
        color: #fff;
        background: #ff4d4d;
        box-shadow: 0 0 12px rgba(255, 77, 77, .7);
    }

    /* Hide the floating FAB on phones (the nav has the filter button) */
    .fab {
        display: none;
    }

    .category-bar {
        display: none !important;
    }

}

/* Phones: stack header content */
@media (max-width: 640px) {
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: .5rem;
    }

    header strong {
        font-size: 1rem;
    }

    /* Make language selector smaller */
    .lang-select-wrap {
        margin-left: auto;
    }

    /* Hide dividers | on mobile */
    header .opacity-75 {
        display: none;
    }

}

/* Burger button */
.burger {
    font-size: 1.6rem;
    line-height: 1;
    background: transparent;
    border: 0;
    color: var(--text);
    padding: .25rem .5rem;
    border-radius: 10px;
}

.burger:active {
    transform: translateY(1px);
}

/* Desktop: topnav inline */
.topnav {
    display: flex;
    align-items: center;
    gap: .75rem;
}

/* Mobile: dropdown panel */
@media (max-width: 991.98px) {
    .topnav {
        display: none;
        /* hidden by default */
        position: absolute;
        top: 100%;
        right: 12px;
        margin-top: 8px;
        flex-direction: column;
        gap: .5rem;
        padding: .75rem;
        background: #141a2b;
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
        z-index: 100;
        /* above header */
        min-width: 220px;
    }

    .topnav.open {
        display: flex;
    }

    /* Hide the pipes on mobile; burger is visible via d-lg-none */
    .pipe {
        display: none !important;
    }
}

.card .price {
    float: left;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: .3px;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 22px rgba(0, 255, 224, .25);
    color: #fff !important;
}

.title-text {
    float: left;
    padding-right: 7px;
}

/* ELECTRIC BORDER */

.electric-border {
    --electric-light-color: oklch(from var(--electric-border-color) l c h);
    --eb-border-width: 2px;
    position: relative;
    border-radius: inherit;
    overflow: visible;
    isolation: isolate;
}

.eb-svg {
    position: fixed;
    left: -10000px;
    top: -10000px;
    width: 10px;
    height: 10px;
    opacity: 0.001;
    pointer-events: none;
}

.eb-content {
    position: relative;
    border-radius: inherit;
    z-index: 1;
}

.eb-layers {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

.eb-stroke,
.eb-glow-1,
.eb-glow-2,
.eb-overlay-1,
.eb-overlay-2,
.eb-background-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-sizing: border-box;
}

.eb-stroke {
    border: var(--eb-border-width) solid var(--electric-border-color);
}

.eb-glow-1 {
    border: var(--eb-border-width) solid oklch(from var(--electric-border-color) l c h / 0.6);
    opacity: 0.5;
    filter: blur(calc(0.5px + (var(--eb-border-width) * 0.25)));
}

.eb-glow-2 {
    border: var(--eb-border-width) solid var(--electric-light-color);
    opacity: 0.5;
    filter: blur(calc(2px + (var(--eb-border-width) * 0.5)));
}

.eb-background-glow {
    z-index: -1;
    transform: scale(1.08);
    filter: blur(32px);
    opacity: 0.3;
    background: linear-gradient(-30deg, var(--electric-light-color), transparent, var(--electric-border-color));
}

.nox-h3 h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;

    /* Neon glow effect */
    text-shadow:
            0 0 10px #ff00ff,
            0 0 20px #ff00ff,
            0 0 40px #00ffff,
            0 0 80px #00ffff;
    transform: scale(1.02);

    /* Smooth fade-in animation */
    animation: fadeInGlow 1.2s ease-out forwards;
    margin-bottom: 1rem;
}

/* Optional glowing animation pulse */
@keyframes fadeInGlow {
    0% {
        opacity: 0;
        text-shadow: none;
    }

    100% {
        opacity: 1;
    }
}

/* The body of the modal should never exceed viewport */
.nox-modal-body-scroll {
    /* keep some space for header/footer; adjust if your header/footer is taller */
    max-height: calc(100vh - 180px);
    overflow: auto;
    /* ensure scrollbars appear when needed */
    padding-top: 0.5rem;
}

/* Keep the tab bar visible while scrolling the grid */
.nox-sticky-tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-top: 0.25rem;
    background: inherit;
    /* keeps the same gradient/card bg if any */
}

/* Optional: nicer scroll feeling on iOS */
.nox-modal-body-scroll {
    -webkit-overflow-scrolling: touch;
}