/* ======================================================================
   Product checkout (PDP action buttons) — Cohort 8 (Dhaka Bazaar)
   Navy: #1034A6  |  Orange: #F97316  |  Green: #16A34A  |  Messenger: #0084FF
   Standalone semantic classes — no Bootstrap utility chains in HTML.
   ====================================================================== */

/* ---------- Wrapper ---------- */
.product-checkout-8 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0.5rem;
}

/* ---------- Quantity stepper ---------- */
.product-checkout-8-qty {
    display: inline-flex;
    align-items: stretch;
    align-self: flex-start;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
    background: #fff;
}

.product-checkout-8-qty-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #212529;
    background: #F8F9FB;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    user-select: none;
    transition: background 0.1s ease;
}

.product-checkout-8-qty-btn:hover { background: #e9ecef; color: #212529; }

.product-checkout-8-qty-input {
    width: 56px;
    text-align: center;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}

.product-checkout-8-qty-input::-webkit-outer-spin-button,
.product-checkout-8-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Shared CTA base ---------- */
.product-checkout-8-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: background 0.1s ease, transform 0.05s ease;
    line-height: 1.2;
}

.product-checkout-8-cta:hover { transform: translateY(-1px); color: #fff; }

/* ---------- CTA 1: Add to Cart (navy) ---------- */
.product-checkout-8-cta-cart { background: #1034A6; }
.product-checkout-8-cta-cart:hover { background: #0A2575; }

/* ---------- CTA 2: Buy Now (orange) ---------- */
.product-checkout-8-cta-buynow { background: #F97316; }
.product-checkout-8-cta-buynow:hover { background: #EA580C; }

/* ---------- CTA 3: Phone Order (green) ---------- */
.product-checkout-8-cta-phone { background: #16A34A; }
.product-checkout-8-cta-phone:hover { background: #128338; }

/* ---------- CTA 4: Messenger (Messenger blue) ---------- */
.product-checkout-8-cta-messenger { background: #0084FF; }
.product-checkout-8-cta-messenger:hover { background: #0066CC; }

/* ---------- CTA 4 alt: WhatsApp (green) ---------- */
.product-checkout-8-cta-whatsapp { background: #25D366; }
.product-checkout-8-cta-whatsapp:hover { background: #1FB358; }

/* ---------- Unavailable ---------- */
.product-checkout-8-cta-unavailable {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.85;
}
.product-checkout-8-cta-unavailable:hover { transform: none; }

@media (max-width: 575.98px) {
    .product-checkout-8-cta { padding: 10px 14px; font-size: 0.9rem; }
}
