/* Van Deer Mayoreo · diseño V
   Fondo shader verde en todo el sitio. Inicio: hero con foto de taller en blanco y negro + 2 categorías sin foto + footer.
   Producto: en celular todo cabe en una pantalla (la foto toma el espacio que sobra); en PC foto grande a la izquierda. */

.d-v { --v-rojo: #FF6B57; }
.d-v h1, .d-v h2 { font-stretch: 80%; font-weight: 800; letter-spacing: -.01em; }
.v-logo { display: flex; align-items: baseline; gap: 9px; font-stretch: 112%; font-weight: 900; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.v-logo small { font-stretch: 100%; font-size: .6rem; font-weight: 700; letter-spacing: .28em; color: var(--laton-claro); }
.d-v .pedido-btn { color: var(--hueso); }
@media (max-width: 440px) { .d-v .pedido-btn > span { display: none; } }
.v-migas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--tenue); padding: 14px 0 6px; }
.v-migas a:hover { color: var(--laton-claro); }
.v-migas i { font-style: normal; opacity: .5; }
.v-migas span { color: var(--hueso); }

/* ---------- Inicio ---------- */
.v-hero { position: relative; height: min(50svh, 560px); min-height: 330px; overflow: hidden; display: flex; align-items: flex-end; }
.v-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: grayscale(1) contrast(1.12) brightness(.66); }
.v-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,16,.15) 0%, rgba(14,20,16,.25) 45%, rgba(14,20,16,.92) 100%); }
.v-hero-txt { position: relative; z-index: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 18px 30px; }
.v-eti { margin: 0 0 10px; font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--laton-claro); }
.v-hero h1 { margin: 0; font-size: clamp(2.1rem, 9vw, 4.4rem); line-height: .92; text-transform: uppercase; font-stretch: 72%; font-weight: 800; color: #F3EBDD; }
.v-lead { margin: 14px 0 0; max-width: 30em; color: rgba(243,235,221,.8); font-size: .95rem; }

.v-cats { max-width: 1040px; margin: 0 auto; padding: 22px 16px 48px; display: grid; gap: 14px; }
.v-cat { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "nom ir" "cif ir"; align-items: end; gap: 4px 16px; padding: 20px 20px 22px; border-radius: 22px; background: rgba(16,22,18,.55); border: 1px solid rgba(210,174,110,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s, transform .2s, background .2s; }
.v-cat:hover { border-color: var(--laton-claro); background: rgba(16,22,18,.7); transform: translateY(-2px); }
.v-cat-num { grid-area: num; font-size: .72rem; font-weight: 700; letter-spacing: .26em; color: var(--laton-claro); }
.v-cat-nom { grid-area: nom; display: flex; flex-direction: column; font-size: .82rem; color: var(--tenue); }
.v-cat-nom b { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 15vw, 4.8rem); line-height: .9; color: var(--hueso); margin-top: 2px; }
.v-cat-cifras { grid-area: cif; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(230,216,196,.14); }
.v-cat-cifras b { font-size: 1.9rem; font-weight: 800; color: var(--laton-claro); line-height: 1; }
.v-cat-cifras span { font-weight: 600; }
.v-cat-cifras small { font-size: .78rem; color: var(--tenue); }
.v-cat-cifras small { flex-basis: 100%; }
.v-cat-ir { grid-area: ir; align-self: end; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(210,174,110,.6); color: var(--laton-claro); font-size: 1.4rem; transition: background .2s, color .2s; }
.v-cat:hover .v-cat-ir { background: var(--laton); color: var(--fondo); }
@media (min-width: 760px) {
  .v-cats { grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 28px; }
  .v-hero-txt { padding-bottom: 44px; }
}

/* ---------- Footer ---------- */
.v-pie { position: relative; z-index: 1; background: rgba(10,14,11,.82); border-top: 1px solid rgba(210,174,110,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; color: var(--tenue); }
.v-pie-in { max-width: 1040px; margin: 0 auto; padding: 34px 16px 18px; display: grid; gap: 26px; }
.v-pie-marca .v-logo { color: var(--hueso); }
.v-pie-marca p { margin: 10px 0 0; max-width: 28em; }
.v-pie h6 { margin: 0 0 10px; font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--laton-claro); }
.v-pie a, .v-pie p { display: block; margin: 0 0 7px; }
.v-pie a:hover { color: var(--hueso); }
.v-pie p span { color: var(--hueso); }
.v-pie-wa { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 4px !important; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(37,211,102,.5); color: var(--hueso); }
.v-pie-wa svg { width: 18px; height: 18px; }
.v-copy { max-width: 1040px; margin: 0 auto; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(230,216,196,.08); font-size: .76rem; }
@media (min-width: 760px) { .v-pie-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
body.d-v:has(.barra) .v-pie { padding-bottom: 84px; }

/* ---------- Categoría ---------- */
.v-catpag h1 { margin: 4px 0 18px; font-size: clamp(2rem, 9vw, 3.2rem); line-height: .95; text-transform: uppercase; font-stretch: 72%; }
.v-catpag h1 small { display: block; margin-top: 8px; font-stretch: 100%; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--tenue); }
.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; padding-bottom: 44px; }
.v-prod { display: flex; flex-direction: column; }
.v-prod-foto { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.35); }
.v-prod-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.v-prod:hover .v-prod-foto img { transform: scale(1.05); }
.v-prod-foto i { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 99px; background: var(--v-rojo); color: #fff; }
.v-prod b { margin-top: 10px; font-size: .98rem; line-height: 1.2; }
.v-prod em { font-style: normal; font-weight: 800; color: var(--laton-claro); margin-top: 3px; }
.v-prod em small { font-weight: 500; color: var(--tenue); font-size: .75rem; }
@media (min-width: 760px) { .v-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 1000px) { .v-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Producto ---------- */
.d-v .pdp.dp { display: block; padding: 0; }
.v-cab { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.v-atras { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; border: 1px solid var(--linea); color: var(--hueso); }
.v-cab h1 { margin: 0; font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.v-precio { text-align: right; font-weight: 800; font-size: 1.15rem; color: var(--laton-claro); white-space: nowrap; line-height: 1.05; }
.v-precio small { display: block; font-size: .66rem; font-weight: 600; color: var(--tenue); }
.v-foto { position: relative; background: #fff; border-radius: 18px; overflow: hidden; cursor: pointer; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.v-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.v-lab { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tenue); }
.v-lab b { letter-spacing: .02em; font-size: .86rem; text-transform: capitalize; color: var(--hueso); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-lab em { font-style: normal; letter-spacing: .06em; color: var(--v-rojo); }
.v-ley { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; letter-spacing: .06em; text-transform: none; font-size: .74rem; color: var(--v-rojo); }
.v-ley i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--v-rojo); background: rgba(255,107,87,.18); }

/* variantes: todas a la vista, en 1 o 2 renglones, sin deslizar */
.v-vars { display: grid; grid-template-columns: repeat(var(--c, 4), minmax(0, 1fr)); gap: 6px; }
.d-v .v-var { position: relative; padding: 3px 3px 4px; border-radius: 12px; border: 2px solid transparent; background: rgba(230,216,196,.07); min-width: 0; }
.d-v .v-var img { width: 100%; height: 44px; aspect-ratio: auto; object-fit: cover; border-radius: 8px; background: #fff; display: block; }
.d-v .v-var span { margin-top: 3px; font-size: .64rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-v .v-var.sel { border-color: var(--laton-claro); background: rgba(210,174,110,.16); }
.d-v .v-var.sin img { opacity: .4; filter: grayscale(1); }
.d-v .v-var.sin span { color: var(--v-rojo); }
.d-v .v-var.sin span::after { content: none; }

/* tallas: un renglón; las que no hay, en rojo y tachadas */
.d-v .v-tallas { display: grid; grid-template-columns: repeat(var(--t, 7), minmax(0, 1fr)); gap: 5px; }
.d-v .v-tallas .talla { min-height: 42px; padding: 2px; border-radius: 10px; border: 1.5px solid rgba(230,216,196,.28); background: rgba(16,22,18,.5); font-size: .92rem; font-weight: 800; }
.d-v .v-tallas .talla.sel { background: var(--hueso); border-color: var(--hueso); color: #151D18; }
.d-v .v-tallas .talla.agotada { border: 1.5px solid var(--v-rojo); background: rgba(255,107,87,.14); color: var(--v-rojo); text-decoration: line-through; text-decoration-thickness: 2px; cursor: not-allowed; }
.d-v .v-tallas .talla.agotada small { display: none; }
.d-v .talla.nop { animation: v-nop .35s; }
@keyframes v-nop { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.d-v .v-opc .aviso { display: none; }
.d-v .toast.rojo { background: var(--v-rojo); color: #fff; }

/* celular: la pantalla del producto mide exactamente lo visible; la foto toma lo que sobra */
@media (max-width: 859px) {
  .v-pdpwrap .v-migas { display: none; }
  .v-pant { display: flex; flex-direction: column; height: calc(100svh - 58px - 76px - env(safe-area-inset-bottom)); padding: 8px 0 6px; }
  .v-der { display: contents; }
  .v-cab { flex: 0 0 auto; margin-bottom: 8px; order: -1; }
  .v-foto { flex: 1 1 auto; min-height: 120px; }
  .v-opc { flex: 0 0 auto; }
  .d-v .dp-mas { padding-top: 22px; }
  .d-v .toast { bottom: auto; top: 76px; }
}
@media (max-width: 859px) and (max-height: 620px) {
  .d-v header.top .wrap { height: 50px; }
  .v-pant { height: calc(100svh - 50px - 70px - env(safe-area-inset-bottom)); padding-top: 6px; }
  .v-cab h1 { font-size: 1.05rem; -webkit-line-clamp: 1; }
  .v-atras { width: 32px; height: 32px; }
  .d-v .v-var img { height: 36px; }
  .d-v .v-tallas .talla { min-height: 38px; }
  .v-lab { margin: 7px 0 4px; }
  .d-v .dp-barra { padding-top: 7px; padding-bottom: calc(7px + env(safe-area-inset-bottom)); }
  .d-v .dp-barra .agregar { min-height: 50px; }
  .d-v .dp-barra .cantidad button, .d-v .dp-barra .cantidad input { height: 50px; }
}

/* PC: foto grande a la izquierda; variantes con nombre y tallas grandes a la derecha */
@media (min-width: 860px) {
  .d-v .pdp.dp, .v-pant { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 44px; align-items: start; }
  .d-v .pdp.dp { padding: 6px 0 40px; }
  .d-v .pdp.dp > .v-pant { grid-column: 1 / -1; }
  .v-foto { position: sticky; top: 84px; aspect-ratio: 1; max-height: calc(100vh - 110px); width: 100%; }
  .d-v .pdp.dp > .dp-mas { grid-column: 2; }
  .d-v .v-tallas .talla.agotada { text-decoration: none; }
  .v-atras { display: none; }
  .v-cab { grid-template-columns: 1fr; gap: 6px; }
  .v-cab h1 { font-size: 2.3rem; -webkit-line-clamp: 3; }
  .v-precio { text-align: left; font-size: 1.5rem; }
  .v-precio small { display: inline; margin-left: 8px; font-size: .8rem; }
  .v-lab { margin: 22px 0 10px; font-size: .72rem; }
  .v-lab b { font-size: 1rem; }
  .v-vars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .d-v .v-var { padding: 5px 5px 8px; border-radius: 14px; }
  .d-v .v-var img { height: auto; aspect-ratio: 1; }
  .d-v .v-var span { font-size: .8rem; margin-top: 6px; }
  .d-v .v-var:hover { border-color: rgba(210,174,110,.5); }
  .d-v .v-tallas { grid-template-columns: repeat(var(--t, 7), minmax(0, 1fr)); gap: 8px; }
  .d-v .v-tallas .talla { min-height: 64px; font-size: 1.3rem; border-radius: 14px; }
  .d-v .v-tallas .talla:not(.agotada):not(.sel):hover { border-color: var(--laton-claro); }
  .d-v .v-tallas .talla.agotada small { display: block; text-decoration: none; font-size: .64rem; color: var(--v-rojo); }
  .d-v .dp-barra { margin-top: 22px; }
  .d-v .dp-mas { padding: 22px 0 0; }
}

/* ---------- Letra delgada para títulos (Inter Tight 300, sin serif ni cursiva) ---------- */
.d-v h1, .v-cat-nom b { font-family: "Inter Tight", "Archivo", system-ui, sans-serif; font-stretch: 100%; font-style: normal; }
.v-hero h1 { font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; max-width: 19em; }
.v-cat-nom b { font-weight: 200; letter-spacing: -.02em; }
.v-catpag h1 { font-weight: 300; letter-spacing: -.015em; }
.v-cab h1 { font-weight: 400; letter-spacing: -.01em; }

/* ---------- Inicio en celular: banner + las 2 categorías en una sola pantalla ---------- */
@media (max-width: 759px) {
  .v-hero { height: max(220px, calc(100svh - 58px - 312px)); min-height: 0; }
  .v-hero-txt { padding-bottom: 18px; }
  .v-eti { margin-bottom: 6px; font-size: .62rem; }
  .v-hero h1 { font-size: clamp(1.55rem, 7.4vw, 2.2rem); }
  .v-lead { margin-top: 8px; font-size: .82rem; }
  .v-cats { padding: 12px 16px 28px; gap: 10px; }
  .v-cat { padding: 12px 16px 14px; border-radius: 18px; gap: 2px 12px; }
  .v-cat-nom { font-size: .72rem; }
  .v-cat-nom b { font-size: 2.5rem; line-height: 1; }
  .v-cat-cifras { margin-top: 6px; padding-top: 8px; gap: 2px 8px; }
  .v-cat-cifras b { font-size: 1.35rem; }
  .v-cat-cifras span { font-size: .9rem; }
  .v-cat-cifras small { flex-basis: auto; font-size: .74rem; }
  .v-cat-ir { width: 44px; height: 44px; font-size: 1.2rem; }
}
@media (max-width: 759px) and (max-height: 620px) {
  .v-hero { height: max(170px, calc(100svh - 50px - 302px)); }
  .v-hero h1 { font-size: 1.45rem; }
  .v-lead { display: none; }
}
/* Título del banner: más peso y sombra para que no se pierda con la foto */
.v-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 75% 70% at 20% 85%, rgba(10,14,11,.72), transparent 70%); pointer-events: none; }
.v-hero-txt { z-index: 2; }
.v-hero h1 { font-weight: 600; letter-spacing: -.015em; color: #FFF8EC; text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 6px 30px rgba(0,0,0,.65); }
.v-eti, .v-lead { text-shadow: 0 1px 10px rgba(0,0,0,.8); }