/* Purpose: style the storefront and customer pages, including account, registration, checkout, and orders.
 * How: shared responsive stylesheet used by customer templates and shared includes.
 * SQL joins/triggers/events: none; presentation only.
 * Note: component selectors are shared across multiple customer pages.
 */
:root {
    --graphite: #12161c;
    --steel: #5c6675;
    --steel-soft: #8b93a0;
    --plate: #eef1f5;
    --white: #fff;
    --circuit: #2247e0;
    --circuit-deep: #17318f;
    --copper: #b5622c;
    --volt: #a7d323;
    --line: rgba(18, 22, 28, .09);
    --display: "Space Grotesk", sans-serif;
    --body: "IBM Plex Sans", sans-serif;
    --mono: "IBM Plex Mono", monospace;
    --navy: #07182d;
    --blue: #0a62e8;
    --sky: #7cc6ff;
    --purple: #8855e8;
    --ink: #10223d;
    --muted: #5f7089;
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-surface: rgba(255, 255, 255, 0.58);
    --glass-surface-strong: rgba(255, 255, 255, 0.76);
    --glass-dark: rgba(7, 24, 45, 0.65);
    --glass-hover: rgba(255, 255, 255, 0.18);
    --shadow: 0 22px 60px rgba(24, 61, 117, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(10, 42, 91, 0.2);
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "DM Sans", "Helvetica Neue", sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "DM Sans", "Helvetica Neue", sans-serif;
    --text-primary: #10223d;
    --text-secondary: rgba(255, 255, 255, 0.88);
    --plate-strong: #ffffff;
    --volt-ink: #4b5e0d;
    --store-font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
    --store-font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --store-font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
    --store-shadow: 0 20px 50px rgba(18, 22, 28, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --store-shadow-lift: 0 16px 34px rgba(18, 22, 28, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--graphite);
    font-family: var(--store-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        linear-gradient(rgba(34, 71, 224, 0.05) 1px, transparent 1px) 0 0/42px 42px,
        linear-gradient(90deg, rgba(34, 71, 224, 0.05) 1px, transparent 1px) 0 0/42px 42px,
        radial-gradient(circle at 88% 6%, rgba(34, 71, 224, 0.10), transparent 34rem),
        radial-gradient(circle at 4% 70%, rgba(181, 98, 44, 0.07), transparent 30rem),
        var(--plate);
    background-attachment: fixed;
}

img,
svg {
    display: block;
}

/* ==========================================================================
   STATIC & SLIDE-OUT SIDE MENU
   ========================================================================== */
#sideMenu {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: rgba(7, 24, 45, .94);
    color: #fff;
    padding: 30px 16px;
    z-index: 1000;
    box-shadow: 10px 0 35px rgba(0, 0, 0, .12);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#sideMenu.active {
    left: 0;
}

#sideMenu h2 {
    text-align: left;
    padding-left: 12px;
    margin: 0 0 25px;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

#sideMenu a {
    display: block;
    padding: 11px 16px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

#sideMenu a:hover,
#sideMenu a.active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#sideMenu .brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 28px;
    padding: 0 12px;
}

#menuTrigger {
    position: fixed;
    left: 0;
    top: 0;
    width: 20px;
    height: 100vh;
    z-index: 1001;
}

#menuTrigger:focus-visible {
    outline: 2px solid var(--circuit);
    outline-offset: -2px;
}

@media (hover: hover) {
    #menuTrigger:focus-visible {
        outline: 0;
    }
}

.main-menu {
    cursor: pointer;
}

.submenu {
    display: none;
    background: rgba(0, 0, 0, .16);
    border-radius: 12px;
    margin: 4px 0 8px;
    padding: 4px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.submenu.open {
    display: block;
}

.submenu a {
    padding-left: 32px !important;
    font-size: 13px;
    opacity: 0.85;
}

.submenu a:hover {
    opacity: 1;
}

/* ==========================================================================
   MAIN DASHBOARD
   ========================================================================== */
.main {
    margin-left: 260px;
    min-height: 100vh;
    padding: 30px 42px 60px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.topbar h1 {
    font: 700 30px var(--display);
    margin: 0;
}

.topbar p {
    margin: 5px 0 0;
    color: var(--steel);
}

.admin-badge {
    padding: 9px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font: 500 12px var(--mono);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(18, 22, 28, .06);
}

.stat small {
    color: var(--steel-soft);
    font: 500 11px var(--mono);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.stat strong {
    display: block;
    font: 700 27px var(--display);
    margin-top: 8px;
}

.stat span {
    font-size: 12px;
    color: var(--steel);
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(18, 22, 28, .06);
    overflow: hidden;
}

.panel-head {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.panel-head h2 {
    font: 700 18px var(--display);
    margin: 0;
}

.panel-head p {
    margin: 3px 0 0;
    color: var(--steel);
    font-size: 13px;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--store-font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(120deg, var(--circuit) 0%, var(--circuit-deep) 100%);
    color: #fff;
    box-shadow: var(--store-shadow-lift);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(34, 71, 224, 0.28);
}

.btn-secondary {
    background: var(--plate-strong);
    color: var(--graphite);
    border-color: rgba(18, 22, 28, 0.12);
}

.btn-secondary:hover {
    border-color: var(--circuit);
    color: var(--circuit-deep);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--graphite);
    border-color: rgba(18, 22, 28, 0.14);
    padding: 9px 18px;
}

.btn-ghost:hover {
    border-color: var(--circuit);
    color: var(--circuit-deep);
}

.btn-danger {
    background: #fff0f0;
    color: #b3261e;
    border: 1px solid #f1cccc;
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    margin-top: 8px;
}

.admin-password-modal[hidden] {
    display: none;
}

.admin-password-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.admin-password-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 45, .55);
}

.admin-password-dialog {
    position: relative;
    width: min(100%, 420px);
    padding: 26px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--store-shadow-lift);
}

.admin-password-dialog h2 {
    margin: 0 0 8px;
}

.admin-password-dialog p {
    margin: 0 0 18px;
    color: var(--steel);
}

.admin-password-dialog label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.admin-password-dialog input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d9dde4;
    border-radius: 9px;
}

.admin-password-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.actions {
    display: flex;
    gap: 7px;
}

.actions form {
    display: inline;
}

/* ==========================================================================
   TABLES & BADGES
   ========================================================================== */
.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

th {
    font: 500 10px var(--mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--steel-soft);
    background: #fafbfc;
}

.sku {
    font: 500 11px var(--mono);
    color: var(--steel-soft);
}

.price {
    font: 600 13px var(--mono);
}

.badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.active {
    background: #edf7e9;
    color: var(--circuit);
}

.low {
    background: #fff4dd;
    color: #946200;
}

/* ==========================================================================
   FORMS, ALERTS, & LOGIN
   ========================================================================== */
.form-panel {
    margin-bottom: 28px;
    padding: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Card Layout to ensure equal height and bottom-aligned button */
        .product-card {
            display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
        }

        .product-details {
            display: flex !important;
            flex-direction: column !important;
            flex-grow: 1 !important; /* Fills remaining height */
        }

        .card-bottom-section {
    margin-top: auto !important;
}

        /* Pushes the form and button to the very bottom */
        .product-details form {
            margin-top: auto; 
            width: 100%;
        }

        .add-cart {
            width: 100%;
        }

.form-group input,
.form-group select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d9dde4;
    border-radius: 12px;
    background: #fff;
    color: var(--graphite);
    font: 500 14px var(--store-font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder {
    color: var(--steel-soft);
}

/* Formats file input box to match other text inputs */
.form-group input[type="file"] {
    padding: 8px 12px;
    border: 1px solid #d9dde4;
    border-radius: 9px;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--circuit);
    box-shadow: 0 0 0 4px rgba(34, 71, 224, 0.12);
    outline: none;
}

.password-strength {
    margin-top: 10px;
    color: var(--steel);
    font-size: 12px;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    padding-right: 44px;
}

.password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    width: 30px;
    height: 30px;
    padding: 5px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--steel);
    cursor: pointer;
    transform: translateY(-50%);
}

.password-visibility-toggle:hover {
    color: var(--circuit);
}

.password-visibility-toggle:focus-visible {
    outline: 2px solid var(--circuit);
    outline-offset: 1px;
}

.password-visibility-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.password-strength p {
    margin: 0 0 6px;
}

.password-strength ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.password-strength li::before {
    content: "○";
    display: inline-block;
    width: 18px;
}

.password-strength li.is-met {
    color: #167447;
}

.password-strength li.is-met::before {
    content: "✓";
}

.password-strength small {
    display: block;
    color: var(--steel);
}

.form-actions {
    margin-top: 18px;
    display: flex;
    gap: 9px;
}

.alert {
    padding: 12px 16px;
    background: #edf7e9;
    border: 1px solid #cfe6c4;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #467d27;
    font-size: 13px;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(18, 22, 28, 0.10);
    padding: 36px 32px;
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-brand {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-header p {
    margin: 0;
    color: var(--steel);
    font-size: 14px;
}

.alert-error {
    padding: 12px 16px;
    background: #fff0f0;
    border: 1px solid #f1cccc;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #b3261e;
    font-size: 13px;
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
}

/* ==========================================================================
   STOREFRONT COMPONENTS
   ========================================================================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 40px 0;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--store-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--graphite);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--circuit) 0%, var(--circuit-deep) 100%);
    color: #fff;
}

.brand-tail {
    color: var(--steel);
    font-weight: 500;
    font-size: 0.95rem;
}

.hero {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 40px 20px;
    text-align: center;
}

.eyebrow {
    font-family: var(--store-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--circuit-deep);
    background: rgba(34, 71, 224, 0.08);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--store-font-display);
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 18px;
}

.hero h1 .text-accent {
    background: linear-gradient(110deg, var(--circuit) 0%, var(--copper) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-sub {
    color: var(--steel);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.categories {
    max-width: 1100px;
    margin: 50px auto 10px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.category-card {
    background: var(--plate-strong);
    border: 1px solid rgba(18, 22, 28, 0.08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--store-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--store-shadow-lift);
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(34, 71, 224, 0.10);
    color: var(--circuit-deep);
}

.category-card:nth-child(2) .category-icon {
    background: rgba(181, 98, 44, 0.12);
    color: var(--copper);
}

.category-card h3 {
    font-family: var(--store-font-display);
    font-size: 1.2rem;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.category-card p {
    color: var(--steel);
    font-size: 14px;
    margin: 0 0 16px;
}

.category-card a {
    font-size: 14px;
    font-weight: 600;
    color: var(--circuit-deep);
    text-decoration: none;
}

.category-card a:hover {
    text-decoration: underline;
}

.section-heading {
    max-width: 1100px;
    margin: 64px auto 24px;
    padding: 0 40px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.section-heading h2 {
    font-family: var(--store-font-display);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-heading span {
    font-family: var(--store-font-mono);
    font-size: 12px;
    color: var(--steel-soft);
}

.products {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: var(--plate-strong);
    border: 1px solid rgba(18, 22, 28, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--store-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--store-shadow-lift);
}

.product-swatch {
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.product-swatch.sw-1 {
    background: linear-gradient(135deg, #2247e0, #17318f);
}

.product-swatch.sw-2 {
    background: linear-gradient(135deg, #b5622c, #7c3f18);
}

.product-swatch.sw-3 {
    background: linear-gradient(135deg, #486b1f, #2f4a12);
}

.product-swatch.sw-4 {
    background: linear-gradient(135deg, #384250, #12161c);
}

.product-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-sku {
    font-family: var(--store-font-mono);
    font-size: 10.5px;
    color: var(--steel-soft);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.product-body h4 {
    font-family: var(--store-font-display);
    font-size: 15px;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.product-body p {
    font-size: 13px;
    color: var(--steel);
    margin: 0 0 14px;
    flex: 1;
}

.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--store-font-mono);
    font-weight: 500;
    font-size: 14px;
    color: var(--graphite);
}

.add-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--plate);
    color: var(--circuit-deep);
    border: 1px solid rgba(34, 71, 224, 0.18);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.add-btn:hover {
    background: var(--circuit);
    color: #fff;
}

.value-strip {
    max-width: 1100px;
    margin: 64px auto 0;
    padding: 26px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.value-icon {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 9px;
    background: rgba(167, 211, 35, 0.22);
    color: var(--volt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item h5 {
    margin: 0 0 3px;
    font-size: 13.5px;
    font-family: var(--store-font-display);
}

.value-item p {
    margin: 0;
    font-size: 12.5px;
    color: var(--steel);
}

.cta-banner {
    max-width: 1100px;
    margin: 64px auto 0;
    padding: 40px;
    border-radius: 22px;
    background: linear-gradient(120deg, var(--circuit-deep) 0%, var(--circuit) 70%, #3a63f0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px);
    pointer-events: none;
}

.cta-copy h3 {
    font-family: var(--store-font-display);
    font-size: 1.4rem;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.cta-banner .btn-secondary {
    position: relative;
    z-index: 1;
}

.site-footer {
    max-width: 1100px;
    margin: 70px auto 0;
    padding: 40px 40px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(18, 22, 28, 0.10);
}

.footer-brand p {
    max-width: 280px;
    color: var(--steel);
    font-size: 13.5px;
    margin: 10px 0 0;
}

.footer-links {
    display: flex;
    gap: 56px;
}

.footer-col h6 {
    font-family: var(--store-font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--steel-soft);
    margin: 0 0 12px;
}

.footer-col a {
    display: block;
    color: var(--graphite);
    text-decoration: none;
    font-size: 13.5px;
    margin-bottom: 9px;
}

.footer-col a:hover {
    color: var(--circuit-deep);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    font-family: var(--store-font-mono);
    font-size: 12px;
    color: var(--steel-soft);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom span.status {
    color: #4b8f2b;
}

a {
    color: var(--circuit-deep);
    text-decoration: none;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {
    #sideMenu {
        width: 220px;
    }

    .main {
        margin-left: 220px;
        padding: 25px 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    #sideMenu {
        width: 190px;
    }

    @media (min-width: 701px) {
        #sideMenu {
            width: 286px;
            left: -286px;
            max-height: 100vh;
            overflow-y: auto;
            padding: 28px 18px;
            background:
                radial-gradient(circle at 90% 0%, rgba(124, 198, 255, .18), transparent 13rem),
                linear-gradient(160deg, rgba(7, 24, 45, .98), rgba(16, 34, 61, .96));
            border-right: 1px solid rgba(124, 198, 255, .24);
            box-shadow: 16px 0 42px rgba(7, 24, 45, .28);
        }

        #sideMenu.active {
            left: 0;
        }

        #sideMenu .brand {
            display: flex;
            align-items: center;
            gap: 9px;
            margin: 0 4px 26px;
            padding: 0 8px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, .13);
            font-size: 19px;
            letter-spacing: -.02em;
        }

        #sideMenu a {
            position: relative;
            display: flex;
            align-items: center;
            min-height: 44px;
            margin: 0 0 7px;
            padding: 10px 14px;
            border: 1px solid transparent;
            border-radius: 12px;
            color: rgba(255, 255, 255, .78);
            font-size: 14px;
            letter-spacing: .01em;
        }

        #sideMenu a:hover,
        #sideMenu a.active {
            background: linear-gradient(100deg, rgba(124, 198, 255, .18), rgba(255, 255, 255, .07));
            border-color: rgba(124, 198, 255, .3);
            color: #fff;
            box-shadow: inset 3px 0 0 var(--sky), 0 8px 20px rgba(0, 0, 0, .12);
            transform: translateX(2px);
        }

        #sideMenu .main-menu {
            justify-content: space-between;
        }

        #sideMenu .submenu {
            margin: 2px 0 10px;
            padding: 6px;
            border: 1px solid rgba(124, 198, 255, .16);
            border-radius: 14px;
            background: rgba(0, 0, 0, .2);
        }

        #sideMenu .submenu a {
            min-height: 38px;
            margin-bottom: 3px;
            padding: 8px 11px 8px 18px !important;
            color: rgba(255, 255, 255, .68);
            font-size: 12px;
        }

        #sideMenu .submenu a:hover,
        #sideMenu .submenu a.active {
            box-shadow: inset 2px 0 0 var(--sky);
        }

        #menuTrigger {
            width: 24px;
        }
    }

    .main {
        margin-left: 190px;
        padding: 20px 12px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .topbar h1 {
        font-size: 23px;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 22px 22px 0;
    }

    .hero {
        padding: 40px 22px 10px;
    }

    .categories,
    .products,
    .value-strip,
    .section-heading,
    .cta-banner,
    .site-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .value-strip {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 32px;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .category-card,
    .product-card {
        transition: none;
    }
}

/* ==========================================================================
           1. Design System Tokens & Base Styles
           (original sideMenu tokens kept byte-for-byte — sideMenu is untouched)
           ========================================================================== */
        :root {
            --navy: #07182d;
            --blue: #0a62e8;
            --sky: #7cc6ff;
            --purple: #8855e8;
            --ink: #10223d;
            --muted: #5f7089;
            --line: rgba(255, 255, 255, 0.56);
            --glass-border: rgba(255, 255, 255, 0.35);
            --glass-surface: rgba(255, 255, 255, 0.58);
            --glass-surface-strong: rgba(255, 255, 255, 0.76);
            --glass-dark: rgba(7, 24, 45, 0.65);
            --glass-hover: rgba(255, 255, 255, 0.18);
            --shadow: 0 22px 60px rgba(24, 61, 117, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
            --glass-shadow: 0 8px 32px 0 rgba(10, 42, 91, 0.2);
            --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "DM Sans", "Helvetica Neue", sans-serif;
            --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "DM Sans", "Helvetica Neue", sans-serif;
            --text-primary: #10223d;
            --text-secondary: rgba(255, 255, 255, 0.88);

            /* ---- New storefront tokens (used by everything EXCEPT #sideMenu) ---- */
            --graphite: #12161c;
            --steel: #5c6675;
            --steel-soft: #8b93a0;
            --plate: #eef1f5;
            --plate-strong: #ffffff;
            --circuit: #2247e0;
            --circuit-deep: #17318f;
            --volt: #a7d323;
            --volt-ink: #4b5e0d;
            --copper: #b5622c;
            --store-font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
            --store-font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
            --store-font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
            --store-shadow: 0 20px 50px rgba(18, 22, 28, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
            --store-shadow-lift: 0 16px 34px rgba(18, 22, 28, 0.14);
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            color: var(--graphite);
            font-family: var(--store-font-body);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            background:
                linear-gradient(rgba(34, 71, 224, 0.05) 1px, transparent 1px) 0 0/42px 42px,
                linear-gradient(90deg, rgba(34, 71, 224, 0.05) 1px, transparent 1px) 0 0/42px 42px,
                radial-gradient(circle at 88% 6%, rgba(34, 71, 224, 0.10), transparent 34rem),
                radial-gradient(circle at 4% 70%, rgba(181, 98, 44, 0.07), transparent 30rem),
                var(--plate);
            background-attachment: fixed;
        }

        img,
        svg {
            display: block;
        }

        /* ==========================================================================
           2. Slide-out Side Menu Component — UNCHANGED
           ========================================================================== */
        #sideMenu {
            position: fixed;
            left: -260px;
            top: 0;
            width: 260px;
            height: 100vh;
            background: var(--glass-dark);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            backdrop-filter: blur(25px) saturate(180%);
            border-right: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
            color: #ffffff;
            padding: 30px 16px;
            box-sizing: border-box;
            transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 1000;
        }

        #sideMenu.active {
            left: 0;
        }

        #sideMenu h2 {
            text-align: left;
            padding-left: 12px;
            margin-bottom: 25px;
            font-family: var(--font-display);
            font-size: 1.15rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: #ffffff;
        }

        #sideMenu a {
            display: block;
            padding: 10px 16px;
            margin-bottom: 6px;
            color: var(--text-secondary);
            text-decoration: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            border: 1px solid transparent;
        }

        #sideMenu a:hover {
            background-color: var(--glass-hover);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        /* Invisible Edge Trigger for Hover-opening */
        #menuTrigger {
            position: fixed;
            left: 0;
            top: 0;
            width: 20px;
            height: 100vh;
            cursor: pointer;
            z-index: 1001;
        }

        #menuTrigger:focus-visible {
            outline: 2px solid var(--circuit);
            outline-offset: -2px;
        }

        .main-menu {
            cursor: pointer;
        }

        .submenu {
            display: none;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            margin: 4px 0 8px;
            padding: 4px 0;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .submenu.open {
            display: block;
        }

        .submenu a {
            padding-left: 32px !important;
            font-size: 13px;
            opacity: 0.85;
        }

        .submenu a:hover {
            opacity: 1;
        }

        /* ==========================================================================
           3. Site Header
           ========================================================================== */
        .site-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1500px;
            margin: 0 auto;
            padding: 28px 40px 0;
        }

        .brand {
            display: flex;
            align-items: baseline;
            gap: 8px;
            font-family: var(--store-font-display);
            font-weight: 700;
            font-size: 1.15rem;
            letter-spacing: -0.01em;
            color: var(--graphite);
        }

        .brand-mark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 7px;
            background: linear-gradient(135deg, var(--circuit) 0%, var(--circuit-deep) 100%);
            color: #fff;
        }

        .brand-tail {
            color: var(--steel);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--store-font-body);
            font-weight: 600;
            font-size: 14px;
            padding: 11px 20px;
            border-radius: 10px;
            text-decoration: none;
            border: 1px solid transparent;
            transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
            cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(120deg, var(--circuit) 0%, var(--circuit-deep) 100%);
            color: #fff;
            box-shadow: var(--store-shadow-lift);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 20px 40px rgba(34, 71, 224, 0.28);
        }

        .btn-secondary {
            background: var(--plate-strong);
            color: var(--graphite);
            border-color: rgba(18, 22, 28, 0.12);
        }

        .btn-secondary:hover {
            border-color: var(--circuit);
            color: var(--circuit-deep);
            transform: translateY(-2px);
        }

        .btn-ghost {
            background: transparent;
            color: var(--graphite);
            border-color: rgba(18, 22, 28, 0.14);
            padding: 9px 18px;
        }

        .btn-ghost:hover {
            border-color: var(--circuit);
            color: var(--circuit-deep);
        }

        /* ==========================================================================
           4. Hero
           ========================================================================== */
        .hero {
            max-width: 780px;
            margin: 0 auto;
            padding: 56px 40px 20px;
            text-align: center;
        }

        .eyebrow {
            font-family: var(--store-font-mono);
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--circuit-deep);
            background: rgba(34, 71, 224, 0.08);
            display: inline-block;
            padding: 6px 12px;
            border-radius: 999px;
            margin-bottom: 20px;
        }

        .hero h1 {
            font-family: var(--store-font-display);
            font-size: clamp(2rem, 4.4vw, 3rem);
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1.15;
            margin: 0 0 18px;
        }

        .hero h1 .text-accent {
            background: linear-gradient(110deg, var(--circuit) 0%, var(--copper) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
        }

        .hero-sub {
            color: var(--steel);
            font-size: 1.05rem;
            max-width: 560px;
            margin: 0 auto 30px;
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ==========================================================================
           5. Category Cards
           ========================================================================== */
        .categories {
            max-width: 1100px;
            margin: 50px auto 10px;
            padding: 0 40px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 22px;
        }

        .category-card {
            background: var(--plate-strong);
            border: 1px solid rgba(18, 22, 28, 0.08);
            border-radius: 18px;
            padding: 28px;
            box-shadow: var(--store-shadow);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .category-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--store-shadow-lift);
        }

        .category-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            background: rgba(34, 71, 224, 0.10);
            color: var(--circuit-deep);
        }

        .category-card:nth-child(2) .category-icon {
            background: rgba(181, 98, 44, 0.12);
            color: var(--copper);
        }

        .category-card h3 {
            font-family: var(--store-font-display);
            font-size: 1.2rem;
            margin: 0 0 8px;
            letter-spacing: -0.01em;
        }

        .category-card p {
            color: var(--steel);
            font-size: 14px;
            margin: 0 0 16px;
        }

        .category-card a {
            font-size: 14px;
            font-weight: 600;
            color: var(--circuit-deep);
            text-decoration: none;
        }

        .category-card a:hover {
            text-decoration: underline;
        }

        /* ==========================================================================
           6. Featured Products
           ========================================================================== */
        .section-heading {
            max-width: 1100px;
            margin: 64px auto 24px;
            padding: 0 40px;
            display: flex;
            align-items: baseline;
            justify-content: space-between;
        }

        .section-heading h2 {
            font-family: var(--store-font-display);
            font-size: 1.5rem;
            letter-spacing: -0.02em;
            margin: 0;
        }

        .section-heading span {
            font-family: var(--store-font-mono);
            font-size: 12px;
            color: var(--steel-soft);
        }

        .products {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 40px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
        }

        .product-card {
            background: var(--plate-strong);
            border: 1px solid rgba(18, 22, 28, 0.08);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--store-shadow);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--store-shadow-lift);
        }

        .product-swatch {
            height: 108px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }

        .product-swatch.sw-1 {
            background: linear-gradient(135deg, #2247e0, #17318f);
        }

        .product-swatch.sw-2 {
            background: linear-gradient(135deg, #b5622c, #7c3f18);
        }

        .product-swatch.sw-3 {
            background: linear-gradient(135deg, #486b1f, #2f4a12);
        }

        .product-swatch.sw-4 {
            background: linear-gradient(135deg, #384250, #12161c);
        }

        .product-body {
            padding: 16px 18px 18px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .product-sku {
            font-family: var(--store-font-mono);
            font-size: 10.5px;
            color: var(--steel-soft);
            letter-spacing: 0.05em;
            margin-bottom: 6px;
        }

        .product-body h4 {
            font-family: var(--store-font-display);
            font-size: 15px;
            margin: 0 0 6px;
            letter-spacing: -0.01em;
        }

        .product-body p {
            font-size: 13px;
            color: var(--steel);
            margin: 0 0 14px;
            flex: 1;
        }

        .product-foot {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .product-price {
            font-family: var(--store-font-mono);
            font-weight: 500;
            font-size: 14px;
            color: var(--graphite);
        }

        .add-btn {
            font-size: 12px;
            font-weight: 600;
            padding: 7px 12px;
            border-radius: 8px;
            background: var(--plate);
            color: var(--circuit-deep);
            border: 1px solid rgba(34, 71, 224, 0.18);
            cursor: pointer;
            transition: background 0.18s ease, color 0.18s ease;
        }

        .add-btn:hover {
            background: var(--circuit);
            color: #fff;
        }

        /* ==========================================================================
           7. Value Strip
           ========================================================================== */
        .value-strip {
            max-width: 1100px;
            margin: 64px auto 0;
            padding: 26px 40px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .value-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .value-icon {
            width: 34px;
            height: 34px;
            flex: none;
            border-radius: 9px;
            background: rgba(167, 211, 35, 0.22);
            color: var(--volt-ink);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .value-item h5 {
            margin: 0 0 3px;
            font-size: 13.5px;
            font-family: var(--store-font-display);
        }

        .value-item p {
            margin: 0;
            font-size: 12.5px;
            color: var(--steel);
        }

        /* ==========================================================================
           8. CTA Banner
           ========================================================================== */
        .cta-banner {
            max-width: 1100px;
            margin: 64px auto 0;
            padding: 40px;
            border-radius: 22px;
            background: linear-gradient(120deg, var(--circuit-deep) 0%, var(--circuit) 70%, #3a63f0 100%);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            position: relative;
            overflow: hidden;
        }

        .cta-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px);
            pointer-events: none;
        }

        .cta-copy h3 {
            font-family: var(--store-font-display);
            font-size: 1.4rem;
            margin: 0 0 6px;
            letter-spacing: -0.02em;
        }

        .cta-copy p {
            margin: 0;
            color: rgba(255, 255, 255, 0.82);
            font-size: 14px;
        }

        .cta-banner .btn-secondary {
            position: relative;
            z-index: 1;
        }

        /* ==========================================================================
           9. Footer
           ========================================================================== */
        .site-footer {
            max-width: 1100px;
            margin: 70px auto 0;
            padding: 40px 40px 30px;
        }

        .footer-top {
            display: flex;
            justify-content: space-between;
            gap: 40px;
            flex-wrap: wrap;
            padding-bottom: 28px;
            border-bottom: 1px solid rgba(18, 22, 28, 0.10);
        }

        .footer-brand p {
            max-width: 280px;
            color: var(--steel);
            font-size: 13.5px;
            margin: 10px 0 0;
        }

        .footer-links {
            display: flex;
            gap: 56px;
        }

        .footer-col h6 {
            font-family: var(--store-font-mono);
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--steel-soft);
            margin: 0 0 12px;
        }

        .footer-col a {
            display: block;
            color: var(--graphite);
            text-decoration: none;
            font-size: 13.5px;
            margin-bottom: 9px;
        }

        .footer-col a:hover {
            color: var(--circuit-deep);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 18px;
            font-family: var(--store-font-mono);
            font-size: 12px;
            color: var(--steel-soft);
            flex-wrap: wrap;
            gap: 10px;
        }

        .footer-bottom span.status {
            color: #4b8f2b;
        }

        a {
            color: var(--circuit-deep);
            text-decoration: none;
        }

        /* ==========================================================================
           10. Responsive
           ========================================================================== */
        @media (max-width: 860px) {
            .products {
                grid-template-columns: repeat(2, 1fr);
            }

            .value-strip {
                grid-template-columns: repeat(2, 1fr);
            }

            .categories {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 560px) {
            .site-header {
                padding: 22px 22px 0;
            }

            .hero {
                padding: 40px 22px 10px;
            }

            .categories,
            .products,
            .value-strip,
            .section-heading,
            .cta-banner,
            .site-footer {
                padding-left: 22px;
                padding-right: 22px;
            }

            .products {
                grid-template-columns: 1fr;
            }

            .value-strip {
                grid-template-columns: 1fr;
            }

            .footer-links {
                gap: 32px;
            }

            .cta-banner {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        @media (prefers-reduced-motion: reduce) {

            .btn,
            .category-card,
            .product-card {
                transition: none;
            }
        }

        /* Carousel Styles */
    #carousel {
      width: 100%;
      max-width: 800px;
      height: 466px;
      margin: 42px auto;
      position: relative;
      overflow: hidden;
      background-color: var(--plate);
      border-radius: 20px;
      box-shadow: var(--store-shadow);
      border: 1px solid var(--line);
      position: relative;
    aspect-ratio: 16 / 9;   /* match your image ratio */
    overflow: hidden;
    overflow-anchor: none;  /* stops the browser re-adjusting scroll on layout changes */
    }

    /* html {
    scrollbar-gutter: stable;
} */

    .slide {
      display: none;
      width: 100%;
      height: 466px;
    }

    .slide.active {
      display: block;
    }

    .slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px;
    }

    .prev,
    .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(18, 22, 28, 0.8);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.2);
      padding: 12px 16px;
      font-size: 18px;
      cursor: pointer;
      border-radius: 12px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(10px);
    }

    .prev {
      left: 20px;
    }

    .next {
      right: 20px;
    }

    .prev:hover,
    .next:hover {
      background-color: rgba(18, 22, 28, 0.95);
      border-color: rgba(255, 255, 255, 0.4);
      transform: translateY(-50%) scale(1.05);
      box-shadow: 0 8px 24px rgba(18, 22, 28, 0.3);
    }


    * {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #222;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #222;
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h2 {
    margin: 0;
    font-size: 22px;
}

.cart-button {
    position: relative;
    background: transparent;
    border: none;
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 12px;
}

.cart-button:hover {
    opacity: 0.8;
}

.cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    max-width: min(360px, calc(100vw - 48px));
    padding: 14px 20px;
    border: 1px solid #cfe6c4;
    border-radius: 10px;
    background: #edf7e9;
    color: #467d27;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cart-toast.error {
    border-color: #f1b8bc;
    background: #fff0f1;
    color: #a12632;
}

[hidden].cart-toast {
    display: none;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    padding: 2px 5px;
    background: #e63946;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-container {
    width: 92%;
    max-width: 1250px;
    margin: 35px auto;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px;
    box-sizing: border-box !important;
}

.product-card.is-hidden {
    display: none !important;
}

.view-product-details {
    width: 100%;
    margin: 0 0 8px;
    padding: 10px 12px;
    border: 1px solid rgba(34, 71, 224, .24);
    border-radius: 9px;
    background: rgba(34, 71, 224, .06);
    color: var(--circuit-deep);
    font: 600 13px var(--store-font-body);
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}

.view-product-details:hover {
    background: rgba(34, 71, 224, .12);
    border-color: rgba(34, 71, 224, .45);
    transform: translateY(-1px);
}

.product-modal[hidden] {
    display: none !important;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1150;
    display: grid;
    place-items: center;
    padding: 20px;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 45, .58);
    backdrop-filter: blur(4px);
}

.product-modal-dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    width: min(100%, 680px);
    height: min(90vh, 680px);
    overflow: hidden;
    border: 1px solid rgba(124, 198, 255, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 70px rgba(7, 24, 45, .3);
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 24, 45, .08);
    color: var(--graphite);
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.product-modal-image {
    align-self: center;
    justify-self: center;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    background: #f3f6fa;
}

.product-modal-content {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 38px 30px 30px;
}

.product-modal-content .eyebrow {
    margin: 0 0 10px;
}

.product-modal-content h2 {
    margin: 0;
    font: 700 25px var(--store-font-display);
}

.product-modal-price {
    margin: 12px 0;
    color: var(--circuit-deep);
    font-size: 22px;
    font-weight: 700;
}

.product-modal-description {
    color: var(--steel);
    line-height: 1.6;
}

.product-modal-stock {
    margin: 20px 0 0;
    color: var(--graphite);
    font-weight: 600;
}

@media (max-width: 600px) {
    .product-modal {
        align-items: flex-start;
        overflow-y: auto;
        padding: 12px;
    }

    .product-modal-dialog {
        grid-template-columns: 1fr;
        width: 100%;
        max-height: calc(100vh - 24px);
        height: auto;
        overflow-y: auto;
        border-radius: 16px;
    }

    .product-modal-image {
        width: 100%;
        height: 180px;
        max-height: none;
    }

    .product-modal-content {
        overflow-y: visible;
        padding: 38px 20px 24px;
    }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.product-image-container {
    width: 100%;
    height: 220px;
    background: #f1f1f1;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-details {
    display: grid !important;
    grid-template-rows: 1fr auto !important;
    flex: 1 1 auto !important;
    padding: 16px;
    box-sizing: border-box !important;
}

.product-details .top-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-details .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.product-details .card-bottom-section {
    display: flex !important;
    flex-direction: column;
    gap: 8px !important;
    width: 100%;
    margin-top: 16px !important;
}

.product-name {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.description {
    color: #777;
    font-size: 14px;
    line-height: 1.5;
    min-height: 63px;
    margin-bottom: 12px;
}

.price {
    color: #150b0c;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 15px;
}

.add-cart {
    width: 100% !important;
    padding: 12px;
    border: none;
    border-radius: 7px;
    background: #1e9463;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.add-cart:hover {
    background: #889b8f;
}

.add-cart:active {
    transform: scale(0.98);
}

.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    color: #777;
    font-size: 20px;
}

.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-panel.active {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 21px;
}

.close-cart {
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: #555;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #1e1012;
    font-weight: bold;
    margin-bottom: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-controls form {
    margin: 0;
}

.quantity-button {
    width: 27px;
    height: 27px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.quantity-button:hover {
    background: #f1f1f1;
}

.quantity-number {
    min-width: 25px;
    text-align: center;
    font-weight: bold;
}

.remove-button {
    border: none;
    background: none;
    color: #e63946;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    margin-left: 5px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-cart-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    background: #fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.total-price {
    color: #e63946;
}

.checkout {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 7px;
    background: #28a745;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.checkout:hover {
    background:var(--circuit-deep);
}

.clear-cart {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: white;
    color: #777;
    cursor: pointer;
}

.clear-cart:hover {
    background: #f5f5f5;
}

@media (max-width: 500px) {
    .header {
        padding: 14px 4%;
    }
    .header h2 {
        font-size: 18px;
    }
    .product-container {
        width: 94%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .product-image-container {
        height: 160px;
    }
    .product-details {
        padding: 12px;
    }
    .product-name {
        font-size: 16px;
    }
    .description {
        font-size: 12px;
        min-height: 54px;
    }
    .price {
        font-size: 18px;
    }
    .add-cart {
        font-size: 13px;
        padding: 10px;
    }
    .cart-panel {
        width: 100%;
    }
}

:root {
    --graphite: #12161c;
    --steel: #5c6675;
    --steel-soft: #8b93a0;
    --plate: #eef1f5;
    --plate-strong: #ffffff;
    --circuit: #2247e0;
    --circuit-deep: #17318f;
    --copper: #b5622c;
    --volt: #a7d323;
    --volt-ink: #4b5e0d;
    --line: rgba(18, 22, 28, .09);
    --navy: #07182d;
    --text-secondary: rgba(255, 255, 255, 0.88);
    --glass-dark: rgba(7, 24, 45, 0.65);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-hover: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(10, 42, 91, 0.2);
    --store-font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
    --store-font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --store-font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
    --store-shadow: 0 20px 50px rgba(18, 22, 28, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --store-shadow-lift: 0 16px 34px rgba(18, 22, 28, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--graphite);
    font-family: var(--store-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        linear-gradient(rgba(34, 71, 224, 0.05) 1px, transparent 1px) 0 0/42px 42px,
        linear-gradient(90deg, rgba(34, 71, 224, 0.05) 1px, transparent 1px) 0 0/42px 42px,
        radial-gradient(circle at 88% 6%, rgba(34, 71, 224, 0.10), transparent 34rem),
        radial-gradient(circle at 4% 70%, rgba(181, 98, 44, 0.07), transparent 30rem),
        var(--plate);
    background-attachment: fixed;
}

img, svg {
    display: block;
}

a {
    color: var(--circuit-deep);
    text-decoration: none;
}

/* Slide-out Side Menu */
#sideMenu {
    position: fixed;
    left: -260px;
    top: 0;
    width: 260px;
    height: 100vh;
    background: var(--glass-dark);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    backdrop-filter: blur(25px) saturate(180%);
    border-right: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: #ffffff;
    padding: 30px 16px;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

#sideMenu.active {
    left: 0;
}

#sideMenu .brand {
    font-family: var(--store-font-display);
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 28px;
    padding: 0 12px;
    color: #fff;
}

#sideMenu a {
    display: block;
    padding: 10px 16px;
    margin-bottom: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

#sideMenu a:hover,
#sideMenu a.active {
    background-color: var(--glass-hover);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#menuTrigger {
    position: fixed;
    left: 0;
    top: 0;
    width: 20px;
    height: 100vh;
    z-index: 1001;
}

.main-menu {
    cursor: pointer;
}

.submenu {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin: 4px 0 8px;
    padding: 4px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.submenu.open {
    display: block;
}

.submenu a {
    padding-left: 32px !important;
    font-size: 13px;
    opacity: 0.85;
}

/* Site Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 28px 40px 0;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--store-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--graphite);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--circuit) 0%, var(--circuit-deep) 100%);
    color: #fff;
}

.brand-tail {
    color: var(--steel);
    font-weight: 500;
    font-size: 0.95rem;
}

.brand-tail-popupmenu {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

.cart-button {
    position: relative;
    background: var(--circuit-deep);
    border: none;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.cart-button:hover {
    background: var(--circuit);
}

.cart-count {
    background: #e63946;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    padding: 2px 7px;
}

/* Hero Section */
.hero {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 40px 20px;
    text-align: center;
}

.eyebrow {
    font-family: var(--store-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--circuit-deep);
    background: rgba(34, 71, 224, 0.08);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--store-font-display);
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 18px;
}

.hero h1 .text-accent {
    background: linear-gradient(110deg, var(--circuit) 0%, var(--copper) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-sub {
    color: var(--steel);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 30px;
}

/* Carousel Slider */
#carousel {
    width: 100%;
    max-width: 800px;
    height: 440px;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    background-color: var(--plate);
    border-radius: 20px;
    box-shadow: var(--store-shadow);
    border: 1px solid var(--line);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(18, 22, 28, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background-color: rgba(18, 22, 28, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

/* Product Section */
.product-section {
    max-width: 1500px;
    margin: 30px auto;
    padding: 0 40px;
}

.product-section h2 {
    font-family: var(--store-font-display);
    font-size: 1.8rem;
    margin-bottom: 24px;
    margin-left: 85px;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .product-section {
        padding: 0 20px;
    }

    .product-section h2 {
        margin-left: 0;
        text-align: center;
    }
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--store-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--store-shadow-lift);
}

.product-image-container {
    width: 100%;
    height: 200px;
    background: #ffffff;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-details {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.category-badge {
    font-family: var(--store-font-mono);
    font-size: 11px;
    color: var(--steel-soft);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.description {
    color: var(--steel);
    font-size: 13px;
    line-height: 1.4;
    min-height: 52px;
    margin-bottom: 12px;
}

.price {
    font-family: var(--store-font-mono);
    color: var(--graphite);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.add-cart {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: var(--circuit);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.add-cart:hover {
    background: var(--circuit-deep);
}

.add-cart:disabled {
    background: #b7bdc7;
    color: #f5f6f8;
    cursor: not-allowed;
}

.product-card.is-out-of-stock {
    background: #f1f2f4;
}

.product-card.is-out-of-stock .product-image {
    filter: grayscale(1);
    opacity: .65;
}

.stock-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e4e6e9;
    color: #626a75;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Cart Panel Drawer */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998; /* Below cart panel, above body content */
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: white;
    z-index: 999; /* Highest priority */
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-panel.active {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-family: var(--store-font-display);
    font-size: 1.2rem;
}

.close-cart {
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--steel);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-select {
    display: flex;
    align-items: center;
}

.cart-item-select input {
    width: 17px;
    height: 17px;
    accent-color: var(--circuit);
}

.cart-item-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    background: #f5f5f5;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-price {
    font-family: var(--store-font-mono);
    color: var(--graphite);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-controls form {
    margin: 0;
}

.quantity-button {
    width: 26px;
    height: 26px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.quantity-button:hover {
    background: #f1f1f1;
}

.quantity-button:disabled {
    background: #eceef1;
    color: #9aa1ab;
    cursor: not-allowed;
}

.quantity-number {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
}

.remove-button {
    border: none;
    background: none;
    color: #e63946;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    margin-left: 8px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--steel);
}

.empty-cart-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.total-price {
    font-family: var(--store-font-mono);
    color: #e63946;
}

.checkout {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--circuit);
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.checkout:hover {
    background:var(--circuit-deep);
}

.checkout:disabled {
    background: #aeb5bf;
    cursor: not-allowed;
}

.clear-cart {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: var(--steel);
    cursor: pointer;
}

.clear-cart:hover {
    background: #f5f5f5;
}

/* Footer Section */
.site-footer {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 40px 40px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.footer-brand p {
    max-width: 280px;
    color: var(--steel);
    font-size: 13.5px;
    margin: 10px 0 0;
}

.footer-bottom {
    padding-top: 18px;
    font-family: var(--store-font-mono);
    font-size: 12px;
    color: var(--steel-soft);
}

@media (max-width: 600px) {
    .site-header, .hero, .product-section, .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .cart-panel {
        width: 100%;
    }
}

.brand-link {
    align-items: center;
    text-decoration: none;
}

.account-card {
    max-width: 1000px;
}

.customer-account-page {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 48px 32px 72px;
}

.account-page-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding: 26px 30px;
    border: 1px solid rgba(124, 198, 255, .18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(124, 198, 255, .18), transparent 16rem),
        linear-gradient(120deg, #10243d, #17365b);
    color: #fff;
    box-shadow: 0 16px 38px rgba(7, 24, 45, .15);
}

.account-avatar {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: 600 24px var(--store-font-display);
}

.account-page-heading .eyebrow {
    margin: 0 0 3px;
    color: #a9ccff;
    font: 500 11px var(--store-font-mono);
    letter-spacing: .1em;
}

.account-page-heading h1 {
    margin: 0;
    font: 600 25px var(--store-font-display);
}

.account-page-heading > div:nth-child(2) > p:last-child {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.account-return-link {
    margin-left: auto;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    white-space: nowrap;
}

.account-return-link:hover {
    background: rgba(255, 255, 255, .18);
}

.account-page-content {
    display: grid;
    gap: 18px;
}

.account-edit-form {
    padding: 20px;
    border: 1px solid rgba(18, 22, 28, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--store-shadow);
}

.account-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.account-column.account-panel {
    min-width: 0;
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(18, 22, 28, .08);
    border-radius: 14px;
    background: #fff;
}

.account-column h2 {
    margin: 0 0 18px;
    font-size: 18px;
}

.account-column h2:not(:first-child) {
    margin-top: 28px;
}

.account-form > .btn {
    margin-top: 28px;
}

.account-panel-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.account-panel-heading h2 {
    margin: 0;
    font: 600 17px var(--store-font-display);
}

.account-panel-heading p {
    margin: 3px 0 0;
    color: var(--steel);
    font-size: 12px;
}

.account-panel-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 11px;
    background: rgba(34, 71, 224, .08);
    color: var(--circuit-deep);
    font: 500 11px var(--store-font-mono);
}

.account-column.account-panel .form-group {
    margin-bottom: 15px;
}

.account-credentials-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
}

.account-credentials-panel .account-panel-heading {
    grid-column: 1 / -1;
}

.account-save-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 4px 4px 0;
}

.account-save-bar > span {
    color: var(--steel);
    font-size: 12px;
}

.account-save-bar .btn {
    min-width: 160px;
}

.registration-form {
    max-width: 620px;
    margin: 0 auto;
}

.registration-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.registration-progress li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: var(--steel-soft);
    font-size: 12px;
}

.registration-progress li > span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    font: 500 12px var(--store-font-mono);
}

.registration-progress li[aria-current="step"] {
    color: var(--circuit-deep);
}

.registration-progress li[aria-current="step"] > span {
    border-color: var(--circuit);
    background: var(--circuit);
    color: #fff;
}

.registration-progress li strong {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.registration-step[hidden] {
    display: none;
}

.registration-step-heading {
    margin-bottom: 22px;
}

.registration-step-heading > span {
    color: var(--circuit);
    font: 500 11px var(--store-font-mono);
    letter-spacing: .08em;
}

.registration-step-heading h2 {
    margin: 5px 0 0;
    font: 600 22px var(--store-font-display);
}

.registration-step-heading p {
    margin: 5px 0 0;
    color: var(--steel);
    font-size: 13px;
}

.registration-step .form-group {
    margin-bottom: 16px;
}

.registration-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.registration-step-actions .btn {
    min-width: 120px;
}

.account-payment {
    margin: 0;
    padding: 22px;
    border: 1px solid rgba(18, 22, 28, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--store-shadow);
}

.account-payment h2 {
    margin: 0;
}

.account-payment p {
    margin: 0 0 14px 48px;
    color: var(--steel);
    font-size: 14px;
}

.saved-card-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.saved-card {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(18, 22, 28, .08);
    border-radius: 13px;
    background: #f8f9fb;
}

.saved-card form:first-child {
    flex: 1;
}

.saved-card-select {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(18, 22, 28, .12);
    border-radius: 10px;
    background: #fff;
    color: var(--graphite);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.saved-card-select.selected {
    border-color: var(--circuit);
    background: rgba(34, 71, 224, .045);
}

.saved-card-select small {
    color: var(--steel);
}

.saved-card-remove {
    white-space: nowrap;
}

.account-payment .payment-note {
    display: block;
    margin-top: 8px;
    margin-left: 0;
}

.card-modal-dialog button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.card-modal[hidden] {
    display: none;
}

.card-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 20px;
}

.card-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 45, .55);
}

.card-modal-dialog {
    position: relative;
    width: min(100%, 480px);
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--store-shadow-lift);
}

.card-modal-dialog h2 {
    margin: 0;
    font: 600 21px var(--store-font-display);
}

.card-modal-name {
    margin: 6px 0 22px;
    color: var(--steel);
    font-size: 13px;
}

.card-modal-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.card-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

@media (max-width: 700px) {
    .customer-account-page {
        padding: 28px 18px 48px;
    }

    .account-page-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 22px;
    }

    .account-page-heading > div:nth-child(2) {
        flex: 1 1 calc(100% - 78px);
    }

    .account-return-link {
        margin: 4px 0 0 76px;
    }

    .account-credentials-panel {
        grid-template-columns: 1fr;
    }

    .account-credentials-panel .account-panel-heading {
        grid-column: auto;
    }

    .account-save-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .account-save-bar .btn {
        width: 100%;
    }

    .account-payment p {
        margin-left: 0;
    }

    .account-columns {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Customer menu refinement */
    #sideMenu {
        width: 286px;
        left: -286px;
        padding: 28px 18px;
        background:
            radial-gradient(circle at 90% 0%, rgba(124, 198, 255, .18), transparent 13rem),
            linear-gradient(160deg, rgba(7, 24, 45, .98), rgba(16, 34, 61, .96));
        border-right: 1px solid rgba(124, 198, 255, .24);
        box-shadow: 16px 0 42px rgba(7, 24, 45, .28);
    }

    #sideMenu.active {
        left: 0;
    }

    #sideMenu .brand {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 4px 26px;
        padding: 0 8px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
        font-size: 19px;
        letter-spacing: -.02em;
    }

    #sideMenu a {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 44px;
        margin: 0 0 7px;
        padding: 10px 14px;
        border: 1px solid transparent;
        border-radius: 12px;
        color: rgba(255, 255, 255, .78);
        font-size: 14px;
        letter-spacing: .01em;
    }

    #sideMenu a:hover,
    #sideMenu a.active {
        background: linear-gradient(100deg, rgba(124, 198, 255, .18), rgba(255, 255, 255, .07));
        border-color: rgba(124, 198, 255, .3);
        color: #fff;
        box-shadow: inset 3px 0 0 var(--sky), 0 8px 20px rgba(0, 0, 0, .12);
        transform: translateX(2px);
    }

    #sideMenu .main-menu {
        justify-content: space-between;
    }

    #sideMenu .submenu {
        margin: 2px 0 10px;
        padding: 6px;
        border: 1px solid rgba(124, 198, 255, .16);
        border-radius: 14px;
        background: rgba(0, 0, 0, .2);
    }

    #sideMenu .submenu a {
        min-height: 38px;
        margin-bottom: 3px;
        padding: 8px 11px 8px 18px !important;
        color: rgba(255, 255, 255, .68);
        font-size: 12px;
    }

    #sideMenu .submenu a:hover,
    #sideMenu .submenu a.active {
        box-shadow: inset 2px 0 0 var(--sky);
    }

    #menuTrigger {
        width: 24px;
    }

    .contact-panel {
        display: block;
        margin: 2px 0 10px;
        padding: 13px;
        border: 1px solid rgba(124, 198, 255, .2);
        border-radius: 16px;
        background: linear-gradient(155deg, rgba(124, 198, 255, .11), rgba(255, 255, 255, .035));
    }

    #sideMenu .contact-panel[hidden] {
        display: none;
    }

    .contact-panel.open {
        display: block;
    }

    .contact-card-heading {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .contact-card-icon {
        display: grid;
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        place-items: center;
        border-radius: 12px;
        background: rgba(124, 198, 255, .16);
        color: #a9ddff;
    }

    .contact-card-icon svg {
        width: 21px;
        height: 21px;
    }

    .contact-card-heading strong,
    .contact-card-heading span,
    .contact-detail small,
    .contact-detail strong {
        display: block;
    }

    .contact-card-heading strong {
        color: #fff;
        font-size: 13px;
    }

    .contact-card-heading div > span {
        margin-top: 3px;
        color: rgba(255, 255, 255, .62);
        font-size: 10px;
        line-height: 1.4;
    }

    .contact-card-details {
        display: grid;
        gap: 11px;
        padding: 13px 0;
    }

    #sideMenu .contact-detail {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: rgba(255, 255, 255, .83);
        font-size: 11px;
        transform: none;
        box-shadow: none;
    }

    #sideMenu .contact-detail:hover {
        background: none;
        border: 0;
        box-shadow: none;
        transform: none;
    }

    .contact-detail-icon {
        display: grid;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        place-items: center;
        border-radius: 9px;
        background: rgba(255, 255, 255, .08);
        color: #a9ddff;
    }

    .contact-detail-icon svg {
        width: 15px;
        height: 15px;
    }

    .contact-social-icon {
        font-size: 19px;
        font-weight: 600;
    }

    .contact-detail small {
        margin-bottom: 2px;
        color: rgba(255, 255, 255, .5);
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .contact-detail strong {
        color: rgba(255, 255, 255, .92);
        font-size: 10px;
        font-weight: 500;
        overflow-wrap: anywhere;
    }

    #sideMenu .contact-link:hover strong {
        color: #a9ddff;
    }

    .contact-map {
        overflow: hidden;
        border: 1px solid rgba(124, 198, 255, .2);
        border-radius: 12px;
        background: rgba(0, 0, 0, .18);
    }

    .contact-map-heading {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 9px 10px;
        color: rgba(255, 255, 255, .84);
        font-size: 10px;
        font-weight: 600;
    }

    .contact-map-heading > span:first-child {
        color: #a9ddff;
        font-size: 16px;
    }

    .contact-map iframe {
        display: block;
        width: 100%;
        height: 130px;
        border: 0;
        filter: saturate(.8);
    }

    #sideMenu .contact-map > a {
        display: block;
        min-height: 0;
        margin: 0;
        padding: 8px 10px;
        border: 0;
        border-radius: 0;
        color: #a9ddff;
        font-size: 10px;
        text-align: right;
    }

    #sideMenu .contact-map > a:hover {
        background: rgba(255, 255, 255, .05);
        transform: none;
        box-shadow: none;
    }

    /* Contact page layout */
    .contact-page {
        width: 100%;
        max-width: 1240px;
        margin: 0 auto;
        padding: 48px 40px 72px;
    }

    .contact-page-hero {
        margin-bottom: 30px;
        padding: 38px 42px;
        border: 1px solid rgba(47, 119, 190, .12);
        border-radius: 24px;
        background:
            radial-gradient(circle at 88% 18%, rgba(86, 169, 239, .2), transparent 19rem),
            linear-gradient(120deg, #f1f8ff, #f8fbff 62%, #edf6ff);
    }

    .contact-page-hero .eyebrow,
    .contact-page-brand .eyebrow,
    .contact-page-map-heading .eyebrow {
        margin: 0 0 8px;
        color: #387db7;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .contact-page-hero h1 {
        margin: 0;
        color: #132d49;
        font-family: var(--store-font-display);
        font-size: clamp(2.2rem, 5vw, 3.6rem);
        letter-spacing: -.04em;
    }

    .contact-page-hero > p:last-child {
        max-width: 620px;
        margin: 12px 0 0;
        color: #526579;
        font-size: 16px;
        line-height: 1.7;
    }

    .contact-page-content {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: stretch;
        gap: 24px;
    }

    .contact-page-card {
        min-width: 0;
        padding: 28px;
        border: 1px solid rgba(26, 59, 91, .1);
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 18px 48px rgba(17, 47, 78, .08);
    }

    .contact-page-brand {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .contact-page-brand-icon {
        display: grid;
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
        place-items: center;
        border-radius: 17px;
        background: linear-gradient(145deg, #e8f5ff, #d6ebff);
        color: #2679b7;
    }

    .contact-page-brand-icon svg {
        width: 27px;
        height: 27px;
    }

    .contact-page-brand h2,
    .contact-page-map-heading h2 {
        margin: 0;
        color: #18334e;
        font-family: var(--store-font-display);
        font-size: 20px;
        line-height: 1.35;
    }

    .contact-page-intro {
        margin: 22px 0;
        color: #647487;
        font-size: 14px;
        line-height: 1.7;
    }

    .contact-page-details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .contact-page-detail {
        display: flex;
        min-width: 0;
        min-height: 74px;
        align-items: center;
        gap: 12px;
        padding: 13px;
        border: 1px solid #e8eef4;
        border-radius: 14px;
        background: #fbfdff;
        color: #193550;
        text-decoration: none;
        transition: border-color .2s, background .2s, transform .2s;
    }

    .contact-page-link:hover {
        transform: translateY(-2px);
        border-color: #b7dafa;
        background: #f3f9ff;
    }

    .contact-page-detail .contact-detail-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 11px;
        background: #edf6ff;
        color: #3284c1;
    }

    .contact-page-detail .contact-detail-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-page-detail .contact-social-icon {
        font-size: 22px;
    }

    .contact-page-detail > span:last-child {
        min-width: 0;
    }

    .contact-page-detail small {
        display: block;
        margin-bottom: 4px;
        color: #8291a1;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .09em;
        text-transform: uppercase;
    }

    .contact-page-detail strong {
        display: block;
        color: #213b55;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .contact-page-map-card {
        display: flex;
        flex-direction: column;
    }

    .contact-page-map-heading {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 18px;
    }

    .contact-page-map-heading .eyebrow {
        margin-bottom: 4px;
    }

    .contact-page-map-heading > div > p:last-child {
        margin: 5px 0 0;
        color: #718196;
        font-size: 13px;
    }

    .contact-page-map-icon {
        display: grid;
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        place-items: center;
        border-radius: 15px;
        background: #edf6ff;
        color: #3284c1;
        font-size: 28px;
    }

    .contact-page-map {
        flex: 1;
        min-height: 350px;
        overflow: hidden;
        border: 1px solid #e1eaf2;
        border-radius: 16px;
        background: #eef4f8;
    }

    .contact-page-map iframe {
        display: block;
        width: 100%;
        min-height: 350px;
        height: 100%;
        border: 0;
    }

    .contact-page-map-link {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        align-self: flex-end;
        margin-top: 15px;
        color: #2679b7;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .contact-page-map-link:hover {
        color: #15598e;
    }

    @media (max-width: 800px) {
        .contact-page {
            padding: 32px 22px 52px;
        }

        .contact-page-content {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 520px) {
        .contact-page {
            padding: 24px 16px 40px;
        }

        .contact-page-hero {
            margin-bottom: 18px;
            padding: 28px 22px;
            border-radius: 18px;
        }

        .contact-page-hero > p:last-child {
            font-size: 14px;
        }

        .contact-page-card {
            padding: 20px;
            border-radius: 18px;
        }

        .contact-page-brand {
            align-items: flex-start;
        }

        .contact-page-brand h2 {
            font-size: 17px;
        }

        .contact-page-details {
            grid-template-columns: 1fr;
        }

        .contact-page-detail {
            min-height: 66px;
        }
    }

    .contact-page {
        max-width: 1240px;
        margin: 0 auto;
        padding: 48px 40px 72px;
    }

    .contact-page-hero {
        margin-bottom: 30px;
        padding: 38px 42px;
        border: 1px solid rgba(47, 119, 190, .12);
        border-radius: 24px;
        background:
            radial-gradient(circle at 88% 18%, rgba(86, 169, 239, .2), transparent 19rem),
            linear-gradient(120deg, #f1f8ff, #f8fbff 62%, #edf6ff);
    }

    .contact-page-hero .eyebrow,
    .contact-page-brand .eyebrow,
    .contact-page-map-heading .eyebrow {
        margin: 0 0 8px;
        color: #387db7;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .contact-page-hero h1 {
        margin: 0;
        color: #132d49;
        font-family: var(--store-font-display);
        font-size: clamp(2.2rem, 5vw, 3.6rem);
        letter-spacing: -.04em;
    }

    .contact-page-hero > p:last-child {
        max-width: 620px;
        margin: 12px 0 0;
        color: #526579;
        font-size: 16px;
        line-height: 1.7;
    }

    .contact-page-content {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: stretch;
        gap: 24px;
    }

    .contact-page-card {
        min-width: 0;
        padding: 28px;
        border: 1px solid rgba(26, 59, 91, .1);
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 18px 48px rgba(17, 47, 78, .08);
    }

    .contact-page-brand {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .contact-page-brand-icon {
        display: grid;
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
        place-items: center;
        border-radius: 17px;
        background: linear-gradient(145deg, #e8f5ff, #d6ebff);
        color: #2679b7;
    }

    .contact-page-brand-icon svg {
        width: 27px;
        height: 27px;
    }

    .contact-page-brand h2,
    .contact-page-map-heading h2 {
        margin: 0;
        color: #18334e;
        font-family: var(--store-font-display);
        font-size: 20px;
        line-height: 1.35;
    }

    .contact-page-intro {
        margin: 22px 0;
        color: #647487;
        font-size: 14px;
        line-height: 1.7;
    }

    .contact-page-details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .contact-page-detail {
        display: flex;
        min-width: 0;
        min-height: 74px;
        align-items: center;
        gap: 12px;
        padding: 13px;
        border: 1px solid #e8eef4;
        border-radius: 14px;
        background: #fbfdff;
        color: #193550;
        text-decoration: none;
        transition: border-color .2s, background .2s, transform .2s;
    }

    .contact-page-link:hover {
        transform: translateY(-2px);
        border-color: #b7dafa;
        background: #f3f9ff;
    }

    .contact-page-detail .contact-detail-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 11px;
        background: #edf6ff;
        color: #3284c1;
    }

    .contact-page-detail .contact-detail-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-page-detail .contact-social-icon {
        font-size: 22px;
    }

    .contact-page-detail > span:last-child {
        min-width: 0;
    }

    .contact-page-detail small {
        display: block;
        margin-bottom: 4px;
        color: #8291a1;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .09em;
        text-transform: uppercase;
    }

    .contact-page-detail strong {
        display: block;
        color: #213b55;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .contact-page-map-card {
        display: flex;
        flex-direction: column;
    }

    .contact-page-map-heading {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 18px;
    }

    .contact-page-map-heading .eyebrow {
        margin-bottom: 4px;
    }

    .contact-page-map-heading > div > p:last-child {
        margin: 5px 0 0;
        color: #718196;
        font-size: 13px;
    }

    .contact-page-map-icon {
        display: grid;
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        place-items: center;
        border-radius: 15px;
        background: #edf6ff;
        color: #3284c1;
        font-size: 28px;
    }

    .contact-page-map {
        flex: 1;
        min-height: 350px;
        overflow: hidden;
        border: 1px solid #e1eaf2;
        border-radius: 16px;
        background: #eef4f8;
    }

    .contact-page-map iframe {
        display: block;
        width: 100%;
        min-height: 350px;
        height: 100%;
        border: 0;
    }

    .contact-page-map-link {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        align-self: flex-end;
        margin-top: 15px;
        color: #2679b7;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .contact-page-map-link:hover {
        color: #15598e;
    }

    @media (max-width: 800px) {
        .contact-page {
            padding: 32px 22px 52px;
        }

        .contact-page-content {
            grid-template-columns: 1fr;
        }

        .contact-page-map {
            min-height: 320px;
        }

        .contact-page-map iframe {
            min-height: 320px;
        }
    }

    @media (max-width: 520px) {
        .contact-page {
            padding: 24px 16px 40px;
        }

        .contact-page-hero {
            margin-bottom: 18px;
            padding: 28px 22px;
            border-radius: 18px;
        }

        .contact-page-hero > p:last-child {
            font-size: 14px;
        }

        .contact-page-card {
            padding: 20px;
            border-radius: 18px;
        }

        .contact-page-brand {
            align-items: flex-start;
        }

        .contact-page-brand h2 {
            font-size: 17px;
        }

        .contact-page-details {
            grid-template-columns: 1fr;
        }

        .contact-page-detail {
            min-height: 66px;
        }
    }

    @media (max-width: 600px) {
        #sideMenu {
            width: min(286px, 86vw);
            left: min(-286px, -86vw);
        }
    }

    /* Professional customer navigation finish */
    #sideMenu {
        width: 304px;
        left: -304px;
        padding: 30px 20px;
        background:
            linear-gradient(180deg, rgba(7, 24, 45, .985), rgba(11, 34, 65, .98)),
            var(--navy);
        border-right: 1px solid rgba(124, 198, 255, .28);
        box-shadow: 22px 0 55px rgba(7, 24, 45, .34);
    }

    #sideMenu::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 2px;
        height: 118px;
        background: linear-gradient(var(--sky), transparent);
        opacity: .8;
    }

    #sideMenu.active {
        left: 0;
    }

    #sideMenu .brand {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 2px 24px;
        padding: 0 4px 22px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        color: #fff;
        font: 700 20px var(--store-font-display);
    }

    #sideMenu .brand .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        box-shadow: 0 6px 16px rgba(34, 71, 224, .35);
    }

    #sideMenu .brand-tail-popupmenu {
        color: rgba(255, 255, 255, .55);
        font-size: 13px;
        font-weight: 500;
    }

    #sideMenu a {
        min-height: 46px;
        margin: 0 0 6px;
        padding: 11px 15px;
        border: 1px solid transparent;
        border-radius: 11px;
        color: rgba(255, 255, 255, .72);
        font-size: 14px;
        font-weight: 500;
        letter-spacing: .015em;
        transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    }

    #sideMenu a:hover,
    #sideMenu a.active {
        background: linear-gradient(100deg, rgba(74, 139, 255, .22), rgba(124, 198, 255, .08));
        border-color: rgba(124, 198, 255, .27);
        color: #fff;
        box-shadow: inset 3px 0 0 var(--sky), 0 8px 18px rgba(0, 0, 0, .13);
        transform: translateX(3px);
    }

    #sideMenu a:focus-visible,
    #menuTrigger:focus-visible {
        outline: 2px solid var(--sky);
        outline-offset: 3px;
    }

    #sideMenu .main-menu {
        justify-content: space-between;
        cursor: pointer;
    }

    #sideMenu .submenu {
        margin: 2px 0 12px;
        padding: 6px;
        border: 1px solid rgba(124, 198, 255, .15);
        border-radius: 12px;
        background: rgba(0, 0, 0, .18);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    }

    #sideMenu .submenu a {
        min-height: 37px;
        margin-bottom: 2px;
        padding: 8px 10px 8px 17px !important;
        border-radius: 8px;
        color: rgba(255, 255, 255, .62);
        font-size: 12px;
    }

    #sideMenu .submenu a:hover,
    #sideMenu .submenu a.active {
        box-shadow: inset 2px 0 0 var(--sky);
        transform: translateX(2px);
    }

    #menuTrigger {
        width: 26px;
    }

    .product-filter-row {
        display: flex;
        gap: 8px;
        margin-left: auto;
    }

    .product-filter-row select {
        min-width: 150px;
        padding: 10px 12px;
        border: 1px solid rgba(18, 22, 28, .14);
        border-radius: 9px;
        background: #fff;
        color: var(--graphite);
        font: 500 13px var(--store-font-body);
    }

    @media (max-width: 600px) {
        #sideMenu {
            width: min(304px, 88vw);
            left: min(-304px, -88vw);
        }
    }

    .account-column + .account-column {
        margin-top: 28px;
    }
}

.product-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.search-bar-container {
    position: relative;
}

.clear-search-button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--steel);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.clear-search-button:hover {
    background: rgba(34, 71, 224, .08);
    color: var(--circuit);
}

.product-filter-row select {
    min-width: 150px;
    padding: 10px 12px;
    border: 1px solid rgba(18, 22, 28, .14);
    border-radius: 9px;
    background: linear-gradient(135deg, #fff, #f5f8fc);
    color: var(--graphite);
    font: 500 13px var(--store-font-body);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.product-filter-row select:focus {
    outline: none;
    border-color: var(--circuit);
    box-shadow: 0 0 0 3px rgba(34, 71, 224, .12);
}

.clear-product-filter {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(210, 63, 63, .25);
    border-radius: 9px;
    color: #b3323b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.clear-product-filter:hover {
    background: rgba(210, 63, 63, .07);
    border-color: rgba(210, 63, 63, .45);
}

@media (max-width: 700px) {
    .product-filter-row {
        width: 100%;
        margin-left: 0;
    }

    .product-filter-row select {
        flex: 1 1 150px;
    }
}

.login-footer a {
    display: inline-block;
    margin-top: 7px;
    color: var(--circuit-deep);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.recovery-open-link {
    display: block;
    margin: 14px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--circuit-deep);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
}

.recovery-open-link:hover {
    text-decoration: underline;
}

.recovery-modal[hidden] {
    display: none;
}

.recovery-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 20px;
}

.recovery-modal-dialog {
    max-height: min(90vh, 760px);
    overflow-y: auto;
}

.recovery-modal-dialog > h2 {
    padding-right: 36px;
}

.recovery-modal-dialog > p {
    color: var(--steel);
    font-size: 13px;
}

.recovery-close {
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--steel);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.recovery-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0;
}

.recovery-tabs .btn {
    flex: 1;
    padding: 9px;
    font-size: 13px;
}

.recovery-tabs .btn[aria-pressed="true"] {
    border-color: var(--circuit);
    color: var(--circuit-deep);
    box-shadow: 0 0 0 2px rgba(34, 71, 224, .12);
}

.recovery-modal form > p {
    margin: 0 0 16px;
    color: var(--steel);
    font-size: 13px;
}

.checkout-page {
    padding-bottom: 60px;
}

.checkout-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 40px 0;
}

.checkout-heading {
    margin-bottom: 28px;
}

.checkout-heading .eyebrow {
    margin: 0 0 12px;
}

.checkout-heading h1 {
    margin: 0;
    font: 700 clamp(2rem, 4vw, 2.7rem) var(--store-font-display);
    letter-spacing: -0.04em;
}

.checkout-heading > p:last-child {
    margin: 8px 0 0;
    color: var(--steel);
}

.checkout-layout {
    display: grid;
    gap: 14px;
}

.checkout-card {
    padding: 26px;
    border: 1px solid rgba(18, 22, 28, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--store-shadow);
}

.checkout-accordion {
    padding: 0;
    overflow: hidden;
}

.checkout-accordion > summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
}

.checkout-accordion > summary::-webkit-details-marker {
    display: none;
}

.checkout-accordion > summary::after {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-left: auto;
    border-right: 2px solid var(--steel);
    border-bottom: 2px solid var(--steel);
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.checkout-accordion-title {
    display: grid;
    gap: 3px;
}

.checkout-accordion-title strong {
    font: 600 19px var(--store-font-display);
}

.checkout-accordion-title small {
    color: var(--steel);
    font-size: 13px;
}

.checkout-accordion[open] > summary::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.checkout-accordion > summary:focus-visible {
    outline: 3px solid rgba(34, 71, 224, .2);
    outline-offset: -3px;
}

.checkout-accordion-body {
    padding: 0 26px 26px;
}

.checkout-accordion-body > .checkout-section-heading {
    display: none;
}

.order-summary {
    position: static;
}

.checkout-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
}

.section-number {
    display: flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(34, 71, 224, .09);
    color: var(--circuit-deep);
    font: 500 12px var(--store-font-mono);
}

.checkout-section-heading h2 {
    margin: 0;
    font: 600 19px var(--store-font-display);
}

.checkout-section-heading p {
    margin: 3px 0 0;
    color: var(--steel);
    font-size: 13px;
}

.checkout-fields {
    display: grid;
    gap: 17px;
}

.checkout-fields .form-group {
    gap: 7px;
}

.checkout-fields .form-group label {
    margin: 0;
    color: var(--graphite);
    font-size: 13px;
    font-weight: 600;
}

.checkout-fields textarea {
    min-height: 94px;
    width: 100%;
    resize: vertical;
    padding: 12px 14px;
    border: 1px solid #d9dde4;
    border-radius: 12px;
    background: #fff;
    color: var(--graphite);
    font: 500 14px var(--store-font-body);
}

.checkout-fields textarea:focus {
    border-color: var(--circuit);
    box-shadow: 0 0 0 4px rgba(34, 71, 224, 0.12);
    outline: none;
}

.payment-heading {
    margin: 30px 0 16px;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.payment-option {
    position: relative;
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid rgba(18, 22, 28, .12);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.payment-option:has(input:checked) {
    border-color: var(--circuit);
    background: rgba(34, 71, 224, .045);
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-radio {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1.5px solid #aab3c0;
    border-radius: 50%;
}

.payment-option input:checked + .payment-radio {
    border: 5px solid var(--circuit);
}

.payment-option input:focus-visible + .payment-radio {
    outline: 3px solid rgba(34, 71, 224, .2);
}

.payment-option-disabled {
    cursor: not-allowed;
    opacity: .58;
}

.payment-option-disabled:has(input:checked) {
    border-color: rgba(18, 22, 28, .12);
    background: transparent;
}

.payment-option strong,
.payment-option small {
    display: block;
}

.payment-option strong {
    font-size: 13px;
}

.payment-option small {
    margin-top: 3px;
    color: var(--steel);
    font-size: 12px;
}

.payment-icon {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 10px;
    background: #eef1f5;
    color: var(--circuit-deep);
    font-weight: 700;
}

.payment-note {
    margin: 12px 0 0;
    color: var(--steel);
    font-size: 12px;
}

.payment-update-button {
    margin-top: 10px;
    font-size: 12px;
    padding: 8px 14px;
}

.order-summary {
    position: sticky;
    top: 20px;
}

.order-items {
    border-top: 1px solid var(--line);
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.order-item-image {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f5f8;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-item-details {
    min-width: 0;
    flex: 1;
}

.order-item-details strong {
    display: block;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-item-details span {
    display: block;
    margin-top: 3px;
    color: var(--steel);
    font-size: 12px;
}

.order-item-price {
    font: 500 12px var(--store-font-mono);
    white-space: nowrap;
}

.summary-total,
.order-confirmation-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-weight: 600;
}

.summary-total strong,
.order-confirmation-total strong {
    font: 600 18px var(--store-font-mono);
}

.checkout-actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.checkout-actions .btn {
    width: 100%;
    padding: 11px 12px;
}

.checkout-actions button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.empty-order {
    padding: 20px 0;
    color: var(--steel);
}

.empty-order p {
    margin: 0 0 6px;
}

.empty-order a {
    color: var(--circuit-deep);
    font-size: 13px;
    font-weight: 600;
}

.checkout-alert {
    margin-bottom: 18px;
}

.order-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.success-mark {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e9f6e6;
    color: #397d36;
    font-size: 30px;
    line-height: 54px;
}

.order-success h2 {
    margin: 0;
    font: 700 24px var(--store-font-display);
}

.order-success > p {
    color: var(--steel);
}

.order-confirmation-total {
    margin: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.checkout-page #sideMenu {
    z-index: 1100;
}

.orders-empty {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.empty-order-mark {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(34, 71, 224, .09);
    color: var(--circuit-deep);
    font-size: 26px;
}

.orders-empty h2 {
    margin: 0;
    font: 700 23px var(--store-font-display);
}

.orders-empty p {
    margin: 7px 0 20px;
    color: var(--steel);
}

.customer-orders-list {
    display: grid;
    gap: 18px;
}

.customer-order-card {
    padding: 24px 26px;
}

.customer-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
}

.order-id-label {
    color: var(--circuit-deep);
    font: 500 11px var(--store-font-mono);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.customer-order-header h2 {
    margin: 4px 0 0;
    font: 600 16px var(--store-font-display);
}

.order-status {
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.order-status-pending {
    border-color: #f0dba5;
    background: #fff8e7;
    color: #946200;
}

.order-status-complete {
    border-color: #cfe6c4;
    background: #edf7e9;
    color: #467d27;
}

.order-status-cancelled {
    border-color: #f1cccc;
    background: #fff0f0;
    color: #b3261e;
}

.customer-order-items {
    padding: 3px 0;
}

.customer-order-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.customer-order-image {
    display: flex;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 11px;
    background: #f3f5f8;
    color: var(--circuit-deep);
}

.customer-order-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.customer-order-item-details {
    min-width: 0;
    flex: 1;
}

.customer-order-item-details strong,
.customer-order-item-details span {
    display: block;
}

.customer-order-item-details strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-order-item-details span {
    margin-top: 3px;
    color: var(--steel);
    font-size: 12px;
}

.order-items-unavailable {
    margin: 15px 0;
    color: var(--steel);
    font-size: 13px;
}

.customer-order-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 15px;
}

.customer-order-delivery {
    display: grid;
    gap: 2px;
    color: var(--steel);
    font-size: 12px;
}

.customer-order-delivery strong {
    color: var(--graphite);
    font-size: 13px;
}

.customer-order-total {
    display: grid;
    gap: 4px;
    text-align: right;
}

.customer-order-total span {
    color: var(--steel);
    font-size: 12px;
}

.customer-order-total strong {
    font: 600 18px var(--store-font-mono);
}

.customer-order-actions {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.order-rating-form {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.order-rating-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.order-rating-form legend {
    margin-bottom: 8px;
    color: var(--steel);
    font-size: 12px;
    font-weight: 600;
}

.order-rating-options {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
}

.order-rating-options label {
    cursor: pointer;
}

.order-rating-options .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.order-rating-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.order-rating-options span {
    color: #aab1bd;
    font-size: 24px;
    line-height: 1;
}

.order-rating-options label.is-active span:first-of-type,
.order-rating-options input:focus-visible + span {
    color: #e8a317;
}

.order-cancel-form {
    display: grid;
    gap: 16px;
    padding: 18px 20px 20px;
    border-top: 1px solid rgba(18, 22, 28, .08);
}

.order-cancel-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.order-cancel-form legend {
    margin-bottom: 11px;
    color: var(--graphite);
    font-size: 14px;
    font-weight: 600;
}

.order-cancel-panel {
    overflow: hidden;
    border: 1px solid rgba(18, 22, 28, .1);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #fafbfc);
}

.order-cancel-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.order-cancel-panel > summary::-webkit-details-marker {
    display: none;
}

.order-cancel-panel > summary > span:first-child {
    display: grid;
    gap: 3px;
}

.order-cancel-panel > summary strong {
    color: var(--graphite);
    font-size: 13px;
}

.order-cancel-panel > summary small {
    color: var(--steel);
    font-size: 12px;
}

.order-cancel-summary-action {
    padding: 7px 11px;
    border: 1px solid rgba(179, 50, 59, .2);
    border-radius: 9px;
    background: rgba(179, 50, 59, .05);
    color: #a4323a;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.order-cancel-panel > summary:focus-visible {
    outline: 3px solid rgba(34, 71, 224, .2);
    outline-offset: -3px;
}

.order-cancel-reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.order-cancel-form label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(18, 22, 28, .1);
    border-radius: 10px;
    background: #fff;
    color: var(--steel);
    font-size: 12px;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.order-cancel-form label:has(input:checked) {
    border-color: rgba(34, 71, 224, .45);
    background: rgba(34, 71, 224, .045);
    color: var(--circuit-deep);
}

.order-cancel-form label:has(input:focus-visible) {
    outline: 3px solid rgba(34, 71, 224, .18);
    outline-offset: 1px;
}

.order-cancel-form input[type="radio"] {
    flex: 0 0 auto;
    accent-color: var(--circuit);
}

.other-reason-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(18, 22, 28, .14);
    border-radius: 9px;
    color: var(--graphite);
    background: var(--white);
    font: inherit;
    font-size: 12px;
}

.other-reason-input:focus {
    outline: 2px solid rgba(34, 71, 224, .2);
    border-color: var(--circuit);
}

.order-cancel-form .btn {
    justify-self: start;
    min-width: 190px;
}

.customer-order-actions > span {
    color: var(--steel);
    font-size: 12px;
}

@media (max-width: 780px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.customer-confirm-modal[hidden] {
    display: none !important;
}

.customer-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.customer-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 45, .58);
    backdrop-filter: blur(4px);
}

.customer-confirm-dialog {
    position: relative;
    width: min(100%, 430px);
    padding: 30px;
    border: 1px solid rgba(124, 198, 255, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 70px rgba(7, 24, 45, .3);
    text-align: center;
}

.customer-confirm-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 50%;
    background: rgba(34, 71, 224, .1);
    color: var(--circuit-deep);
    font: 700 20px var(--store-font-display);
}

.customer-confirm-dialog h2 {
    margin: 0 0 8px;
    font: 600 21px var(--store-font-display);
}

.customer-confirm-dialog p {
    margin: 0;
    color: var(--steel);
    font-size: 14px;
}

.customer-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    .order-summary {
        position: static;
    }
}

.checkout-review-modal[hidden] {
    display: none !important;
}

.checkout-review-modal {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: grid;
    place-items: center;
    padding: 20px;
}

.checkout-review-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 45, .58);
    backdrop-filter: blur(4px);
}

.checkout-review-dialog {
    position: relative;
    width: min(100%, 560px);
    max-height: min(85vh, 760px);
    overflow-y: auto;
    padding: 26px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 24, 45, .3);
}

.checkout-review-dialog h2 {
    margin: 0 36px 18px 0;
    font: 600 21px var(--store-font-display);
}

.checkout-review-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 0;
    background: none;
    color: var(--steel);
    font-size: 26px;
    cursor: pointer;
}

.checkout-review-items {
    display: grid;
    gap: 12px;
}

.checkout-review-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.checkout-review-item img {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f6f8;
}

.checkout-review-item-details {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.checkout-review-item-details strong {
    overflow-wrap: anywhere;
}

.checkout-review-item-details span {
    color: var(--steel);
    font-size: 13px;
}

.checkout-review-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-weight: 700;
}

.checkout-review-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

@media (max-width: 600px) {
    .site-header .brand-tail {
        display: none;
    }
    .checkout-main {
        padding: 34px 20px 0;
    }
    .checkout-card {
        padding: 20px;
    }
    .checkout-accordion {
        padding: 0;
    }
    .checkout-accordion > summary {
        padding: 18px;
    }
    .checkout-accordion-body {
        padding: 0 18px 20px;
    }
    .customer-order-card {
        padding: 18px;
    }
    .checkout-review-dialog {
        padding: 22px 18px;
    }
    .customer-order-footer {
        align-items: flex-start;
        flex-direction: column;
    }
    .customer-order-total {
        text-align: left;
    }
    .customer-order-actions {
        display: block;
    }
    .order-cancel-reasons {
        grid-template-columns: 1fr;
    }
    .order-cancel-form .btn {
        width: 100%;
    }
}

/* Final customer menu styling */
#sideMenu {
    width: 286px;
    left: -286px;
    padding: 28px 18px;
    background:
        radial-gradient(circle at 90% 0%, rgba(124, 198, 255, .18), transparent 13rem),
        linear-gradient(160deg, rgba(7, 24, 45, .98), rgba(16, 34, 61, .96));
    border-right: 1px solid rgba(124, 198, 255, .24);
    box-shadow: 16px 0 42px rgba(7, 24, 45, .28);
}

#sideMenu.active {
    left: 0;
}

#sideMenu .brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 4px 26px;
    padding: 0 8px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    font-size: 19px;
    letter-spacing: -.02em;
}

#sideMenu a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 7px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    letter-spacing: .01em;
}

#sideMenu a:hover,
#sideMenu a.active {
    background: linear-gradient(100deg, rgba(124, 198, 255, .18), rgba(255, 255, 255, .07));
    border-color: rgba(124, 198, 255, .3);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--sky), 0 8px 20px rgba(0, 0, 0, .12);
    transform: translateX(2px);
}

#sideMenu .main-menu {
    justify-content: space-between;
}

#sideMenu .submenu {
    margin: 2px 0 10px;
    padding: 6px;
    border: 1px solid rgba(124, 198, 255, .16);
    border-radius: 14px;
    background: rgba(0, 0, 0, .2);
}

#sideMenu .submenu a {
    min-height: 38px;
    margin-bottom: 3px;
    padding: 8px 11px 8px 18px !important;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
}

#sideMenu .submenu a:hover,
#sideMenu .submenu a.active {
    box-shadow: inset 2px 0 0 var(--sky);
}

#menuTrigger {
    width: 24px;
}

@media (max-width: 600px) {
    #sideMenu {
        width: min(286px, 86vw);
        left: min(-286px, -86vw);
    }
}

@media (max-width: 600px) {
    .site-header,
    .hero,
    .product-section,
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding-top: 36px;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }

    #carousel {
        height: auto;
        aspect-ratio: 16 / 9;
        margin: 24px auto;
        border-radius: 14px;
    }

    #carousel .slide {
        height: 100%;
    }

    #carousel .slide img {
        object-fit: contain;
        background: #fff;
        border-radius: 14px;
    }

    #carousel .prev,
    #carousel .next {
        padding: 8px 11px;
        font-size: 15px;
    }

    .product-section h2 {
        margin-left: 0;
        text-align: center;
    }

    .footer-bottom {
        overflow-wrap: anywhere;
    }
}

#sideMenu {
    max-height: 100vh;
    overflow-y: auto;
}

.contact-panel {
    display: block;
    margin: 2px 0 10px;
    padding: 13px;
    border: 1px solid rgba(124, 198, 255, .2);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(124, 198, 255, .11), rgba(255, 255, 255, .035));
}

#sideMenu .contact-panel[hidden] {
    display: none;
}

.contact-panel.open {
    display: block;
}

.contact-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.contact-card-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(124, 198, 255, .16);
    color: #a9ddff;
}

.contact-card-icon svg {
    width: 21px;
    height: 21px;
}

.contact-card-heading strong,
.contact-card-heading div > span,
.contact-detail small,
.contact-detail strong {
    display: block;
}

.contact-card-heading strong {
    color: #fff;
    font-size: 13px;
}

.contact-card-heading div > span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    line-height: 1.4;
}

.contact-card-details {
    display: grid;
    gap: 11px;
    padding: 13px 0;
}

#sideMenu .contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, .83);
    font-size: 11px;
    transform: none;
    box-shadow: none;
}

#sideMenu .contact-detail:hover {
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
}

.contact-detail-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #a9ddff;
}

.contact-detail-icon svg {
    width: 15px;
    height: 15px;
}

.contact-social-icon {
    font-size: 19px;
    font-weight: 600;
}

.contact-detail small {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .5);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-detail strong {
    color: rgba(255, 255, 255, .92);
    font-size: 10px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

#sideMenu .contact-link:hover strong {
    color: #a9ddff;
}

.contact-map {
    overflow: hidden;
    border: 1px solid rgba(124, 198, 255, .2);
    border-radius: 12px;
    background: rgba(0, 0, 0, .18);
}

.contact-map-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    color: rgba(255, 255, 255, .84);
    font-size: 10px;
    font-weight: 600;
}

.contact-map-heading > span:first-child {
    color: #a9ddff;
    font-size: 16px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 130px;
    border: 0;
    filter: saturate(.8);
}

#sideMenu .contact-map > a {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 0;
    color: #a9ddff;
    font-size: 10px;
    text-align: right;
}

#sideMenu .contact-map > a:hover {
    background: rgba(255, 255, 255, .05);
    transform: none;
    box-shadow: none;
}

/* Main Contact Us page */
.contact-page {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 40px 72px;
}

.contact-page-hero {
    margin-bottom: 30px;
    padding: 38px 42px;
    border: 1px solid rgba(47, 119, 190, .12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 18%, rgba(86, 169, 239, .2), transparent 19rem),
        linear-gradient(120deg, #f1f8ff, #f8fbff 62%, #edf6ff);
}

.contact-page-hero .eyebrow,
.contact-page-brand .eyebrow,
.contact-page-map-heading .eyebrow {
    margin: 0 0 8px;
    color: #387db7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-page-hero h1 {
    margin: 0;
    color: #132d49;
    font-family: var(--store-font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: -.04em;
}

.contact-page-hero > p:last-child {
    max-width: 620px;
    margin: 12px 0 0;
    color: #526579;
    font-size: 16px;
    line-height: 1.7;
}

.contact-page-content {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 24px;
}

.contact-page-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(26, 59, 91, .1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(17, 47, 78, .08);
}

.contact-page-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-page-brand-icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(145deg, #e8f5ff, #d6ebff);
    color: #2679b7;
}

.contact-page-brand-icon svg {
    width: 27px;
    height: 27px;
}

.contact-page-brand h2,
.contact-page-map-heading h2 {
    margin: 0;
    color: #18334e;
    font-family: var(--store-font-display);
    font-size: 20px;
    line-height: 1.35;
}

.contact-page-intro {
    margin: 22px 0;
    color: #647487;
    font-size: 14px;
    line-height: 1.7;
}

.contact-page-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-page-detail {
    display: flex;
    min-width: 0;
    min-height: 74px;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e8eef4;
    border-radius: 14px;
    background: #fbfdff;
    color: #193550;
    text-decoration: none;
    transition: border-color .2s, background .2s, transform .2s;
}

.contact-page-link:hover {
    transform: translateY(-2px);
    border-color: #b7dafa;
    background: #f3f9ff;
}

.contact-page-detail .contact-detail-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 11px;
    background: #edf6ff;
    color: #3284c1;
}

.contact-page-detail .contact-detail-icon svg {
    width: 18px;
    height: 18px;
}

.contact-page-detail .contact-social-icon {
    font-size: 22px;
}

.contact-page-detail > span:last-child {
    min-width: 0;
}

.contact-page-detail small {
    display: block;
    margin-bottom: 4px;
    color: #8291a1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.contact-page-detail strong {
    display: block;
    color: #213b55;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-page-map-card {
    display: flex;
    flex-direction: column;
}

.contact-page-map-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-page-map-heading .eyebrow {
    margin-bottom: 4px;
}

.contact-page-map-heading > div > p:last-child {
    margin: 5px 0 0;
    color: #718196;
    font-size: 13px;
}

.contact-page-map-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 15px;
    background: #edf6ff;
    color: #3284c1;
    font-size: 28px;
}

.contact-page-map {
    flex: 1;
    min-height: 350px;
    overflow: hidden;
    border: 1px solid #e1eaf2;
    border-radius: 16px;
    background: #eef4f8;
}

.contact-page-map iframe {
    display: block;
    width: 100%;
    min-height: 350px;
    height: 100%;
    border: 0;
}

.contact-page-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    align-self: flex-end;
    margin-top: 15px;
    color: #2679b7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.contact-page-map-link:hover {
    color: #15598e;
}

@media (max-width: 800px) {
    .contact-page {
        padding: 32px 22px 52px;
    }

    .contact-page-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .contact-page {
        padding: 24px 16px 40px;
    }

    .contact-page-hero {
        margin-bottom: 18px;
        padding: 28px 22px;
        border-radius: 18px;
    }

    .contact-page-hero > p:last-child {
        font-size: 14px;
    }

    .contact-page-card {
        padding: 20px;
        border-radius: 18px;
    }

    .contact-page-brand {
        align-items: flex-start;
    }

    .contact-page-brand h2 {
        font-size: 17px;
    }

    .contact-page-details {
        grid-template-columns: 1fr;
    }

    .contact-page-detail {
        min-height: 66px;
    }
}
 
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: linear-gradient(145deg, #287fbd, #174b85);
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 53, 91, .3);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(14, 53, 91, .38);
}

.back-to-top[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

.promotion-slide {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: clamp(24px, 6vw, 64px);
    overflow-y: auto;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 15% 15%, rgba(167, 211, 35, .3), transparent 34%),
        linear-gradient(135deg, #10275c, #2247e0 58%, #17318f);
}

.promotion-eyebrow,
.promotion-code {
    font-family: var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.promotion-eyebrow {
    color: #c9ef74;
    font-size: .82rem;
}

.promotion-slide h2 {
    margin: 0;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(1.7rem, 5vw, 3rem);
}

.promotion-slide p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.promotion-discount {
    color: #d7f58d;
    font-family: var(--display);
    font-size: clamp(2rem, 6vw, 3.8rem);
}

.promotion-code {
    padding: 8px 14px;
    border: 1px dashed rgba(255, 255, 255, .7);
    border-radius: 8px;
    font-size: .95rem;
}

.promotion-slide small {
    color: rgba(255, 255, 255, .78);
}

.promotion-actions form {
    margin: 0;
}

.promotion-actions .btn:disabled {
    cursor: default;
    opacity: .7;
}

.carousel-empty {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 24px;
    color: var(--steel);
    text-align: center;
}

.voucher-toast {
    position: fixed;
    z-index: 1150;
    top: 20px;
    left: 50%;
    max-width: min(90vw, 520px);
    padding: 12px 18px;
    transform: translateX(-50%);
    border-radius: 10px;
    background: #17318f;
    color: #fff;
    box-shadow: 0 8px 24px rgba(18, 22, 28, .2);
}

.checkout-voucher-select {
    margin: 18px 0;
}

.customer-voucher-list {
    display: grid;
    gap: 18px;
}

.customer-voucher-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--store-shadow);
}

.customer-voucher-card.is-expired {
    background: #eceff3;
    color: #7d8590;
    filter: grayscale(1);
}

.customer-voucher-main {
    display: grid;
    justify-items: start;
    gap: 8px;
}

.customer-voucher-main h2,
.customer-voucher-main p {
    margin: 0;
}

.customer-voucher-state,
.customer-voucher-code {
    font-family: var(--mono);
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.customer-voucher-state {
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.customer-voucher-state.status-used {
    background: #fff3c4;
    color: #806000;
}

.customer-voucher-state.status-active {
    background: #d9f4df;
    color: #176b32;
}

.customer-voucher-state.status-expired {
    background: #fde0e0;
    color: #a12626;
}

.customer-voucher-code {
    padding: 6px 10px;
    border: 1px dashed currentColor;
    border-radius: 6px;
}

.customer-voucher-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    align-items: stretch;
}

.customer-voucher-card {
    box-sizing: border-box;
    min-width: 0;
    min-height: 330px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
}

.customer-voucher-main {
    min-width: 0;
    align-content: start;
    flex: 1;
    gap: 8px;
}

.customer-voucher-main h2,
.customer-voucher-main p {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.customer-voucher-main h2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.customer-voucher-main p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.45;
}

.customer-voucher-details-button {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--circuit-deep);
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.customer-voucher-card > .btn {
    align-self: flex-start;
}

@media (max-width: 600px) {
    .customer-voucher-card {
        padding: 18px;
    }
}

#carousel .promotion-slide {
    box-sizing: border-box;
    gap: 10px;
    padding: 24px clamp(48px, 8vw, 72px);
    overflow: hidden;
}

#carousel .promotion-slide h2 {
    max-width: 100%;
    font-size: clamp(1.35rem, 3.5vw, 2.25rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

#carousel .promotion-slide p {
    display: -webkit-box;
    max-width: 560px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.35;
}

#carousel .promotion-discount {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    line-height: 1;
}

#carousel .promotion-code {
    padding: 5px 10px;
}

.promotion-details-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #d7f58d;
    font: inherit;
    font-size: .85rem;
    text-decoration: underline;
    cursor: pointer;
}

.voucher-details-modal[hidden] {
    display: none !important;
}

.voucher-details-modal {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: grid;
    place-items: center;
    padding: 20px;
}

.voucher-details-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 45, .68);
    backdrop-filter: blur(4px);
}

.voucher-details-dialog {
    position: relative;
    display: grid;
    width: min(100%, 560px);
    max-height: min(80vh, 620px);
    gap: 12px;
    overflow-y: auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--graphite);
    box-shadow: 0 24px 70px rgba(7, 24, 45, .3);
}

.voucher-details-dialog h2,
.voucher-details-dialog p {
    margin: 0;
}

.voucher-details-dialog .eyebrow {
    margin: 0;
}

.voucher-details-dialog #voucherDetailsDescription {
    color: var(--steel);
    line-height: 1.6;
    white-space: pre-wrap;
}

.voucher-details-dialog .promotion-discount {
    color: var(--circuit-deep);
}

.voucher-details-dialog .promotion-code {
    justify-self: start;
    color: var(--graphite);
    border-color: var(--line);
}

.voucher-details-dialog small:empty {
    display: none;
}

.voucher-details-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #edf1f6;
    color: var(--graphite);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 600px) {
    #carousel .promotion-slide {
        gap: 4px;
        padding: 10px 42px;
    }

    #carousel .promotion-eyebrow {
        font-size: .58rem;
        line-height: 1;
    }

    #carousel .promotion-slide h2 {
        font-size: clamp(.9rem, 4vw, 1.15rem);
        line-height: 1.05;
    }

    #carousel .promotion-slide p {
        font-size: .68rem;
        line-height: 1.15;
        -webkit-line-clamp: 1;
    }

    #carousel .promotion-details-button {
        font-size: .65rem;
        line-height: 1;
    }

    #carousel .promotion-discount {
        font-size: clamp(1.1rem, 5vw, 1.55rem);
    }

    #carousel .promotion-code {
        padding: 3px 8px;
        font-size: .65rem;
    }

    #carousel .promotion-actions .btn {
        padding: 7px 12px;
        font-size: .72rem;
    }

    .voucher-details-modal {
        padding: 12px;
    }

    .voucher-details-dialog {
        max-height: calc(100vh - 24px);
        padding: 26px 20px 20px;
    }
}

#carousel .slide.active {
    animation: carousel-slide-enter .45s ease both;
}

#carousel .slide img,
#carousel .promotion-slide {
    transition: transform .45s ease;
}

#carousel:hover .slide.active img,
#carousel:hover .slide.active .promotion-slide {
    transform: scale(1.025);
}

@keyframes carousel-slide-enter {
    from {
        opacity: 0;
        translate: 18px 0;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #carousel .slide.active {
        animation: none;
    }

    #carousel .slide img,
    #carousel .promotion-slide {
        transition: none;
    }

    #carousel:hover .slide.active img,
    #carousel:hover .slide.active .promotion-slide {
        transform: none;
    }
}