/* Sellos y ofertas (compartido sitio + panel) */
:root { --sp-o: #FF5A00; --sp-o2: #FF8A00; --sp-red: #E11D48; --sp-dark: #0F172A; --sp-mut: #64748B; --sp-green: #15803D; }

/* ---- Sellos ---- */
.seal-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; color: #FFF; background: linear-gradient(90deg, #047857, #16A34A); font-size: 11px; cursor: pointer; z-index: 3; }
.seal-bar b { font-weight: 900; letter-spacing: .4px; font-size: 12px; }
.seal-bar span { font-weight: 600; opacity: .95; }
.seal-dot { display: none; position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; border-radius: 50%; background: #16A34A; color: #FFF; font-weight: 900; font-size: 13px; align-items: center; justify-content: center; border: 2px solid #FFF; box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 3; }
.card-top-image.has-seal .badge-float-delivery { bottom: 40px; }
.chip.seal-real { background: #DCFCE7; color: #166534; border-color: #86EFAC; font-weight: 800; }
.chip.seal-com  { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.chip.seal-ver  { background: #DBEAFE; color: #1E40AF; border-color: #BFDBFE; }
.chip.seal-upd  { background: #EDE9FE; color: #5B21B6; border-color: #DDD6FE; }
.chip.seal-fav  { background: #FFEDD5; color: #9A3412; border-color: #FED7AA; }
.seal-legend-item { display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.seal-legend-item .ico { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #F1F5F9; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.seal-legend-item b { display: block; font-size: 13px; color: var(--sp-dark); }
.seal-legend-item span { font-size: 12px; color: var(--sp-mut); font-weight: 500; }
@media (max-width: 768px) { .seal-bar { display: none; } .seal-dot { display: inline-flex; } .card-top-image.has-seal .badge-float-delivery { bottom: 6px; } }

/* ---- Ofertas ---- */
.deals-section { margin: 4px 0 18px; padding: 14px 0 4px; }
.deals-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.deals-head h2 { font-size: 20px; font-weight: 900; color: var(--sp-dark); }
.deals-head span { font-size: 12.5px; color: var(--sp-mut); font-weight: 600; }
.deal-card { flex: 0 0 272px; scroll-snap-align: start; background: #FFF; border: 2px solid #FFE4D1; border-radius: 20px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 10px 28px rgba(255, 90, 0, .14); transition: transform .15s ease, box-shadow .15s ease; text-align: left; }
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(255, 90, 0, .22); }
.deal-card[data-preview] { cursor: default; }
.deal-card.is-soon { border-color: #FDBA74; }
.deal-card.is-critical { border-color: var(--sp-red); animation: dealPulse 1.6s ease-in-out infinite; }
.deal-img { position: relative; height: 168px; background: #E2E8F0; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-off { position: absolute; top: 10px; left: 10px; background: var(--sp-red); color: #FFF; font-weight: 900; font-size: 17px; padding: 6px 11px; border-radius: 12px; box-shadow: 0 4px 12px rgba(225, 29, 72, .45); transform: rotate(-3deg); }
.deal-badge { position: absolute; top: 12px; right: 10px; font-size: 10px; font-weight: 900; letter-spacing: .3px; padding: 5px 9px; border-radius: 999px; color: #FFF; background: #0F172A; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.deal-badge.b-flash { background: linear-gradient(90deg, #F59E0B, #EF4444); }
.deal-badge.b-today { background: linear-gradient(90deg, #EF4444, #BE123C); }
.deal-badge.b-2x1 { background: linear-gradient(90deg, #8B5CF6, #EC4899); }
.deal-badge.b-new { background: linear-gradient(90deg, #0EA5E9, #2563EB); }
.deal-badge.b-last { background: linear-gradient(90deg, #F97316, #DC2626); }
.deal-timer-wrap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; color: #FFF; font-size: 11.5px; font-weight: 700; background: linear-gradient(transparent, rgba(15, 23, 42, .88)); padding-top: 22px; }
.deal-timer-wrap b { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.deal-timer-wrap.soon b { color: #FDBA74; }
.deal-timer-wrap.critical b { color: #FCA5A5; animation: dealBlink 1s steps(2, start) infinite; }
.deal-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.deal-seller { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 12px; color: var(--sp-mut); }
.deal-seller b { color: var(--sp-dark); font-weight: 800; font-size: 12.5px; }
.deal-tag { font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #F1F5F9; color: #475569; }
.deal-tag.t-aff { background: #DBEAFE; color: #1E40AF; } .deal-tag.t-own { background: #FFEDD5; color: #C2410C; } .deal-tag.t-real { background: #DCFCE7; color: #166534; }
.deal-title { font-size: 16px; font-weight: 900; color: var(--sp-dark); line-height: 1.2; }
.deal-detail { font-size: 12px; color: var(--sp-mut); font-weight: 600; margin-top: -3px; }
.deal-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.deal-prices b { font-size: 28px; font-weight: 900; color: var(--sp-red); letter-spacing: -.5px; }
.deal-prices s { font-size: 14px; color: #94A3B8; font-weight: 700; }
.deal-save { font-size: 11px; font-weight: 800; color: #166534; background: #DCFCE7; padding: 3px 8px; border-radius: 8px; }
.deal-stock { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 800; color: #B45309; }
.deal-stock.low { color: var(--sp-red); }
.deal-bar { height: 7px; background: #FEE2E2; border-radius: 99px; overflow: hidden; }
.deal-bar i { display: block; height: 100%; background: linear-gradient(90deg, #F59E0B, #EF4444); border-radius: 99px; }
.deal-proof { font-size: 11.5px; font-weight: 700; color: #475569; }
.deal-cta { margin-top: auto; background: linear-gradient(135deg, var(--sp-o), var(--sp-o2)); color: #FFF; border: none; border-radius: 12px; padding: 12px; font: 900 14px system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 16px rgba(255, 90, 0, .32); }
.deal-card.is-critical .deal-cta { background: linear-gradient(135deg, #E11D48, #F97316); }
.deal-terms { font-size: 10.5px; color: #94A3B8; line-height: 1.3; }
@keyframes dealPulse { 0%, 100% { box-shadow: 0 10px 28px rgba(225, 29, 72, .18); } 50% { box-shadow: 0 10px 34px rgba(225, 29, 72, .5); } }
@keyframes dealBlink { 50% { opacity: .45; } }
@media (max-width: 768px) { .deal-card { flex-basis: 244px; } .deal-img { height: 148px; } .deal-prices b { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .deal-card.is-critical, .deal-timer-wrap.critical b { animation: none !important; } }

/* ---- Avisos de servicio (lluvia, alta demanda...) ---- */
.svc-notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 12px 14px; margin: 0 0 10px; border: 1.5px solid; position: relative; text-align: left; }
.svc-notice .svc-ic { font-size: 26px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.svc-body { flex: 1; min-width: 0; }
.svc-body b { display: block; font-size: 14.5px; font-weight: 900; margin-bottom: 2px; }
.svc-body p { font-size: 13px; font-weight: 600; line-height: 1.35; margin: 2px 0; }
.svc-body .svc-extra { font-weight: 700; }
.svc-body small { display: block; font-size: 11px; opacity: .75; margin-top: 4px; font-weight: 500; }
.svc-x { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: inherit; opacity: .6; padding: 0 2px; }
.svc-notice.n-lluvia  { background: #EFF6FF; border-color: #93C5FD; color: #1E3A8A; }
.svc-notice.n-demanda { background: #FFF7ED; border-color: #FDBA74; color: #9A3412; }
.svc-notice.n-evento  { background: #F5F3FF; border-color: #C4B5FD; color: #5B21B6; }
.svc-notice.n-aviso   { background: #FEFCE8; border-color: #FDE047; color: #713F12; }

.chip.seal-lec { background: #0F172A; color: #FDE68A; border-color: #B45309; font-weight: 800; }
.deal-tag.t-lec { background: #0F172A; color: #FDE68A; }
@media (max-width: 768px) {
  .svc-notice { padding: 9px 11px; gap: 9px; margin-bottom: 8px; border-radius: 14px; }
  .svc-notice .svc-ic { font-size: 20px; } .svc-body b { font-size: 13px; margin-bottom: 0; } .svc-body p { font-size: 12px; margin: 1px 0; } .svc-body small { display: none; }
}

.deal-card { border-width: 1px; border-color: #F1E7DC; box-shadow: 0 10px 28px rgba(15, 23, 42, .09); }
.deal-card:hover { box-shadow: 0 14px 32px rgba(15, 23, 42, .14); }
.deal-seller b { font-size: 12.5px; color: #64748B; font-weight: 600; }
.deal-title { font-size: 16px; font-weight: 800; }
.deal-prices b { font-size: 26px; font-weight: 800; color: #0F172A; }
.deal-low { font-size: 11.5px; font-weight: 700; color: #E11D48; background: #FFF1F2; padding: 3px 9px; border-radius: 99px; }
.deal-cta { box-shadow: none; font-weight: 800; font-size: 13.5px; padding: 11px; }
.deal-off { font-size: 14px; padding: 4px 10px; transform: none; border-radius: 10px; }
.deal-timer-wrap { font-size: 11px; } .deal-timer-wrap b { font-size: 16px; }
.svc-body b { font-weight: 800; } .svc-body p { font-weight: 500; }
