/**
 * SwingTap Shop — frontend storefront styles
 *
 * Layered on top of frontend.css. Brand tokens (#d92b63 pink, #f2663d flame
 * orange, #0a0a0a black) come from there.
 */

/* ============================================================
   LAYOUT — common container, header, breadcrumbs, cart link
   ============================================================ */
.st-shop-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
}
.st-shop-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}
.st-shop-page-title {
    font-family: 'Cinzel', serif;
    font-size: 1.9rem;
    margin: 0;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.st-shop-page-sub {
    color: #b7b7b7;
    margin: 4px 0 0;
    font-size: 0.95rem;
    flex: 1 1 100%;
    order: 3;
}
.st-shop-back-link {
    color: #d92b63;
    font-size: 0.9rem;
    text-decoration: none;
}
.st-shop-back-link:hover { color: #ff3d7f; text-decoration: underline; }
.st-shop-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    color: #b7b7b7;
    font-size: 0.88rem;
}
.st-shop-breadcrumbs a { color: #b7b7b7; text-decoration: none; }
.st-shop-breadcrumbs a:hover { color: #d92b63; }

.st-shop-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.st-shop-cart-link:hover { border-color: #d92b63; background: rgba(217, 43, 99, 0.08); }
.st-shop-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #d92b63;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 9px;
    margin-left: 2px;
}

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.st-shop-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.st-shop-cat {
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #b7b7b7 !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.15s ease;
}
.st-shop-cat:hover { border-color: rgba(217, 43, 99, 0.5); color: #fff !important; }
.st-shop-cat.is-active {
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    border-color: transparent;
    color: #fff !important;
}

/* ============================================================
   PRODUCT GRID + CARD
   ============================================================ */
.st-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.st-shop-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.st-shop-card:hover { transform: translateY(-2px); border-color: rgba(217, 43, 99, 0.4); }
.st-shop-card.is-oos { opacity: 0.65; }
.st-shop-card-imgwrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    display: block;
    overflow: hidden;
}
.st-shop-card-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-shop-card-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.1), rgba(242, 102, 61, 0.1));
}
.st-shop-card-oos {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.st-shop-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.st-shop-card-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 4px;
    display: block;
}
.st-shop-card-name:hover { color: #d92b63; }
.st-shop-card-desc {
    color: #888;
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0 0 14px;
    flex: 1;
}
.st-shop-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.st-shop-card-price {
    color: #d92b63;
    font-weight: 700;
    font-size: 1.05rem;
}
.st-shop-card-add {
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.st-shop-card-add:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(217, 43, 99, 0.35); }
.st-shop-card-add:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.st-shop-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.st-shop-single-imgwrap {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.st-shop-single-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-shop-single-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.1), rgba(242, 102, 61, 0.1));
}
.st-shop-single-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin: 0 0 10px;
    color: #fff;
}
.st-shop-single-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #d92b63;
    margin-bottom: 18px;
}
.st-shop-single-short {
    color: #b7b7b7;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 16px;
}
.st-shop-single-desc {
    color: #cfcfcf;
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0 0 24px;
}
.st-shop-single-desc p { margin: 0 0 12px; }
.st-shop-single-desc ul { margin: 0 0 12px 18px; }
.st-shop-single-buy {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.st-shop-add-big {
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    min-width: 180px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.st-shop-add-big:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(217, 43, 99, 0.4); }
.st-shop-single-shipnote {
    color: #888;
    font-size: 0.82rem;
    margin: 0;
}

/* ============================================================
   QUANTITY STEPPER (used in single + cart)
   ============================================================ */
.st-shop-qty-wrap {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
}
.st-shop-qty-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s ease;
}
.st-shop-qty-btn:hover { background: rgba(217, 43, 99, 0.15); }
.st-shop-qty-input {
    width: 48px;
    height: 38px;
    border: none;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    -moz-appearance: textfield;
}
.st-shop-qty-input::-webkit-outer-spin-button,
.st-shop-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============================================================
   CART
   ============================================================ */
.st-shop-cart-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    align-items: start;
}
.st-shop-cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.st-shop-cart-row {
    display: grid;
    grid-template-columns: 80px 1fr auto auto 32px;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}
.st-shop-cart-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
}
.st-shop-cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-shop-cart-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.st-shop-cart-info { min-width: 0; }
.st-shop-cart-name {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.st-shop-cart-name:hover { color: #d92b63; }
.st-shop-cart-unit { color: #888; font-size: 0.78rem; }
.st-shop-cart-line {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
    min-width: 70px;
}
.st-shop-cart-remove {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.4rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}
.st-shop-cart-remove:hover { color: #ef4444; background: rgba(239, 68, 68, 0.08); }
.st-shop-qty-wrap--cart .st-shop-qty-btn { width: 30px; height: 32px; }
.st-shop-qty-wrap--cart .st-shop-qty-input { width: 40px; height: 32px; font-size: 0.85rem; }

.st-shop-cart-summary,
.st-shop-checkout-summary {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 80px;
}
.st-shop-cart-summary h3,
.st-shop-checkout-summary h3 {
    color: #fff;
    margin: 0 0 16px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
}
.st-shop-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #b7b7b7;
    font-size: 0.92rem;
}
.st-shop-summary-row em { color: #10b981; font-style: normal; }
.st-shop-summary-total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding-top: 14px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.st-shop-summary-total span:last-child { color: #d92b63; }
.st-shop-summary-note {
    background: rgba(242, 102, 61, 0.08);
    border-left: 3px solid #f2663d;
    color: #f2663d;
    font-size: 0.78rem;
    padding: 8px 10px;
    border-radius: 4px;
    margin: 8px 0;
}
.st-shop-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    margin-top: 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.st-shop-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(217, 43, 99, 0.4); color: #fff !important; }
.st-shop-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.st-shop-btn-secondary {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 22px;
    text-decoration: none !important;
    font-weight: 600;
    margin-top: 10px;
}
.st-shop-btn-secondary:hover { border-color: #d92b63; color: #fff !important; }
.st-shop-keep-link {
    display: block;
    text-align: center;
    color: #888;
    font-size: 0.82rem;
    margin-top: 10px;
    text-decoration: none;
}
.st-shop-keep-link:hover { color: #d92b63; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.st-shop-checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    align-items: start;
}
.st-shop-section {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
}
.st-shop-section h3 {
    color: #fff;
    margin: 0 0 14px;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
}
.st-shop-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.st-shop-field-row .st-shop-field { margin-bottom: 0; }
.st-shop-field { margin-bottom: 14px; }
.st-shop-field label {
    display: block;
    color: #b7b7b7;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-weight: 600;
}
.st-shop-field input,
.st-shop-field select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 16px; /* 16px = no iOS autozoom */
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.st-shop-field input:focus,
.st-shop-field select:focus {
    outline: none;
    border-color: #d92b63;
    background: rgba(217, 43, 99, 0.06);
}
.st-shop-field small {
    display: block;
    color: #888;
    font-size: 0.78rem;
    margin-top: 5px;
}

.st-shop-delivery-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.st-shop-delivery-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.st-shop-delivery-card:has(input:checked) {
    background: rgba(217, 43, 99, 0.08);
    border-color: #d92b63;
}
.st-shop-delivery-card input { accent-color: #d92b63; flex-shrink: 0; }
.st-shop-delivery-card-body { display: flex; flex-direction: column; gap: 2px; }
.st-shop-delivery-card-body strong { color: #fff; font-size: 0.92rem; }
.st-shop-delivery-card-body span { color: #888; font-size: 0.78rem; }

.st-shop-secure-note {
    color: #888;
    font-size: 0.85rem;
    margin: 0 0 14px;
}

.st-shop-summary-items {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.st-shop-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: #b7b7b7;
    font-size: 0.85rem;
}
.st-shop-summary-item-price { color: #fff; font-weight: 600; }

.st-shop-place-btn {
    position: relative;
}

/* Belt-and-braces: ensure HTML [hidden] always wins regardless of cascade order. */
.st-shop-place-btn [hidden] { display: none !important; }

/* Default state: show the text, hide the loading spinner. Toggled by adding
   .is-loading on the button itself (JS controls this — never touch the [hidden]
   attribute directly, since the previous approach got beaten by the cascade). */
.st-shop-place-text {
    display: inline;
}
.st-shop-place-loading {
    display: none;
    align-items: center;
    gap: 8px;
}
.st-shop-place-btn.is-loading .st-shop-place-text {
    display: none;
}
.st-shop-place-btn.is-loading .st-shop-place-loading {
    display: inline-flex;
}

.st-shop-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    animation: st-shop-spin 0.7s linear infinite;
}
@keyframes st-shop-spin { to { transform: rotate(360deg); } }
.st-shop-feedback {
    margin-top: 10px;
    font-size: 0.85rem;
    min-height: 1.2em;
    color: #ef4444;
}
.st-shop-feedback.is-ok { color: #10b981; }
.st-shop-trust {
    text-align: center;
    color: #666;
    font-size: 0.72rem;
    margin-top: 12px;
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.st-shop-thanks {
    max-width: 580px;
    margin: 40px auto;
    text-align: center;
    padding: 36px 28px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
}
.st-shop-thanks-check {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 14px;
}
.st-shop-thanks-title {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.st-shop-thanks-sub {
    color: #b7b7b7;
    margin: 0 0 24px;
    line-height: 1.55;
}
.st-shop-thanks-summary {
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}
.st-shop-thanks-summary h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 0.92rem;
}
.st-shop-thanks-summary table {
    width: 100%;
    border-collapse: collapse;
    color: #b7b7b7;
    font-size: 0.9rem;
}
.st-shop-thanks-summary td {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.st-shop-thanks-total td {
    color: #fff;
    padding-top: 12px !important;
    border-bottom: none !important;
}
.st-shop-thanks-pickup,
.st-shop-thanks-shipto {
    text-align: left;
    background: rgba(217, 43, 99, 0.08);
    border-left: 3px solid #d92b63;
    padding: 10px 14px;
    border-radius: 6px;
    color: #b7b7b7;
    font-size: 0.88rem;
    margin-bottom: 20px;
}
.st-shop-thanks-cta {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.st-shop-thanks-cta .st-shop-btn { display: inline-block; width: auto; margin-top: 0; }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.st-shop-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.st-shop-empty-icon { font-size: 3rem; margin-bottom: 14px; }
.st-shop-empty h2 { color: #fff; font-family: 'Cinzel', serif; font-size: 1.4rem; margin: 0 0 8px; }
.st-shop-empty p { color: #888; margin: 0 0 20px; }
.st-shop-empty .st-shop-btn { display: inline-block; width: auto; }

/* ============================================================
   TOAST (add-to-cart confirmation)
   ============================================================ */
.st-shop-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: #d92b63;
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(217, 43, 99, 0.4);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 9999;
    max-width: 90vw;
    text-align: center;
}
.st-shop-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .st-shop-single { grid-template-columns: 1fr; gap: 18px; }
    .st-shop-cart-layout,
    .st-shop-checkout-layout { grid-template-columns: 1fr; }
    .st-shop-cart-summary,
    .st-shop-checkout-summary { position: static; }
    .st-shop-cart-row {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            'img  info'
            'img  qty'
            'line line'
            'rm   rm';
        gap: 8px 12px;
    }
    .st-shop-cart-img { width: 60px; height: 60px; grid-area: img; }
    .st-shop-cart-info { grid-area: info; }
    .st-shop-qty-wrap--cart { grid-area: qty; justify-self: start; }
    .st-shop-cart-line { grid-area: line; text-align: left; padding-top: 4px; }
    .st-shop-cart-remove { grid-area: rm; justify-self: end; }
    .st-shop-delivery-toggle { grid-template-columns: 1fr; }
    .st-shop-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .st-shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .st-shop-card-body { padding: 10px 12px 12px; }
    .st-shop-card-name { font-size: 0.88rem; }
    .st-shop-card-desc { display: none; }
    .st-shop-card-price { font-size: 0.95rem; }
    .st-shop-card-add { padding: 6px 10px; font-size: 0.72rem; }
}

/* ============================================================
   VARIANT PICKER  (single product page — ring size, bracelet color)
   ============================================================ */
.st-shop-variant-picker {
    margin: 8px 0 18px;
}
.st-shop-variant-label {
    display: block;
    color: #fff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 8px;
}
.st-shop-variant-required {
    color: #d92b63;
    margin-left: 3px;
}
.st-shop-variant-select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.st-shop-variant-select:focus {
    outline: none;
    border-color: #d92b63;
    background: rgba(217, 43, 99, 0.06);
}

/* Color swatch grid */
.st-shop-variant-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.st-shop-variant-swatch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.st-shop-variant-swatch:hover {
    border-color: rgba(217, 43, 99, 0.6);
    background: rgba(217, 43, 99, 0.05);
}
.st-shop-variant-swatch.is-selected {
    border-color: #d92b63;
    background: rgba(217, 43, 99, 0.12);
    box-shadow: 0 0 0 2px rgba(217, 43, 99, 0.25);
}
.st-shop-variant-swatch input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.st-shop-variant-swatch-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.st-shop-variant-swatch-label {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 500;
}
.st-shop-variant-error {
    margin: 8px 0 0;
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 500;
}

/* Cart row — variant chip under product name */
.st-shop-cart-variant {
    color: #b7b7b7;
    font-size: 0.78rem;
    margin-top: 2px;
    margin-bottom: 2px;
}
.st-shop-cart-variant strong {
    color: #d92b63;
    font-weight: 600;
}

/* Checkout summary variant */
.st-shop-summary-item-variant {
    display: block;
    color: #888;
    font-size: 0.78rem;
    font-style: normal;
    margin-top: 2px;
}
