/* Tienda UTIL-ONLINE · misma paleta y tipografías que el sitio principal */
:root {
  --green: #7dbb42; --green-600: #5f9f2a; --green-50: #f1f8e9;
  --blue: #1d93d2; --blue-700: #136fa3; --blue-50: #e8f4fb;
  --indigo: #5361b0; --ink: #12333a; --ink-2: #3c5a60; --muted: #6b8287;
  --line: #dfe9ea; --bg: #ffffff; --bg-soft: #f5f9f7;
  --red: #d64545; --amber: #e8a317;
  --grad: linear-gradient(120deg, #7dbb42 0%, #3ea79c 40%, #1d93d2 68%, #5361b0 100%);
  --shadow: 0 1px 2px rgba(18,51,58,.06), 0 10px 30px -12px rgba(18,51,58,.18);
  --shadow-lg: 0 30px 60px -25px rgba(18,51,58,.35);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg-soft); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .45em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.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: .5em; font: 600 .95rem/1 var(--font-body); padding: .85em 1.2em; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn svg { width: 1.2em; height: 1.2em; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fb457; transform: translateY(-1px); }
.btn--primary { background: var(--grad); color: #fff; }
.btn--primary:hover { box-shadow: 0 10px 22px -10px rgba(29,147,210,.7); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn--lg { font-size: 1.05rem; padding: 1em 1.6em; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Encabezado */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand__mark { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow); }
.brand__name { font: 800 1.25rem/1.05 var(--font-head); color: var(--ink); display: flex; flex-direction: column; }
.brand__tag { font: 600 .7rem/1.4 var(--font-body); color: var(--green-600); letter-spacing: .14em; text-transform: uppercase; }
.header__nav { display: flex; align-items: center; gap: 18px; }
.link-site { font-weight: 600; color: var(--ink); }

/* Portada */
.hero { background: var(--grad); color: #fff; padding: 46px 0 50px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%); pointer-events: none; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 720px; }
.hero p { max-width: 640px; font-size: 1.06rem; opacity: .95; margin: 0; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: .45em .9em; border-radius: 999px; margin-bottom: 14px; }

/* Promos (carrusel deslizable) */
.promos { padding: 28px 0 6px; }
.promos__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.promo { scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; }
.promo:hover { transform: translateY(-3px); }
.promo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Filtros */
.catalog { padding: 28px 0 70px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .9rem/1 var(--font-body); padding: .65em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--blue); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--off.is-on { background: var(--red); border-color: var(--red); }
.chip--now.is-on { background: var(--green-600); border-color: var(--green-600); }
.search input { font: inherit; padding: .7em 1em; border-radius: 999px; border: 1.5px solid var(--line); width: 280px; max-width: 100%; background: #fff; }
.search input:focus { outline: none; border-color: var(--blue); }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card[hidden] { display: none; }
.card--sold .card__media img { filter: grayscale(.8); opacity: .75; }
.card__media { position: relative; display: block; background: #fff; aspect-ratio: 1 / 1; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__line { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); }
.card h3 { font-size: 1.18rem; margin: 6px 0 6px; }
.card h3 a { color: inherit; }
.card p { font-size: .94rem; color: var(--muted); }
.card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }
.card__actions .btn { flex: 1; padding: .8em .8em; }

.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font: 700 .72rem/1 var(--font-body); padding: .5em .8em; border-radius: 999px; color: #fff; letter-spacing: .02em; }
.badge--off { background: var(--red); }
.badge--now { background: var(--green-600); }
.badge--top { background: var(--indigo); }
.badge--sold { background: var(--ink); }

/* Precio */
.price { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 6px; }
.price__now { font: 800 1.4rem/1.2 var(--font-head); color: var(--ink); }
.price__now--sold { color: var(--muted); }
.price__off { font-size: .8rem; color: #fff; background: var(--red); padding: .2em .5em; border-radius: 6px; vertical-align: middle; }
.price__before { color: var(--muted); font-size: .9rem; }
.price__ars { font-size: .86rem; color: var(--muted); }
.price__fees { font-size: .88rem; font-weight: 600; color: var(--green-600); }
.price__ask { font: 700 1.1rem/1.3 var(--font-head); color: var(--blue-700); }
.price--big .price__now { font-size: 2rem; }
.price--big .price__ask { font-size: 1.4rem; }

.empty { text-align: center; padding: 40px 0; color: var(--muted); }

/* Ficha */
.crumbs { font-size: .88rem; color: var(--muted); padding: 22px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; padding: 10px 0 30px; }
.gallery__main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--shadow); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-on { border-color: var(--blue); }
.info { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 92px; }
.info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 6px; }
.info__model { color: var(--muted); margin-top: -4px; }
.info__lead { font-size: 1.05rem; color: var(--ink-2); }
.info__sold { background: var(--bg-soft); padding: 12px 14px; border-radius: 12px; }
.specs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.specs li { padding-left: 28px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f9f2a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--muted); }
.trust li::before { content: "· "; color: var(--green); font-weight: 800; }

.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 20px 0 40px; align-items: start; }
.detail h2 { font-size: 1.4rem; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; margin-top: 20px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ask { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.ask p { margin: 0; color: var(--muted); }
.ask label { display: grid; gap: 5px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.ask input, .ask select, .ask textarea { font: inherit; font-weight: 400; padding: .75em .9em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.ask input:focus, .ask select:focus, .ask textarea:focus { outline: none; border-color: var(--blue); }
.ask .ask__legal { font-size: .8rem; }
.ask__ok { background: var(--green-50); color: var(--green-600); padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.more { padding: 10px 0 70px; }
.more h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* Pie */
.footer { background: var(--ink); color: #c9d8da; padding: 30px 0; font-size: .9rem; text-align: center; }
.footer strong { color: #fff; }
.footer__note { opacity: .8; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 0; }
.footer a { color: #fff; }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(0,0,0,.35); z-index: 60; }
.wa-float svg { width: 32px; height: 32px; }

@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .product, .detail { grid-template-columns: 1fr; gap: 24px; }
  .info { position: static; }
  .promos__track { grid-auto-columns: minmax(200px, 40%); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header__in { min-height: 64px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__mark img { width: 30px; }
  .brand__name { font-size: 1.1rem; }
  .link-site { display: none; }
  .header .btn--wa span { display: none; }
  .header .btn--wa { padding: .7em; }
  .hero { padding: 32px 0 36px; }
  .promos__track { grid-auto-columns: 62%; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .filters { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; min-width: 0; max-width: 100%; }
  .filters > * { min-width: 0; }
  .chip { flex: 0 0 auto; }
  .search input { width: 100%; }
  .info, .ask { padding: 20px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
