/* Pintos Home — estilo editorial: carbón, crema y dorado (#CDB982), tipografía Mulish */
:root{
  --ink:#1E1E1E; --ink-2:#32323C; --cream:#F4EFE6; --paper:#FBF9F5; --line:#E6DFD3;
  --gold:#CDB982; --gold-d:#B39E63; --muted:#6F6A60; --ok:#2E7D4F; --sale:#B5462F;
  --radius:10px; --maxw:1200px;
}
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{ margin:0; font-family:'Mulish',system-ui,sans-serif; color:var(--ink); background:var(--paper); font-size:15px; line-height:1.5; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
h1,h2,h3{ line-height:1.1; margin:0; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 16px; }
.muted{ color:var(--muted); }
.small{ font-size:13px; }
.hide-sm{ }
.eyebrow{ display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-d); }

/* Barra y encabezado */
.promo-bar{ background:var(--ink); color:#eee; font-size:12.5px; text-align:center; padding:8px 12px; display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.promo-bar b{ color:var(--gold); }
.promo-bar .dot{ color:#777; }
.site-header{ background:var(--paper); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:40; }
.header-row{ display:flex; align-items:center; justify-content:space-between; height:64px; gap:16px; }
.logo{ font-weight:900; font-size:22px; letter-spacing:.18em; text-decoration:none; display:flex; flex-direction:column; align-items:center; line-height:1; }
.logo small{ font-size:9px; letter-spacing:.6em; font-weight:700; margin-top:4px; padding-left:.6em; }
.logo-light{ color:#fff; align-items:flex-start; }
.main-nav{ display:flex; gap:22px; }
.main-nav a, .sub-nav a{ text-decoration:none; font-weight:700; font-size:14px; }
.main-nav a:hover{ color:var(--gold-d); }
.sub-nav{ display:none; }
.cart-btn{ position:relative; background:none; border:0; padding:8px; cursor:pointer; color:var(--ink); }
[hidden]{ display:none !important; }
.cart-count{ position:absolute; top:0; right:-2px; background:var(--gold); color:var(--ink); font-size:11px; font-weight:900; border-radius:999px; min-width:18px; height:18px; display:grid; place-items:center; padding:0 4px; }

/* Botones */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:13px 22px; border-radius:999px; font-weight:800; font-size:15px; text-decoration:none; border:1.5px solid transparent; cursor:pointer; font-family:inherit; transition:transform .12s, background .15s; }
.btn:active{ transform:scale(.98); }
.btn-gold{ background:var(--gold); color:var(--ink); }
.btn-gold:hover{ background:var(--gold-d); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-ghost{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-block{ width:100%; }
.btn-lg{ padding:16px 22px; font-size:16px; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }
.link{ font-weight:800; text-decoration:none; color:var(--gold-d); }
.icon-btn{ background:none; border:0; font-size:26px; line-height:1; cursor:pointer; padding:4px 8px; color:inherit; }

/* Hero */
.hero{ background:var(--cream); }
.hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:40px; align-items:center; padding-top:48px; padding-bottom:48px; }
.hero h1{ font-size:clamp(34px,4.6vw,56px); font-weight:900; letter-spacing:-.02em; margin:12px 0 16px; }
.hero h1 em{ font-style:normal; color:var(--gold-d); }
.lead{ font-size:17px; color:var(--ink-2); max-width:520px; margin:0 0 24px; }
.hero-ctas{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-trust{ list-style:none; padding:0; margin:22px 0 0; display:flex; gap:20px; flex-wrap:wrap; font-size:13.5px; color:var(--muted); }
.hero-trust b{ color:var(--ink); }
.hero-img img{ border-radius:16px; aspect-ratio:1; object-fit:cover; width:100%; max-height:560px; box-shadow:0 20px 50px rgba(30,30,30,.15); }

/* Beneficios */
.benefits{ border-bottom:1px solid var(--line); background:var(--paper); }
.benefits-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; padding-top:22px; padding-bottom:22px; }
.benefits-grid div{ display:flex; flex-direction:column; gap:2px; }
.benefits-grid b{ font-size:14px; }
.benefits-grid span{ font-size:13px; color:var(--muted); }

/* Secciones */
.section{ padding:48px 0; }
.section-tight{ padding:36px 0 0; }
.section-alt{ background:var(--cream); }
.section-dark{ background:var(--ink); color:#eee; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:22px; }
.section-head h2, .faq h2, .pdp-desc h2{ font-size:clamp(24px,3vw,32px); font-weight:900; letter-spacing:-.01em; }
.page-title{ font-size:clamp(28px,3.6vw,40px); font-weight:900; letter-spacing:-.01em; margin:6px 0 8px; }
.page-blurb{ margin:0 0 18px; }
.crumbs{ font-size:13px; color:var(--muted); margin-bottom:8px; }
.crumbs a{ text-decoration:none; }

/* Grilla de productos */
.grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px 18px; }
.card{ text-decoration:none; display:flex; flex-direction:column; }
.card-img{ position:relative; border-radius:var(--radius); overflow:hidden; background:var(--cream); aspect-ratio:1; }
.card-img img{ width:100%; height:100%; object-fit:cover; transition:opacity .25s, transform .4s; }
.card-img-alt{ position:absolute; inset:0; opacity:0; }
.card:hover .card-img-alt{ opacity:1; }
.card:hover .card-img img:first-child{ transform:scale(1.03); }
.badge{ position:absolute; top:10px; left:10px; background:var(--ink); color:var(--gold); font-size:11.5px; font-weight:900; padding:4px 9px; border-radius:999px; letter-spacing:.03em; }
.pdp-price .badge{ position:static; }
.card-body{ padding:10px 2px 0; }
.card-name{ font-weight:700; font-size:14.5px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-price{ margin-top:6px; display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.card-price b{ font-size:17px; font-weight:900; }
.card-price s, .pdp-price s{ color:var(--muted); font-size:13px; }
.card-price small{ color:var(--muted); font-size:12px; }
.card-transfer{ font-size:12.5px; color:var(--ok); font-weight:700; }

.chips{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.chip{ padding:8px 14px; border-radius:999px; border:1px solid var(--line); text-decoration:none; font-weight:700; font-size:13.5px; background:#fff; }
.chip.is-on{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* Tipos */
.type-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.type-card{ position:relative; border-radius:14px; overflow:hidden; text-decoration:none; color:#fff; aspect-ratio:3/4; background:var(--ink); }
.type-card img{ width:100%; height:100%; object-fit:cover; opacity:.82; transition:transform .4s; }
.type-card:hover img{ transform:scale(1.04); }
.type-card-copy{ position:absolute; inset:auto 0 0 0; padding:18px; background:linear-gradient(transparent, rgba(0,0,0,.75)); display:flex; flex-direction:column; gap:4px; }
.type-card-copy b{ font-size:19px; font-weight:900; }
.type-card-copy span{ font-size:13px; opacity:.9; }
.type-card-copy small{ color:var(--gold); font-weight:800; margin-top:4px; }

/* Reseñas */
.reviews{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.reviews figure{ margin:0; background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; }
.reviews blockquote{ margin:0 0 12px; font-size:15.5px; font-weight:600; }
.reviews blockquote::before{ content:'★★★★★'; display:block; color:var(--gold-d); letter-spacing:2px; margin-bottom:8px; font-size:13px; }
.reviews figcaption{ font-size:13px; color:var(--muted); font-weight:700; }

/* FAQ */
.faq{ max-width:760px; }
.faq h2{ margin-bottom:18px; color:#fff; }
.faq details{ border-bottom:1px solid #3a3a3a; padding:14px 0; }
.faq summary{ cursor:pointer; font-weight:800; font-size:16px; list-style:none; display:flex; justify-content:space-between; gap:12px; }
.faq summary::after{ content:'+'; color:var(--gold); font-size:20px; line-height:1; }
.faq details[open] summary::after{ content:'−'; }
.faq p{ color:#bbb; margin:10px 0 0; }

/* Producto */
.pdp{ display:grid; grid-template-columns:1.1fr 1fr; gap:44px; align-items:start; }
.gallery{ position:sticky; top:84px; }
.gallery-main{ border-radius:14px; overflow:hidden; background:var(--cream); aspect-ratio:1; }
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs{ display:flex; gap:8px; margin-top:10px; overflow-x:auto; padding-bottom:4px; }
.thumb{ flex:0 0 68px; height:68px; border-radius:8px; overflow:hidden; border:2px solid transparent; padding:0; cursor:pointer; background:var(--cream); }
.thumb.is-on{ border-color:var(--ink); }
.thumb img{ width:100%; height:100%; object-fit:cover; }
.pdp-title{ font-size:clamp(24px,2.8vw,32px); font-weight:900; letter-spacing:-.01em; margin:8px 0 8px; }
.pdp-rating{ color:var(--gold-d); font-size:14px; letter-spacing:1px; }
.pdp-rating span{ color:var(--muted); letter-spacing:0; font-size:13px; }
.pdp-price{ display:flex; align-items:center; gap:10px; margin:16px 0 6px; }
.pdp-price b{ font-size:32px; font-weight:900; }
.pdp-pay{ background:var(--cream); border-radius:10px; padding:12px 14px; font-size:14px; display:flex; flex-direction:column; gap:4px; }
.pdp-pay div:first-child b{ color:var(--ok); }
.opt{ margin-top:18px; }
.opt-label{ font-size:13px; font-weight:800; margin-bottom:8px; }
.opt-label span{ font-weight:600; color:var(--muted); }
.opt-values{ display:flex; flex-wrap:wrap; gap:8px; }
.opt-btn{ border:1.5px solid var(--line); background:#fff; border-radius:999px; padding:9px 14px; font-weight:700; font-size:13.5px; cursor:pointer; font-family:inherit; color:var(--ink); }
.opt-btn.is-on{ border-color:var(--ink); background:var(--ink); color:#fff; }
.opt-btn.is-out{ opacity:.4; text-decoration:line-through; }
.qty-row{ display:flex; gap:10px; margin-top:20px; }
.qty{ display:flex; align-items:center; border:1.5px solid var(--line); border-radius:999px; background:#fff; flex:none; }
.qty button{ background:none; border:0; width:38px; height:46px; font-size:20px; cursor:pointer; color:var(--ink); }
.qty input{ width:34px; border:0; text-align:center; font:inherit; font-weight:800; background:transparent; -moz-appearance:textfield; }
.qty input::-webkit-inner-spin-button{ -webkit-appearance:none; }
.pdp-msg{ margin:10px 0 0; font-size:13.5px; font-weight:700; color:var(--ok); }
.pdp-msg.is-error{ color:var(--sale); }
.pdp-perks{ list-style:none; padding:16px 0 0; margin:18px 0 0; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:8px; font-size:14px; }
.pdp-perks a{ font-weight:800; color:var(--ink); }
.pdp-desc{ margin-top:48px; max-width:820px; }
.pdp-desc h2{ margin-bottom:14px; }
.user-content{ font-size:15px; overflow-wrap:anywhere; }
.user-content *{ max-width:100%; }
.user-content img{ height:auto; border-radius:8px; }
.user-content table{ width:100%; }
.sticky-add{ display:none; }

/* Carrito */
.drawer-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:60; }
.cart-drawer{ position:fixed; top:0; right:0; bottom:0; width:min(420px,100%); background:var(--paper); z-index:61; transform:translateX(100%); transition:transform .25s ease; display:flex; flex-direction:column; box-shadow:-10px 0 30px rgba(0,0,0,.15); }
.cart-drawer.is-open{ transform:none; }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:16px; border-bottom:1px solid var(--line); font-size:17px; }
.drawer-body{ flex:1; overflow-y:auto; padding:8px 16px; }
.drawer-foot{ border-top:1px solid var(--line); padding:16px; background:#fff; }
.cart-empty{ text-align:center; padding:40px 0; color:var(--muted); }
.line{ display:grid; grid-template-columns:64px 1fr auto; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); align-items:start; }
.line img{ width:64px; height:64px; border-radius:8px; object-fit:cover; background:var(--cream); }
.line-name{ font-weight:700; font-size:13.5px; line-height:1.3; }
.line-opts{ font-size:12px; color:var(--muted); }
.line-qty{ display:flex; align-items:center; gap:8px; margin-top:6px; }
.line-qty button{ width:26px; height:26px; border-radius:50%; border:1px solid var(--line); background:#fff; cursor:pointer; font-weight:800; }
.line-price{ font-weight:900; font-size:14px; text-align:right; }
.line-remove{ background:none; border:0; color:var(--muted); font-size:12px; text-decoration:underline; cursor:pointer; padding:4px 0 0; }
.sum-row{ display:flex; justify-content:space-between; font-size:14px; margin:4px 0; }
.sum-row.total{ font-size:18px; font-weight:900; margin-top:8px; }
.sum-row.discount{ color:var(--ok); font-weight:700; }
.sum-row.transfer{ color:var(--ok); font-size:13.5px; }
.nudge{ background:var(--cream); border-radius:10px; padding:10px 12px; font-size:13px; margin-bottom:12px; }
.nudge b{ color:var(--ink); }
.bar{ height:6px; background:#e7e0d2; border-radius:9px; overflow:hidden; margin-top:6px; }
.bar i{ display:block; height:100%; background:var(--gold); border-radius:9px; }

/* Checkout */
.checkout{ display:grid; grid-template-columns:1.2fr 1fr; gap:40px; align-items:start; }
.notice{ background:#FFF6DB; border:1px solid #EBD9A0; border-radius:10px; padding:10px 14px; font-size:13.5px; margin:8px 0 18px; }
fieldset{ border:0; padding:0; margin:0 0 22px; }
legend{ font-weight:900; font-size:17px; margin-bottom:10px; }
#checkoutForm label{ display:block; font-size:13px; font-weight:700; color:var(--ink-2); margin-bottom:12px; }
#checkoutForm input[type=text], #checkoutForm input[type=email], #checkoutForm input[type=tel]{ display:block; width:100%; margin-top:5px; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font:inherit; background:#fff; }
#checkoutForm input:focus{ outline:none; border-color:var(--ink); }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pay-methods{ display:flex; flex-direction:column; gap:10px; }
#checkoutForm .pay-method{ display:flex; gap:12px; align-items:center; padding:14px; border:1.5px solid var(--line); border-radius:12px; background:#fff; cursor:pointer; margin:0; }
#checkoutForm .pay-method.is-selected{ border-color:var(--ink); }
.pay-method input{ accent-color:var(--ink); width:18px; height:18px; }
.pay-method span{ display:flex; flex-direction:column; }
.pay-method small{ color:var(--muted); font-weight:600; }
.checkout-summary{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; position:sticky; top:84px; }

#checkoutForm .pay-method.is-disabled{ opacity:.55; cursor:not-allowed; }
#checkoutForm input.is-invalid{ border-color:var(--sale); background:#FFF6F4; }

/* Pedido */
.order-page{ display:grid; grid-template-columns:1.2fr 1fr; gap:40px; align-items:start; }
.order-page .lead{ margin-bottom:20px; }
.pay-box{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; display:flex; flex-direction:column; gap:10px; }
.pay-amount{ display:flex; justify-content:space-between; align-items:baseline; border-bottom:1px solid var(--line); padding-bottom:10px; }
.pay-amount b{ font-size:28px; font-weight:900; }
.bank-row{ display:grid; grid-template-columns:90px 1fr auto; gap:8px; align-items:center; font-size:14px; }
.bank-row span{ color:var(--muted); }
.bank-row b{ overflow-wrap:anywhere; }
.copy-btn{ border:1px solid var(--line); background:var(--cream); border-radius:999px; padding:5px 12px; font:inherit; font-size:12.5px; font-weight:800; cursor:pointer; }
.btn-wa{ background:#25D366; color:#fff; margin-top:6px; }
.btn-mp{ background:#009EE3; color:#fff; }
.ship-box{ margin-top:24px; padding-top:18px; border-top:1px solid var(--line); }
.ship-box p{ margin:6px 0 0; }
.status{ font-weight:800; color:var(--sale); }
.status.is-paid{ color:var(--ok); }

/* Footer */
.site-footer{ background:var(--ink); color:#ddd; padding:44px 0 24px; margin-top:0; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:24px; }
.site-footer h4{ color:var(--gold); font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin:0 0 10px; }
.site-footer a{ display:block; color:#ddd; text-decoration:none; font-size:14px; margin-bottom:6px; }
.site-footer .muted{ color:#999; font-size:14px; max-width:320px; }
.footer-bottom{ margin-top:28px; font-size:12.5px; color:#888 !important; }
.wa-float{ position:fixed; right:16px; bottom:16px; width:54px; height:54px; border-radius:50%; background:#25D366; color:#fff; display:grid; place-items:center; box-shadow:0 8px 20px rgba(0,0,0,.2); z-index:50; }

/* Celular */
@media (max-width: 900px){
  .grid{ grid-template-columns:repeat(2,1fr); gap:18px 12px; }
  .type-grid{ grid-template-columns:repeat(2,1fr); }
  .benefits-grid{ grid-template-columns:repeat(2,1fr); }
  .reviews{ grid-template-columns:1fr; }
  .hero-grid{ grid-template-columns:1fr; gap:24px; padding-top:28px; padding-bottom:32px; }
  .hero-img img{ aspect-ratio:4/3; max-height:none; }
  .hero h1{ margin-top:8px; }
  .pdp{ grid-template-columns:minmax(0,1fr); gap:20px; }
  .gallery{ position:static; margin:0 -16px; }
  .gallery-main{ border-radius:0; }
  .gallery-thumbs{ padding:0 16px 4px; }
  .checkout, .order-page{ grid-template-columns:minmax(0,1fr); }
  .order-page .checkout-summary{ order:0; }
  .checkout-summary{ position:static; order:-1; }
  .main-nav{ display:none; }
  .sub-nav{ display:flex; gap:18px; overflow-x:auto; padding:0 16px 10px; white-space:nowrap; scrollbar-width:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid > div:first-child{ grid-column:1 / -1; }
  .hide-sm{ display:none; }
  .section{ padding:36px 0; }
  .sticky-add{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:45; background:#fff; border-top:1px solid var(--line); padding:10px 16px; align-items:center; justify-content:space-between; gap:12px; transform:translateY(110%); transition:transform .2s; }
  .sticky-add.is-on{ transform:none; }
  .sticky-add b{ font-size:18px; font-weight:900; display:block; }
  .sticky-add small{ color:var(--muted); font-size:12px; }
  .product-page ~ .wa-float, body:has(.sticky-add.is-on) .wa-float{ bottom:80px; }
  .row2{ grid-template-columns:1fr; gap:0; }
}
@media (max-width: 380px){
  .card-price b{ font-size:15.5px; }
}
