/* Portada de Todo Import JR (2026-10-27, v2): estilo oscuro con rojo, fotos grandes y secciones tipo tienda de maquinaria.
   Colores: negro #000 / #121212, rojo #ff0303, blanco. Tipografías: Outfit (títulos) y Lato (texto). */
:root {
  --pt-negro: #000; --pt-carbon: #121212; --pt-rojo: #ff0303; --pt-rojo-osc: #cc0000;
  /* La grilla, el carrito y las fichas del catálogo toman estos colores */
  --naranja: #ff0303; --rojo: #ff0303; --rojo-osc: #cc0000; --azul: #121212; --navy: #121212; --navy-osc: #000;
  --grad-accion: linear-gradient(90deg, #ff0303, #d90000);
  --grad-marca: linear-gradient(90deg, #ff0303, #ff0303);
}
body { font-family: 'Lato', 'Inter', sans-serif; }
.pt-tit h3, .pt-slide h2, .pt-linea b, .pt-btn, .pt-nav a, .pt-card .t { font-family: 'Outfit', sans-serif; }

/* ---------- Encabezado negro ---------- */
.topbar { background: #000; border-bottom: 0; box-shadow: none; }
.topbar-inner { gap: 22px; padding: 14px 28px; max-width: 1320px; }
.brand { background: none; padding: 0; }
.brand-logo { height: 62px; }
.pt-nav { display: flex; gap: 26px; margin: 0 auto 0 26px; }
.pt-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.pt-nav a:hover, .pt-nav a.on { color: #fff; border-bottom-color: var(--pt-rojo); background: none; }
.topbar .search { flex: 0 1 300px; }
.topbar .search input { background: #1b1b1b; border: 1px solid #333; color: #fff; border-radius: 999px; }
.topbar .search input::placeholder { color: #9a9a9a; }
.topbar .search input:focus { background: #222; border-color: var(--pt-rojo); box-shadow: none; }
.topbar .cuenta-btn, .topbar .cart-btn { background: #1b1b1b; color: #fff; border: 1px solid #333; border-radius: 999px; }
.topbar .cuenta-btn:hover, .topbar .cart-btn:hover { background: #2a2a2a; }

/* ---------- Carrusel: foto grande ---------- */
.pt-hero { position: relative; overflow: hidden; background: #0b0b0b; color: #fff; }
.pt-slides { display: flex; transition: transform .7s ease; }
.pt-slide { flex: 0 0 100%; position: relative; min-height: 600px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; padding: 40px max(60px, calc((100vw - 1240px) / 2)); box-sizing: border-box; overflow: hidden;
  background:
    radial-gradient(60% 80% at 72% 50%, rgba(255,3,3,.28) 0%, rgba(255,3,3,0) 70%),
    linear-gradient(115deg, #050505 0%, #161616 55%, #0a0a0a 100%); }
.pt-slide::before { content: ''; position: absolute; right: 9%; top: -10%; width: 3px; height: 130%; background: linear-gradient(#ff0303, transparent); transform: rotate(18deg); opacity: .55; filter: blur(1px); }
.pt-slide::after { content: ''; position: absolute; right: 4%; top: -10%; width: 2px; height: 130%; background: linear-gradient(#ff0303, transparent); transform: rotate(18deg); opacity: .3; }
.pt-txt { position: relative; z-index: 2; }
.pt-kicker { display: inline-block; color: var(--pt-rojo); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; border: 1px solid rgba(255,3,3,.5); padding: 5px 10px; border-radius: 4px; background: rgba(255,3,3,.08); }
.pt-slide h2 { font-size: clamp(30px, 4.3vw, 64px); line-height: .98; margin: 16px 0 18px; text-transform: uppercase; font-weight: 800; color: #fff; }
.pt-slide h2 em { font-style: normal; color: var(--pt-rojo); display: block; }
.pt-slide p { color: #cfcfcf; font-size: 16px; line-height: 1.6; max-width: 470px; margin: 0 0 26px; }
.pt-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--pt-rojo); color: #fff; font-weight: 700; padding: 15px 30px; border-radius: 6px; border: 0; cursor: pointer; text-decoration: none; font-size: 14px; letter-spacing: .02em; box-shadow: 0 10px 28px rgba(255,3,3,.35); transition: transform .15s, background .15s; }
.pt-btn:hover { background: #e00000; transform: translateY(-2px); }
.pt-foto { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }
.pt-foto .marco { background: #fff; border-radius: 26px; padding: 22px; width: min(100%, 560px); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.65), 0 0 90px rgba(255,3,3,.25); }
.pt-foto img { display: block; width: 100%; aspect-ratio: 1 / .92; object-fit: contain; }
.pt-flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid #444; background: rgba(0,0,0,.75); color: #fff; font-size: 20px; cursor: pointer; z-index: 3; }
.pt-flecha:hover { background: var(--pt-rojo); border-color: var(--pt-rojo); }
.pt-prev { left: 18px; } .pt-next { right: 18px; }
.pt-puntos { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.pt-puntos button { width: 24px; height: 4px; border-radius: 3px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; }
.pt-puntos button.on { background: var(--pt-rojo); width: 46px; }

/* ---------- Franja de beneficios (fondo claro, como los canales de venta) ---------- */
.pt-benef { background: #fff; border-bottom: 1px solid #ececec; }
.pt-benef-in { max-width: 1240px; margin: 0 auto; padding: 34px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.pt-benef-it { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pt-benef-it .ic { font-size: 26px; }
.pt-benef-it b { font-family: 'Outfit', sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pt-rojo); }
.pt-benef-it small { color: #333; font-size: 14px; font-weight: 700; }

/* ---------- Títulos de sección ---------- */
.pt-sec { max-width: 1240px; margin: 0 auto; padding: 64px 24px 10px; }
.pt-tit { text-align: center; margin: 0 0 34px; }
.pt-tit::before { content: ''; display: block; width: 70px; height: 4px; background: var(--pt-rojo); border-radius: 3px; margin: 0 auto 16px; }
.pt-tit h3 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); text-transform: uppercase; font-weight: 800; color: #1e1e1e; letter-spacing: .01em; }
.pt-tit p { margin: 8px 0 0; color: #555; font-size: 14px; font-style: italic; }

/* ---------- Destacados ---------- */
.pt-dest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pt-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; position: relative; }
.pt-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(0,0,0,.14); border-color: #ddd; }
.pt-card .f { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; }
.pt-card .f img { width: 100%; height: 100%; object-fit: contain; }
.pt-card .c { padding: 14px 16px 18px; }
.pt-card .t { font-size: 12.5px; font-weight: 800; text-transform: uppercase; line-height: 1.35; height: 3.4em; overflow: hidden; color: #1e1e1e; }
.pt-card .p { margin-top: 10px; font-size: 19px; font-weight: 800; color: #1e1e1e; }

/* ---------- Compromiso (sección oscura) ---------- */
.pt-oscuro { background: var(--pt-carbon); color: #fff; margin-top: 64px; }
.pt-oscuro .pt-sec { padding-bottom: 70px; }
.pt-oscuro .pt-tit h3 { color: #fff; } .pt-oscuro .pt-tit p { color: #bdbdbd; }
.pt-comp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pt-comp > div { background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 14px; padding: 28px 22px; transition: border-color .2s, transform .2s; }
.pt-comp > div:hover { border-color: var(--pt-rojo); transform: translateY(-4px); }
.pt-comp .n { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,3,3,.14); color: var(--pt-rojo); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.pt-comp b { display: block; font-family: 'Outfit', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.pt-comp p { margin: 0; color: #b5b5b5; font-size: 14px; line-height: 1.6; }

/* ---------- El más buscado ---------- */
.pt-estrella { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: #fafafa; border-radius: 22px; padding: 44px; box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.pt-estrella .img { background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.07); position: relative; }
.pt-estrella .img img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.pt-estrella .tag { position: absolute; left: 16px; top: 16px; background: #ffe5e5; color: var(--pt-rojo); font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }
.pt-estrella .k { color: var(--pt-rojo); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.pt-estrella h3 { font-family: 'Outfit', sans-serif; font-size: clamp(24px, 3vw, 36px); line-height: 1.1; margin: 10px 0 8px; text-transform: uppercase; font-weight: 800; color: #1e1e1e; }
.pt-estrella h3 em { font-style: normal; color: var(--pt-rojo); display: block; }
.pt-estrella .precio { font-size: 28px; font-weight: 800; margin: 6px 0 14px; color: #1e1e1e; }
.pt-estrella ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.pt-estrella li { display: flex; gap: 12px; font-size: 14px; color: #333; line-height: 1.5; }
.pt-estrella li::before { content: '✓'; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--pt-rojo); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }

/* ---------- Líneas con foto ---------- */
.pt-lineas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pt-linea { position: relative; border: 0; text-align: left; cursor: pointer; padding: 0; border-radius: 14px; color: #fff; min-height: 210px; overflow: hidden; background: #fff; display: flex; align-items: flex-end; }
.pt-linea img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px 22px 56px; transition: transform .4s; background: #fff; }
.pt-linea:hover img { transform: scale(1.07); }
.pt-linea .vel { position: relative; width: 100%; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(0deg, rgba(0,0,0,.92), rgba(0,0,0,.78)); }
.pt-linea b { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.pt-linea small { display: block; color: #bdbdbd; margin-top: 2px; font-size: 12px; }
.pt-linea .fl { color: #fff; font-size: 20px; font-weight: 800; transition: transform .2s; }
.pt-linea:hover .fl { transform: translateX(6px); color: var(--pt-rojo); }

/* ---------- Catálogo y pie ---------- */
#catalogo { scroll-margin-top: 90px; }
.site-footer { background: #000; color: #cfcfcf; }
.site-footer a { color: #fff; }
.whatsapp-fab { background: var(--pt-rojo) !important; }

@media (max-width: 900px) {
  .pt-nav { display: none; }
  .topbar-inner { padding: 10px 16px; gap: 12px; }
  .pt-slide { grid-template-columns: 1fr; padding: 24px 20px 52px; min-height: 0; gap: 18px; }
  .pt-foto { order: -1; } .pt-foto .marco { padding: 12px; border-radius: 18px; width: min(100%, 360px); }
  .pt-flecha { display: none; }
  .pt-benef-in { grid-template-columns: 1fr 1fr; }
  .pt-dest, .pt-comp { grid-template-columns: repeat(2, 1fr); }
  .pt-lineas { grid-template-columns: 1fr 1fr; }
  .pt-linea { min-height: 170px; }
  .pt-estrella { grid-template-columns: 1fr; padding: 22px; gap: 24px; }
  .pt-sec { padding-top: 44px; }
}

/* ---------- v3: compresores grandes, grupos de herramientas y grúa pluma gigante ---------- */
.pt-dest.tres { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pt-card.grande .f { padding: 26px; }
.pt-card.grande .t { font-size: 14px; height: 3.9em; }
.pt-card.grande .p { font-size: 24px; }
.pt-grupo { margin-bottom: 38px; }
.pt-grupo h4 { font-family: 'Outfit', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: #1e1e1e; margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--pt-rojo); }
.pt-gigante { display: grid; grid-template-columns: 1.25fr 1fr; gap: 54px; align-items: center; }
.pt-gigante .img { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.6), 0 0 100px rgba(255,3,3,.22); }
.pt-gigante .img img { width: 100%; aspect-ratio: 1 / .85; object-fit: contain; display: block; }
.pt-gigante h3 { font-family: 'Outfit', sans-serif; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; margin: 16px 0 12px; text-transform: uppercase; font-weight: 800; }
.pt-gigante h3 em { font-style: normal; color: var(--pt-rojo); display: block; font-size: .62em; margin-top: 6px; }
.pt-gigante .precio { font-size: 34px; font-weight: 800; margin: 6px 0 18px; }
.pt-gigante ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.pt-gigante li { display: flex; gap: 12px; color: #d5d5d5; font-size: 15px; line-height: 1.5; }
.pt-gigante li::before { content: '✓'; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--pt-rojo); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
@media (max-width: 900px) {
  .pt-dest.tres { grid-template-columns: 1fr; }
  .pt-gigante { grid-template-columns: 1fr; gap: 24px; }
}
.pt-grupo h4 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-vermas { border: 0; background: none; color: var(--pt-rojo); font-weight: 800; font-size: 12px; letter-spacing: .06em; cursor: pointer; text-transform: uppercase; }
.pt-vermas:hover { text-decoration: underline; }
