

/* ==========================================================
   CIRIUS · Cambio 4 · Product page MacBook · reconstrucción limpia
   Base visual del bloque superior: v06.5.1 exact_match.
   ========================================================== */

/* Header global aprobado: conserva layout normal y acompaña Hero/retícula ultra-wide. */
@media (min-width:2200px){
  .site-header .nav{width:min(76vw,2100px);}
}

/* El bloque superior usa exactamente la geometría base del ZIP.
   Único cambio: el texto introductorio pasa debajo del título. */
.product-page-macbook .product-intro-head{
  display:block;
  margin-bottom:49px;
}
.product-page-macbook .product-intro-head p{
  margin:20px 0 0;
  max-width:760px;
  justify-self:auto;
  color:#647084;
  font-size:16px;
  line-height:1.65;
}

/* Selector MacBook: mismo patrón visual que el selector iPhone existente. */
.macbook-selector{
  display:grid;
  gap:10px;
  margin-top:8px;
}
.macbook-selector label{
  font-size:12px;
  font-weight:750;
  color:var(--ink);
}
.macbook-selector select{
  width:100%;
  min-width:0;
  min-height:48px;
  padding:10px 14px;
  border:1px solid #b4bfce;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:14px;
  margin-bottom:6px;
}
.macbook-selector select:disabled{
  background:#f5f6f7;
  color:#8a95a5;
}
.macbook-selected .mini{
  display:block;
  margin-bottom:4px;
  color:#69758a;
  font-size:9px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Página de producto: secciones inferiores específicas, aisladas del bloque superior. */
.pd-section{padding:clamp(84px,8vw,126px) 0}
.pd-section.white{background:#fff}
.pd-section.dark{background:#0b1525;color:#fff}
.pd-section.dark .section-head h2{color:#fff}
.pd-section.dark .section-head p{color:#aab6c6}
.pd-section.dark .eyebrow{color:#f0aaa3}

.pd-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.pd-benefit{
  min-height:250px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
}
.pd-benefit .n{
  color:var(--red);
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
}
.pd-benefit h3{
  margin:42px 0 10px;
  color:var(--ink);
  font-size:24px;
  line-height:1.08;
  letter-spacing:-.03em;
}
.pd-benefit p{
  margin:0;
  color:#69758a;
  font-size:14px;
  line-height:1.6;
}

.pd-how{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:18px;
}
.pd-how-visual{
  min-height:500px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 28% 30%,rgba(86,144,255,.22),transparent 28%),
    radial-gradient(circle at 72% 58%,rgba(225,62,67,.22),transparent 31%),
    linear-gradient(145deg,#111e33,#08111f);
  position:relative;
  overflow:hidden;
}
.pd-laptop{
  position:absolute;
  width:62%;height:34%;
  left:17%;top:40%;
  border:3px solid rgba(255,255,255,.45);
  border-radius:14px 14px 7px 7px;
  transform:perspective(700px) rotateX(3deg) rotateY(-8deg);
  background:linear-gradient(135deg,#0b1220,#23457e 45%,#bf3f4e);
  box-shadow:0 32px 50px rgba(0,0,0,.28);
}
.pd-laptop::after{
  content:"";
  position:absolute;
  height:12px;
  left:-6%;right:-6%;bottom:-16px;
  background:#9ba5b3;
  border-radius:50% 50% 8px 8px;
}
.pd-filter{
  position:absolute;
  width:56%;height:32%;
  left:29%;top:24%;
  border:1px solid rgba(149,195,255,.65);
  border-radius:11px;
  transform:rotate(-7deg);
  background:linear-gradient(120deg,rgba(68,136,255,.27),rgba(210,55,58,.40));
}
.pd-how-copy{
  padding:clamp(30px,4vw,50px);
  border:1px solid rgba(255,255,255,.1);
  border-radius:28px;
  background:rgba(255,255,255,.035);
}
.pd-how-copy h3{
  margin:8px 0 14px;
  font-size:clamp(34px,3vw,50px);
  line-height:1.03;
  letter-spacing:-.04em;
}
.pd-how-copy p{margin:0 0 24px;color:#aab6c6;line-height:1.7}
.pd-steps{display:grid;gap:12px}
.pd-step{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.1);
}
.pd-step i{
  width:34px;height:34px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  font-style:normal;
  font-size:11px;
  font-weight:850;
}
.pd-step b{display:block;font-size:13px;margin-bottom:4px}
.pd-step span{color:#9eaaba;font-size:13px;line-height:1.5}

.pd-tech{display:grid;gap:0}
.pd-tech-row{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:34px;
  padding:26px 0;
  border-top:1px solid var(--line);
}
.pd-tech-row:last-child{border-bottom:1px solid var(--line)}
.pd-tech-row b{color:var(--ink);font-size:18px}
.pd-tech-row p{margin:0;color:#69758a;line-height:1.65}

.pd-compat{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:22px;
}
.pd-compat-note{
  padding:32px;
  border-radius:26px;
  background:#0b1525;
  color:#fff;
}
.pd-compat-note h3{margin:0 0 12px;font-size:31px;letter-spacing:-.035em}
.pd-compat-note p{margin:0;color:#aab6c6;line-height:1.65}
.pd-compat-table{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
}
.pd-compat-row{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:20px;
  padding:18px 22px;
  border-bottom:1px solid var(--line);
}
.pd-compat-row:last-child{border-bottom:0}
.pd-compat-row b{color:var(--ink)}
.pd-compat-row span{color:#69758a}

.pd-install{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.pd-install-card{
  padding:28px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
}
.pd-install-card i{
  width:34px;height:34px;
  display:grid;place-items:center;
  border:1px solid #d5dde6;
  border-radius:50%;
  color:var(--ink);
  font-style:normal;
  font-size:11px;
  font-weight:850;
}
.pd-install-card h3{margin:30px 0 10px;color:var(--ink);font-size:23px}
.pd-install-card p{margin:0;color:#69758a;line-height:1.6}

.pd-transparency{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:28px;
  background:#fff;
}
.pd-transparency-copy{padding:clamp(34px,4vw,56px)}
.pd-transparency-copy h3{
  margin:8px 0 14px;
  color:var(--ink);
  font-size:clamp(36px,3vw,50px);
  letter-spacing:-.04em;
}
.pd-transparency-copy p{color:#69758a;line-height:1.65}
.pd-validation{
  padding:clamp(34px,4vw,56px);
  background:#eef1f4;
}
.pd-validation div{
  padding:16px 0;
  border-bottom:1px solid #d7dee6;
}
.pd-validation div:last-child{border-bottom:0}
.pd-validation b{display:block;color:var(--ink);margin-bottom:4px}
.pd-validation span{color:#6e7b8f;font-size:13px;line-height:1.5}

.preview-toast{
  position:fixed;
  left:50%;bottom:22px;
  transform:translate(-50%,20px);
  z-index:200;
  max-width:min(580px,calc(100% - 32px));
  padding:13px 18px;
  border-radius:999px;
  background:#0b1525;
  color:#fff;
  font-size:13px;
  font-weight:750;
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  box-shadow:0 18px 44px rgba(0,0,0,.22);
}
.preview-toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:1050px){
  .pd-benefits{grid-template-columns:repeat(2,1fr)}
  .pd-how,.pd-compat,.pd-transparency{grid-template-columns:1fr}
}
@media(max-width:700px){
  .product-page-macbook .product-intro-head p{font-size:15px}
  .pd-benefits,.pd-install{grid-template-columns:1fr}
  .pd-tech-row{grid-template-columns:1fr;gap:8px}
  .pd-compat-row{grid-template-columns:90px 1fr}
}


/* ==========================================================
   Ajuste visual · equilibrio interno de cards
   Base: CIRIUS_cambio_4_producto_macbook_reconstruido_preview.html
   ========================================================== */

/* 1) LO ESENCIAL
   Menos vacío entre microtítulo y título; títulos/párrafos alineados entre tarjetas. */
.pd-benefit{
  display:grid;
  grid-template-rows:auto minmax(58px,auto) 1fr;
  align-content:start;
  row-gap:14px;
  padding:28px 30px;
}
.pd-benefit .n{
  margin:0;
  line-height:1.3;
}
.pd-benefit h3{
  margin:0;
  align-self:start;
}
.pd-benefit p{
  margin:0;
  align-self:start;
}

/* 2) COMPATIBILIDAD
   Centrado vertical real del conjunto título + texto dentro del panel azul. */
.pd-compat-note{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.pd-compat-note h3{
  margin:0 0 14px;
}
.pd-compat-note p{
  margin:0;
}

/* 3) TRANSPARENCIA
   La columna derecha reparte sus tres bloques de forma uniforme en toda la altura. */
.pd-validation{
  display:grid;
  grid-template-rows:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.pd-validation > div{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:20px 0;
}
.pd-validation > div b{
  margin-bottom:6px;
}


/* ==========================================================
   Ajuste visual 2 · Ritmo interno de cards + Compatibilidad
   Base: CIRIUS_cambio_4_producto_macbook_equilibrio_cards_preview.html
   ========================================================== */

/* 1) LO ESENCIAL
   Ritmo natural y uniforme dentro de cada tarjeta:
   título rojo → mismo espacio → título azul → mismo espacio → texto gris.
   Se elimina la reserva artificial de altura del título azul. */
.pd-benefit{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:18px;
  padding:28px 30px;
}
.pd-benefit .n,
.pd-benefit h3,
.pd-benefit p{
  margin:0;
}
.pd-benefit h3{
  min-height:0;
  align-self:auto;
}
.pd-benefit p{
  align-self:auto;
}

/* 2) COMPATIBILIDAD
   Título + párrafo funcionan como un único grupo centrado verticalmente.
   La alineación horizontal sigue siendo a la izquierda. */
.pd-compat-note{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-height:100%;
  padding:36px;
}
.pd-compat-note h3{
  margin:0 0 16px;
}
.pd-compat-note p{
  margin:0;
}


/* ==========================================================
   PRUEBA CTA MACBOOK · 40/60
   Único cambio respecto de la referencia aprobada:
   CTA único -> dos píldoras alineadas.
   ========================================================== */
.macbook-cta-split{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,3fr);
  gap:10px;
  align-items:stretch;
}
.macbook-cta-split .btn{
  width:100%;
  min-width:0;
  white-space:nowrap;
}
.macbook-buy-btn{
  background:var(--navy);
  color:#fff;
  border-color:var(--navy);
  box-shadow:0 13px 30px rgba(11,21,37,.16);
}
.macbook-buy-btn:hover{
  background:var(--navy-2);
}
@media(max-width:640px){
  .macbook-cta-split{
    grid-template-columns:1fr;
  }
}


/* ==========================================================
   PRUEBA CTA MACBOOK · Variante verde / navy
   ÚNICOS cambios respecto de la variante 40/60:
   - Estado: "Stock disponible"
   - Comprar: verde #35765F
   - Explorar: navy #0B1525
   ========================================================== */
.macbook-buy-btn{
  background:#35765F;
  color:#fff;
  border-color:#35765F;
  box-shadow:0 13px 30px rgba(53,118,95,.18);
}
.macbook-buy-btn:hover{
  background:#2f6955;
}
.macbook-explore-btn{
  background:#0B1525;
  color:#fff;
  border-color:#0B1525;
  box-shadow:0 13px 30px rgba(11,21,37,.16);
}
.macbook-explore-btn:hover{
  background:#122139;
}


/* VARIANTE C · BOTONERA SOBRE BANDEJA
   Los dos CTAs se integran en un contenedor común, manteniendo colores y 40/60. */
.macbook-cta-split{
  gap:6px;
  padding:6px;
  border:1px solid #dce2e8;
  border-radius:24px;
  background:#f2f4f6;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.macbook-cta-split .btn{
  border-radius:18px;
  box-shadow:none;
}
.macbook-buy-btn{
  background:#35765F;
  border-color:#35765F;
}
.macbook-buy-btn:hover{background:#2f6955;}
.macbook-explore-btn{
  background:#0B1525;
  border-color:#0B1525;
}
.macbook-explore-btn:hover{background:#122139;}
@media(max-width:640px){
  .macbook-cta-split{
    gap:6px;
    padding:6px;
  }
}


/* VARIANTE PRECIO A · Bloque asociado al dispositivo */
.commerce-price-block{
  margin-top:16px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}
.commerce-price-block>div:first-child{display:grid;gap:3px}
.commerce-kicker{
  color:#6a778c;font-size:10px;font-weight:850;
  letter-spacing:.11em;text-transform:uppercase;
}
.commerce-price-block strong{
  color:#10203a;font-size:30px;line-height:1;letter-spacing:-.035em;
}
.shipping-free{
  display:inline-flex;align-items:center;gap:7px;
  min-height:34px;padding:0 12px;border-radius:999px;
  background:rgba(53,118,95,.09);color:#35765F;
  font-size:11px;font-weight:800;white-space:nowrap;
}
@media(max-width:520px){
  .commerce-price-block{align-items:flex-start;flex-direction:column;gap:10px}
}


/* Estado progresivo de compra */
.macbook-buy-btn.is-disabled{
  background:#aeb9b5 !important;
  border-color:#aeb9b5 !important;
  color:rgba(255,255,255,.88) !important;
  cursor:not-allowed;
  pointer-events:none;
}
.macbook-buy-btn.is-disabled:hover{transform:none!important}
.mac-price-slot{
  display:block;
  min-height:31px;
  color:#10203a;
  font-size:30px;
  line-height:1;
  letter-spacing:-.035em;
  font-weight:800;
}
.mac-price-slot.is-hint{
  display:flex;
  align-items:center;
  min-height:31px;
  color:#7a8798;
  font-size:12px;
  line-height:1.35;
  letter-spacing:0;
  font-weight:650;
}

.commerce-price-guided>div:first-child{min-width:0}
.commerce-price-guided .mac-price-slot.is-hint{
  max-width:250px;
}



/* v07.1.3: keep the long secondary CTA inside narrow product columns. */
@media (max-width:359px), (min-width:901px) and (max-width:1300px){
  .macbook-cta-split .macbook-explore-btn{
    white-space:normal;
    text-align:center;
    padding-inline:12px;
  }
}
