@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --ink: #1b2420;
  --muted: #69716c;
  --line: #e5dfd2;
  --pine: #17392f;
  --pine-2: #245443;
  --pine-soft: #e3ece7;
  --berry: #9e2a2b;
  --berry-soft: #f6e5e3;
  --gold: #b8933a;
  --ok: #2f7a4f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 57, 47, .06), 0 8px 24px rgba(23, 57, 47, .06);
  --shadow-lg: 0 20px 60px rgba(10, 30, 24, .25);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--pine-2); }
[hidden] { display: none !important; }

/* ---------- Botones y campos ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; font-weight: 600; cursor: pointer; background: var(--surface); color: var(--ink); border-color: var(--line); transition: background .15s, border-color .15s, transform .05s; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: #cfc7b6; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--pine); color: #fff; border-color: var(--pine); }
.btn-primary:hover { background: var(--pine-2); border-color: var(--pine-2); }
.btn-accent { background: var(--berry); color: #fff; border-color: var(--berry); }
.btn-accent:hover { background: #87201f; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(0,0,0,.04); border-color: transparent; }
.btn-sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn-danger { color: var(--berry); }
.icon-btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--pine-2); box-shadow: 0 0 0 3px rgba(36, 84, 67, .15); }
textarea.input { resize: vertical; min-height: 70px; }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); }
.badge.berry { background: var(--berry-soft); color: var(--berry); }
.badge.gold { background: #f4ecd9; color: #7d6222; }
.badge.gray { background: #eceae4; color: #5c625e; }

.muted { color: var(--muted); }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Encabezado ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--pine); color: #fff; }
.topbar-inner { max-width: 1320px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.brand-text { min-width: 0; }
.brand-text b { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { display: block; font-size: 12px; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.topbar .btn-ghost { color: #fff; }
.topbar .btn-ghost:hover { background: rgba(255,255,255,.1); }
.cart-btn { position: relative; background: #fff; color: var(--pine); border-color: #fff; }
.cart-btn:hover { background: #f1efe8; border-color: #f1efe8; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--berry); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.user-chip { font-size: 13px; opacity: .85; text-align: right; line-height: 1.2; }
.user-chip small { display: block; opacity: .7; }

/* ---------- Portada ---------- */
.hero { background: var(--pine); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 12% 30%, rgba(184,147,58,.18) 0 2px, transparent 3px) 0 0/46px 46px,
  radial-gradient(circle at 70% 70%, rgba(255,255,255,.07) 0 1.5px, transparent 2.5px) 0 0/34px 34px; pointer-events: none; }
.hero-inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 18px 24px 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.3px; }
.hero p { margin: 0; max-width: 620px; opacity: .82; }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: 1.6px; color: #e7cf94; margin-bottom: 10px; font-weight: 700; }
.hero-stats { display: flex; gap: 28px; }
.hero-stats div b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.hero-stats div span { font-size: 12px; opacity: .7; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Barra de filtros ---------- */
.toolbar { position: sticky; top: 62px; z-index: 20; background: rgba(246, 243, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toolbar-inner { max-width: 1320px; margin: 0 auto; padding: 12px 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 38px; }
.toolbar select.input { width: auto; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 24px 12px; max-width: 1320px; margin: 0 auto; scrollbar-width: thin; }
.chip { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; cursor: pointer; color: #3d4641; }
.chip:hover { border-color: #cfc7b6; }
.chip.active { background: var(--pine); color: #fff; border-color: var(--pine); }
.chip small { opacity: .6; font-weight: 500; margin-left: 4px; }

/* ---------- Rejilla de productos ---------- */
.main { max-width: 1320px; margin: 0 auto; padding: 22px 24px 80px; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 14px; }
.section-title h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; }
.section-title span { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d8d0bf; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: #fff; cursor: zoom-in; display: grid; place-items: center; border-bottom: 1px solid #f0ece3; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.card-media .count { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 700; background: rgba(23,57,47,.82); color: #fff; padding: 3px 8px; border-radius: 999px; }
.card-media .in-cart { position: absolute; left: 10px; top: 10px; }
.noimg { color: #b6b0a3; display: grid; place-items: center; gap: 6px; font-size: 12px; text-align: center; }
.card-body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
.card-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-name:hover { color: var(--pine-2); }
.card-model { font-size: 12px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.price b { display: block; font-size: 19px; font-weight: 700; color: var(--pine); }
.price span { font-size: 11.5px; color: var(--muted); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.qty button { width: 32px; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 17px; color: var(--pine); }
.qty button:hover { background: var(--pine-soft); }
.qty input { width: 46px; height: 34px; border: 0; text-align: center; outline: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.empty b { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 500; margin-bottom: 6px; }

/* ---------- Ventanas ---------- */
.overlay { position: fixed; inset: 0; background: rgba(12, 26, 21, .55); z-index: 60; display: grid; place-items: center; padding: 20px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: 18px; width: min(1000px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-lg); position: relative; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 2; background: #fff; border: 1px solid var(--line); }
.product-modal { display: grid; grid-template-columns: 1.15fr 1fr; }
.gallery { padding: 22px; border-right: 1px solid var(--line); background: #fff; }
.gallery-main { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; border-radius: 12px; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.95); border: 1px solid var(--line); }
.gallery-nav.prev { left: 4px; } .gallery-nav.next { right: 4px; }
.thumbs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.thumb { width: 64px; height: 64px; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.active { border-color: var(--pine); }
.detail { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.detail h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 0; }
.detail dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; font-weight: 600; }
.price-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.price-box .big { font-size: 28px; font-weight: 700; color: var(--pine); }
.price-box .row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }

/* ---------- Panel lateral (selección) ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(12, 26, 21, .45); z-index: 50; animation: fade .15s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--surface); z-index: 51; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.drawer-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 22px; flex: 1; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; background: var(--surface-2); display: flex; flex-direction: column; gap: 10px; }
.line-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0ece3; align-items: center; }
.line-item .ph { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; display: grid; place-items: center; }
.line-item .ph img { width: 100%; height: 100%; object-fit: contain; }
.line-item .nm { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.line-item .sub { font-size: 12px; color: var(--muted); }
.line-item .right { display: flex; flex-direction: column; align-items: end; gap: 6px; }
.totals .row { display: flex; justify-content: space-between; font-size: 14px; }
.totals .row.total { font-size: 18px; font-weight: 800; color: var(--pine); padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 4px; }

/* ---------- Avisos ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); animation: fade .2s; }
.toast.error { background: var(--berry); }

.footer { text-align: center; color: var(--muted); font-size: 12.5px; padding: 30px 20px 40px; }

/* ---------- Tablas (panel) ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; padding: 11px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); position: sticky; top: 0; white-space: nowrap; }
.table td { padding: 10px 12px; border-bottom: 1px solid #f0ece3; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #fbfaf6; }
.table .num { text-align: right; }
.table .mini-img { width: 40px; height: 40px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 2px; }

/* ---------- Panel admin ---------- */
.tabs { display: flex; gap: 4px; max-width: 1320px; margin: 0 auto; padding: 0 24px; overflow-x: auto; }
.tab { padding: 12px 16px; border: 0; background: transparent; color: rgba(255,255,255,.7); font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tab:hover { color: #fff; }
.tab.active { color: #fff; border-bottom-color: var(--gold); }
.panel-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-head h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; flex: 1; min-width: 200px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.kpi b { display: block; font-size: 24px; font-weight: 700; margin-top: 4px; color: var(--pine); font-variant-numeric: tabular-nums; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.modal-pad { padding: 26px; }
.modal-pad h3 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: 22px; }
.actions { display: flex; gap: 10px; justify-content: end; margin-top: 18px; flex-wrap: wrap; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.img-tile { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.img-tile .im { aspect-ratio: 1/1; padding: 8px; display: grid; place-items: center; }
.img-tile .im img { width: 100%; height: 100%; object-fit: contain; }
.img-tile .bar { display: flex; justify-content: space-between; padding: 6px; border-top: 1px solid var(--line); background: var(--surface-2); }
.img-tile.first { border-color: var(--pine); box-shadow: 0 0 0 2px var(--pine-soft); }
.progress { height: 10px; border-radius: 999px; background: #ebe6da; overflow: hidden; }
.progress div { height: 100%; background: var(--pine-2); transition: width .4s; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.switch input { width: 18px; height: 18px; accent-color: var(--pine); }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--pine); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 20% 30%, rgba(184,147,58,.22) 0 2px, transparent 3px) 0 0/52px 52px,
  radial-gradient(circle at 60% 80%, rgba(255,255,255,.08) 0 1.5px, transparent 2.5px) 0 0/30px 30px; }
.login-art > * { position: relative; }
.login-art h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.5px; max-width: 560px; }
.login-art p { opacity: .8; max-width: 460px; margin: 0; font-size: 16px; }
.ornament { width: 160px; height: auto; opacity: .95; }
.login-form-wrap { display: grid; place-items: center; padding: 40px 24px; }
.login-form { width: min(380px, 100%); display: flex; flex-direction: column; gap: 16px; }
.login-form h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0; }
.btn-google { background: #fff; border-color: var(--line); padding: 12px; font-weight: 600; }
.btn-google:hover { background: #f8f8f8; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.alert { padding: 10px 12px; border-radius: 10px; background: var(--berry-soft); color: var(--berry); font-size: 14px; }

/* ---------- Pantallas chicas ---------- */
@media (max-width: 860px) {
  .product-modal { grid-template-columns: 1fr; }
  .gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 32px 24px; min-height: 260px; }
  .ornament { width: 90px; }
  .hero-stats { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-inner, .toolbar-inner, .main, .hero-inner, .tabs { padding-left: 16px; padding-right: 16px; }
  .chips { padding-left: 16px; padding-right: 16px; }
  .user-chip, .hide-sm { display: none !important; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .price b { font-size: 16px; }
  .toolbar { position: static; }
  .toolbar select.input { flex: 1 1 40%; min-width: 0; }
  .detail { padding: 20px; }
  .overlay { padding: 0; }
  .modal { border-radius: 0; max-height: 100vh; height: 100vh; }
}

/* ---------- Logo de la empresa ---------- */
.brand-logo { height: 40px; max-width: 170px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px 10px; display: block; }
/* Accesos (login): logo grande, centrado y translúcido sobre la parte de color */
.brand-logo-lg { height: 140px; max-width: 360px; padding: 12px 22px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Logo centrado en la franja de color del catálogo */
.hero.hero-centrado .hero-inner { flex-direction: column; align-items: center; text-align: center; padding-top: 26px; gap: 14px; }
.hero.hero-centrado .hero-inner > div:first-child { display: flex; flex-direction: column; align-items: center; }
.hero.hero-centrado .hero p { margin: 0 auto; }
.hero-logo { height: 190px; max-width: min(520px, 86vw); object-fit: contain; margin-bottom: 14px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); border-radius: 18px; padding: 14px 26px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.brand-nombre { font-family: var(--serif); font-weight: 600; font-size: 18px; white-space: nowrap; }
@media (max-width: 640px) { .hero-logo { height: 130px; padding: 10px 18px; } }

/* ---------- Promociones ---------- */
.promos { max-width: 1320px; margin: 18px auto 0; padding: 0 24px; }
.promo-track { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--pine); aspect-ratio: 16 / 5; min-height: 170px; max-height: 340px; box-shadow: var(--shadow); }
.promo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; cursor: pointer; }
.promo-slide.on { opacity: 1; z-index: 1; }
.promo-slide img { width: 100%; height: 100%; object-fit: cover; }
.promo-slide .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 26px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.promo-slide .txt b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 3vw, 32px); line-height: 1.15; }
.promo-slide .txt span { opacity: .9; font-size: 14.5px; }
.promo-dots { position: absolute; right: 16px; bottom: 14px; z-index: 2; display: flex; gap: 6px; }
.promo-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.promo-dots button.on { background: #fff; width: 22px; border-radius: 6px; }
.badge-promo { background: var(--berry); color: #fff; }
.price s { color: var(--muted); font-size: 12.5px; font-weight: 500; margin-right: 4px; }
.price .promo b, .price-box .promo { color: var(--berry); }
@media (max-width: 640px) {
  .promos { padding: 0 16px; }
  .promo-track { aspect-ratio: 16 / 7; }
  .promo-slide .txt { padding: 14px 16px; }
}

/* ---------- Oferta: etiqueta sobre la foto y precio con descuento ---------- */
.etiqueta-oferta { position: absolute; left: 10px; bottom: 10px; background: #3483fa; color: #fff; font-size: 11.5px; font-weight: 800;
  letter-spacing: .3px; padding: 4px 9px; border-radius: 6px; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.precio-oferta s { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.precio-oferta .fila { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.precio-oferta b { color: var(--ink) !important; }
.desc { background: #00a650; color: #fff; font-size: 12px; font-weight: 800; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.price-box .precio-oferta s { font-size: 14px; }
.price-box .precio-oferta .big { color: var(--ink); }
.price-box .desc { font-size: 14px; padding: 3px 8px; }
.price .desc { color: #fff; font-size: 11.5px; }
.price .precio-oferta .fila { gap: 5px; }

/* ---------- Pagos ---------- */
.pago-opcion { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
