/* G Perfumes — estilos del sitio */

:root {
  --navy: #0b2a4a;
  --navy-dark: #061d34;
  --gold: #b28a4a;
  --gold-soft: #e9dcc4;
  --cream: #faf6ee;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #6a6a6a;
  --line: #e7e1d5;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(11, 42, 74, 0.08);
  --container: 1200px;
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--navy); }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9c7840; }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 14px; font-size: 11px; }

.eyebrow {
  display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.section { padding: 88px 0; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; text-align: center; }
.section-title strong { font-weight: 700; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 16px auto 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---------- Barra de anuncios ---------- */
.announce { background: var(--navy); color: var(--white); overflow: hidden; font-size: 11px; letter-spacing: .18em; font-weight: 500; }
.announce-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce-track span { padding: 8px 28px; white-space: nowrap; }
.announce-track span::after { content: "·"; margin-left: 56px; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 38px; font-size: 14px; font-weight: 500; }
.nav a { color: #333; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); position: relative;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.wa { background: var(--wa); color: var(--white); border-color: var(--wa); }
.icon-btn.square { border-radius: var(--radius); }
.badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--gold); color: var(--white); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.badge[hidden] { display: none; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { height: 66px; }
  .logo img { height: 34px; }
  .mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 500; }
  .mobile-nav a.btn { margin: 14px 20px; display: flex; }
}

/* ---------- Portada (hero) ---------- */
.hero { background: var(--cream); padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 300; letter-spacing: .02em; }
.hero h1 b { font-weight: 800; }
.hero .tagline { font-size: clamp(14px, 1.8vw, 19px); letter-spacing: .3em; color: var(--gold); margin: 10px 0 26px; font-weight: 500; }
.hero p { color: #3a3a3a; margin-bottom: 14px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-cta .btn { flex: 1 1 220px; }
}

/* ---------- Franja de beneficios ---------- */
.stats { background: var(--navy); color: var(--white); padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat { display: flex; align-items: center; gap: 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.stat svg { width: 22px; height: 22px; flex: none; opacity: .9; }
.stat b { display: block; font-weight: 700; }
.stat span { opacity: .7; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:last-child { grid-column: 1 / -1; } }

/* ---------- Bloque de texto centrado ---------- */
.intro { text-align: center; }
.intro p { color: var(--muted); max-width: 620px; margin: 18px auto 30px; }
.intro p strong { color: var(--text); }

/* ---------- Pestañas ---------- */
.tabs { display: flex; justify-content: center; gap: 30px; margin: 26px 0 36px; }
.tab {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 2px;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.tab[aria-selected="true"] { color: var(--navy); font-weight: 700; border-color: var(--gold); }

/* ---------- Tarjetas de producto ---------- */
.products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.card-img { position: relative; aspect-ratio: 4 / 5; background: var(--cream); }
.card-img img.bottle { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-img img.seal { position: absolute; top: 8px; right: 8px; width: 30%; height: auto; }
.card-body { padding: 16px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card .insp { font-size: 9.5px; letter-spacing: .24em; color: var(--gold); font-weight: 600; }
.card h3 { font-size: 14.5px; font-weight: 700; margin: 4px 0 8px; text-transform: uppercase; }
.card .meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card .price { font-size: 20px; font-weight: 700; color: var(--text); margin: 14px 0 12px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn { flex: 1; padding: 10px 8px; font-size: 10.5px; letter-spacing: .1em; }
.tag-new { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .8); color: var(--gold); border: 1px solid var(--gold-soft); font-size: 8.5px; font-weight: 600; letter-spacing: .2em; padding: 2px 7px; border-radius: 20px; }
.more-link { text-align: center; margin-top: 40px; }
.more-link small { display: block; color: var(--muted); margin-top: 14px; font-size: 13px; }

/* ---------- ¿Por qué distribuir? ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 500; }
.why h2 b { font-weight: 700; }
.why p { color: var(--muted); margin: 16px 0 28px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b28a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Calidad ---------- */
.quality { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 44px; }
.quality figure { margin: 0; text-align: center; }
.quality img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.quality figcaption { font-size: 13px; margin-top: 12px; opacity: .85; }
@media (max-width: 900px) { .quality { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; } }

/* ---------- Herramientas ---------- */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tools img { border-radius: var(--radius); box-shadow: var(--shadow); }
.tools h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; margin-bottom: 26px; }
.tools h2 b { font-weight: 700; }
.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dots li { display: flex; gap: 12px; align-items: center; }
.dots li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .range { color: var(--muted); font-size: 13px; margin: 4px 0 18px; }
.plan-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-prices div { background: var(--cream); padding: 12px 6px; font-size: 11px; color: var(--muted); line-height: 1.4; }
.plan-prices b { display: block; color: var(--text); font-size: 15px; margin-top: 4px; }
.plan-gain { background: var(--navy); color: var(--white); margin: 10px 0 16px; padding: 16px 10px; }
.plan-gain small { display: block; font-size: 10.5px; letter-spacing: .2em; opacity: .75; }
.plan-gain strong { display: block; font-size: 30px; line-height: 1.2; }
.plan p { color: var(--muted); font-size: 13px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.calc h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; }
.calc h2 b { font-weight: 700; }
.calc p { opacity: .8; margin: 14px 0 24px; }
.calc-options { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-options button {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35);
  padding: 11px 18px; border-radius: var(--radius); font-size: 13px;
}
.calc-options button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.calc small { display: block; opacity: .6; font-size: 12px; margin-top: 22px; }
.calc-result { background: var(--navy-dark); padding: 36px; border-radius: var(--radius); }
.calc-result .eyebrow { color: var(--gold-soft); }
.calc-result .amount { font-size: clamp(44px, 6vw, 60px); font-weight: 700; line-height: 1.1; }
.calc-result .detail { opacity: .8; font-size: 14px; margin: 6px 0 4px; }
.calc-result .level { opacity: .6; font-size: 13px; margin-bottom: 24px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 44px 0 36px; text-align: center; }
.steps .num { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--navy); display: grid; place-items: center; margin: 0 auto 16px; font-weight: 600; color: var(--navy); }
.steps h3 { font-size: 15px; font-weight: 600; color: var(--text); }
.steps-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.testimonial { background: var(--cream); padding: 28px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 14.5px; color: #333; }
.testimonial cite { font-style: normal; font-size: 13px; font-weight: 700; color: var(--navy); }
.testimonial cite span { color: var(--muted); font-weight: 400; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Pie de página ---------- */
.footer { background: var(--navy); color: var(--white); padding: 64px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; }
.footer-logo { height: 52px; width: auto; }
.footer h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; opacity: .8; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { opacity: .85; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: 12px; opacity: .65; display: grid; gap: 8px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
body.has-order-bar .wa-float { bottom: 92px; }

/* ---------- Barra y panel de pedido ---------- */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--navy); color: var(--white);
  padding: 12px 0; box-shadow: 0 -8px 24px rgba(0,0,0,.15);
}
.order-bar[hidden] { display: none; }
.order-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.order-bar .summary { font-size: 14px; line-height: 1.4; }
.order-bar .summary b { font-size: 16px; }
.order-bar .summary span { opacity: .75; display: block; font-size: 12.5px; }
.order-bar .actions { display: flex; gap: 10px; }
@media (max-width: 640px) { .order-bar .btn-outline-light { display: none; } .order-bar .btn { padding: 12px 14px; } }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(6, 29, 52, .45); z-index: 60; }
.drawer-backdrop[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 61; background: var(--white);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.drawer-empty .btn { margin-top: 20px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .name { font-weight: 600; font-size: 14px; color: var(--navy); }
.line .sub { font-size: 12px; color: var(--muted); }
.line .remove { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; justify-self: end; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 32px; height: 32px; background: none; border: 0; font-size: 16px; color: var(--navy); }
.qty span { min-width: 28px; text-align: center; font-weight: 600; font-size: 14px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--cream); }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.drawer-foot .row.total { font-size: 18px; font-weight: 700; color: var(--navy); margin: 10px 0 4px; }
.drawer-foot .hint { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.drawer-foot .btn { width: 100%; }

/* ---------- Encabezado de páginas internas ---------- */
.page-head { background: var(--navy); color: var(--white); padding: 56px 0; }
.page-head h1 { color: var(--white); font-size: clamp(28px, 4vw, 44px); font-weight: 500; }
.page-head h1 b { font-weight: 700; }
.page-head p { opacity: .85; margin-top: 14px; max-width: 680px; }
.page-head p b { color: var(--gold-soft); }

/* ---------- Catálogo ---------- */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.tier { border: 1px solid rgba(255,255,255,.18); padding: 14px; border-radius: var(--radius); font-size: 12px; line-height: 1.45; }
.tier b { display: block; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.tier span { opacity: .7; }
.tier strong { display: block; font-size: 17px; margin-top: 6px; }
.tier.active { background: var(--gold); border-color: var(--gold); }
@media (max-width: 900px) { .tiers { grid-template-columns: repeat(2, 1fr); } .tier:first-child { grid-column: 1 / -1; } }

.filters { position: sticky; top: 76px; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 0; }
.filters .container { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--white); border: 1px solid var(--line); padding: 9px 16px; border-radius: var(--radius); font-size: 11.5px; letter-spacing: .12em; font-weight: 600; color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.field { position: relative; flex: 1 1 220px; }
.field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.field input, .field select {
  width: 100%; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  padding: 0 12px 0 36px; font: inherit; font-size: 14px; color: var(--text);
}
.field select { appearance: none; padding-right: 30px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a6a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
@media (max-width: 900px) { .filters { top: 66px; position: static; } }

.catalog-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.catalog-head h2 { font-size: 28px; font-weight: 600; }
.catalog-head p { color: var(--muted); font-size: 14px; }
.ptable { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.ptable th { text-align: left; font-size: 10.5px; letter-spacing: .2em; color: var(--muted); font-weight: 600; padding: 14px 16px; background: var(--cream); border-bottom: 1px solid var(--line); }
.ptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .fname small { display: block; font-size: 9.5px; letter-spacing: .22em; color: var(--gold); font-weight: 600; }
.ptable .fname b { font-size: 14px; color: var(--navy); }
.ptable .fname em { font-style: normal; font-size: 8.5px; font-weight: 600; letter-spacing: .2em; color: var(--gold); border: 1px solid var(--gold-soft); padding: 1px 6px; border-radius: 20px; margin-left: 8px; vertical-align: 2px; }
.ptable .pg { color: var(--muted); font-size: 12px; white-space: nowrap; }
.ptable .brand { color: #444; text-transform: uppercase; font-size: 12px; }
.ptable .price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.ptable .action { text-align: right; white-space: nowrap; }
.pill { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 4px 9px; border-radius: 2px; background: #e8eef6; color: var(--navy); }
.pill.dama { background: #f6e9ee; color: #8a3557; }
.pill.unisex { background: #efeadf; color: #7a5b28; }
.pill.kids { background: #e7f3ea; color: #2b6b3d; }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; border: 1px dashed var(--line); }
.load-more { text-align: center; margin-top: 30px; }

@media (max-width: 760px) {
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px; border-bottom: 1px solid var(--line); }
  .ptable td { padding: 0; border: 0; }
  .ptable .fname { grid-column: 1; }
  .ptable .brand { grid-column: 1; }
  .ptable .cat, .ptable .pres { display: none !important; }
  .ptable .price { grid-column: 2; grid-row: 1; text-align: right; }
  .ptable .action { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
  .ptable .pg { grid-column: 1; }
}

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-card { background: var(--cream); padding: 30px; border-radius: var(--radius); margin-top: 24px; }
.contact-card h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-card a { display: inline-flex; gap: 10px; align-items: center; color: var(--navy); font-weight: 500; }
.contact-card svg { width: 18px; height: 18px; }
.form { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form h2 { font-size: 24px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--navy); margin-bottom: 14px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; font: inherit; font-size: 14px; color: var(--text); background: var(--white);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.contact-grid > * { min-width: 0; }
.form .btn { width: 100%; margin-top: 6px; white-space: normal; text-align: center; }
.form .note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } .form-row { grid-template-columns: 1fr; gap: 0; } .form { padding: 22px; } }

/* ---------- Texto legal ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal .date { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 34px 0 12px; }
.legal p, .legal li { color: #333; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 20px; }
.notfound h1 { font-size: 72px; font-weight: 300; }
.notfound p { color: var(--muted); margin: 10px 0 30px; }

/* Aviso breve al añadir */
.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--text); color: var(--white); padding: 12px 20px; border-radius: var(--radius); font-size: 14px;
  z-index: 70; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%); }
