/* Centered Auth Card (Sign In & Create Account) */
.cz-auth-wrap { display: flex; justify-content: center; align-items: center; padding: 48px 16px; min-height: 68vh; }
.cz-auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 28px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); }
.cz-auth-pane { display: none; }
.cz-auth-pane.active { display: block; }
.cz-auth-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--cz-accent, #f59e0b); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.cz-auth-card h2 { text-align: center; font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 5px; }
.cz-auth-sub { text-align: center; font-size: 13px; color: #64748b; margin-bottom: 22px; }
.cz-auth-field { margin-bottom: 14px; }
.cz-auth-field label { display: block; font-size: 12px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.cz-auth-field label span { color: #ef4444; }
.cz-auth-field input { width: 100%; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 9px; font-size: 13px; outline: none; transition: 0.2s; }
.cz-auth-field input:focus { border-color: var(--cz-primary, #2563eb); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.cz-auth-forgot-row { text-align: right; margin: -4px 0 16px; }
.cz-auth-forgot-row a { font-size: 12px; font-weight: 700; color: var(--cz-accent, #f59e0b); }
.cz-auth-forgot-row a:hover { text-decoration: underline; }
.cz-auth-submit-btn { width: 100%; height: 44px; border: none; border-radius: 999px; background: var(--cz-accent, #f59e0b); color: #fff !important; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s ease; text-decoration: none; }
.cz-auth-submit-btn:hover { background: #d97706 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32); }
.cz-auth-submit-btn:active { background: #b45309 !important; transform: scale(0.97); }
.cz-auth-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.cz-auth-switch-row { text-align: center; font-size: 13px; color: #475569; margin-top: 18px; }
.cz-auth-link-btn { background: none; border: none; color: var(--cz-accent, #f59e0b); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; }
.cz-auth-link-btn:hover { text-decoration: underline; }
.cz-auth-msg { font-size: 13px; font-weight: 600; margin-bottom: 10px; text-align: center; }
.cz-auth-msg.error { color: #dc2626; }
.cz-auth-msg.success { color: #16a34a; }

/* Slide-Over Cart Drawer + Checkout Drawer + Success Receipt View */
.cz-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); z-index: 99998; }
.cz-drawer-overlay.active { display: block; }
.cz-checkout-drawer { position: fixed; top: 0; right: -440px; width: 100%; max-width: 420px; height: 100vh; height: 100dvh; background: #fff; z-index: 99999; box-shadow: -8px 0 30px rgba(0,0,0,0.18); transition: right 0.28s ease; overflow: hidden; }
.cz-checkout-drawer.open { right: 0; }
.cz-drawer-view { display: none; width: 100%; height: 100%; flex-direction: column; }
.cz-drawer-view.active { display: flex; }

.cz-drawer-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #f1f5f9; background: #fff; }
.cz-drawer-header h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0; }
.cz-drawer-back, .cz-drawer-close { background: none; border: none; font-size: 20px; color: #334155; cursor: pointer; padding: 4px 8px; line-height: 1; transition: 0.18s ease; }
.cz-drawer-back:hover, .cz-drawer-close:hover { background: #f1f5f9 !important; color: var(--cz-primary, #2563eb) !important; border-radius: 6px; }
.cz-drawer-back:active, .cz-drawer-close:active { background: #e2e8f0 !important; transform: scale(0.92); }

.cz-drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px; background: #f8fafc; }
.cz-drawer-section-title { font-size: 14px; font-weight: 700; color: #0f172a; margin: 14px 0 10px; }
.cz-drawer-section-title:first-child { margin-top: 0; }

.cz-cart-empty { text-align: center; padding: 40px 12px; color: #64748b; font-size: 14px; }
.cz-cart-item-card { display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px; border-radius: 10px; border: 1px solid #e2e8f0; margin-bottom: 10px; }
.cz-cart-item-card img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cz-cart-item-info { flex: 1; min-width: 0; }
.cz-cart-item-name { font-size: 13px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-cart-item-price { font-size: 13px; font-weight: 700; color: var(--cz-primary, #2563eb); margin: 3px 0 6px; }
.cz-cart-remove-btn { background: none; border: none; color: #ef4444; font-size: 11px; font-weight: 600; cursor: pointer; padding: 0; }
.cz-cart-remove-btn:hover { color: #b91c1c !important; text-decoration: underline; }

.cz-proceed-checkout-btn { width: 100%; height: 46px; border: none; border-radius: 999px; background: var(--cz-order-btn, #10b981); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 10px; transition: 0.2s ease; }
.cz-proceed-checkout-btn:hover { background: #059669 !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.cz-proceed-checkout-btn:active { background: #047857 !important; transform: scale(0.97); }

.cz-drawer-product-row { display: flex; align-items: center; gap: 12px; background: #fff; padding: 10px; border-radius: 10px; border: 1px solid #e2e8f0; }
.cz-drawer-product-row img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cz-drawer-prod-info { flex: 1; min-width: 0; }
.cz-drawer-prod-name { font-size: 13px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.cz-drawer-qty-pill { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; height: 28px; }
.cz-drawer-qty-pill button { width: 28px; height: 100%; border: none; background: transparent; font-size: 15px; cursor: pointer; color: #334155; transition: 0.15s ease; }
.cz-drawer-qty-pill button:hover { background: #eff6ff !important; color: var(--cz-primary, #2563eb) !important; }
.cz-drawer-qty-pill button:active { background: var(--cz-primary, #2563eb) !important; color: #fff !important; }
.cz-drawer-qty-pill span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 700; }
.cz-drawer-prod-price { font-size: 14px; font-weight: 700; color: #0f172a; }

.cz-drw-field { margin-bottom: 14px; position: relative; }
.cz-drw-field label { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #1e293b; margin-bottom: 6px; letter-spacing: 0.01em; }
.cz-drw-field label span { color: #ef4444; font-weight: 800; }

.cz-prem-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 2px 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.cz-prem-input-wrap:hover {
    border-color: #94a3b8;
}
.cz-prem-input-wrap:focus-within {
    border-color: var(--cz-primary, #2563eb);
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.14), 0 4px 12px rgba(37, 99, 235, 0.08);
    background: #ffffff;
}
.cz-prem-textarea-wrap {
    align-items: flex-start;
    padding-top: 8px;
    padding-bottom: 6px;
}
.cz-prem-icon {
    font-size: 16px;
    margin-right: 9px;
    opacity: 0.85;
    flex-shrink: 0;
    user-select: none;
}
.cz-prem-textarea-wrap .cz-prem-icon {
    margin-top: 2px;
}
.cz-prem-chevron {
    font-size: 14px;
    color: #64748b;
    margin-left: 6px;
    pointer-events: none;
}

.cz-drw-field input, .cz-drw-field textarea {
    width: 100%;
    padding: 10px 2px;
    border: none !important;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #0f172a;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit;
    resize: vertical;
}
.cz-drw-field input::placeholder, .cz-drw-field textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
/* Override Chrome/Edge yellow-blue autofill background inside premium boxes */
.cz-drw-field input:-webkit-autofill,
.cz-drw-field input:-webkit-autofill:hover,
.cz-drw-field input:-webkit-autofill:focus,
.cz-drw-field textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #0f172a !important;
    transition: background-color 5000s ease-in-out 0s;
}
.cz-city-list { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: 170px; overflow-y: auto; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; list-style: none; z-index: 50; box-shadow: 0 8px 20px rgba(0,0,0,0.12); margin-top: 4px; }
.cz-city-list.show { display: block; }
.cz-city-list li { padding: 8px 12px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f1f5f9; }
.cz-city-list li:hover { background: #eff6ff; color: var(--cz-primary, #2563eb); }

.cz-pay-options { display: flex; flex-direction: column; gap: 10px; }
.cz-pay-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: 0.15s ease; }
.cz-pay-card:hover { border-color: var(--cz-primary, #2563eb) !important; background: #f8faff; }
.cz-pay-card:active { transform: scale(0.98); }
.cz-pay-card.active { border-color: var(--cz-primary, #2563eb); background: #f8faff; }
.cz-cod-icon { font-size: 22px; }
.cz-pay-card strong { display: block; font-size: 13px; color: #0f172a; }
.cz-pay-card p { font-size: 11px; color: #64748b; margin: 0; }

.cz-drw-msg { margin-top: 10px; font-size: 13px; font-weight: 600; }
.cz-drw-msg.error { color: #dc2626; }

.cz-drawer-sticky-footer { flex-shrink: 0; background: #fff; border-top: 1px solid #e2e8f0; padding: 14px 18px 16px; box-shadow: 0 -4px 16px rgba(0,0,0,0.05); }
.cz-summary-line { display: flex; justify-content: space-between; font-size: 13px; color: #64748b; margin-bottom: 6px; }
.cz-summary-line strong { color: #1e293b; font-weight: 600; }
.cz-summary-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; color: #0f172a; margin: 8px 0 12px; }
.cz-place-order-btn { width: 100%; height: 46px; border: none; border-radius: 999px; background: var(--cz-primary, #2563eb); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.2s ease; }
.cz-place-order-btn:hover { background: #1d4ed8 !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }
.cz-place-order-btn:active { background: #1e40af !important; transform: scale(0.97); }
.cz-place-order-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.cz-drawer-terms { font-size: 11px; color: #94a3b8; text-align: center; margin-top: 8px; }

.cz-success-body { flex: 1; overflow-y: auto; padding: 20px 18px; background: #fff; }
.cz-success-hero { text-align: center; padding-bottom: 18px; border-bottom: 1px solid #f1f5f9; }
.cz-check-circle { width: 58px; height: 58px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.cz-success-hero h2 { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.cz-success-hero p { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.cz-order-id-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 12px; }
.cz-oid-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: #64748b; margin-bottom: 4px; }
.cz-oid-value { font-size: 19px; font-weight: 800; color: #0f172a; }
.cz-rcpt-block { padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
.cz-rcpt-title { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.cz-rcpt-item-row { display: flex; align-items: center; gap: 12px; }
.cz-rcpt-item-row img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; border: 1px solid #e2e8f0; }
.cz-rcpt-item-meta { flex: 1; min-width: 0; }
.cz-rcpt-item-name { font-size: 13px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-rcpt-item-qty { font-size: 12px; color: #64748b; margin-top: 2px; }
.cz-rcpt-item-sub { font-size: 14px; font-weight: 700; color: #0f172a; }
.cz-rcpt-del-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; }
.cz-rcpt-del-card strong { display: block; font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 3px; }
.cz-rcpt-del-card span { display: block; font-size: 12px; color: #475569; margin-bottom: 3px; }
.cz-rcpt-del-card p { font-size: 12px; color: #64748b; margin: 0; }
.cz-rcpt-pay-text { font-size: 13px; color: #334155; font-weight: 500; }
.cz-rcpt-totals { padding-top: 14px; }
.cz-track-cta-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 999px; background: var(--cz-accent, #f59e0b); color: #111827 !important; font-size: 15px; font-weight: 800; text-decoration: none; transition: 0.2s ease; }
.cz-track-cta-btn:hover { background: #d97706 !important; color: #fff !important; transform: translateY(-1px); }
.cz-track-cta-btn:active { background: #b45309 !important; transform: scale(0.97); }

.cz-track-box { max-width: 480px; margin: 30px auto; background: #fff; padding: 25px; border-radius: 12px; border: 1px solid #e2e8f0; }
.cz-track-box h2 { margin-bottom: 8px; }
.cz-track-box p { font-size: 14px; color: #475569; margin-bottom: 16px; }
.cz-track-form input { width: 100%; padding: 11px; margin-bottom: 12px; border: 1px solid #cbd5e1; border-radius: 8px; }
.cz-track-form button { width: 100%; padding: 12px; background: var(--cz-primary, #2563eb); color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }
.cz-track-form button:hover { background: #1d4ed8 !important; }
.cz-track-form button:active { background: #1e40af !important; transform: scale(0.98); }
.cz-track-result { margin-top: 16px; padding: 14px; border-radius: 8px; font-size: 14px; }
.cz-track-result.success { background: #ecfdf5; border: 1px solid #10b981; color: #065f46; }
.cz-track-result.error { background: #fef2f2; border: 1px solid #ef4444; color: #991b1b; }
.cz-badge { background: var(--cz-order-btn, #10b981); color: #fff; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; font-size: 12px; }
