:root {
    --header-h: 0px;
    /* set by JS */

    /* LIGHT THEME */
    --bg: #f6f7fb;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --line: rgba(15, 23, 42, .12);

    --brand: #2563eb;
    --brand2: #16a34a;
    --warning: #d97706;

    --radius: 16px;
    --max: 1160px;
    --shadow: 0 18px 50px rgba(2, 6, 23, .12);

    /* Gold accent set (Catalog) */
    --gold-1: #f5d38a;
    --gold-2: #d6a84a;
    --gold-3: #b07a1e;

    --utility-shadow:
        0 8px 22px rgba(2, 6, 23, 0.08),
        0 2px 6px rgba(2, 6, 23, 0.06);
}

/* Let the browser style native UI correctly */
html {
    color-scheme: light dark;
    scroll-behavior: smooth;
}

html.dark-mode {
    /* DARK THEME */
    --bg: #0b0f14;
    --surface: #111826;
    --surface2: #0f172a;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --line: rgba(255, 255, 255, .10);

    --brand: #60a5fa;
    --brand2: #22c55e;
    --warning: #fbbf24;

    --shadow: 0 18px 50px rgba(0, 0, 0, .45);

    /* Category color accents (dark mode) */
    --cat-living: #60a5fa;
    --cat-bedroom: #c084fc;
    --cat-dining: #fbbf24;
    --cat-office: #2dd4bf;
    --cat-outdoor: #4ade80;
    --cat-kids: #fb7185;

    /* Gold accent set (Catalog) */
    --gold-1: #f7dd9b;
    --gold-2: #f2c14f;
    --gold-3: #c78a22;

    --tt: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background:
        radial-gradient(1200px 500px at 20% -10%,
            color-mix(in oklab, var(--brand) 22%, transparent),
            transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.55;
}

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

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}

.is-hidden {
    display: none !important;
}

/* Header / Nav */
.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--text);
    color: #111;
    padding: .6rem 1rem;
    border-radius: 999px;
    z-index: 999;
}

.skip-link:focus {
    left: 10px;
}

/* =========================
   HEADER (progressive hide)
========================= */
header {
    position: sticky;
    top: 0;

    /* must be above the drawer */
    z-index: 3000;

    /* remove blur */
    backdrop-filter: none;

    /* keep it clean + readable */
    background: var(--surface);

    border-bottom: 1px solid var(--line);
    transform: translateY(0);
    will-change: transform;

    transition: background .2s ease;
}

/* dark mode header stays solid too */
html.dark-mode header {
    background: var(--surface2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 10px 0 10px 0;
}

/* LOGO STYLE */
.logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

/* Stack tagline lines */
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.brand-text {
    position: relative;
    padding-inline: .4rem;
}

.brand-text::before,
.brand-text::after {
    position: absolute;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: color-mix(in oklab, var(--text) 100%, transparent);
    opacity: .65;
    line-height: 1;
}

.brand-text::before {
    content: "“";
    left: -0.25rem;
    top: -0.1rem;
}

.brand-text::after {
    content: "”";
    right: -0.10rem;
    bottom: -0.15rem;
}

/* Don't underline the logo + tagline link */
a.brand:hover,
a.brand:focus-visible {
    text-decoration: none;
}

/* Base tagline line */
.tagline-line {
    font-size: 0.9rem;
    font-weight: 650;
    font-style: italic;
    letter-spacing: 0.02em;
    color: color-mix(in oklab, var(--text) 75%, var(--muted));
    white-space: nowrap;
}

/* Emphasize second line slightly */
.tagline-line.emphasis {
    font-weight: 650;
    color: color-mix(in oklab, var(--text) 75%, var(--muted));
}

@media (max-width: 980px) {
    .logo {
        width: 84px;
        height: 84px;
    }

    .tagline-line {
        font-size: 0.86rem;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 80px;
        height: 80px;
    }

    .tagline-line {
        font-size: 0.84rem;
    }
}

@media (max-width: 600px) {
    .logo {
        width: 77px;
        height: 77px;
    }

    .tagline-line {
        font-size: 0.82rem;
    }
}

.nav-center {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 0 0 auto;
}

/* ====================
   MAIN NAV (underline)
   ==================== */

/* Base top-level items -  Behavior & animation */
.nav-center > a,
.dropbtn {
    background: transparent;
    border-color: transparent;
    text-decoration: none;
    position: relative;
    transition: color .2s ease, opacity .2s ease;
}

/* Base top-level items -  Sizing & shape */
.nav-center > a,
.dropbtn {
    padding: .5rem .5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .98rem;
    white-space: nowrap;
}

/* Clean underline indicator */
.nav-center > a::after {
    content: "";
    position: absolute;
    left: .55rem;
    /* matches your spacing */
    right: .55rem;
    bottom: .45rem;
    height: 2px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--brand) 75%, transparent);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
}

/* Hover */
.nav-center > a:hover {
    background: transparent;
    border-color: transparent;
    color: color-mix(in oklab, var(--text) 90%, var(--brand));
    text-decoration: none;
}

.nav-center > a:hover::after {
    transform: scaleX(1);
    opacity: .9;
}

/* Focus (keyboard) */
.nav-center > a:focus-visible {
    outline: none;
    background: transparent;
    border-color: transparent;
    box-shadow:
        0 0 0 2px var(--bg),
        0 0 0 4px color-mix(in oklab, var(--brand) 65%, transparent);
}

.nav-center > a:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Active/current nav item */
.nav-center > a.is-active {
    color: color-mix(in oklab, var(--text) 90%, var(--brand));
}

.nav-center > a.is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Dark mode: slightly stronger underline */
html.dark-mode .nav-center > a::after,
html.dark-mode .dropbtn::before {
    background: color-mix(in oklab, var(--brand) 85%, transparent);
    opacity: .85;
}


/* ===== Theme Toggle Button (shared) ===== */
.theme-toggle-btn {
    width: 39.5px;
    height: 39.5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    margin-left: 1px;
    transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

/* Hover ring (same in light + dark) */
.theme-toggle-btn:hover {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--text) 8%, transparent);
    text-decoration: none;
}

/* Hide both by default; CSS reveals one depending on theme */
.theme-toggle-btn .moon,
.theme-toggle-btn .sun {
    display: none;
}

/* Light mode: dark circle + moon icon */
html:not(.dark-mode) .theme-toggle-btn {
    background: #020617;
}

html:not(.dark-mode) .theme-toggle-btn .moon {
    display: inline;
    color: #f9fafb;
}

/* Dark mode: white circle + sun icon */
html.dark-mode .theme-toggle-btn {
    background: #ffffff;
}

html.dark-mode .theme-toggle-btn .sun {
    display: inline;
    color: #facc15;
}

/* =======================================
   NAV PILL (Resources) - centered content
   ======================================= */
.nav-center .dropbtn.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* centers label+chevron as a group */
    gap: .45rem;

    line-height: 1;
    white-space: nowrap;

    /* remove the “reserve space for absolute arrow” behavior */
    padding-right: .58rem;
    /* override your padding-right: 2rem */
}

/* Make the chevron part of the flex flow (NOT absolute) */
.nav-center .dropbtn.nav-pill::after {
    position: static;
    /* cancels absolute positioning */
    right: auto;
    top: auto;

    margin-left: .1rem;
    /* optional micro tweak */
    transform: rotate(-45deg);
    /* closed: > */
    opacity: .65;
}

/* Open state rotation */
.nav-center .dropdown.open .dropbtn.nav-pill::after,
.nav-center .dropbtn.nav-pill[aria-expanded="true"]::after {
    transform: rotate(45deg);
    opacity: .95;
}

/* Responsive*/
@media (max-width: 1090px) and (min-width: 981px) {
    .nav-center .dropbtn.nav-pill {
        padding-right: .52rem;
        /* keep it centered on tablet too */
    }

    .nav-center .dropbtn.nav-pill::after {
        position: static;
        right: auto;
        top: auto;
        transform: rotate(-45deg);
    }

    .nav-center .dropdown.open .dropbtn.nav-pill::after,
    .nav-center .dropbtn.nav-pill[aria-expanded="true"]::after {
        transform: rotate(45deg);
    }
}

/* ==========================
   DESKTOP DROPDOWNS
   (Responsive chevron arrow)
   ========================== */
.dropdown {
    position: relative;
}

/* Button baseline from .nav-center */
.dropbtn {
    position: relative;
    /* needed for ::after positioning */
    cursor: pointer;
    color: var(--text);
    /* room for arrow */
    padding-right: 2rem;
}

/* Hover matches your desktop nav link hover */
.dropbtn:hover {
    border-color: var(--line);
    background: rgba(255, 255, 255, .05);
    text-decoration: none;
}

/* Keyboard focus matches your desktop nav link focus */
.dropbtn:focus-visible {
    border-color: var(--line);
    background: rgba(255, 255, 255, .05);
    text-decoration: none;
    box-shadow:
        0 0 0 2px var(--bg),
        0 0 0 4px color-mix(in oklab, var(--brand) 65%, transparent);
}

/* Desktop dropdown arrow */
.dropbtn::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 53%;
    width: .38rem;
    height: .38rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    /* CLOSED: > (right) */
    transform: translateY(-50%) rotate(-45deg);
    opacity: .65;
    transition: transform .2s ease, opacity .2s ease;
}

/* OPEN state = rotate down/right */
.dropdown.open .dropbtn::after,
.dropbtn[aria-expanded="true"]::after {
    opacity: .95;
    transform: translateY(-50%) rotate(45deg);
}

/* Slightly stronger visibility in dark mode */
html.dark-mode .dropbtn::after {
    opacity: .8;
}

/* Menu panel */
.dropmenu {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    min-width: 220px;
    font-size: 0.98rem;
    padding: .2rem .5rem .2rem .5rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: color-mix(in oklab, var(--surface) 96%, #000);
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
}

/* Menu items */
.dropmenu a {
    display: block;
    padding: .5rem .6rem;
    margin: .25rem 0;
    border-radius: 12px;
    color: var(--text);
    transition: background .2s ease, box-shadow .2s ease;
}

.dropmenu a:hover {
    background: color-mix(in oklab, var(--text) 6%, transparent);
    text-decoration: none;
}

.dropmenu a:focus-visible {
    background: rgba(255, 255, 255, .06);
    box-shadow:
        0 0 0 2px var(--surface),
        0 0 0 4px color-mix(in oklab, var(--brand) 65%, transparent);
    text-decoration: none;
}

/* Open state */
.dropdown.open .dropmenu {
    display: block;
}

/*  =========================
    MOBILE: RIGHT-SIDE DRAWER
    ========================= */
.drawer {
    position: fixed;
    left: 0;
    right: 0;

    /* START UNDER HEADER */
    top: var(--header-h);
    height: calc(100dvh - var(--header-h));

    /* BELOW header (header is 3000) */
    z-index: 2000;

    /* allow slide animation */
    opacity: 0;
    pointer-events: none;
}

.drawer.open {
    opacity: 1;
    pointer-events: auto;
}

/* Backdrop covers ONLY under-header area */
.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .25);

    /* blur backdrop filter */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Panel slides from right */
.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(380px, 92vw);
    border-left: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: none;
    padding: 1rem;
    overflow: auto;

    /* slide animation */
    transform: translateX(100%);
    transition: transform .22s ease;
}

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

/* dark mode surface */
html.dark-mode .drawer-panel {
    background: var(--surface2);
}

.drawer-head {
    display: flex;
    justify-content: center;
    /* centers horizontally */
    align-items: center;
    /* centers vertically */
    padding: .2rem 0 .5rem 0;
}

.drawer-title {
    justify-self: start;
}

.drawer-close {
    justify-self: end;
}

.drawer-close.btn {
    border-radius: 999px;
    padding: .45rem .75rem;
}

.mobile-links {
    display: grid;
    gap: .55rem;
}

.mobile-links > a {
    font-size: .98rem;
    padding: .8rem .9rem;
    border-radius: 14px;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease;
}


.mobile-links > a:focus-visible {
    background: rgba(255, 255, 255, .08);
    box-shadow:
        0 0 0 2px var(--surface),
        0 0 0 4px color-mix(in oklab, var(--brand) 65%, transparent);
    text-decoration: none;
}

.mobile-group {
    font-size: .98rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: .2rem;
}

.mobile-group summary {
    cursor: pointer;
    padding: .75rem .9rem;
    font-weight: 700;
    list-style: none;
}

.mobile-group summary:focus-visible {
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    box-shadow:
        0 0 0 2px var(--bg),
        0 0 0 4px color-mix(in oklab, var(--brand) 65%, transparent);
}

@media (max-width: 480px) {

    /* Panel slides from right */
    .drawer-panel {
        height: 100%;
        width: 100%;
    }
}

/* ===== Mobile <details> summary arrow (matches desktop dropdown cue) ===== */
.mobile-group summary {
    position: relative;
    padding-right: 2.2rem;
    /* room for arrow */
    list-style: none;
    /* already have */
}

/* Hide default marker */
.mobile-group summary::-webkit-details-marker {
    display: none;
}

.mobile-group summary::marker {
    content: "";
}

/* Arrow icon */
.mobile-group summary::after {
    content: "";
    position: absolute;
    right: .8rem;
    top: 53%;
    width: .38rem;
    height: .38rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    /* CLOSED: > (right) */
    transform: translateY(-65%) rotate(-45deg);
    opacity: .65 !important;
    transition: transform .2s ease, opacity .2s ease;
}

/* Rotate when open */
.mobile-group[open] summary::after {
    opacity: .95 !important;
    transform: translateY(-65%) rotate(45deg);
}

/* Optional: make it a bit more visible in dark mode */
html.dark-mode .mobile-group summary::after {
    opacity: .8;
}

.mobile-sub {
    display: grid;
    gap: .35rem;
    padding: .1rem .7rem .8rem;
}

.mobile-sub a {
    padding: .6rem .75rem;
    border-radius: 12px;
    text-decoration: none;
    margin: .1rem 0;
}

.mobile-sub a:hover {
    border-color: var(--line);
    background: color-mix(in oklab, var(--text) 4%, transparent);
    text-decoration: none;
}


.mobile-sub a:focus-visible {
    background: rgba(255, 255, 255, .08);
    box-shadow:
        0 0 0 2px var(--surface),
        0 0 0 4px color-mix(in oklab, var(--brand) 65%, transparent);
    text-decoration: none;
}

.mobile-actions {
    display: grid;
    gap: .55rem;
    margin-top: .8rem;
}

.mobile-actions .ghost {
    margin-bottom: .2rem;
}

/* ================================
   MOBILE NAV HOVER (match desktop)
   ================================ */
/* LIGHT MODE hover */
html:not(.dark-mode) .mobile-links > a:hover {
    border-color: var(--line);
    background: color-mix(in oklab, var(--text) 4%, transparent);
    text-decoration: none;
}

/* DARK MODE hover (more visible on dark surfaces) */
html.dark-mode .mobile-links > a:hover {
    border-color: var(--line);
    background: color-mix(in oklab, var(--text) 10%, transparent);
    text-decoration: none;
}

html.dark-mode .mobile-sub a:hover {
    border-color: var(--line);
    background: color-mix(in oklab, var(--text) 6%, transparent);
    text-decoration: none;
}

/* Active/current nav item  - look different than in light mode*/
html:not(.dark-mode) .mobile-sub a.is-active {
    border-color: var(--line);
    background: color-mix(in oklab, var(--text) 11%, transparent);
    text-decoration: none;
}

/* Active/current nav item  - look different in dark mode*/
.dropmenu a.is-active,
.mobile-links > a.is-active,
.mobile-sub a.is-active {
    border-color: var(--line);
    background: color-mix(in oklab, var(--text) 15%, transparent);
    text-decoration: none;
}

/* ===== Desktop / Mobile visibility helpers ===== */
.desktop-only {
    display: inline-flex;
}

.mobile-only {
    display: none;
}

/* ===== Hamburger Menu Button ===== */
.menu-btn {
    display: none;
    /* hidden on desktop */
}

.hamburger {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);

    display: inherit;
    /* IMPORTANT: let .menu-btn control visibility */
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, .07);
}

.hamburger:active {
    transform: scale(.98);
}

.hamburger:focus-visible {
    box-shadow:
        0 0 0 2px var(--bg),
        0 0 0 4px color-mix(in oklab, var(--brand) 65%, transparent);
}

/* the 3 lines */
.hamburger-box {
    width: 18px;
    display: grid;
    gap: 4px;
}

.hamburger-line {
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* Turn hamburger into an X when open */
.hamburger.is-open .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ====================
   TABLET PRE-COLLAPSE 
======================= */
@media (max-width: 1090px) and (min-width: 981px) {
    .nav {
        gap: .6rem;
    }

    .nav-center {
        gap: .15rem;
    }

    .nav-center > a,
    .dropbtn {
        padding: .45rem .45rem;
        font-size: .96rem;
    }

    .nav-cta {
        gap: .5rem;
    }

    .nav-cta .btn {
        padding: .38rem .65rem;
        font-size: .9rem;
        white-space: nowrap;
    }

    /* phone button slightly tighter */
    .nav-cta .btn.ghost {
        padding-inline: .55rem;
    }

    .nav-center .dropbtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 35px;
        line-height: 1;
        padding-right: 1.1rem;
        margin-right: .5rem;
    }

    /* CLOSED: > */
    .nav-center .dropbtn::after {
        width: .34rem;
        height: .34rem;
        right: .1rem;
        top: 53%;
        transform: translateY(-50%) rotate(-45deg);
        opacity: .65;
        transition: transform .2s ease, opacity .2s ease;
    }

    /* OPEN: ˅ */
    .nav-center .dropdown.open .dropbtn::after,
    .nav-center .dropbtn[aria-expanded="true"]::after {
        transform: translateY(-50%) rotate(45deg);
        opacity: .95;
    }

    .drawer {
        display: none !important;
    }

    .theme-toggle-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* Chevron tweak on smaller screens */
@media (max-width: 1030px) {

    /* hide the phone CTA first (big width hog) */
    .nav-cta .btn.ghost.desktop-only {
        display: none !important;
    }
}

/* =================
   MOBILE breakpoint 
   ================= */
/* Hide brand-text */
@media (max-width: 320px) {
    .brand-text {
        display: none;
    }
}

@media (max-width: 980px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inline-flex !important;
    }

    .nav-center {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
    }

    .drawer-head .theme-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* Desktop/tablet: hide hamburger */
@media (min-width: 981px) {
    .menu-btn {
        display: none !important;
    }

    .nav-center {
        display: flex;
    }
}

/* =========================
   MOBILE BUTTON SIZING
   (prevents oversized CTAs)
   ========================= */
@media (max-width: 741px) {

    /* Keep section header CTA from getting huge */
    .section-title .btn,
    .section-title a.btn {
        min-height: 43px;
        padding: 0.55rem 0.9rem;
        font-size: 0.94rem;
        line-height: 1.2;
        white-space: nowrap;
        text-align: center;
        border-radius: 999px;
    }

    /* Mobile drawer actions: keep them touch-friendly */
    .mobile-actions .btn,
    .mobile-actions a.btn {
        min-height: 44px;
        padding: 0.55rem 1rem;
        font-size: 0.95rem;
        line-height: 1.2;
        text-align: center;
        width: 100%;
        max-width: 100%;
        border-radius: 999px;
    }

    /* Only force nowrap when you explicitly want it */
    .section-title .btn.wrap,
    .section-title a.btn.wrap,
    .mobile-actions .btn.wrap,
    .mobile-actions a.btn.wrap {
        white-space: nowrap;
    }
}

/* ==========================================
   MOBILE PERFORMANCE RESET (≤600px)
   Remove lift / shadow / transforms
   Keep buttons untouched
   ========================================== */
@media (max-width: 600px) {

    /* --- Catalog cards --- */
    #catalog .feature:hover {
        transform: none !important;
        box-shadow:
            0 24px 70px rgba(2, 6, 23, .18),
            0 0 0 1px rgba(255, 255, 255, .30);
    }

    /* --- Gallery tiles --- */
    .gallery-item,
    .gallery-item:hover,
    .gallery-item:focus-visible {
        transform: none !important;
    }

    .gallery-item img {
        transform: none !important;
    }

    /* --- Product cards --- */
    .product,
    .product:hover {
        transform: none !important;
    }

    .product img {
        transform: none !important;
    }

    /* --- Generic cards (if used elsewhere) --- */
    .card,
    .card:hover {
        transform: none !important;
    }

    /* --- Modals & Lightbox (remove extra depth effects) --- */
    /*
  .lightbox-panel,
  .modal-panel {
    box-shadow: none !important;
  }
  */

    /* --- Remove unnecessary transitions for smoother mobile performance --- */
    .gallery-item,
    .product,
    .card,
    .gallery-item img,
    .product img {
        transition: none !important;
    }

}

/* =====================
   HERO INSPIRED LAYOUT
   ===================== */
.hero-split {
    margin-top: -40px;
}

/* Hero image */
.hero-banner {
    position: relative;
    min-height: clamp(320px, 48vw, 520px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: url("images/hero-bg1.png") center / cover no-repeat;
}

/* Single elegant overlay */
.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        /* soft vignette for readability */
        radial-gradient(1200px 520px at 50% 45%,
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .55)),
        /* very subtle brand warmth */
        linear-gradient(to bottom,
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .20));
}

/* Content */
.hero-banner-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 1rem;
    max-width: 820px;
}

.hero-title {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 35 10px 30px rgba(0, 0, 0, .45);
}

.hero-subtitle {
    margin: .65rem auto 1.25rem;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    color: rgba(255, 255, 255, 1);
    max-width: 56ch;
}

/* CTA row */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Promo band */
.hero-promo {
    background: color-mix(in oklab, var(--surface) 92%, #000);
    border-top: .7px solid var(--line);
    border-bottom: .7px solid var(--line);
}

html.dark-mode .hero-promo {
    background: rgba(17, 24, 38, .75);
}

.hero-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 0;
}

.promo-copy h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.promo-copy p {
    margin: .35rem 0 0;
    color: var(--muted);
    max-width: 62ch;
}

.promo-actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Mobile */
@media (max-width: 980px) {
    .hero-promo-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-actions {
        justify-content: flex-start;
    }
}


/* =======================
   ABOUT SECTION (EARLY)
========================== */
#about {
    background: transparent;
    border-top: 0 solid var(--line);
    border-bottom: 0 solid var(--line);
    margin: -5px;
}

.about-points {
    margin: .6rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: .55rem;
    color: var(--muted);
}

.about-points li {
    line-height: 1.55;
}

.about-points strong {
    color: var(--text);
    font-weight: 700;
}

/* =======================
   ABOUT: CARD ALIGNMENT
========================== */
#about .feature-card {
    display: flex;
    flex-direction: column;
}

/* Space paragraphs evenly */
#about .feature-card p {
    margin-bottom: .85rem;
}

/* Remove extra margin on last paragraph */
#about .feature-card p:last-of-type {
    margin-bottom: .85rem;
}

/* Push buttons to bottom so both align */
#about .about-actions,
#about .feature-card > div:last-child {
    margin-top: auto;
}

/* Ensure grid items stretch equally */
#about .grid-2 {
    align-items: stretch;
}

/* Card layout */
#about .feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Normalize spacing */
#about .feature-card p,
#about .about-points {
    margin-bottom: .85rem;
}

/* Button row pinned to bottom */
#about .about-actions {
    margin-top: auto;
    padding-top: .85rem;
    display: flex;
}

/* =======================
   ABOUT: STOREFRONT IMAGE
   ======================= */
.about-storefront {
    margin: 1.25rem 0 0;
}

.about-storefront img {
    width: 100%;
    border-radius: 14px;
}

/* ===== CARD STYLE ===== */
.card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-pad {
    padding: 1.6rem;
}

h2 {
    margin: .8rem 0 .6rem;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -.02em;
}

section {
    padding: 2.5rem 0;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-title h3 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -.01em;
}

.section-title p {
    margin: 0;
    color: var(--muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

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


@media (max-width: 980px) {
    .section-title {
        align-items: flex-start;
    }

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

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

.feature {
    padding: 1.2rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    border-radius: var(--radius);
}

.feature h4 {
    margin: 0 0 .35rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

/* ==================================
   CATALOG CARDS — GLOSSY GOLD ACCENT
   ================================== */

#catalog .feature {
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    backdrop-filter: blur(6px);
}

/* Glossy gold wash + highlight streak */
#catalog .feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .34;
    background:
        linear-gradient(115deg,
            transparent 0%,
            color-mix(in oklab, var(--gold-1) 38%, transparent) 35%,
            transparent 70%),
        /* main gold wash (slightly stronger) */
        linear-gradient(135deg,
            color-mix(in oklab, var(--gold-2) 28%, transparent),
            color-mix(in oklab, var(--gold-3) 18%, transparent));

    transition: opacity .25s ease, background .25s ease;
}

/* Hover */
#catalog .feature:hover::before {
    opacity: .40;
    background:
        linear-gradient(115deg,
            transparent 0%,
            color-mix(in oklab, var(--gold-1) 40%, transparent) 35%,
            transparent 70%),
        linear-gradient(135deg,
            color-mix(in oklab, var(--gold-2) 30%, transparent),
            color-mix(in oklab, var(--gold-3) 18%, transparent));
}

/* Keep text above the wash */
#catalog .feature > * {
    position: relative;
    z-index: 1;
}

/* Hover polish: slightly goldier border on hover */
#catalog .feature:hover {
    transform: translateY(-4px);
    border-color: color-mix(in oklab, var(--gold-2) 35%, var(--line));
    box-shadow:
        0 24px 70px rgba(2, 6, 23, .18),
        0 0 0 1px rgba(255, 255, 255, .30);
}

/* Arrow: make it gold + a touch more visible */
#catalog .feature-link::after {
    color: color-mix(in oklab, var(--gold-2) 70%, var(--text));
    opacity: .55;
}

#catalog .feature-link:hover::after {
    opacity: .85;
}

/* Make entire collection cards clickable */
.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.feature-link:hover {
    text-decoration: none;
}

/* arrow */
.feature-link::after {
    content: "→";
    position: absolute;
    right: 1.2rem;
    bottom: 1.1rem;
    font-size: 1.2rem;
    opacity: .35;
    transition: transform .25s ease, opacity .25s ease;
}

.feature-link:hover::after {
    transform: translateX(4px);
    opacity: .7;
}

html.dark-mode #catalog .feature {
    box-shadow: 0 18px 55px rgba(0, 0, 0, .55);
}


/* ==================================
   PRODUCTS PAGE FEATURED PICKS STYLE
   ================================== */
.product {
    display: grid;
    grid-template-rows: 300px auto;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.featured-products {
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer !important;
}

.featured-products:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.15);
}

/* Products page: allow zoom cursor on product images EXCEPT Featured Picks */
.product-section:not(#featured) .product .img,
.product-section:not(#featured) .product .img img {
    cursor: zoom-in !important;
}

/* Featured Picks: keep original behavior */
#featured .product .img,
#featured .product .img img {
    cursor: pointer;
}

.product-link {
    display: grid;
    grid-template-rows: 300px auto;
    grid-row: 1 / -1;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.product-link:hover {
    text-decoration: none;
}

#title-btn .btn {
    width: 43px;
    height: 43px;
}

#title-btn .btn i {
    font-size: 1.3rem;
}

.product-section .viewmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.product .img {
    height: 300px;
    /* matches your grid row */
    overflow: hidden;
    background: rgba(0, 0, 0, .15);
}

.product .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills the space cleanly */
    object-position: center;
    display: block;
}

.product .meta {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
}

.product .meta strong {
    display: block;
    margin-bottom: .25rem;
}

.product .meta span {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 1rem;
}

.view-more-btn {
    margin-top: .72rem;
    min-height: 44px;
}

@media (max-width: 741px) {
    .view-more-btn {
        min-height: 42px;
    }
}

/* =========================
   PRODUCTS PAGE EXPAND GRID
   ========================= */
.products-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

/* Tablet: 2 per row */
@media (max-width: 980px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-grid.grid-3 {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
    #title-btn .btn i {
        font-size: 1.2rem;
    }

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

/* Collapsed: hide extra cards */
.products-grid[data-collapsed="true"] .product.is-hidden {
    display: none !important;
}

/* Expanded: show extra cards */
.products-grid[data-collapsed="false"] .product.is-hidden {
    display: grid !important;
}

/* ==========================================
   TABLET ONLY: hide 3rd item when collapsed
   ========================================== */
@media (max-width: 980px) and (min-width: 601px) {

    /* Hide every 3rd card only in the collapsed state */
    .products-grid[data-collapsed="true"] .product:nth-child(3n) {
        display: none;
    }

    /* When expanded, allow all cards to show */
    .products-grid[data-collapsed="false"] .product:nth-child(3n) {
        display: grid;
        /* keeps your product layout consistent */
    }
}

/* ========================================
   PRODUCTS PAGE - BACK TO TOP BUTTON STYLE
   ======================================== */
.to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 3000;
    width: 46px;
    height: 46px;
    padding: 0;
    /* make it a perfect circle */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.to-top i {
    font-size: 1.1rem;
}

/* show after scrolling */
.to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .to-top {
        width: 40px !important;
        height: 40px !important;

        /* these are the usual culprits from .btn */
        padding: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        line-height: 1 !important;

        /* force true circle */
        border-radius: 999px !important;

        /* keep it centered */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        right: .75rem;
        bottom: .75rem;
    }

    .to-top i {
        font-size: 1rem !important;
        line-height: 1 !important;
    }
}

/* ===========================
   PRICING BANNER (Products)
   =========================== */
.pricing-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    /* slightly more compact */
    padding: .85rem 1rem;
    margin: 0 0 1rem 0;

    border: 1px solid color-mix(in oklab, var(--warning) 35%, var(--line));
    background: color-mix(in oklab, var(--surface) 85%, transparent);
    color: color-mix(in oklab, var(--text) 64%, var(--muted));
    border-radius: 12px;
}

.pricing-banner__copy {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    max-width: 66ch;
    /* prevents super long line stretching */
}

/* FIX: scope margins only inside banner */
.pricing-banner__copy i,
.pricing-banner__copy p {
    margin: 0;
    line-height: 1.45;
}

.pricing-banner__copy i {
    font-size: 1rem;
}

/* icons color */
.fa-circle-info,
.fa-photo-film {
    color: color-mix(in oklab, var(--warning) 70%, var(--text));
}

.pricing-banner__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* smaller buttons in these banners */
.pricing-banner__actions .btn {
    padding: .5rem .65rem !important;
    white-space: nowrap !important;
}

/* ===========================
   Responsive
   =========================== */

/* medium: keep row but let actions wrap nicely */
@media (max-width: 1100px) {
    .pricing-banner__copy {
        max-width: 100%;
    }
}

/* mobile: stack content + actions; actions aligned left and wrap */
@media (max-width: 800px) {
    .pricing-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: .75rem .9rem;
    }

    .pricing-banner__actions {
        width: 100%;
        justify-content: flex-start;
        gap: .6rem;
    }

    /* two nice buttons across when possible */
    .pricing-banner__actions .btn {
        flex: 1 1 160px;
        justify-content: center;
        text-align: center;
    }
}

/* ========================================
   PRODUCTS PAGE - PRICE BUTTONS FIXED SIZE
   ======================================== */
.btn-sm {
    margin-top: auto;
    /* keeps it pinned to bottom */
    padding: .45rem .7rem;
    font-size: .92rem;
    line-height: 1;
    min-height: unset;
    min-width: unset;

    display: inline-flex;
    /* key */
    align-items: center;
    justify-content: center;

    width: fit-content;
    /* key */
    white-space: nowrap;
    /* prevents wrapping */
}


/* ==========================================
   PRODUCT UTILITY RAIL (CLEARANCE + CATALOG)
   ========================================== */

/* Outer section spacing */
.product-utility {
    padding: .5rem 0 2rem;
}

/* Rail layout */
.product-utility .utility-rail {
    display: grid;
    gap: 1rem;
    margin: 2.5rem 0 .25rem 0;
}

/* Each block card */
.product-utility .utility-block {
    border: 1px dashed color-mix(in oklab, var(--warning) 35%, var(--line)) !important;
    border-radius: 12px;
    background: color-mix(in oklab, var(--surface) 96%, transparent);
    padding: 1.3rem 1.25rem;
    display: grid;
}

/* Utility rail: make action links look like the View Catalog button */
.product-utility .utility-actions a.btn {
    border-radius: 999px;
    padding: .48rem .55rem;
    font-weight: 650;
    letter-spacing: .01em;
    text-decoration: none !important;
    /* beats global a:hover underline */
}

/* Optional: keep the same hover feel */
.product-utility .utility-actions a.btn:hover,
.product-utility .utility-actions a.btn:focus-visible {
    text-decoration: none !important;
}

#catalog-options {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: color-mix(in oklab, var(--surface) 96%, transparent);
    padding: 1.3rem 1.25rem;
    margin-top: .6rem;
}

/* Copy area */
.product-utility .utility-copy strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--text);
}

.product-utility .utility-copy p {
    margin: .35rem 0 0;
    color: var(--muted);
    opacity: .9;
    max-width: 60ch;
}

/* Actions row */
.product-utility .utility-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Responsive: align copy + actions side-by-side on larger screens */
@media (min-width: 820px) {
    .product-utility .utility-block {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .product-utility .utility-actions {
        justify-content: flex-end;
    }
}

/* =================
   BOX SHADOW EFFECT
   ================= */

/* Each block card */
.product-utility .utility-block {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: color-mix(in oklab, var(--surface) 96%, transparent);
    padding: 1.3rem 1.25rem;
    display: grid;
    gap: .9rem;

    /* ✨ lift */
    box-shadow: var(--utility-shadow);
}

/* Catalog container */
#catalog-options {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: color-mix(in oklab, var(--surface) 96%, transparent);
    padding: 1.3rem 1.25rem;
    margin-top: .6rem;

    /* ✨ lift */
    box-shadow: var(--utility-shadow);
}

/* Dark mode effect */
html.dark-mode {
    --utility-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 3px 10px rgba(0, 0, 0, 0.35);
}


/* ===========================
   GALLERY (SHARED)
   =========================== */

/* Gallery page "hint" text style */
.section-title .hint {
    opacity: .85;
    font-size: 0.95em;
    font-weight: 625;
    font-style: italic;
}

/* Shared grid (Gallery page) */
.gallery-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
}

@media (max-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* center the last tile when alone FOR GALLERY PAGE ONLY */
    .gallery-page-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 49%;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* reset the last tile to its initial style FOR GALLERY PAGE ONLY */
    .gallery-page-grid > :last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
    }
}

/* Shared tile */
.gallery-item {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    display: block;

    transition: transform .22s ease, box-shadow .22s ease;
    box-shadow: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

/* Hover lift (desktop) */
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 30px rgba(2, 6, 23, 0.22),
        0 10px 20px rgba(2, 6, 23, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Keep image steady (no zoom) */
.gallery-item:hover img {
    transform: none;
}

/* Keyboard focus */
.gallery-item:focus-visible {
    outline: none;
    transform: translateY(-6px);
    box-shadow:
        0 0 0 2px var(--bg),
        0 0 0 5px rgba(37, 99, 235, .45),
        0 15px 30px rgba(2, 6, 23, 0.22),
        0 10px 20px rgba(2, 6, 23, 0.18);
}

/* No hover effects on touch devices */
@media (hover: none) {
    .gallery-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* stronger dark mode shadow */
html.dark-mode .gallery-item:hover {
    box-shadow:
        0 20px 45px rgba(0, 0, 0, .60),
        0 12px 28px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* ==========================
   GALLERY SOCIAL (SHARED)
   ========================== */

.gallery-social {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 3rem 0;
    margin: 1.25rem auto 2rem;
    text-align: center;
}

.gallery-social-title {
    display: block;
    font-variant: all-small-caps;
    font-size: 1rem;
    margin-bottom: .55rem;
    letter-spacing: .04rem;
}

.gallery-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}

.gallery-social .sep {
    font-size: 20px;
    margin: 0 .25rem;
    opacity: .65;
}

.gallery-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .6rem;
    padding: .40rem .7rem;
    border-radius: 999px;
    border: 1px solid color-mix(in oklab, var(--brand) 28%, var(--line));
    font-weight: 700;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
    filter: saturate(0.9);
    text-decoration: none !important;
}

/* hover + focus */
.gallery-social .social-link:hover,
.gallery-social .social-link:focus-visible {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent);
    transform: translateY(-2px);
    outline: none;
}

/* Kill animated underline bar (::after) */
.gallery-social a::after {
    content: none !important;
}

/* Instagram / TikTok / Facebook */
.gallery-social .social-link.ig {
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
    color: #fff;
}

.gallery-social .social-link.tt {
    background: linear-gradient(135deg, #0f172a, #111827);
    color: #fff;
}

.gallery-social .social-link.fb {
    background: #1877f2;
    color: #fff;
}

/* ===========================
   GALLERY LIGHTBOX (SHARED)
   (index.html + gallery.html)
   =========================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
}

.lightbox.is-open {
    display: block;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .55);
    backdrop-filter: blur(6px);
}

.lightbox-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(980px, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    background: color-mix(in oklab, var(--surface) 92%, #000);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: auto;
}

.lightbox-panel img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .7);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 9);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    text-decoration: none;
}

.lightbox-close span {
    font-size: 1.35rem;
    font-weight: 300;
}

html.dark-mode .lightbox-close {
    background: rgba(17, 24, 38, .9);
    color: #fff;
}

html.dark-mode .lightbox-close:hover {
    background: rgba(17, 24, 38, 1);
}

.lightbox-caption {
    margin: .75rem 0 0;
    color: var(--muted);
    text-align: center;
}

@media (max-width:980px) {
    .lightbox-close {
        width: 33px;
        height: 33px;
    }

    .lightbox-close span {
        font-size: 1.3rem;
    }
}

@media (max-width:600px) {
    .lightbox-close {
        width: 32px;
        height: 32px;
    }

    .lightbox-close span {
        font-size: 1.2rem;
    }
}

@media (max-width:480px) {
    .lightbox-close {
        width: 30px;
        height: 30px;
    }
}

/* ======================
   HOME PAGE MINI GALLERY
   ====================== */

#home-gallery.section-soft {
    padding: 2.5rem 0 0;
}

.gallery-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

/* 2-column range */
@media (max-width: 980px) {
    .gallery-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* center the last tile when alone */
    .gallery-mini-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 49%;
    }
}

/* 1-column */
@media (max-width: 600px) {
    .gallery-mini-grid {
        grid-template-columns: 1fr;
    }

    .gallery-mini-grid > :last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
    }
}

/* ==========================
   SERVICES + PAYMENT OPTIONS
   ==========================*/
#payment {
    border-top: 0.9px solid var(--line);
    border-bottom: 0.9px solid var(--line);
}

/* section style */
.section-soft {
    background: transparent;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

html.dark-mode .section-soft {
    background: color-mix(in oklab, var(--surface) 85%, #000);
}

/* feature cards */
.feature.feature-card {
    position: relative;
    overflow: hidden;
    background: color-mix(in oklab, var(--surface) 96%, transparent);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 12px 35px rgba(2, 6, 23, .10);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            color-mix(in oklab, var(--brand) 10%, transparent),
            color-mix(in oklab, var(--brand2) 8%, transparent));
    opacity: .45;
    pointer-events: none;
}

.feature.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature.feature-card:hover {
    border-color: color-mix(in oklab, var(--brand) 25%, var(--line));
    box-shadow: 0 18px 55px rgba(2, 6, 23, .16);
}

.feature.feature-card h4 {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.feature.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

html.dark-mode .feature.feature-card {
    background: rgba(17, 24, 38, .75);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}

html.dark-mode .feature.feature-card:hover {
    border-color: color-mix(in oklab, var(--brand) 35%, var(--line));
}

/* ===================
   PAYMENT POLICY NOTE
   =================== */
.note-stack span {
    display: block;
    text-align: center;
}

#payment .note {
    max-width: 72ch;
    margin-inline: auto;
    font-size: .94rem;
    color: color-mix(in oklab, var(--text) 50%, var(--muted));
}

#payment .note a {
    font-weight: 600;
}

/* Important deposit note (highlighted) */
.payment-note {
    max-width: 68ch;
    margin: 2rem auto 1.3rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    border: 1px solid color-mix(in oklab, var(--warning) 35%, var(--line));
    background: color-mix(in oklab, var(--surface) 85%, transparent);
    color: color-mix(in oklab, var(--text) 64%, var(--muted));
    font-size: .95rem;
    text-align: center;
}

.payment-note strong {
    color: color-mix(in oklab, var(--warning) 65%, var(--text));
}

/* =================
   FINANCING QR CARD
   =================*/
#payment .financing-qr {
    margin: 1rem auto 0;
    display: grid;
    place-items: center;
}

#payment .financing-qr-card {
    max-width: 650px;
    margin: 1rem auto 0;
    padding: 1.1rem 1.25rem;

    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;

    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
}

/* cta & hover effect style */
#payment .financing-cta {
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}

#payment .financing-cta:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.15);
}

/* Dark mode polish */
html.dark-mode #payment .financing-cta:hover {
    box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}

/* Light mode (default) */
#payment .financing-qr-card {
    background: linear-gradient(135deg,
            #173a6a,
            /* lighter navy */
            #1f4b86
            /* soft blue */
        );
}

/* Dark mode */
html.dark-mode #payment .financing-qr-card {
    background: linear-gradient(135deg,
            #071a34,
            #0b2a52);
}

/* Default text (works with the dark/navy card background) */
#payment .financing-qr-copy strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.2;
}

#payment .financing-qr-copy p {
    margin: .6rem 0 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.5;
}

/* slightly softer small text */
#payment .financing-qr-copy p + p {
    color: rgba(255, 255, 255, .78);
}

#payment .financing-qr-img {
    width: 125px;
    height: 125px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    padding: .45rem;
    object-fit: contain;
}

/* Dark mode polish */
html.dark-mode #payment .financing-qr-card {
    box-shadow:
        0 22px 65px rgba(0, 0, 0, .55),
        0 6px 18px rgba(0, 0, 0, .35);
}

@media (max-width: 600px) {
    #payment .financing-cta:hover {
        transform: none !important;
        text-decoration: none !important;
    }

    #payment .financing-qr-card {
        width: 100%;
    }
}

@media (max-width: 500px) {
    #payment .financing-qr-card {
        grid-template-columns: 1fr;
        width: 100%;
        text-align: center;
        justify-items: center;
        gap: 1.5rem;
    }

    #payment .financing-qr-img {
        width: 150px;
        height: 150px;
    }
}

/* =================
   LOCAL PERKS STYLE
   ================= */
.perk-badge {
    display: inline-block;
    margin-left: .08rem;
    padding: .6rem .5rem;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 999px;
    background: color-mix(in oklab, var(--brand2) 12%, transparent);
    color: color-mix(in oklab, var(--brand2) 75%, var(--text));
    white-space: nowrap;
    line-height: 10px;
}


/* =====================================
   NOTE LINKS (match site's hover style)
   ===================================== */
.note a {
    position: relative;
    display: inline-block;
    color: var(--muted);
    text-decoration: none !important;
}

/* Animated underline bar */
.note a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.03rem;
    height: 2px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--brand) 75%, transparent);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
    pointer-events: none;
}

/* Hover + focus */
.note a:hover::after,
.note a:focus-visible::after {
    transform: scaleX(1);
    opacity: .9;
}

/* Color shift on hover (same tone as footer) */
.note a:hover,
.note a:focus-visible {
    color: var(--text);
    text-decoration: none !important;
}

/* Inline text links - Payment Options (phone, text, small CTAs) */
.inline-link {
    color: var(--brand) !important;
    font-weight: 600;
}

.inline-link:hover {
    color: color-mix(in oklab, var(--brand) 85%, #000);
}

html.dark-mode .inline-link {
    color: var(--brand);
}

html.dark-mode .inline-link:hover {
    color: color-mix(in oklab, var(--brand) 85%, #fff);
}

/* =======================
   CUSTOMER REVIEWS STYLE
  ======================== */
#testimonials .section-title {
    margin-top: 22px;
}

#testimonials.reviews {
    position: relative;
    overflow: hidden;
}

#testimonials .container {
    position: relative;
    z-index: 1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* card */
.review-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: color-mix(in oklab, var(--surface) 96%, transparent);
    box-shadow: 0 12px 35px rgba(2, 6, 23, .10);
    padding: 1.15rem 1.15rem 1.05rem;
    display: grid;
    gap: .9rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* subtle left accent (clean + professional) */
.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            color-mix(in oklab, var(--brand) 10%, transparent),
            color-mix(in oklab, var(--brand2) 7%, transparent));
    opacity: .45;
    pointer-events: none;
}

.review-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom,
            color-mix(in oklab, var(--brand) 80%, transparent),
            color-mix(in oklab, var(--brand2) 70%, transparent));
    opacity: .65;
    pointer-events: none;
}

.review-card > * {
    position: relative;
    z-index: 1;
}

/* top row */
.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.stars {
    font-size: .95rem;
    letter-spacing: .12em;
    color: color-mix(in oklab, var(--warning) 92%, var(--text));
    white-space: nowrap;
    user-select: none;
}

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

.badge {
    font-size: .78rem;
    font-weight: 700;
    padding: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in oklab, var(--surface) 90%, transparent);
    color: color-mix(in oklab, var(--text) 80%, var(--muted));
}

/* quote */
.review-quote {
    margin: 0;
    color: color-mix(in oklab, var(--text) 92%, var(--muted));
    font-size: .95rem;
    line-height: 1.6;
}

/* footer */
.review-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: .15rem;
}

.review-meta strong {
    display: block;
    font-size: .95rem;
    line-height: 1.2;
}

.review-meta span {
    display: block;
    font-size: .9rem;
    color: var(--muted);
}

/* dark mode polish */
html.dark-mode .review-card {
    background: rgba(17, 24, 38, .75);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}

html.dark-mode .badge {
    background: rgba(17, 24, 38, .65);
}

html.dark-mode .avatar {
    background: rgba(17, 24, 38, .65);
}

/* responsive */
@media (max-width: 980px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* reduce padding on small screens */
@media (max-width: 600px) {
    .review-card {
        padding: 1rem;
    }
}

/* CUSTOMER REVIEWS - AVATAR STYLE */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in oklab, var(--surface) 88%, transparent);
    overflow: hidden;

    display: grid;
    place-items: center;
    position: relative;
}

/* the photo */
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* initials fallback (shows only if image is missing/broken via onerror JS, or you can leave it as backup) */
.avatar-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .85rem;
    color: color-mix(in oklab, var(--text) 85%, var(--muted));
    background: color-mix(in oklab, var(--surface) 88%, transparent);
}

/* If the image loads, hide fallback */
.avatar img:not([src=""]) + .avatar-fallback {
    display: none;
}

/* dark mode */
html.dark-mode .avatar {
    background: rgba(17, 24, 38, .65);
}

html.dark-mode .avatar-fallback {
    background: rgba(17, 24, 38, .65);
}

/* ===========
   FORM STYLE
   =========== */
form {
    display: grid;
    gap: .8rem;
}

label {
    font-weight: 600;
    font-size: .95rem;
}

/* Base light mode */
input,
textarea,
select {
    width: 100%;
    padding: .8rem .9rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: color-mix(in oklab, var(--text) 45%, transparent);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow:
        0 0 0 2px var(--bg),
        0 0 0 5px color-mix(in oklab, var(--brand) 35%, transparent);
}

/* Dark mode overrides */
html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
    background: rgba(0, 0, 0, .22);
    border-color: rgba(255, 255, 255, .12);
    color: var(--text);
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: rgba(229, 231, 235, .55);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

@media (max-width: 980px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.note {
    color: var(--muted);
    font-size: .92rem;
}

/* =============
   FOOTER STYLE
   ============= */
footer {
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: color-mix(in oklab, var(--surface) 82%, transparent);
    border-top: 1px solid var(--line);
    padding: 2.2rem 0 1.2rem;
}

html.dark-mode footer {
    background: rgba(11, 15, 20, .65);
}

/* 4 → 2 → 1 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .75fr 1fr 1fr;
    gap: 1.2rem;
    margin: 1rem .5rem 4rem .5rem;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h5 {
    margin: 0 0 .6rem 0;
    font-size: 1rem;
}

/* Remove bullets + keep spacing consistent */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .45rem;
}

.footer-col li {
    margin: 0;
}

.footer-col a {
    color: var(--muted);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-brand {
    color: var(--muted);
}

.footer-brand strong {
    color: var(--text);
}

/* Newsletter text subtitle style */
.news-letter-txt {
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: .55rem;
    color: color-mix(in oklab, var(--text) 25%, var(--muted));
    opacity: .9;
}

@media (max-width: 570px) {
    .news-letter-txt {
        max-width: 40ch;
        text-align: center;
        margin-inline: auto;
    }
}


/* ===========================================
   FOOTER LEGAL LINKS (Privacy / Terms / etc.)
   =========================================== */
.subfooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
    flex-wrap: wrap;
}

.subfooter a {
    font-size: .9rem;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.4;
}

.subfooter a:hover {
    color: var(--text);
}


/* ======================
   MOBILE ORDER + SIZING
  ======================= */
@media (max-width: 600px) {
    .subfooter {
        color: var(--muted);
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: .45rem;
    }

    .subfooter a {
        font-size: .83rem;
    }

    /* INFO LINKS FIRST */
    .subfooter-copy {
        order: 1;
        font-size: 1rem;
    }

    /* COPYRIGHT SECOND */
    .subfooter > div:first-child {
        order: 2;
        font-size: .82rem;
        opacity: .85;
    }
}

/* =========================
   FOOTER BRAND (TEXT ONLY)
========================= */
.footer-brand-link {
    display: inline-flex;
    align-items: baseline;
    gap: 1.4rem;
    text-decoration: none;
}

.footer-brand-text {
    position: relative;
    padding-inline: .6rem;
    /* space for quotes */
    line-height: 1.15;
}

/* ensure header quote pseudo elements never leak here */
.footer-brand-text::before,
.footer-brand-text::after {
    content: none !important;
}

.footer-brand-name {
    display: inline-block;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--text);
    white-space: nowrap;
}

.footer-tagline {
    position: relative;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    padding-inline: .35rem;
    margin-bottom: -.1rem;
}

/* Quotation marks (footer only) */
.footer-tagline::before,
.footer-tagline::after {
    position: absolute;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: color-mix(in oklab, var(--text) 90%, transparent);
    opacity: .6;
    line-height: 1;
}

.footer-tagline::before {
    content: "“";
    left: -0.30rem;
    top: -0.1rem;
}

.footer-tagline::after {
    content: "”";
    right: -0.30rem;
    bottom: -0.1rem;
}

@media (max-width: 600px) {
    .footer-brand-link {
        gap: .9rem;
        flex-wrap: wrap;
    }

    .footer-brand-name {
        font-size: 1.35rem;
    }

    .footer-tagline {
        font-size: .98rem;
        white-space: normal;
        margin-bottom: -.1rem;
    }

    .footer-contact {
        margin-bottom: .9rem;
    }
}

/* ====================================
   FOOTER LINK HOVER (HEADER-STYLE BAR)
   ==================================== */

/* Footer brand link: never underline, never show bar */
footer .footer-brand a.footer-brand-link,
footer .footer-brand a.footer-brand-link:hover,
footer .footer-brand a.footer-brand-link:focus-visible {
    text-decoration: none !important;
}

/* Target ONLY normal footer links (exclude social icons) */
footer .footer-col a:not(.icon),
footer .subfooter a {
    position: relative;
    display: inline-block;
    text-decoration: none !important;
    /* beat global underline */
}

/* Header-style underline bar */
footer .footer-col a:not(.icon)::after,
footer .subfooter a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.03rem;
    height: 2px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--brand) 75%, transparent);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
    pointer-events: none;
}

/* Show bar on hover/focus */
footer .footer-col a:not(.icon):hover::after,
footer .footer-col a:not(.icon):focus-visible::after,
footer .subfooter a:hover::after,
footer .subfooter a:focus-visible::after {
    transform: scaleX(1);
    opacity: .9;
}

/* Ensure NO underline appears on hover (global a:hover override) */
footer .footer-col a:not(.icon):hover,
footer .footer-col a:not(.icon):focus-visible,
footer .subfooter a:hover,
footer .subfooter a:focus-visible {
    text-decoration: none !important;
}

/* ======================================
   FOOTER TAGLINE — NO UNDERLINE EFFECT
   ====================================== */
.footer-brand-link,
.footer-brand-link:hover,
.footer-brand-link:focus-visible {
    text-decoration: none !important;
}

/* no underline "bar" */
.footer-brand-link::after,
.footer-brand-link:hover::after,
.footer-brand-link:focus-visible::after {
    content: none !important;
    display: none !important;
}

/* ====================
   FOOTER SOCIAL ICONS
   =================== */
.social {
    display: flex;
    gap: 20px;
    margin-top: 1.22rem;
    flex-wrap: wrap;
    /* prevents overflow */
}

/* Never underline icons (even if global a:hover underlines) */
.social .icon,
.social .icon:hover,
.social .icon:focus,
.social .icon:focus-visible {
    text-decoration: none !important;
}

.social .icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    display: grid;
    place-items: center;
    border: .95px solid color-mix(in oklab, var(--brand) 28%, var(--line));
    box-shadow: 0 10px 12px rgba(0, 0, 0, .12);
    transition:
        background .25s ease,
        color .25s ease,
        transform .18s ease,
        box-shadow .18s ease,
        border-color .25s ease;
}

.social .icon i {
    font-size: 18px;
    line-height: 1;
}

/* hover + focus */
.social .icon:hover,
.social .icon:focus-visible {
    border-color: var(--brand);
    box-shadow: 0 0 0 3.5px color-mix(in oklab, var(--brand) 22%, transparent);
}

/* responsive sizing */
@media (max-width: 980px) {
    .social {
        margin-top: 1.3rem;
    }

    .social .icon {
        width: 44px;
        height: 44px;
        margin-top: -.1rem;
    }

    .social .icon i {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .social {
        margin-top: .33rem;
    }

    .social .icon {
        width: 42px;
        height: 42px;
    }

    .social .icon i {
        font-size: 15px;
    }
}

/* brand colors (apply in ALL modes) */
.social .facebook:hover {
    background: #1877f2;
    color: #fff;
}

.social .instagram:hover {
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
    color: #fff;
}

.social .tiktok:hover {
    background: #000;
    color: #fff;
}

.social .youtube:hover {
    background: #ff0000;
    color: #fff;
}

/* keep pill utility if still use it elsewhere */
.pill {
    padding: .45rem .65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    text-decoration: none;
}

.pill:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
}

/* =========================
   BRAND COLORS (DARK MODE)
   ========================= */
/* dark mode base circles */
html.dark-mode .social .icon {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid color-mix(in oklab, var(--brand) 28%, var(--line));
    box-shadow: 0 10px 14px rgba(0, 0, 0, .45);
}

/* dark mode hover + focus */
html.dark-mode .social .icon:hover,
.social .icon:focus-visible {
    border-color: var(--brand);
    box-shadow: 0 0 0 3.5px color-mix(in oklab, var(--brand) 22%, transparent);
}

/*
html.dark-mode .social .facebook:hover {
    background: #1877f2;
    color: #ffffff;
}
*/

html.dark-mode .social .instagram:hover {
    background: linear-gradient(135deg,
            #f9ce34,
            #ee2a7b,
            #6228d7);
    color: #ffffff;
}

html.dark-mode .social .tiktok:hover {
    background: #000000;
    color: #ffffff;
}

html.dark-mode .social .youtube:hover {
    background: #ff0000;
    color: #ffffff;
}

/* =========================
   CONTACT FORM BUTTON STYLE
   ========================== */
#contact {
    margin-bottom: 35px;
}

#contactForm button {
    min-height: 41px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Gray placeholder option */
select option[value=""] {
    color: var(--muted);
}

/* When selected (initial state) */
select:has(option[value=""]:checked) {
    color: var(--muted);
}

/* Once user selects a real value */
select:not(:has(option[value=""]:checked)) {
    color: var(--text);
}

/*
select:has(option[value=""]:checked) {
  background-color: color-mix(in oklab, var(--surface) 96%, transparent);
}
*/

/* Fallback (older browser safe) */
select {
    color: var(--text);
}

select option[disabled] {
    color: var(--muted);
}

/* Showroom note separator style */
.note .sep {
    font-size: 20px;
    margin: 0 .2rem 0 .2rem;
}

.showroom-map {
    width: 100%;
    height: 264px;
    border: 0;
    border-radius: 12px;
}


/* =======================
   NEWSLETTER FORM STYLE
   ======================= */
#newsletterForm {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
    align-items: center;

}

/* Force proper stretching inside grid */
#newsletterForm input {
    width: 100%;
    min-width: 0;
    /* prevents grid overflow/collapse weirdness */
    min-height: 44px;
}

#newsletterForm button {
    min-height: 41px;
    border-radius: 999px;
    white-space: nowrap;
}

@media (max-width: 980px) and (min-width: 601px) {
    #newsletterForm {
        grid-template-columns: 1fr;
    }

    #newsletterForm input {
        width: 100%;
    }


    /* force full width for BOTH fields */
    #newsletterForm button,
    #newsletterForm .btn {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 40px !important;
    }
}

@media (max-width: 600px) and (min-width: 481px) {
    #newsletterForm {
        grid-template-columns: 1fr;
        padding: 0 5rem 0 5rem;
    }

    #newsletterForm input {
        width: 100%;
    }


    /* force full width for BOTH fields */
    #newsletterForm button,
    #newsletterForm .btn {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 40px !important;
    }
}

/* =========================
   FOOTER MOBILE CENTERING
   ========================= */
@media (max-width: 600px) {

    .footer-grid {
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand-link {
        justify-content: center;
    }

    .social {
        justify-content: center;
    }

    .footer-col ul {
        justify-items: center;
    }
}

/* =========================
   SUBMIT BUTTON FONT SIZING
   Large / Medium / Small
========================= */

/* Large (desktop default) */
button[type="submit"].btn,
input[type="submit"].btn {
    font-size: .94rem;
    /* 16px */
    line-height: 1.2;
    letter-spacing: .01em;
}

/* Medium (tablets / small laptops) */
@media (max-width: 980px) {

    button[type="submit"].btn,
    input[type="submit"].btn {
        font-size: .91rem;
        /* ~15.2px */
    }
}

/* Small (phones) */
@media (max-width: 600px) {

    button[type="submit"].btn,
    input[type="submit"].btn {
        font-size: .90rem;
        /* ~14.7px */
    }
}

/* ========================================================
   GLOBAL BUTTON SYSTEM (non-submit buttons + link buttons)
   ======================================================== */

/* ---------- BASE (ALL MODES) ---------- */
.btn:not([type="submit"]),
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .15s ease,
        background .2s ease;
}

/* ---------- LIGHT MODE (default) ---------- */
html:not(.dark-mode) .btn:not([type="submit"]),
html:not(.dark-mode) a.btn {
    background: #ffffff;
    color: var(--text);
    border: 1px solid rgba(37, 99, 235, .28);
    /* subtle blue */
    box-shadow: none;
}

/* Hover — light mode (STAYS WHITE) */
html:not(.dark-mode) .btn:not([type="submit"]):hover,
html:not(.dark-mode) a.btn:hover {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .25);
    transform: translateY(-1px);
    text-decoration: none;
}

/* ---------- DARK MODE ---------- */
html.dark-mode .btn:not([type="submit"]),
html.dark-mode a.btn {
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(96, 165, 250, .45);
    /* deeper blue */
    box-shadow: none;
}

/* Hover — dark mode (STAYS BLACK) */
html.dark-mode .btn:not([type="submit"]):hover,
html.dark-mode a.btn:hover {
    background: #000000;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .35);
    transform: translateY(-1px);
    text-decoration: none;
}

/* ---------- KEYBOARD FOCUS (ACCESSIBLE) ---------- */
.btn:not([type="submit"]):focus-visible,
a.btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px var(--bg),
        0 0 0 5px rgba(37, 99, 235, .45);
}

/* ---------- ACTIVE (CLICK FEEDBACK) ---------- */
.btn:not([type="submit"]):active,
a.btn:active {
    transform: translateY(0);
}

/* Hero section color overrides (light vs dark mode) */
html:not(.dark-mode) .hero .card:not(.hero-copy) {
    background: #ffffff;
    border-color: rgba(15, 23, 42, .12);
}

html.dark-mode .hero .card:not(.hero-copy) {
    background: rgba(17, 24, 38, .85);
}

html:not(.dark-mode) .hero h2 {
    color: #0f172a;
}

html:not(.dark-mode) .hero .lead {
    color: #334155;
}

html:not(.dark-mode) .kicker {
    background: rgba(37, 99, 235, .08);
    border-color: rgba(37, 99, 235, .35);
    color: #1e293b;
}

html.dark-mode .kicker {
    background: rgba(96, 165, 250, .14);
}


/* ===============================
   SUBMIT BUTTON — PRIMARY ACTION
   ============================== */

/* Base submit style (light mode) */
button[type="submit"].btn,
input[type="submit"].btn {
    background: linear-gradient(to bottom,
            #f0f9ff,
            #e0f2fe);
    color: #0f172a;
    border: 1px solid rgba(56, 189, 248, .55);
    font-weight: 700;

    /* REDUCED glow */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .6),
        0 6px 14px rgba(56, 189, 248, .22);

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .15s ease;
}

/* Hover — subtle lift, NOT flashy */
button[type="submit"].btn:hover,
input[type="submit"].btn:hover {
    background: linear-gradient(to bottom,
            #e0f2fe,
            #bae6fd);
    border-color: #38bdf8;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        0 8px 18px rgba(56, 189, 248, .28);

    transform: translateY(-1px);
}

/* Active (click) */
button[type="submit"].btn:active,
input[type="submit"].btn:active {
    transform: translateY(0);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, .12);
}

/* ---------- DARK MODE SUBMIT BUTTON ---------- */
html.dark-mode button[type="submit"].btn,
html.dark-mode input[type="submit"].btn {
    background: linear-gradient(to bottom,
            #7dd3fc,
            #38bdf8);
    color: #020617;
    border-color: rgba(186, 230, 253, .75);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        0 8px 20px rgba(56, 189, 248, .30);
}

html.dark-mode button[type="submit"].btn:hover,
html.dark-mode input[type="submit"].btn:hover {
    background: linear-gradient(to bottom,
            #38bdf8,
            #0ea5e9);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        0 10px 24px rgba(56, 189, 248, .35);
}

/* ============================
   GLOBAL MODAL SYSTEM (SHARED)
   ============================ */
/* Ensure modal sections snap exactly under the header */
.modal-section {
    scroll-margin-top: 0;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 6500;
    display: none;
}

.modal.is-open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .55);
    backdrop-filter: blur(6px);
}

/* Panel */
.modal-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(980px, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    overflow: hidden;
    /* ✅ important: internal scrolling goes to modal-body/content */
    background: color-mix(in oklab, var(--surface) 90%, #000);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Head */
.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem .9rem;
    border-bottom: 1px solid var(--line);
}

.modal-head-text {
    padding-top: .15rem;
}

.modal-head h3 {
    margin: 0;
    font-size: 1.35rem;
}

.modal-subtitle {
    margin: .35rem 0 0;
    color: var(--muted);
}

.modal-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .9);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    outline: none;
}

html.dark-mode .modal-close {
    background: rgba(17, 24, 38, .9);
    color: #fff;
}

.modal-close span {
    font-size: 1.3rem;
}

/* Body */
.modal-body {
    padding: 1rem;
    overflow: auto;
    /* ✅ scrolling happens here */
    max-height: calc(100vh - 220px);
}

/* Layout: sidebar + content */
.modal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
}

.modal-side {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in oklab, var(--surface) 95%, transparent);
    padding: .6rem;
    position: sticky;
    top: 0;
    /* sticks within modal-body scroll */
    align-self: start;
}

html.dark-mode .modal-side {
    background: rgba(17, 24, 38, .75);
}

.modal-side-link {
    width: 100%;
    text-align: left;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    padding: .65rem .75rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.modal-side-link:hover {
    background: color-mix(in oklab, var(--text) 6%, transparent);
    border-color: var(--line);
}

.modal-side-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px rgba(37, 99, 235, .45);
}

/* Sections */
.modal-section {
    scroll-margin-top: 15px;
}

.modal-section h4 {
    margin: 0 0 .55rem;
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.modal-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in oklab, var(--surface) 96%, transparent);
    padding: 1rem;
}

html.dark-mode .modal-card {
    background: rgba(17, 24, 38, .75);
}

.modal-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: .55rem;
}

.modal-note {
    margin: .8rem 0 0;
    color: var(--muted);
    font-size: .92rem;
}

/* Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-top: 2.5rem;
}

.modal-section:target,
.modal-section.is-active {
    animation: sectionFlash .8s ease;
}

@keyframes sectionFlash {
    from {
        background: color-mix(in oklab, var(--brand) 12%, transparent);
    }

    to {
        background: transparent;
    }
}

/* Mobile */
@media (max-width: 820px) {
    .modal-layout {
        grid-template-columns: 1fr;
    }

    .modal-side {
        position: static;
    }
}

@media (max-width: 600px) {
    .modal-footer {
        justify-content: stretch;
    }

    .modal-footer .btn {
        width: 100%;
    }
}


/* ========================
   QUOTE MODAL ITEM PREVIEW
   ======================== */
.quote-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: .9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 1rem;
}

.quote-item__img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}

.quote-item__title {
    font-weight: 700;
}

.quote-item__sku,
.quote-item__section {
    opacity: .85;
    font-size: .95rem;
}

.quote-form .form-row {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .85rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: .65rem .75rem;
    border-radius: 12px;
}

.quote-form .form-actions {
    display: flex;
    justify-content: flex-end;
    margin: .25rem 0 .6rem 0;
}

.form-actions .btn.primary,
.btn.ghost {
    border-radius: 50px;
    font-size: .95rem;
    padding: .6rem;
}

#qMessage {
    height: 150px;
}

.hint {
    opacity: .75;
    font-weight: 400;
    font-size: .9rem;
}


/* =========================
   TikTok Modal (Glass Style)
   ========================= */
.tt-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.tt-modal.is-open {
    display: block;
}

.tt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tt-panel {
    position: relative;
    width: min(420px, calc(100% - 2rem));
    margin: 6vh auto 0;
    border-radius: 18px;
    background: rgba(20, 20, 20, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .55);
    overflow: hidden;

    transform: translateY(12px) scale(.98);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.tt-modal.is-open .tt-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* close button style */
.tt-close {
    --x-size: 22px;

    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 999px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.38);
    color: #fff;

    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 3;

    font-size: var(--x-size);
    line-height: 1;
    font-weight: 500;

    backdrop-filter: blur(6px);
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.15s ease,
        box-shadow 0.18s ease;
}

.tt-close:hover,
.tt-close:focus-visible {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.28);

    outline: none;
}

.tt-frame-wrap {
    position: relative;
    padding: 16px;
}

.tt-frame-wrap iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    border-radius: 14px;
    background: rgba(0, 0, 0, .25);
}

/* =================
   TikTok Sound Hint
   =================*/
.tt-sound-hint {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    
    /* Responsive sizing */
    font-size: clamp(.8rem, 2.5vw, .9rem);
    padding: .55rem 1.1rem;

    border-radius: 999px;
    background: linear-gradient(135deg, #c084fc, #fb7185);
    color: #fff;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;

    box-shadow: 0 6px 18px rgba(0,0,0,.25);

    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.tt-sound-hint.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}


/* ============================
   SOCIAL MODAL SYSTEM (SHARED)
   ============================ */
.social-tile {
    position: relative;
}

.social-tile::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, .85);
    pointer-events: none;
}