/* ==========================================================================
   Bio Product Variants — Widget Styles v2.0
   Theme: Atlas Peptides — Blue primary (#2563EB), white cards, clean clinical.
   Layout: Rating → Price → Dosage pills → Bundle packs → Shipping → CoA+Qty+CTA
   Mobile-first, accessible, no FOUC.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --bpv-blue:          #2563eb;
    --bpv-blue-mid:      #1d4ed8;
    --bpv-blue-dark:     #1e3a8a;
    --bpv-blue-light:    #dbeafe;
    --bpv-blue-pale:     #eff6ff;
    --bpv-blue-border:   #bfdbfe;
    --bpv-blue-text:     #1d4ed8;

    --bpv-green:         #16a34a;
    --bpv-green-light:   #dcfce7;
    --bpv-green-border:  #bbf7d0;

    --bpv-amber:         #f59e0b;
    --bpv-amber-light:   #fef3c7;

    --bpv-white:         #ffffff;
    --bpv-surface:       #f8fafc;
    --bpv-surface-2:     #f1f5f9;
    --bpv-text:          #0f172a;
    --bpv-text-mid:      #475569;
    --bpv-text-light:    #94a3b8;
    --bpv-border:        #e2e8f0;
    --bpv-border-light:  #f1f5f9;

    --bpv-radius:        8px;
    --bpv-radius-lg:     12px;
    --bpv-radius-pill:   999px;

    --bpv-ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --bpv-spring:        cubic-bezier(0.34, 1.56, 0.64, 1);
    --bpv-font:          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Cart button (overridable via Elementor) */
    --bpv-btn-bg:        #2563eb;
    --bpv-btn-bg-hover:  #1d4ed8;
    --bpv-btn-color:     #ffffff;
    --bpv-btn-radius:    8px;

    /* CoA button */
    --bpv-coa-bg:        #ffffff;
    --bpv-coa-color:     #0f172a;
    --bpv-coa-border:    #e2e8f0;
    --bpv-coa-radius:    8px;
}

/* ---------- Widget Reset ---------- */
.bpv-widget {
    max-width: 100%;
    box-sizing: border-box;
    font-family: var(--bpv-font);
    color: var(--bpv-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.bpv-widget *,
.bpv-widget *::before,
.bpv-widget *::after {
    box-sizing: border-box;
}

/* ---------- Section Spacing ---------- */
.bpv-widget .bpv-section {
    margin-bottom: 24px;
}

/* ---------- Section Labels ---------- */
.bpv-widget .bpv-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bpv-text-mid);
    margin: 0 0 10px 0;
    padding: 0;
    font-family: var(--bpv-font);
}

/* ==========================================================================
   BLOCK 1 — RATING ROW
   ========================================================================== */
.bpv-widget .bpv-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.bpv-widget .bpv-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.bpv-widget .bpv-star {
    width: 15px;
    height: 15px;
    color: var(--bpv-amber);
}

.bpv-widget .bpv-rating-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--bpv-text);
}

.bpv-widget .bpv-rating-sep {
    color: var(--bpv-text-light);
    font-size: 13px;
}

.bpv-widget .bpv-review-count {
    font-size: 13px;
    color: var(--bpv-text-mid);
    font-weight: 400;
}

.bpv-widget .bpv-in-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--bpv-green);
    background: var(--bpv-green-light);
    border: 1px solid var(--bpv-green-border);
    border-radius: var(--bpv-radius-pill);
    white-space: nowrap;
}

.bpv-widget .bpv-in-stock-badge.bpv-out-of-stock {
    color: #dc2626;
    background: #fee2e2;
    border-color: #fca5a5;
}

.bpv-widget .bpv-in-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ==========================================================================
   BLOCK 2 — PRICE ROW
   ========================================================================== */
.bpv-widget .bpv-price-block {
    margin-bottom: 24px;
}

.bpv-widget .bpv-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.bpv-widget .bpv-price-current {
    font-size: 38px;
    font-weight: 800;
    color: var(--bpv-text);
    line-height: 1;
    letter-spacing: -0.5px;
    transition: opacity 0.2s var(--bpv-ease), transform 0.2s var(--bpv-ease);
    font-family: var(--bpv-font);
}

.bpv-widget .bpv-price-current.bpv-fade {
    opacity: 0;
    transform: translateY(3px);
}

.bpv-widget .bpv-price-original {
    font-size: 16px;
    font-weight: 500;
    color: var(--bpv-text-light);
    text-decoration: line-through;
    line-height: 1;
}

.bpv-widget .bpv-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--bpv-white);
    background: var(--bpv-blue);
    border-radius: var(--bpv-radius-pill);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.bpv-widget .bpv-price-meta {
    font-size: 13px;
    color: var(--bpv-text-mid);
    margin-top: 2px;
}

/* ==========================================================================
   BLOCK 3 — DOSAGE / SIZE PILLS
   ========================================================================== */
.bpv-widget .bpv-variants-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bpv-widget .bpv-variant-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bpv-text-mid);
    background: var(--bpv-white);
    border: 1.5px solid var(--bpv-border);
    border-radius: var(--bpv-radius);
    cursor: pointer;
    transition: all 0.18s var(--bpv-ease);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    font-family: var(--bpv-font);
    min-width: 80px;
    white-space: nowrap;
    line-height: 1.2;
    gap: 2px;
}

.bpv-widget .bpv-variant-pill .bpv-pill-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bpv-text);
}

.bpv-widget .bpv-variant-pill .bpv-pill-price {
    font-size: 11px;
    font-weight: 500;
    color: var(--bpv-text-light);
}

.bpv-widget .bpv-variant-pill:hover {
    background: var(--bpv-blue-pale);
    border-color: var(--bpv-blue-border);
}

.bpv-widget .bpv-variant-pill.bpv-active {
    background: var(--bpv-blue-pale);
    border-color: var(--bpv-blue);
    border-width: 2px;
}

.bpv-widget .bpv-variant-pill.bpv-active .bpv-pill-label {
    color: var(--bpv-blue-mid);
}

.bpv-widget .bpv-variant-pill.bpv-active .bpv-pill-price {
    color: var(--bpv-blue);
}

.bpv-widget .bpv-variant-pill.bpv-out-of-stock {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.bpv-widget .bpv-variant-pill.bpv-out-of-stock:hover {
    background: var(--bpv-white);
    border-color: var(--bpv-border);
}

/* ==========================================================================
   BLOCK 4 — BUNDLE / PACK CARDS
   ========================================================================== */
.bpv-widget .bpv-bundle-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bpv-widget .bpv-bundle-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bpv-white);
    border: 1.5px solid var(--bpv-border);
    border-radius: var(--bpv-radius-lg);
    cursor: pointer;
    transition:
        background 0.18s var(--bpv-ease),
        border-color 0.18s var(--bpv-ease),
        box-shadow 0.18s var(--bpv-ease);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bpv-widget .bpv-bundle-card:hover {
    background: var(--bpv-blue-pale);
    border-color: var(--bpv-blue-border);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.07);
}

.bpv-widget .bpv-bundle-card.bpv-active {
    background: var(--bpv-blue-pale);
    border-color: var(--bpv-blue);
    border-width: 2px;
    box-shadow: 0 0 0 1px var(--bpv-blue), 0 4px 14px rgba(37, 99, 235, 0.10);
}

/* Radio dot */
.bpv-widget .bpv-bundle-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--bpv-border);
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.18s var(--bpv-ease);
}

.bpv-widget .bpv-bundle-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bpv-blue);
    transition: transform 0.22s var(--bpv-spring);
}

.bpv-widget .bpv-bundle-card.bpv-active .bpv-bundle-radio {
    border-color: var(--bpv-blue);
}

.bpv-widget .bpv-bundle-card.bpv-active .bpv-bundle-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Card thumbnail */
.bpv-widget .bpv-bundle-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid var(--bpv-border-light);
    background: var(--bpv-white);
    padding: 3px;
    transition: transform 0.18s var(--bpv-ease);
}

.bpv-widget .bpv-bundle-card:hover .bpv-bundle-thumb {
    transform: scale(1.05);
}

/* Card content */
.bpv-widget .bpv-bundle-content {
    flex: 1;
    min-width: 0;
}

.bpv-widget .bpv-bundle-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bpv-widget .bpv-bundle-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--bpv-text);
}

.bpv-widget .bpv-bundle-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--bpv-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    margin-left: auto;
    transition: color 0.15s var(--bpv-ease);
}

.bpv-widget .bpv-bundle-sublabel {
    font-size: 11px;
    color: var(--bpv-text-light);
    margin-top: 3px;
}

.bpv-widget .bpv-bundle-sublabel.bpv-discount-text {
    color: var(--bpv-blue-mid);
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   Derived pack stock — "Only N left" / "Sold out"
   --------------------------------------------------------------------- */

.bpv-widget .bpv-bundle-stock:empty {
    display: none;
}

.bpv-widget .bpv-bundle-stock {
    margin-top: 5px;
}

.bpv-widget .bpv-stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
    padding: 2px 9px;
    border-radius: 20px;
    line-height: 1.6;
}

.bpv-widget .bpv-stock-chip::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex: none;
}

.bpv-widget .bpv-stock-low {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.bpv-widget .bpv-stock-out {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Sold-out pack card — visible but not selectable */
.bpv-widget .bpv-bundle-card.bpv-bundle-oos {
    opacity: .55;
    cursor: not-allowed;
    background: #f8fafc;
}

.bpv-widget .bpv-bundle-card.bpv-bundle-oos:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--bpv-border, #e2e8f0);
}

.bpv-widget .bpv-bundle-card.bpv-bundle-oos .bpv-bundle-price,
.bpv-widget .bpv-bundle-card.bpv-bundle-oos .bpv-bundle-name {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.bpv-widget .bpv-bundle-card.bpv-bundle-oos .bpv-bundle-radio {
    opacity: .4;
}

.bpv-widget .bpv-bundle-card.bpv-bundle-oos .bpv-bundle-thumb {
    filter: grayscale(1);
}

/* Bundle badge */
.bpv-widget .bpv-bundle-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--bpv-white);
    background: var(--bpv-blue);
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}

/* ==========================================================================
   BLOCK 5 — SHIPPING INFO CHIPS
   ========================================================================== */
.bpv-widget .bpv-shipping-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.bpv-widget .bpv-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--bpv-radius-pill);
    border: 1px solid var(--bpv-border);
    background: var(--bpv-surface);
    color: var(--bpv-text-mid);
    line-height: 1;
    white-space: nowrap;
    transition: all 0.15s var(--bpv-ease);
}

.bpv-widget .bpv-info-chip:hover {
    border-color: var(--bpv-blue-border);
    background: var(--bpv-blue-pale);
    color: var(--bpv-blue-text);
    transform: translateY(-1px);
}

.bpv-widget .bpv-info-chip svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--bpv-blue);
}

.bpv-widget .bpv-countdown {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: var(--bpv-blue);
}

/* ==========================================================================
   BLOCK 6 — CART ROW: [View CoA] [− qty +] [ADD TO CART]
   ========================================================================== */
.bpv-widget .bpv-cart-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* CoA button */
.bpv-widget .bpv-coa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bpv-coa-color);
    background: var(--bpv-coa-bg);
    border: 1.5px solid var(--bpv-coa-border);
    border-radius: var(--bpv-coa-radius);
    cursor: pointer;
    transition: all 0.18s var(--bpv-ease);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    min-height: 50px;
    letter-spacing: 0.2px;
    font-family: var(--bpv-font);
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.bpv-widget .bpv-coa-btn:hover {
    background: var(--bpv-surface);
    border-color: var(--bpv-text-mid);
    color: var(--bpv-text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.bpv-widget .bpv-coa-btn:active {
    transform: scale(0.98);
}

.bpv-widget .bpv-coa-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Quantity stepper */
.bpv-widget .bpv-qty-wrapper {
    display: inline-flex;
    align-items: center;
    background: var(--bpv-white);
    border: 1.5px solid var(--bpv-border);
    border-radius: var(--bpv-radius);
    padding: 3px;
    flex-shrink: 0;
    transition: border-color 0.2s var(--bpv-ease), box-shadow 0.2s var(--bpv-ease);
}

.bpv-widget .bpv-qty-wrapper:focus-within {
    border-color: var(--bpv-blue-border);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.bpv-widget .bpv-qty-minus,
.bpv-widget .bpv-qty-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 18px;
    font-weight: 400;
    color: var(--bpv-text-mid);
    background: transparent;
    border: none;
    border-radius: calc(var(--bpv-radius) - 2px);
    cursor: pointer;
    transition: all 0.15s var(--bpv-ease);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    line-height: 1;
    font-family: var(--bpv-font);
}

.bpv-widget .bpv-qty-minus:hover,
.bpv-widget .bpv-qty-plus:hover {
    background: var(--bpv-blue-light);
    color: var(--bpv-blue);
}

.bpv-widget .bpv-qty-minus:active,
.bpv-widget .bpv-qty-plus:active {
    transform: scale(0.88);
}

.bpv-widget .bpv-qty-input {
    width: 40px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--bpv-text);
    background: transparent;
    border: none;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    font-family: var(--bpv-font);
}

.bpv-widget .bpv-qty-input::-webkit-inner-spin-button,
.bpv-widget .bpv-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart button */
.bpv-widget .bpv-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 0 32px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bpv-btn-color);
    background: var(--bpv-btn-bg);
    border: 2px solid transparent;
    border-radius: var(--bpv-btn-radius);
    cursor: pointer;
    transition:
        background 0.18s var(--bpv-ease),
        box-shadow 0.18s var(--bpv-ease),
        transform 0.12s var(--bpv-ease);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    min-height: 50px;
    letter-spacing: 0.6px;
    font-family: var(--bpv-font);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.bpv-widget .bpv-add-to-cart-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0.12) 55%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s var(--bpv-ease);
    pointer-events: none;
}

.bpv-widget .bpv-add-to-cart-btn:hover {
    background: var(--bpv-btn-bg-hover);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.30);
    transform: translateY(-1px);
}

.bpv-widget .bpv-add-to-cart-btn:hover::after {
    transform: translateX(100%);
}

.bpv-widget .bpv-add-to-cart-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

.bpv-widget .bpv-add-to-cart-btn.bpv-loading {
    opacity: 0.72;
    cursor: wait;
    pointer-events: none;
}

@keyframes bpv-check-pop {
    0%   { transform: scale(0.85); opacity: 0.7; }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1);    opacity: 1; }
}

.bpv-widget .bpv-add-to-cart-btn.bpv-added {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    animation: bpv-check-pop 0.35s var(--bpv-spring);
}

.bpv-widget .bpv-add-to-cart-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    pointer-events: none;
}

/* ==========================================================================
   BLOCK 7 — TRUST BADGE GRID (2×2)
   ========================================================================== */
.bpv-widget .bpv-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}

.bpv-widget .bpv-trust-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    background: var(--bpv-surface);
    border: 1px solid var(--bpv-border);
    border-radius: var(--bpv-radius);
    font-size: 12px;
    font-weight: 600;
    color: var(--bpv-text-mid);
    transition: all 0.15s var(--bpv-ease);
}

.bpv-widget .bpv-trust-badge:hover {
    background: var(--bpv-blue-pale);
    border-color: var(--bpv-blue-border);
    color: var(--bpv-blue-text);
}

.bpv-widget .bpv-trust-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--bpv-blue);
}

/* ==========================================================================
   ACCESSIBILITY — focus rings
   ========================================================================== */
.bpv-widget .bpv-variant-pill:focus-visible,
.bpv-widget .bpv-bundle-card:focus-visible,
.bpv-widget .bpv-add-to-cart-btn:focus-visible,
.bpv-widget .bpv-coa-btn:focus-visible,
.bpv-widget .bpv-qty-minus:focus-visible,
.bpv-widget .bpv-qty-plus:focus-visible {
    outline: 2px solid var(--bpv-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bpv-widget *,
    .bpv-widget *::before,
    .bpv-widget *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   RESPONSIVE — Tablet
   ========================================================================== */
@media (max-width: 768px) {
    .bpv-widget .bpv-price-current {
        font-size: 32px;
    }

    .bpv-widget .bpv-variant-pill {
        font-size: 13px;
        padding: 9px 16px;
    }

    .bpv-widget .bpv-bundle-card {
        padding: 14px 15px;
    }

    .bpv-widget .bpv-info-chip {
        font-size: 11px;
        padding: 7px 12px;
    }
}

/* ==========================================================================
   RESPONSIVE — Mobile
   ========================================================================== */
@media (max-width: 480px) {
    .bpv-widget .bpv-price-current {
        font-size: 28px;
    }

    .bpv-widget .bpv-section {
        margin-bottom: 20px;
    }

    .bpv-widget .bpv-variants-grid {
        gap: 6px;
    }

    .bpv-widget .bpv-variant-pill {
        flex: 1;
        min-width: 0;
        padding: 9px 8px;
        font-size: 13px;
    }

    .bpv-widget .bpv-bundle-list {
        gap: 8px;
    }

    .bpv-widget .bpv-bundle-card {
        padding: 12px 13px;
        gap: 10px;
    }

    .bpv-widget .bpv-bundle-radio {
        width: 18px;
        height: 18px;
    }

    .bpv-widget .bpv-bundle-name,
    .bpv-widget .bpv-bundle-price {
        font-size: 13px;
    }

    .bpv-widget .bpv-bundle-badge {
        font-size: 8px;
        padding: 2px 7px;
    }

    .bpv-widget .bpv-bundle-thumb {
        width: 36px;
        height: 36px;
    }

    .bpv-widget .bpv-shipping-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .bpv-widget .bpv-info-chip {
        width: 100%;
    }

    /* Cart section: Add to Cart full-width top, CoA + qty 50/50 below */
    .bpv-widget .bpv-cart-section {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .bpv-widget .bpv-add-to-cart-btn {
        flex: 0 0 100%;
        width: 100%;
        order: -1;
    }

    .bpv-widget .bpv-coa-btn {
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        padding: 0 8px;
        font-size: 13px;
        justify-content: center;
        box-sizing: border-box;
    }

    .bpv-widget .bpv-qty-wrapper {
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        justify-content: center;
        box-sizing: border-box;
    }

    .bpv-widget .bpv-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
    .bpv-widget .bpv-add-to-cart-btn,
    .bpv-widget .bpv-qty-wrapper,
    .bpv-widget .bpv-coa-btn {
        display: none !important;
    }
}
