/**
 * 11 Min Max Quantity Control — Integrated Mix & Match Variation Panel Styles
 * Supports Layout Styles: Cards (Style 1) & Collapsible Accordion (Style 2)
 * Supports Color Themes: Light, Dark Obsidian, Cyber Neon, and 24hvape (Vapester)
 */

.variations_form .variations,
.variations_form select,
.variations_form .reset_variations,
.variations_form .woocommerce-variation-price,
.variations_form .woocommerce-variation-Availability,
.variations_form .woocommerce-variation-add-to-cart .quantity,
html body form.variations_form:has(.wc-qc-variation-panel) .variations,
html body form.variations_form:has(.wc-qc-variation-panel) .sg-swatch-group,
html body #brxe-16e0b6 form.variations_form:has(.wc-qc-variation-panel) .woocommerce-variation-add-to-cart .quantity,
html body.single-product form.variations_form .woocommerce-variation-add-to-cart .quantity,
html body.single-product.drawer-open form.variations_form .woocommerce-variation-add-to-cart .quantity {
    display: none !important;
}

/* === 0. 跨主题防御性隔离重置（防止 Vapester / ThemeREX / WoodMart / Flatsome 等主题污染） === */
.wc-qc-variation-panel,
.wc-qc-variation-panel *,
.wc-qc-variation-panel *::before,
.wc-qc-variation-panel *::after {
    box-sizing: border-box !important;
}
.wc-qc-variation-panel {
    margin: 14px 0 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
}
body .variations_form .wc-qc-variation-panel button,
body .variations_form .wc-qc-variation-panel .swatch-btn {
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    background-image: none !important;
    float: none !important;
    outline: none !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
}
body .variations_form .wc-qc-variation-panel button::before,
body .variations_form .wc-qc-variation-panel button::after {
    display: none !important;
    content: none !important;
}
/* 防止主题将货币符号（€ / $）强制缩小或上标偏移，或覆盖 .woocommerce span.amount 颜色 */
.wc-qc-variation-panel .woocommerce-Price-amount,
.wc-qc-variation-panel .woocommerce-Price-amount bdi,
.wc-qc-variation-panel span.amount {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    background: transparent !important;
}
.wc-qc-variation-panel .woocommerce-Price-currencySymbol,
.wc-qc-top-unit-badge .woocommerce-Price-currencySymbol {
    font-size: inherit !important;
    position: static !important;
    top: auto !important;
    margin: 0 1px 0 0 !important;
    vertical-align: baseline !important;
    color: inherit !important;
    line-height: inherit !important;
}
.wc-qc-variation-panel .custom-swatches-group:last-of-type {
    margin-bottom: 0;
}
.wc-qc-variation-panel .custom-swatches-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.wc-qc-variation-panel .swatch-label {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
    margin: 0;
}
.wc-qc-variation-panel .swatch-label-title {
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 12px;
}
.wc-qc-variation-panel .swatch-label-selected {
    font-weight: 600;
    color: #0f172a;
    font-size: 13px;
}
.wc-qc-variation-panel .swatch-label-selected:not(:empty)::before {
    content: "— ";
    color: #94a3b8;
    font-weight: 400;
}
.wc-qc-variation-panel .swatch-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* === 1. 包装规格卡片（Sample vs Box Tier Cards） === */
.wc-qc-variation-panel .custom-swatches-group.is-pack-group .swatch-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 10px;
    width: 100%;
}
.wc-qc-variation-panel .swatch-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background-color: #ffffff !important;
    color: #1e293b !important;
    text-align: left;
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    cursor: pointer;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}
.wc-qc-top-unit-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #047857;
    font-size: 13px;
    font-weight: 700;
    vertical-align: middle;
    line-height: 1.3;
}
.wc-qc-top-unit-badge .amount {
    color: #047857 !important;
    font-weight: 800 !important;
}
.wc-qc-variation-panel .swatch-btn.swatch-btn-pack {
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border-width: 1.5px !important;
}
.wc-qc-variation-panel .wc-qc-pack-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
}
.wc-qc-variation-panel .wc-qc-pack-card-unit-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    margin: 1px 0;
}
.wc-qc-variation-panel .wc-qc-pack-unit-main {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.wc-qc-variation-panel .wc-qc-pack-unit-main .amount {
    color: inherit !important;
    font-weight: 800 !important;
}
.wc-qc-variation-panel .wc-qc-pack-unit-suffix {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-left: 1px;
}
.wc-qc-variation-panel .wc-qc-pack-unit-del {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}
.wc-qc-variation-panel .wc-qc-pack-unit-del .amount {
    color: #94a3b8 !important;
}
.wc-qc-variation-panel .wc-qc-pack-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    font-size: 11.5px;
    padding-top: 5px;
    border-top: 1px dashed #e2e8f0;
}
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-card-bottom {
    border-top-color: rgba(255, 255, 255, 0.16);
}
.wc-qc-variation-panel .wc-qc-pack-total-meta {
    color: #64748b;
    font-weight: 500;
}
.wc-qc-variation-panel .wc-qc-pack-total-meta .amount {
    color: inherit !important;
    font-weight: 600 !important;
}
.wc-qc-variation-panel .wc-qc-pack-save-amt {
    color: #16a34a;
    font-weight: 700;
}
.wc-qc-variation-panel .wc-qc-pack-save-amt .amount {
    color: inherit !important;
}
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-unit-main,
.wc-qc-variation-panel .swatch-btn.active:hover .wc-qc-pack-unit-main,
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-unit-main .amount,
.wc-qc-variation-panel .swatch-btn.active:hover .wc-qc-pack-unit-main .amount {
    color: #4ade80 !important;
}
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-unit-suffix {
    color: #cbd5e1 !important;
}
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-total-meta {
    color: #cbd5e1 !important;
}
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-save-amt,
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-save-amt .amount {
    color: #86efac !important;
}
.wc-qc-variation-panel .wc-qc-pack-min-tag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
}
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-min-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
}
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-unit-del,
.wc-qc-variation-panel .swatch-btn.active .wc-qc-pack-unit-del .amount {
    color: #94a3b8 !important;
}
.wc-qc-variation-panel .swatch-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.wc-qc-variation-panel .swatch-check {
    display: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.wc-qc-variation-panel .swatch-pack-save {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}
.wc-qc-variation-panel .swatch-btn.active .swatch-pack-save {
    background: #22c55e;
    color: #ffffff;
}
.wc-qc-variation-panel .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):focus {
    outline: none !important;
}
@media (hover: hover) {
    .wc-qc-variation-panel .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover {
        border-color: #2563eb !important;
        background-color: #f8fafc !important;
        color: #0f172a !important;
    }
    .wc-qc-variation-panel .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover .swatch-text,
    .wc-qc-variation-panel .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover .swatch-pack-price,
    .wc-qc-variation-panel .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover .swatch-pack-price .amount {
        color: #0f172a !important;
    }
}
.wc-qc-variation-panel .swatch-btn.active,
.wc-qc-variation-panel .swatch-btn.active:hover,
.wc-qc-variation-panel .swatch-btn.active:focus {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
}
.wc-qc-variation-panel .swatch-btn.active .swatch-text,
.wc-qc-variation-panel .swatch-btn.active:hover .swatch-text,
.wc-qc-variation-panel .swatch-btn.active .swatch-pack-price,
.wc-qc-variation-panel .swatch-btn.active:hover .swatch-pack-price,
.wc-qc-variation-panel .swatch-btn.active .swatch-pack-price .amount,
.wc-qc-variation-panel .swatch-btn.active:hover .swatch-pack-price .amount {
    color: #ffffff !important;
}
.wc-qc-variation-panel .swatch-btn.active .swatch-check {
    display: inline-block;
    color: #38bdf8 !important;
}

/* === 1.B 手风琴折叠样式（Style 2: Collapsible Accordion — Buy Single vs Buy More, Save More） === */
.wc-qc-variation-panel .is-accordion-pack-group {
    gap: 6px;
}
.wc-qc-variation-panel .wc-qc-acc-box {
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.18s ease;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.wc-qc-variation-panel .wc-qc-acc-header {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 15px !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background 0.16s ease, color 0.16s ease;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open > .wc-qc-acc-header,
.wc-qc-variation-panel .wc-qc-acc-header.active {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%) !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel .wc-qc-acc-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wc-qc-variation-panel .wc-qc-acc-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #94a3b8;
    background: #ffffff;
    flex-shrink: 0;
    transition: all 0.16s ease;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open > .wc-qc-acc-header .wc-qc-acc-radio,
.wc-qc-variation-panel .wc-qc-acc-header.active .wc-qc-acc-radio {
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: inset 0 0 0 4px #2563eb;
}
.wc-qc-variation-panel .wc-qc-acc-pack-spec {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open > .wc-qc-acc-header .wc-qc-acc-pack-spec,
.wc-qc-variation-panel .wc-qc-acc-header.active .wc-qc-acc-pack-spec {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
.wc-qc-variation-panel .wc-qc-acc-icon {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1;
}
.wc-qc-variation-panel .wc-qc-acc-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wc-qc-variation-panel .wc-qc-acc-single-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.wc-qc-variation-panel .wc-qc-acc-single-price small {
    font-size: 11.5px;
    font-weight: 600;
    opacity: 0.8;
}
.wc-qc-variation-panel .wc-qc-acc-single-del {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}
.wc-qc-variation-panel .wc-qc-acc-single-del .amount {
    color: inherit !important;
}
.wc-qc-variation-panel .wc-qc-acc-single-min {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 5px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open > .wc-qc-acc-header .wc-qc-acc-single-price,
.wc-qc-variation-panel .wc-qc-acc-box.is-open > .wc-qc-acc-header .wc-qc-acc-single-price .amount,
.wc-qc-variation-panel .wc-qc-acc-header.active .wc-qc-acc-single-price,
.wc-qc-variation-panel .wc-qc-acc-header.active .wc-qc-acc-single-price .amount {
    color: #ffffff !important;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open > .wc-qc-acc-header .wc-qc-acc-single-del,
.wc-qc-variation-panel .wc-qc-acc-header.active .wc-qc-acc-single-del {
    color: rgba(255, 255, 255, 0.75) !important;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open > .wc-qc-acc-header .wc-qc-acc-single-min,
.wc-qc-variation-panel .wc-qc-acc-header.active .wc-qc-acc-single-min {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
.wc-qc-variation-panel .wc-qc-acc-discount-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
}
.wc-qc-variation-panel .wc-qc-acc-chevron {
    font-size: 15px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open .wc-qc-acc-chevron {
    transform: rotate(180deg);
}
.wc-qc-variation-panel .wc-qc-acc-body {
    display: none;
    padding: 12px;
    background: #ffffff;
}
.wc-qc-variation-panel .wc-qc-acc-box.is-open .wc-qc-acc-body {
    display: block;
}
.wc-qc-variation-panel .wc-qc-acc-tier-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 10px;
    width: 100%;
}

/* === 2. 口味混搭面板头部 === */
.wc-qc-variation-panel .wc-qc-mix-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 4px;
}
.wc-qc-variation-panel .wc-qc-mix-title-wrap {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.wc-qc-variation-panel .wc-qc-mix-unit-price {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}
.wc-qc-variation-panel .wc-qc-mix-unit-price:not(:empty)::before {
    content: " · ";
    color: #64748b;
    font-weight: 400;
}
.wc-qc-variation-panel .wc-qc-mix-rule-text.is-ready {
    color: #15803d;
}
.wc-qc-variation-panel .wc-qc-mix-actions-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 6px;
    margin-left: auto;
}
.wc-qc-variation-panel .wc-qc-mix-quick-actions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.wc-qc-variation-panel .wc-qc-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer;
    transition: all 0.15s ease;
    margin: 0 !important;
}
.wc-qc-variation-panel .wc-qc-btn-autofill {
    background: #2563eb !important;
    color: #ffffff !important;
    border: 1px solid #2563eb !important;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.20);
}
.wc-qc-variation-panel .wc-qc-btn-autofill:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}
.wc-qc-variation-panel .wc-qc-btn-random {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}
.wc-qc-variation-panel .wc-qc-btn-random:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
.wc-qc-variation-panel .wc-qc-btn-clear,
body .variations_form .wc-qc-variation-panel .wc-qc-btn-clear {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #64748b !important;
    border: 1px solid transparent !important;
    padding: 4px 8px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.wc-qc-variation-panel .wc-qc-btn-clear:hover,
body .variations_form .wc-qc-variation-panel .wc-qc-btn-clear:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    background-image: none !important;
    color: #dc2626 !important;
    text-decoration: underline;
}
.wc-qc-variation-panel .wc-qc-mix-progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin: 2px 0 8px 0;
}
.wc-qc-variation-panel .wc-qc-mix-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 999px;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}
.wc-qc-variation-panel .wc-qc-mix-progress-fill.is-complete {
    background: linear-gradient(90deg, #10b981, #16a34a);
}
.wc-qc-variation-panel .wc-qc-mix-progress-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.2s ease;
}
.wc-qc-variation-panel .wc-qc-mix-progress-pill.is-complete {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}
.wc-qc-variation-panel .wc-qc-mix-progress-pill.is-shake {
    animation: wcQcShake 0.36s ease;
    border-color: #ef4444;
    color: #dc2626;
    background: #fef2f2;
}
@keyframes wcQcShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* === 3. 双列口味混搭计数器卡片（零外层框嵌套，直接平铺） === */
.wc-qc-variation-panel .wc-qc-flavor-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch;
    background: transparent !important;
    padding: 2px 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
}
/* 长口味名称卡片自动占满整行（每行 1 个），短选项（如 Random Flavors / Mix & Match）保持每行 2 个 */
.wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card,
body .variations_form .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card,
#brxe-fbjsgg .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card {
    grid-column: 1 / -1 !important;
}
.wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card .wc-qc-flavor-name {
    -webkit-line-clamp: 3;
}

/* 移动端底部抽屉内：替代原本冲突的底部数量输入框，在 Add to cart 左侧实时展示已选总数量与小计金额 */
.wc-qc-drawer-live-total {
    display: none;
}
@media (max-width: 767px) {
    body.single-product.drawer-open form.variations_form.is-variation-selected .woocommerce-variation-add-to-cart .wc-qc-drawer-live-total {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 2px !important;
        flex: 0 0 auto !important;
        min-width: 96px !important;
        max-width: 46% !important;
        padding: 4px 10px 4px 2px !important;
        line-height: 1.2 !important;
    }
    .wc-qc-drawer-live-total .wc-qc-dt-qty {
        font-size: 11.5px !important;
        font-weight: 600 !important;
        color: #a1a1aa !important;
        white-space: nowrap !important;
    }
    .wc-qc-drawer-live-total .wc-qc-dt-qty strong {
        color: #f4f4f5 !important;
        font-weight: 700 !important;
    }
    .wc-qc-drawer-live-total .wc-qc-dt-price,
    .wc-qc-drawer-live-total .wc-qc-dt-price .amount,
    .wc-qc-drawer-live-total .wc-qc-dt-price bdi {
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #17ef97 !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }
}
/* 超出 6 行（12 个卡片）默认折叠（已选中的卡片或搜索状态始终保留显示；移动端底部抽屉内直接滚动展示全部） */
.wc-qc-variation-panel .wc-qc-flavor-grid:not(.is-expanded):not(.is-searching) .wc-qc-flavor-card.is-collapsed-item:not(.is-selected) {
    display: none !important;
}
.mobile-drawer-swatches-body .wc-qc-variation-panel .wc-qc-flavor-grid:not(.is-searching) .wc-qc-flavor-card.is-collapsed-item,
#sg-sheet-body .wc-qc-variation-panel .wc-qc-flavor-grid:not(.is-searching) .wc-qc-flavor-card.is-collapsed-item {
    display: flex !important;
}
.mobile-drawer-swatches-body .wc-qc-variation-panel .wc-qc-flavor-toggle-btn,
#sg-sheet-body .wc-qc-variation-panel .wc-qc-flavor-toggle-btn {
    display: none !important;
}
.wc-qc-variation-panel .wc-qc-flavor-grid.is-searching .wc-qc-flavor-card.is-search-hidden {
    display: none !important;
}
.wc-qc-variation-panel .wc-qc-flavor-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0%;
    min-width: 0;
}
.wc-qc-variation-panel .wc-qc-flavor-dot,
.wc-qc-variation-panel .wc-qc-flavor-count-badge,
.wc-qc-variation-panel .wc-qc-flavor-search-wrap {
    display: none;
}
.wc-qc-variation-panel .wc-qc-flavor-toggle-btn,
body .variations_form .wc-qc-variation-panel .wc-qc-flavor-toggle-btn {
    width: 100% !important;
    margin-top: 6px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: 1px dashed #cbd5e1 !important;
    background: #f8fafc !important;
    background-image: none !important;
    color: #475569 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}
.wc-qc-variation-panel .wc-qc-flavor-toggle-btn:hover,
body .variations_form .wc-qc-variation-panel .wc-qc-flavor-toggle-btn:hover {
    background: #f1f5f9 !important;
    background-image: none !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}
.wc-qc-variation-panel .wc-qc-flavor-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}
.wc-qc-variation-panel .wc-qc-flavor-name {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wc-qc-variation-panel .wc-qc-flavor-right {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}
/* 已选数量 >= 1 的口味卡片：高亮蓝框 + 显示 (-) 1 (+) */
.wc-qc-variation-panel .wc-qc-flavor-card.is-selected,
.wc-qc-variation-panel .wc-qc-flavor-card.is-selected:hover {
    border-color: #2563eb !important;
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.10);
}
.wc-qc-variation-panel .wc-qc-flavor-card.is-selected .wc-qc-flavor-name,
.wc-qc-variation-panel .wc-qc-flavor-card.is-selected:hover .wc-qc-flavor-name {
    color: #1d4ed8 !important;
    font-weight: 600 !important;
}
.wc-qc-variation-panel .wc-qc-stepper {
    display: none;
    align-items: center;
    gap: 5px;
}
.wc-qc-variation-panel .wc-qc-flavor-card.is-selected .wc-qc-stepper {
    display: inline-flex;
}
.wc-qc-variation-panel .wc-qc-step-btn {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid #3b82f6 !important;
    background: #ffffff !important;
    color: #1d4ed8 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
.wc-qc-variation-panel .wc-qc-step-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}
.wc-qc-variation-panel .wc-qc-step-qty {
    min-width: 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #1e3a8a;
}

/* 缺货/缺失口味态 */
.wc-qc-variation-panel .swatch-btn.disabled,
.wc-qc-variation-panel .swatch-btn:disabled {
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
    border: 1px dashed #cbd5e1 !important;
    opacity: 0.72 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}
.wc-qc-variation-panel .swatch-soldout-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.wc-qc-variation-panel .wc-qc-batch-feedback {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
}
.wc-qc-variation-panel .wc-qc-batch-feedback.is-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.wc-qc-variation-panel .wc-qc-batch-feedback.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.wc-qc-variation-panel .wc-qc-batch-feedback.is-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.wc-qc-variation-panel .wc-qc-autofill-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transition: all 0.15s ease;
}
.wc-qc-variation-panel .wc-qc-autofill-submit-btn:hover {
    background: #1d4ed8 !important;
}

/* === 2.B 数量阶梯激励条（Shopify 风格等宽阶梯价格卡片条 — 零新增 SKU 的多级批发价激励） === */
.wc-qc-variation-panel .wc-qc-volume-tiers-bar {
    display: grid;
    grid-template-columns: repeat(var(--wc-qc-tier-cols, 4), minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 8px 0;
    width: 100%;
    box-sizing: border-box;
}
.wc-qc-variation-panel .wc-qc-vol-card,
body .variations_form .wc-qc-variation-panel .wc-qc-vol-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 3px !important;
    padding: 8px 6px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #334155 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    cursor: default !important;
    transition: all 0.18s ease !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}
.wc-qc-variation-panel .wc-qc-vol-card:hover,
body .variations_form .wc-qc-variation-panel .wc-qc-vol-card:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}
.wc-qc-variation-panel .wc-qc-vol-card.is-preview,
body .variations_form .wc-qc-variation-panel .wc-qc-vol-card.is-preview {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
}
.wc-qc-variation-panel .wc-qc-vol-card.is-unlocked,
body .variations_form .wc-qc-variation-panel .wc-qc-vol-card.is-unlocked {
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
}
.wc-qc-variation-panel .wc-qc-vol-card.is-active,
body .variations_form .wc-qc-variation-panel .wc-qc-vol-card.is-active {
    border: 1.5px solid #10b981 !important;
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%) !important;
    color: #065f46 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.14) !important;
    transform: translateY(-1px);
}
.wc-qc-variation-panel .wc-qc-vol-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
}
.wc-qc-variation-panel .wc-qc-vol-qty {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.wc-qc-variation-panel .wc-qc-vol-check {
    display: inline-block;
    color: #10b981;
    font-weight: 800;
    margin-right: 2px;
}
.wc-qc-variation-panel .wc-qc-vol-card.is-active .wc-qc-vol-qty {
    color: #047857 !important;
}
.wc-qc-variation-panel .wc-qc-vol-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.wc-qc-variation-panel .wc-qc-vol-price small {
    font-weight: 600;
    color: #64748b;
    font-size: 10.5px;
    margin-left: 1px;
}
.wc-qc-variation-panel .wc-qc-vol-card.is-active .wc-qc-vol-price,
.wc-qc-variation-panel .wc-qc-vol-card.is-active .wc-qc-vol-price .amount {
    color: #047857 !important;
}
.wc-qc-variation-panel .wc-qc-vol-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.wc-qc-variation-panel .wc-qc-vol-save {
    display: inline-block;
    padding: 1.5px 6px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.25;
}
.wc-qc-variation-panel .wc-qc-vol-card.is-active .wc-qc-vol-save {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

/* === 3.B 底部实时合计与累计省钱明细条（Mix Summary Bar） === */
.wc-qc-variation-panel .wc-qc-mix-summary-bar {
    margin-top: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #334155;
    box-sizing: border-box;
}
.wc-qc-variation-panel .wc-qc-summary-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.wc-qc-variation-panel .wc-qc-summary-nudge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px dashed #cbd5e1;
    font-size: 12px;
    color: #b45309;
}
.wc-qc-variation-panel .wc-qc-summary-nudge strong {
    color: #92400e;
    font-weight: 700;
}
.wc-qc-variation-panel .wc-qc-nudge-fill-btn,
body .variations_form .wc-qc-variation-panel .wc-qc-nudge-fill-btn {
    padding: 2px 9px !important;
    border-radius: 999px !important;
    border: 1px solid #f59e0b !important;
    background: #fef3c7 !important;
    background-image: none !important;
    color: #92400e !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
}
.wc-qc-variation-panel .wc-qc-nudge-fill-btn:hover,
body .variations_form .wc-qc-variation-panel .wc-qc-nudge-fill-btn:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel .wc-qc-summary-left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.wc-qc-variation-panel .wc-qc-summary-left strong {
    color: #0f172a;
    font-weight: 700;
}
.wc-qc-variation-panel .wc-qc-summary-save-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
}
.wc-qc-variation-panel .wc-qc-summary-save-pill .amount,
.wc-qc-variation-panel .wc-qc-summary-save-pill .woocommerce-Price-currencySymbol {
    color: inherit !important;
}
.wc-qc-variation-panel .wc-qc-summary-right {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
}
.wc-qc-variation-panel .wc-qc-summary-right .amount {
    color: #2563eb;
    font-weight: 800;
}

/* ==========================================================================
   4. 暗黑系与赛博霓虹配色主题（Dark Obsidian & Cyber Neon Themes — 扁平无外框）
   ========================================================================== */
.wc-qc-variation-panel.is-theme-dark,
.wc-qc-variation-panel.is-theme-neon {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-label,
.wc-qc-variation-panel.is-theme-neon .swatch-label {
    color: #94a3b8 !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-label-title,
.wc-qc-variation-panel.is-theme-dark .swatch-label-selected,
.wc-qc-variation-panel.is-theme-neon .swatch-label-title,
.wc-qc-variation-panel.is-theme-neon .swatch-label-selected {
    color: #f8fafc !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-btn,
.wc-qc-variation-panel.is-theme-neon .swatch-btn {
    background-color: #161e2e !important;
    color: #e2e8f0 !important;
    border-color: #2d3a4f !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wc-qc-variation-panel.is-theme-dark .swatch-btn .swatch-text,
.wc-qc-variation-panel.is-theme-neon .swatch-btn .swatch-text {
    color: inherit !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-unit-main,
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-unit-main .amount,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-unit-main,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-unit-main .amount {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-unit-suffix,
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-total-meta,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-unit-suffix,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-total-meta {
    color: #94a3b8 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-card-bottom,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-card-bottom {
    border-top-color: rgba(148, 163, 184, 0.18) !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-min-tag,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-min-tag {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-pack-save,
.wc-qc-variation-panel.is-theme-neon .swatch-pack-save {
    background: rgba(16, 185, 129, 0.18) !important;
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-save-amt,
.wc-qc-variation-panel.is-theme-dark .wc-qc-pack-save-amt .amount,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-save-amt,
.wc-qc-variation-panel.is-theme-neon .wc-qc-pack-save-amt .amount {
    color: #34d399 !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover {
    background-color: #1e293b !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-neon .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover {
    background-color: #1a2436 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-btn.active,
.wc-qc-variation-panel.is-theme-dark .swatch-btn.active:hover,
.wc-qc-variation-panel.is-theme-dark .swatch-btn.active:focus {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 4px 12px rgba(37, 99, 235, 0.2) !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-neon .swatch-btn.active,
.wc-qc-variation-panel.is-theme-neon .swatch-btn.active:hover,
.wc-qc-variation-panel.is-theme-neon .swatch-btn.active:focus {
    background: linear-gradient(135deg, #06281e 0%, #0f172a 100%) !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.45), 0 4px 12px rgba(16, 185, 129, 0.2) !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-neon .swatch-btn.active .swatch-check {
    color: #34d399 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-acc-box,
.wc-qc-variation-panel.is-theme-neon .wc-qc-acc-box {
    background: #111827 !important;
    border-color: #2d3a4f !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-acc-header,
.wc-qc-variation-panel.is-theme-neon .wc-qc-acc-header {
    background: #161e2e !important;
    color: #f1f5f9 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-acc-box.is-open {
    border-color: #3b82f6 !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-acc-box.is-open {
    border-color: #10b981 !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-acc-box.is-open > .wc-qc-acc-header,
.wc-qc-variation-panel.is-theme-neon .wc-qc-acc-header.active {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-acc-body,
.wc-qc-variation-panel.is-theme-neon .wc-qc-acc-body {
    background: #0f172a !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-mix-title-wrap,
.wc-qc-variation-panel.is-theme-dark .wc-qc-mix-unit-price,
.wc-qc-variation-panel.is-theme-neon .wc-qc-mix-title-wrap,
.wc-qc-variation-panel.is-theme-neon .wc-qc-mix-unit-price {
    color: #f8fafc !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-mix-rule-text.is-ready,
.wc-qc-variation-panel.is-theme-neon .wc-qc-mix-rule-text.is-ready {
    color: #34d399 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-mix-progress-pill,
.wc-qc-variation-panel.is-theme-neon .wc-qc-mix-progress-pill {
    background: #161e2e !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-mix-progress-pill.is-complete,
.wc-qc-variation-panel.is-theme-neon .wc-qc-mix-progress-pill.is-complete {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-btn-clear,
.wc-qc-variation-panel.is-theme-neon .wc-qc-btn-clear {
    color: #94a3b8 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-card,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-card {
    background-color: #161e2e !important;
    border-color: #263248 !important;
    color: #e2e8f0 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-card.is-selected,
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-card.is-selected:hover {
    background-color: rgba(37, 99, 235, 0.18) !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-card.is-selected,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-card.is-selected:hover {
    background-color: rgba(16, 185, 129, 0.16) !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-card.is-selected .wc-qc-flavor-name,
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-card.is-selected:hover .wc-qc-flavor-name {
    color: #93c5fd !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-card.is-selected .wc-qc-flavor-name,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-card.is-selected:hover .wc-qc-flavor-name {
    color: #6ee7b7 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-step-btn {
    background: #1e293b !important;
    border-color: #3b82f6 !important;
    color: #93c5fd !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-step-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-step-btn {
    background: #06281e !important;
    border-color: #10b981 !important;
    color: #6ee7b7 !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-step-btn:hover {
    background: #10b981 !important;
    color: #0f172a !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-step-qty,
.wc-qc-variation-panel.is-theme-neon .wc-qc-step-qty {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-btn.disabled,
.wc-qc-variation-panel.is-theme-neon .swatch-btn.disabled {
    background-color: #0b0f19 !important;
    color: #475569 !important;
    border-color: #1e293b !important;
    opacity: 0.6 !important;
}
.wc-qc-variation-panel.is-theme-dark .swatch-soldout-tag,
.wc-qc-variation-panel.is-theme-neon .swatch-soldout-tag {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #64748b !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-toggle-btn,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-toggle-btn,
body .variations_form .wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-toggle-btn,
body .variations_form .wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-toggle-btn {
    background: #111827 !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-toggle-btn:hover,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-toggle-btn:hover,
body .variations_form .wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-toggle-btn:hover,
body .variations_form .wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-toggle-btn:hover {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-mix-summary-bar,
.wc-qc-variation-panel.is-theme-neon .wc-qc-mix-summary-bar {
    background: #111827 !important;
    border-color: #263248 !important;
    color: #cbd5e1 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-summary-left strong,
.wc-qc-variation-panel.is-theme-neon .wc-qc-summary-left strong,
.wc-qc-variation-panel.is-theme-dark .wc-qc-summary-right,
.wc-qc-variation-panel.is-theme-neon .wc-qc-summary-right {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-summary-save-pill,
.wc-qc-variation-panel.is-theme-neon .wc-qc-summary-save-pill {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-summary-right .amount {
    color: #60a5fa !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-summary-right .amount {
    color: #34d399 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-vol-pill,
.wc-qc-variation-panel.is-theme-neon .wc-qc-vol-pill,
body .variations_form .wc-qc-variation-panel.is-theme-dark .wc-qc-vol-pill,
body .variations_form .wc-qc-variation-panel.is-theme-neon .wc-qc-vol-pill {
    background: #161e2e !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-vol-price,
.wc-qc-variation-panel.is-theme-neon .wc-qc-vol-price {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-vol-pill.is-active,
body .variations_form .wc-qc-variation-panel.is-theme-dark .wc-qc-vol-pill.is-active {
    background: #1e293b !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-neon .wc-qc-vol-pill.is-active,
body .variations_form .wc-qc-variation-panel.is-theme-neon .wc-qc-vol-pill.is-active {
    background: #06281e !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-summary-nudge,
.wc-qc-variation-panel.is-theme-neon .wc-qc-summary-nudge {
    border-top-color: #263248 !important;
    color: #fcd34d !important;
}
.wc-qc-variation-panel.is-theme-dark .wc-qc-summary-nudge strong,
.wc-qc-variation-panel.is-theme-neon .wc-qc-summary-nudge strong {
    color: #fef08a !important;
}

/* ==========================================================================
   5. 24hvape (Vapester 专属风格：贴合原生浅底页面 + #26252b 炭黑选中态 + #d22756 霓虹玫红 + 3px 工业锐角，零嵌套外框)
   ========================================================================== */
.wc-qc-variation-panel.is-theme-vapester {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-label {
    color: #71717a !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-label-title,
.wc-qc-variation-panel.is-theme-vapester .swatch-label-selected {
    color: #26252b !important;
    letter-spacing: 0.04em;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-btn,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.swatch-btn-pack {
    background-color: #ffffff !important;
    color: #26252b !important;
    border: 1.5px solid #d4d4d8 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-btn .swatch-text,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-unit-main,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-unit-main .amount {
    color: inherit !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-unit-suffix,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-total-meta {
    color: #71717a !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-card-bottom {
    border-top-color: #e4e4e7 !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-min-tag {
    background: #f4f4f5 !important;
    color: #3f3f46 !important;
    border-radius: 2px !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-pack-save {
    background: #d22756 !important;
    color: #ffffff !important;
    border-radius: 2px !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-save-amt,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-pack-save-amt .amount {
    color: #d22756 !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover {
    background-color: #fafafa !important;
    border-color: #26252b !important;
    color: #26252b !important;
}
/* 24hvape 选中规格卡片：贴合原生 #26252b 炭黑按钮 + 亮黄 #f2d71f 强调 */
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active:hover,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active:focus {
    background: #26252b !important;
    border-color: #26252b !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .swatch-check,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-unit-main,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-unit-main .amount,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active:hover .wc-qc-pack-unit-main,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active:hover .wc-qc-pack-unit-main .amount,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-save-amt,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-save-amt .amount {
    color: #f2d71f !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-unit-suffix,
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-total-meta {
    color: #d4d4d8 !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-card-bottom {
    border-top-color: #3e3d44 !important;
}
.wc-qc-variation-panel.is-theme-vapester .swatch-btn.active .wc-qc-pack-min-tag {
    background: #393939 !important;
    color: #f4f4f5 !important;
}
/* 24hvape 手风琴抽屉 */
.wc-qc-variation-panel.is-theme-vapester .wc-qc-acc-box {
    background: #ffffff !important;
    border-color: #d4d4d8 !important;
    border-radius: 3px !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-acc-header {
    background: #f4f4f5 !important;
    color: #26252b !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-acc-box.is-open {
    border-color: #26252b !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-acc-box.is-open > .wc-qc-acc-header,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-acc-header.active {
    background: #26252b !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-acc-discount-pill {
    background: #d22756 !important;
    color: #ffffff !important;
    border-radius: 2px !important;
}
/* 24hvape 混搭标题与进度胶囊 */
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-title-wrap,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-rule-text {
    color: #26252b !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-unit-price,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-unit-price .amount,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-unit-price bdi {
    color: #d22756 !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-rule-text.is-ready {
    color: #15803d !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-btn-clear,
body .variations_form .wc-qc-variation-panel.is-theme-vapester .wc-qc-btn-clear {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    color: #71717a !important;
    padding: 2px 6px !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-btn-clear:hover,
body .variations_form .wc-qc-variation-panel.is-theme-vapester .wc-qc-btn-clear:hover {
    background: transparent !important;
    color: #d22756 !important;
    text-decoration: underline !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-progress-pill {
    background: #f4f4f5 !important;
    border-color: #d4d4d8 !important;
    color: #26252b !important;
    border-radius: 3px !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-progress-pill.is-complete {
    background: #26252b !important;
    border-color: #26252b !important;
    color: #f2d71f !important;
}
/* 24hvape 口味卡片：未选干净浅底（固定灰边，防止 Reset 取消后残留 focus 黑边），选中玫红边框 (#d22756) */
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card:not(.is-selected):focus,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card:not(.is-selected):active {
    background-color: #ffffff !important;
    border-color: #e4e4e7 !important;
    color: #26252b !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    outline: none !important;
}
@media (hover: hover) {
    .wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card:not(.is-selected):not(.disabled):hover {
        border-color: #a1a1aa !important;
        background-color: #fafafa !important;
    }
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card.is-selected,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card.is-selected:hover {
    background-color: #fff1f4 !important;
    border-color: #d22756 !important;
    color: #d22756 !important;
    box-shadow: none !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card.is-selected .wc-qc-flavor-name,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-card.is-selected:hover .wc-qc-flavor-name {
    color: #d22756 !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-step-btn {
    background: #ffffff !important;
    border-color: #d22756 !important;
    color: #d22756 !important;
    border-radius: 2px !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-step-btn:hover {
    background: #d22756 !important;
    border-color: #d22756 !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-step-qty {
    color: #26252b !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-toggle-btn,
body .variations_form .wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-toggle-btn {
    background: #fafafa !important;
    border: 1px dashed #d4d4d8 !important;
    border-radius: 3px !important;
    color: #26252b !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-toggle-btn:hover,
body .variations_form .wc-qc-variation-panel.is-theme-vapester .wc-qc-flavor-toggle-btn:hover {
    background: #f4f4f5 !important;
    border-color: #26252b !important;
    color: #d22756 !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-mix-summary-bar {
    background: #26252b !important;
    border: 1px solid #26252b !important;
    border-left: 3px solid #d22756 !important;
    border-radius: 3px !important;
    color: #d4d4d8 !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-left strong,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-right {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-save-pill {
    background: #d22756 !important;
    color: #ffffff !important;
    border-radius: 2px !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-right .amount,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-right bdi {
    color: #f2d71f !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-vol-pill,
body .variations_form .wc-qc-variation-panel.is-theme-vapester .wc-qc-vol-pill {
    background: #ffffff !important;
    border-color: #d4d4d8 !important;
    border-radius: 3px !important;
    color: #26252b !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-vol-pill.is-active,
body .variations_form .wc-qc-variation-panel.is-theme-vapester .wc-qc-vol-pill.is-active {
    background: #26252b !important;
    border-color: #26252b !important;
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-vol-pill.is-active .wc-qc-vol-price,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-vol-pill.is-active .wc-qc-vol-price .amount {
    color: #f2d71f !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-vol-save {
    background: #d22756 !important;
    color: #ffffff !important;
    border-radius: 2px !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-nudge {
    border-top-color: #3e3d44 !important;
    color: #e4e4e7 !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-nudge strong,
.wc-qc-variation-panel.is-theme-vapester .wc-qc-summary-nudge .amount {
    color: #f2d71f !important;
}
.wc-qc-variation-panel.is-theme-vapester .wc-qc-nudge-fill-btn,
body .variations_form .wc-qc-variation-panel.is-theme-vapester .wc-qc-nudge-fill-btn {
    background: #d22756 !important;
    border-color: #d22756 !important;
    color: #ffffff !important;
    border-radius: 2px !important;
}

/* ==========================================================================
   5.B Bangvapes 专属风格与炫彩圆点搜索式（is-style-bangvapes / is-theme-bangvapes）
   ========================================================================== */
.wc-qc-variation-panel.is-style-bangvapes .wc-qc-flavor-count-badge,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}
.wc-qc-variation-panel.is-style-bangvapes .wc-qc-flavor-search-wrap,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-search-wrap {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 4px;
}
.wc-qc-variation-panel .wc-qc-flavor-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #94a3b8;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.wc-qc-variation-panel .wc-qc-flavor-search-icon svg {
    width: 15px !important;
    height: 15px !important;
    stroke: currentColor !important;
    fill: none !important;
}
.wc-qc-variation-panel .wc-qc-flavor-search-input {
    width: 100% !important;
    height: 38px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 0 34px 0 36px !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}
.wc-qc-variation-panel .wc-qc-flavor-search-input:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14) !important;
}
.wc-qc-variation-panel .wc-qc-flavor-search-clear {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(148, 163, 184, 0.2) !important;
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.wc-qc-variation-panel .wc-qc-flavor-search-clear.is-visible {
    display: inline-flex !important;
}
.wc-qc-variation-panel.is-style-bangvapes .wc-qc-flavor-dot,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-dot {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    background: var(--swatch-bg, #17ef97) !important;
    box-shadow: 0 0 6px var(--swatch-color, rgba(23, 239, 151, 0.5)), inset 0 0 0 1px rgba(255, 255, 255, 0.25) !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.wc-qc-variation-panel.is-style-bangvapes .wc-qc-flavor-card:hover:not(.disabled):not(.is-selected) .wc-qc-flavor-dot,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-card:hover:not(.disabled):not(.is-selected) .wc-qc-flavor-dot {
    transform: scale(1.12) !important;
    box-shadow: 0 0 10px var(--swatch-color, #17ef97) !important;
}
.wc-qc-variation-panel.is-style-bangvapes .wc-qc-flavor-card.is-selected .wc-qc-flavor-dot,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-card.is-selected .wc-qc-flavor-dot {
    transform: scale(1.15) !important;
    box-shadow: 0 0 12px 1px var(--swatch-color, #17ef97), 0 0 0 1.5px #ffffff !important;
}
/* 口味卡片选中时使用对应口味的专属荧光边框色 (--swatch-color) */
.wc-qc-variation-panel.is-style-bangvapes .wc-qc-flavor-card.is-selected,
.wc-qc-variation-panel.is-style-bangvapes .wc-qc-flavor-card.is-selected:hover {
    border-color: var(--swatch-color, #10b981) !important;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--swatch-color, #10b981) 20%, transparent), inset 0 0 0 1px var(--swatch-color, #10b981) !important;
}

/* Bangvapes 暗黑翡翠流光配色主题 (is-theme-bangvapes) */
.wc-qc-variation-panel.is-theme-bangvapes {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .swatch-label,
.wc-qc-variation-panel.is-theme-bangvapes .swatch-label-title {
    color: #a1a1aa !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .swatch-label-selected {
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-count-badge {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #d4d4d8 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-search-input,
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-search-input,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-search-input {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f4f4f5 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-search-input::placeholder,
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-search-input::placeholder,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-search-input::placeholder {
    color: #71717a !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-search-input:focus,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-search-input:focus {
    border-color: #17ef97 !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 0 3px rgba(23, 239, 151, 0.14) !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-search-clear,
.wc-qc-variation-panel.is-theme-dark .wc-qc-flavor-search-clear,
.wc-qc-variation-panel.is-theme-neon .wc-qc-flavor-search-clear {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #d4d4d8 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #e4e4e7 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn:not(.active):not(.is-selected):not(.disabled):not(:disabled):hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn.active,
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn.active:hover,
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn.active:focus {
    background: rgba(23, 239, 151, 0.15) !important;
    border-color: #17ef97 !important;
    color: #17ef97 !important;
    box-shadow: 0 4px 14px rgba(23, 239, 151, 0.18), inset 0 0 0 1px #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn.active .swatch-text,
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn.active .swatch-check,
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn.active .wc-qc-pack-unit-main,
.wc-qc-variation-panel.is-theme-bangvapes .swatch-btn.active .wc-qc-pack-unit-main .amount {
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-pack-unit-main,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-pack-unit-main .amount {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-pack-unit-suffix,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-pack-total-meta {
    color: #a1a1aa !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-pack-min-tag {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #d4d4d8 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .swatch-pack-save {
    background: rgba(23, 239, 151, 0.18) !important;
    border: 1px solid rgba(23, 239, 151, 0.4) !important;
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-acc-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-acc-header {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #f4f4f5 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-acc-box.is-open {
    border-color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-acc-box.is-open > .wc-qc-acc-header,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-acc-header.active {
    background: linear-gradient(90deg, rgba(23, 239, 151, 0.22) 0%, rgba(16, 212, 130, 0.14) 100%) !important;
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-mix-title-wrap,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-mix-unit-price {
    color: #f4f4f5 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-mix-rule-text.is-ready {
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-mix-progress-pill {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #d4d4d8 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-mix-progress-pill.is-complete {
    background: rgba(23, 239, 151, 0.16) !important;
    border-color: #17ef97 !important;
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-card.is-selected,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-card.is-selected:hover {
    background: rgba(23, 239, 151, 0.14) !important;
    background: color-mix(in srgb, var(--swatch-color, #17ef97) 18%, #18181b) !important;
    border-color: var(--swatch-color, #17ef97) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px color-mix(in srgb, var(--swatch-color, #17ef97) 26%, transparent), inset 0 0 0 1px var(--swatch-color, #17ef97) !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-card.is-selected .wc-qc-flavor-name,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-card.is-selected:hover .wc-qc-flavor-name {
    color: #ffffff !important;
    font-weight: 600 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-step-btn {
    background: rgba(23, 239, 151, 0.12) !important;
    border-color: #17ef97 !important;
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-step-btn:hover {
    background: #17ef97 !important;
    color: #0d0f12 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-step-qty {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-toggle-btn,
body .variations_form .wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-toggle-btn {
    background: linear-gradient(135deg, rgba(23, 239, 151, 0.16) 0%, rgba(0, 184, 113, 0.10) 100%) !important;
    border: 1.5px solid rgba(23, 239, 151, 0.65) !important;
    border-radius: 10px !important;
    color: #17ef97 !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    box-shadow: 0 4px 16px rgba(23, 239, 151, 0.14) !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-toggle-btn:hover,
body .variations_form .wc-qc-variation-panel.is-theme-bangvapes .wc-qc-flavor-toggle-btn:hover {
    border-color: #17ef97 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(23, 239, 151, 0.28) 0%, rgba(0, 184, 113, 0.20) 100%) !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-mix-summary-bar {
    background: rgba(24, 24, 27, 0.92) !important;
    border: 1px solid rgba(23, 239, 151, 0.35) !important;
    border-radius: 10px !important;
    color: #d4d4d8 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-summary-left strong,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-summary-right {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-summary-save-pill {
    background: rgba(23, 239, 151, 0.18) !important;
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-summary-right .amount,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-summary-right bdi {
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card,
body .variations_form .wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e4e4e7 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card .wc-qc-vol-qty,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card .wc-qc-vol-price small {
    color: #a1a1aa !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card .wc-qc-vol-price,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card .wc-qc-vol-price .amount {
    color: #ffffff !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card .wc-qc-vol-save {
    background: rgba(23, 239, 151, 0.16) !important;
    border-color: rgba(23, 239, 151, 0.35) !important;
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card.is-active,
body .variations_form .wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card.is-active {
    background: rgba(23, 239, 151, 0.15) !important;
    border-color: #17ef97 !important;
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card.is-active .wc-qc-vol-qty,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card.is-active .wc-qc-vol-price,
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card.is-active .wc-qc-vol-price .amount {
    color: #17ef97 !important;
}
.wc-qc-variation-panel.is-theme-bangvapes .wc-qc-vol-card.is-active .wc-qc-vol-save {
    background: #17ef97 !important;
    border-color: #17ef97 !important;
    color: #090d16 !important;
}

/* === 6. 移动端小屏幕体验专项优化（零内边距损耗、热区增强、防窄屏挤压） === */
.wc-qc-variation-panel button,
.wc-qc-variation-panel .swatch-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 640px) {
    .wc-qc-variation-panel {
        margin: 10px 0 14px;
    }
    .wc-qc-variation-panel .custom-swatches-group {
        margin-bottom: 14px;
        gap: 6px;
    }
    .wc-qc-variation-panel .custom-swatches-group.is-pack-group .swatch-options,
    .wc-qc-variation-panel .wc-qc-acc-tier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .wc-qc-variation-panel .wc-qc-acc-header {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    .wc-qc-variation-panel .wc-qc-acc-body {
        padding: 8px !important;
    }
    .wc-qc-variation-panel .swatch-btn.swatch-btn-pack {
        padding: 9px 10px !important;
        gap: 4px;
    }
    .wc-qc-variation-panel .wc-qc-pack-card-top {
        font-size: 12.5px;
        gap: 4px;
    }
    .wc-qc-variation-panel .swatch-pack-save {
        font-size: 10px;
        padding: 1px 5px;
    }
    .wc-qc-variation-panel .wc-qc-pack-unit-main {
        font-size: 15.5px;
    }
    .wc-qc-variation-panel .wc-qc-pack-unit-del {
        font-size: 11px;
    }
    .wc-qc-variation-panel .wc-qc-pack-card-bottom {
        font-size: 10.5px;
        gap: 4px;
        padding-top: 4px;
    }
    .wc-qc-variation-panel .wc-qc-pack-min-tag {
        font-size: 10px;
        padding: 1px 4px;
    }
    .wc-qc-variation-panel .wc-qc-mix-header {
        gap: 4px 6px;
    }
    .wc-qc-variation-panel .wc-qc-mix-title-wrap {
        font-size: 12.5px;
    }
    .wc-qc-variation-panel .wc-qc-mix-progress-pill {
        padding: 3px 8px;
        font-size: 11px;
    }
    .wc-qc-variation-panel .wc-qc-volume-tiers-bar {
        gap: 6px;
        margin: 3px 0 7px 0;
    }
    .wc-qc-variation-panel .wc-qc-vol-card,
    body .variations_form .wc-qc-variation-panel .wc-qc-vol-card {
        padding: 6px 4px !important;
        border-radius: 8px !important;
        gap: 2px !important;
    }
    .wc-qc-variation-panel .wc-qc-vol-qty {
        font-size: 10.5px;
    }
    .wc-qc-variation-panel .wc-qc-vol-price {
        font-size: 12.5px;
    }
    .wc-qc-variation-panel .wc-qc-vol-price small {
        font-size: 9.5px;
    }
    .wc-qc-variation-panel .wc-qc-vol-save {
        font-size: 9.5px;
        padding: 1px 5px;
    }
    .wc-qc-variation-panel .wc-qc-flavor-grid {
        gap: 6px !important;
        padding: 0 !important;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card {
        padding: 7px 8px !important;
        font-size: 12px !important;
        min-height: 40px !important;
        gap: 4px !important;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-selected {
        padding: 6px 6px !important;
        gap: 3px !important;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card,
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card.is-selected {
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-selected .wc-qc-flavor-name {
        font-size: 11px !important;
        line-height: 1.22 !important;
        -webkit-line-clamp: 3;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card .wc-qc-flavor-name,
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card.is-selected .wc-qc-flavor-name {
        font-size: 12.5px !important;
        line-height: 1.32 !important;
        -webkit-line-clamp: 3;
    }
    .wc-qc-variation-panel .wc-qc-stepper {
        gap: 2px;
    }
    .wc-qc-variation-panel .wc-qc-step-btn {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        font-size: 13px !important;
    }
    .wc-qc-variation-panel .wc-qc-step-qty {
        min-width: 14px;
        font-size: 11.5px;
    }
    .wc-qc-variation-panel .wc-qc-mix-summary-bar {
        padding: 8px 10px;
        font-size: 12px;
        gap: 6px;
    }
    .wc-qc-variation-panel .wc-qc-summary-right {
        font-size: 13px;
    }
    .wc-qc-variation-panel .wc-qc-autofill-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 超窄屏手机（<= 479px，350px 容器）自适应保护 */
@media (max-width: 479px) {
    .wc-qc-variation-panel .wc-qc-pack-save-amt {
        display: none;
    }
    .wc-qc-variation-panel .wc-qc-mix-title-wrap {
        font-size: 12px;
    }
    .wc-qc-variation-panel .wc-qc-btn-clear,
    body .variations_form .wc-qc-variation-panel .wc-qc-btn-clear {
        padding: 2px 4px !important;
        font-size: 11.5px !important;
    }
    .wc-qc-variation-panel .wc-qc-mix-progress-pill {
        padding: 3px 7px;
        font-size: 11px;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card {
        padding: 6px 7px !important;
        font-size: 11.5px !important;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-selected {
        padding: 5px 5px !important;
        gap: 3px !important;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card,
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card.is-selected {
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-selected .wc-qc-flavor-name {
        font-size: 10.5px !important;
        line-height: 1.2 !important;
        -webkit-line-clamp: 3;
    }
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card .wc-qc-flavor-name,
    .wc-qc-variation-panel .wc-qc-flavor-card.is-wide-flavor-card.is-selected .wc-qc-flavor-name {
        font-size: 12px !important;
        line-height: 1.32 !important;
        -webkit-line-clamp: 3;
    }
    .wc-qc-variation-panel .wc-qc-step-btn {
        width: 19px !important;
        height: 19px !important;
        min-width: 19px !important;
        min-height: 19px !important;
        font-size: 12.5px !important;
    }
    .wc-qc-variation-panel .wc-qc-step-qty {
        min-width: 13px;
        font-size: 11px;
    }
}

/* ==========================================================================
   7. Goya 主题悬浮加购栏（.sticky-product-bar）排版修复与混搭进度联动（Chicvape 等站点）
   - 解决原生 max-width: 200px 导致长商品标题挤成 4 行溢出顶栏的问题
   - 解决隐藏原生下拉框后 form.cart width: 100% 导致 Add to cart 按钮卡在正中间、右侧大片留白的问题
   - 注入实时起订量/已选数量胶囊（.wc-qc-sticky-pill）与实时单价/小计（.wc-qc-sticky-price）
   ========================================================================== */
body.single-product .sticky-product-bar {
    height: 72px !important;
    min-height: 64px !important;
    padding: 8px 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}
body.single-product .sticky-product-bar-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
}
body.single-product .sticky-product-bar-image {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-height: 48px !important;
    margin-right: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
body.single-product .sticky-product-bar-image picture,
body.single-product .sticky-product-bar-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 48px !important;
    object-fit: cover !important;
    display: block !important;
}
body.single-product .sticky-product-bar-title {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 580px !important;
    min-width: 0 !important;
    margin-right: auto !important;
    display: block !important;
}
body.single-product .sticky-product-bar-title h4 {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}
body.single-product .sticky-product-bar-content.sticky-product-type-variable form.cart {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    justify-content: flex-end !important;
}
body.single-product .sticky-product-bar .single_variation_wrap,
body.single-product .sticky-product-bar .woocommerce-variation-add-to-cart,
body.single-product .sticky-product-bar .et-wishlist-div-open {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}
body.single-product .sticky-product-bar .woocommerce-variation.single_variation {
    display: none !important;
}
.wc-qc-sticky-bar-meta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
.wc-qc-sticky-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    white-space: nowrap !important;
}
.wc-qc-sticky-pill.is-partial {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}
.wc-qc-sticky-pill.is-complete {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #6ee7b7 !important;
}
.wc-qc-sticky-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
.wc-qc-sticky-price .woocommerce-Price-amount,
.wc-qc-sticky-price .woocommerce-Price-amount bdi,
.wc-qc-sticky-price span.amount {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}
.wc-qc-sticky-price .woocommerce-Price-currencySymbol {
    font-size: inherit !important;
    position: static !important;
    top: auto !important;
    margin-right: 1px !important;
    vertical-align: baseline !important;
}
.wc-qc-sticky-price small {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-left: 2px !important;
}
body.single-product .sticky-product-bar form.cart .button,
body.single-product .sticky-product-bar .sticky_add_to_cart {
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 22px !important;
    border-radius: 8px !important;
    background-color: #111827 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    border: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14) !important;
    transition: background-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}
body.single-product .sticky-product-bar form.cart .button:hover,
body.single-product .sticky-product-bar .sticky_add_to_cart:hover {
    background-color: #1e293b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
}
body.single-product .sticky-product-bar form.cart .button.is-ready,
body.single-product .sticky-product-bar .sticky_add_to_cart.is-ready {
    background-color: #059669 !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.24) !important;
}
body.single-product .sticky-product-bar form.cart .button.is-ready:hover,
body.single-product .sticky-product-bar .sticky_add_to_cart.is-ready:hover {
    background-color: #047857 !important;
}
@media only screen and (min-width: 768px) {
    body.single-product .sticky-product-bar:not(.trigger-only) .sticky_add_to_cart {
        display: none !important;
    }
}
@media only screen and (max-width: 767px) {
    body.single-product .sticky-product-bar {
        height: 60px !important;
        min-height: 56px !important;
        padding: 6px 0 !important;
    }
    body.single-product .sticky-product-bar-image,
    body.single-product .sticky-product-bar-title,
    body.single-product .sticky-product-bar-content.sticky-product-type-variable form.cart {
        display: none !important;
    }
    .wc-qc-sticky-bar-meta {
        margin-left: 0 !important;
        margin-right: auto !important;
        gap: 8px !important;
    }
    body.single-product .sticky-product-bar .sticky_add_to_cart {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 38px !important;
        line-height: 38px !important;
        padding: 0 18px !important;
        font-size: 13.5px !important;
        margin-left: auto !important;
    }
}

/* ==========================================================================
   Seasonal Campaign & Holiday Theme Container (.wc-qc-volume-tiers-bar.is-campaign-stage)
   ========================================================================== */
.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 13px 14px !important;
    margin: 2px 0 12px 0 !important;
    border-radius: 13px !important;
    border: 1.5px solid rgba(245, 158, 11, 0.48) !important;
    background: linear-gradient(135deg, #09090b 0%, #1c1917 65%, #451a03 100%) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24) !important;
    color: #ffffff !important;
    --camp-accent: #f59e0b;
    --camp-accent-soft: rgba(245, 158, 11, 0.16);
    --camp-accent-glow: rgba(245, 158, 11, 0.35);
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage.is-camp-christmas {
    background: linear-gradient(135deg, #062e22 0%, #14532d 55%, #7f1d1d 100%) !important;
    border-color: rgba(251, 191, 36, 0.52) !important;
    --camp-accent: #fbbf24;
    --camp-accent-soft: rgba(251, 191, 36, 0.18);
    --camp-accent-glow: rgba(251, 191, 36, 0.38);
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage.is-camp-new_year {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #3b0764 100%) !important;
    border-color: rgba(252, 211, 77, 0.52) !important;
    --camp-accent: #fcd34d;
    --camp-accent-soft: rgba(252, 211, 77, 0.18);
    --camp-accent-glow: rgba(252, 211, 77, 0.38);
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage.is-camp-flash_sale {
    background: linear-gradient(135deg, #1f0808 0%, #450a0a 55%, #7c2d12 100%) !important;
    border-color: rgba(251, 146, 60, 0.56) !important;
    --camp-accent: #fb923c;
    --camp-accent-soft: rgba(251, 146, 60, 0.2);
    --camp-accent-glow: rgba(251, 146, 60, 0.38);
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage.is-camp-custom {
    background: var(--camp-custom-bg, #18181b) !important;
    border-color: var(--camp-custom-accent, #f59e0b) !important;
    --camp-accent: var(--camp-custom-accent, #f59e0b);
    --camp-accent-soft: rgba(255, 255, 255, 0.12);
    --camp-accent-glow: rgba(255, 255, 255, 0.28);
}

.wc-qc-variation-panel .wc-qc-camp-svg-decor {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 0 !important;
    object-fit: cover !important;
}

.wc-qc-variation-panel .wc-qc-camp-head {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.wc-qc-variation-panel .wc-qc-camp-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
}

.wc-qc-variation-panel .wc-qc-camp-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 8px !important;
    border-radius: 5px !important;
    background: var(--camp-accent) !important;
    color: #09090b !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

.wc-qc-variation-panel .wc-qc-camp-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
}

.wc-qc-variation-panel .wc-qc-camp-timer {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 2px 9px !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid var(--camp-accent) !important;
    color: var(--camp-accent) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
}

.wc-qc-variation-panel .wc-qc-camp-grid {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(var(--wc-qc-tier-cols, 3), minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding-top: 4px !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card {
    position: relative !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 10px !important;
    padding: 10px 8px 9px !important;
    color: #ffffff !important;
    overflow: visible !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card.is-top-tier-card {
    border-color: rgba(255, 255, 255, 0.34) !important;
    background: rgba(255, 255, 255, 0.09) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card.is-unlocked {
    border-color: var(--camp-accent) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card.is-active {
    background: var(--camp-accent-soft) !important;
    border: 1.5px solid var(--camp-accent) !important;
    box-shadow: 0 0 14px var(--camp-accent-glow) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-crown {
    position: absolute !important;
    top: -9px !important;
    right: 6px !important;
    padding: 1px 7px !important;
    border-radius: 999px !important;
    background: var(--camp-accent) !important;
    color: #09090b !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-qty {
    color: rgba(255, 255, 255, 0.88) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card.is-active .wc-qc-vol-qty,
.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-check {
    color: var(--camp-accent) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-price,
.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-price .woocommerce-Price-amount {
    color: #ffffff !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card.is-active .wc-qc-vol-price,
.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card.is-active .wc-qc-vol-price .woocommerce-Price-amount {
    color: var(--camp-accent) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-save {
    border: 1px solid var(--camp-accent) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    color: var(--camp-accent) !important;
}

.wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-card.is-active .wc-qc-vol-save {
    background: var(--camp-accent) !important;
    color: #09090b !important;
    font-weight: 800 !important;
}

.wc-qc-variation-panel .wc-qc-camp-foot {
    position: relative !important;
    z-index: 1 !important;
    font-size: 11.5px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    text-align: center !important;
    line-height: 1.35 !important;
}

@media (max-width: 520px) {
    .wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage {
        padding: 11px 10px !important;
    }
    .wc-qc-variation-panel .wc-qc-camp-title {
        font-size: 12px !important;
    }
    .wc-qc-variation-panel .wc-qc-volume-tiers-bar.is-campaign-stage .wc-qc-vol-crown {
        font-size: 8.5px !important;
        padding: 1px 5px !important;
        right: 4px !important;
    }
}
