/* =====================================================================
   Harbour House — core storefront theme
   Tokens, header, location picker, search panel, drawer, mobile tab bar,
   cart bar, toasts, product card, rails, countdown, reveal animations, footer.
   Loaded on every storefront page.
   ===================================================================== */

:root {
    /* Palette "Ocean & Coral": deep-sea brand surfaces, coral for shopping actions,
       sunshine for deals, green for savings. --hh-red / --hh-teal keep their old
       names so existing rules pick up the new colours. */
    --hh-ocean: #0A4D68;
    --hh-ocean-700: #083D53;
    --hh-ocean-900: #052B3D;
    --hh-ocean-50: #EAF4F8;
    --hh-ocean-100: #D2E8F0;
    --hh-aqua: #13A3B4;

    --hh-red: #D7263D;
    /* Harbour red — primary call to action */
    --hh-red-600: #BC1C31;
    --hh-red-50: #FFF0F1;
    --hh-red-100: #FFDDE1;
    --hh-amber: #F9AB01;
    /* logo gold */
    --hh-amber-600: #D98F00;
    --hh-amber-50: #FFF5DD;
    --hh-green: #11915A;
    --hh-green-50: #E6F6EE;
    --hh-teal: #0A4D68;
    --hh-teal-50: #EAF4F8;
    --hh-danger: #D92D20;
    --hh-ink: #0E2233;
    --hh-navy: #0E2233;
    /* used by auth.js inline styles */
    --hh-text: #3A4B59;
    --hh-muted: #687987;
    --hh-faint: #A1AFBA;
    --hh-line: #E3EBF0;
    --hh-bg: #F3F7F9;
    --hh-white: #FFFFFF;

    --hh-grad-ocean: linear-gradient(135deg, #0C5C7B 0%, #0A4D68 45%, #052B3D 100%);
    --hh-grad-coral: var(--hh-red);
    --hh-glow-coral: 0 12px 26px -10px rgba(215, 38, 61, .6);
    --hh-glow-ocean: 0 14px 30px -12px rgba(10, 77, 104, .55);

    --hh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --hh-head: "Poppins", "Inter", system-ui, sans-serif;

    --hh-r-sm: 8px;
    --hh-r: 12px;
    --hh-r-lg: 18px;
    --hh-r-xl: 24px;
    --hh-shadow-xs: 0 1px 3px rgba(14, 34, 51, .06);
    --hh-shadow-sm: 0 4px 14px rgba(14, 34, 51, .07);
    --hh-shadow: 0 16px 36px -12px rgba(14, 34, 51, .2);
    --hh-shadow-lg: 0 28px 64px -18px rgba(14, 34, 51, .32);

    --hh-ease: cubic-bezier(.22, 1, .36, 1);
    --hh-spring: cubic-bezier(.34, 1.56, .64, 1);

    --hh-container: 1320px;
    --hh-gutter: clamp(16px, 3vw, 28px);
}

/* ---------- Base (full reset only on pages that opt in with .hh-body) ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

html:has(.hh-body) {
    overflow-x: clip;
}

[hidden] {
    display: none !important;
}

.hh-body main {
    overflow-x: clip;
}

.hh-body {
    margin: 0;
    font-family: var(--hh-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--hh-text);
    background: var(--hh-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

:where(.hh-body) *,
:where(.hh-body) *::before,
:where(.hh-body) *::after {
    box-sizing: border-box;
}

:where(.hh-body) img {
    max-width: 100%;
    display: block;
}

:where(.hh-body) a {
    color: inherit;
    text-decoration: none;
}

:where(.hh-body) :where(h1, h2, h3, h4) {
    margin: 0;
    font-family: var(--hh-head);
    font-weight: 700;
    color: var(--hh-ink);
    line-height: 1.2;
}

:where(.hh-body) p {
    margin: 0;
}

:where(.hh-body) :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.hh-body) button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* Component-level reset so shared pieces look identical on Bootstrap pages */
.hh-header,
.hh-topbar,
.hh-footer,
.hh-drawer,
.hh-search,
.hh-card,
.hh-toasts,
.hh-tabbar,
.hh-cartbar,
.hh-loc,
.hh-preloader {
    font-family: var(--hh-font);
    -webkit-font-smoothing: antialiased;
}

:where(.hh-header, .hh-topbar, .hh-footer, .hh-drawer, .hh-search, .hh-card, .hh-toasts, .hh-tabbar, .hh-cartbar, .hh-loc) :where(*, *::before, *::after) {
    box-sizing: border-box;
}

:where(.hh-header, .hh-topbar, .hh-footer, .hh-drawer, .hh-search, .hh-card, .hh-tabbar, .hh-loc) :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.hh-header, .hh-footer, .hh-drawer, .hh-search, .hh-card, .hh-tabbar, .hh-cartbar, .hh-loc) a {
    text-decoration: none;
    color: inherit;
}

:where(.hh-header, .hh-footer, .hh-drawer, .hh-search, .hh-card, .hh-loc) :where(h1, h2, h3, h4, p) {
    margin: 0;
}

:where(.hh-header, .hh-footer, .hh-drawer, .hh-search, .hh-card, .hh-tabbar) img {
    max-width: 100%;
    display: block;
}

.hh-container {
    width: 100%;
    max-width: calc(var(--hh-container) + var(--hh-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--hh-gutter);
}

.hh-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hh-skip {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 10000;
    background: var(--hh-ink);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: var(--hh-r-sm);
    transition: top .3s var(--hh-ease);
}

.hh-skip:focus {
    top: 16px;
}

:where(.hh-body, .hh-header, .hh-footer, .hh-drawer, .hh-search, .hh-tabbar) :focus-visible {
    outline: 2px solid var(--hh-red);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ---------- Section heads ---------- */
.hh-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: clamp(20px, 2.6vw, 30px);
}

.hh-head__tools {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font: 600 13px/1 var(--hh-font);
    color: var(--hh-red);
}

.hh-title {
    font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--hh-head);
    color: var(--hh-ink);
    letter-spacing: -.01em;
}

.hh-title span {
    color: var(--hh-red);
}

.hh-sub {
    margin-top: 6px;
    font-size: 14px;
    color: var(--hh-muted);
}

.hh-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 14px var(--hh-font);
    color: var(--hh-red) !important;
    padding: 8px 4px;
}

.hh-viewall i {
    transition: transform .35s var(--hh-ease);
}

.hh-viewall:hover i {
    transform: translateX(4px);
}

/* ---------- Buttons ---------- */
.hh-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border: 1.5px solid transparent;
    border-radius: var(--hh-r);
    background: var(--hh-grad-coral);
    color: #fff !important;
    font: 600 15px/1 var(--hh-font);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background .25s, transform .25s var(--hh-ease), box-shadow .35s var(--hh-ease);
}

.hh-btn:hover {
    background: var(--hh-red-600);
    box-shadow: var(--hh-glow-coral);
    transform: translateY(-2px);
}

/* light sweep across buttons on hover */
.hh-btn::after,
.hh-cartbtn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .7s var(--hh-ease);
    pointer-events: none;
}

.hh-btn:hover::after,
.hh-cartbtn:hover::after {
    left: 130%;
}

.hh-btn--ocean {
    background: var(--hh-grad-ocean);
}

.hh-btn--ocean:hover {
    background: var(--hh-grad-ocean);
    box-shadow: var(--hh-glow-ocean);
}

.hh-btn:active {
    transform: translateY(0) scale(.97);
}

.hh-btn i {
    font-size: 18px;
    transition: transform .35s var(--hh-ease);
}

.hh-btn:hover i.ph-arrow-right,
.hh-btn:hover i.ph-caret-right {
    transform: translateX(3px);
}

.hh-btn--dark {
    background: var(--hh-ocean-900);
}

.hh-btn--dark:hover {
    background: #000;
    box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .45);
}

.hh-btn--white {
    background: #fff;
    color: var(--hh-ink) !important;
}

.hh-btn--white:hover {
    background: #fff;
    box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .35);
}

.hh-btn--outline {
    background: #fff;
    color: var(--hh-red) !important;
    border-color: var(--hh-red);
}

.hh-btn--outline:hover {
    background: var(--hh-red);
    color: #fff !important;
    box-shadow: var(--hh-glow-coral);
}

.hh-btn--sm {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 10px;
}

.hh-btn--lg {
    height: 54px;
    padding: 0 30px;
    font-size: 16px;
}

/* Ripple on press */
.hh-ripple {
    position: absolute;
    border-radius: 50%;
    background: currentColor;
    opacity: .25;
    transform: scale(0);
    pointer-events: none;
    animation: hh-ripple .6s var(--hh-ease) forwards;
}

@keyframes hh-ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.hh-round-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--hh-line);
    background: #fff;
    color: var(--hh-ink);
    display: inline-grid;
    place-items: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--hh-shadow-xs);
    transition: background .25s, color .25s, border-color .25s, transform .25s var(--hh-ease), opacity .25s;
}

.hh-round-btn:hover:not(:disabled) {
    background: var(--hh-red);
    border-color: var(--hh-red);
    color: #fff;
    transform: scale(1.06);
}

.hh-round-btn:disabled {
    opacity: .35;
    cursor: default;
    box-shadow: none;
}

.hh-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: none;
    font-size: 22px;
    color: var(--hh-ink);
    cursor: pointer;
    transition: background .2s;
}

.hh-icon-btn:hover {
    background: var(--hh-bg);
}

.hh-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font: 700 11px/1.2 var(--hh-font);
}

.hh-chip--off {
    background: var(--hh-green);
    color: #fff;
}

.hh-chip--warn {
    background: var(--hh-red-50);
    color: var(--hh-red);
}

.hh-chip--dark {
    background: var(--hh-ink);
    color: #fff;
}

.hh-chip--amber {
    background: var(--hh-amber);
    color: var(--hh-ink);
}

/* ---------- Preloader / page transition (every page) ---------- */
.hh-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    background: radial-gradient(120% 90% at 50% 40%, #FFFFFF 0%, #F1F7FA 60%, #E3EFF4 100%);
    transition: opacity .45s var(--hh-ease), visibility .45s;
}

.hh-preloader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hh-leaving .hh-preloader {
    transition-duration: .26s;
}

.hh-preloader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: transform .5s var(--hh-ease), opacity .4s;
}

.hh-preloader.is-done .hh-preloader__inner {
    transform: scale(1.08) translateY(-6px);
    opacity: 0;
}

.hh-preloader__ring {
    position: relative;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
}

.hh-preloader__ring svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: hh-spin 1.1s linear infinite;
}

.hh-preloader__ring circle {
    fill: none;
    stroke: var(--hh-red);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 90 200;
}

.hh-preloader__ring::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 4px solid var(--hh-ocean-100);
}

.hh-preloader__ring img {
    width: 64px;
    height: 64px;
    animation: hh-pre-pulse 1.1s var(--hh-ease) infinite alternate;
}

@keyframes hh-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hh-pre-pulse {
    from {
        transform: scale(.9);
    }

    to {
        transform: scale(1.03);
    }
}

.hh-preloader__brand {
    font: 700 18px var(--hh-head);
    color: #1C1F24;
    letter-spacing: .01em;
}

.hh-preloader__wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 16px;
}

.hh-preloader__wave i {
    width: 5px;
    height: 100%;
    border-radius: 3px;
    background: var(--hh-aqua);
    transform-origin: bottom;
    animation: hh-eq .9s ease-in-out infinite;
}

.hh-preloader__wave i:nth-child(2) {
    animation-delay: .12s;
    background: var(--hh-ocean);
}

.hh-preloader__wave i:nth-child(3) {
    animation-delay: .24s;
    background: var(--hh-red);
}

.hh-preloader__wave i:nth-child(4) {
    animation-delay: .36s;
    background: var(--hh-amber);
}

.hh-preloader__wave i:nth-child(5) {
    animation-delay: .48s;
}

@keyframes hh-eq {

    0%,
    100% {
        transform: scaleY(.3);
    }

    50% {
        transform: scaleY(1);
    }
}

/* While the loader is up, hold the first-screen entrance animations */
html.hh-js:not(.hh-ready) .hh-pagehead * {
    animation-play-state: paused;
}

/* ---------- Top strip ---------- */
.hh-topbar {
    background: var(--hh-ocean-900);
    color: #E3EEF3;
    font-size: 13px;
    position: relative;
    z-index: 1001;
}

.hh-topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 36px;
}

.hh-topbar__rotator {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.hh-topbar__msg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: transform .6s var(--hh-ease), opacity .6s var(--hh-ease);
}

.hh-topbar__msg.is-active {
    opacity: 1;
    transform: none;
}

.hh-topbar__msg.is-leaving {
    opacity: 0;
    transform: translateY(-100%);
}

.hh-topbar__msg i {
    color: var(--hh-amber);
    font-size: 15px;
}

.hh-topbar__msg strong {
    color: var(--hh-amber);
}

.hh-topbar__links {
    display: flex;
    gap: 20px;
    flex: none;
}

.hh-topbar__links a {
    color: #B9CFDA;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hh-topbar__links a:hover {
    color: #fff;
}

/* ---------- Header ---------- */
.hh-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: box-shadow .35s var(--hh-ease);
}

.hh-header.is-scrolled {
    box-shadow: 0 6px 24px -10px rgba(14, 34, 51, .22);
}

.hh-header__row {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    height: 76px;
    transition: height .35s var(--hh-ease);
}

.hh-header.is-scrolled .hh-header__row {
    height: 66px;
}

.hh-header__burger {
    display: none;
    margin-left: -8px;
}

.hh-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    color: #1C1F24;
}

.hh-brand img {
    width: 46px;
    height: 46px;
    transition: transform .6s var(--hh-ease);
}

.hh-brand:hover img {
    transform: rotate(-14deg) scale(1.05);
}

.hh-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.hh-brand__text strong {
    font: 700 20px/1 var(--hh-head);
    letter-spacing: -.01em;
}

.hh-brand__text small {
    margin-top: 4px;
    font: 600 10px/1 var(--hh-font);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hh-red);
}

.hh-locbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    max-width: 210px;
    padding: 6px 10px;
    border: 0;
    border-radius: var(--hh-r);
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
}

.hh-locbtn:hover {
    background: var(--hh-bg);
}

.hh-locbtn>i {
    font-size: 24px;
    color: var(--hh-red);
    animation: hh-pin 2.6s var(--hh-ease) infinite;
}

@keyframes hh-pin {

    0%,
    70%,
    100% {
        transform: none;
    }

    80% {
        transform: translateY(-5px);
    }

    90% {
        transform: translateY(0) scaleY(.9);
    }
}

.hh-locbtn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.hh-locbtn small {
    font-size: 12px;
    color: var(--hh-muted);
}

.hh-locbtn strong {
    display: flex;
    align-items: center;
    gap: 4px;
    font: 600 14px var(--hh-font);
    color: var(--hh-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hh-locbtn strong i {
    font-size: 12px;
    transition: transform .3s;
}

.hh-searchbar {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 16px;
    min-width: 0;
    border: 1.5px solid var(--hh-line);
    border-radius: var(--hh-r);
    background: var(--hh-bg);
    cursor: text;
    text-align: left;
    transition: border-color .25s, background .25s, box-shadow .25s;
}

.hh-searchbar:hover {
    border-color: var(--hh-ocean-100);
    background: #fff;
    box-shadow: var(--hh-shadow-sm);
}

.hh-searchbar>i {
    font-size: 20px;
    color: var(--hh-muted);
}

.hh-searchbar__ph {
    position: relative;
    flex: 1;
    height: 22px;
    overflow: hidden;
    font-size: 15px;
    color: var(--hh-muted);
}

.hh-searchbar__ph span {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    transition: transform .5s var(--hh-ease), opacity .5s;
}

.hh-searchbar__ph span.is-out {
    transform: translateY(-100%);
    opacity: 0;
}

.hh-searchbar__ph span.is-in {
    transform: translateY(100%);
    opacity: 0;
}

.hh-searchbar__ph b {
    color: var(--hh-ink);
    font-weight: 600;
}

.hh-searchbar kbd {
    font: 600 11px var(--hh-font);
    padding: 3px 7px;
    border: 1px solid var(--hh-line);
    border-radius: 6px;
    background: #fff;
    color: var(--hh-muted);
}

.hh-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: none;
}

.hh-act {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: var(--hh-r);
    color: var(--hh-ink);
    font: 500 12px/1 var(--hh-font);
    transition: background .2s, color .2s;
}

.hh-act:hover {
    background: var(--hh-bg);
    color: var(--hh-red);
}

.hh-act i {
    font-size: 24px;
    transition: transform .35s var(--hh-spring);
}

.hh-act:hover i {
    transform: translateY(-2px);
}

.hh-cartbtn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    margin-left: 6px;
    padding: 0 16px 0 14px;
    border-radius: var(--hh-r);
    background: var(--hh-grad-coral);
    color: #fff !important;
    transition: background .25s, box-shadow .3s, transform .25s var(--hh-ease);
}

.hh-cartbtn:hover {
    background: var(--hh-red-600);
    box-shadow: var(--hh-glow-coral);
    transform: translateY(-1px);
}

.hh-cartbtn>i {
    font-size: 22px;
}

.hh-cartbtn span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hh-cartbtn small {
    font-size: 11px;
    opacity: .85;
}

.hh-cartbtn strong {
    font: 700 14px var(--hh-font);
}

.hh-cartbtn.is-bump>i,
.hh-tabbar .is-bump i {
    animation: hh-shake .6s var(--hh-ease);
}

@keyframes hh-shake {
    20% {
        transform: rotate(-14deg) scale(1.15);
    }

    40% {
        transform: rotate(10deg) scale(1.15);
    }

    60% {
        transform: rotate(-6deg);
    }

    80% {
        transform: rotate(3deg);
    }
}

.hh-badge {
    position: absolute;
    top: 0;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 2px solid #fff;
    background: var(--hh-red);
    color: #fff;
    font: 700 10px/1 var(--hh-font);
    transition: transform .4s var(--hh-spring);
}

.hh-badge[data-empty] {
    transform: scale(0);
}

.hh-badge.is-bump {
    animation: hh-bump .6s var(--hh-spring);
}

@keyframes hh-bump {
    40% {
        transform: scale(1.5);
    }
}

/* auth.js logged-in dropdown */
.hh-actions #logged-in-header {
    margin-right: 4px;
}

.hh-actions .header-separator {
    display: none;
}

.hh-actions .header-user-name {
    font-family: var(--hh-font) !important;
    font-size: 13px !important;
}

/* ---------- Location popover ---------- */
.hh-loc {
    position: fixed;
    inset: 0;
    z-index: 2200;
    visibility: hidden;
    overflow: hidden;
}

.hh-loc.is-open {
    visibility: visible;
}

.hh-loc__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 34, 51, .45);
    opacity: 0;
    transition: opacity .35s;
}

.hh-loc.is-open .hh-loc__backdrop {
    opacity: 1;
}

.hh-loc__panel {
    position: absolute;
    left: 50%;
    top: 110px;
    width: min(440px, calc(100vw - 32px));
    padding: 24px;
    border-radius: var(--hh-r-lg);
    background: #fff;
    box-shadow: var(--hh-shadow-lg);
    transform: translate(-50%, -16px) scale(.97);
    opacity: 0;
    transition: transform .45s var(--hh-ease), opacity .35s;
}

.hh-loc.is-open .hh-loc__panel {
    transform: translate(-50%, 0);
    opacity: 1;
}

.hh-loc__panel h3 {
    font: 700 19px var(--hh-head) !important;
    color: var(--hh-ink);
    margin-bottom: 4px !important;
}

.hh-loc__panel p {
    color: var(--hh-muted);
    font-size: 14px;
}

.hh-loc__form {
    display: flex;
    gap: 8px;
    margin: 18px 0 10px;
}

.hh-loc__form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid var(--hh-line);
    border-radius: var(--hh-r);
    font: 600 16px var(--hh-font);
    letter-spacing: .12em;
    outline: none;
    transition: border-color .2s;
}

.hh-loc__form input:focus {
    border-color: var(--hh-red);
}

.hh-loc__msg {
    min-height: 22px;
    font-size: 14px;
    font-weight: 500;
}

.hh-loc__msg.is-ok {
    color: var(--hh-green);
}

.hh-loc__msg.is-bad {
    color: var(--hh-red);
}

.hh-loc__close {
    position: absolute;
    top: 14px;
    right: 14px;
}

/* ---------- Search panel ---------- */
.hh-search {
    position: fixed;
    inset: 0;
    z-index: 2100;
    visibility: hidden;
    overflow: hidden;
}

.hh-search.is-open {
    visibility: visible;
}

.hh-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 34, 51, .5);
    opacity: 0;
    transition: opacity .45s var(--hh-ease);
}

.hh-search.is-open .hh-search__backdrop {
    opacity: 1;
}

.hh-search__panel {
    position: relative;
    background: #fff;
    padding: 26px 0 34px;
    transform: translateY(-100%);
    transition: transform .6s var(--hh-ease);
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 0 0 var(--hh-r-xl) var(--hh-r-xl);
    box-shadow: var(--hh-shadow-lg);
}

.hh-search.is-open .hh-search__panel {
    transform: none;
}

.hh-search__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.hh-search__label {
    font: 600 13px var(--hh-font);
    color: var(--hh-red);
}

.hh-search__form {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid var(--hh-ink);
    padding-bottom: 12px;
    margin: 0;
}

.hh-search__form>i {
    font-size: 26px;
    color: var(--hh-muted);
}

.hh-search__form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: none;
    padding: 0;
    font: 600 clamp(22px, 3vw, 34px)/1.2 var(--hh-head);
    color: var(--hh-ink);
}

.hh-search__form input::placeholder {
    color: #C3C8CF;
    font-weight: 500;
}

.hh-search__form input::-webkit-search-cancel-button {
    display: none;
}

.hh-search__suggest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--hh-muted);
}

.hh-search__suggest a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    border: 1px solid var(--hh-line);
    border-radius: 999px;
    color: var(--hh-ink);
    font-weight: 500;
    transition: border-color .2s, background .2s, transform .25s var(--hh-ease);
}

.hh-search__suggest a img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.hh-search__suggest a:hover {
    border-color: var(--hh-red);
    background: var(--hh-red-50);
    transform: translateY(-2px);
}

.hh-search__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 22px;
    margin-top: 22px;
}

.hh-search__results:empty {
    display: none;
}

.hh-search__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--hh-r);
    color: var(--hh-ink);
    animation: hh-fade-up .5s var(--hh-ease) both;
    transition: background .2s;
}

.hh-search__item:nth-child(2) {
    animation-delay: .04s;
}

.hh-search__item:nth-child(3) {
    animation-delay: .08s;
}

.hh-search__item:nth-child(4) {
    animation-delay: .12s;
}

.hh-search__item:nth-child(5) {
    animation-delay: .16s;
}

.hh-search__item:nth-child(6) {
    animation-delay: .2s;
}

.hh-search__item:hover,
.hh-search__item.is-active {
    background: var(--hh-bg);
}

.hh-search__item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--hh-bg);
    flex: none;
}

.hh-search__item strong {
    display: block;
    font: 600 15px/1.3 var(--hh-font);
    text-transform: capitalize;
}

.hh-search__item small {
    font-size: 12px;
    color: var(--hh-muted);
}

.hh-search__item mark {
    background: var(--hh-amber-50);
    color: inherit;
    padding: 0 1px;
    border-radius: 3px;
}

.hh-search__price {
    margin-left: auto;
    font-weight: 700;
    white-space: nowrap;
}

.hh-search__price del {
    color: var(--hh-faint);
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}

.hh-search__empty,
.hh-search__all {
    grid-column: 1 / -1;
    padding: 14px 10px 0;
    color: var(--hh-muted);
}

.hh-search__all {
    color: var(--hh-red) !important;
    font-weight: 600;
}

@keyframes hh-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ---------- Mobile drawer ---------- */
.hh-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    overflow: hidden;
}

.hh-drawer.is-open {
    visibility: visible;
}

.hh-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 34, 51, .5);
    opacity: 0;
    transition: opacity .4s var(--hh-ease);
}

.hh-drawer.is-open .hh-drawer__backdrop {
    opacity: 1;
}

.hh-drawer__panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(360px, 88vw);
    background: #fff;
    padding: 16px 18px 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .5s var(--hh-ease);
}

.hh-drawer.is-open .hh-drawer__panel {
    transform: none;
}

.hh-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hh-drawer__label {
    font: 700 12px var(--hh-font);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hh-muted);
    margin: 18px 0 10px !important;
}

.hh-drawer__cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
}

.hh-drawer__cats a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hh-ink);
}

.hh-drawer__cats img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--hh-bg);
}

.hh-drawer__links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 10px;
    border-radius: var(--hh-r);
    font-weight: 600;
    color: var(--hh-ink);
    transition: background .2s;
}

.hh-drawer__links a:hover {
    background: var(--hh-bg);
}

.hh-drawer__links i {
    font-size: 20px;
    color: var(--hh-red);
}

.hh-drawer__links a::after {
    content: "\203A";
    margin-left: auto;
    color: var(--hh-faint);
    font-size: 20px;
}

.hh-drawer__panel>* {
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity .45s var(--hh-ease), transform .45s var(--hh-ease);
}

.hh-drawer.is-open .hh-drawer__panel>* {
    opacity: 1;
    transform: none;
}

.hh-drawer.is-open .hh-drawer__panel> :nth-child(2) {
    transition-delay: .05s;
}

.hh-drawer.is-open .hh-drawer__panel> :nth-child(3) {
    transition-delay: .1s;
}

.hh-drawer.is-open .hh-drawer__panel> :nth-child(n+4) {
    transition-delay: .15s;
}

/* ---------- Mobile tab bar + cart bar ---------- */
.hh-tabbar,
.hh-cartbar {
    display: none;
}

/* ---------- Toasts ---------- */
.hh-toasts {
    position: fixed;
    z-index: 3000;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    pointer-events: none;
}

.hh-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 340px;
    max-width: calc(100vw - 24px);
    padding: 12px 14px;
    border-radius: var(--hh-r);
    background: var(--hh-ink);
    color: #fff;
    box-shadow: var(--hh-shadow-lg);
    animation: hh-toast-in .5s var(--hh-spring);
}

.hh-toast.is-leaving {
    animation: hh-toast-out .35s var(--hh-ease) forwards;
}

@keyframes hh-toast-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.96);
    }
}

@keyframes hh-toast-out {
    to {
        opacity: 0;
        transform: translateY(14px);
    }
}

.hh-toast img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    flex: none;
}

.hh-toast__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    color: var(--hh-amber);
    font-size: 20px;
    flex: none;
}

.hh-toast__body {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.hh-toast__body strong {
    display: block;
    font-size: 14px;
}

.hh-toast__body small {
    color: #B4BAC3;
    font-size: 12.5px;
}

.hh-toast__cta {
    color: var(--hh-amber) !important;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

/* ---------- Back to top ---------- */
.hh-totop {
    position: fixed;
    z-index: 900;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--hh-red);
    font-size: 18px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--hh-shadow);
    opacity: 0;
    transform: translateY(16px) scale(.85);
    pointer-events: none;
    transition: opacity .4s var(--hh-ease), transform .4s var(--hh-ease);
}

.hh-totop svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.hh-totop circle {
    fill: none;
    stroke: var(--hh-red);
    stroke-width: 2.5;
    stroke-dasharray: 138;
    stroke-dashoffset: calc(138 - 138 * var(--progress, 0));
}

.hh-totop i {
    transition: transform .3s var(--hh-ease);
}

.hh-totop:hover i {
    transform: translateY(-3px);
}

.hh-totop.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* =====================================================================
   Product card — framed photo, glass tags, slide-up "View details",
   savings badge and a coral ADD ⇄ quantity stepper.
   ===================================================================== */
.hh-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--hh-line);
    border-radius: 20px;
    color: var(--hh-text);
    box-shadow: 0 1px 2px rgba(14, 34, 51, .04);
    transition: transform .55s var(--hh-ease), box-shadow .55s var(--hh-ease), border-color .4s;
}

.hh-card:hover {
    transform: translateY(-8px);
    border-color: var(--hh-ocean-100);
    box-shadow: 0 26px 44px -24px rgba(10, 77, 104, .38);
}

.hh-card__media {
    position: relative;
    aspect-ratio: 1 / .86;
    overflow: hidden;
    border-radius: 14px;
    isolation: isolate;
    background: radial-gradient(120% 90% at 50% 100%, #E3F0F5 0%, #F1F7FA 55%, #F7FAFC 100%);
}

.hh-card__media::before {
    /* shimmer while the photo loads */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .75) 50%, transparent 80%) #EAF2F6;
    background-size: 200% 100%;
    animation: hh-shimmer 1.3s linear infinite;
    transition: opacity .5s;
}

.hh-card__media.is-loaded::before {
    opacity: 0;
    animation: none;
}

html:not(.hh-js) .hh-card__media::before {
    display: none;
}

@keyframes hh-shimmer {
    from {
        background-position: 150% 0;
    }

    to {
        background-position: -50% 0;
    }
}

.hh-card__img {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 10%;
}

.hh-card__img::after {
    /* contact shadow under cut-out products */
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 9%;
    height: 12px;
    border-radius: 50%;
    background: rgba(10, 77, 104, .22);
    filter: blur(7px);
    z-index: -1;
    transition: transform .7s var(--hh-ease), opacity .7s;
}

.hh-card__img.is-photo {
    padding: 0;
}

.hh-card__img.is-photo::after {
    display: none;
}

.hh-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: 0;
    transform: scale(.94);
    filter: blur(6px);
    transition: opacity .6s var(--hh-ease), transform .9s var(--hh-ease), filter .6s var(--hh-ease);
}

.hh-card__img.is-photo img {
    object-fit: cover;
    mix-blend-mode: normal;
}

.hh-card__media.is-loaded .hh-card__img img,
html:not(.hh-js) .hh-card__img img {
    opacity: 1;
    transform: none;
    filter: none;
}

.hh-card:hover .hh-card__img img {
    transform: translateY(-4px) scale(1.07);
}

.hh-card:hover .hh-card__img.is-photo img {
    transform: scale(1.08);
}

.hh-card:hover .hh-card__img::after {
    transform: scaleX(.8);
    opacity: .6;
}

.hh-card__placeholder {
    font-size: 52px;
    color: var(--hh-faint);
}

/* Second photo on hover */
.hh-card__alt {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity .6s var(--hh-ease);
    pointer-events: none;
}

.hh-card__alt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 1s var(--hh-ease);
}

/* Tags */
.hh-card__tags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.hh-card__tags .hh-chip,
.hh-gallery__tags .hh-chip {
    gap: 4px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .02em;
    box-shadow: 0 6px 14px -8px rgba(14, 34, 51, .45);
}

.hh-card__tags .hh-chip i,
.hh-gallery__tags .hh-chip i {
    font-size: 12px;
}

.hh-card__tags .hh-chip--off,
.hh-gallery__tags .hh-chip--off {
    background: var(--hh-grad-coral);
    color: #fff;
}

.hh-card__tags .hh-chip--warn,
.hh-gallery__tags .hh-chip--warn {
    background: rgba(255, 255, 255, .92);
    color: var(--hh-red);
    backdrop-filter: blur(6px);
}

.hh-card__tags .hh-chip--amber,
.hh-gallery__tags .hh-chip--amber {
    background: var(--hh-amber);
    color: var(--hh-ink);
}

.hh-card__tags .hh-chip--dark,
.hh-gallery__tags .hh-chip--dark {
    background: rgba(5, 43, 61, .85);
    color: #fff;
    backdrop-filter: blur(6px);
}

.hh-card__tags .hh-chip--warn i,
.hh-gallery__tags .hh-chip--warn i {
    animation: hh-flicker 1.6s ease-in-out infinite;
}

@keyframes hh-flicker {
    50% {
        transform: scale(1.2) rotate(-6deg);
    }
}

/* Wishlist */
.hh-card__wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    color: var(--hh-ink);
    font-size: 18px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 16px -8px rgba(14, 34, 51, .4);
    transition: transform .4s var(--hh-spring), color .2s, background .2s;
}

.hh-card__wish:hover {
    transform: scale(1.14);
    color: var(--hh-red);
    background: #fff;
}

.hh-card__wish.is-active {
    color: var(--hh-red);
}

.hh-card__wish.is-pop i {
    animation: hh-heart .6s var(--hh-spring);
}

@keyframes hh-heart {
    35% {
        transform: scale(1.5);
    }
}

/* "View details" pill slides up from the photo */
.hh-card__quick {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
    background: rgba(5, 43, 61, .82);
    backdrop-filter: blur(8px);
    color: #fff !important;
    font: 600 12.5px var(--hh-font);
    opacity: 0;
    transform: translate(-50%, 140%);
    transition: transform .5s var(--hh-ease), opacity .4s var(--hh-ease), background .2s;
}

.hh-card__quick:hover {
    background: var(--hh-ocean);
}

/* Body */
.hh-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 6px 4px;
}

.hh-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 11px var(--hh-font);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--hh-red);
}

.hh-card__cat::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(19, 163, 180, .18);
}

.hh-card__title {
    margin: 4px 0 8px !important;
    font: 600 15.5px/1.35 var(--hh-head) !important;
    color: var(--hh-ink);
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hh-card__title a {
    color: inherit;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: color .25s, background-size .45s var(--hh-ease);
}

.hh-card__title a:hover {
    color: var(--hh-ocean);
    background-size: 100% 1.5px;
}

.hh-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px !important;
    font-size: 12px;
    color: var(--hh-muted);
}

.hh-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--hh-bg);
    font-weight: 500;
}

.hh-card__meta i {
    font-size: 13px;
    color: var(--hh-ocean);
}

.hh-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--hh-line);
}

.hh-card__price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    line-height: 1.15;
}

.hh-card__now {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 6px;
}

.hh-card__now strong {
    font: 700 19px var(--hh-head);
    color: var(--hh-ink);
    letter-spacing: -.01em;
}

.hh-card__now del {
    font-size: 12.5px;
    color: var(--hh-faint);
}

.hh-card__save {
    align-self: flex-start;
    padding: 2px 7px;
    border-radius: 5px;
    background: var(--hh-green-50);
    color: var(--hh-green);
    font: 700 11px var(--hh-font);
    font-style: normal;
}

.hh-card__price .hh-card__na {
    font: 600 13px var(--hh-font);
    color: var(--hh-muted);
}

/* ADD button ⇄ quantity stepper */
.hh-addbox {
    position: relative;
    flex: none;
    width: 92px;
    height: 40px;
}

.hh-add,
.hh-stepper {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    transition: opacity .35s var(--hh-ease), transform .45s var(--hh-spring);
}

.hh-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    background: var(--hh-grad-coral);
    color: #fff;
    font: 700 13.5px var(--hh-font);
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 8px 18px -10px rgba(215, 38, 61, .9);
}

.hh-add::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -70%;
    width: 45%;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: left .7s var(--hh-ease);
}

.hh-add:hover {
    background: var(--hh-red-600);
    box-shadow: var(--hh-glow-coral);
}

.hh-add:hover::before {
    left: 140%;
}

.hh-add:active {
    transform: scale(.94);
}

.hh-add i {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    font-size: 11px;
    transition: transform .45s var(--hh-ease);
}

.hh-add:hover i {
    transform: rotate(90deg);
}

.hh-add:disabled {
    background: var(--hh-bg);
    color: var(--hh-faint);
    box-shadow: none;
    cursor: not-allowed;
}

.hh-add:disabled i {
    background: none;
}

.hh-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--hh-ocean);
    color: #fff;
    opacity: 0;
    transform: scale(.7);
    pointer-events: none;
    box-shadow: var(--hh-glow-ocean);
}

.hh-stepper button {
    width: 30px;
    height: 100%;
    border: 0;
    background: none;
    color: #fff;
    font-size: 14px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.hh-stepper button:hover {
    background: rgba(255, 255, 255, .14);
}

.hh-stepper button:active {
    transform: scale(.85);
}

.hh-stepper button:first-child {
    border-radius: 12px 0 0 12px;
}

.hh-stepper button:last-child {
    border-radius: 0 12px 12px 0;
}

.hh-stepper output {
    font: 700 15px var(--hh-head);
    min-width: 20px;
    text-align: center;
}

.hh-stepper output.is-tick {
    animation: hh-tick .4s var(--hh-spring);
}

@keyframes hh-tick {
    from {
        transform: translateY(-60%) scale(.6);
        opacity: 0;
    }
}

.hh-addbox.has-qty .hh-add {
    opacity: 0;
    transform: scale(.7);
    pointer-events: none;
}

.hh-addbox.has-qty .hh-stepper {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.hh-addbox.is-busy {
    pointer-events: none;
}

.hh-addbox.is-busy .hh-stepper output,
.hh-addbox.is-busy .hh-add span {
    opacity: .55;
}

.hh-card.is-out .hh-card__img img {
    filter: grayscale(1);
    opacity: .5;
}

@media (hover: hover) {
    .hh-card:hover .hh-card__alt {
        opacity: 1;
    }

    .hh-card:hover .hh-card__alt img {
        transform: scale(1);
    }

    .hh-card:hover .hh-card__quick {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (hover: none) {
    .hh-card:hover {
        transform: none;
        box-shadow: 0 1px 2px rgba(14, 34, 51, .04);
        border-color: var(--hh-line);
    }

    .hh-card:hover .hh-card__img img {
        transform: none;
    }

    .hh-card:active {
        transform: scale(.98);
    }
}

@media (max-width: 575px) {
    .hh-card {
        padding: 6px;
        border-radius: 16px;
    }

    .hh-card__media {
        border-radius: 12px;
    }

    .hh-card__body {
        padding: 10px 4px 2px;
    }

    .hh-card__title {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .hh-card__meta {
        font-size: 11px;
        margin-bottom: 10px !important;
    }

    .hh-card__now strong {
        font-size: 16.5px;
    }

    .hh-card__save {
        display: none;
    }

    .hh-addbox {
        width: 100%;
        height: 38px;
    }

    .hh-card__wish {
        width: 32px;
        height: 32px;
        font-size: 16px;
        top: 8px;
        right: 8px;
    }

    .hh-card__tags {
        top: 8px;
        left: 8px;
    }

    .hh-card__tags .hh-chip,
    .hh-gallery__tags .hh-chip {
        padding: 4px 7px;
        font-size: 10px;
    }
}

/* ---------- Rails (native scroll-snap carousels) ---------- */
.hh-rail {
    --per: 5;
    --gap: 18px;
    display: grid;
    grid-auto-flow: column;
    gap: var(--gap);
    grid-auto-columns: calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 14px 4px 24px;
    margin: -14px -4px -24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.hh-rail::-webkit-scrollbar {
    display: none;
}

.hh-rail__item {
    scroll-snap-align: start;
    min-width: 0;
}

.hh-rail-nav {
    display: flex;
    gap: 8px;
}

/* ---------- Countdown ---------- */
.hh-countdown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--hh-head);
}

.hh-countdown__label {
    margin-right: 4px;
    font: 600 13px var(--hh-font);
    color: var(--hh-muted);
}

.hh-countdown b {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 36px;
    padding: 0 6px;
    border-radius: 8px;
    background: var(--hh-ocean);
    color: #fff;
    font: 700 16px/1 var(--hh-head);
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}

.hh-countdown i {
    font-style: normal;
    font-weight: 700;
    color: var(--hh-ocean);
}

.hh-countdown.is-ended {
    opacity: .5;
}

/* ---------- Scroll reveal (applied to every page by hh-core.js) ---------- */
.hh-js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(.985);
    transition: opacity .9s var(--hh-ease), transform 1s var(--hh-ease);
    transition-delay: calc(var(--d, 0) * 80ms);
}

.hh-js [data-reveal="zoom"] {
    transform: scale(.86);
}

.hh-js [data-reveal="left"] {
    transform: translate3d(-48px, 0, 0);
}

.hh-js [data-reveal="right"] {
    transform: translate3d(48px, 0, 0);
}

.hh-js [data-reveal="up"] {
    transform: translate3d(0, 60px, 0);
}

.hh-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* once visible, hover/transform transitions go back to their normal speed */
.hh-js .hh-card[data-reveal].is-in,
.hh-js [data-reveal].is-in .hh-card {
    transition-delay: 0s;
}

/* ---------- Parallax hook (hh-core.js sets --py) ---------- */
[data-parallax] {
    translate: 0 var(--py, 0px);
    will-change: translate;
}

/* =====================================================================
   Footer
   ===================================================================== */
.hh-footer {
    background: #052B3D;
    color: #A9B0BA;
    margin-top: clamp(50px, 6vw, 80px);
}

.hh-footer__news {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(110deg, #0C5C7B 0%, #0E7690 55%, #13A3B4 100%);
    color: #fff;
}

.hh-footer__news::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -120px;
    top: -260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    z-index: -1;
    animation: hh-glow-drift 16s ease-in-out infinite alternate;
}

@keyframes hh-glow-drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-120px, 60px) scale(1.15);
    }
}

.hh-footer__news-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    flex-wrap: wrap;
    padding-block: 30px;
}

.hh-footer__news-copy {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hh-footer__news-copy>i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    font-size: 26px;
    flex: none;
}

.hh-footer__news h2 {
    font: 700 21px/1.3 var(--hh-head) !important;
    color: #fff !important;
}

.hh-footer__news p {
    font-size: 14px;
    opacity: .85;
}

.hh-footer__form {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 480px;
    min-width: 260px;
    padding: 5px;
    border-radius: var(--hh-r);
    background: #fff;
    margin: 0;
}

.hh-footer__form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 0 12px;
    font: 500 15px var(--hh-font);
    color: var(--hh-ink);
    background: none;
}

.hh-footer__form button {
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: var(--hh-grad-coral);
    color: #fff;
    font: 600 14px var(--hh-font);
    cursor: pointer;
    transition: box-shadow .3s, transform .3s var(--hh-ease);
}

.hh-footer__form button:hover {
    background: #000;
}

.footer-newsletter__status {
    width: 100%;
    min-height: 0;
    margin: -10px 0 0 !important;
    font-size: 13.5px;
    font-weight: 500;
}

.footer-newsletter__status:empty {
    display: none;
}

.footer-newsletter__status.is-success {
    color: #fff;
}

.footer-newsletter__status.is-error {
    color: #FFE0A3;
}

.hh-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-block: 56px 40px;
}

.hh-footer .hh-brand {
    color: #fff;
    margin-bottom: 16px;
}

.hh-footer__about {
    font-size: 14px;
    line-height: 1.75;
    max-width: 330px;
    margin-bottom: 20px !important;
}

.hh-footer__social {
    display: flex;
    gap: 10px;
}

.hh-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 18px;
    transition: background .25s, transform .35s var(--hh-spring);
}

.hh-footer__social a:hover {
    background: var(--hh-red);
    transform: translateY(-4px);
}

.hh-footer__col h3 {
    font: 700 16px var(--hh-head) !important;
    color: #fff !important;
    margin-bottom: 16px !important;
}

.hh-footer__col ul {
    display: grid;
    gap: 10px;
}

.hh-footer__col li a {
    font-size: 14px;
    color: #A9B0BA;
    transition: color .2s, padding .3s var(--hh-ease);
}

.hh-footer__col li a:hover {
    color: #fff;
    padding-left: 6px;
}

.hh-footer__contact {
    font-style: normal;
    display: grid;
    gap: 12px;
    font-size: 14px;
}

.hh-footer__contact p,
.hh-footer__contact a {
    display: flex;
    gap: 10px;
    margin: 0;
    color: #A9B0BA;
    transition: color .2s;
}

.hh-footer__contact a:hover {
    color: #fff;
}

.hh-footer__contact i {
    color: var(--hh-amber);
    font-size: 18px;
    margin-top: 1px;
}

.hh-footer__serve {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 13px;
}

.hh-footer__serve i {
    color: #3DD68C;
}

.hh-footer__bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 20px;
    font-size: 13px;
}

.hh-footer__bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--hh-gutter);
    right: var(--hh-gutter);
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.hh-footer__bottom p {
    margin: 0;
}

.hh-footer__pay {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hh-footer__pay li {
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .07);
    color: #DDE1E6;
    font-size: 12px;
    font-weight: 600;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1399px) {
    .hh-rail {
        --per: 4;
    }
}

@media (max-width: 1199px) {
    .hh-rail {
        --per: 3;
    }

    .hh-act span {
        display: none;
    }

    .hh-searchbar kbd {
        display: none;
    }

    .hh-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .hh-topbar__links {
        display: none;
    }

    .hh-header__row {
        flex-wrap: wrap;
        height: auto;
        gap: 8px 10px;
        padding-block: 10px;
    }

    .hh-header.is-scrolled .hh-header__row {
        height: auto;
    }

    .hh-header__burger {
        display: inline-grid;
    }

    .hh-brand img {
        width: 38px;
        height: 38px;
    }

    .hh-brand__text strong {
        font-size: 17px;
    }

    .hh-brand__text small {
        font-size: 8.5px;
    }

    .hh-locbtn {
        order: 3;
        margin-left: auto;
        max-width: 160px;
        padding: 4px 6px;
    }

    .hh-locbtn>i {
        font-size: 20px;
    }

    .hh-locbtn small {
        font-size: 11px;
    }

    .hh-locbtn strong {
        font-size: 13px;
    }

    .hh-actions {
        order: 4;
    }

    .hh-act--wish,
    .hh-act--account,
    .hh-cartbtn {
        display: none;
    }

    .hh-searchbar {
        order: 10;
        flex-basis: 100%;
        height: 44px;
    }

    .hh-header.is-scrolled .hh-searchbar {
        height: 40px;
    }

    .hh-tabbar {
        position: fixed;
        z-index: 1500;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: calc(62px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #fff;
        border-top: 1px solid var(--hh-line);
        box-shadow: 0 -6px 24px -12px rgba(14, 34, 51, .25);
    }

    .hh-tabbar a,
    .hh-tabbar button {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border: 0;
        background: none;
        color: var(--hh-muted);
        font: 600 11px var(--hh-font);
    }

    .hh-tabbar i {
        font-size: 23px;
        transition: transform .35s var(--hh-spring), color .2s;
    }

    .hh-tabbar [aria-current="page"] {
        color: var(--hh-red);
    }

    .hh-tabbar [aria-current="page"]::before {
        content: "";
        position: absolute;
        top: 0;
        width: 28px;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: var(--hh-red);
    }

    .hh-tabbar a:active i,
    .hh-tabbar button:active i {
        transform: scale(.82);
    }

    .hh-tabbar__icon {
        position: relative;
    }

    .hh-tabbar .hh-badge {
        top: -6px;
        right: -12px;
    }

    .hh-cartbar {
        position: fixed;
        z-index: 1490;
        left: 12px;
        right: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        border-radius: 14px;
        background: var(--hh-red);
        color: #fff !important;
        box-shadow: 0 14px 30px -10px rgba(215, 38, 61, .6);
        transform: translateY(140%);
        opacity: 0;
        pointer-events: none;
        transition: transform .5s var(--hh-spring), opacity .3s;
    }

    .hh-cartbar.is-visible {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .hh-cartbar>i {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, .18);
        font-size: 20px;
    }

    .hh-cartbar span {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
    }

    .hh-cartbar small {
        font-size: 12px;
        opacity: .9;
    }

    .hh-cartbar strong {
        font: 700 15px var(--hh-font);
    }

    .hh-cartbar em {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font: 700 14px var(--hh-font);
        font-style: normal;
    }

    body {
        padding-bottom: 76px;
    }

    body.hh-has-cartbar {
        padding-bottom: 144px;
    }

    .hh-toasts {
        left: 12px;
        right: 12px;
        bottom: 82px;
        align-items: stretch;
    }

    .hh-toast {
        width: auto;
    }

    .hh-totop {
        bottom: 84px;
        right: 14px;
        width: 44px;
        height: 44px;
    }

    body.hh-has-cartbar .hh-totop {
        bottom: 150px;
    }

    body.hh-has-cartbar .hh-toasts {
        bottom: 150px;
    }

    .hh-search__results {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .hh-rail {
        --per: 2.2;
        --gap: 12px;
        scroll-snap-type: x proximity;
    }

    .hh-search__results {
        grid-template-columns: 1fr;
    }

    .hh-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
        padding-top: 40px;
    }

    .hh-footer__brandcol {
        grid-column: 1 / -1;
    }

    .hh-footer__news-copy>i {
        display: none;
    }

    .hh-countdown b {
        min-width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .hh-brand__text small {
        display: none;
    }

    .hh-brand {
        gap: 8px;
    }

    .hh-brand img {
        width: 34px;
        height: 34px;
    }

    .hh-brand__text strong {
        font-size: 15px;
    }

    .hh-locbtn {
        max-width: 150px;
        gap: 5px;
        padding: 4px;
    }

    .hh-locbtn strong {
        font-size: 12.5px;
    }

    .hh-locbtn small {
        font-size: 10.5px;
    }

    .hh-rail {
        --per: 1.9;
    }

    .hh-card__meta span:nth-child(2) {
        display: none;
    }

    .hh-card__foot {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .hh-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================================
   Level-up details: scroll progress, mini cart, image shimmer, hover photo
   ===================================================================== */

/* Scroll progress line */
.hh-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1100;
    pointer-events: none;
}

.hh-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #1C1F24, var(--hh-red));
    transform-origin: left;
    transform: scaleX(var(--p, 0));
}

/* Section title accent */
.hh-title {
    position: relative;
    padding-bottom: 10px;
}

.hh-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #1C1F24, var(--hh-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .9s var(--hh-ease) .25s;
}

.hh-head--center .hh-title::after {
    left: 50%;
    margin-left: -28px;
    transform-origin: center;
}

.is-in .hh-title::after,
.hh-title.is-in::after {
    transform: scaleX(1);
}

.hh-js .hh-head:not([data-reveal]) .hh-title::after,
html:not(.hh-js) .hh-title::after {
    transform: scaleX(1);
}

/* Mini cart drawer */
.hh-mcart {
    position: fixed;
    inset: 0;
    z-index: 2150;
    visibility: hidden;
    overflow: hidden;
}

.hh-mcart.is-open {
    visibility: visible;
}

.hh-mcart__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 34, 51, .5);
    opacity: 0;
    transition: opacity .4s var(--hh-ease);
}

.hh-mcart.is-open .hh-mcart__backdrop {
    opacity: 1;
}

.hh-mcart__panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(420px, 100vw);
    display: flex;
    flex-direction: column;
    background: #fff;
    transform: translateX(100%);
    transition: transform .55s var(--hh-ease);
    box-shadow: var(--hh-shadow-lg);
}

.hh-mcart.is-open .hh-mcart__panel {
    transform: none;
}

.hh-mcart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--hh-line);
}

.hh-mcart__head h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 18px var(--hh-head) !important;
    color: var(--hh-ink);
    margin: 0 !important;
}

.hh-mcart__head h3 i {
    color: var(--hh-red);
}

.hh-mcart__head h3 span {
    font: 600 13px var(--hh-font);
    color: var(--hh-muted);
}

.hh-mcart__coupon {
    margin: 14px 18px 0;
    padding: 12px 14px;
    border-radius: var(--hh-r);
    background: var(--hh-green-50);
    color: var(--hh-green);
    font-size: 13.5px;
    font-weight: 500;
}

.hh-mcart__coupon p {
    margin: 0 0 8px !important;
}

.hh-mcart__coupon b {
    font-weight: 700;
}

.hh-mcart__coupon.is-unlocked .hh-mcart__bar span {
    background: var(--hh-green);
}

.hh-mcart__bar {
    display: block;
    height: 6px;
    border-radius: 6px;
    background: rgba(19, 138, 62, .15);
    overflow: hidden;
}

.hh-mcart__bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hh-amber), var(--hh-green));
    transition: width .8s var(--hh-ease);
}

.hh-mcart__body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 18px;
    overscroll-behavior: contain;
}

.hh-mcart__item {
    display: grid;
    grid-template-columns: 68px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--hh-line);
    animation: hh-fade-up .45s var(--hh-ease) both;
}

.hh-mcart__item.is-removing {
    animation: hh-mcart-out .4s var(--hh-ease) forwards;
}

@keyframes hh-mcart-out {
    to {
        opacity: 0;
        transform: translateX(40px);
        height: 0;
        padding: 0;
        margin: 0;
    }
}

.hh-mcart__item img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--hh-bg);
}

.hh-mcart__item h4 {
    margin: 0 0 2px !important;
    font: 600 14.5px/1.3 var(--hh-font) !important;
    color: var(--hh-ink);
    text-transform: capitalize;
}

.hh-mcart__item h4 a {
    color: inherit;
}

.hh-mcart__item small {
    display: block;
    font-size: 12px;
    color: var(--hh-muted);
}

.hh-mcart__price {
    margin-top: 4px;
    font: 700 15px var(--hh-head);
    color: var(--hh-ink);
}

.hh-mcart__price del {
    margin-left: 6px;
    font: 400 12px var(--hh-font);
    color: var(--hh-faint);
}

.hh-mcart__item .hh-addbox {
    width: 92px;
    height: 34px;
}

.hh-mcart__item .hh-stepper {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.hh-mcart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    min-height: 320px;
    text-align: center;
    color: var(--hh-muted);
}

.hh-mcart__empty i {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--hh-red-50);
    color: var(--hh-red);
    font-size: 42px;
    margin-bottom: 6px;
    animation: hh-float 3s ease-in-out infinite;
}

.hh-mcart__empty strong {
    font: 700 18px var(--hh-head);
    color: var(--hh-ink);
}

@keyframes hh-float {
    50% {
        transform: translateY(-8px);
    }
}

.hh-mcart__skeleton {
    height: 96px;
    margin: 12px 0;
    border-radius: var(--hh-r);
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .7) 50%, transparent 80%) #EDF3F6;
    background-size: 200% 100%;
    animation: hh-shimmer 1.3s linear infinite;
}

.hh-mcart__foot {
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--hh-line);
    box-shadow: 0 -10px 24px -18px rgba(14, 34, 51, .3);
}

.hh-mcart__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 15px;
    font-weight: 600;
    color: var(--hh-ink);
}

.hh-mcart__total strong {
    font: 800 22px var(--hh-head);
}

.hh-mcart__note {
    margin: 4px 0 14px !important;
    font-size: 12.5px;
    color: var(--hh-muted);
}

.hh-mcart__ctas {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
}

.hh-card__meta span.is-low {
    background: var(--hh-red-50);
    color: var(--hh-red);
    font-weight: 600;
}

.hh-card__meta span.is-low i {
    color: var(--hh-red);
}

@media (max-width: 575px) {
    .hh-card__meta span.is-low {
        display: inline-flex;
    }
}