@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
/* =======================================================
   ROOT VARIABLES
======================================================= */
:root {
    --bg-body: #050505;
    --bg-header: #000000;
    --bg-panel: #020617;
    --bg-panel-soft: #0b0b0b;
    --bg-light: #f9fafb;
    --border-dark: #111827;
    --border-subtle: #1f2937;
    --text-main: #f9fafb;
    --text-dark: #020617;
    --text-muted: #9ca3af;
    --accent: #22c55e;
    --accent-strong: #00E655;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 16px 40px rgba(0,0,0,0.6);
    --shadow-panel: 0 20px 60px rgba(0,0,0,0.85);
    --maxw: 1400px;
}
/* =======================================================
   RESET / BASE
======================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    touch-action: manipulation;
}
button,
a,
.cart-remove,
.cart-qty-btn,
.btn-add-cart,
.browse-card,
.toast,
.drawer,
.product-modal {
    touch-action: manipulation;
}
html, body {
    height: 100%;
}
body {
    font-family: 'Outfit', system-ui, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
font-size: 16px;
}
.hidden {
    display: none !important;
}
/* Put this near the bottom of your CSS or in :root section */
html {
    --scrollbar-thumb: #22c55e;
    --scrollbar-thumb-hover: #00e655;
    --scrollbar-track: #0b0f1c;
    --scrollbar-track-hover: #111827;
}

/* Firefox */
html {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
}

/* Chrome / Edge / Safari */
html::-webkit-scrollbar {
    width: 11px;
}

html::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
    border: 3px solid var(--scrollbar-track);
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}
a {
    color: inherit;
}
button, input {
    font-family: inherit;
font-size: 16px !important;
}
.section-placeholder {
    font-size: 0.95rem;
    color: var(--text-muted);
}
/* =======================================================
   HEADER
======================================================= */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    height: 80px;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-dark);
    z-index: 1000;
}
.header-inner {
    max-width: var(--maxw);
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.btn-add-cart {
background: var(--accent) !important;
   color: #111827 !important;
}
.site-logo {
    width: auto;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.site-logo-icon {
    width: 87px;
    height: auto;
}
/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}
/* =======================================================
   NAV
======================================================= */
.site-nav {
    flex: 1;
    position: relative;
}
.nav-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.nav-link {
    position: relative;
    border: none;
    background: transparent;
    color: #e5e7eb;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
}
.nav-link:hover {
    color: #22C55E;
}
.nav-has-dropdown {
    padding-right: 0px;
}
.nav-caret {
    position: absolute;
    right: -4px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #9ca3af;
    transform: translateY(-50%);
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-panel);
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 0.18s ease;
    min-width: 240px;
    z-index: 1200;
}
.nav-dropdown.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-dropdown-item {
    display: block;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.88rem;
}
.nav-dropdown-item:hover {
    background: #111827;
}
/* Mobile nav collapse */
.header-burger {
    border: none;
    background: transparent;
    width: 36px;
    height: 36px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
color: #ffffff !important;
}
.header-burger span {
    display: block;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}
@media (min-width: 900px) {
    .header-burger { display: none; }
}
@media (max-width: 899px) {
    .site-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-panel);
        border-bottom: 1px solid var(--border-subtle);
        padding: 10px 16px 12px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: 0.18s ease;
        z-index: 1100;
    }
    .site-nav.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-dropdown {
        position: static;
        margin-top: 8px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        display: none;
    }
    .nav-dropdown.nav-open {
        display: block;
    }
}
/* =======================================================
   USER HUD
======================================================= */
.user-hud {
    position: relative;
}
.user-hud-toggle {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-panel);
    padding: 6px 10px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #e5e7eb;
    cursor: pointer;
    white-space: nowrap;
font-size: 1em;
}
.user-hud-toggle:hover {
    background: #111827;
}
.user-hud-label {
    display: none;
}
.user-hud-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #9ca3af;
    opacity: 0.95;
}
@media (min-width: 900px) {
    .user-hud-label { display: inline; }
}
.user-hud-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-panel);
    min-width: 230px;
    padding: 6px;
    display: none;
    z-index: 1400;
}
.user-hud-dropdown.open {
    display: block;
}
.user-hud-item {
    width: 100%;
    border: none;
    background: transparent;
    color: #e5e7eb;
    padding: 9px 10px;
    text-align: left;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
}
.user-hud-item:hover {
    background: #111827;
}
.user-hud-item.danger {
    color: #f87171;
}
/* =======================================================
   CART TOGGLE
======================================================= */
.cart-toggle {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-panel);
    padding: 6px 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #e5e7eb;
    cursor: pointer;
    white-space: nowrap;
}
.cart-toggle:hover {
    background: #111827;
}
.cart-label {
    display: none;
}
@media (min-width: 900px) {
    .cart-label { display: inline; }
}
.cart-badge {
    background: var(--accent);
    color: #111827;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* =======================================================
   MAIN / HERO
======================================================= */
.site-main {
    margin-top: 80px;
}
.hero {
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}
.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.hero-slide-active {
    opacity: 1;
    pointer-events: auto;
}
.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-media-fallback {
    background:
        radial-gradient(circle at 20% 0, rgba(34,197,94,0.2), transparent 50%),
        linear-gradient(135deg, #020617, #020617);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.hero-tag {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
}
.hero-title {
    font-size: 48px;
    line-height: 58px;
font-weight: 700;
    max-width: 720px;
}
.hero-text {
    color: var(--text);
    max-width: 640px;
    font-size: 24px;
line-height: 32px;
margin-bottom: 64px;
}
.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* Hero controls */
.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 3;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-arrow {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(15,23,42,0.85);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #e5e7eb;
}
.hero-arrow:hover {
    background: rgba(15,23,42,1);
}
.hero-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(148,163,184,0.4);
    border: none;
    cursor: pointer;
}
.hero-dot-active {
    width: 18px;
    background: var(--accent);
}
@media (max-width: 900px) {
    .hero-controls {
        padding: 0 16px;
    }
.user-hud-dropdown {
    width: 100%;
top: 42px;
right: -48px;
}
}
/* =======================================================
   BUTTONS
======================================================= */
.btn-primary {
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #111827;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
}
button {
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #111827;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
outline: none !important;
}
.mobile-dropdown-btn {
    padding: 16px 32px !important;
    font-weight: 600;
    cursor: pointer;
outline: none !important;
border-radius: 0px !important;
}
.btn-primary:hover {
    background: var(--accent-strong);
}
.btn-ghost {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.65);
    background: transparent;
    color: #e5e7eb;
    padding: 9px 18px;
    cursor: pointer;
    font-weight: 500;
}
.btn-ghost:hover {
    background: rgba(17,24,39,0.7);
}
.btn-block {
    width: 100%;
}
/* =======================================================
   SECTIONS (shared widths)
======================================================= */
.front-section {
    padding: 48px 0;
}
.front-section-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}
.front-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.front-section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.front-section-header p {
    color: #6b7280;
}
.front-spotlight {
    background: var(--bg-light);
    color: var(--text-dark);
}
.front-spotlight .section-placeholder {
    color: #6b7280;
}
.front-placeholder {
    background: var(--bg-body);
}
/* =======================================================
   BROWSE GRID CARD SYSTEM (used by Browse AND Spotlight)
======================================================= */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.browse-shell {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}
.browse-header {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-end;
    justify-content: space-between;
}
.browse-title h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.browse-title p {
    color: var(--text-muted);
}
.browse-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}
.browse-search {
    min-width: 260px;
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-panel);
    border-radius: 999px;
    padding: 9px 14px;
    gap: 10px;
    border: 1px solid var(--border-subtle);
}
.browse-search input {
    border: none;
    outline: none;
    background: transparent;
    color: #e5e7eb;
    width: 100%;
    font-size: 1em;
}
.browse-filters {
    display: flex;
    gap: 8px;
    align-items: center;
}
.browse-filter-chip {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: #e5e7eb;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
}
.browse-filter-chip:hover {
    background: #111827;
}
.browse-filter-chip-active {
    background: rgba(34,197,94,0.16);
    border-color: rgba(34,197,94,0.5);
}
/* Hide lowstock chip if it still exists in your HTML */
.browse-filter-chip[data-filter="lowstock"] {
    display: none !important;
}
.browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.browse-placeholder {
    color: var(--text-muted);
    padding: 10px 2px;
}
.browse-card {
background: radial-gradient( circle at 20% 20%, rgba(34,197,94,.10), transparent 55% ), rgba(2,6,23,.55);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.browse-card-media {
    padding-top: 60%;
    position: relative;
    background: #0b0b0b;
    display: block;
    text-decoration: none;
}
.browse-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.browse-card-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0, rgba(34,197,94,0.18), transparent 52%),
        radial-gradient(circle at 80% 100%, rgba(249,250,251,0.10), transparent 55%),
        linear-gradient(135deg, #020617, #030712);
}
.browse-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.browse-badge {
    background: var(--accent);
    color: #111827;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.browse-card-body {
    padding: 14px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.browse-card-name {
    font-size: 1.02rem;
    font-weight: 700;
    color: #f9fafb;
}
.browse-card-name-link {
    text-decoration: none;
}
.browse-card-name-link:hover {
    text-decoration: underline;
}
.browse-card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.35;
    min-height: 32px;
    overflow: hidden;
}
.browse-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.browse-chip {
    border: 1px solid rgba(148,163,184,0.35);
    color: #e5e7eb;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
margin-top: 24px;
}
.browse-card-actions {
    margin-top: 4px;
}
.btn-add-cart {
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #f9fafb;
    padding: 9px 14px;
    cursor: pointer;
    font-weight: 600;
}
.btn-add-cart:hover {
    background: #0b1220;
}
/* =========================
   SPOTLIGHT CARD INVERSION
========================= */
.front-spotlight .browse-card {
    background: #ffffff;
    color: #020617;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
position: relative;
}
.front-spotlight .browse-card-desc {
    color: #475569;
}
.front-spotlight .browse-card-name {
    color: #020617;
}
.front-spotlight .browse-chip {
    border-color: #22C55E;
    color: #020617;
}
.front-spotlight .btn-add-cart {
    background: var(--accent);
    color: #111827;
}
.front-spotlight .btn-add-cart:hover {
    background: var(--accent-strong);
}
/* =======================================================
   PACKAGES (basic)
======================================================= */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.pkg-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.pkg-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pkg-card-name {
    font-weight: 800;
    font-size: 1.05rem;
}
.pkg-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.pkg-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pkg-card-price {
    font-weight: 700;
}
/* =======================================================
   DRAWERS (CART + AUTH)
======================================================= */
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: block;
}
.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.62);
}
.drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 92%;
    height: 100%;
    background: var(--bg-panel);
    border-left: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-panel);
    display: flex;
    flex-direction: column;
    z-index: 1;
}
.drawer-header {
    padding: 16px 16px 14px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.drawer-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.drawer-title span {
    font-weight: 800;
    font-size: 1.05rem;
}
.drawer-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(17,24,39,0.35);
    color: #e5e7eb;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.drawer-close:hover {
    background: rgba(17,24,39,0.7);
}
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 14px;
}
.drawer-footer {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0,0,0,0.12);
}
.drawer-footer-hint {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
/* =======================================================
   CART CONTENT
======================================================= */
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-weight: 700;
}
.cart-subtotal-amount {
    font-weight: 800;
}
.cart-empty {
    padding: 12px 2px;
}
.cart-empty-title {
    font-weight: 800;
    font-size: 1.05rem;
}
.cart-empty-sub {
    color: var(--text-muted);
    margin-top: 4px;
}
.cart-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(31,41,55,0.75);
    align-items: start;
}
.cart-row-thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148,163,184,0.25);
}
.cart-row-main {
    min-width: 0;
}
.cart-row-name {
    font-size: 0.98rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-row-price {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.cart-row-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.cart-qty-btn {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.35);
    background: transparent;
    color: #e5e7eb;
    cursor: pointer;
    font-weight: 800;
}
.cart-qty-btn:hover {
    background: rgba(17,24,39,0.7);
}
.cart-qty-num {
    min-width: 18px;
    text-align: center;
    font-weight: 800;
}
.cart-remove {
    margin-left: 6px;
    border: none;
    background: transparent;
    color: #f87171;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
}
.cart-remove:hover {
    text-decoration: underline;
}
.cart-row-total {
    font-weight: 900;
    white-space: nowrap;
    padding-top: 2px;
}
/* =======================================================
   AUTH DRAWER UI
======================================================= */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.auth-tab {
    flex: 1;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: #e5e7eb;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 700;
}
.auth-tab:hover {
    background: rgba(17,24,39,0.7);
}
.auth-tab-active {
    background: rgba(34,197,34,0.16);
    border-color: rgba(34,197,34,0.55);
}
.auth-panel {
    display: none;
}
.auth-panel-active {
    display: block;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.auth-label {
    font-size: 0.88rem;
    color: #e5e7eb;
    font-weight: 700;
    margin-top: 4px;
}
.auth-input {
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.28);
    background: rgba(2,6,23,0.65);
    color: #e5e7eb;
    padding: 10px 12px;
    outline: none;
    font-size: 0.95rem;
}
.auth-input:focus {
    border-color: rgba(34,197,94,0.55);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}
.auth-hint {
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
/* =======================================================
   SUBSCRIBE
======================================================= */
.front-subscribe {
    background: #22C55E;
}
.subscribe-card {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-subtle);
}
.subscribe-left h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}
.subscribe-left p {
    color: var(--text-muted);
}
.subscribe-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.subscribe-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.subscribe-input {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.28);
    background: transparent;
    color: #e5e7eb;
    padding: 10px 14px;
    min-width: 260px;
    outline: none;
}
.subscribe-input:focus {
    border-color: rgba(34,197,94,0.55);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}
.subscribe-submit {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}
.subscribe-submit:hover {
    background: var(--accent-strong);
}
/* =======================================================
   MODAL (empty cart)
======================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}
.modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, calc(100% - 32px));
    background: var(--bg-panel);
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    padding: 18px;
}
.modal-title {
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 6px;
}
.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 14px;
}
.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* =======================================================
   FOOTER
======================================================= */
.site-footer {
    background: #000;
    border-top: 1px solid var(--border-dark);
    padding: 30px 0;
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    width: 36px;
    height: 36px;
}
.footer-meta span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 600;
}
.footer-links a:hover {
    color: #f9fafb;
}
.footer-legal {
    color: #9ca3af;
    font-size: 0.9rem;
}
/* =======================================================
   TOAST
======================================================= */
.toast-root {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-panel);
    opacity: 0;
    transform: translateY(-8px);
    color: #e5e7eb;
    min-width: 220px;
}
/* =======================================================
   PRODUCT OVERLAY (AJAX)
======================================================= */
.product-overlay {
    position: fixed;
    inset: 0;
    z-index: 4500;
}
.product-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}
.product-modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1080px, calc(100% - 32px));
    max-height: min(760px, calc(100% - 32px));
    overflow: hidden;
    background: var(--bg-panel);
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    display: flex;
    flex-direction: column;
}
.product-modal-head {
    padding: 16px 16px 14px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    background: rgba(0,0,0,0.12);
}
.product-modal-kicker {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    margin-bottom: 6px;
}
.product-modal-title {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.1;
}
.product-modal-price {
    margin-top: 6px;
    font-weight: 800;
    color: #e5e7eb;
}
.product-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(17,24,39,0.35);
    color: #e5e7eb;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.product-close:hover {
    background: rgba(17,24,39,0.7);
}
.product-modal-body {
    padding: 14px;
    overflow: auto;
}
.product-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 14px;
    align-items: start;
}
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
.product-gallery {
    background: rgba(0,0,0,0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 12px;
}
.product-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0b0b0b;
    border: 1px solid rgba(148,163,184,0.15);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-img,
.product-main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-main-skeleton {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 0, rgba(34,197,94,0.18), transparent 52%),
        radial-gradient(circle at 80% 100%, rgba(249,250,251,0.10), transparent 55%),
        linear-gradient(135deg, #020617, #030712);
}
.product-thumbs {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
}
.product-thumb {
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.22);
    background: rgba(2,6,23,0.65);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    height: 64px;
    position: relative;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-thumb-video {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(34,197,94,0.16), transparent 56%),
        linear-gradient(135deg, #020617, #0b1220);
    color: #e5e7eb;
}
.product-thumb-active {
    border-color: rgba(34,197,94,0.65);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}
.product-thumbs-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 8px 2px 0;
}
.product-side {
    background: rgba(0,0,0,0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 14px;
}
.product-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    white-space: pre-line;
}
.product-cta {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-hint {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    opacity: 0.95;
}
/* =======================================================
   PRODUCT PAGE (server-rendered product.php)
======================================================= */
.product-page-shell {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 22px 64px;
}
.product-breadcrumb {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.product-breadcrumb a {
    text-decoration: none;
    color: #cbd5e1;
}
.product-breadcrumb a:hover {
    text-decoration: underline;
}
.product-page-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.product-page-title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 900;
    line-height: 1.05;
}
.product-page-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: #f9fafb;
    white-space: nowrap;
}
.product-page-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 16px;
    align-items: start;
}
@media (max-width: 900px) {
    .product-page-grid {
        grid-template-columns: 1fr;
    }
}
.product-page-panel {
    background: rgba(0,0,0,0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 14px;
}
/* =========================
   MOBILE HEADER FIX
========================= */
@media (max-width: 899px) {
    .header-inner {
        justify-content: space-between;
    }
    .site-nav {
        order: 3;
    }
    .header-right {
        order: 2;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .header-burger {
        order: 1;
    }
    /* Hide "Account" text on mobile, icon only */
    .user-hud-label {
        display: none !important;
    }
    /* Make user toggle icon visible even when logged out */
    .user-hud-toggle {
        padding: 16px;
        width: auto;
        height: 36px;
        justify-content: center;
    }
    /* Hide caret on mobile */
    .user-hud-caret {
        display: none;
    }
    .cart-toggle {
        padding: 6px;
        width: auto;
        height: 36px;
        justify-content: center;
    }
    .cart-label {
        display: none;
    }
}
.toast-cart {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: #0f172a;
    border: 1px solid #22C55E; /* your green */
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    color: #f9fafb;
    max-width: 320px;
}
.toast-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
}
.toast-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.toast-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.toast-title {
    font-weight: 700;
    font-size: 0.9rem;
}
.toast-price {
    font-size: 0.8rem;
    color: #22C55E;
    margin-top: 2px;
}
.added-remark {
margin-top: 8px;
font-weight: 600;
}
#cartDrawerOverlay {
z-index: 999999999999999999999 !important;
}
#emptyCartModal {
z-index: 99999999999999999999999999999 !important;
}
#authDrawerOverlay {
z-index: 9999999999999999999999999999999 !important;
}
#siteToast {
z-index: 9999999999999999999999999999999 !important;
}
.checkout-auth-sub {
margin-bottom: 32px;
}
/* =======================================================
   PRODUCT EXTRAS (Full product page)
======================================================= */
.product-extras {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148,163,184,0.18);
}
.product-extras-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.product-extras-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  margin: 0;
}
.product-extras-badge {
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(34,197,94,0.40);
  color: #f9fafb;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px) {
  .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .extras-grid { grid-template-columns: 1fr; }
}
.extra-card {
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(148,163,184,0.20);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.extra-thumb {
  display: block;
  aspect-ratio: 16/10;
  background: #0b0b0b;
  position: relative;
  text-decoration: none;
}
.extra-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.extras-thumb-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 0, rgba(34,197,94,0.18), transparent 52%),
    radial-gradient(circle at 80% 100%, rgba(249,250,251,0.10), transparent 55%),
    linear-gradient(135deg, #020617, #030712);
}
.extra-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.extra-name {
  font-weight: 900;
  font-size: 0.98rem;
  line-height: 1.2;
}
.extra-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.extra-was {
  color: rgba(148,163,184,0.9);
  text-decoration: line-through;
  font-weight: 800;
  font-size: 0.92rem;
}
.extra-now {
  color: #f9fafb;
  font-weight: 900;
  font-size: 0.98rem;
}
.extra-per {
  color: rgba(148,163,184,0.85);
  font-size: 0.85rem;
  font-weight: 700;
}
.extra-add {
  margin-top: 2px;
  width: 100%;
}
.product-extra-media img {
width: 100% !important;
}
.product-extra-btn {
background-color: #7FEFA8 !important;
margin-top: 16px;
margin-bottom: 24px;
}
.product-extra-btn:nth-last-child(1){
margin-bottom: 0px;
}
/* Cart: AS EXTRA badge */
.cart-row-badge{
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 4px;
}
/* Extras: list layout instead of big cards */
.product-extras-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.product-extra-row{
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.product-extra-media{
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  flex: 0 0 auto;
}
.product-extra-media img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ prevents hi-res “blow up” */
  display: block;
}
.product-extra-info{
  min-width: 0;
}
.product-extra-name{
  font-weight: 700;
  font-size: 16px;
  line-height: 24px !important;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 270px;
}
.product-extra-price{
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.product-extra-was{
  text-decoration: line-through;
  opacity: .6;
  font-size: 0.95em;
}
.product-extra-now small{
  opacity: .75;
  font-size: 0.9em;
}
.product-extra-cta .btn-add-cart{
}
/* =======================================================
   PRODUCT NOT FOUND MESSAGE
======================================================= */
.not-found-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    color: var(--text-main);
}
.not-found-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}
.not-found-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}
.not-found-text {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 520px;
}
.not-found-hint {
    font-size: 0.95rem;
    color: var(--text-muted);
    opacity: 0.85;
    max-width: 480px;
}
/* Optional: Add a subtle accent touch */
.not-found-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 16px auto 0;
    opacity: 0.7;
}
.browseAllButton {
border: none;
background-color: transparent;
border: solid 2px #ffffff;
color: #ffffff;
font-family: inherit;
margin-top: 32px;
border-radius: 32px;
padding: 16px 24px;
font-weight: 700;
cursor: pointer;
}
.browseAllButton:hover {
opacity: 0.7;
}
/* Responsive adjustments */
@media (max-width: 600px) {
    .not-found-icon {
        font-size: 3.8rem;
    }
   
    .not-found-title {
        font-size: 1.6rem;
    }
   
    .not-found-message {
        min-height: 300px;
        padding: 32px 16px;
    }
}
/* Product page info tabs (under images) */
.product-info-tabs{
  margin-top: 32px;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(2,6,23,0.35);
}
.product-tabs-nav{
  display: flex;
  background: rgba(15,23,42,0.6);
}
.product-tab-btn{
  flex: 1;
  padding: 14px 12px;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-tab-btn.active{
  background: #22C55E;
  color: #111827;
}
.product-tabs-content{
  padding: 24px;
  min-height: 160px;
  line-height: 1.7;
  color: #e5e7eb;
}
.product-tab-pane{
  display: none;
}
.product-tab-pane.active{
  display: block;
}
.product-empty-note{
  color: #6b7280;
  font-style: italic;
  margin: 0;
}
/* Limit description to 3 lines with ellipsis */
.browse-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4; /* adjust if needed */
  max-height: 4.2em; /* ≈ 3 lines × line-height */
}
/* Optional: make sure the card doesn't stretch too much */
.browse-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.browse-card-desc {
  flex: 1;
  margin-bottom: 8px; /* space before price/chip */
}
/* Limit description to 3 lines in product modal/overlay too */
#productOverlay .product-desc,
.product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 4.5em; /* 3 × 1.5 */
}
/* Optional: subtle fade + "..." at the end */
#productOverlay .product-desc::after,
.product-desc::after {
    content: "...";
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 20px;
    background: linear-gradient(to right, transparent, #020617 60%);
    color: #9ca3af;
}
.browse-badge-bundle {
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.35);
  color: #86efac;
}
.browse-chip-bundle {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
  font-weight: 900;
}
.bundle-items-list{
  margin-top:12px;
  border:1px solid rgba(148,163,184,0.18);
  border-radius:14px;
  padding:12px;
  background: rgba(2,6,23,0.25);
}
.bundle-items-list h3{
  margin:0 0 8px;
  font-size: 0.95rem;
}
.bundle-items-list ul{
  margin:0;
  padding-left: 18px;
  color: rgba(255,255,255,0.88);
}
.bundle-items-list li{
  margin: 6px 0;
}
.bundle-items-qty{
  font-weight:900;
  opacity:.9;
}
.bundle-items.pretty { margin-top: 14px; }
.bundle-items-title {
  font-weight: 900;
  display:flex;
  align-items:center;
  gap:10px;
  margin: 0 0 10px;
}
.mi-list { display:flex; flex-direction:column; gap:10px; }
.mi-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,0.18);
  background: rgba(2,6,23,0.35);
  text-decoration:none;
  color: inherit;
}
.mi-thumb{
  width:54px; height:54px;
  border-radius:12px;
  object-fit:cover;
  flex:0 0 54px;
}
.mi-thumb--ph{
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(148,163,184,0.12);
}
.mi-main{ flex:1; min-width:0; }
.mi-name{ font-weight:900; line-height:1.1; }
.mi-sub{ opacity:.8; margin-top:4px; font-size:12px; }
.mi-chev{ opacity:.7; }
/* Overlay does the centering */
.product-overlay{
  position: fixed;
  inset: 0;
  z-index: 4500;
  display: grid;
  place-items: center;
  /* prevents "too low" + gives breathing room on small screens */
  padding: 16px;
}
/* Modal no longer uses absolute centering */
.product-modal{
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100dvh - 32px); /* key: dynamic viewport */
  overflow: hidden;
}
.modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal{
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto; /* if content ever gets tall */
}
/* Browse: outer container becomes stacked sections */
#browseGrid {
  display: block;
}
/* Each category section */
.browse-cat-section {
  margin-top: 18px;
}
.browse-cat-head {
  margin: 0 0 10px;
}
/* ✅ This is the important part: cards live inside here now */
#browseGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  #browseGrid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 600px) {
  #browseGrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
#browseGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  #browseGrid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 600px) {
  #browseGrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.browse-cat-head {
  margin: 40px 0 16px 0;
}
.browse-cat-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f9fafb;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(34,197,94,0.4);
}
#browseFilterChips {
  display: flex;
  flex-wrap: wrap; /* ← Key: allows wrapping to multiple lines */
  gap: 10px; /* nice spacing between chips */
  padding: 16px 0; /* breathing room top/bottom */
  margin: 0;
  overflow: hidden; /* safety */
}
.browse-filter-chip {
  flex-shrink: 0; /* prevents squishing */
  white-space: nowrap; /* keeps text on one line */
  padding: 10px 16px; /* comfortable tap target */
  font-size: 0.92rem;
  border-radius: 999px; /* pill shape */
  transition: all 0.2s ease;
}
@media (max-width: 900px) {
  #browseFilterChips {
    gap: 8px;
    padding: 12px 0;
  }
  .browse-filter-chip {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
}
@media (max-width: 480px) {
  #browseFilterChips {
    gap: 7px;
    padding: 10px 0;
  }
  .browse-filter-chip {
    padding: 7px 12px;
    font-size: 0.85rem;
  }
}
.browse-filter-chip-active {
    background: #22C55E;
    border-color: rgba(34,197,94,0.5);
  color: #fff !important;
  font-weight: 800;
}
.browse-filter-chip {
  background: rgba(72,80,95,0.6);
  border: 1px solid rgba(34,197,94,0.25);
  color: rgba(255,255,255,0.9);
}
.browse-filter-chip:hover {
  background: rgba(30,41,59,0.7);
  border-color: rgba(148,163,184,0.4);
}
/* Add this to engine.css, anywhere in the file */
/* Categories Marquee Carousel */
.front-categories {
    background: var(--bg-body);
    padding: 40px 0;
}
.categories-marquee-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0 -22px; /* full bleed on sides */
    padding: 0 22px;
}
.categories-marquee {
    display: flex;
    gap: 16px;
    white-space: nowrap;
    will-change: transform;
}
.cat-marquee-card {
    flex: 0 0 auto;
    width: 320px;
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #fff;
    text-decoration: none;
}
.cat-marquee-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.cat-marquee-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.85) 100%);
}
.cat-marquee-content {
    position: relative;
    z-index: 2;
}
.cat-marquee-name {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.cat-marquee-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
    line-height: 1.3;
    max-width: 80%;
}
.cat-marquee-card:hover .cat-marquee-bg {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
/* Responsive: Mobile show ~2 cards visible */
@media (max-width: 768px) {
    .cat-marquee-card {
        width: calc(50% - 8px); /* 2 cards - gap/2 */
    }
    .categories-marquee-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
    }
}
/* Categories Marquee Carousel - Photo Card Style */
.front-categories {
    background: var(--bg-body);
    padding: 52px 0;
}
.categories-marquee-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0 -22px;
    padding: 0 22px;
}
.categories-marquee {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    will-change: transform;
    padding: 4px 0; /* tiny breathing room top/bottom */
}
.cat-marquee-card {
    flex: 0 0 360px; /* wider cards = more impactful photos */
    height: 240px; /* taller = better photo proportion */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.28s ease;
    text-decoration: none;
    color: white;
}
.cat-marquee-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 60px rgba(0,0,0,0.65);
}
.cat-marquee-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Optional subtle vignette for better text readability */
    filter: brightness(0.92) saturate(1.05);
}
.cat-marquee-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.12) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0.92) 100%
    );
}
.cat-marquee-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 22px 20px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 70%);
}
.cat-marquee-name {
    font-size: 1.48rem;
    font-weight: 900;
    line-height: 1.08;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    letter-spacing: -0.01em;
}
.cat-marquee-desc {
    font-size: 0.94rem;
    opacity: 0.92;
    line-height: 1.35;
    margin: 0;
    max-width: 90%;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
/* Responsive sizing */
@media (max-width: 1100px) {
    .cat-marquee-card {
        flex: 0 0 320px;
        height: 220px;
    }
}
@media (max-width: 900px) {
    .cat-marquee-card {
        flex: 0 0 calc(50% - 10px);
        height: 200px;
    }
    .categories-marquee-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
    }
}
@media (max-width: 560px) {
    .cat-marquee-card {
        flex: 0 0 calc(85% - 8px); /* almost full width on very small screens */
        height: 180px;
    }
    .cat-marquee-name {
        font-size: 1.32rem;
    }
}
.nav-has-dropdown {
    position: relative;
}
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(2,6,23,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148,163,184,0.25);
    border-radius: 12px;
    padding: 16px;
    min-width: 320px;
width: 100%;
left: 0;
right: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    z-index: 100;
}
.nav-dropdown.nav-open {
    display: block;
}
/* Mobile adjustments */
@media (max-width: 899px) {
    .nav-dropdown {
        position: static;
        width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(10,14,30,0.98);
        padding: 12px 0;
    }
   
    .nav-dropdown-footer {
        display: none; /* optional – less clutter on mobile */
    }
.hero-media-fallback{
  background-image: url('/hero.jpg');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
}
/* Optional: arrow indicator */
.nav-has-dropdown::after {
    content: "▼";
    font-size: 0.7em;
    margin-left: 6px;
    opacity: 0.7;
}
.nav-has-dropdown.nav-open::after {
    content: "▲";
}
.category-track,
.cat-card {
  touch-action: pan-y;
}
.hero-media-fallback{
  background-image: url('/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
/* Mobile adjustments */
@media (max-width: 899px) {
.hero-media-fallback{
  background-image: url('/hero.jpg');
  background-size: cover;
  background-position: bottom left;
  background-repeat: no-repeat;
}
}
.browse-chip-capacity{
  background: #22C55E;
  color: #223128 !important;
  font-weight: 500;
}
.browse-chip-capacity {
top: -16px;
right: 8px;

color: #ffffff !important;
}
/* FORCE FULL-BLEED PHOTO CARDS - NO EMPTY SPACE */
.category-carousel .swiper-slide {
    height: 100%; /* ensure slide fills container height */
    width: auto !important; /* let content control width */
    padding: 0 !important;
    margin: 0 !important;
}
.category-card {
    width: 240px;
    height: 200px !important; /* card must fill the entire slide */
    margin: 0 !important;
    padding: 0 !important;
margin-right: 24px !important;
    border: none !important; /* remove any border gaps */
    border-radius: 16px; /* nice corners */
    overflow: hidden !important; /* clips image perfectly to card edges */
    position: relative;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}
.category-card:hover {
    transform: scale(1.04) translateY(-8px);
}
/* THE KEY FIXES FOR THE IMAGE */
.category-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* ← MAGIC: fills entire card, crops if needed */
    object-position: center !important;
    display: block !important;
}
/* Overlay stays on top, text at bottom */
.category-card-overlay {
    position: absolute;
    inset: 0; /* covers whole card */
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(0,0,0,0.7) 75%,
        rgba(0,0,0,0.95) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2.5rem 2rem 2rem;
    pointer-events: none; /* allows clicks through to card link */
}
.category-card-name {
    color: white;
    font-size: 1.4rem;
    font-weight: 900;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9);
    margin: 0;
    line-height: 1.2;
}
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
/* =======================================================
   ROOT VARIABLES
======================================================= */
:root {
    --bg-body: #050505;
    --bg-header: #000000;
    --bg-panel: #020617;
    --bg-panel-soft: #0b0b0b;
    --bg-light: #f9fafb;
    --border-dark: #111827;
    --border-subtle: #1f2937;
    --text-main: #f9fafb;
    --text-dark: #020617;
    --text-muted: #9ca3af;
    --accent: #22c55e;
    --accent-strong: #00e655;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 16px 40px rgba(0,0,0,0.6);
    --shadow-panel: 0 20px 60px rgba(0,0,0,0.85);
    --maxw: 1400px;
}
/* =======================================================
   BASE & RESET
======================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    touch-action: manipulation;
}
html, body {
    height: 100%;
}
body {
    font-family: 'Outfit', system-ui, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}
.hidden { display: none !important; }
a { color: inherit; }
button, input {
    font-family: inherit;
    font-size: 16px !important;
}
/* =======================================================
   GLOBAL UTILITIES
======================================================= */
.btn-primary,
.btn-add-cart,
.subscribe-submit,
.cart-badge,
.browse-badge {
    background: var(--accent);
    color: #111827;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary:hover,
.btn-add-cart:hover,
.subscribe-submit:hover {
    background: var(--accent-strong);
}
/* =======================================================
   HEADER & NAV
======================================================= */
.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    height: 80px;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-dark);
    z-index: 1000;
}
.header-inner {
    max-width: var(--maxw);
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.site-nav { flex: 1; }
.nav-link {
    padding: 7px 12px;
    border-radius: 999px;
    color: #e5e7eb;
    font-weight: 700;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav-link:hover { color: var(--accent); }
.header-burger span {
    display: block;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}
/* Mobile nav */
@media (max-width: 899px) {
    .site-nav {
        position: absolute;
        top: 80px;
        left: 0; right: 0;
        background: var(--bg-panel);
        border-bottom: 1px solid var(--border-subtle);
        padding: 10px 16px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: all 0.18s ease;
    }
    .site-nav.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}
/* =======================================================
   HERO
======================================================= */
.site-main { margin-top: 80px; }
.hero {
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}
.hero-media-fallback {
    background:
        radial-gradient(circle at 20% 0, rgba(34,197,94,0.16), transparent 55%),
        linear-gradient(135deg, #020617, #030712);
    background-size: cover;
    background-position: center;
}
/* Hero controls */
.hero-dot-active { background: var(--accent); }
/* =======================================================
   CARDS - Browse / Spotlight / Product
======================================================= */
.browse-card,
.pkg-card {
    background: radial-gradient( circle at 20% 20%, rgba(34,197,94,.70), transparent 55% ), rgba(2,6,23,.55);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.browse-card-fallback,
.product-main-skeleton,
.extras-thumb-fallback {
    background:
        radial-gradient(circle at 20% 0, rgba(34,197,94,0.16), transparent 52%),
        radial-gradient(circle at 80% 100%, rgba(249,250,251,0.08), transparent 55%),
        linear-gradient(135deg, #020617, #030712);
}
.front-spotlight .browse-card {
    background: white;
    color: #020617;
    border-color: #e5e7eb;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
/* =======================================================
   BUTTONS & CHIPS
======================================================= */
.btn-ghost {
    border: 1px solid rgba(148,163,184,0.65);
    background: transparent;
    color: #e5e7eb;
}
.browse-filter-chip-active,
.product-tab-btn.active {
    background: var(--accent);
    color: #111827;
    font-weight: 800;
}
.browse-chip-capacity {
    background: var(--accent);
    color: white !important;
}
/* =======================================================
   DRAWERS / MODALS / TOAST
======================================================= */
.drawer,
.modal,
.toast,
.product-modal {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
}
/* =======================================================
   PRODUCT EXTRAS & BUNDLES
======================================================= */
.product-extras-badge,
.browse-badge-bundle {
    background: rgba(34,197,94,0.16);
    border-color: rgba(34,197,94,0.4);
    color: #f9fafb;
}
.browse-chip-bundle {
    background: rgba(34,197,94,0.15);
    border-color: rgba(34,197,94,0.3);
    color: #86efac;
}
/* =======================================================
   FINAL TOUCHES & FIXES
======================================================= */
.browse-cat-title {
    border-bottom: 2px solid rgba(34,197,94,0.45);
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* Z-index safety net for overlays */
#cartDrawerOverlay,
#authDrawerOverlay,
#siteToast,
#emptyCartModal,
.product-overlay,
.modal-overlay {
    z-index: 9999999999999999999999999999 !important;
}
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* =======================================================
   ROOT VARIABLES – enhanced with more semantic shades
======================================================= */
:root {
    --bg-body: #050505;
    --bg-header: #000000;
    --bg-panel: #020617;
    --bg-panel-soft: #0b0b0f;
    --bg-glass: rgba(2, 6, 23, 0.72);
    --bg-light: #f9fafb;
    --border-dark: #111827;
    --border-subtle: #1f2937;
    --border-glow: rgba(34, 197, 94, 0.28);
    --text-main: #f9fafb;
    --text-dark: #020617;
    --text-muted: #9ca3af;
    --text-subtle: #6b7280;
    --accent: #22c55e;
    --accent-strong: #00e655;
    --accent-glow: rgba(34, 197, 94, 0.18);
    --accent-dark: #15803d;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-card: 0 16px 40px rgba(0,0,0,0.65), 0 4px 12px rgba(34,197,94,0.08);
    --shadow-panel: 0 24px 70px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.03);
    --shadow-glow: 0 0 24px rgba(34,197,94,0.35);
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --maxw: 1440px;
}

/* =======================================================
   RESET / BASE – improved touch & font smoothing
======================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    touch-action: manipulation;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    min-height: 100vh;
}

.hidden { display: none !important; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
    font-family: inherit;
    font-size: 16px;
}

/* Modern scrollbar – subtle green accent */
html {
    --scrollbar-thumb: #22c55e;
    --scrollbar-thumb-hover: #00e655;
    --scrollbar-track: #0b0f1c;
}

html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--scrollbar-track); }
html::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 3px solid var(--scrollbar-track);
}
html::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* =======================================================
   HEADER – cleaner, glassier feel
======================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    z-index: 1000;
}

.header-inner {
    max-width: var(--maxw);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    height: 48px;
    transition: var(--transition);
}

.site-logo:hover { transform: scale(1.04); }

/* =======================================================
   NAVIGATION – smoother dropdowns & mobile
======================================================= */
.nav-link {
    padding: 8px 16px;
    border-radius: 999px;
    color: #e5e7eb;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(34,197,94,0.12);
    color: var(--accent);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-panel);
    padding: 12px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

.nav-dropdown.nav-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #e5e7eb;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown-item:hover {
    background: rgba(34,197,94,0.15);
    color: var(--accent);
}

/* Mobile nav */
@media (max-width: 899px) {
    .site-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-subtle);
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
    }

    .site-nav.nav-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* =======================================================
   BUTTONS – more premium feel
======================================================= */
.btn-primary,
.btn-add-cart,
.subscribe-submit {
    background: linear-gradient(145deg, var(--accent), var(--accent-strong));
    color: #111827;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(34,197,94,0.3);
    transition: var(--transition);
}

.btn-primary:hover,
.btn-add-cart:hover,
.subscribe-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34,197,94,0.45);
}

.btn-ghost {
    border: 1px solid rgba(148,163,184,0.5);
    background: transparent;
    color: #e5e7eb;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(34,197,94,0.12);
    border-color: var(--accent);
}

/* =======================================================
   CARDS – deeper depth, subtle glow
======================================================= */
.browse-card,
.pkg-card,
.extra-card,
.cat-marquee-card {
    background: linear-gradient(145deg, rgba(2,6,23,0.9), rgba(2,6,23,0.7));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.browse-card:hover,
.pkg-card:hover,
.extra-card:hover,
.cat-marquee-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-glow), 0 24px 60px rgba(0,0,0,0.7);
    border-color: var(--border-glow);
}

.browse-card-fallback,
.product-main-skeleton {
    background: linear-gradient(135deg, #020617, #0b1220);
    background-size: 200% 200%;
    animation: subtlePulse 12s ease infinite;
}

@keyframes subtlePulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* =======================================================
   DRAWERS, MODALS, TOAST – glass morphism upgrade
======================================================= */
.drawer,
.modal,
.toast,
.product-modal {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
}

/* =======================================================
   FOOTER – cleaner & elegant
======================================================= */
.site-footer {
    background: linear-gradient(to top, #000, #020617);
    border-top: 1px solid var(--border-dark);
    padding: 60px 0 40px;
}

/* =======================================================
   FINAL TOUCHES – accessibility & polish
======================================================= */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Z-index fortress – nothing overlaps unexpectedly */
#cartDrawerOverlay,
#authDrawerOverlay,
#siteToast,
#emptyCartModal,
.product-overlay,
.modal-overlay {
    z-index: 9999999999 !important;
}
#packages .browse-card-media img {
	object-fit: contain !important;
}