/* FreshMart · PDP CTAs · template-4
   Green: #00A859  |  Deep green: #0E3A26  |  Blue: #2563eb
   Layout: Qty label row + 2×2 grid CTAs + 2-col alt row
   ---------------------------------------------------------------- */

.pdp-4-actions { display: flex; flex-direction: column; gap: 14px; }

.pdp-4-row { display: flex; align-items: center; gap: 16px; }

.pdp-4-qty-label { font-size: 0.9375rem; font-weight: 500; color: #1f2937; }

.pdp-4-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

.pdp-4-qty-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.pdp-4-qty-btn:hover { background: #f0fdf4; color: #00A859; }

.pdp-4-qty-input {
    width: 60px;
    height: 44px;
    border: 0;
    outline: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    -moz-appearance: textfield;
}

.pdp-4-qty-input::-webkit-outer-spin-button,
.pdp-4-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-4-ctas,
.pdp-4-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pdp-4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
    min-height: 48px;
}

.pdp-4-btn:hover { transform: translateY(-1px); }
.pdp-4-btn:active { transform: translateY(0); }

/* Add to Cart — fresh green */
.pdp-4-btn-cart { background: #00A859; color: #fff; border-color: #00A859; }
.pdp-4-btn-cart:hover { background: #008f4a; color: #fff; border-color: #008f4a; }

/* Buy Now — deep green */
.pdp-4-btn-buynow { background: #0E3A26; color: #fff; border-color: #0E3A26; }
.pdp-4-btn-buynow:hover { background: #0A2A1B; color: #fff; border-color: #0A2A1B; }

/* WhatsApp */
.pdp-4-btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.pdp-4-btn-whatsapp:hover { background: #1DA851; color: #fff; border-color: #1DA851; }

/* Call — blue */
.pdp-4-btn-call { background: #2563eb; color: #fff; border-color: #2563eb; }
.pdp-4-btn-call:hover { background: #1E40AF; color: #fff; border-color: #1E40AF; }

/* Unavailable */
.pdp-4-btn-unavailable {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.85;
}

@media (max-width: 575.98px) {
    .pdp-4-ctas,
    .pdp-4-alt { grid-template-columns: 1fr; }
}
