/* ======================================================================
   Product checkout (PDP actions) — Cohort 9 (Verdant Mart)
   Fresh Green: #2E7D32  |  Ink black: #1A1A1A  |  WhatsApp: #25D366
   Standalone semantic classes — no Bootstrap utility chains in HTML.
   ====================================================================== */

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

/* ---------- Quantity stepper ---------- */
.product-checkout-9-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-9-qty-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #212529;
    background: #F4F7F2;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    user-select: none;
    transition: background 0.1s ease;
}

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

.product-checkout-9-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-9-qty-input::-webkit-outer-spin-button,
.product-checkout-9-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Shared CTA base ---------- */
.product-checkout-9-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-9-cta:hover { transform: translateY(-1px); color: #fff; }

/* ---------- CTA 1: Buy Now (Fresh Green) ---------- */
.product-checkout-9-cta-buynow { background: #2E7D32; }
.product-checkout-9-cta-buynow:hover { background: #1B5E20; }

/* ---------- CTA 2: Add to Cart (Ink black) ---------- */
.product-checkout-9-cta-cart { background: #1A1A1A; }
.product-checkout-9-cta-cart:hover { background: #000; }

/* ---------- CTA 3: WhatsApp Order ---------- */
.product-checkout-9-cta-whatsapp { background: #25D366; }
.product-checkout-9-cta-whatsapp:hover { background: #1FB358; }

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

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