/* =============================================
   FriendlyPOS — styles.css (Global + Producto)
   ============================================= */

:root {
  --orange: #FF6B35;
  --orange-dark: #E85A28;
  --orange-light: #FF8559;
  --orange-50: #FFF4F0;
  --dark: #111;
  --dark-2: #1A1A1A;
  --dark-3: #222;
  --gray: #6B6B6B;
  --gray-light: #999;
  --surface: #F7F7F8;
  --white: #FFF;
  --border: #E8E8E8;
  --max-w: 1400px;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --header-bg: rgba(255,255,255,.95);
  --header-border: #E8E8E8;
  --navy-1: #0a0e27;
  --navy-2: #111640;
  --navy-3: #0d1033;
  --orange-dk: #e0561e;
  --orange-bg: #fff5f1;
  --orange-border: #ffd4c2;
  --purple: #6c47ff;
  --purple-bg: #f0ecff;
  --purple-border: #c9baff;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --txt: #111;
  --txt-2: #6b7280;
  --txt-3: #9ca3af;
  --border-hover: #d1d5db;
  --bg: #F9FAFB;
  --bg-alt: #F7F7F8;
  --card-bg: #FFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --footer-h: 88px;
}

[data-theme="dark"] {
  --bg: #0B0D11;
  --bg-alt: #12151B;
  --txt: #F0F0F2;
  --txt-2: #9CA3AF;
  --txt-3: #6B7280;
  --card-bg: #161920;
  --header-bg: rgba(11,13,17,.92);
  --header-border: rgba(255,255,255,.06);
  --surface: #12151B;
  --border: rgba(255,255,255,.08);
  --border-hover: rgba(255,107,53,.4);
  --orange-50: rgba(255,107,53,.08);
  --gray: #9CA3AF;
  --gray-light: #6B7280;
  --white: #161920;
  --orange-bg: rgba(255,107,53,.08);
  --orange-border: rgba(255,107,53,.2);
  --purple-bg: rgba(108,71,255,.1);
  --purple-border: rgba(108,71,255,.2);
  --green-bg: rgba(22,163,74,.1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'DM Sans', -apple-system, sans-serif; background: var(--bg); color: var(--txt); padding-bottom: var(--footer-h); -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
input[type="radio"] { display: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ─── PRELOADER ── */
#preloader { position: fixed; inset: 0; background: var(--bg); display: flex; justify-content: center; align-items: center; z-index: 99999; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader-logo { width: 120px; animation: pulse 1.5s infinite; }
[data-theme="dark"] .preloader-logo { filter: brightness(0) invert(1); }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }

/* ─── TOPBAR ── */
.topbar { position: relative; z-index: 1; background: linear-gradient(135deg,var(--navy-1),var(--navy-2),var(--navy-3)); height: 42px; overflow: hidden; border-bottom: 1px solid rgba(255,107,53,.1); }
.topbar-glow { position: absolute; top: -30px; width: 250px; height: 80px; background: radial-gradient(ellipse,rgba(255,107,53,.18),transparent 70%); animation: glowM 8s ease-in-out infinite alternate; filter: blur(2px); }
.topbar-track { display: flex; align-items: center; height: 100%; animation: marquee 30s linear infinite; white-space: nowrap; }
.topbar-item { display: inline-flex; align-items: center; gap: .5rem; padding: 0 2.5rem; font-family: 'Montserrat', sans-serif; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.85); }
.topbar-item .hl { color: var(--orange-light); font-weight: 800; }
.topbar-sep { width: 5px; height: 5px; flex-shrink: 0; background: var(--orange); clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%); opacity: .5; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── STICKY WRAPPER ── */
.sticky-header-wrap { position: sticky; top: 0; z-index: 90; }

/* ─── HEADER ── */
.header { position: relative; z-index: 900; background: var(--header-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--header-border); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.08); }
[data-theme="dark"] .header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header-logo img { height: 38px; width: auto; }
.header-nav { display: flex; gap: 2rem; list-style: none; }
.header-nav a { font-size: .85rem; font-weight: 600; color: var(--gray); position: relative; transition: color .2s; }
.header-nav a:hover { color: var(--orange); }
[data-theme="dark"] .header-nav a { color: var(--txt-2); }
[data-theme="dark"] .header-nav a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; background: transparent; border: 1.5px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.theme-toggle svg { width: 18px; height: 18px; transition: transform .4s,opacity .3s; }
.theme-toggle .i-sun { position: absolute; color: var(--orange); opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme-toggle .i-moon { color: var(--gray); }
[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle { border-color: rgba(255,255,255,.12); }
.header-cta { background: linear-gradient(135deg,var(--orange),var(--orange-dark)); color: #fff; font-weight: 700; font-size: .85rem; padding: .6rem 1.5rem; border-radius: 50px; }
.mobile-toggle { display: none; background: none; border: none; color: var(--orange); padding: .5rem; cursor: pointer; }

/* ─── MENÚ MÓVIL ── */
.mobile-nav-overlay { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: all .3s; }
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav { position: fixed; top: 0; right: 0; z-index: 1000; width: 280px; height: 100%; background: var(--white); transform: translateX(100%); transition: transform .35s; padding: 5rem 2rem 2rem; display: flex; flex-direction: column; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { padding: .85rem 0; font-size: .95rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav-close { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; font-size: 1.5rem; color: var(--gray); cursor: pointer; }
[data-theme="dark"] .mobile-nav { background: var(--bg); box-shadow: -8px 0 30px rgba(0,0,0,.4); }
[data-theme="dark"] .mobile-nav a { color: var(--txt); border-bottom-color: var(--border); }

/* ─── LAYOUT PRODUCTO ── */
.page-wrapper { display: grid; grid-template-columns: 400px 1fr; max-width: 1200px; margin: 32px auto; gap: 32px; padding: 0 24px; align-items: start; }

/* Showcase */
.showcase { position: sticky; top: 90px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.showcase-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--orange-bg); color: var(--orange-dark); border: 1px solid var(--orange-border); width: fit-content; }
.showcase-title { font-size: 22px; font-weight: 600; color: var(--txt); line-height: 1.25; }
.showcase-sub { font-size: 13px; color: var(--txt-2); margin-top: -8px; word-break: break-word; }
.showcase-price-row { display: flex; align-items: baseline; gap: 10px; }
.price-old { font-size: 13px; color: var(--txt-3); text-decoration: line-through; }
.price-main { font-size: 26px; font-weight: 600; color: var(--orange); }
.price-iva { font-size: 12px; color: var(--txt-3); }
.main-img-wrap { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); height: 200px; width: 100%; display: flex; align-items: center; justify-content: center; padding: 12px; cursor: zoom-in; overflow: hidden; }
.main-img-wrap img { max-height: 176px; max-width: 100%; object-fit: contain; }
.thumb-row { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.thumb-row::-webkit-scrollbar { display: none; }
.thumb-btn { flex-shrink: 0; width: 58px; height: 58px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-alt); cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; }
.thumb-btn.active { border-color: var(--orange); }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.feat-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--txt-2); }
.feat-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 5px; }
.guarantee-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding-top: 12px; border-top: 1px solid var(--border); }
.guarantee-pill { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--txt-2); font-weight: 500; }
.guarantee-pill svg { color: var(--orange); flex-shrink: 0; }
.dispatch-info { margin-top: -4px; padding: 10px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 5px; }
.dispatch-row { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--txt-2); }
.dispatch-row.indent { padding-left: 20px; font-size: 11px; color: var(--txt-3); }
.dispatch-row svg { color: var(--orange); flex-shrink: 0; }

/* Configurador */
.configurator { display: flex; flex-direction: column; gap: 12px; }
.config-tag { font-size: 10px; font-weight: 600; color: var(--orange); border: 1px solid var(--orange-border); background: var(--orange-bg); border-radius: 4px; padding: 2px 8px; display: inline-block; margin-bottom: 6px; }
.config-h2 { font-size: 24px; font-weight: 600; color: var(--txt); margin-bottom: 4px; }
.config-section { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.sec-title { font-size: 14px; font-weight: 600; color: var(--txt); }
.sec-desc { font-size: 12px; color: var(--txt-3); margin-top: 2px; }
.free-label { font-size: 10px; font-weight: 600; color: var(--green); border: 1px solid var(--green-bg); background: var(--green-bg); border-radius: 4px; padding: 1px 6px; }

/* Tarjetas */
.prod-card, .text-card { display: grid; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-md); background: var(--bg-alt); cursor: pointer; transition: border-color .15s; }
.prod-card { grid-template-columns: 64px 1fr auto auto; }
.text-card { grid-template-columns: 34px 1fr auto auto; }
.prod-card:hover, .text-card:hover { border-color: var(--border-hover); background: var(--surface); }
.prod-card.selected, .text-card.selected { border-color: var(--orange); background: var(--orange-bg); }
.prod-img-col { width: 64px; height: 64px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; padding: 4px; }
.text-card-icon { width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--txt-2); }
.text-card.selected .text-card-icon { color: var(--orange); background: var(--orange-bg); border-color: var(--orange-border); }
.prod-info, .text-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prod-name, .text-card-title { font-size: 13.5px; font-weight: 600; color: var(--txt); }
.prod-desc, .text-card-sub { font-size: 11.5px; color: var(--txt-2); }
.prod-tag { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; width: fit-content; background: var(--orange-bg); color: var(--orange-dark); border: 1px solid var(--orange-border); margin-top: 4px; }
.prod-pricing { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.card-old { font-size: 11px; text-decoration: line-through; color: var(--txt-3); }
.card-price { font-size: 15px; font-weight: 600; color: var(--txt); }
.card-iva { font-size: 10px; color: var(--txt-3); }
.text-card-price { font-size: 13px; font-weight: 600; color: var(--txt); flex-shrink: 0; }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-md); background: var(--bg-alt); cursor: pointer; }
.chip-opt:hover { border-color: var(--border-hover); background: var(--surface); }
.chip-opt.selected { border-color: var(--orange); background: var(--orange-bg); }
.chip-body { flex: 1; }
.chip-name { font-size: 13px; font-weight: 600; color: var(--txt); display: block; }
.chip-sub { font-size: 11px; color: var(--txt-3); }
.chip-free-label { font-size: 10px; font-weight: 600; color: var(--green); background: var(--green-bg); border-radius: 4px; padding: 2px 6px; flex-shrink: 0; }

/* Radio Dots */
.radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--txt-3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.radio-dot.sm { width: 15px; height: 15px; }
.radio-dot.active { border-color: var(--orange); background: var(--orange); }
.radio-inner { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.radio-dot.active .radio-inner { background: #fff; }

/* ─── ZOOM LIGHTBOX ── */
.zoom-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; backdrop-filter: blur(4px); }
.zoom-overlay.open { opacity: 1; pointer-events: all; }
.zoom-overlay img { max-width: min(90vw,600px); max-height: 80vh; transform: scale(.92); transition: transform .22s; }
.zoom-overlay.open img { transform: scale(1); }
.zoom-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border: none; }
.zoom-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; border: none; cursor: pointer; z-index: 10; }
.zoom-arrow-left { left: 20px; }
.zoom-arrow-right { right: 20px; }
.zoom-counter { position: absolute; bottom: 20px; background: rgba(0,0,0,.35); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 13px; }

/* ─── FOOTER GLOBAL ── */
footer { background: linear-gradient(180deg,var(--navy-1),#060820); color: #fff; position: relative; padding-bottom: 2rem; margin-top: 4rem; }
.footer-top { max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem 3rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-brand img { height: 42px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .85rem; word-break: break-word; }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem; }
.footer-contact-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,107,53,.08); display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.footer-contact .sub { font-size: .6rem; text-transform: uppercase; color: rgba(255,255,255,.3); display: block; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.05); max-width: var(--max-w); margin: 0 auto; }
.footer-bottom { text-align: center; font-size: .78rem; color: rgba(255,255,255,.3); padding: 1.5rem; }

/* ─── WHATSAPP FAB ── */
.wa-wrap { position: fixed; bottom: 105px; right: 1.5rem; z-index: 110; }
.wa-menu { position: absolute; bottom: 70px; right: 0; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.15); padding: .5rem; min-width: 180px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; display: flex; flex-direction: column; gap: 0.25rem; }
.wa-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-menu a { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--txt); transition: background .2s, color .2s; text-decoration: none; }
.wa-menu a:hover { background: var(--surface); color: var(--orange); }
.wa-menu a svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.wa-fab { width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.35); transition: transform .25s; cursor: pointer; border: none; }
.wa-fab:hover { transform: scale(1.12); }
.wa-fab svg { width: 28px; height: 28px; }

/* ─── STICKY FOOTER ── */
.sticky-footer { position: fixed; bottom: 0; left: 0; width: 100%; height: var(--footer-h); background: var(--card-bg); border-top: 1px solid var(--border); z-index: 100; display: flex; align-items: center; }
.footer-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.footer-product { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer-prod-name { font-size: 13px; font-weight: 600; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.footer-prod-qty { font-size: 11px; color: var(--txt-3); }
.footer-total { flex: 1; }
.footer-label { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--txt-3); }
.footer-amount-row { display: flex; align-items: baseline; gap: 6px; }
.footer-amount { font-size: 26px; font-weight: 600; color: var(--orange); }
.footer-iva { font-size: 12px; color: var(--txt-3); }
.footer-cuotas { display: block; font-size: 10.5px; color: var(--txt-3); }
.pay-btn { display: flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; border: none; border-radius: 24px; padding: 13px 28px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; }

/* ─── RESPONSIVE 1024px ── */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ─── RESPONSIVE 900px ── */
@media (max-width: 900px) {
  .page-wrapper { grid-template-columns: 1fr; padding: 16px; margin: 16px auto; }
  .showcase { position: static; }
  .prod-card { grid-template-columns: 52px 1fr auto auto; }
}

/* ─── RESPONSIVE 768px ── */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; padding: 2.5rem 1.25rem 2rem; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-inner { padding: 0 16px; gap: 12px; }
  .footer-amount { font-size: 20px; }
  .pay-btn { padding: 11px 18px; font-size: 13px; }
}

/* ─── RESPONSIVE 600px ── */
@media (max-width: 600px) {
  .page-wrapper { grid-template-columns: 1fr; padding: 12px; margin: 12px auto; gap: 16px; }
  .showcase { position: static; padding: 16px; gap: 12px; }
  .main-img-wrap { width: 100%; height: 180px; overflow: hidden; }
  .main-img-wrap img { max-height: 156px; max-width: 100%; object-fit: contain; }
  .showcase-title { font-size: 18px; }
  .price-main { font-size: 22px; }
  .guarantee-row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .prod-card { grid-template-columns: 48px 1fr auto auto; gap: 8px; padding: 10px 12px; }
  .prod-img-col { width: 48px; height: 48px; }
  .card-price { font-size: 13px; }
  .card-old { font-size: 10px; }
  .text-card { grid-template-columns: 30px 1fr auto auto; gap: 8px; padding: 10px 12px; }
  .text-card-icon { width: 30px; height: 30px; }
  .text-card-title { font-size: 12.5px; }
  .text-card-sub { font-size: 10.5px; }
  .text-card-price { font-size: 12px; }
  .chip-grid { grid-template-columns: 1fr 1fr; }
  .chip-opt { padding: 10px; }
  .config-section { padding: 14px 16px; }
  .config-h2 { font-size: 18px; }
  .footer-top { grid-template-columns: 1fr; padding: 2rem 1rem 1.5rem; gap: 1.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-contact-icon { width: 30px; height: 30px; }
  .footer-contact a { font-size: .78rem; }
  :root { --footer-h: 72px; }
  .footer-inner { padding: 0 12px; gap: 8px; }
  .footer-label { display: none; }
  .footer-cuotas { display: none; }
  .footer-amount { font-size: 18px; }
  .footer-iva { font-size: 10px; }
  .pay-btn { padding: 10px 16px; font-size: 13px; border-radius: 20px; }
  .footer-prod-qty { display: none; }
  .footer-prod-name { font-size: 12px; max-width: 90px; }
  .wa-wrap { bottom: 85px; }
}

/* ─── RESPONSIVE 400px ── */
@media (max-width: 400px) {
  .page-wrapper { padding: 8px; }
  .showcase { padding: 12px; }
  .guarantee-row { grid-template-columns: 1fr; }
  .text-card { grid-template-columns: 28px 1fr auto; }
}

/* ─── FIX DESBORDE MÓVIL ── */
.showcase, .configurator, .config-section, .prod-card, .text-card, .chip-opt {
  max-width: 100%;
  overflow: hidden;
}
.feat-list li {
  word-break: break-word;
  overflow-wrap: break-word;
  flex-wrap: wrap;
}
.feat-list li b, .feat-list li strong {
  white-space: normal;
  word-break: break-word;
}
.main-img-wrap {
  box-sizing: border-box;
}

/* ─── FIX HEADER IGUAL QUE INDEX PRINCIPAL ── */
.header-inner.container,
.header-inner { 
  padding-left: 2rem; 
  padding-right: 2rem; 
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 1024px) {
  .header-inner.container,
  .header-inner { padding: 0 1.5rem; height: 68px; }
}
@media (max-width: 600px) {
  .header-inner.container,
  .header-inner { padding: 0 1rem; height: 68px; }
}
