/* product.html — Kits listing page for a model specific styles */

/* ── KIT CARDS ── */
.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem
}

.kit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .25s;
    position: relative;
    display: flex;
    flex-direction: column
}

.kit-card:hover {
    border-color: rgba(232, 28, 28, .4);
    box-shadow: 0 16px 48px rgba(180, 0, 0, .2);
    transform: translateY(-3px)
}

.kit-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px
}

.kit-badge.best-seller {
    background: var(--accent2);
    color: #fff
}

.kit-badge.popular {
    background: var(--blue);
    color: #fff
}

.kit-badge.premium {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff
}

.kit-img-wrap {
    overflow: hidden;
    background: var(--bg2);
    position: relative;
    aspect-ratio: 1536/1080
}

.kit-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s;
    display: block;
    cursor: zoom-in
}

.kit-card:hover .kit-img-wrap img {
    transform: scale(1.04)
}

.kit-no-img {
    aspect-ratio: 1536/1080;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text3);
    font-size: .85rem
}

.kit-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.kit-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .4rem;
    line-height: 1.3
}

.kit-desc {
    font-size: .8rem;
    color: var(--text2);
    line-height: 1.5
}

.kit-parts {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: 1rem
}

.kit-part-tag {
    font-size: .65rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    color: var(--text3);
    padding: 2px 7px;
    border-radius: 4px
}

.kit-pricing {
    margin-bottom: .9rem
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .45rem .7rem;
    border-radius: var(--r-sm);
    margin-bottom: .35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid transparent
}

.price-row.mrp-row {
    border-left-color: var(--mrp)
}

.price-row.detailer-row {
    border-left-color: var(--detailer)
}

.price-row.distributor-row {
    border-left-color: var(--distributor)
}

.price-row.your-price {
    background: rgba(232, 28, 28, .05);
    border-color: rgba(232, 28, 28, .25)
}

.price-row.your-price.detailer-row {
    background: rgba(59, 130, 246, .05);
    border-color: rgba(59, 130, 246, .25)
}

.price-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px
}

.price-label.mrp-label {
    color: var(--mrp)
}

.price-label.detailer-label {
    color: var(--detailer)
}

.price-label.distributor-label {
    color: var(--distributor)
}

.price-right {
    display: flex;
    align-items: center;
    gap: .5rem
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700
}

.price-value.mrp-val {
    color: var(--mrp)
}

.price-value.detailer-val {
    color: var(--detailer)
}

.price-value.distributor-val {
    color: var(--distributor)
}

.your-price-tag {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 2px 6px;
    border-radius: 3px
}

.your-price-tag.dist {
    background: rgba(220, 0, 0, .15);
    color: var(--accent)
}

.your-price-tag.det {
    background: rgba(59, 130, 246, .15);
    color: var(--blue)
}

.kit-locked {
    background: rgba(232, 28, 28, .04);
    border: 1px dashed rgba(232, 28, 28, .25);
    border-radius: var(--r-sm);
    padding: .9rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: .9rem;
    text-decoration: none
}

.kit-locked:hover {
    background: rgba(232, 28, 28, .08);
    border-color: rgba(232, 28, 28, .4)
}

.kl-icon {
    font-size: 1.2rem;
    flex-shrink: 0
}

.kl-title {
    
    font-size: .92rem;
    font-weight: 700;
    color: var(--text);
    display: block
}

.kl-sub {
    font-size: .72rem;
    color: var(--text3);
    display: block;
    margin-top: 1px
}

.kl-arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0
}

.savings-bar {
    font-size: .75rem;
    color: var(--green);
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    gap: .35rem
}

.btn-order {
    width: 100%;
    background: linear-gradient(135deg, #e81c1c, #8b0000);
    color: #fff;
    border: none;
    padding: .65rem;
    border-radius: var(--r-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    transition: all .2s
}

.btn-order:hover {
    filter: brightness(1.1);
    transform: translateY(-1px)
}

@media(max-width:600px) {
    .kits-grid {
        grid-template-columns: 1fr
    }
}

/* ── LIGHT THEME OVERRIDES ── */
[data-theme="light"] .kit-card {
    background: var(--card);
    border-color: var(--border)
}

[data-theme="light"] .kit-card:hover {
    border-color: rgba(232, 28, 28, .4);
    box-shadow: 0 16px 48px rgba(180, 0, 0, .1)
}

[data-theme="light"] .kit-part-tag {
    background: rgba(0, 0, 0, .04);
    border-color: var(--border);
    color: var(--text2)
}

[data-theme="light"] .price-row {
    background: var(--surface);
    border-color: var(--border)
}

[data-theme="light"] .price-row.your-price {
    background: rgba(232, 28, 28, .04);
    border-color: rgba(232, 28, 28, .2)
}

[data-theme="light"] .price-row.your-price.detailer-row {
    background: rgba(59, 130, 246, .04);
    border-color: rgba(59, 130, 246, .2)
}

[data-theme="light"] .kit-locked {
    background: rgba(232, 28, 28, .03);
    border-color: rgba(232, 28, 28, .2)
}

[data-theme="light"] .kit-locked:hover {
    background: rgba(232, 28, 28, .06);
    border-color: rgba(232, 28, 28, .35)
}

[data-theme="light"] .btn-order {
    color: #fff
}

/* ── KIT IMAGE ZOOM BUTTON ── */
.kit-img-wrap {
    position: relative;
    overflow: hidden
}

.kit-zoom-btn {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: rgba(0, 0, 0, .55);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s;
    font-size: .9rem;
    backdrop-filter: blur(4px)
}

.kit-card:hover .kit-zoom-btn {
    opacity: 1
}


.kit-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70px !important;
    margin: 0;
    padding: 14px 20px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%); */
    letter-spacing: 0.2px;
}









.kit-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #4a5568;
    border-radius: 4px;
    padding: 10px 12px;
}

.price-row.mrp-row {
    border-left-color: #6b7280;
}

.price-row.detailer-row {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
}

.price-row.distributor-row {
    border-left-color: #e02020;
    background: rgba(224, 32, 32, 0.06);
}

.price-label {
    font-size: 13px;
    font-weight: 700;
    color: #9aa0a6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.price-row.detailer-row .price-label {
    color: #3b82f6;
}

.price-row.distributor-row .price-label {
    color: #e02020;
}

.price-value-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-strike {
    font-size: 13px;
    color: #7a7a7a;
    text-decoration: line-through;
}

.price-value {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.price-row.detailer-row .price-value {
    color: #60a5fa;
}

.price-row.distributor-row .price-value-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-row.distributor-row .price-value {
    color: #ff5c5c;
}

.your-price-badge {
    font-size: 11px;
    font-weight: 700;
    color: #ff5c5c;
    background: rgba(224, 32, 32, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.price-savings {
    font-size: 13px;
    font-weight: 600;
    color: #22c55e;
    padding: 2px 2px 4px;
}


/* ============ KIT SHOWCASE MODAL — NEW DESIGN ============ */
.kit-showcase-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 5, 7, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.kit-showcase-box {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 92vh;
    background: #141417;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,.6);
    display: flex;
    flex-direction: column;
    animation: kitBoxIn .28s cubic-bezier(.22,.9,.3,1);
}

@keyframes kitBoxIn {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Close button — floats top right, always visible */
.kit-showcase-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}
.kit-showcase-close:hover { background: #e81c1c; transform: rotate(90deg); }

/* ---- Stage: this is where the FULL image shows, no cropping ever ---- */
.kit-showcase-stage {
    position: relative;
    width: 100%;
    background: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Frame keeps a consistent aspect ratio so layout never jumps,
   but object-fit:contain inside guarantees full image is visible */
.kit-showcase-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    overflow: hidden;
    transition: none;
}

.kit-showcase-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.22,.9,.3,1);
}

.kit-showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* poori image dikhegi, kabhi crop nahi hogi */
    display: block;
}

/* Prev / Next arrows */
.kit-showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: .85;
    transition: all .2s;
}
.kit-showcase-nav:hover { background: #e81c1c; opacity: 1; }
.kit-showcase-nav.prev { left: 12px; }
.kit-showcase-nav.next { right: 12px; }

/* ---- Footer: title + dots, hamesha image ke NICHE, alag solid block ---- */
.kit-showcase-footer {
    flex-shrink: 0;
    background: #18181c;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 16px 20px 18px;
    text-align: center;
}

.kit-showcase-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .2px;
}

.kit-showcase-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.kit-showcase-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    padding: 0;
    transition: all .25s;
}
.kit-showcase-dot.active {
    background: #e81c1c;
    width: 22px;
    border-radius: 5px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .kit-showcase-box { max-width: 100%; border-radius: 16px; }
    .kit-showcase-frame { aspect-ratio: 4 / 3.4; }
    .kit-showcase-nav { width: 34px; height: 34px; font-size: 1.1rem; }
    .kit-showcase-title { font-size: .95rem; }
}

@media (max-width: 480px) {
    .kit-showcase-frame { aspect-ratio: 1 / 1; }
    .kit-showcase-footer { padding: 12px 16px 14px; }
    .kit-showcase-close { width: 32px; height: 32px; top: 8px; right: 8px; }
}


/* ---- Stage: ab aspect-ratio nahi, viewport-height based — image kabhi crop nahi hogi ---- */
.kit-showcase-stage {
    position: relative;
    width: 100%;
    background: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kit-showcase-frame {
    position: relative;
    width: 100%;
    height: 60vh;              /* responsive height — screen ke hisaab se badhta-ghatega */
    max-height: 500px;         /* bahut badi screen pe zyada bada na ho */
    min-height: 220px;         /* chhoti screen pe bhi ek minimum space mile */
    display: flex;
    overflow: hidden;
}

.kit-showcase-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.22,.9,.3,1);
}

.kit-showcase-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;      /* image apne natural shape me poori dikhegi, kabhi crop nahi */
    display: block;
    margin: auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .kit-showcase-box { max-width: 100%; border-radius: 16px; }
    .kit-showcase-frame { height: 50vh; max-height: 380px; }
    .kit-showcase-nav { width: 34px; height: 34px; font-size: 1.1rem; }
    .kit-showcase-title { font-size: .95rem; }
}

@media (max-width: 480px) {
    .kit-showcase-frame { height: 42vh; max-height: 300px; min-height: 200px; }
    .kit-showcase-footer { padding: 12px 16px 14px; }
    .kit-showcase-close { width: 32px; height: 32px; top: 8px; right: 8px; }
}

/* ============ KIT SHOWCASE MODAL — FINAL ============ */
.kit-showcase-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 5, 7, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.kit-showcase-box {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 92vh;
    background: #141417;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,.6);
    display: flex;
    flex-direction: column;
    animation: kitBoxIn .28s cubic-bezier(.22,.9,.3,1);
}

@keyframes kitBoxIn {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.kit-showcase-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}
.kit-showcase-close:hover { background: #e81c1c; transform: rotate(90deg); }

/* ---- Stage ---- */
.kit-showcase-stage {
    position: relative;
    width: 100%;
    background: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Viewport — ye clip karta hai, ISKO translate NAHI karte */
.kit-showcase-frame {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 500px;
    min-height: 220px;
    overflow: hidden;      /* 🔒 sirf yahin clip hoga */
}

/* Track — ye slides ko flex me rakhta hai aur ISKO translate karte hain */
.kit-showcase-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .4s cubic-bezier(.22,.9,.3,1);
}

.kit-showcase-slide {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kit-showcase-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;   /* koi bhi size ki image ho, poori dikhegi, crop nahi hogi */
    display: block;
    margin: auto;
}

/* Prev / Next arrows */
.kit-showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: .85;
    transition: all .2s;
}
.kit-showcase-nav:hover { background: #e81c1c; opacity: 1; }
.kit-showcase-nav.prev { left: 12px; }
.kit-showcase-nav.next { right: 12px; }

/* ---- Footer: title + dots ---- */
.kit-showcase-footer {
    flex-shrink: 0;
    background: #18181c;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 16px 20px 18px;
    text-align: center;
}

.kit-showcase-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .2px;
}

.kit-showcase-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.kit-showcase-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    padding: 0;
    transition: all .25s;
}
.kit-showcase-dot.active {
    background: #e81c1c;
    width: 22px;
    border-radius: 5px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .kit-showcase-box { max-width: 100%; border-radius: 16px; }
    .kit-showcase-frame { height: 50vh; max-height: 380px; }
    .kit-showcase-nav { width: 34px; height: 34px; font-size: 1.1rem; }
    .kit-showcase-title { font-size: .95rem; }
}

@media (max-width: 480px) {
    .kit-showcase-frame { height: 42vh; max-height: 300px; min-height: 200px; }
    .kit-showcase-footer { padding: 12px 16px 14px; }
    .kit-showcase-close { width: 32px; height: 32px; top: 8px; right: 8px; }
}















   /* =========================================================
   KIT PRICING CARD CSS
   (MRP / Detailer / Distributor tiered price box
   + Qty selector + Add to Cart row)
   ========================================================= */

/* ── PRICE BOX WRAPPER ── */
.v2-price-box {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-top: auto;
    padding-top: .6rem;
    min-width: 0;
}

/* ── BASE PRICE ROW ── */
.v2-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 8px;
    row-gap: 4px;
    padding: .5rem .65rem;
    border-radius: 8px;
    border: 1px solid var(--border, #e5e5e5);
    border-left: 3px solid var(--border, #e5e5e5);
    background: var(--card, #fafafa);
    min-width: 0;
    position: relative;
}

.v2-price-label {
    flex-shrink: 0;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--text3, #9a9a9f);
    white-space: nowrap;
}

.v2-price-value {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text, #111);
    white-space: nowrap;
    flex-shrink: 0;
}

/* MRP row — plain */
.v2-price-mrp {
    border-left-color: var(--border, #e5e5e5);
}

.v2-price-mrp .v2-price-value {
    color: red;
    font-weight: 500;
}

/* Detailer row — blue accent */
.v2-price-row.v2-price-detailer {
    border-color: #cfd9ff;
    border-left-color: #868fbd;
    background: rgba(79, 107, 255, .06);
}

.v2-price-row.v2-price-detailer .v2-price-label,
.v2-price-row.v2-price-detailer .v2-price-value {
    color: #4f6bff;
}

/* Distributor / "Your Price" row — red accent, highlighted */
.v2-price-row.v2-price-yours {
    border-color: var(--accent, #e81c1c);
    border-left-color: var(--accent, #e81c1c);
    background: rgba(232, 28, 28, .05);
}

.v2-price-row.v2-price-yours .v2-price-label {
    color: var(--accent, #e81c1c);
    font-weight: 700;
}

.v2-price-row.v2-price-yours .v2-price-value {
    color: var(--accent, #e81c1c);
    font-size: .95rem;
}

/* "Your Price" badge — stacked above the row */
.v2-price-row.v2-price-yours::before {
    content: 'Your Price';
    position: absolute;
    top: -9px;
    right: 10px;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #fff;
    background: var(--accent, #e81c1c);
    padding: .15rem .45rem;
    border-radius: 999px;
}

/* % OFF pill */
.v2-price-off {
    background: #fdecec;
    color: #e0261f;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    margin-left: auto;
    width: 100%;
    text-align: center;
}

.v2-price-row.v2-price-detailer .v2-price-off {
    background: #e8ecff;
    color: #4f6bff;
}

/* "Save ₹X (Y%) vs MRP" line */
.v2-price-save {
    font-size: .75rem;
    font-weight: 600;
    color: #1a9e4a;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: -.15rem;
}

.v2-price-save i {
    font-size: .75rem;
}

/* GST note */
.v2-price-gst-note {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    font-style: italic;
}

/* ── QTY SELECTOR + ADD TO CART ROW ── */
.final-add-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.qty-selector button {
    background: var(--card);
    color: var(--text);
    border: none;
    width: 30px;
    height: 34px;
    cursor: pointer;
    font-size: 16px;
}

.qty-selector button:hover {
    background: #e02020;
    color: #fff;
}

.qty-selector input {
    width: 40px;
    text-align: center;
    border: none;
    background: var(--card);
    color: var(--text);
    height: 34px;
    -moz-appearance: textfield;
}

.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.final-add-row .ic-product-signup-btn,
.final-add-row button.add-btn {
    flex: 1;
    background: #e02020;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 10px;
    height: 34px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.final-add-row .add-btn:hover {
    background: #b81717;
}

/* ── Standalone signup/dealer buttons (guest state) ── */
.ic-product-signup-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: .6rem;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: .6rem;
}

/* Slightly reduce label/value size pressure on small cards */
@media (max-width: 480px) {
    .v2-price-row {
        font-size: 12px;
    }

    .v2-price-value {
        font-size: 13px !important;
    }

    .v2-price-row.v2-price-yours .v2-price-value {
        font-size: 14px !important;
    }
}
