.bos-qv-root,
.bos-qv-root * {
    box-sizing: border-box;
}

.bos-qv-root *:focus:not(:focus-visible),
button.bos-qv-trigger:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

.bos-qv-root *:focus-visible,
button.bos-qv-trigger:focus-visible {
    outline: 2px solid var(--bos-accent, #111827);
    outline-offset: 2px;
    box-shadow: none !important;
}

.bos-qv-trigger {
    --_accent: var(--bos-accent, #111111);
    --_bg: var(--bos-trigger-bg, var(--_accent));
    --_border: var(--bos-trigger-border, transparent);
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: var(--bos-trigger-z-index, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--bos-trigger-height, var(--bos-trigger-height-desktop, 42px));
    padding: 0 var(--bos-trigger-padding-x, var(--bos-trigger-padding-x-desktop, 18px));
    border-radius: var(--bos-trigger-radius, 999px);
    border: var(--bos-trigger-border-width, 1px) solid var(--_border);
    background: var(--_bg);
    color: var(--bos-trigger-text, #ffffff);
    cursor: pointer;
    font: inherit;
    font-size: var(--bos-trigger-font-size, var(--bos-trigger-font-size-desktop, 14px));
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
    box-shadow: var(--bos-trigger-shadow, 0 12px 28px rgba(17,17,17,.14));
}

button.bos-qv-trigger:hover,
button.bos-qv-trigger:focus,
button.bos-qv-trigger:active {
    outline: none;
    background: var(--bos-trigger-hover-bg, var(--_bg));
    color: var(--bos-trigger-hover-text, var(--bos-trigger-text, #ffffff));
    border-color: var(--bos-trigger-hover-border, var(--_border));
    box-shadow: var(--bos-trigger-shadow, 0 12px 28px rgba(17,17,17,.14));
    transform: translateY(-1px);
}

.bos-qv-trigger--outline {
    background: transparent;
    border-color: var(--_border);
    color: var(--bos-trigger-text, var(--_bg));
    box-shadow: none;
}

.bos-qv-trigger--ghost,
.bos-qv-trigger--text {
    background: rgba(17,17,17,.06);
    border-color: transparent;
    color: var(--bos-trigger-text, var(--_bg));
    box-shadow: none;
}

.bos-qv-trigger--icon {
    width: 42px;
    padding: 0;
}

.bos-qv-trigger--icon .bos-qv-trigger-label {
    display: none;
}

.bos-qv-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
}

.bos-qv-trigger-icon svg {
    display: block;
}

.bos-qv-trigger--sm {
    --bos-trigger-height-desktop: 36px;
    --bos-trigger-height-mobile: 34px;
    --bos-trigger-padding-x-desktop: 14px;
    --bos-trigger-padding-x-mobile: 12px;
    --bos-trigger-font-size-desktop: 12px;
    --bos-trigger-font-size-mobile: 12px;
}

.bos-qv-trigger--lg {
    --bos-trigger-height-desktop: 48px;
    --bos-trigger-height-mobile: 44px;
    --bos-trigger-padding-x-desktop: 22px;
    --bos-trigger-padding-x-mobile: 18px;
    --bos-trigger-font-size-desktop: 15px;
    --bos-trigger-font-size-mobile: 14px;
}
.bos-qv-trigger--full { width: 100%; }
.bos-qv-trigger-align-start { margin-inline-start: auto; }
.bos-qv-trigger-align-center { display: flex; margin-inline: auto; }
.bos-qv-trigger-align-end { display: flex; margin-inline-end: auto; }
.bos-qv-trigger-align-stretch { display: flex; }

@keyframes bosQvLift {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.965);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bosQvFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bosQvOverlayIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(6px);
    }
}

.bos-qv-root .bos-qv-overlay {
    position: fixed;
    inset: 0;
    z-index: 200100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(var(--bos-qv-overlay-rgb, 17,17,17), var(--bos-qv-overlay-opacity, .56));
    backdrop-filter: blur(6px);
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    animation: bosQvOverlayIn .22s ease both;
}

body.bos-qv-lock {
    position: fixed;
    inset: 0;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

.bos-qv-dialog-wrap {
    width: min(var(--bos-qv-width-desktop, 1080px), calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    min-height: min(680px, calc(100vh - 40px));
    overflow: hidden;
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    border-radius: var(--bos-qv-radius, 26px);
    box-shadow: var(--bos-qv-shadow, 0 32px 90px rgba(17,17,17,.22));
    display: flex;
    isolation: isolate;
}

.bos-qv-surface {
    --bos-qv-button-font-size: 14px;
    --bos-qv-button-font-weight: 700;
    --bos-qv-qty-font-size: 15px;
    --bos-qv-qty-font-weight: 700;
    font-family: var(--bos-qv-font, inherit);
    color: var(--bos-qv-text, #111);
    background: var(--bos-qv-surface, #fff);
    border-radius: var(--bos-qv-radius, 26px);
    overflow: hidden;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    will-change: transform, opacity;
}

.bos-qv-surface,
.bos-qv-surface button,
.bos-qv-surface input,
.bos-qv-surface select,
.bos-qv-surface textarea,
.bos-qv-surface .bos-volume-bundles-widget,
.bos-qv-surface .bos-volume-bundles-widget * {
    font-family: var(--bos-qv-font, inherit);
    letter-spacing: 0;
}

.bos-qv-surface button,
.bos-qv-surface input,
.bos-qv-surface select,
.bos-qv-surface textarea {
    line-height: 1.2;
}

.bos-qv-surface.bos-qv-anim-lift {
    animation: bosQvLift .32s cubic-bezier(.18, .84, .24, 1) both;
}

.bos-qv-surface.bos-qv-anim-fade {
    animation: bosQvFade .24s ease both;
}

.bos-qv-surface.bos-qv-anim-none {
    animation: none;
}

.bos-qv-device-desktop {
    width: min(100%, var(--bos-qv-width-desktop, 1080px));
}

.bos-qv-device-tablet {
    width: min(100%, var(--bos-qv-width-tablet, 860px));
}

.bos-qv-device-mobile {
    width: min(100%, 420px);
}

.bos-qv-main-grid {
    display: grid;
    grid-template-columns: minmax(0, var(--bos-qv-media-width-desktop, 52%)) minmax(0, calc(100% - var(--bos-qv-media-width-desktop, 52%)));
    min-height: 680px;
    height: 100%;
    background: var(--bos-qv-bg, #f7f7f8);
    min-width: 0;
}

.bos-qv-layout-stacked .bos-qv-main-grid {
    grid-template-columns: 1fr;
}

.bos-qv-device-tablet .bos-qv-main-grid {
    grid-template-columns: minmax(0, var(--bos-qv-media-width-tablet, 50%)) minmax(0, calc(100% - var(--bos-qv-media-width-tablet, 50%)));
    min-height: auto;
}

.bos-qv-device-mobile .bos-qv-main-grid {
    grid-template-columns: 1fr;
    min-height: auto;
}

.bos-qv-gallery {
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.15));
    padding: var(--bos-qv-padding, 28px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    min-height: 0;
}

.bos-qv-gallery-main {
    position: relative;
    border-radius: calc(var(--bos-qv-radius, 26px) - 8px);
    overflow: hidden;
    background: #fff;
    aspect-ratio: var(--bos-qv-image-ratio, 4/5);
    height: var(--bos-qv-image-height-desktop, auto);
}

.bos-qv-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: var(--bos-qv-image-fit-desktop, contain);
    display: block;
}

.bos-qv-thumb img,
.bos-qva-search-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bos-qv-sale-badge {
    position: absolute;
    inset-inline-end: 16px;
    top: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--bos-qv-accent, #111);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.bos-qv-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.bos-qv-thumb {
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 16px;
    padding: 0;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.bos-qv-thumb.is-active {
    border-color: var(--bos-qv-accent, #111);
    box-shadow: 0 0 0 2px rgba(17,17,17,.06);
}

.bos-qv-content {
    display: flex;
    flex-direction: column;
    gap: var(--bos-qv-gap, 24px);
    padding: var(--bos-qv-padding, 28px);
    background: var(--bos-qv-surface, #fff);
    min-width: 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.bos-qv-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.bos-qv-title {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: var(--bos-qv-title-weight, 700);
    line-height: 1.12;
    color: var(--bos-qv-text, #111);
}

.bos-qv-close {
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    width: var(--bos-qv-close-size, 42px);
    height: var(--bos-qv-close-size, 42px);
    min-width: var(--bos-qv-close-size, 42px);
    min-height: var(--bos-qv-close-size, 42px);
    border-radius: var(--bos-qv-close-radius, var(--bos-qv-button-radius, 14px));
    border: 1px solid var(--bos-qv-close-border, var(--bos-qv-close-bg, var(--bos-qv-accent, #111)));
    background: var(--bos-qv-close-bg, var(--bos-qv-accent, #111));
    color: var(--bos-qv-close-color, #fff);
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform .16s ease, opacity .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.bos-qv-root .bos-qv-close:hover,
.bos-qv-root .bos-qv-close:focus,
.bos-qv-root .bos-qv-close:active {
    outline: none;
    background: var(--bos-qv-close-hover-bg, var(--bos-qv-close-bg, var(--bos-qv-accent, #111)));
    color: var(--bos-qv-close-hover-color, var(--bos-qv-close-color, #fff));
    border-color: var(--bos-qv-close-hover-border, var(--bos-qv-close-border, var(--bos-qv-close-bg, var(--bos-qv-accent, #111))));
    box-shadow: none;
    transform: translateY(-1px);
    opacity: .96;
}

.bos-qv-close svg {
    display: block;
}

.bos-qv-rating,
.bos-qv-price,
.bos-qv-description,
.bos-qv-trust,
.bos-qv-status,
.bos-qv-success {
    font-size: 12px;
    line-height: 1.6;
}

.bos-qv-rating {
    display: inline-flex;
    gap: 6px;
    color: var(--bos-qv-muted, #6b7280);
}

.bos-qv-price {
    font-size: 20px;
    font-weight: var(--bos-qv-price-weight, 700);
    color: var(--bos-qv-text, #111);
    letter-spacing: 0;
}

.bos-qv-price ins {
    text-decoration: none;
}

.bos-qv-price del {
    opacity: .55;
    margin-inline-start: 10px;
}

.bos-qv-description {
    color: var(--bos-qv-muted, #6b7280);
}

.bos-qv-description p {
    margin: 0;
}

.bos-qv-bundle-widget {
    margin: 10px 0 4px;
}

.bos-qv-bundle-widget .bos-volume-bundles-widget {
    --bos-vb-font: var(--bos-qv-font, inherit);
    margin: 0;
    color: var(--bos-qv-text, #111);
}

.bos-qv-bundle-widget .bos-vb-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--bos-qv-text, #111);
    opacity: 1;
}

.bos-qv-bundle-widget .bos-vb-description,
.bos-qv-bundle-widget .bos-vb-tier-sub,
.bos-qv-bundle-widget .bos-vb-unit-price-label {
    color: var(--bos-qv-muted, #6b7280);
}

.bos-qv-bundle-widget .bos-vb-tier-name,
.bos-qv-bundle-widget .bos-vb-tier-total-price,
.bos-qv-bundle-widget .bos-vb-unit-price-subvalue,
.bos-qv-bundle-widget .bos-vb-total-value {
    color: var(--bos-qv-text, #111);
}

.bos-qv-variation-list {
    display: grid;
    gap: 10px;
}

.bos-qv-variation-group {
    display: grid;
    gap: 6px;
}

.bos-qv-select-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bos-qv-muted, #6b7280);
}

.bos-qv-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

button.bos-qv-swatch,
button.bos-qv-swatch-clear {
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
    border: 1px solid rgba(17,17,17,.10);
    background: #fff;
    border-radius: 12px;
    padding: 7px 9px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font: inherit;
    color: var(--bos-qv-text, #111);
    transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, opacity .16s ease;
}

.bos-qv-root button.bos-qv-swatch:hover,
.bos-qv-root button.bos-qv-swatch:focus,
.bos-qv-root button.bos-qv-swatch:active,
.bos-qv-root button.bos-qv-swatch-clear:hover,
.bos-qv-root button.bos-qv-swatch-clear:focus,
.bos-qv-root button.bos-qv-swatch-clear:active {
    outline: none;
    background: #fff;
    background-image: none;
    color: var(--bos-qv-text, #111);
    transform: translateY(-1px);
    border-color: rgba(17,17,17,.22);
    box-shadow: none;
}

.bos-qv-root button.bos-qv-swatch.is-selected,
.bos-qv-root button.bos-qv-swatch.is-selected:hover,
.bos-qv-root button.bos-qv-swatch.is-selected:focus,
.bos-qv-root button.bos-qv-swatch.is-selected:active {
    border-color: rgba(17,17,17,.26);
    background: #fff;
    background-image: none;
    color: var(--bos-qv-text, #111);
    box-shadow: none;
}

.bos-qv-swatch.is-disabled {
    opacity: .38;
    cursor: not-allowed;
}

.bos-qv-swatch.has-image {
    flex-direction: column;
    align-items: stretch;
    min-width: 68px;
    padding: 5px;
}

.bos-qv-swatch.has-text {
    padding-inline: 10px;
}

.bos-qv-swatch-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}

.bos-qv-swatch-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bos-qv-swatch-label {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--bos-qv-text, #111);
}

.bos-qv-swatch-status {
    font-size: 10px;
    color: #b91c1c;
    line-height: 1.3;
}

button.bos-qv-swatch-clear {
    min-height: 28px;
    padding: 0 7px;
    border-radius: 999px;
    background: transparent;
    border-style: dashed;
    color: var(--bos-qv-muted, #6b7280);
    font-size: 9px;
    font-weight: 600;
}

.bos-qv-attribute-block {
    display: grid;
    gap: 8px;
}

.bos-qv-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(17,17,17,.08);
    color: var(--bos-qv-muted, #6b7280);
    font-size: 10px;
}

.bos-qv-meta-row strong {
    color: var(--bos-qv-text, #111);
    text-align: start;
    font-size: 12px;
}

.bos-qv-meta-html {
    color: var(--bos-qv-text, #111);
    text-align: start;
    font-size: 11px;
    line-height: 1.4;
}

.bos-qv-meta-html p {
    margin: 0;
}

.bos-qv-meta-html .stock {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-weight: 600;
}

.bos-qv-meta-html .in-stock {
    color: #166534;
}

.bos-qv-meta-html .available-on-backorder,
.bos-qv-meta-html .out-of-stock.onbackorder {
    color: #c2410c;
}

.bos-qv-meta-html .out-of-stock {
    color: #b91c1c;
}

.bos-qv-trust,
.bos-qv-status,
.bos-qv-success {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(17,17,17,.04);
}

.bos-qv-success {
    background: rgba(16,185,129,.09);
    color: #065f46;
}

.bos-qv-success strong {
    font-size: 13px;
    line-height: 1.4;
}

.bos-qv-success p {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.5;
}

.bos-qv-success-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
}

.bos-qv-success-actions .bos-qv-btn {
    min-height: 36px;
    min-width: 112px;
    padding: 0 12px;
    border-radius: var(--bos-qv-button-radius, 14px);
    font-size: 11px;
    font-weight: var(--bos-qv-button-font-weight, 700);
    letter-spacing: 0;
    flex: 0 0 auto;
}

.bos-qv-success-actions .bos-qv-btn-primary {
    background: var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111));
    color: var(--bos-qv-primary-btn-text, #fff);
    border-color: var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111));
}

.bos-qv-root .bos-qv-success-actions .bos-qv-btn-primary:hover,
.bos-qv-root .bos-qv-success-actions .bos-qv-btn-primary:focus,
.bos-qv-root .bos-qv-success-actions .bos-qv-btn-primary:active {
    background: var(--bos-qv-primary-btn-hover-bg, var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111)));
    color: var(--bos-qv-primary-btn-hover-text, var(--bos-qv-primary-btn-text, #fff));
    border-color: var(--bos-qv-primary-btn-hover-bg, var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111)));
}

.bos-qv-success-actions .bos-qv-btn-secondary {
    background: #fff;
    color: #111827;
    border-color: rgba(17,24,39,.14);
}

.bos-qv-root .bos-qv-success-actions .bos-qv-btn-secondary:hover,
.bos-qv-root .bos-qv-success-actions .bos-qv-btn-secondary:focus,
.bos-qv-root .bos-qv-success-actions .bos-qv-btn-secondary:active {
    background: #f8fafc;
    color: #111827;
    border-color: rgba(17,24,39,.18);
}

.bos-qv-bottom {
    display: grid;
    gap: 16px;
    margin-top: auto;
}

.bos-qv-device-mobile .bos-qv-gallery,
.bos-qv-device-mobile .bos-qv-content {
    padding: 18px;
}

.bos-qv-device-mobile .bos-qv-variation-list {
    grid-template-columns: 1fr;
}

.bos-qv-device-mobile .bos-qv-footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bos-qv-device-mobile .bos-qv-content {
    gap: 14px;
}

.bos-qv-device-mobile .bos-qv-bottom {
    margin-top: auto;
    gap: 10px;
}

.bos-qv-device-mobile .bos-qv-bottom .bos-qv-footer-actions {
    grid-template-columns: 1fr;
}

.bos-qv-device-mobile .bos-qv-success-actions {
    display: grid;
    grid-template-columns: 1fr;
}

.bos-qv-device-mobile .bos-qv-success-actions .bos-qv-btn {
    width: 100%;
}

.bos-qv-device-mobile.bos-qv-mobile-content-first .bos-qv-gallery {
    order: 2;
}

.bos-qv-device-mobile.bos-qv-mobile-content-first .bos-qv-content {
    order: 1;
}

.bos-qv-device-mobile.bos-qv-layout-sheet {
    border-radius: 24px;
    max-height: var(--bos-qv-mobile-height, 88vh);
    overflow: hidden;
}

.bos-qv-device-mobile .bos-qv-mobile-footer {
    padding: 10px 18px calc(14px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,.4), #fff 20%);
    border-top: 1px solid rgba(17,17,17,.06);
    box-shadow: 0 -8px 20px rgba(15, 23, 42, .08);
    flex: 0 0 auto;
}

.bos-qv-device-mobile .bos-qv-mobile-footer .bos-qv-footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bos-qv-device-mobile .bos-qv-mobile-footer .bos-qv-footer-actions > :only-child {
    grid-column: 1 / -1;
}

.bos-qv-device-mobile .bos-qv-mobile-footer .bos-qv-btn {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
}

.bos-qv-device-mobile .bos-qv-footer-actions > :only-child {
    grid-column: 1 / -1;
}

.bos-qv-device-mobile .bos-qv-qty {
    grid-template-columns: 38px 62px 38px;
    gap: 6px;
}

.bos-qv-device-mobile .bos-qv-qty button,
.bos-qv-device-mobile .bos-qv-qty input {
    min-height: 38px;
    font-size: 13px;
}

.bos-qv-qty {
    display: inline-grid;
    grid-template-columns: 42px 70px 42px;
    align-items: center;
    gap: 8px;
}

.bos-qv-qty button,
.bos-qv-qty input {
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 42px;
    border-radius: var(--bos-qv-button-radius, 14px);
    border: 1px solid var(--bos-qv-qty-border, var(--bos-qv-accent, #111));
    background: var(--bos-qv-qty-bg, #fff);
    color: var(--bos-qv-qty-text, var(--bos-qv-accent, #111));
    font: inherit;
    font-size: var(--bos-qv-qty-font-size, 15px);
    font-weight: var(--bos-qv-qty-font-weight, 700);
    text-align: center;
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.bos-qv-root .bos-qv-qty button:hover,
.bos-qv-root .bos-qv-qty button:focus,
.bos-qv-root .bos-qv-qty button:focus-visible,
.bos-qv-root .bos-qv-qty button:active {
    background: var(--bos-qv-qty-bg, #fff);
    color: var(--bos-qv-qty-text, var(--bos-qv-accent, #111));
    border-color: var(--bos-qv-qty-border, var(--bos-qv-accent, #111));
    font-weight: var(--bos-qv-qty-font-weight, 700);
    transform: none;
    outline: none;
    box-shadow: none;
}

.bos-qv-qty input {
    color: var(--bos-qv-text, #111);
}

.bos-qv-qty input:focus,
.bos-qv-qty button:focus,
.bos-qv-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17,17,17,.08);
}

.bos-qv-root .bos-qv-qty input:focus,
.bos-qv-root .bos-qv-qty input:focus-visible,
.bos-qv-root .bos-qv-qty button:focus,
.bos-qv-root .bos-qv-qty button:focus-visible,
.bos-qv-root .bos-qv-qty button:active {
    box-shadow: none;
}

.bos-qv-footer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bos-qv-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--bos-qv-button-radius, 14px);
    border: 1px solid transparent;
    text-decoration: none;
    font: inherit;
    font-size: var(--bos-qv-button-font-size, 14px);
    font-weight: var(--bos-qv-button-font-weight, 700);
    line-height: 1.2;
    letter-spacing: 0;
    cursor: pointer;
    padding: 0 18px;
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, opacity .16s ease;
}

.bos-qv-root .bos-qv-btn:hover,
.bos-qv-root .bos-qv-btn:focus,
.bos-qv-root .bos-qv-btn:focus-visible,
.bos-qv-root .bos-qv-btn:active {
    font-weight: var(--bos-qv-button-font-weight, 700);
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.bos-qv-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.bos-qv-btn-primary {
    background: var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111));
    color: var(--bos-qv-primary-btn-text, #fff);
    border-color: var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111));
}

.bos-qv-root .bos-qv-btn-primary:hover,
.bos-qv-root .bos-qv-btn-primary:focus,
.bos-qv-root .bos-qv-btn-primary:active {
    background: var(--bos-qv-primary-btn-hover-bg, var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111)));
    color: var(--bos-qv-primary-btn-hover-text, var(--bos-qv-primary-btn-text, #fff));
    border-color: var(--bos-qv-primary-btn-hover-bg, var(--bos-qv-primary-btn-bg, var(--bos-qv-accent, #111)));
    transform: translateY(-1px);
}

.bos-qv-btn-secondary {
    background: var(--bos-qv-secondary-btn-bg, #fff);
    color: var(--bos-qv-secondary-btn-text, var(--bos-qv-text, #111));
    border-color: var(--bos-qv-secondary-btn-border, rgba(17,17,17,.12));
}

.bos-qv-root .bos-qv-btn-secondary:hover,
.bos-qv-root .bos-qv-btn-secondary:focus,
.bos-qv-root .bos-qv-btn-secondary:active {
    background: var(--bos-qv-secondary-btn-hover-bg, #f8fafc);
    color: var(--bos-qv-secondary-btn-hover-text, var(--bos-qv-secondary-btn-text, var(--bos-qv-text, #111)));
    border-color: var(--bos-qv-secondary-btn-border, rgba(17,17,17,.12));
    transform: translateY(-1px);
}

.bos-qv-loading,
.bos-qv-error {
    padding: 32px;
    background: #fff;
    border-radius: var(--bos-qv-radius, 26px);
}

.bos-qv-loading-shell {
    width: 100%;
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.bos-qv-loading {
    min-height: 100%;
    width: 100%;
    flex: 1 1 auto;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--bos-qv-font, inherit);
    background:
        radial-gradient(circle at top, rgba(255,255,255,.96), rgba(255,255,255,.88) 42%, rgba(248,250,252,.94) 100%);
}

.bos-qv-error {
    width: 100%;
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    flex: 1 1 auto;
}

.bos-qv-loading-spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(17,17,17,.08);
    border-top-color: var(--bos-qv-accent, #111);
    border-inline-start-color: var(--bos-qv-accent, #111);
    animation: bosQvSpin .82s linear infinite;
    margin: 0 auto 16px;
    box-shadow: 0 10px 24px rgba(17,17,17,.08);
}

.bos-qv-loading-copy {
    display: grid;
    gap: 6px;
}

.bos-qv-loading-copy strong {
    font-size: 18px;
    color: var(--bos-qv-text, #111);
    font-family: inherit;
}

.bos-qv-loading-copy span {
    font-size: 13px;
    color: var(--bos-qv-muted, #6b7280);
    font-family: inherit;
}

@keyframes bosQvSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .bos-qv-dialog-wrap {
        width: min(var(--bos-qv-width-tablet, 860px), calc(100vw - 32px));
    }

    .bos-qv-main-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .bos-qv-dialog-wrap {
        min-height: min(620px, calc(100vh - 32px));
    }
}

@media (max-width: 767px) {
    .bos-qv-trigger {
        min-height: var(--bos-trigger-height-mobile, var(--bos-trigger-height-desktop, 42px));
        padding: 0 var(--bos-trigger-padding-x-mobile, var(--bos-trigger-padding-x-desktop, 18px));
        font-size: var(--bos-trigger-font-size-mobile, var(--bos-trigger-font-size-desktop, 14px));
    }

    .bos-qv-root .bos-qv-overlay {
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .bos-qv-dialog-wrap {
        width: min(100%, 420px);
        max-width: calc(100vw - 32px);
        height: min(var(--bos-qv-mobile-height, 88vh), calc(100vh - 32px));
        max-height: min(var(--bos-qv-mobile-height, 88vh), calc(100vh - 32px));
        margin: 0 auto;
        border-radius: 24px;
        overflow: hidden;
        display: flex;
    }

    .bos-qv-device-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        max-height: 100%;
    }

    .bos-qv-device-mobile .bos-qv-main-grid {
        flex: 1 1 auto;
        min-height: 0;
        overflow: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .bos-qv-device-mobile .bos-qv-gallery-main {
        height: var(--bos-qv-image-height-mobile, var(--bos-qv-image-height-desktop, auto));
    }

    .bos-qv-device-mobile .bos-qv-gallery-main img {
        object-fit: var(--bos-qv-image-fit-mobile, var(--bos-qv-image-fit-desktop, contain));
    }

    .bos-qv-gallery,
    .bos-qv-content {
        padding: 16px;
    }

    .bos-qv-variation-list,
    .bos-qv-footer-actions,
    .bos-qv-success-actions {
        grid-template-columns: 1fr;
    }
}
