/* ============================================================
/* ============================================================
   HCC Custom Jockstrap Configurator — style.css
   Hustle City Clothing. Thoughtfully Inappropriate Apparel.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bungee&family=Lobster&family=Roboto+Condensed:wght@400;700;800&display=swap');

/* ── Custom Fonts — band text canvas rendering only ───────── */
@font-face {
    font-family: 'Basic Bitch';
    src: url('./assets/fonts/Roboto-Bold.otf') format('opentype');
    font-display: block;
}
@font-face {
    font-family: 'Threes Company';
    src: url('https://cdn.shopify.com/s/files/1/0782/4474/1348/files/font-threes-company.woff2?v=1775096606') format('woff2');
    font-display: block;
}
@font-face {
    font-family: 'Boomer';
    src: url('https://cdn.shopify.com/s/files/1/0782/4474/1348/files/font-boomer.woff2?v=1775096606') format('woff2');
    font-display: block;
}
@font-face {
    font-family: 'Murder She Wrote';
    src: url('https://cdn.shopify.com/s/files/1/0782/4474/1348/files/font-murder-she-wrote.woff2?v=1790219079') format('truetype');
    font-display: block;
}
@font-face {
    font-family: 'Cumdump';
    src: url('https://cdn.shopify.com/s/files/1/0782/4474/1348/files/font-cumdump.woff2?v=1775096606') format('woff2');
    font-display: block;
}
@font-face {
    font-family: 'Hustle City Block';
    src: url('./assets/fonts/hustle-city-block.ttf') format('truetype');
    font-display: block;
}
@font-face {
    font-family: 'Gwen';
    src: url('./assets/fonts/gwen.ttf') format('truetype');
    font-display: block;
}

/* ── Variables ──────────────────────────────────────────────── */
:root {
    --technology-blue: #2563EB;
    --charcoal:      #1A1A1A;
    --drafting-white:#F4F8FF;
    --cyan:          #70D6FF;
    --accent:           var(--cyan);
    --black:         #000000;
    --white:         #FFFFFF;
    --upcharge-yellow: #FFD60A;
    --surface-dark:  #0F0F0F;
    --surface-mid:   var(--charcoal);
    --border:        rgba(112,214,255,0.22);
    --font-heading:  'Bungee', Impact, sans-serif;
    --font-ui:       'Roboto Condensed', Arial, sans-serif;
    --font-script:   'Lobster', cursive;
    --font-placeholder: 'Bebas Neue', Impact, sans-serif;
}

.upcharge-amount {
    color: var(--upcharge-yellow);
    font-weight: 800;
    text-shadow: 0 1px 4px rgba(0,0,0,0.75);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--technology-blue);
    background-image: url("./assets/BYOJSBackground.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.4;
    height: 100%;
    overflow: hidden;
}

/* ── Two-column layout ──────────────────────────────────────── */
.configurator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    box-shadow: 0 0 44px rgba(0,0,0,0.32);
}

/* ── Viewer column ──────────────────────────────────────────── */
.viewer-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 20px 24px 24px;
    background-color: transparent;
    height: 100vh;
    overflow: hidden;
    border-right: 1px solid var(--border);
}

/* ── Visual box ─────────────────────────────────────────────── */
.visual-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: calc(100vh - 48px);
    max-width: calc(100vh - 48px);
    overflow: hidden;
    background-color: #F8F6F0;
    outline: 1px solid var(--border);
}

.garment-layers {
    position: absolute;
    inset: 0;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.28)) drop-shadow(4px 10px 8px rgba(0,0,0,0.30));
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

#fabric-layer {
    z-index: 1;
}

#slutprint-layer {
    z-index: 2;
}

#custom-image-layer {
    z-index: 3;
}

#band-strap-layer {
    z-index: 4;
}

#zipper-layer {
    z-index: 5;
}

#floating-straps-layer,
#stash-pocket-layer {
    z-index: 6;
}

.floating-straps-layer--enter {
    animation: floating-straps-wiggle 900ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.floating-straps-layer--exit {
    animation: floating-straps-exit 240ms ease both;
}

@keyframes floating-straps-wiggle {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    20% {
        transform: translateX(-3.5%);
    }
    40% {
        transform: translateX(3.5%);
    }
    60% {
        transform: translateX(-2.5%);
    }
    80% {
        transform: translateX(2.5%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floating-straps-exit {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-straps-layer--enter,
    .floating-straps-layer--exit {
        animation: none;
    }
}

#back-band-layer {
    z-index: 8;
}

.custom-image-layer {
    top: 30.2%;
    left: 38.05%;
    width: 24.1%;
    height: 48.5%;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: auto;
    cursor: default;
    border: 3px dotted rgba(255,255,255,0.72);
}

.custom-image-layer--dragging {
    cursor: grabbing;
}

.custom-image-layer--has-image {
    cursor: grab;
}

.custom-image-layer::before {
    content: "YOUR\A IMAGE\A HERE";
    position: absolute;
    inset: 5%;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: var(--font-placeholder);
    font-size: clamp(24px, 4.6vw, 62px);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.12;
    text-align: center;
    white-space: pre;
    transform: translateY(5%);
    pointer-events: none;
}

.custom-image-layer--has-image::before {
    display: none;
}

.custom-image-layer__image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: none;
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translate(-50%, -50%) translate(var(--custom-image-x, 0), var(--custom-image-y, 0)) scale(var(--custom-image-scale, 1));
    transform-origin: center;
}

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    filter: none;
}

.badge--waist {
    bottom: 6%;
    left: 4%;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge__icon--waist {
    width: clamp(28px, 5vw, 54px);
    height: auto;
    display: block;
    flex-shrink: 0;
    filter: none;
}

.badge__waist-text {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(16px, 2.8vw, 28px);
    color: #000;
    text-shadow: none;
    letter-spacing: 0.02em;
    line-height: 1;
}

.badge--strap-length {
    bottom: 24%;
    left: 10%;
    display: flex;
    align-items: center;
}

.badge__strap-length-text {
    min-width: 38px;
    padding: 4px 8px;
    border: 2px solid #000;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-family: var(--font-ui);
    font-size: clamp(12px, 2vw, 18px);
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.badge--pouch {
    bottom: 6%;
    right: 4%;
    display: flex;
    align-items: center;
}

.badge__pouch-wrap {
    position: relative;
    width: clamp(37px, 6.6vw, 70px);
    height: clamp(37px, 6.6vw, 70px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge__icon--pouch {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: none;
}

.badge__pouch-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(10px, 1.65vw, 18px);
    color: #000;
    text-shadow: none;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

/* ── Controls panel ─────────────────────────────────────────── */
.controls {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(37,99,235,0.90);
    backdrop-filter: blur(2px);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.controls::-webkit-scrollbar { width: 4px; }
.controls::-webkit-scrollbar-track { background: transparent; }
.controls::-webkit-scrollbar-thumb { background-color: var(--border); border-radius: 2px; }

/* ── Section base ───────────────────────────────────────────── */
.section {
    border-bottom: 1px solid var(--border);
}

.section__heading {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(18px, 2.4vw, 28px);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 14px 20px;
    line-height: 1.1;
}

.section__qualifier {
    display: block;
    margin-top: 5px;
    font-family: var(--font-script);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.section__heading .section__qualifier {
    font-size: 24px;
}

.section__body {
    padding: 20px;
}

.intro-panel {
    padding: 18px 20px 20px;
    border-bottom: 1px solid var(--border);
    background-color: rgba(37,99,235,0.72);
}

.intro-panel__eyebrow {
    margin-bottom: 8px;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.intro-panel__title {
    margin: 0;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.4vw, 44px);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.intro-panel__version {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    margin-top: 2px;
    max-width: 100%;
    color: var(--white);
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
}

.intro-panel__version-prefix {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.35vw, 30px);
    letter-spacing: 0.02em;
}

.intro-panel__version-script {
    font-family: var(--font-script);
    font-size: clamp(18px, 2.35vw, 30px);
    letter-spacing: 0;
    margin-left: -0.03em;
}

.intro-panel__copy {
    max-width: 48rem;
    margin: 10px 0 0;
    color: rgba(255,255,255,0.72);
    font-family: var(--font-ui);
    font-size: clamp(12px, 1.25vw, 14px);
    line-height: 1.5;
}

/* ── Section: CHOOSE YOUR FIT ───────────────────────────────── */
.section--fit {
    background-color: var(--technology-blue);
}

.section--fit .section__heading {
    color: var(--white);
    background-color: rgba(37,99,235,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.22);
}

.section--fit .section__body {
    background-color: rgba(37,99,235,0.9);
    padding: 22px 20px;
}

.section__subtitle {
    font-family: var(--font-ui);
    font-size: clamp(13px, 1.4vw, 16px);
    color: var(--white);
    padding: 0 20px 14px;
    opacity: 0.88;
}

.fit-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fit-field--pouch {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.22);
}

.fit-label {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(12px, 1.5vw, 15px);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--white);
}

.fit-unit {
    display: block;
    font-weight: 400;
    font-size: 0.8em;
    text-transform: none;
    opacity: 0.78;
    margin-top: 1px;
}

.fit-desc {
    font-family: var(--font-ui);
    font-size: clamp(12px, 1.3vw, 14px);
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
}

.fit-details {
    font-family: var(--font-ui);
    font-size: clamp(11px, 1.2vw, 13px);
    color: rgba(255,255,255,0.72);
    line-height: 1.45;
}

.fit-details summary {
    color: var(--upcharge-yellow);
    cursor: pointer;
    font-weight: 800;
}

.fit-details p {
    margin: 8px 0 0;
}

.floating-straps-details {
    margin-top: 12px;
}

.fit-input {
    width: 100%;
    padding: 10px 12px;
    background-color: rgba(0,0,0,0.28);
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 5px;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fit-input::placeholder {
    color: rgba(255,255,255,0.45);
    font-weight: 400;
}

.fit-input:focus {
    border-color: var(--white);
    background-color: rgba(0,0,0,0.45);
}

.fit-hint {
    font-family: var(--font-ui);
    font-size: clamp(10px, 1.1vw, 12px);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
}

.fit-select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    background-color: rgba(0,0,0,0.28);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 5px;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 700;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s ease;
}

.fit-select:focus {
    border-color: var(--white);
}

.fit-select option {
    background-color: #1a1a1a;
    color: var(--white);
}

/* ── Section: FABRIC ────────────────────────────────────────── */
.fabric-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
}

.fabric-tab {
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--surface-mid);
    color: rgba(255,255,255,0.72);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.fabric-tab__label {
    min-width: 0;
}

.fabric-tab__included {
    display: block;
    margin-top: 3px;
    font-family: var(--font-script);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
}

.fabric-tab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 18px;
    padding: 1px 4px;
    border-radius: 3px;
    background: var(--upcharge-yellow);
    color: var(--charcoal);
    font-size: 10px;
    line-height: 1;
}

.fabric-tab:hover {
    border-color: rgba(255,255,255,0.38);
    color: var(--white);
}

.fabric-tab--active {
    border-color: var(--accent);
    background: rgba(112,214,255,0.18);
    color: var(--white);
}

.swatch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.slutprint-control {
    margin-top: 12px;
}

.slutprint-control__label {
    margin: 0 0 6px;
    color: rgba(255,255,255,0.72);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.slutprint-pill {
    gap: 6px;
}

.swatch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0 0 4px;
    cursor: pointer;
    background: var(--drafting-white);
    color: var(--charcoal);
    overflow: hidden;
    transition: border-color 0.12s ease, transform 0.1s ease;
}

.swatch:hover:not(:disabled) {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.35);
}

.swatch--selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.swatch__img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.swatch__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.swatch__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: var(--accent);
    color: var(--charcoal);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1.4;
    pointer-events: none;
    white-space: nowrap;
}

.swatch:disabled {
    cursor: not-allowed;
}

.swatch:disabled .swatch__img-wrap {
    filter: grayscale(1);
    opacity: 0.5;
}

.swatch__badge--sold-out {
    background-color: var(--charcoal);
    color: var(--drafting-white);
}

.swatch__label {
    font-family: var(--font-ui);
    font-size: 9.5px;
    font-weight: 600;
    text-align: center;
    color: rgba(26,26,26,0.78);
    padding: 4px 3px 0;
    line-height: 1.2;
    width: 100%;
    min-height: 2.8em;
    overflow-wrap: anywhere;
}

.swatch--selected .swatch__label {
    color: var(--charcoal);
}

.fabric-message {
    margin-top: 14px;
    padding: 14px 16px;
    background-color: var(--surface-mid);
    border-left: 3px solid var(--accent);
    border-radius: 0 5px 5px 0;
    font-family: var(--font-ui);
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--white);
    line-height: 1.6;
}

.custom-fabric-panel {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--upcharge-yellow);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.045);
    font-family: var(--font-ui);
}

.custom-fabric-label {
    display: block;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.custom-fabric-help {
    margin-top: 8px;
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    line-height: 1.55;
}

.custom-fabric-textarea {
    width: 100%;
    min-height: 118px;
    margin-top: 12px;
    padding: 11px 12px;
    resize: vertical;
    border: 1px solid var(--border);
    border-radius: 5px;
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.5;
}

.custom-fabric-textarea:focus {
    outline: 2px solid var(--upcharge-yellow);
    outline-offset: 2px;
}

.custom-fabric-count {
    margin-top: 6px;
    color: rgba(255,255,255,0.55);
    font-family: var(--font-ui);
    font-size: 11px;
    text-align: right;
}

/* ── Section: BAND WIDTH ────────────────────────────────────── */
.pill-toggle {
    display: flex;
    gap: 0;
    max-width: 100%;
}

.band-text-choice-note {
    margin: 0 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--upcharge-yellow);
    color: var(--upcharge-yellow);
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.band-text-choice-label {
    display: block;
    flex-basis: 100%;
    margin-top: 6px;
    color: var(--upcharge-yellow);
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0;
}

.pill {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 12px 16px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(13px, 1.5vw, 16px);
    letter-spacing: 0.04em;
    border: 2px solid var(--border);
    background-color: var(--black);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#pouch-finish-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#pouch-finish-toggle .pill {
    border-radius: 6px;
    border-right: 2px solid var(--border);
}

#pouch-finish-toggle .pill--active {
    border-color: var(--accent);
}

#slutprint-toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

#slutprint-toggle .pill {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 10px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--black);
    color: var(--white);
    font-size: 12px;
    line-height: 1;
}

#slutprint-toggle .pill--active {
    border-color: var(--accent);
    background: var(--black);
    color: var(--white);
    box-shadow: 0 0 0 1px var(--accent);
}

#pouch-finish-toggle .pill:first-child {
    grid-column: 1 / -1;
}

.pill:first-child {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.pill:last-child {
    border-radius: 0 6px 6px 0;
}

.pill--active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--charcoal);
}

.pill--active .upcharge-amount,
.pill--active .band-text-mode-price,
.pill--active .pouch-finish-price,
.pill--active .band-text-choice-label {
    color: var(--charcoal);
    text-shadow: none;
}

.extras-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.extras-note {
    margin: 0 0 10px;
    color: rgba(255,255,255,0.68);
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.35;
}

.extra-option {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--black);
    color: rgba(255,255,255,0.62);
    font-family: var(--font-ui);
    font-weight: 800;
    cursor: pointer;
}

.extra-option--active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--charcoal);
}

.extra-option--active .extra-option__price {
    color: var(--charcoal);
}

.extra-option--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
}

.extra-option__label,
.extra-option__price {
    display: block;
    line-height: 1.15;
    letter-spacing: 0;
}

.extra-option__price {
    color: var(--upcharge-yellow);
    font-size: 12px;
}

.custom-image-panel {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    background: rgba(0,0,0,0.24);
}

.custom-image-label,
.custom-image-scale-label {
    display: block;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.custom-image-help {
    margin: 6px 0 10px;
    color: rgba(255,255,255,0.72);
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.35;
}

.custom-image-input {
    width: 100%;
    color: rgba(255,255,255,0.82);
    font-family: var(--font-ui);
    font-size: 12px;
}

.custom-image-scale {
    width: 100%;
    margin: 8px 0 10px;
}

.custom-image-reset-btn {
    width: 100%;
    min-height: 36px;
    border: 2px solid var(--border);
    border-radius: 5px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.pill--disabled,
.pill:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
}

.white-label-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    margin-bottom: 14px;
    border: 1px solid var(--surface-mid);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.white-label-option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.white-label-option__copy {
    display: grid;
    gap: 4px;
}

.white-label-option__title {
    color: var(--white);
    font-weight: 700;
    line-height: 1.25;
}

.white-label-option__note {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.pouch-finish-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.pouch-finish-price {
    padding: 0.12rem 0.32rem;
    border: 1px solid currentColor;
    color: var(--upcharge-yellow);
    font-size: 0.72em;
    line-height: 1;
}

/* ── Band text overlay (in visual viewer) ───────────────────── */
.band-text-overlay {
    position: absolute;
    z-index: 10;
    top: 25%;
    left: 8%;
    width: 84%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
    text-align: center;
    pointer-events: none;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
    overflow: visible;
    transition: font-size 0.15s ease;
}

.band-text-overlay--one-inch {
    top: 30.2%;
    left: 23.2%;
    width: 53.6%;
    height: 7.4%;
    letter-spacing: 0;
}

.band-design-overlay {
    position: absolute;
    z-index: 10;
    top: 20%;
    left: -0.4%;
    width: 100.8%;
    height: 15.6%;
    object-fit: contain;
    pointer-events: none;
    filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,0.8));
}

.band-design-overlay--full-canvas {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

/* ── Section: FONT + BAND TEXT ──────────────────────────────── */
.section__price-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--charcoal);
    font-family: var(--font-ui);
    font-size: 0.55em;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 8px;
    letter-spacing: 0.04em;
}

.section--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.font-gate-msg {
    font-family: var(--font-ui);
    font-size: clamp(12px, 1.3vw, 14px);
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
    font-style: italic;
}

.font-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.font-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0 0 4px;
    cursor: pointer;
    background: var(--drafting-white);
    color: var(--charcoal);
    transition: border-color 0.12s ease, transform 0.1s ease;
}

.font-swatch:hover:not(:disabled) {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.35);
}

.font-swatch--selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.font-swatch:disabled {
    cursor: default;
}

.font-swatch img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    pointer-events: none;
    overflow: hidden;
    border-radius: 4px;
}

.font-swatch__label {
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 600;
    text-align: center;
    color: rgba(26,26,26,0.78);
    padding: 4px 3px 2px;
    line-height: 1.3;
    width: 100%;
}

.font-swatch--selected .font-swatch__label {
    color: var(--charcoal);
}

/* ── Band text input block ──────────────────────────────────── */
.band-text-block {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.band-text-mode-toggle {
    margin-bottom: 12px;
}

.band-text-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.band-text-mode-price {
    padding: 0.12rem 0.32rem;
    border: 1px solid currentColor;
    color: var(--upcharge-yellow);
    font-size: 0.72em;
    line-height: 1;
}

.band-preset-intro {
    margin: 0 0 10px;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-ui);
    font-size: clamp(11px, 1.2vw, 13px);
    line-height: 1.45;
}

.band-preset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.band-preset-card {
    display: flex;
    min-height: 74px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background-color: var(--black);
    color: var(--white);
    cursor: pointer;
    font-family: var(--font-ui);
    text-align: left;
    transition: border-color 0.12s ease, transform 0.1s ease;
}

.band-preset-card:hover {
    transform: scale(1.02);
    border-color: rgba(255,255,255,0.35);
}

.band-preset-card--selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.band-preset-card__label {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.band-preset-card__text {
    overflow-wrap: anywhere;
    font-size: clamp(13px, 1.55vw, 16px);
    font-weight: 800;
    line-height: 1.15;
}

.band-preset-card__asset-frame {
    width: 100%;
    padding: 6px;
    border-radius: 4px;
    background-color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.band-preset-card__asset {
    width: 100%;
    max-height: 38px;
    object-fit: contain;
    display: block;
    background-color: transparent;
    filter: none;
}

.band-preset-card__asset[src*=".svg"] {
    filter: brightness(0) invert(1);
}

.band-preset-card__asset--full-canvas {
    max-height: 58px;
    filter: none;
}

.band-text-warning {
    font-family: var(--font-ui);
    font-size: clamp(11px, 1.2vw, 13px);
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
    margin-bottom: 14px;
}

.band-text-input {
    width: 100%;
    padding: 12px 14px;
    background-color: var(--surface-mid);
    border: 2px solid var(--border);
    border-radius: 5px;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 700;
    outline: none;
    transition: border-color 0.15s ease;
}

.band-text-input:focus {
    border-color: var(--accent);
}

.band-text-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.band-text-meta {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.band-text-count {
    font-family: var(--font-ui);
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
}

.lock-btn-slot {
    min-height: 56px;
    margin: 12px 0 10px;
}

.lock-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.lock-btn:hover {
    opacity: 0.88;
}

.lock-btn--locked {
    background-color: var(--surface-mid);
    border: 2px solid var(--border);
    color: var(--white);
    border-color: var(--accent);
}

.section--cart {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background-color: var(--black);
    box-shadow: 0 -16px 32px rgba(0,0,0,0.6);
}

.section--cart .section__heading {
    padding: 10px 20px 8px;
    font-size: clamp(16px, 2vw, 22px);
}

.section--cart .section__body {
    padding: 12px 20px 16px;
}

.addons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
    align-items: center;
    margin-bottom: 10px;
}

.addon-pill,
.addon-empty {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.addon-pill {
    background-color: var(--accent);
    color: var(--white);
}

.addon-pill--pending {
    background-color: var(--surface-mid);
    border: 1px solid var(--accent);
    color: var(--white);
}

.addon-empty {
    border: 1px solid var(--border);
    color: rgba(255,255,255,0.5);
}

.cart-summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cart-choice {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.cart-choice-preview {
    max-width: 34ch;
    overflow: hidden;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sku-preview {
    font-family: var(--font-ui);
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 700;
    color: rgba(255,255,255,0.62);
    letter-spacing: 0.04em;
}

.price-preview {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 34px);
    color: var(--white);
    line-height: 1;
}

.purchase-row {
    margin-top: 12px;
}

.add-to-cart-btn {
    border-radius: 5px;
    font-family: var(--font-ui);
    font-weight: 700;
}

.cart-error {
    min-height: 20px;
    margin-top: 12px;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.owner-test-indicator {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 301;
    max-width: calc(100% - 1rem);
    margin: 0;
    padding: 0.3rem 0.55rem;
    border: 1px solid #fff;
    border-radius: 4px;
    background: #141414;
    color: #fff;
    font: 700 0.75rem var(--font-ui);
    pointer-events: none;
}

.cart-validation-dialog {
    box-sizing: border-box;
    width: min(30rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 2px solid #FFD60A;
    border-radius: 8px;
    background: #141414;
    color: #fff;
    font: 1rem/1.5 var(--font-ui);
    overflow: auto;
}

.cart-validation-dialog::backdrop {
    background: rgba(0, 0, 0, 0.78);
}

.cart-validation-dialog h2 {
    margin: 0 0 0.5rem;
    color: #FFD60A;
    font: 1.55rem/1.2 var(--font-heading);
}

.cart-validation-dialog ul {
    margin: 0.75rem 0 1.25rem;
    padding-inline-start: 1.25rem;
    list-style: disc;
}

.cart-validation-dialog li + li {
    margin-top: 0.35rem;
}

.cart-validation-dialog button:focus-visible {
    outline: 2px solid #FFD60A;
    outline-offset: 3px;
}

.controls [aria-invalid="true"] {
    outline: 3px solid #FFD60A;
    outline-offset: 2px;
}

.controls .cart-field-label--invalid,
.remixer-christmas .controls .cart-field-label--invalid {
    color: #FFD60A;
    background-color: #141414;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.cart-field-error {
    margin: 0.65rem 0 0;
    padding: 0.35rem 0.5rem;
    border-inline-start: 3px solid #FFD60A;
    color: #FFD60A;
    background: #141414;
    font: 700 0.875rem/1.4 var(--font-ui);
}

.add-to-cart-btn {
    width: 100%;
    min-height: 44px;
    margin-top: 0;
    border: none;
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(15px, 2vw, 22px);
    letter-spacing: 0.08em;
    cursor: pointer;
}

.add-to-cart-btn:hover {
    opacity: 0.88;
}

.add-to-cart-btn--disabled {
    opacity: 0.74;
}

.sticky-cart {
    display: none;
}

.install-tip-btn {
    display: none;
    border: none;
}

.install-tip-dialog {
    width: 100vw;
    max-width: none;
    height: 50dvh;
    max-height: 50dvh;
    margin: auto 0 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--black);
    overflow: visible;
}

.install-tip-dialog::backdrop {
    background: rgba(0,0,0,0.62);
}

.update-popup-dialog {
    width: min(92vw, 420px);
    padding: 0;
    border: 2px solid var(--accent);
    border-radius: 8px;
    background: var(--black);
    color: var(--white);
    box-shadow: 0 18px 44px rgba(0,0,0,0.68);
}

.update-popup-dialog::backdrop {
    background: rgba(0,0,0,0.76);
    backdrop-filter: blur(4px);
}

.update-popup-sheet {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.update-popup-icon {
    width: 104px;
    height: 104px;
    align-self: center;
    border-radius: 50%;
    object-fit: cover;
}

.update-popup-kicker,
.update-popup-sheet h2 {
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.update-popup-kicker {
    color: var(--accent);
    font-size: clamp(16px, 4.4vw, 22px);
}

.update-popup-sheet h2 {
    color: var(--white);
    font-size: clamp(18px, 5vw, 27px);
}

.update-popup-sheet p {
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.42;
}

.update-popup-button {
    margin-top: 4px;
    min-height: 52px;
    border: 0;
    border-radius: 5px;
    background: var(--accent);
    color: var(--charcoal);
    font-family: var(--font-heading);
    font-size: clamp(16px, 4.6vw, 22px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.install-tip-sheet {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    padding: 2.2rem 1.35rem calc(2.2rem + env(safe-area-inset-bottom));
    background-color: var(--upcharge-yellow);
    color: var(--black);
    text-align: center;
    overflow: visible;
}

.install-tip-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--black);
    border-radius: 50%;
    background: transparent;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1;
}

.install-tip-arrow {
    position: absolute;
    top: -3.35rem;
    right: 1.15rem;
    color: var(--upcharge-yellow);
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 9vw, 3rem);
    line-height: 1;
    text-shadow:
        -2px -2px 0 var(--black),
        2px -2px 0 var(--black),
        -2px 2px 0 var(--black),
        2px 2px 0 var(--black);
}

.install-tip-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 8vw, 2.35rem);
    line-height: 1.08;
    text-transform: uppercase;
}

.install-tip-copy {
    font-family: var(--font-ui);
    font-size: clamp(0.95rem, 4.4vw, 1.2rem);
    font-weight: 700;
    line-height: 1.35;
}

.sticky-cart__btn {
    border: none;
}

.config-warning {
    position: fixed;
    z-index: 9999;
    right: 1rem;
    bottom: 1rem;
    max-width: min(28rem, calc(100vw - 2rem));
    padding: 0.75rem 1rem;
    border: 2px solid var(--accent);
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    line-height: 1.35;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.5);
}

.config-warning strong {
    color: var(--accent);
}

@media (max-width: 54rem) {
    :root {
        --mobile-edge: clamp(0.5rem, 3dvw, 0.875rem);
        --mobile-viewer-height: 48dvh;
    }

    html,
    body {
        height: 100%;
        min-height: 100%;
        overflow: hidden;
    }

    .configurator-wrapper {
        position: relative;
        display: flex;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: hidden;
        overflow-x: hidden;
    }

    .viewer-col {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        height: var(--mobile-viewer-height);
        padding: var(--mobile-edge);
        align-items: center;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .visual-box {
        width: min(
            calc(100dvw - (var(--mobile-edge) * 2)),
            calc(var(--mobile-viewer-height) - (var(--mobile-edge) * 2))
        );
        height: min(
            calc(100dvw - (var(--mobile-edge) * 2)),
            calc(var(--mobile-viewer-height) - (var(--mobile-edge) * 2))
        );
        max-width: none;
        max-height: none;
    }

    .controls {
        position: absolute;
        top: var(--mobile-viewer-height);
        right: 0;
        bottom: 0;
        left: 0;
        height: auto;
        padding-bottom: 5.75rem;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .section--cart {
        position: static;
        box-shadow: none;
    }

    .swatch-grid,
    .font-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #pouch-finish-toggle,
    .extras-toggle,
    .band-preset-grid {
        grid-template-columns: 1fr;
    }

    .pill {
        min-height: 44px;
        padding: 11px 12px;
    }

    .custom-image-panel,
    .custom-fabric-panel {
        padding: 12px;
    }

    .sticky-cart {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 300;
        display: grid;
        grid-template-columns: minmax(4.4rem, auto) minmax(0, 1fr) auto auto;
        gap: 0.55rem;
        align-items: center;
        min-height: 4.35rem;
        padding: 0.55rem max(0.65rem, env(safe-area-inset-right)) calc(0.55rem + env(safe-area-inset-bottom)) max(0.65rem, env(safe-area-inset-left));
        border-top: 1px solid var(--border);
        background-color: rgba(5,5,5,0.97);
        box-shadow: 0 -0.45rem 1.2rem rgba(0,0,0,0.62);
    }

    .install-tip-btn {
        display: flex;
        align-items: center;
        align-self: stretch;
        justify-content: center;
        padding: 0 0.7rem 0 0;
        border-right: 1px solid var(--border);
        background-color: transparent;
        color: var(--upcharge-yellow);
        font-family: var(--font-heading);
        font-size: clamp(0.68rem, 3.2vw, 0.88rem);
        line-height: 1.05;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .sticky-cart__meta {
        min-width: 0;
    }

    .sticky-cart__choice,
    .sticky-cart__status {
        display: block;
        overflow: hidden;
        font-family: var(--font-ui);
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sticky-cart__choice {
        color: var(--white);
        font-size: 0.76rem;
        font-weight: 700;
    }

    .sticky-cart__status {
        margin-top: 0.12rem;
        color: rgba(255,255,255,0.62);
        font-size: 0.66rem;
    }

    .sticky-cart__price {
        font-family: var(--font-heading);
        font-size: clamp(1.35rem, 5.8vw, 1.9rem);
        line-height: 1;
        color: var(--white);
    }

    .sticky-cart__btn {
        min-width: 4.6rem;
        min-height: 2.65rem;
        padding: 0 0.7rem;
        border-radius: 5px;
        background-color: var(--accent);
        color: var(--charcoal);
        font-family: var(--font-heading);
        font-size: clamp(0.82rem, 3.9vw, 1.1rem);
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .sticky-cart__btn--disabled {
        opacity: 0.74;
    }
}

@media (max-width: 25rem) {
    .swatch-grid,
    .font-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sticky-cart {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .install-tip-btn {
        display: none;
    }

    .sticky-cart__price {
        justify-self: end;
    }

    .sticky-cart__btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
    .install-tip-btn {
        display: none;
    }
}

/* ── Section: SPECIAL REQUESTS (ANYTHING EXTRA POPUP) ────────── */
.section--special-requests {
    margin-top: 1.25rem;
    padding: 0;
    background: transparent;
    border: none;
}

.special-requests-trigger-btn {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--surface-mid, #1a1a1a);
    border: 2px solid var(--border, #333333);
    border-radius: 6px;
    color: var(--white, #fff);
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.6vw, 17px);
    letter-spacing: 0.05em;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.special-requests-trigger-btn:hover {
    border-color: var(--accent, #70D6FF);
    background-color: #172533;
}

.special-requests-trigger-btn--active {
    border-color: var(--accent, #70D6FF);
    background-color: #102436;
    box-shadow: 0 0 12px rgba(112, 214, 255, 0.28);
}

.special-requests-sub {
    font-family: var(--font-ui);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0;
}

/* Modal Dialog */
.special-requests-dialog {
    border: 2px solid var(--accent, #70D6FF);
    border-radius: 8px;
    background-color: #101820;
    color: var(--white, #fff);
    padding: 0;
    max-width: 480px;
    width: 90vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.special-requests-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.special-requests-dialog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.special-requests-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.special-requests-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.05em;
    color: var(--white, #fff);
}

.special-requests-close-x {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.special-requests-close-x:hover {
    color: var(--accent, #70D6FF);
}

.special-requests-notice {
    font-family: var(--font-ui);
    font-size: 12px;
    color: #ffaa33;
    background: rgba(255, 170, 51, 0.1);
    border: 1px solid rgba(255, 170, 51, 0.3);
    padding: 8px 10px;
    border-radius: 5px;
    line-height: 1.45;
    margin: 0;
}

.special-requests-help {
    font-family: var(--font-ui);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin: 0;
}

.special-requests-textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px 12px;
    background-color: var(--black, #000);
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--white, #fff);
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

.special-requests-textarea:focus {
    outline: 2px solid var(--accent, #70D6FF);
    outline-offset: 1px;
}

.special-requests-count {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-ui);
    font-size: 11px;
    text-align: right;
    margin-top: -6px;
}

.special-requests-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.special-requests-save-btn {
    flex: 1;
    padding: 12px;
    background-color: var(--accent, #70D6FF);
    border: none;
    border-radius: 5px;
    color: var(--charcoal, #1A1A1A);
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-weight: bold;
}

.special-requests-cancel-btn {
    padding: 12px 16px;
    background-color: transparent;
    border: 1px solid #444;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-size: 14px;
    cursor: pointer;
}

.special-requests-cancel-btn:hover {
    color: var(--white, #fff);
    border-color: #666;
}

/* Seasonal promotion and Remixer styling */
.bfcm-page {
    background: #19110a;
    overflow: hidden;
}

.bfcm-page .configurator-wrapper,
.bfcm-page .sticky-cart {
    display: none;
}

.bfcm-splash {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0 0 max(0.75rem, env(safe-area-inset-bottom));
    background: #19110a;
}

.bfcm-splash picture {
    display: block;
    min-height: 0;
    width: 100%;
    height: 100%;
}

.bfcm-splash img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bfcm-splash__start {
    max-width: calc(100% - 2rem);
    margin-top: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    background: #ffdf68;
    color: #221303;
    font-family: var(--font-heading);
    text-align: center;
    text-decoration: none;
}

.bfcm-splash__start:focus-visible,
.intro-panel__offer:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.intro-panel__offer:not([hidden]) {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--white);
    font-weight: 700;
}

.remixer-christmas {
    --christmas-gold: #e6c578;
    --settled-snow:
        radial-gradient(ellipse 34px 9px at 52px bottom, #fbfdff 96%, transparent) left top / 120px 11px no-repeat,
        radial-gradient(ellipse 47px 6px at 55px bottom, #dcecf6 96%, transparent) left top / 120px 12px no-repeat,
        radial-gradient(ellipse 29px 8px at 63px bottom, #fbfdff 96%, transparent) right top / 100px 11px no-repeat,
        radial-gradient(ellipse 37px 5px at 59px bottom, #dcecf6 96%, transparent) right top / 100px 12px no-repeat;
}

.remixer-christmas .viewer-col {
    background: linear-gradient(135deg, #244e38, #101f19);
}

.remixer-christmas .visual-box {
    outline-color: var(--christmas-gold);
    background:
        var(--settled-snow),
        linear-gradient(#345443, #345443) left top / 100% 12px no-repeat,
        linear-gradient(#d4bd8e, #d4bd8e) left top 12px / 100% 1px no-repeat,
        #f8f6f0;
}

.remixer-christmas .controls,
.remixer-christmas .section--fit,
.remixer-christmas .section--fit .section__heading {
    background-color: #204536;
}

.remixer-christmas .intro-panel {
    padding-top: 24px;
    background:
        var(--settled-snow),
        repeating-linear-gradient(135deg, #fff1d5 0 7px, #ac1939 7px 14px) left top 12px / 100% 5px no-repeat,
        linear-gradient(135deg, #691c2e, #39111e);
}

.remixer-christmas .intro-panel::before {
    content: "";
    float: right;
    width: clamp(3.5rem, 13vw, 7rem);
    aspect-ratio: 1;
    margin: 0 0 0.5rem 0.75rem;
    background: url('./assets/jockwreath.png') center / contain no-repeat;
}

.remixer-christmas .section--fit .section__body,
.remixer-christmas .special-requests-dialog {
    background-color: #18352a;
}

.remixer-christmas .section--fit .section__heading {
    padding-right: 4.5rem;
    background-image: url('./assets/hcchollysprig.png');
    background-position: right 0.75rem center;
    background-size: 3.25rem auto;
    background-repeat: no-repeat;
}

.remixer-christmas .section--fit::after {
    content: "";
    display: block;
    height: 7.25rem;
    background:
        url('./assets/beadmanolo.png') right 1.25rem bottom 0.5rem / auto 6.375rem no-repeat,
        url('./assets/gaygingerbreadmen.png') left 1.25rem bottom 0.5rem / min(38%, 8.5rem) auto no-repeat,
        radial-gradient(ellipse 5.25rem 0.65rem at center bottom, #e7f2fb 96%, transparent) right 0.5rem bottom / 10.5rem 0.75rem no-repeat,
        radial-gradient(ellipse 5rem 0.65rem at center bottom, #e7f2fb 96%, transparent) left 0.5rem bottom / 10rem 0.75rem no-repeat;
}

.remixer-christmas .section--fit .section__heading,
.remixer-christmas .fit-label {
    color: #fff1d5;
}

.remixer-christmas .special-requests-dialog {
    border-color: var(--christmas-gold);
}

.remixer-christmas :is(.fit-input, .fit-select, .band-text-input, .special-requests-textarea) {
    background-color: #10291f;
    border-color: #aa8e59;
}

.remixer-christmas :is(.fit-input, .fit-select, .band-text-input, .special-requests-textarea):focus {
    border-color: var(--christmas-gold);
    outline-color: var(--christmas-gold);
}

.remixer-christmas .section--band .section__heading {
    padding-right: 4rem;
    background: url('./assets/gingerbreadboner.png') right 1rem center / 2.5rem auto no-repeat;
}

.remixer-christmas :is(.section--cart, .sticky-cart) {
    --accent: var(--christmas-gold);
    --border: #e6c57866;
    --white: #fff1d5;
    border-top-color: var(--christmas-gold);
    background-color: #421b28;
}

.remixer-christmas .section--cart {
    border-top: 1px solid var(--christmas-gold);
    background-image: url('./assets/GeriHalliwel.png');
    background-position: right 1rem top 0.4rem;
    background-size: 3.75rem auto;
    background-repeat: no-repeat;
}

.remixer-christmas .section--cart :is(.section__heading, .addons-list) {
    padding-right: 4.5rem;
}

.remixer-christmas :is(.price-preview, .sticky-cart__price) {
    color: var(--christmas-gold);
}

.remixer-christmas :is(.addon-empty, .sku-preview, .sticky-cart__status) {
    color: #eacdc1;
}

.remixer-christmas .addon-pill:not(.addon-pill--pending) {
    background-color: #234537;
}

.remixer-christmas :is(.add-to-cart-btn, .sticky-cart__btn, .lock-btn:not(.lock-btn--locked)) {
    color: #301821;
}
