/* Perfect COD - Master Frontend Styles (V16.0 - All 15 Templates + FOMO) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

.pcod-global-wrapper { --bg: #fff; --inp: #f8fafc; --brd: #e2e8f0; --txt: #0f172a; --lbl: #64748b; --pr-glow: rgba(var(--pr-rgb), 0.15); font-family: 'Cairo', system-ui, -apple-system, sans-serif; }
.pcod-global-wrapper * { box-sizing: border-box; }
.pcod-container { width: 100%; max-width: 500px; margin: 0 auto; padding: 16px 0; }
.pcod-hero-wrapper { width: 100%; max-width: 500px; margin: 0 auto 16px auto; padding: 0 5px; font-family: 'Cairo', system-ui, -apple-system, sans-serif; }

/* 1. HERO BANNERS — Compact Horizontal Strip */
.pcod-hb { width: 100%; position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; }
.pcod-hb-pr { display: flex; flex-direction: column; gap: 2px; line-height: 1; min-width: 0; }
.pcod-hb-right { margin-inline-start: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }

/* Price typography */
.pcod-hb-new { color: var(--pr); font-size: 22px; font-weight: 900; letter-spacing: -0.5px; display: inline-flex; align-items: baseline; gap: 3px; line-height: 1; }
.pcod-hb-new small { font-size: 11px; font-weight: 800; opacity: 0.85; }
.pcod-hb-new-white { color: #fff; font-size: 22px; font-weight: 900; letter-spacing: -0.5px; display: inline-flex; align-items: baseline; gap: 3px; line-height: 1; }
.pcod-hb-new-white small { font-size: 11px; font-weight: 800; opacity: 0.9; }
.pcod-hb-old { font-size: 11px; color: #94a3b8; text-decoration: line-through; font-weight: 700; line-height: 1; }
.pcod-hb-old-white { font-size: 11px; color: rgba(255,255,255,0.55); text-decoration: line-through; font-weight: 700; line-height: 1; }

/* Shared pill badge */
.pcod-hb-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 800; white-space: nowrap; line-height: 1.4; }
.pcod-pill-pr { background: linear-gradient(135deg, var(--pr), rgba(var(--pr-rgb),0.8)); color: #fff; box-shadow: 0 2px 8px rgba(var(--pr-rgb),0.28); }
.pcod-pill-outline { background: transparent; border: 1.5px solid var(--pr); color: var(--pr); }
.pcod-pill-tint { background: rgba(var(--pr-rgb),0.1); border: 1px solid rgba(var(--pr-rgb),0.2); color: var(--pr); }
.pcod-pill-dash { background: transparent; border: 1.5px dashed rgba(var(--pr-rgb),0.5); color: var(--pr); }
.pcod-pill-white { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.pcod-pill-glass { background: rgba(255,255,255,0.75); border: 1px solid rgba(var(--pr-rgb),0.22); color: var(--pr); backdrop-filter: blur(6px); }
.pcod-pill-neon { background: rgba(var(--pr-rgb),0.15); border: 1px solid rgba(var(--pr-rgb),0.4); color: var(--pr); }

/* Shared micro trust row */
.pcod-hb-micro { font-size: 10px; font-weight: 700; color: #94a3b8; display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.pcod-micro-white { color: rgba(255,255,255,0.55) !important; }
.pcod-dot { color: #cbd5e1; font-size: 8px; line-height: 0; position: relative; top: -1px; }
.pcod-micro-white .pcod-dot { color: rgba(255,255,255,0.3); }

/* ── 1. FLOATING ─────────────────────────────────────────────────────── */
.pcod-hb-floating { background: #fff; border: 1px solid #f1f5f9; box-shadow: 0 4px 18px rgba(0,0,0,0.06); }

/* ── 2. NOTE ─────────────────────────────────────────────────────────── */
.pcod-hb-note { background: linear-gradient(to bottom, #fff, #fdfdfe); border: 1.5px solid rgba(var(--pr-rgb),0.18); }

/* ── 3. TINT ─────────────────────────────────────────────────────────── */
.pcod-hb-tint { background: linear-gradient(135deg, rgba(var(--pr-rgb),0.05), rgba(var(--pr-rgb),0.1)); border: 1px solid rgba(var(--pr-rgb),0.13); }

/* ── 4. DASH ─────────────────────────────────────────────────────────── */
.pcod-hb-dash { background: #fafafa; border: 1.5px dashed rgba(var(--pr-rgb),0.38); }

/* ── 5. SOLID ────────────────────────────────────────────────────────── */
.pcod-hb-solid { background: linear-gradient(135deg, var(--pr) 0%, rgba(var(--pr-rgb),0.82) 100%); box-shadow: 0 5px 18px -5px rgba(var(--pr-rgb),0.45); }

/* ── 6. HORIZONTAL ───────────────────────────────────────────────────── */
.pcod-hb-horizontal { background: #fff; border: 1px solid #f1f5f9; box-shadow: 0 3px 12px rgba(0,0,0,0.04); }

/* ── 7. GLASS ────────────────────────────────────────────────────────── */
.pcod-hb-glass { background: linear-gradient(135deg, rgba(var(--pr-rgb),0.07), rgba(var(--pr-rgb),0.02)); border: 1px solid rgba(var(--pr-rgb),0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(var(--pr-rgb),0.07), inset 0 1px 0 rgba(255,255,255,0.8); }

/* ── 8. NEON GLOW ────────────────────────────────────────────────────── */
.pcod-hb-neon { background: linear-gradient(135deg, #0a0a1a 0%, #0e0e2a 100%); border: 1px solid rgba(var(--pr-rgb),0.38); animation: pcodNeonGlow 3s ease-in-out infinite; }
@keyframes pcodNeonGlow { 0%,100% { box-shadow: 0 0 14px rgba(var(--pr-rgb),0.12); } 50% { box-shadow: 0 0 30px rgba(var(--pr-rgb),0.28), 0 0 0 1px rgba(var(--pr-rgb),0.18); } }
.pcod-hb-neon-new { color: var(--pr); font-size: 22px; font-weight: 900; letter-spacing: -0.5px; display: inline-flex; align-items: baseline; gap: 3px; line-height: 1; text-shadow: 0 0 12px rgba(var(--pr-rgb),0.9), 0 0 28px rgba(var(--pr-rgb),0.4); }
.pcod-hb-neon-new small { font-size: 11px; font-weight: 800; }
.pcod-hb-neon-old { font-size: 11px; color: rgba(255,255,255,0.3); text-decoration: line-through; font-weight: 700; }

/* ── 9. SPLIT TWO-TONE ───────────────────────────────────────────────── */
.pcod-hb-split { display: flex; overflow: hidden; border: 1px solid rgba(var(--pr-rgb),0.2); box-shadow: 0 4px 16px rgba(var(--pr-rgb),0.1); padding: 0; background: transparent; }
.pcod-hb-split-price { background: linear-gradient(135deg, var(--pr), rgba(var(--pr-rgb),0.82)); flex: 0 0 45%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 10px; gap: 3px; }
.pcod-hb-split-info { flex: 1; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 12px; gap: 5px; }

/* ── 10. RIBBON ──────────────────────────────────────────────────────── */
.pcod-hb-ribbon { background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 3px 14px rgba(0,0,0,0.05); overflow: hidden; padding-inline-end: 40px; }
.pcod-hb-ribbon-fold { position: absolute; top: 9px; inset-inline-end: -24px; background: linear-gradient(135deg, var(--pr), rgba(var(--pr-rgb),0.85)); color: #fff; font-size: 9px; font-weight: 900; padding: 5px 34px; transform: rotate(45deg); letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(var(--pr-rgb),0.3); }
.pcod-ltr .pcod-hb-ribbon-fold { inset-inline-end: auto; inset-inline-start: -24px; transform: rotate(-45deg); }

/* ── 11. FIRE GRADIENT ───────────────────────────────────────────────── */
.pcod-hb-fire { border: none; box-shadow: 0 5px 20px -5px rgba(var(--pr-rgb),0.5); animation: pcodFireGradient 4s ease-in-out infinite; }
@keyframes pcodFireGradient { 0%,100% { background: linear-gradient(135deg, var(--pr) 0%, rgba(var(--pr-rgb),0.75) 50%, #ff6b35 100%); } 33% { background: linear-gradient(135deg, #ff6b35 0%, var(--pr) 50%, rgba(var(--pr-rgb),0.85) 100%); } 66% { background: linear-gradient(135deg, rgba(var(--pr-rgb),0.85) 0%, #ff6b35 50%, var(--pr) 100%); } }

/* 2. FOMO TRIGGERS — Redesigned */
.pcod-fomo { margin-bottom: 16px; font-size: 13.5px; font-weight: 700; padding: 14px 18px; border-radius: 12px; display: flex; align-items: center; gap: 12px; overflow: visible; position: relative; animation: pcodFomoEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes pcodFomoEntry { 0% { opacity: 0; transform: translateY(-10px) scale(0.97); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

.pcod-fomo-icon { font-size: 16px; line-height: 1; flex-shrink: 0; }
.pcod-f-val { font-variant-numeric: tabular-nums; font-weight: 900; display: inline-block; }

/* ── 1. VIEWERS ─────────────────────────────────────────────────────── */
.pcod-fomo-viewers { background: linear-gradient(135deg, #fff1f2 0%, #fef2f2 100%); color: #be123c; border: 1px solid #fecdd3; border-radius: 30px; justify-content: center; box-shadow: 0 2px 14px rgba(225,29,72,0.08); }
.pcod-vw-dot { width: 10px; height: 10px; background: #e11d48; border-radius: 50%; flex-shrink: 0; animation: pcodPulseDot 1.6s ease-in-out infinite; }
@keyframes pcodPulseDot { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,0.7); } 60% { box-shadow: 0 0 0 9px rgba(225,29,72,0); } 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); } }
.pcod-fomo-viewers .pcod-f-val { transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), color 0.2s; }
.pcod-fomo-viewers .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes pcodValPop { 0% { transform: scale(1); } 50% { transform: scale(1.45); color: #e11d48; } 100% { transform: scale(1); } }

/* ── 2. VIEWERS: GLOW ORB ────────────────────────────────────────────── */
.pcod-fomo-viewers_pulse { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #e2e8f0; justify-content: center; border: 1px solid #334155; box-shadow: 0 4px 20px rgba(0,0,0,0.25); gap: 14px; }
.pcod-vp-orb { position: relative; width: 50px; height: 50px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pcod-vp-orb::before, .pcod-vp-orb::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(250,204,21,0.35); animation: pcodVpRing 2s ease-out infinite; }
.pcod-vp-orb::before { width: 32px; height: 32px; }
.pcod-vp-orb::after { width: 50px; height: 50px; animation-delay: 0.7s; }
@keyframes pcodVpRing { 0% { transform: scale(0.75); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.pcod-vp-orb b { font-size: 18px; font-weight: 900; color: #facc15; text-shadow: 0 0 16px rgba(250,204,21,0.7); position: relative; z-index: 2; }
.pcod-fomo-viewers_pulse .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── 3. VIEWERS: WAVE BARS ───────────────────────────────────────────── */
.pcod-fomo-viewers_wave { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: #fff; justify-content: center; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 4px 20px rgba(79,70,229,0.35); gap: 10px; }
.pcod-vwave-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; flex-shrink: 0; }
.pcod-vwave-bars span { width: 4px; border-radius: 3px 3px 0 0; background: rgba(255,255,255,0.9); animation: pcodWaveBar 1.1s ease-in-out infinite; }
.pcod-vwave-bars span:nth-child(1) { height: 8px; animation-delay: 0s; }
.pcod-vwave-bars span:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.pcod-vwave-bars span:nth-child(3) { height: 22px; animation-delay: 0.3s; }
.pcod-vwave-bars span:nth-child(4) { height: 14px; animation-delay: 0.45s; }
.pcod-vwave-bars span:nth-child(5) { height: 8px; animation-delay: 0.6s; }
@keyframes pcodWaveBar { 0%, 100% { transform: scaleY(1); opacity: 0.65; } 50% { transform: scaleY(0.25); opacity: 1; } }
.pcod-fomo-viewers_wave .pcod-f-val { color: #fef08a; font-size: 15px; }
.pcod-fomo-viewers_wave .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── 4. VIEWERS: CROWD ICONS ─────────────────────────────────────────── */
.pcod-fomo-viewers_crowd { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #1e40af; border: 1px solid #bfdbfe; justify-content: center; box-shadow: 0 2px 14px rgba(37,99,235,0.1); gap: 10px; }
.pcod-vcrowd-icons { display: flex; align-items: center; direction: ltr; flex-shrink: 0; }
.pcod-vcrowd-icons svg { color: #3b82f6; margin-left: -5px; }
.pcod-vcrowd-icons svg:first-child { margin-left: 0; }
.pcod-vcrowd-icons svg:nth-child(2) { opacity: 0.7; }
.pcod-vcrowd-icons svg:nth-child(3) { opacity: 0.4; }
.pcod-fomo-viewers_crowd .pcod-f-val { color: #1d4ed8; font-size: 15px; }
.pcod-fomo-viewers_crowd .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── 5. VIEWERS: BRAND BADGE ─────────────────────────────────────────── */
.pcod-fomo-viewers_badge { background: #ffffff; color: #374151; border: 1px solid #e5e7eb; justify-content: center; box-shadow: 0 4px 18px rgba(0,0,0,0.07); gap: 14px; }
.pcod-vbadge-num { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--pr), rgba(var(--pr-rgb),0.75)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 14px rgba(var(--pr-rgb),0.4); animation: pcodBadgePulse 2.5s ease-in-out infinite; }
@keyframes pcodBadgePulse { 0%,100% { box-shadow: 0 4px 14px rgba(var(--pr-rgb),0.4); } 50% { box-shadow: 0 4px 22px rgba(var(--pr-rgb),0.65), 0 0 0 6px rgba(var(--pr-rgb),0.1); } }
.pcod-vbadge-num b { font-size: 16px; font-weight: 900; color: #fff; }
.pcod-fomo-viewers_badge .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── 6. VIEWERS: TYPING DOTS ─────────────────────────────────────────── */
.pcod-fomo-viewers_typing { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); color: #475569; border: 1px solid #e2e8f0; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-radius: 20px; gap: 10px; }
.pcod-vtyping-dots { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.pcod-vtyping-dots span { width: 7px; height: 7px; background: #94a3b8; border-radius: 50%; animation: pcodTypingDot 1.4s ease-in-out infinite; }
.pcod-vtyping-dots span:nth-child(2) { animation-delay: 0.2s; }
.pcod-vtyping-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pcodTypingDot { 0%,60%,100% { transform: translateY(0); background: #94a3b8; } 30% { transform: translateY(-6px); background: var(--pr); } }
.pcod-fomo-viewers_typing .pcod-f-val { color: #1e293b; font-size: 15px; }
.pcod-fomo-viewers_typing .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── 7. SALES ────────────────────────────────────────────────────────── */
.pcod-fomo-sales { background: linear-gradient(135deg, #fff1f2 0%, #fff8f8 100%); color: #be123c; border-right: 4px solid #f43f5e; justify-content: center; position: relative; overflow: hidden; box-shadow: 0 2px 14px rgba(244,63,94,0.08); }
.pcod-ltr .pcod-fomo-sales { border-right: none; border-left: 4px solid #f43f5e; }
.pcod-fomo-sales::after { content: ""; position: absolute; top: 0; left: -100%; width: 55%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.7), transparent); transform: skewX(-20deg); animation: pcodShimmer 2.8s 0.8s infinite; }
@keyframes pcodShimmer { 100% { left: 200%; } }
.pcod-fomo-sales.pcod-sale-flash { animation: pcodSaleFlash 0.7s ease-out; }
@keyframes pcodSaleFlash { 0% { background: linear-gradient(135deg,#fce7f3,#fff1f2); box-shadow: 0 0 0 3px rgba(244,63,94,0.2); } 100% { background: linear-gradient(135deg,#fff1f2,#fff8f8); box-shadow: none; } }
.pcod-fomo-sales .pcod-f-val { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), color 0.2s; }
.pcod-fomo-sales .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── 4. TIMER ────────────────────────────────────────────────────────── */
.pcod-fomo-timer { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #e2e8f0; justify-content: center; font-size: 14px; border: 1px solid #334155; box-shadow: 0 4px 20px rgba(0,0,0,0.2); gap: 10px; }
.pcod-f-timer { color: #facc15; font-variant-numeric: tabular-nums; letter-spacing: 3px; font-size: 20px; font-weight: 900; text-shadow: 0 0 12px rgba(250,204,21,0.5); font-family: 'Courier New', monospace; transition: color 0.4s, text-shadow 0.4s; }
.pcod-timer-urgent { animation: pcodTimerUrgentBg 1s ease-in-out infinite alternate; }
@keyframes pcodTimerUrgentBg { from { background: linear-gradient(135deg,#1a0505,#2d0a0a); } to { background: linear-gradient(135deg,#2d0a0a,#450d0d); } }
.pcod-timer-urgent .pcod-f-timer { color: #ef4444 !important; text-shadow: 0 0 18px rgba(239,68,68,0.8) !important; animation: pcodTimerBlink 0.7s ease-in-out infinite; }
@keyframes pcodTimerBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── 5. DELIVERY ─────────────────────────────────────────────────────── */
.pcod-fomo-delivery { background: linear-gradient(135deg, #f0fdf4 0%, #f7fef9 100%); color: #166534; border: 1px solid #bbf7d0; box-shadow: 0 2px 14px rgba(21,128,61,0.08); align-items: center; flex-wrap: nowrap; }
.pcod-del-content { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.pcod-del-label { font-size: 12px; font-weight: 700; color: #166534; opacity: 0.85; }
.pcod-del-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pcod-del-b { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; opacity: 0; animation: pcodDateSlide 0.5s cubic-bezier(0.16,1,0.3,1) forwards; white-space: nowrap; }
.pcod-del-b:nth-child(1) { animation-delay: 0.25s; }
.pcod-del-b:nth-child(2) { animation-delay: 0.45s; }
.pcod-del-b:nth-child(3) { animation-delay: 0.65s; }
.pcod-del-b-hot { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; border-color: #fbbf24; }
@keyframes pcodDateSlide { 0% { opacity: 0; transform: translateY(8px) scale(0.9); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

/* ── 8. LAST ORDER ──────────────────────────────────────────────────── */
.pcod-fomo-last_order { background: linear-gradient(135deg, #fffbeb 0%, #fef9f0 100%); color: #92400e; border: 1px solid #fde68a; justify-content: center; box-shadow: 0 2px 14px rgba(245,158,11,0.1); }
.pcod-fomo-last_order .pcod-f-val { color: #b45309; }
.pcod-fomo-last_order .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes pcodLoFlash { 0% { background: linear-gradient(135deg,#fef3c7,#fffbeb); } 100% { background: linear-gradient(135deg,#fffbeb,#fef9f0); } }
.pcod-lo-flash { animation: pcodLoFlash 0.8s ease-out; }

/* ── 9. LIMITED OFFER ───────────────────────────────────────────────── */
.pcod-fomo-limited_offer { background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%); color: #9a3412; border: 1px solid #fca5a5; justify-content: center; box-shadow: 0 2px 14px rgba(239,68,68,0.1); animation: pcodFomoEntry 0.6s cubic-bezier(0.16,1,0.3,1) both, pcodLimPulse 3s 1.2s ease-in-out infinite; }
.pcod-fomo-limited_offer .pcod-f-val { color: #dc2626; }
.pcod-fomo-limited_offer .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes pcodLimPulse { 0%,100% { box-shadow: 0 2px 8px rgba(239,68,68,0.08); } 50% { box-shadow: 0 4px 20px rgba(239,68,68,0.22), 0 0 0 3px rgba(239,68,68,0.08); } }
@keyframes pcodLimFlash { 0% { background: linear-gradient(135deg,#fee2e2,#fef2f2); transform: scale(1.01); } 100% { background: linear-gradient(135deg,#fef2f2,#fff5f5); transform: scale(1); } }
.pcod-lim-flash { animation: pcodLimFlash 0.6s ease-out; }

/* ── 10. SOCIAL PROOF ───────────────────────────────────────────────── */
.pcod-fomo-social_proof { background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%); color: #1e3a5f; border: 1px solid #bae6fd; justify-content: center; gap: 16px; box-shadow: 0 2px 14px rgba(14,165,233,0.08); direction: ltr; }
.pcod-sp-stat { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; }
.pcod-sp-lbl { direction: rtl; }
.pcod-sp-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pcod-sp-dot-red { background: #ef4444; animation: pcodPulseDot 1.6s ease-in-out infinite; }
.pcod-sp-dot-green { background: #10b981; }
.pcod-sp-divider { color: #cbd5e1; font-size: 20px; font-weight: 300; line-height: 1; }
.pcod-f-val2 { font-variant-numeric: tabular-nums; font-weight: 900; display: inline-block; }
.pcod-fomo-social_proof .pcod-f-val.pcod-val-pop, .pcod-fomo-social_proof .pcod-f-val2.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* ── 6. PULSE ALERT ──────────────────────────────────────────────────── */
.pcod-fomo-pulse_alert { background: #fff; color: #b91c1c; border: 2px solid #fecaca; justify-content: center; overflow: visible; animation: pcodFomoEntry 0.6s cubic-bezier(0.16,1,0.3,1) both, pcodWidgetPulse 3.5s 1.5s ease-in-out infinite; }
@keyframes pcodWidgetPulse { 0%,100% { box-shadow: 0 2px 8px rgba(239,68,68,0.05); } 50% { box-shadow: 0 4px 22px rgba(239,68,68,0.22), 0 0 0 4px rgba(239,68,68,0.07); } }
.pcod-pulse-ring { width: 14px; height: 14px; border-radius: 50%; background: #ef4444; flex-shrink: 0; position: relative; }
.pcod-pulse-ring::before, .pcod-pulse-ring::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #ef4444; animation: pcodRadarRing 2s ease-out infinite; }
.pcod-pulse-ring::after { animation-delay: 0.8s; }
@keyframes pcodRadarRing { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }

/* ── 7. VISITORS AVATARS ─────────────────────────────────────────────── */
.pcod-fomo-visitors_avatars { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border: 1px solid #e2e8f0; color: #334155; box-shadow: 0 2px 14px rgba(0,0,0,0.04); overflow: visible; }
.pcod-avatars { display: flex; direction: ltr; flex-shrink: 0; }
.pcod-av { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: #fff; letter-spacing: 0; opacity: 0; animation: pcodAvatarPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.pcod-av:first-child { margin-left: 0; }
.pcod-av:nth-child(1) { animation-delay: 0.15s; }
.pcod-av:nth-child(2) { animation-delay: 0.3s; }
.pcod-av:nth-child(3) { animation-delay: 0.45s; }
@keyframes pcodAvatarPop { 0% { transform: scale(0) translateY(6px); opacity: 0; } 70% { transform: scale(1.15) translateY(-2px); opacity: 1; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
.pcod-fomo-visitors_avatars .pcod-f-val { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.pcod-fomo-visitors_avatars .pcod-f-val.pcod-val-pop { animation: pcodValPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

/* 3. BASE FORM ELEMENTS */
.pcod-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 16px; color: var(--txt); }
.pcod-lbl { font-size: 0.85rem; font-weight: 700; color: var(--lbl); margin-bottom: 6px; display: block; text-transform: uppercase; letter-spacing: 0.5px; }
.pcod-inp { width: 100%; padding: 12px 16px; font-size: 15px; border: 1px solid var(--brd); border-radius: 12px !important; background: var(--inp); color: var(--txt); transition: all 0.2s ease; outline: none; font-family: inherit; font-weight: 600; text-align: right; }
.pcod-ltr .pcod-inp { text-align: left; }
.pcod-inp[dir="ltr"] { text-align: left; }
.pcod-inp:focus { border-color: var(--pr); box-shadow: 0 0 0 4px var(--pr-glow); background: #fff; }
.pcod-row { margin-bottom: 14px; } 
.pcod-sec { margin-bottom: 20px; }
.pcod-grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width: 480px) { .pcod-grid-2-col { grid-template-columns: 1fr; } }

/* 4. FORM TEMPLATES */

/* 1. STEPPED CARDS */
.pcod-f-stepped_cards .pcod-step { background: #fff; border: 1px solid var(--brd); border-radius: 12px; padding: 16px 16px 16px 20px; margin-bottom: 12px; position: relative; overflow: hidden; }
.pcod-f-stepped_cards .pcod-step::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 5px; background: var(--pr); border-radius: 4px 0 0 4px; }
.pcod-ltr.pcod-f-stepped_cards .pcod-step { padding: 16px 20px 16px 16px; }
.pcod-ltr.pcod-f-stepped_cards .pcod-step::before { right: auto; left: 0; border-radius: 0 4px 4px 0; }
.pcod-f-stepped_cards .pcod-row { margin-bottom: 20px; }
.pcod-f-stepped_cards .pcod-lbl { margin-bottom: 8px; font-size: 13px; display: flex; justify-content: space-between; width: 100%; }
.pcod-f-stepped_cards .pcod-inp { height: 50px; border-radius: 12px !important; }

/* 2. ULTRA MINIMAL LINE */
.pcod-f-ultra_minimal_line .pcod-inp { border: none; border-bottom: 2px solid var(--brd); border-radius: 0; background: transparent; padding: 8px 4px; }
.pcod-f-ultra_minimal_line .pcod-inp:focus { box-shadow: none; border-bottom-color: var(--pr); }

/* 3. ICON BOXED */
.pcod-f-icon_boxed .pcod-lbl { display: none; }
.pcod-ib-wrap { display: flex; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff; height: 48px; transition: 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.pcod-ib-wrap:focus-within { border-color: var(--pr); box-shadow: 0 0 0 4px var(--pr-glow); }
.pcod-ib-icon { width: 48px; background: #f8fafc; border-left: 1px solid #e2e8f0; display: flex; justify-content: center; align-items: center; color: #64748b; flex-shrink: 0; transition: color 0.2s; }
.pcod-ib-wrap:focus-within .pcod-ib-icon { color: var(--pr); }
.pcod-ltr .pcod-ib-icon { border-left: none; border-right: 1px solid #e2e8f0; }
.pcod-ib-input { flex: 1; }
.pcod-ib-input .pcod-inp { height: 100%; border: none !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 16px; }
.pcod-ib-input textarea.pcod-inp { height: 80px; padding-top: 12px; resize: none; }
.pcod-row-address .pcod-ib-wrap { height: auto; }

/* 4. DASHED */
.pcod-f-dashed .pcod-step { border: 2px dashed #cbd5e1; background: #f8fafc; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.pcod-sec-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; color: var(--txt); border-bottom: 1px solid var(--brd); padding-bottom: 8px; }

/* 5. CLASSIC */
.pcod-f-classic { background: #fff; border: 1px solid var(--brd); padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }

/* 6. GLASS */
.pcod-f-glass { background: rgba(255,255,255,0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.5); padding: 20px; border-radius: 16px; box-shadow: 0 8px 32px rgba(31,38,135,0.05); }

/* 7. DARK */
.pcod-f-dark { background: #0f172a; padding: 24px; border-radius: 14px; color: #f8fafc; }
.pcod-f-dark .pcod-title { color: #fff; }
.pcod-f-dark .pcod-lbl { color: #94a3b8; }
.pcod-f-dark .pcod-inp { background: #1e293b; border-color: #334155; color: #fff; }
.pcod-f-dark .pcod-inp:focus { border-color: var(--pr); }

/* 8. COD EXPRESS */
.pcod-f-cod_express { padding: 12px; background: #fff; border-radius: 8px; border: 2px solid #f1f5f9; }
.pcod-f-cod_express .pcod-row { margin-bottom: 8px; }
.pcod-f-cod_express .pcod-inp { padding: 10px 14px; font-size: 14px; }
.pcod-f-cod_express .pcod-sec { margin-bottom: 12px; }

/* 9. TRUST FOCUSED */
.pcod-f-trust_focused { padding: 25px; background: #f8fafc; border: 1px solid #e2e8f0; border-top: 4px solid var(--pr); border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }

/* 10. NEO BRUTALISM */
.pcod-f-neo_brutalism { padding: 24px; background: #fff; border: 3px solid #000; border-radius: 4px; box-shadow: 6px 6px 0px rgba(var(--pr-rgb),0.3); }
.pcod-f-neo_brutalism .pcod-inp { border: 2px solid #000; border-radius: 4px; background: #fff; transition: all 0.1s; }
.pcod-f-neo_brutalism .pcod-inp:focus { box-shadow: 4px 4px 0px var(--pr); transform: translate(-2px,-2px); }
.pcod-f-neo_brutalism .pcod-btn { border: 2px solid #000; box-shadow: 4px 4px 0px #000; border-radius: 4px; }
.pcod-f-neo_brutalism .pcod-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0px #000; }

/* 11. LUXURY FASHION */
.pcod-f-luxury_fashion { padding: 30px 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 0; text-align: center; }
.pcod-f-luxury_fashion .pcod-title { font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
.pcod-f-luxury_fashion .pcod-inp { border: none; border-bottom: 1px solid #d1d5db; border-radius: 0; background: transparent; padding: 10px 0; text-align: center; font-weight: 400; }
.pcod-f-luxury_fashion .pcod-inp:focus { border-bottom-color: #000; box-shadow: none; }
.pcod-f-luxury_fashion .pcod-lbl { display: none; }
.pcod-f-luxury_fashion .pcod-btn { border-radius: 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; background: #000; color: #fff; box-shadow: none; }

/* 12. WA CHAT */
.pcod-f-wa_chat { padding: 20px; background: #efeae2; border-radius: 16px; border: 1px solid #e2e8f0; }
.pcod-f-wa_chat .pcod-row { display: flex; flex-direction: column; align-items: flex-start; }
.pcod-ltr.pcod-f-wa_chat .pcod-row { align-items: flex-end; }
.pcod-f-wa_chat .pcod-lbl { background: #fff; padding: 6px 12px; border-radius: 12px 12px 12px 0px; margin-bottom: 6px; display: inline-block; box-shadow: 0 1px 1px rgba(0,0,0,0.1); color: #111827; font-weight: 600; text-transform: none; font-size: 13px; }
.pcod-ltr.pcod-f-wa_chat .pcod-lbl { border-radius: 12px 12px 0 12px; background: #dcf8c6; }
.pcod-f-wa_chat .pcod-inp { border: none; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); padding: 12px 16px; background: #fff; }

/* 15. FLOATING LABELS */
.pcod-f-floating_labels .pcod-flt-r { position: relative; margin-bottom: 0; }
.pcod-f-floating_labels .pcod-lbl { display: none; }
.pcod-f-floating_labels .pcod-inp { height: 56px; padding-top: 22px; padding-bottom: 6px; }
.pcod-f-floating_labels textarea.pcod-inp { height: 72px; padding-top: 22px; resize: none; }
.pcod-f-floating_labels .pcod-flt-l { position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); font-size: 14px; color: var(--lbl); font-weight: 600; pointer-events: none; transition: all 0.18s ease; white-space: nowrap; }
.pcod-f-floating_labels textarea ~ .pcod-flt-l { top: 28%; }
.pcod-f-floating_labels .pcod-inp:not(:placeholder-shown) ~ .pcod-flt-l,
.pcod-f-floating_labels .pcod-inp:focus ~ .pcod-flt-l { top: 28%; inset-inline-end: 14px; font-size: 11px; font-weight: 700; color: var(--pr); transform: translateY(-50%); }
.pcod-f-floating_labels .pcod-inp:focus ~ .pcod-flt-l { color: var(--pr); }

/* 13. FLAT GRID */
.pcod-f-flat_grid { padding: 16px; background: #fff; }
.pcod-f-flat_grid .pcod-lbl { display: none !important; }
.pcod-f-flat_grid .pcod-title { font-size: 0.95rem; font-weight: 600; color: var(--pr); text-align: end; margin-bottom: 14px; }
.pcod-f-flat_grid .pcod-f-grid.pcod-grid-2-col { gap: 10px; }
.pcod-f-flat_grid .pcod-row { margin-bottom: 0; }
.pcod-f-flat_grid .pcod-inp { padding: 12px 14px; font-size: 14px; border-radius: 6px !important; border: 1.5px solid #d1d5db; background: #fff; color: #374151; font-weight: 400; box-shadow: none; height: 48px; }
.pcod-f-flat_grid textarea.pcod-inp { height: 48px !important; resize: none; overflow: hidden; padding-top: 14px; }
.pcod-f-flat_grid .pcod-inp::placeholder { color: #9ca3af; font-weight: 400; }
.pcod-f-flat_grid .pcod-inp:focus { border-color: var(--pr); box-shadow: 0 0 0 3px var(--pr-glow); background: #fff; }
.pcod-f-flat_grid .pcod-btn { border-radius: 8px; font-size: 16px; font-weight: 800; margin-top: 14px; box-shadow: none; background: var(--pr); }
.pcod-f-flat_grid .pcod-btn:hover { transform: none; box-shadow: none; opacity: 0.9; }
@media(max-width: 400px) { .pcod-f-flat_grid .pcod-f-grid.pcod-grid-2-col { grid-template-columns: 1fr; } }

/* 14. OUTLINED DASHED */
.pcod-f-outlined_dashed { border: 2px solid var(--pr); border-radius: 14px; padding: 16px; background: #fff; }
.pcod-f-outlined_dashed .pcod-lbl { display: none !important; }
.pcod-f-outlined_dashed .pcod-title { font-size: 0.9rem; font-weight: 600; color: var(--pr); text-align: end; margin-bottom: 14px; }
.pcod-f-outlined_dashed .pcod-f-grid.pcod-grid-2-col { gap: 10px; }
.pcod-f-outlined_dashed .pcod-row { margin-bottom: 0; }
.pcod-f-outlined_dashed .pcod-inp { padding: 12px 14px; font-size: 14px; border-radius: 6px !important; border: 1.5px dashed var(--pr) !important; background: #fff; font-weight: 400; box-shadow: none; height: 48px; color: #374151; }
.pcod-f-outlined_dashed textarea.pcod-inp { height: 48px !important; resize: none; overflow: hidden; padding-top: 14px; }
.pcod-f-outlined_dashed .pcod-inp::placeholder { color: var(--pr); opacity: 0.55; font-weight: 400; }
.pcod-f-outlined_dashed .pcod-inp:focus { border-style: solid !important; box-shadow: 0 0 0 3px var(--pr-glow); background: #fff; }
.pcod-f-outlined_dashed .pcod-btn { border-radius: 8px; font-size: 16px; font-weight: 800; margin-top: 14px; box-shadow: none; background: var(--pr); }
.pcod-f-outlined_dashed .pcod-btn:hover { transform: none; box-shadow: none; opacity: 0.9; }
@media(max-width: 400px) { .pcod-f-outlined_dashed .pcod-f-grid.pcod-grid-2-col { grid-template-columns: 1fr; } }

/* 5. QUANTITY SELECTORS & VARIATIONS */
.pcod-q-css { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.pcod-hid-rad { display: none; }
.pcod-qlbl { border: 2px solid var(--brd); background: var(--bg); cursor: pointer; transition: all 0.2s ease; position: relative; border-radius: 10px; display: flex; }
.pcod-qty-rad:checked + .pcod-qlbl { border-color: var(--pr) !important; background: var(--pr-glow) !important; box-shadow: 0 4px 12px rgba(var(--pr-rgb), 0.1); }

.pcod-q-cards_price .pcod-qlbl, .pcod-q-compact_grid .pcod-qlbl { flex: 1; flex-direction: column; justify-content: center; align-items: center; padding: 12px 6px; text-align: center; overflow: visible; } 
.pcod-q-cards_price .pcod-qt { font-size: 13px; font-weight: 800; color: var(--lbl); transition: 0.2s; } 
.pcod-q-cards_price .pcod-qp { font-size: 15px; font-weight: 900; color: var(--txt); margin-top: 4px; transition: 0.2s; } 
.pcod-q-cards_price .pcod-qb { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 10px; white-space: nowrap; box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3); } 
.pcod-qty-rad:checked + .pcod-qlbl .pcod-qt, .pcod-qty-rad:checked + .pcod-qlbl .pcod-qp { color: var(--pr); }

.pcod-q-stacked_rows { flex-direction: column; gap: 6px; }
.pcod-q-stacked_rows .pcod-qlbl { padding: 12px 16px; justify-content: space-between; align-items: center; width: 100%; }
.pcod-q-stacked_rows .pcod-qlbl div { display: flex; flex-direction: column; gap: 2px; }
.pcod-q-stacked_rows .pcod-qlbl span { font-size: 14px; font-weight: 800; color: var(--txt); }
.pcod-q-stacked_rows .pcod-qlbl small { font-size: 11px; color: #16a34a; font-weight: 700; background: #dcfce7; padding: 2px 6px; border-radius: 4px; display: inline-block; width: fit-content; }
.pcod-q-stacked_rows .pcod-qlbl b { font-size: 16px; font-weight: 900; color: var(--txt); }


.pcod-q-badge_list { flex-direction: column; gap: 8px; }
.pcod-q-badge_list .pcod-qlbl { justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; border: 1px solid #f1f5f9; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.pcod-bl-c { display: flex; align-items: center; gap: 10px; }
.pcod-bl-r { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; position: relative; }
.pcod-qty-rad:checked + .pcod-qlbl .pcod-bl-r { border-color: var(--pr); }
.pcod-qty-rad:checked + .pcod-qlbl .pcod-bl-r::after { content:""; position:absolute; inset:2px; background:var(--pr); border-radius:50%; }
.pcod-bl-c span { font-weight: 800; font-size: 14px; color: var(--txt); }
.pcod-bl-p { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 15px; }
.pcod-bl-b { background: #ef4444; color: #fff; font-size: 10px; padding: 3px 6px; border-radius: 4px; }

.pcod-qty-inp { font-size: 15px; font-weight: 700; cursor: pointer; height: 44px; }
.pcod-q-cnt { display: flex; align-items: center; border: 2px solid var(--brd); border-radius: 8px; overflow: hidden; width: fit-content; }
.pcod-q-cnt button { background: #f8fafc; border: none; width: 40px; height: 40px; font-size: 18px; font-weight: 600; color: var(--txt); cursor: pointer; transition: 0.2s; }
.pcod-q-cnt button:hover { background: #e2e8f0; }
.pcod-q-cnt input { width: 50px; height: 40px; border: none; text-align: center; font-size: 16px; font-weight: 800; color: var(--txt); background: #fff; pointer-events: none; }

.pcod-pill-grp { display: flex; flex-wrap: wrap; gap: 8px; }
.pcod-plbl { display: inline-flex; align-items: center; padding: 8px 16px; border: 2px solid var(--brd); border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--lbl); background: var(--bg); cursor: pointer; transition: all 0.2s ease; user-select: none; }
.pcod-hid-rad:checked + .pcod-plbl { border-color: var(--pr); color: var(--pr); background: rgba(var(--pr-rgb),0.06); box-shadow: 0 2px 6px rgba(var(--pr-rgb), 0.1); }
.pcod-sw { width: 32px; height: 32px; display: inline-block; cursor: pointer; border: 2px solid #e2e8f0; transition: 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.pcod-sw-circle { border-radius: 50%; } .pcod-sw-rounded { border-radius: 6px; }
.pcod-hid-rad:checked + .pcod-sw { border-color: var(--pr); transform: scale(1.1); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--pr); }
.pcod-cdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin: 0 0 0 6px; }
.pcod-ltr .pcod-cdot { margin: 0 6px 0 0; }

/* 6. BUTTONS, POPUPS & STICKY BARS */
.pcod-btn { width: 100%; background: linear-gradient(135deg, var(--pr) 0%, rgba(var(--pr-rgb), 0.8) 100%); color: #fff; padding: 16px; font-size: 17px; font-weight: 800; border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; margin-top: 8px; position: relative; overflow: hidden; box-shadow: 0 4px 12px rgba(var(--pr-rgb), 0.25); }
.pcod-btn-wa { display: flex; align-items: center; justify-content: center; width: 100%; padding: 14px; font-size: 15px; font-weight: 800; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; margin-top: 10px; }
.pcod-wa-solid { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; border: none; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25); } 
.pcod-wa-outline { background: transparent; color: #128C7E; border: 2px solid #25D366; }
.pcod-wa-soft { background: #dcf8c6; color: #075e54; border: 1px solid rgba(37, 211, 102, 0.2); box-shadow: none; }
.pcod-btn:hover, .pcod-btn-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(var(--pr-rgb), 0.35); }
.pcod-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.pcod-pop-trig { width: 100%; max-width: 400px; padding: 16px 20px; font-size: 17px; font-weight: 800; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; margin: 0 auto; display: block; }
.pcod-pop-solid { background: linear-gradient(135deg, var(--pop-c), rgba(var(--pop-c), 0.85)); color: #fff; border: none; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.pcod-pop-outline { background: transparent; color: var(--pop-c); border: 2px solid var(--pop-c); }
.pcod-pop-glow { background: var(--pop-c); color: #fff; border: none; animation: pcodGlow 2s infinite; }
@keyframes pcodGlow { 0% { box-shadow: 0 0 0 0 rgba(var(--pop-c), 0.6); } 70% { box-shadow: 0 0 0 12px rgba(var(--pop-c), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--pop-c), 0); } }

.pcod-pop-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,0.6); z-index: 99999; display: none; justify-content: center; align-items: flex-end; padding: 0; backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s ease; }
.pcod-pop-overlay.pcod-pop-show { display: flex; opacity: 1; }
.pcod-pop-box { background: #fff; border-radius: 20px 20px 0 0; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 -8px 30px rgba(0,0,0,0.2); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); padding: 24px 16px; }
@media(min-width: 601px) { .pcod-pop-overlay { align-items: center; padding: 20px; } .pcod-pop-box { border-radius: 16px; transform: scale(0.95); } }
.pcod-pop-show .pcod-pop-box { transform: translateY(0); }
@media(min-width: 601px) { .pcod-pop-show .pcod-pop-box { transform: scale(1); } }
.pcod-pop-close { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; border: none; color: #64748b; font-size: 16px; cursor: pointer; display: flex; justify-content: center; align-items: center; z-index: 10; transition: 0.2s; font-family: sans-serif; }
.pcod-pop-close:hover { background: #e2e8f0; color: #0f172a; transform: rotate(90deg); }
.pcod-ltr .pcod-pop-close { left: auto; right: 12px; } 

.pcod-sticky-bar { display: none !important; }
@media (max-width: 768px) {
    .pcod-sticky-bar { display: block !important; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999999; padding: 12px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); transform: translateY(150%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .pcod-sticky-bar.pcod-sb-show { transform: translateY(0); }
    .pcod-sb-light { background: #ffffff; border-top: 1px solid #e2e8f0; }
    .pcod-sb-dark { background: #0f172a; border-top: 1px solid #1e293b; color: #ffffff; }
    .pcod-sb-inner { display: flex; justify-content: space-between; align-items: center; max-width: 500px; margin: 0 auto; gap: 12px; }
    .pcod-sb-price { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
    .pcod-ltr .pcod-sb-price { text-align: right; }
    .pcod-sb-n { font-size: 18px; font-weight: 900; color: inherit; display: inline-flex; gap: 4px; align-items: baseline; }
    .pcod-sb-light .pcod-sb-n { color: #0f172a; }
    .pcod-sb-o { font-size: 12px; text-decoration: line-through; opacity: 0.6; font-weight: 600; margin-top: 2px; }
    .pcod-sb-btn { flex: 1; background: linear-gradient(135deg, var(--pr) 0%, rgba(var(--pr-rgb), 0.8) 100%) !important; color: #fff; border: none; padding: 12px 20px; font-size: 16px; font-weight: 800; border-radius: 8px; cursor: pointer; white-space: nowrap; box-shadow: 0 4px 10px rgba(var(--pr-rgb), 0.3); }
}

/* ═══════════════════════════════════════════════════════════════════════
   ORDER STATUS PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.pcod-os-wrap { max-width: 460px; margin: 16px auto; padding: 0 12px; font-family: 'Cairo', system-ui, -apple-system, sans-serif; display: flex; flex-direction: column; gap: 10px; }
.pcod-os-wrap * { box-sizing: border-box; }

/* ── Header ─────────────────────────────────────────────────────────── */
.pcod-os-header { text-align: center; padding: 24px 20px 20px; background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; }
.pcod-os-icon { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--pr), rgba(var(--pr-rgb),0.8)); color: #fff; font-size: 24px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; box-shadow: 0 6px 20px rgba(var(--pr-rgb),0.3); animation: pcodOsIconPop 0.6s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes pcodOsIconPop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.pcod-os-cancelled .pcod-os-icon { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 6px 20px rgba(239,68,68,0.3); }
.pcod-os-title { font-size: 17px; font-weight: 800; color: #0f172a; margin: 0 0 5px; }
.pcod-os-subtitle { font-size: 13px; color: #64748b; font-weight: 600; margin: 0 0 12px; }
.pcod-os-order-pill { display: inline-flex; align-items: center; gap: 4px; background: rgba(var(--pr-rgb),0.08); color: var(--pr); padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 800; }

/* ── Timeline ───────────────────────────────────────────────────────── */
.pcod-os-timeline { display: flex; align-items: flex-start; justify-content: center; padding: 16px; background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.pcod-os-step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.pcod-os-step-wrap { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }
.pcod-os-dot { width: 26px; height: 26px; border-radius: 50%; background: #f1f5f9; border: 2px solid #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; color: #94a3b8; flex-shrink: 0; position: relative; z-index: 2; transition: all 0.4s ease; }
.pcod-os-done .pcod-os-dot { background: linear-gradient(135deg, var(--pr), rgba(var(--pr-rgb),0.8)); border-color: transparent; color: #fff; box-shadow: 0 2px 10px rgba(var(--pr-rgb),0.3); }
.pcod-os-current .pcod-os-dot { animation: pcodOsDotPulse 2s ease-in-out infinite; }
@keyframes pcodOsDotPulse { 0%,100% { box-shadow: 0 2px 10px rgba(var(--pr-rgb),0.3); } 50% { box-shadow: 0 2px 18px rgba(var(--pr-rgb),0.55), 0 0 0 4px rgba(var(--pr-rgb),0.1); } }
.pcod-os-line { position: absolute; top: 50%; left: calc(50% + 13px); right: calc(-50% + 13px); height: 2px; background: #e2e8f0; transform: translateY(-50%); z-index: 1; transition: background 0.4s; }
.pcod-os-line-done { background: linear-gradient(to right, var(--pr), rgba(var(--pr-rgb),0.5)); }
.pcod-os-step-lbl { font-size: 10px; font-weight: 700; color: #94a3b8; margin-top: 7px; text-align: center; line-height: 1.3; padding: 0 2px; }
.pcod-os-done .pcod-os-step-lbl { color: var(--pr); }

/* ── Order Card ─────────────────────────────────────────────────────── */
.pcod-os-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; padding: 16px; }
.pcod-os-product { display: flex; align-items: center; gap: 12px; }
.pcod-os-prod-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1px solid #f1f5f9; }
.pcod-os-prod-ph { display: flex; align-items: center; justify-content: center; font-size: 22px; background: #f8fafc; }
.pcod-os-prod-info { flex: 1; min-width: 0; }
.pcod-os-prod-name { font-size: 14px; font-weight: 800; color: #0f172a; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcod-os-prod-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #64748b; font-weight: 600; }
.pcod-os-prod-total { color: var(--pr); font-weight: 800; }
.pcod-os-sep { height: 1px; background: #f1f5f9; margin: 14px 0; }
.pcod-os-det-title { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 10px; }
.pcod-os-details { display: flex; flex-direction: column; gap: 8px; }
.pcod-os-det-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #334155; }
.pcod-os-det-ic { font-size: 14px; flex-shrink: 0; width: 20px; text-align: center; }

/* ── Action Buttons ─────────────────────────────────────────────────── */
.pcod-os-actions { display: flex; flex-direction: column; gap: 8px; }
.pcod-os-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; border: none; font-family: inherit; cursor: pointer; transition: all 0.2s ease; }
.pcod-os-btn-wa { background: #25d366; color: #fff !important; box-shadow: 0 4px 14px rgba(37,211,102,0.28); }
.pcod-os-btn-wa:hover { background: #20b858; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,211,102,0.38); }
.pcod-os-btn-ghost { background: #fff; color: #64748b !important; border: 1.5px solid #e2e8f0; }
.pcod-os-btn-ghost:hover { border-color: var(--pr); color: var(--pr) !important; }

/* ── Lookup / Track Form ────────────────────────────────────────────── */
.pcod-os-lookup-wrap { margin: 20px auto; }
.pcod-os-lookup-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; padding: 28px 20px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.pcod-os-lookup-icon { font-size: 38px; line-height: 1; }
.pcod-os-lookup-title { font-size: 19px; font-weight: 800; color: #0f172a; margin: 0; }
.pcod-os-lookup-sub { font-size: 13px; color: #64748b; font-weight: 600; margin: 0; }
.pcod-os-lookup-err { background: #fee2e2; color: #b91c1c; padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.pcod-os-input { width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 14px; font-weight: 600; outline: none; font-family: inherit; background: #f8fafc; transition: all 0.2s; }
.pcod-os-input:focus { border-color: var(--pr); background: #fff; box-shadow: 0 0 0 3px rgba(var(--pr-rgb),0.1); }
.pcod-os-track-btn { padding: 13px; background: linear-gradient(135deg, var(--pr), rgba(var(--pr-rgb),0.85)); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit; box-shadow: 0 4px 14px rgba(var(--pr-rgb),0.28); transition: all 0.2s; }
.pcod-os-track-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--pr-rgb),0.38); }
.pcod-os-track-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.pcod-os-tr-msg { font-size: 13px; font-weight: 700; color: #ef4444; min-height: 16px; }