/* =========================================================
   IO CONTINGÊNCIA — Design System
   Tipografia: Space Grotesk (display) + Inter (corpo/dados)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root{
  /* --- paleta --- */
  --bg:            #0A0E18;
  --bg-elevated:   #0E1422;
  --surface:       #121A2E;
  --surface-2:     #182238;
  --border:        #232E48;
  --border-soft:   #1A2438;

  --navy:          #1A2B6D;
  --navy-bright:   #2942A0;
  --cyan:          #29B6F6;
  --cyan-soft:     #7DD3FC;
  --cyan-dim:      rgba(41,182,246,0.12);

  --text:          #E8ECF5;
  --text-dim:      #9AA6C2;
  --text-faint:    #5C6886;

  --success:       #34D399;
  --warning:       #FBBF24;
  --danger:        #F87171;
  --google:        #34A853;
  --whats:         #25D366;

  /* --- tipografia --- */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body:    'Inter', sans-serif;
  --f-mono:    'JetBrains Mono', monospace;

  /* --- layout --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1320px;
  --header-h: 72px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--f-body);
  font-size:15px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input, select{ font-family:inherit; }

/* respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline:2px solid var(--cyan);
  outline-offset:2px;
  border-radius:4px;
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

h1,h2,h3,h4{
  font-family:var(--f-display);
  font-weight:600;
  letter-spacing:-0.01em;
  line-height:1.15;
}

.mono{ font-family:var(--f-mono); }

.tabular{ font-variant-numeric: tabular-nums; }

/* =========================================================
   BACKGROUND TEXTURE — grid sutil + glow do hero
   ========================================================= */
.bg-grid{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(41,182,246,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,182,246,0.045) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 75%);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  height:var(--header-h);
  display:flex;
  align-items:center;
  background:rgba(10,14,24,0.85);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border-soft);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{ height:34px; width:34px; }
.brand-name{
  font-family:var(--f-display);
  font-size:16px;
  font-weight:600;
  letter-spacing:0.01em;
  color:var(--text);
}
.brand-name span{ color:var(--cyan); }

.main-nav{
  display:flex;
  align-items:center;
  gap:32px;
}
.main-nav a{
  font-size:14px;
  font-weight:500;
  color:var(--text-dim);
  transition:color .15s ease;
  position:relative;
}
.main-nav a:hover{ color:var(--text); }
.main-nav a.active{ color:var(--cyan); }

.header-actions{
  display:flex;
  align-items:center;
  gap:18px;
}

.icon-btn{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:var(--radius-sm);
  color:var(--text-dim);
  transition:background .15s ease, color .15s ease;
}
.icon-btn:hover{ background:var(--surface-2); color:var(--text); }
.icon-btn svg{ width:19px; height:19px; }

.cart-count{
  position:absolute;
  top:2px;
  right:2px;
  min-width:16px;
  height:16px;
  padding:0 3px;
  border-radius:8px;
  background:var(--cyan);
  color:#06121F;
  font-size:10px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px;
  border-radius:var(--radius-sm);
  font-size:14px;
  font-weight:600;
  font-family:var(--f-body);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(180deg, var(--cyan) 0%, #1E9FDB 100%);
  color:#06121F;
  box-shadow:0 0 0 1px rgba(41,182,246,0.3), 0 6px 20px -6px rgba(41,182,246,0.5);
}
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 0 0 1px rgba(41,182,246,0.5), 0 10px 24px -6px rgba(41,182,246,0.65); }
.btn-ghost{
  background:var(--surface-2);
  border:1px solid var(--border);
  color:var(--text);
}
.btn-ghost:hover{ border-color:var(--cyan); color:var(--cyan); }
.btn-block{ width:100%; }
.btn-lg{ padding:14px 24px; font-size:15px; }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none !important; }

.menu-toggle{ display:none; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  padding:64px 0 40px;
  overflow:hidden;
}
.hero-glow{
  position:absolute;
  top:-180px;
  left:50%;
  transform:translateX(-50%);
  width:900px;
  height:500px;
  background:radial-gradient(ellipse at center, rgba(41,182,246,0.16) 0%, rgba(26,43,109,0.08) 45%, transparent 75%);
  pointer-events:none;
  z-index:0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--f-mono);
  font-size:11.5px;
  letter-spacing:0.06em;
  color:var(--cyan-soft);
  text-transform:uppercase;
  background:var(--cyan-dim);
  border:1px solid rgba(41,182,246,0.25);
  padding:6px 12px;
  border-radius:20px;
  margin-bottom:20px;
}
.eyebrow .dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--success);
  box-shadow:0 0 0 3px rgba(52,211,153,0.18);
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; } 50%{ opacity:.4; }
}

.hero-title{
  font-size:clamp(32px, 4.4vw, 54px);
  max-width:780px;
  margin-bottom:18px;
}
.hero-title .hl{ color:var(--cyan); }

.hero-sub{
  font-size:16.5px;
  color:var(--text-dim);
  max-width:560px;
  margin-bottom:32px;
}

.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:36px;
  margin-top:40px;
  padding-top:28px;
  border-top:1px solid var(--border-soft);
}
.hstat-num{
  font-family:var(--f-display);
  font-size:26px;
  font-weight:600;
  color:var(--text);
}
.hstat-num .accent{ color:var(--cyan); }
.hstat-label{
  font-size:12.5px;
  color:var(--text-faint);
  margin-top:2px;
}

/* ticker de ofertas */
.ticker-wrap{
  position:relative;
  margin-top:8px;
}
.ticker-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:18px;
}
.ticker-head h2{
  font-size:20px;
  display:flex;
  align-items:center;
  gap:10px;
}
.ticker-head h2 .flame{ font-size:18px; }
.ticker-sub{ font-size:13px; color:var(--text-faint); }

.ticker-scroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding-bottom:8px;
  scroll-snap-type:x proximity;
}
.ticker-scroll::-webkit-scrollbar{ height:6px; }
.ticker-scroll::-webkit-scrollbar-thumb{ background:var(--border); border-radius:3px; }
.ticker-scroll::-webkit-scrollbar-track{ background:transparent; }

.ticker-nav{
  display:flex;
  gap:8px;
}
.ticker-nav button{
  width:32px; height:32px;
  border:1px solid var(--border);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-dim);
  transition:border-color .15s ease, color .15s ease;
}
.ticker-nav button:hover{ border-color:var(--cyan); color:var(--cyan); }

/* =========================================================
   PRODUCT CARD
   ========================================================= */
.card{
  position:relative;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:18px;
  transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.card:hover{
  border-color:rgba(41,182,246,0.4);
  transform:translateY(-3px);
  box-shadow:0 16px 32px -16px rgba(0,0,0,0.5);
}
.card-pulse{
  position:absolute;
  left:0; top:18px; bottom:18px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:var(--cyan);
}
.card-pulse.meta{ background:var(--cyan); }
.card-pulse.google{ background:var(--google); }
.card-pulse.whats{ background:var(--whats); }

.card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}
.platform-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11.5px;
  font-weight:600;
  padding:4px 10px;
  border-radius:6px;
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.platform-tag.meta{ background:var(--cyan-dim); color:var(--cyan-soft); }
.platform-tag.google{ background:rgba(52,168,83,0.12); color:#6FCF8E; }
.platform-tag.whats{ background:rgba(37,211,102,0.12); color:#6FE2A0; }

.platform-tag .pdot{ width:6px; height:6px; border-radius:50%; background:currentColor; }

.badge-verified{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:10.5px;
  color:var(--success);
  font-weight:600;
}

.card-icon-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.card-icon{
  width:42px; height:42px;
  border-radius:var(--radius-sm);
  background:var(--surface-2);
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
  flex-shrink:0;
}

.card-title{
  font-family:var(--f-display);
  font-size:15px;
  font-weight:600;
  color:var(--text);
  margin-bottom:14px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.spec-list{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:16px;
  flex:1;
}
.spec-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  font-size:12.5px;
}
.spec-label{ color:var(--text-faint); }
.spec-value{
  font-family:var(--f-mono);
  color:var(--text-dim);
  font-weight:500;
  font-variant-numeric:tabular-nums;
}
.spec-value.warn{ color:var(--warning); }
.spec-value.bad{ color:var(--danger); }
.spec-value.good{ color:var(--success); }

.delivery-tag{
  font-size:11px;
  color:var(--cyan-soft);
  background:rgba(41,182,246,0.08);
  border:1px solid rgba(41,182,246,0.18);
  padding:5px 9px;
  border-radius:6px;
  margin-bottom:14px;
  display:inline-block;
}

.card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:14px;
  border-top:1px solid var(--border-soft);
}
.price-block{ display:flex; flex-direction:column; }
.price-old{
  font-size:12px;
  color:var(--text-faint);
  text-decoration:line-through;
}
.price-now{
  font-family:var(--f-display);
  font-size:19px;
  font-weight:600;
  color:var(--text);
}
.price-discount{
  font-size:11px;
  color:var(--success);
  font-weight:700;
  margin-left:6px;
}

.card-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px; height:38px;
  border-radius:var(--radius-sm);
  background:var(--surface-2);
  border:1px solid var(--border);
  color:var(--cyan);
  transition:background .15s ease, border-color .15s ease;
  flex-shrink:0;
}
.card-cta:hover{ background:var(--cyan); color:#06121F; border-color:var(--cyan); }

.card-link-block{ flex:1; min-width:0; }

.ticker-item{
  min-width:240px;
  scroll-snap-align:start;
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.cat-card{
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:20px;
  transition:border-color .15s ease, transform .15s ease;
}
.cat-card:hover{ border-color:var(--cyan); transform:translateY(-2px); }
.cat-icon{
  width:48px; height:48px;
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
  flex-shrink:0;
  background:var(--surface-2);
}
.cat-name{ font-family:var(--f-display); font-weight:600; font-size:15px; }
.cat-count{ font-size:12.5px; color:var(--text-faint); margin-top:2px; }

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section{ padding:48px 0; }
.section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:22px;
}
.section-head h2{ font-size:21px; }
.section-count{ font-size:13px; color:var(--text-faint); }

/* =========================================================
   CATALOG LAYOUT (sidebar + grid)
   ========================================================= */
.catalog-layout{
  display:grid;
  grid-template-columns:268px 1fr;
  gap:28px;
  align-items:flex-start;
}

.filters-panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:20px;
  position:sticky;
  top:calc(var(--header-h) + 20px);
  max-height:calc(100vh - var(--header-h) - 40px);
  overflow-y:auto;
}
.filters-panel::-webkit-scrollbar{ width:5px; }
.filters-panel::-webkit-scrollbar-thumb{ background:var(--border); border-radius:3px; }

.filters-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}
.filters-head h3{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:var(--text-dim);
}
.filters-clear{
  font-size:12px;
  color:var(--cyan);
  font-weight:600;
}
.filters-clear:hover{ text-decoration:underline; }

.filter-group{
  padding:16px 0;
  border-bottom:1px solid var(--border-soft);
}
.filter-group:last-child{ border-bottom:none; }
.filter-group-title{
  font-size:12.5px;
  font-weight:600;
  color:var(--text);
  margin-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.check-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 0;
  font-size:13px;
  color:var(--text-dim);
  cursor:pointer;
}
.check-row:hover{ color:var(--text); }
.check-row input[type="checkbox"], .check-row input[type="radio"]{
  width:16px; height:16px;
  accent-color:var(--cyan);
  cursor:pointer;
}
.check-row img{ width:16px; height:16px; border-radius:3px; }

.range-display{
  display:flex;
  justify-content:space-between;
  font-family:var(--f-mono);
  font-size:11.5px;
  color:var(--cyan-soft);
  margin-bottom:8px;
}
.range-slider{ position:relative; height:32px; }
.range-slider input[type="range"]{
  position:absolute;
  width:100%;
  top:12px;
  -webkit-appearance:none;
  background:transparent;
  pointer-events:none;
}
.range-slider input[type="range"]::-webkit-slider-thumb{
  pointer-events:all;
  -webkit-appearance:none;
  width:16px; height:16px;
  border-radius:50%;
  background:var(--cyan);
  border:2px solid var(--bg);
  cursor:pointer;
  margin-top:-7px;
}
.range-slider input[type="range"]::-moz-range-thumb{
  pointer-events:all;
  width:16px; height:16px;
  border-radius:50%;
  background:var(--cyan);
  border:2px solid var(--bg);
  cursor:pointer;
}
.range-slider input[type="range"]::-moz-range-track{
  background:transparent;
  border:none;
}
.range-track{
  position:absolute;
  top:14px;
  width:100%;
  height:4px;
  border-radius:2px;
  background:var(--border);
}
.range-track-fill{
  position:absolute;
  top:14px;
  height:4px;
  border-radius:2px;
  background:var(--cyan);
}

select.filter-select{
  width:100%;
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  color:var(--text);
  padding:9px 10px;
  font-size:13px;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.catalog-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}
.results-count{ font-size:13.5px; color:var(--text-dim); }
.results-count strong{ color:var(--text); }
.sort-select{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  color:var(--text);
  padding:8px 12px;
  font-size:13px;
}

.empty-state{
  text-align:center;
  padding:60px 20px;
  color:var(--text-faint);
}
.empty-state .ic{ font-size:32px; margin-bottom:12px; }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:32px;
}
.page-btn{
  min-width:36px; height:36px;
  padding:0 8px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  font-size:13px;
  font-weight:500;
  color:var(--text-dim);
  display:flex; align-items:center; justify-content:center;
}
.page-btn:hover{ border-color:var(--cyan); color:var(--cyan); }
.page-btn.active{ background:var(--cyan); border-color:var(--cyan); color:#06121F; font-weight:700; }
.page-btn:disabled{ opacity:.4; cursor:not-allowed; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  border-top:1px solid var(--border-soft);
  margin-top:60px;
  padding:56px 0 28px;
  background:var(--bg-elevated);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:36px;
}
.footer-brand p{
  color:var(--text-dim);
  font-size:13.5px;
  margin:14px 0 18px;
  max-width:300px;
  line-height:1.6;
}
.footer-social{
  display:flex;
  gap:10px;
}
.footer-social a{
  width:34px; height:34px;
  border-radius:8px;
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-dim);
  transition:border-color .15s ease, color .15s ease;
}
.footer-social a:hover{ border-color:var(--cyan); color:var(--cyan); }
.footer-social svg{ width:16px; height:16px; }

.footer-col h4{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:var(--text);
  margin-bottom:16px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:13.5px; color:var(--text-dim); transition:color .15s ease; }
.footer-col a:hover{ color:var(--cyan); }

.footer-bottom{
  border-top:1px solid var(--border-soft);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12.5px;
  color:var(--text-faint);
}

/* =========================================================
   PAGES — utilitários compartilhados
   ========================================================= */
.page-hero{
  padding:48px 0 28px;
  border-bottom:1px solid var(--border-soft);
}
.breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  color:var(--text-faint);
  margin-bottom:18px;
}
.breadcrumb a:hover{ color:var(--cyan); }
.page-title{ font-size:clamp(26px, 3vw, 36px); }
.page-sub{ color:var(--text-dim); margin-top:10px; max-width:600px; }

/* PRODUTO */
.product-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  padding:48px 0;
  align-items:flex-start;
}
.product-gallery{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:sticky;
  top:calc(var(--header-h) + 24px);
}
.gallery-icon{ font-size:120px; }

.product-info .platform-tag{ margin-bottom:14px; }
.product-info h1{ font-size:26px; margin-bottom:18px; line-height:1.3; }

.spec-table{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--border-soft);
  border:1px solid var(--border-soft);
  border-radius:var(--radius-md);
  overflow:hidden;
  margin:24px 0;
}
.spec-cell{
  background:var(--surface);
  padding:14px 16px;
}
.spec-cell .lbl{ font-size:11.5px; color:var(--text-faint); margin-bottom:4px; }
.spec-cell .val{ font-family:var(--f-mono); font-size:14.5px; color:var(--text); font-weight:600; }

.price-panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:22px;
  margin:24px 0;
}
.price-panel .price-now{ font-size:30px; }
.price-row{ display:flex; align-items:center; gap:12px; margin-bottom:4px; }
.product-actions{ display:flex; gap:12px; margin-top:18px; }

.trust-row{
  display:flex;
  gap:20px;
  margin-top:20px;
  flex-wrap:wrap;
}
.trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  color:var(--text-dim);
}
.trust-item svg{ width:16px; height:16px; color:var(--success); flex-shrink:0; }

/* CARRINHO */
.cart-layout{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:32px;
  padding:40px 0 60px;
  align-items:flex-start;
}
.cart-item{
  display:flex;
  gap:16px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:16px;
  margin-bottom:12px;
  align-items:center;
}
.cart-item-icon{
  width:56px; height:56px;
  border-radius:var(--radius-sm);
  background:var(--surface-2);
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
  flex-shrink:0;
}
.cart-item-info{ flex:1; min-width:0; }
.cart-item-info h4{ font-size:14px; font-weight:600; margin-bottom:4px; }
.cart-item-info .platform-tag{ margin-bottom:6px; }
.cart-item-price{ font-family:var(--f-mono); font-weight:600; }
.cart-remove{
  color:var(--text-faint);
  width:32px; height:32px;
  display:flex; align-items:center; justify-content:center;
  border-radius:6px;
  flex-shrink:0;
}
.cart-remove:hover{ color:var(--danger); background:rgba(248,113,113,0.1); }

.summary-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:22px;
  position:sticky;
  top:calc(var(--header-h) + 20px);
}
.summary-row{
  display:flex;
  justify-content:space-between;
  font-size:13.5px;
  color:var(--text-dim);
  margin-bottom:12px;
}
.summary-row.total{
  font-size:16px;
  color:var(--text);
  font-weight:700;
  font-family:var(--f-display);
  padding-top:14px;
  border-top:1px solid var(--border-soft);
  margin-top:6px;
}
.empty-cart{
  text-align:center;
  padding:80px 20px;
}
.empty-cart .ic{ font-size:40px; margin-bottom:16px; }
.empty-cart p{ color:var(--text-dim); margin-bottom:24px; }

/* COMO FUNCIONA */
.steps-rail{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
  padding:48px 0;
}
.steps-rail::before{
  content:'';
  position:absolute;
  top:28px;
  left:6%;
  right:6%;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
}
.step-card{ position:relative; }
.step-num{
  width:56px; height:56px;
  border-radius:50%;
  background:var(--surface);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display);
  font-weight:700;
  font-size:18px;
  color:var(--cyan);
  margin-bottom:20px;
  position:relative;
  z-index:1;
}
.step-card h3{ font-size:16px; margin-bottom:8px; }
.step-card p{ font-size:13.5px; color:var(--text-dim); line-height:1.6; }

/* FAQ accordion */
.faq-list{ max-width:760px; }
.faq-item{
  border-bottom:1px solid var(--border-soft);
}
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 4px;
  text-align:left;
  font-size:15px;
  font-weight:600;
  color:var(--text);
  gap:16px;
}
.faq-q .chev{
  flex-shrink:0;
  width:18px; height:18px;
  color:var(--cyan);
  transition:transform .2s ease;
}
.faq-item.open .faq-q .chev{ transform:rotate(180deg); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
}
.faq-a-inner{
  padding:0 4px 20px;
  color:var(--text-dim);
  font-size:13.5px;
  line-height:1.7;
  max-width:680px;
}
.faq-categories{
  display:flex;
  gap:10px;
  margin-bottom:32px;
  flex-wrap:wrap;
}
.faq-cat-btn{
  padding:8px 16px;
  border-radius:20px;
  border:1px solid var(--border);
  font-size:13px;
  color:var(--text-dim);
}
.faq-cat-btn.active{ background:var(--cyan-dim); border-color:var(--cyan); color:var(--cyan-soft); }

/* SUPORTE */
.support-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-bottom:48px;
}
.support-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:24px;
  transition:border-color .15s ease, transform .15s ease;
}
.support-card:hover{ border-color:var(--cyan); transform:translateY(-2px); }
.support-icon{
  width:46px; height:46px;
  border-radius:var(--radius-sm);
  background:var(--cyan-dim);
  color:var(--cyan);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.support-icon svg{ width:22px; height:22px; }
.support-card h3{ font-size:15.5px; margin-bottom:8px; }
.support-card p{ font-size:13px; color:var(--text-dim); line-height:1.6; margin-bottom:14px; }
.support-card a.link{ font-size:13px; color:var(--cyan); font-weight:600; display:inline-flex; align-items:center; gap:6px; }

.contact-form{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
  max-width:560px;
}
.form-row{ margin-bottom:18px; }
.form-row label{
  display:block;
  font-size:12.5px;
  font-weight:600;
  color:var(--text-dim);
  margin-bottom:8px;
}
.form-row input, .form-row textarea, .form-row select{
  width:100%;
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:11px 14px;
  color:var(--text);
  font-size:14px;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{
  border-color:var(--cyan);
}
.form-row textarea{ resize:vertical; min-height:110px; }

.toast{
  position:fixed;
  bottom:24px;
  right:24px;
  background:var(--surface-2);
  border:1px solid var(--cyan);
  color:var(--text);
  padding:14px 20px;
  border-radius:var(--radius-sm);
  font-size:13.5px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:0 12px 32px -8px rgba(0,0,0,0.5);
  z-index:1000;
  transform:translateY(20px);
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
  pointer-events:none;
}
.toast.show{ transform:translateY(0); opacity:1; }
.toast svg{ width:18px; height:18px; color:var(--success); flex-shrink:0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px){
  .catalog-layout{ grid-template-columns:1fr; }
  .filters-panel{ position:static; max-height:none; }
  .catalog-grid{ grid-template-columns:repeat(2, 1fr); }
  .product-layout{ grid-template-columns:1fr; gap:32px; }
  .product-gallery{ position:static; padding:32px; }
  .cart-layout{ grid-template-columns:1fr; }
  .summary-card{ position:static; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .steps-rail{ grid-template-columns:1fr 1fr; gap:32px 24px; }
  .steps-rail::before{ display:none; }
  .support-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 760px){
  .main-nav{ display:none; }
  .menu-toggle{
    display:flex;
    width:38px; height:38px;
    align-items:center; justify-content:center;
    color:var(--text);
  }
  .header-actions .btn-ghost{ display:none; }
  .cat-grid{ grid-template-columns:1fr; }
  .catalog-grid{ grid-template-columns:1fr; }
  .hero-stats{ gap:24px; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .footer-bottom{ flex-direction:column; gap:10px; text-align:center; }
  .steps-rail{ grid-template-columns:1fr; }
  .support-grid{ grid-template-columns:1fr; }
  .spec-table{ grid-template-columns:1fr; }
  .footer-social{ flex-wrap:wrap; }
}

/* mobile nav drawer */
.mobile-nav{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(6,9,16,0.7);
  backdrop-filter:blur(4px);
  display:none;
}
.mobile-nav.open{ display:block; }
.mobile-nav-panel{
  position:absolute;
  top:0; right:0;
  width:78%;
  max-width:320px;
  height:100%;
  background:var(--bg-elevated);
  border-left:1px solid var(--border);
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.mobile-nav-panel a{
  padding:14px 8px;
  font-size:15px;
  font-weight:500;
  color:var(--text-dim);
  border-bottom:1px solid var(--border-soft);
}
.mobile-nav-close{
  align-self:flex-end;
  width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-dim);
  margin-bottom:12px;
}
