:root {
    /* Fonts */
    --bs-body-font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-headings-font-weight: 700;
    /* Brand colors */
    --grey: #808080;
    --primary-white: #ffffff;
    --primary-blue: #00a9b4;
    --dark-blue: #0a3442;
    --dark-teal: #1c7fa0;
    /* Boat Colors */
    --standard-white: #edece7;
    --shackleford-tan: #c8b59d;
    --mocha-mousse: #7f7874;
    --gun-metal-grey: #959ca0;
    --tides-blue-edge: #9fb3bf;
    --marsh-mist: #a6bab2;
    --horizon-blue: #697586;
    --fathom-blue: #394251;
    --blackwater-cypress: #313a3a;
    --brackish-mahagony: #694437;
    --ocracoke-dusk: #a88367;
    /* Font weights */
    --thin: 100;
    --extra-light: 200;
    --light: 300;
    --regular: 400;
    --medium: 500;
    --semibold: 600;
    --bold: 700;
    --extrabold: 800;
    /* Swatches (v2) */
    --swatch-size: 130px; /* square size */
    --swatch-radius: 12px;
    --swatch-gap: 0.75rem;
    --swatch-focus-ring: 0 0 0 3px rgba(10, 52, 66, 0.25); /* dark blue ring */
}

html,
body {
    height: 100%;
}

:where( h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .config-header .subheader, .config-header .title, .section-title, .option-row > .fw-semibold, .list-group-item.active ) {
    font-family: "Epilogue", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    letter-spacing: 0.01em;
    font-weight: var(--bs-headings-font-weight);
}

body,
button,
input,
select,
textarea,
.form-label,
.form-check-label,
.form-control,
.btn {
    font-family: var(--bs-body-font-family);
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h4,
h5,
h6 {
    line-height: 1.2;
}

#sectionNav .list-group-item {
    font-family: "Epilogue", sans-serif;
}

/* Hide Bootstrap's default caret so only your FA chevron shows */
.navbar .dropdown-toggle::after,
.subnav .dropdown-toggle::after {
    content: none !important;
}


/* Hero background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient( to bottom, rgba(10, 15, 25, 0), rgba(10, 15, 25, 0) ), image-set( url("/assets/img/quote-it/quote-it-bg.jpg") 1x, url("/assets/img/quote-it/quote-it-bg.jpg") 2x );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: translateZ(0);
}

/* Remove default focus shadow from all radios */
.form-check-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Remove the focus glow from swatch tiles */
.swatch-input:focus + .swatch-label {
    box-shadow: none !important;
    outline: none !important;
}


.btn-primary.disabled, .btn-primary:disabled {
    background-color: #4d4d4d;
    border-color: #4d4d4d;
    opacity: 0.3 !important;
}

/* =========================
     Layout & cards
     ========================= */
.bg-glass {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(2px);
}

@media (prefers-reduced-transparency: reduce) {
    .bg-glass {
        background: #fff;
        backdrop-filter: none;
    }
}

/* Swatch radios */
.swatch-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(52px, 1fr));
    gap: 0.5rem;
}

@media (min-width: 992px) {
    .swatch-grid {
        grid-template-columns: repeat(8, minmax(52px, 1fr));
    }
}

/* Tooltip icon now lives inside the tile */
.swatch-tip {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    margin: 0;
    width: 18px;
    height: 18px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.swatch-tip:hover {
    background: rgba(0, 0, 0, 0.15);
}

.swatch-tip:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Optional: slightly tighter grid at very wide screens (more columns) */
@media (min-width: 1400px) {
    .swatch-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Optional: if space is really tight, allow narrower tiles on phones */
@media (max-width: 420px) {
    .swatch-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Make each tile self-contained and position the tip inside it */
.swatch-option {
    display: block;
}
/* undo the 2-col layout */
.swatch-label {
    position: relative;
    padding-right: 28px;
}
/* space for the tip in top-right */

/* Tooltip icon now lives inside the tile */
.swatch-tip {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    margin: 0;
    width: 18px;
    height: 18px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.swatch-tip:hover {
    background: rgba(0, 0, 0, 0.15);
}

.swatch-tip:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Layout tweaks */
.config-header {
    padding: 2rem 0 1rem;
}

.config-header .title {
    margin: 0.25rem 0 0;
    font-size: 52px;
    color: var(--dark-blue);
    font-weight: var(--semibold);
    letter-spacing: 1px;
}

.config-header .subheader {
    color: var(--dark-blue);
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: var(--semibold);
    margin-bottom: 1rem;
    font-family: var(--bs-body-font-family);
    padding-top: 2rem;
}

/* Left column nav */
.section-nav .list-group-item {
    cursor: pointer;
}

.section-nav .list-group-item.active {
    font-weight: 600;
}

/* Right column footer (sticky within viewport) */
.sticky-total {
    position: sticky;
    bottom: 0;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.sticky-total .price {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}


/* Make the right column scroll independently so the footer can stick nicely */
@media (min-width: 992px) {
    .right-col {
        max-height: calc(100vh - 170px); /* header height buffer */
        display: flex;
        flex-direction: column;
    }

    .right-col .scroll-area {
        overflow: auto;
    }
}

/* Small helpers */
.muted-label {
    color: var(--bs-secondary-color);
}

.option-row + .option-row {
    border-top: 1px dashed var(--bs-border-color);
}

.form-check-input:disabled + .form-check-label {
    opacity: .55;
}


/* --- Swatch radios --- */
.swatch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(52px, 1fr));
    gap: 0.5rem;
}

@media (min-width: 992px) {
    .swatch-grid {
        grid-template-columns: repeat(4, minmax(52px, 1fr));
    }
}

.swatch-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.swatch {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.swatch .swatch-label:hover .swatch {
    transform: none !important;
    box-shadow: none !important;
}

.swatch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.swatch .swatch-label .info {
    /* position: relative; */
    width: 100%;
    padding: 0.45rem 0.5rem 0.5rem;
    text-align: left;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.swatch .swatch-label .info::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 54%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
    z-index: -1;
}

.swatch .swatch-label .info .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    line-height: 1.15;
    font-size: 0.75rem;
}

.swatch .swatch-label .info .text-secondary {
    display: block;
    font-size: 0.74rem !important;
    opacity: 0.95;
    color: var(--primary-white) !important;
}

.swatch-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.swatch-label .name {
    max-width: 94px;
    line-height: 1.1;
}

.swatch-input:focus + .swatch-label .swatch {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.swatch-input:checked + .swatch-label .swatch {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25), inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

/* interactions */
.swatch .swatch-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.swatch .swatch-input:focus + .swatch-label {
    box-shadow: var(--swatch-focus);
}

.swatch .swatch-input:checked + .swatch-label {
    border-color: var(--bs-primary);
    box-shadow: var(--swatch-focus);
}

.upgrade-heading {
    background: var(--bs-body-bg);
    border: 1px dashed var(--bs-border-color);
}

.upgrade-note {
    background: #f8f9fa;
    border-left: 4px solid var(--bs-secondary);
}

.upgrade-divider {
    border-top: 1px dashed var(--bs-border-color);
    margin: 0.75rem 0;
}

/* Make the upgrades list scroll within the right column card */
.scroll-area {
    overflow: auto;
    /* leave space so the sticky footer never covers the last options */
    padding-bottom: calc(var(--sticky-footer-height, 88px) + 12px);
}

/* Sticky footer inside the right card (you likely already have this) */
.sticky-total {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    padding: 0.75rem 1rem;
}

/* Optional: if you had an older right-col height rule, remove/override it */
.right-col {
    /* if this class exists in your CSS */
    max-height: none; /* override any previous max-height */
}

/* Optional: if you want a subtle seam between columns when gutters are 0 */
@media (min-width: 992px) {
    .row.gx-0 > [class*="col-"] + [class*="col-"] > .card {
        border-left: 1px solid rgba(0, 0, 0, 0.06);
    }
}

/* Equal-height cards with a viewport-tied max-height */
@media (min-width: 992px) {
    :root {
        --grid-max-h: calc(100svh - 330px);
    }
    /* fallback; JS below will refine this */

    .config-grid > [class*="col-"] {
        display: flex;
    }

    .config-grid .card {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        max-height: var(--grid-max-h);
    }

    /* Make inner bodies fill and scroll as needed */
    /* Left column (sections list) */
    .config-grid aside .card-header {
        flex: 0 0 auto;
    }

    #sectionNav {
        flex: 1 1 auto;
        overflow: auto;
    }

    /* Middle column (standard features) */
    .config-grid main .card-header {
        flex: 0 0 auto;
    }

    #standardFeatures {
        flex: 1 1 auto;
        overflow: auto;
    }

    /* Right column (upgrades) — keep footer visible, list scrolls */
    .config-grid section .card-header {
        flex: 0 0 auto;
    }

    #upgradesPanel {
        flex: 1 1 auto;
        overflow: auto;
        padding-bottom: calc(var(--sticky-footer-height, 88px) + 12px);
    }

    .sticky-total {
        position: sticky;
        bottom: 0;
        z-index: 1;
    }
}
/* optional: visual nesting for the cushion group */

/* Visually gray-out disabled cushion groups */

.option-row[data-group="seat-forward-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="forward-platform-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="forward-v-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="fish-fiberglass-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="removable-forward-seatback-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="bow-table-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="removable-bow-casting-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="deluxe-helm-stbd-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="deluxe-helm-port-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="folding-cockpit-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="coaming-pads-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="port-lounge-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="deluxe-helm-port-and-stbd-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

.option-row[data-group="port-side-full-lenght-lounge-cushion"] {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color);
    border-radius: 0;
}

/* Grid container for pricing tiles + actions */
.footer-prices {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto; /* NAP | Base | Total | Actions */
    gap: 1rem;
    align-items: end; /* titles sit above values nicely */
}

/* Each tile stacks title over value */
.price-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-title {
    line-height: 1;
}

.price-value {
    margin-top: 0.2rem;
    font-size: 1.05rem;
}

/* Emphasize total a touch */
.price-tile.total .price-value {
    font-size: 1.15rem;
}

/* Action buttons area */
.footer-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Responsive: stack tiles on narrow screens */
@media (max-width: 768px) {
    .footer-prices {
        grid-template-columns: 1fr 1fr; /* 2 columns */
        grid-auto-rows: auto;
    }

    .footer-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

/* swatches  */
/* === Full-color, equal-size swatch tiles ============================== */
/* --- SWATCHES V2: full-color square tiles (scoped) ------------------- */

.swatches-v2 {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax(var(--swatch-size), 1fr) ) !important;
    gap: var(--swatch-gap) !important;
}

/* option = hidden input + label (tile) */
.swatches-v2 .swatch-option {
    position: relative;
}

.swatches-v2 .swatch-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

/* the tile */
.swatches-v2 .swatch-label {
    position: relative;
    width: var(--swatch-size);
    height: var(--swatch-size);
    border-radius: var(--swatch-radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* full-bleed color */
.swatches-v2 .swatch {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* kill legacy hover that scaled the chip */
.swatches-v2 .swatch-label:hover .swatch {
    transform: none !important;
    box-shadow: none !important;
}

/* bottom info bar with gradient for legibility */
.swatches-v2 .swatch-label .info {
    /* position: relative; */
    width: 100%;
    padding: 0.45rem 0.25rem 0.5rem;
    text-align: left;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.swatches-v2 .swatch-label .info::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 54%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
    z-index: -1;
}

.swatches-v2 .swatch-label .info .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    line-height: 1.15;
    font-size: 0.75rem;
}

.swatches-v2 .swatch-label .info .text-secondary {
    display: block;
    font-size: 0.74rem !important;
    opacity: 0.95;
    color: var(--primary-white) !important;
}

/* interactions */
.swatches-v2 .swatch-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.swatches-v2 .swatch-input:focus + .swatch-label {
    box-shadow: var(--swatch-focus);
}

.swatches-v2 .swatch-input:checked + .swatch-label {
    border-color: var(--bs-primary);
    box-shadow: var(--swatch-focus);
}

/* tip button inside the square */
.swatches-v2 .swatch-tip {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: 0;
    cursor: pointer;
}

.swatches-v2 .swatch-tip:hover {
    background: rgba(0, 0, 0, 0.5);
}

.swatches-v2 .swatch-tip:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* phone size */
@media (max-width: 420px) {
    :root {
        --swatch-size: 130px;
    }
}

/* The color fill stays absolutely positioned */
.swatch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Make the whole label a vertical flexbox */
.swatch-label {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* push content to the bottom */
    align-items: center;
    width: var(--swatch-size);
    height: var(--swatch-size);
    border-radius: var(--swatch-radius);
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.swatch-label:hover .swatch {
    transform: none !important;
    box-shadow: none !important;
}

/* ensure grid uses the new layout */
/* Force 4 columns for swatches */
.swatch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* always 4 equal columns */
    gap: var(--swatch-gap, 0.75rem);
}

/* put content at the bottom of the bar */
.swatch-label .info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* pack items to the bottom */
    align-items: left;
    min-height: 120px; /* ensures room even if price is missing */
    padding-bottom: 0.5rem; /* keeps the name off the very edge */
}

/* make price sit above, name at the bottom */
.swatch-label .info .text-secondary {
    order: 2;
}

.swatch-label .info .name {
    order: 2;
    margin-top: 0.2rem;
    /* keep the 2-line clamp you already have */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 992px) {
    .swatch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

input[value="standard-white"] + .swatch-label .info {
    color: #000 !important;
    text-shadow: none !important;
}
/* === Override selected radio styles ================== */

/* For native radios (non-swatch) */
.form-check-input:checked {
    background-color: #0a3442 !important;
    border-color: #0a3442 !important;
    /* box-shadow: 0 0 0 0.25rem rgba(10, 52, 66, 0.25); subtle dark blue ring */
}

/* For swatch-style radios */
.swatch-input:checked + .swatch-label {
    border-color: #0a3442 !important;
    /* box-shadow: 0 0 0 3px rgba(10, 52, 66, 0.25) !important; */
}

.swatch-input:checked + .swatch-label .swatch {
    border-color: #0a3442 !important;
    box-shadow: 0 0 0 2px rgba(10, 52, 66, 0.25);
    /* inset 0 0 0 2px rgba(255, 255, 255, 0.85) !important; */
}
/* Standard Features text size */
#standardFeatures {
    font-size: 14px;
    line-height: 1.4; /* optional: makes it more readable */
}

.list-group-item.active {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.card > .list-group:last-child {
    border-bottom-width: 0;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.text-success {
    color: var(--dark-blue) !important;
    font-weight: 600;
}

/* Hover effect for native radios & checkboxes */
.form-check-input:hover {
    border-color: #0a3442; /* dark blue border */
    box-shadow: 0 0 0 3px rgba(10, 52, 66, 0.15); /* soft glow */
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Make selected swatch pop with a bolder ring */
.swatch-input:checked + .swatch-label {
    border-color: #0a3442 !important;
    box-shadow: 0 0 0 3px rgba(10, 52, 66, 0.35) !important; /* outer ring */
}

/* Add a checkmark badge on the selected tile (top-left) */
.swatch-input:checked + .swatch-label::after {
    content: "✓";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: rgba(10, 52, 66, 0.9);
    border-radius: 50%;
    pointer-events: none; /* don’t block clicks */
    z-index: 2;
}

/* (Optional) match the square style variant too */
.swatches-v2 .swatch-input:checked + .swatch-label {
    border-color: #0a3442 !important;
    box-shadow: 0 0 0 3px rgba(10, 52, 66, 0.35) !important;
}
