

/* ==========================================================
   CIRIUS · Cambio 4 · Página de producto iPhone · Preview
   Patrón visual/UX: página MacBook aprobada.
   ========================================================== */

/* Header global: mismo comportamiento aprobado de Home/MacBook. */
@media (min-width:2200px){
  .site-header .nav{width:min(76vw,2100px);}
}

/* Cabecera de producto:
   misma geometría del bloque superior aprobado.
   El texto introductorio queda debajo del título. */
.product-page-iphone .product-intro-head{
  display:block;
  margin-bottom:49px;
}
.product-page-iphone .product-intro-head p{
  margin:20px 0 0;
  max-width:760px;
  justify-self:auto;
  color:#647084;
  font-size:16px;
  line-height:1.65;
}

/* Selector dependiente generación -> modelo.
   Reutiliza el lenguaje visual ya validado en MacBook/iPhone. */
.iphone-selector{
  display:grid;
  gap:10px;
  margin-top:8px;
}
.iphone-selector label{
  font-size:12px;
  font-weight:750;
  color:var(--ink);
}
.iphone-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;
}
.iphone-selector select:disabled{
  background:#f5f6f7;
  color:#8a95a5;
}
.iphone-selected .mini{
  display:block;
  margin-bottom:4px;
  color:#69758a;
  font-size:9px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Secciones inferiores: mismo sistema aprobado en MacBook. */
.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}

/* Lo esencial: ritmo interno uniforme, sin alinear forzadamente párrafos. */
.pd-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.pd-benefit{
  min-height:250px;
  padding:28px 30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:18px;
}
.pd-benefit .n{
  margin:0;
  color:var(--red);
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
  line-height:1.3;
}
.pd-benefit h3{
  margin:0;
  min-height:0;
  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;
}

/* Cómo funciona */
.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 34% 28%,rgba(212,67,79,.24),transparent 26%),
    radial-gradient(circle at 70% 62%,rgba(90,133,255,.16),transparent 31%),
    linear-gradient(145deg,#111e33,#08111f);
  position:relative;
  overflow:hidden;
}
.pd-phone{
  position:absolute;
  width:31%;
  aspect-ratio:9/19.5;
  left:34%;
  top:12%;
  border:3px solid rgba(255,255,255,.42);
  border-radius:32px;
  background:linear-gradient(180deg,#151c2a,#7a2533 58%,#180d17);
  box-shadow:0 30px 50px rgba(0,0,0,.32);
  transform:rotate(-5deg);
}
.pd-phone::before{
  content:"";
  position:absolute;
  width:34%;
  height:4.5%;
  left:33%;
  top:3%;
  border-radius:999px;
  background:#080b10;
}
.pd-glass{
  position:absolute;
  width:28%;
  aspect-ratio:9/19.5;
  left:46%;
  top:18%;
  border:1px solid rgba(245,132,140,.75);
  border-radius:28px;
  background:linear-gradient(160deg,rgba(197,46,62,.44),rgba(93,20,31,.32));
  box-shadow:0 0 0 1px rgba(255,255,255,.03) inset;
  transform:rotate(7deg);
}
.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}

/* Tecnología */
.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}

/* Compatibilidad:
   bloque azul con título+párrafo centrados verticalmente como grupo. */
.pd-compat{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:22px;
}
.pd-compat-note{
  padding:36px;
  min-height:100%;
  border-radius:26px;
  background:#0b1525;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.pd-compat-note h3{
  margin:0 0 16px;
  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:100px 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}

/* Instalación */
.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}

/* Transparencia:
   los tres bloques de la derecha se reparten uniformemente en altura. */
.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;
  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;
  border-bottom:1px solid #d7dee6;
}
.pd-validation > div:last-child{border-bottom:0}
.pd-validation b{display:block;color:var(--ink);margin-bottom:6px}
.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-iphone .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:82px 1fr}
}


/* ==========================================================
   CTA IPHONE · VARIANTE C BANDEJA
   Patrón trasladado desde la versión MacBook elegida.
   Comprar: verde #35765F
   Explorar: navy #0B1525
   Proporción: 40/60
   ========================================================== */
.iphone-cta-split{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,3fr);
  gap:6px;
  align-items:stretch;
  padding:6px;
  border:1px solid #dce2e8;
  border-radius:24px;
  background:#f2f4f6;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.iphone-cta-split .btn{
  width:100%;
  min-width:0;
  white-space:nowrap;
  border-radius:18px;
  box-shadow:none;
}
.iphone-buy-btn{
  background:#35765F;
  color:#fff;
  border-color:#35765F;
}
.iphone-buy-btn:hover{
  background:#2f6955;
}
.iphone-explore-btn{
  background:#0B1525;
  color:#fff;
  border-color:#0B1525;
}
.iphone-explore-btn:hover{
  background:#122139;
}
@media(max-width:640px){
  .iphone-cta-split{
    grid-template-columns:1fr;
    gap:6px;
    padding:6px;
  }
}



/* ==========================================================
   PRECIO PROGRESIVO GUIADO · IPHONE
   Mismo patrón aprobado en la rama MacBook.
   ========================================================== */
.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}
}
.iphone-buy-btn.is-disabled{
  background:#aeb9b5 !important;
  border-color:#aeb9b5 !important;
  color:rgba(255,255,255,.88) !important;
  cursor:not-allowed;
  pointer-events:none;
}
.iphone-buy-btn.is-disabled:hover{transform:none!important}
.iphone-price-slot{
  display:block;
  min-height:31px;
  color:#10203a;
  font-size:30px;
  line-height:1;
  letter-spacing:-.035em;
  font-weight:800;
}
.iphone-price-slot.is-hint{
  display:flex;
  align-items:center;
  min-height:31px;
  max-width:260px;
  color:#7a8798;
  font-size:12px;
  line-height:1.35;
  letter-spacing:0;
  font-weight:650;
}
.commerce-price-guided>div:first-child{min-width:0}


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