/* ════════════════════════════════════════════════════════
   Serigest Bundle – Frontend styles
   Stile coerente con Serigest Grid Order
   ════════════════════════════════════════════════════════ */

:root {
    --sgb-accent:       #16a34a;
    --sgb-accent-bg:    #f0fdf4;
    --sgb-accent-ring:  rgba(22,163,74,.18);
    --sgb-border:       #e4e7ec;
    --sgb-bg:           #f9fafb;
    --sgb-surface:      #ffffff;
    --sgb-text:         #111827;
    --sgb-muted:        #6b7280;
    --sgb-danger:       #dc2626;
    --sgb-radius:       8px;
    --sgb-font:         -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}

/* ════════════════════════════════════════════════════════
   CONFIGURATOR — 2-column grid (items + sticky sidebar)
   ════════════════════════════════════════════════════════ */
.sgb-configurator {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 24px;
    padding-top: 32px;
    border-top: 2px solid var(--sgb-border);
    font-family: var(--sgb-font);
    font-size: 15px;
    color: var(--sgb-text);
    clear: both;
}

/* Left column */
.sgb-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Bundle item card ────────────────────────────────────────────────────── */
.sgb-item {
    background: var(--sgb-surface);
    border: 1px solid var(--sgb-border);
    border-radius: var(--sgb-radius);
    overflow: hidden;
    transition: box-shadow .15s;
}
.sgb-item:focus-within {
    box-shadow: 0 0 0 2px var(--sgb-accent-ring);
    border-color: var(--sgb-accent);
}
.sgb-item.is-done {
    border-color: var(--sgb-accent);
}
.sgb-item.is-done .sgb-item__header {
    background: var(--sgb-accent-bg);
}
.sgb-item.is-done .sgb-item__name::after {
    content: ' ✓';
    color: var(--sgb-accent);
    font-weight: 700;
}

/* Header row */
.sgb-item__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px 12px;
    border-bottom: 1px solid var(--sgb-border);
    background: #f5f6f8;
}
.sgb-item__name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--sgb-text);
    flex: 1;
    text-transform: uppercase;
}
.sgb-item__qty-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--sgb-muted);
    background: var(--sgb-bg);
    border: 1px solid var(--sgb-border);
    border-radius: 20px;
    padding: 2px 10px;
    flex-shrink: 0;
}

/* Body */
.sgb-item__body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Field label ─────────────────────────────────────────────────────────── */
.sgb-field__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--sgb-muted);
    margin: 0 0 10px;
}
.sgb-field__hint {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--sgb-muted);
    opacity: .75;
}

/* ════════════════════════════════════════════════════════
   COLOR SWATCHES — 150 × 150 px
   ════════════════════════════════════════════════════════ */
.sgb-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sgb-swatch-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sgb-swatch__name {
    font-size: 11px;
    font-weight: 500;
    color: var(--sgb-muted);
    text-align: center;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.sgb-swatch {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 12px;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    outline: none;
    background: var(--sgb-bg);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .12s;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.sgb-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.sgb-swatch__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--sgb-text);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Checkmark overlay */
.sgb-swatch__check {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(22,163,74,.25);
}
.sgb-swatch__check svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}

.sgb-swatch:hover {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px var(--sgb-accent-ring), inset 0 0 0 1px rgba(0,0,0,.08);
}
.sgb-swatch.is-selected {
    border-color: var(--sgb-accent);
    box-shadow: 0 0 0 4px var(--sgb-accent-ring);
    transform: scale(1.03);
}
.sgb-swatch.is-selected .sgb-swatch__check {
    display: flex;
}

/* Quando un colore è selezionato, attenua gli altri */
.sgb-swatches:has(.sgb-swatch.is-selected) .sgb-swatch:not(.is-selected) {
    opacity: .35;
    filter: grayscale(60%);
    transform: scale(1);
    box-shadow: none;
}
.sgb-swatches:has(.sgb-swatch.is-selected) .sgb-swatch:not(.is-selected):hover {
    opacity: .6;
    filter: grayscale(30%);
    transform: scale(1.02);
}

/* ════════════════════════════════════════════════════════
   TAGLIA UNICA – pill statica
   ════════════════════════════════════════════════════════ */
.sgb-size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.sgb-size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    padding: 0 14px;
    background: var(--sgb-accent-bg);
    border: 1.5px dashed var(--sgb-accent);
    border-radius: 6px;
    font-family: var(--sgb-font);
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
    cursor: default;
    pointer-events: none;
}

.sgb-size-placeholder {
    font-size: 13px;
    color: var(--sgb-muted);
    font-style: italic;
    margin: 0;
}

/* ════════════════════════════════════════════════════════
   MULTI-SIZE GRID
   ════════════════════════════════════════════════════════ */
.sgb-size-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sgb-size-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--sgb-border);
}
.sgb-size-row:last-child { border-bottom: none; }

.sgb-size-row__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--sgb-text);
    letter-spacing: .02em;
    width: 52px;
    flex-shrink: 0;
}

/* Qty control */
.sgb-size-row__ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--sgb-border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--sgb-surface);
    transition: border-color .12s, box-shadow .12s;
}
.sgb-size-row__ctrl.has-qty {
    border-color: var(--sgb-accent);
    box-shadow: 0 0 0 2px var(--sgb-accent-ring);
}

.sgb-qty-btn {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sgb-text);
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    transition: background .1s;
    flex-shrink: 0;
}
.sgb-qty-btn:hover:not(:disabled) { background: var(--sgb-bg); }
.sgb-qty-btn:disabled { opacity: .3; cursor: default; }

.sgb-qty-field {
    width: 42px;
    height: 34px;
    border: none;
    border-left: 1px solid var(--sgb-border);
    border-right: 1px solid var(--sgb-border);
    background: transparent;
    text-align: center;
    font-family: var(--sgb-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--sgb-text);
    padding: 0;
    -moz-appearance: textfield;
    outline: none;
}
.sgb-qty-field::-webkit-outer-spin-button,
.sgb-qty-field::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Counter below grid */
.sgb-size-counter {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sgb-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}
.sgb-size-counter--hidden { display: none; }
.sgb-size-counter__current {
    font-weight: 700;
    color: var(--sgb-text);
    min-width: 1.5ch;
    text-align: right;
}
.sgb-size-counter.is-complete .sgb-size-counter__current { color: var(--sgb-accent); }
.sgb-size-counter.is-over    .sgb-size-counter__current { color: var(--sgb-danger); }

/* ════════════════════════════════════════════════════════
   VALIDATION error shake
   ════════════════════════════════════════════════════════ */
.sgb-item.has-error {
    border-color: var(--sgb-danger);
    box-shadow: 0 0 0 2px rgba(220,38,38,.15);
    animation: sgbShake .3s ease;
}
@keyframes sgbShake {
    0%,100% { transform: translateX(0); }
    25%      { transform: translateX(-4px); }
    75%      { transform: translateX(4px); }
}

/* ════════════════════════════════════════════════════════
   STICKY SIDEBAR (right column)
   ════════════════════════════════════════════════════════ */
.sgb-sidebar-wrap {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e4e7ec transparent;
}

.sgb-sidebar {
    background: #f4f6f8;
    border: 1px solid var(--sgb-border);
    border-radius: var(--sgb-radius);
    overflow: hidden;
}

/* Sidebar title */
.sgb-sidebar__title {
    font-family: var(--sgb-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--sgb-muted);
    margin: 0;
    padding: 16px 18px 14px;
    border-bottom: 1px solid var(--sgb-border);
}

/* Price block */
.sgb-sidebar__price-block {
    padding: 14px 18px;
    border-bottom: 1px solid var(--sgb-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sgb-sidebar__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.sgb-sidebar__price-row--main {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--sgb-border);
}
.sgb-sidebar__price-label {
    font-size: 12px;
    color: var(--sgb-muted);
    font-weight: 500;
}
.sgb-sidebar__price-original {
    font-size: 13px;
    color: var(--sgb-muted);
    font-weight: 400;
}
.sgb-sidebar__price-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--sgb-text);
    line-height: 1.2;
}
.sgb-sidebar__price-savings {
    font-size: 12px;
    color: var(--sgb-accent);
    font-weight: 600;
}

/* Empty state */
.sgb-sidebar__empty {
    padding: 24px 18px;
}
.sgb-sidebar__empty p {
    font-size: 13px;
    color: var(--sgb-muted);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

/* Active summary (populated by JS) */
.sgb-sidebar__active {
    padding: 14px 18px;
}

.sgb-summary-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--sgb-text);
    margin: 0 0 10px;
}

/* Per-product summary rows */
.sgb-sum-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--sgb-border);
}
.sgb-sum-item:last-child { border-bottom: none; }

.sgb-sum-item.is-done .sgb-sum-item__header { color: var(--sgb-accent); }

.sgb-sum-item__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 4px;
}
.sgb-sum-item__name {
    font-size: 12px;
    font-weight: 600;
    color: var(--sgb-text);
    line-height: 1.3;
    flex: 1;
}
.sgb-sum-item__badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--sgb-muted);
    flex-shrink: 0;
}
.sgb-sum-item__detail {
    font-size: 12px;
    color: var(--sgb-muted);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sgb-sum-item__detail--pending {
    font-style: italic;
    color: var(--sgb-muted);
}
.sgb-sum-item__color {
    font-size: 11px;
    font-weight: 600;
    color: var(--sgb-text);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.sgb-sum-item__sizes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--sgb-muted);
}
.sgb-sum-item__sizes--pending {
    font-style: italic;
}
.sgb-sum-sep {
    color: var(--sgb-border);
    font-size: 10px;
}

/* Total row */
.sgb-summary-total {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--sgb-border);
}
.sgb-summary-total__qty {
    font-size: 12px;
    color: var(--sgb-muted);
}

/* ════════════════════════════════════════════════════════
   CART BUTTON BAR (in sidebar)
   ════════════════════════════════════════════════════════ */
.sgb-cart-bar {
    margin-top: 12px;
}
.sgb-message {
    font-size: 13px;
    color: var(--sgb-danger);
    min-height: 1.4em;
    margin: 0 0 6px;
}
.sgb-message.is-success { color: var(--sgb-accent); }

.sgb-add-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    background: var(--sgb-accent);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-family: var(--sgb-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    text-align: center;
    transition: background .15s, opacity .15s;
}
.sgb-add-btn:hover:not(:disabled) { background: #15803d; }
.sgb-add-btn:disabled,
.sgb-add-btn.is-loading {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ════════════════════════════════════════════════════════
   MOBILE: bottom bar (fixed) — visible only on ≤ 900px
   ════════════════════════════════════════════════════════ */
.sgb-mobile-bar,
.sgb-mobile-progress { display: none; }
.sgb-mobile-progress--hidden { display: none !important; }

/* ════════════════════════════════════════════════════════
   MOBILE: slide-up drawer
   ════════════════════════════════════════════════════════ */
.sgb-mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}
.sgb-mobile-drawer.is-open { display: block; }

.sgb-mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.sgb-mobile-drawer__sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--sgb-surface);
    border-radius: 12px 12px 0 0;
    padding: 0 0 env(safe-area-inset-bottom, 12px);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: sgbSheetUp .26s cubic-bezier(.32,1,.37,1);
}
@keyframes sgbSheetUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
.sgb-mobile-drawer__handle {
    width: 36px;
    height: 3px;
    background: #d1d5db;
    border-radius: 3px;
    margin: 10px auto 0;
    flex-shrink: 0;
}
.sgb-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--sgb-border);
}
.sgb-mobile-drawer__header strong {
    font-family: var(--sgb-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--sgb-text);
}
.sgb-mobile-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--sgb-bg);
    border: 1px solid var(--sgb-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--sgb-muted);
    padding: 0;
    transition: background .12s;
}
.sgb-mobile-drawer__close:hover { background: #f3f4f6; }
.sgb-mobile-drawer__close svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}
.sgb-mobile-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    -webkit-overflow-scrolling: touch;
}
.sgb-mobile-drawer__footer {
    padding: 12px 18px;
    flex-shrink: 0;
    border-top: 1px solid var(--sgb-border);
}

/* ════════════════════════════════════════════════════════
   PRODUCT PAGE INFO BAR (above configurator, in summary column)
   Kept for backward compat with render_summary_info_bar()
   ════════════════════════════════════════════════════════ */
.sgb-bundle-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 12px !important;
}
.sgb-bundle-price__original {
    font-size: 16px;
    color: var(--sgb-muted);
    text-decoration: line-through;
    font-weight: 400;
}
.sgb-bundle-price__current {
    font-size: 28px;
    font-weight: 700;
    color: var(--sgb-text);
    text-decoration: none;
    line-height: 1.1;
}
.sgb-bundle-price__badge {
    display: inline-flex;
    align-items: center;
    background: var(--sgb-accent-bg);
    color: var(--sgb-accent);
    border: 1px solid rgba(22,163,74,.25);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    line-height: 1.4;
    white-space: nowrap;
}
.sgb-configure-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Colors/sizes availability table */
.sgb-info-table {
    display: flex;
    border: 1px solid var(--sgb-border);
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0 0;
}
.sgb-info-table__cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
}
.sgb-info-table__cell + .sgb-info-table__cell {
    border-left: 1px solid var(--sgb-border);
}
.sgb-info-table__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sgb-muted);
}
.sgb-info-table__value {
    font-size: 15px;
    font-weight: 500;
    color: var(--sgb-text);
}
.sgb-info-table__value strong { font-weight: 700; }
.sgb-info-table__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.sgb-info-table__size-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    background: #f5f6f8;
    border: 1px solid var(--sgb-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--sgb-text);
    letter-spacing: .03em;
}

/* ════════════════════════════════════════════════════════
   LAYOUT UTILITIES (bundle product pages only)
   ════════════════════════════════════════════════════════ */
main#wp--skip-link--target {
    margin-bottom: 40px;
}

.wp-block-post-terms,
.posted_in,
.product_meta .posted_in {
    display: none !important;
}

/* Hide stray WooCommerce price; re-enable inside our elements */
.woocommerce-Price-amount.amount {
    display: none !important;
}
.sgb-bundle-price .woocommerce-Price-amount.amount,
.sgb-sidebar__price-block .woocommerce-Price-amount.amount,
.sgb-mobile-bar .woocommerce-Price-amount.amount,
.sgb-summary__price .woocommerce-Price-amount.amount,
.sgb-configurator .woocommerce-Price-amount.amount {
    display: inline !important;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .sgb-configurator {
        grid-template-columns: 1fr;
    }

    /* Hide desktop sidebar */
    .sgb-sidebar-wrap {
        display: none !important;
    }

    /* Show mobile bar */
    .sgb-mobile-bar {
        display: flex !important;
        flex-wrap: wrap;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: var(--sgb-surface);
        border-top: 1px solid var(--sgb-border);
        box-shadow: 0 -2px 16px rgba(0,0,0,.08);
        padding: 11px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        align-items: center;
        gap: 0 12px;
        font-family: var(--sgb-font);
    }

    /* Progress bar — elemento fisso sopra la mobile bar */
    .sgb-mobile-progress {
        display: flex !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 68px; /* sopra la mobile bar */
        z-index: 9998;
        background: #fff;
        border-top: 2px solid var(--sgb-accent, #22c55e);
        box-shadow: 0 -2px 8px rgba(0,0,0,.08);
        padding: 7px 16px;
        align-items: center;
        gap: 12px;
        font-family: var(--sgb-font);
    }
    .sgb-mobile-progress__track {
        flex: 1;
        height: 6px;
        background: #e5e7eb;
        border-radius: 3px;
        overflow: hidden;
    }
    .sgb-mobile-progress__fill {
        height: 100%;
        background: var(--sgb-accent, #22c55e);
        border-radius: 3px;
        width: 0%;
        transition: width .35s ease;
    }
    .sgb-mobile-progress__text {
        font-size: 11px;
        font-weight: 700;
        color: var(--sgb-text, #111);
        white-space: nowrap;
        letter-spacing: .02em;
    }

    .sgb-mobile-bar__info {
        flex: 1;
        min-width: 0;
    }
    .sgb-mobile-bar__placeholder {
        display: block;
        font-size: 12px;
        color: var(--sgb-muted);
        font-style: italic;
    }
    .sgb-mobile-bar__qty {
        font-size: 12px;
        color: var(--sgb-muted);
        display: block;
    }
    .sgb-mobile-bar__price {
        font-size: 16px;
        font-weight: 700;
        color: var(--sgb-text);
        display: block;
        line-height: 1.2;
    }
    .sgb-mobile-bar__actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .sgb-mobile-bar__cart {
        padding: 10px 16px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
    .sgb-mobile-bar__recap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        background: none;
        border: 1px solid var(--sgb-border);
        border-radius: 6px;
        padding: 6px 10px;
        cursor: pointer;
        color: var(--sgb-text);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        transition: background .12s;
    }
    .sgb-mobile-bar__recap:hover { background: var(--sgb-bg); }
    .sgb-mobile-bar__recap-icon {
        width: 20px;
        height: 20px;
        stroke: currentColor;
    }

    /* Swatches smaller on mobile */
    .sgb-swatch { width: 160px; height: 160px; border-radius: 8px; }
    .sgb-swatch__name { max-width: 160px; }
    .sgb-swatch__check svg { width: 18px; height: 18px; }
    .sgb-swatches { gap: 8px; }

    /* Add padding at bottom to account for fixed bar */
    .sgb-main { padding-bottom: 80px; }

    .sgb-configurator { margin-top: 24px; padding-top: 24px; }
    .sgb-item__body { padding: 12px 14px; }
    .sgb-item__header { padding: 10px 14px; }
}
