/* Full-width store introduction. All rules are scoped to the homepage. */
#index #wrapper { padding-top:0; background:#fff; }
#index #wrapper > .container { width:100%; max-width:none; padding-left:0; padding-right:0; }
#index #wrapper > .container > .row { margin-left:0; margin-right:0; }
#index #content-wrapper { padding-left:0; padding-right:0; }
#index #content.page-home { margin:0; }
#index #content.page-home > :not(.zx-store-hero),
#index #main > .featured-products,
#index #main > .ziemax-home-invite,
#index #main > .ziemax-student-picker,
#index #main > .alert { width:calc(100% - 48px); max-width:1200px; margin-left:auto; margin-right:auto; }
#index #main > .featured-products { margin-top:36px; }
#index #main > .ziemax-home-invite, #index #main > .ziemax-student-picker { margin-top:28px; }
#index #main > .page-footer { margin:0; }
#index .zx-store-hero { --hero-purple:#854694; --hero-orange:#f28f22; color:#432550; background:linear-gradient(108deg,#fcf9fd 0%,#f8f3fc 46%,#eee4f6 100%); width:100%; overflow:hidden; }
#index .zx-store-hero__main { position:relative; display:grid; grid-template-columns:minmax(0,1.03fr) minmax(0,1fr); gap:32px; align-items:center; width:calc(100% - 80px); max-width:1260px; min-height:555px; margin:0 auto; }
#index .zx-store-hero__copy { position:relative; z-index:1; padding:52px 0 48px; }
#index .zx-store-hero__eyebrow { display:flex; align-items:center; gap:10px; color:#754183; font-size:12px; font-weight:700; letter-spacing:2px; margin:0 0 22px; line-height:1.5; }
#index .zx-store-hero__eyebrow > span { display:block; width:27px; height:3px; background:var(--hero-orange); }
#index .zx-store-hero h1 { font-family:inherit; font-size:clamp(40px,4vw,62px); font-weight:750; line-height:1.09; letter-spacing:-2.1px; color:#432550; text-transform:none; margin:0 0 26px; }
#index .zx-store-hero h1 > span { color:var(--hero-purple); }
#index .zx-store-hero__intro { max-width:480px; color:#66576e; font-size:18px; line-height:1.75; margin:0 0 28px; }
#index .zx-store-hero__actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
#index .zx-store-hero__button { display:inline-flex; justify-content:center; align-items:center; gap:23px; min-height:52px; padding:14px 23px; border:1px solid transparent; border-radius:7px; font-size:15px; font-weight:700; line-height:1.45; text-decoration:none; transition:background-color .15s ease,box-shadow .15s ease; }
#index .zx-store-hero__button--primary { background:var(--hero-orange); color:#382042; box-shadow:0 5px 14px rgba(163,82,6,.11); }
#index .zx-store-hero__button--primary:hover { background:#ffa43b; color:#382042; box-shadow:0 7px 18px rgba(163,82,6,.17); }
#index .zx-store-hero__button--primary > span { font-size:22px; line-height:1; font-weight:400; }
#index .zx-store-hero__button--secondary { background:rgba(255,255,255,.5); border-color:#b999c3; color:#754183; }
#index .zx-store-hero__button--secondary:hover { background:#fff; color:#5d2a6b; border-color:#854694; }
#index .zx-store-hero__button:focus-visible { outline:3px solid #854694; outline-offset:4px; }
#index .zx-store-hero__hint { margin:17px 0 0; color:#7e7285; font-size:12px; line-height:1.6; }
#index .zx-store-hero__visual { position:relative; isolation:isolate; width:100%; min-width:0; align-self:stretch; display:flex; align-items:center; justify-content:center; }
#index .zx-store-hero__orb { position:absolute; z-index:-1; width:520px; height:520px; right:-60px; top:20px; border-radius:50%; background:linear-gradient(145deg,#e3d0ed,#d8bde5); opacity:.8; }
#index .zx-store-hero__visual::after { content:""; position:absolute; z-index:-1; width:180px; height:180px; right:-90px; top:15px; border-radius:50%; border:1px solid rgba(133,70,148,.19); }
#index .zx-store-hero__visual img { position:relative; z-index:1; display:block; width:calc(100% + 38px); max-width:none; height:auto; margin:0 -38px 20px 0; filter:drop-shadow(0 17px 11px rgba(78,41,92,.15)); }
#index .zx-store-hero__plus { position:absolute; top:48px; left:15px; color:var(--hero-orange); font-size:62px; line-height:1; font-weight:300; transform:rotate(-10deg); }
#index .zx-store-hero__caption { position:absolute; z-index:2; bottom:30px; right:18px; display:flex; align-items:center; gap:9px; color:#74557f; font-size:12px; letter-spacing:.2px; }
#index .zx-store-hero__caption > span { width:6px; height:6px; border-radius:50%; background:var(--hero-orange); }
#index .zx-store-hero__guide { background:rgba(255,255,255,.82); border-top:1px solid #eadff0; border-bottom:1px solid #eadff0; }
#index .zx-store-hero__guide ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; max-width:1260px; width:calc(100% - 80px); margin:0 auto; padding:24px 0; list-style:none; }
#index .zx-store-hero__guide li { display:flex; align-items:center; gap:15px; margin:0; }
#index .zx-store-hero__guide li + li { border-left:1px solid #e6dbea; padding-left:30px; }
#index .zx-store-hero__step { flex:0 0 auto; font-size:25px; line-height:1; font-weight:300; color:#b18cbd; }
#index .zx-store-hero__guide strong { display:block; font-size:14px; font-weight:600; color:#5c3b67; line-height:1.5; }
#index .zx-store-hero__guide div > span { display:block; color:#807488; font-size:12px; line-height:1.6; margin-top:3px; }
@media (min-width:1600px) {
  #index .zx-store-hero__main { min-height:580px; }
}
@media (max-width:991px) {
  #index .zx-store-hero__main { gap:20px; width:calc(100% - 48px); min-height:490px; }
  #index .zx-store-hero h1 { font-size:43px; letter-spacing:-1.3px; }
  #index .zx-store-hero__intro { font-size:16px; }
  #index .zx-store-hero__orb { width:390px; height:390px; right:-90px; top:65px; }
  #index .zx-store-hero__button { padding:12px 17px; font-size:14px; }
  #index .zx-store-hero__guide ol { width:calc(100% - 48px); gap:16px; }
  #index .zx-store-hero__guide li + li { padding-left:16px; }
  #index .zx-store-hero__guide li { gap:10px; }
}
@media (max-width:767px) {
  #index .zx-store-hero__main { display:flex; flex-direction:column; gap:0; min-height:0; width:calc(100% - 40px); }
  #index .zx-store-hero__copy { width:100%; padding:36px 0 8px; }
  #index .zx-store-hero__eyebrow { font-size:10px; letter-spacing:1.65px; margin-bottom:18px; }
  #index .zx-store-hero h1 { font-size:clamp(35px,8.5vw,48px); line-height:1.12; margin-bottom:20px; }
  #index .zx-store-hero__intro { font-size:16px; line-height:1.65; margin-bottom:24px; max-width:480px; }
  #index .zx-store-hero__actions { gap:10px; }
  #index .zx-store-hero__button { flex:1 1 140px; min-height:50px; padding:12px 14px; gap:12px; }
  #index .zx-store-hero__hint { margin-top:14px; font-size:11px; }
  #index .zx-store-hero__visual { align-self:center; width:100%; max-width:430px; min-height:0; padding:8px 0 28px; }
  #index .zx-store-hero__visual img { width:100%; margin:0; }
  #index .zx-store-hero__orb { width:330px; height:330px; right:-25px; top:5px; }
  #index .zx-store-hero__plus { font-size:42px; top:8px; left:0; }
  #index .zx-store-hero__visual::after { width:100px; height:100px; right:-20px; top:0; }
  #index .zx-store-hero__caption { bottom:20px; right:0; font-size:11px; }
  #index .zx-store-hero__guide ol { grid-template-columns:1fr; width:calc(100% - 40px); gap:0; padding:6px 0; }
  #index .zx-store-hero__guide li { padding:16px 0; gap:16px; }
  #index .zx-store-hero__guide li + li { border-left:0; border-top:1px solid #eee5f2; padding-left:0; }
  #index .zx-store-hero__step { min-width:32px; font-size:23px; }
}
@media (prefers-reduced-motion:reduce) {
  #index .zx-store-hero__button { transition:none; }
}

/* Banner enlarged a further 30% including the unchanged purchase guide. */
#index .zx-store-hero__main { min-height:476px; }
#index .zx-store-hero__copy { padding:22px 0; }
#index .zx-store-hero__eyebrow { font-size:10px; margin-bottom:8px; }
#index .zx-store-hero h1 { font-size:40px; line-height:1.12; letter-spacing:-1px; margin-bottom:12px; }
#index .zx-store-hero__intro { max-width:560px; font-size:15px; line-height:1.5; margin-bottom:16px; }
#index .zx-store-hero__button { min-height:44px; padding:10px 18px; font-size:14px; }
#index .zx-store-hero__hint { display:none; }
#index .zx-store-hero__visual img { width:auto; max-width:100%; height:406px; object-fit:contain; margin:0; }
#index .zx-store-hero__orb { width:406px; height:406px; right:calc(50% - 223px); top:35px; }
#index .zx-store-hero__visual::after { width:100px; height:100px; right:calc(50% - 190px); top:10px; }
#index .zx-store-hero__plus { font-size:38px; top:24px; left:calc(50% - 165px); }
#index .zx-store-hero__caption { display:none; }
#index .zx-store-hero__guide ol { padding:12px 0; }
@media (max-width:991px) and (min-width:768px) {
  #index .zx-store-hero h1 { font-size:30px; }
  #index .zx-store-hero__intro { font-size:13px; }
  #index .zx-store-hero__visual img { height:240px; }
}
@media (max-width:767px) {
  #index .zx-store-hero__main { min-height:0; }
  #index .zx-store-hero__copy { padding:24px 0 8px; }
  #index .zx-store-hero h1 { font-size:30px; }
  #index .zx-store-hero__button { min-height:44px; padding:10px 12px; }
  #index .zx-store-hero__visual { padding:4px 0 16px; }
  #index .zx-store-hero__visual img { height:170px; }
  #index .zx-store-hero__orb { width:175px; height:175px; right:calc(50% - 100px); top:0; }
  #index .zx-store-hero__visual::after { right:calc(50% - 130px); width:65px; height:65px; }
  #index .zx-store-hero__plus { font-size:28px; top:10px; left:calc(50% - 115px); }
  #index .zx-store-hero__guide ol { grid-template-columns:repeat(3,minmax(0,1fr)); padding:14px 0; gap:12px; }
  #index .zx-store-hero__guide li { display:block; padding:0; }
  #index .zx-store-hero__guide li + li { border:0; padding-left:0; }
  #index .zx-store-hero__step { display:block; font-size:18px; margin-bottom:6px; }
  #index .zx-store-hero__guide strong { font-size:12px; line-height:1.4; }
  #index .zx-store-hero__guide div > span { display:none; }
}

/* Overlay only the editorial copy and book artwork; account actions never fade. */
#index .zx-store-hero { position:relative; }
#index .zx-store-hero__backdrops { position:absolute; inset:0; pointer-events:none; }
#index .zx-store-hero__backdrop { position:absolute; inset:0; opacity:0; transition:opacity .7s ease; }
#index .zx-store-hero__backdrop.is-active { opacity:1; }
#index .zx-store-hero__backdrop--comunica { background:linear-gradient(108deg,#fcf9fd 0%,#f8f3fc 46%,#eee4f6 100%); }
#index .zx-store-hero__backdrop--resuelve { background:radial-gradient(ellipse at 85% 10%,#8b28bf 0%,transparent 60%),linear-gradient(112deg,#18072f,#411376 65%,#642194); }
#index .zx-store-hero__backdrop--paes { background:radial-gradient(ellipse at 95% 0%,#7d95b9 0%,transparent 65%),linear-gradient(112deg,#15345d,#365b87 68%,#587ba3); }
#index .zx-store-hero__main, #index .zx-store-hero__guide { position:relative; z-index:1; }
#index .zx-store-hero__guide { background:#fff; }
#index .zx-store-hero__eyebrow, #index .zx-store-hero__toggle { transition:color .7s ease; }
#index .zx-store-hero__orb, #index .zx-store-hero__visual::after { transition:opacity .7s ease; }
#index .zx-store-hero[data-active-slide="2"] .zx-store-hero__eyebrow,
#index .zx-store-hero[data-active-slide="0"] .zx-store-hero__eyebrow,
#index .zx-store-hero[data-active-slide="2"] .zx-store-hero__toggle,
#index .zx-store-hero[data-active-slide="0"] .zx-store-hero__toggle { color:#f3eaf8; }
#index .zx-store-hero[data-active-slide="2"] .zx-store-hero__orb,
#index .zx-store-hero[data-active-slide="0"] .zx-store-hero__orb,
#index .zx-store-hero[data-active-slide="2"] .zx-store-hero__visual::after,
#index .zx-store-hero[data-active-slide="0"] .zx-store-hero__visual::after { opacity:0; }
#index .zx-store-hero .zx-store-hero__button--secondary { background:#fcf9fd; }
#index .zx-store-hero__messages { display:grid; }
#index .zx-store-hero__message {
  grid-area:1 / 1; min-width:0; opacity:0; visibility:hidden;
  pointer-events:none; transition:opacity .7s ease,visibility 0s linear .7s;
}
#index .zx-store-hero__message.is-active {
  opacity:1; visibility:visible; pointer-events:auto;
  transition:opacity .7s ease,visibility 0s;
}
#index .zx-store-hero .zx-store-hero__heading {
  font-family:inherit; font-size:40px; line-height:1.12; font-weight:750;
  letter-spacing:-1px; color:#432550; text-transform:none; margin:0 0 12px;
}
#index .zx-store-hero .zx-store-hero__heading > span { color:var(--hero-purple); }
#index .zx-store-hero [data-hero-copy="2"] .zx-store-hero__heading,
#index .zx-store-hero [data-hero-copy="0"] .zx-store-hero__heading { color:#fff; }
#index .zx-store-hero [data-hero-copy="2"] .zx-store-hero__heading > span { color:#e3b5ff; }
#index .zx-store-hero [data-hero-copy="0"] .zx-store-hero__heading > span { color:#c2e5ff; }
#index .zx-store-hero [data-hero-copy="2"] .zx-store-hero__intro,
#index .zx-store-hero [data-hero-copy="0"] .zx-store-hero__intro { color:#f0e9f6; }
#index .zx-store-hero__pictures {
  display:grid; align-items:center; justify-items:center; width:100%; min-width:0;
}
#index .zx-store-hero__picture {
  grid-area:1 / 1; display:flex; align-items:center; justify-content:center;
  width:100%; min-width:0; height:406px; opacity:0; visibility:hidden;
  transition:opacity .7s ease,visibility 0s linear .7s;
}
#index .zx-store-hero__picture.is-active {
  opacity:1; visibility:visible; transition:opacity .7s ease,visibility 0s;
}
#index .zx-store-hero__picture--art img { border-radius:20px; height:auto; max-height:406px; width:auto; max-width:100%; }
#index .zx-store-hero__controls {
  position:absolute; bottom:-26px; left:0; z-index:3; display:flex;
  align-items:center; gap:12px; height:28px;
}
#index .zx-store-hero__controls[hidden] { display:none; }
#index .zx-store-hero__selectors { display:flex; gap:1px; }
#index .zx-store-hero__dot {
  width:28px; height:28px; border:0; padding:0; background:transparent;
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
}
#index .zx-store-hero__dot::before {
  content:""; width:7px; height:7px; border-radius:50%; background:#c3a7cb;
  transition:background-color .2s ease;
}
#index .zx-store-hero__dot[aria-pressed="true"]::before { background:#854694; width:19px; border-radius:6px; }
#index .zx-store-hero[data-active-slide="2"] .zx-store-hero__dot[aria-pressed="true"]::before,
#index .zx-store-hero[data-active-slide="0"] .zx-store-hero__dot[aria-pressed="true"]::before { background:#f28f22; }
#index .zx-store-hero__toggle {
  display:inline-flex; align-items:center; gap:6px; min-height:28px;
  padding:2px 6px; border:0; border-left:1px solid #decce4;
  color:#754183; background:transparent; font-size:11px; line-height:1.5; cursor:pointer;
}
#index .zx-store-hero__toggle > [data-hero-toggle-icon] { width:16px; font-size:12px; text-align:center; }
#index .zx-store-hero__dot:focus-visible,
#index .zx-store-hero__toggle:focus-visible { outline:2px solid #854694; outline-offset:2px; border-radius:4px; }
#index .zx-store-hero__guide ol { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
#index .zx-store-hero__guide li + li { padding-left:20px; }
#index .zx-store-hero__guide strong a { color:inherit; text-decoration:none; }
#index .zx-store-hero__guide strong a:hover { color:#854694; text-decoration:underline; }
#index .zx-store-hero__guide strong a:focus-visible { outline:2px solid #854694; outline-offset:3px; }
@media (max-width:991px) {
  #index .zx-store-hero__guide ol { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 20px; }
}
@media (max-width:991px) and (min-width:768px) {
  #index .zx-store-hero .zx-store-hero__heading { font-size:30px; }
  #index .zx-store-hero__picture { height:240px; }
  #index .zx-store-hero__picture--art img { max-height:240px; }
}
@media (max-width:767px) {
  #index .zx-store-hero .zx-store-hero__heading { font-size:30px; }
  #index .zx-store-hero__controls { position:static; margin-top:14px; }
  #index .zx-store-hero__picture { height:170px; }
  #index .zx-store-hero__picture--art img { max-height:170px; border-radius:10px; }
  #index .zx-store-hero__guide li + li { padding-left:0; }
  #index .zx-store-hero__guide div > span { display:block; font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  #index .zx-store-hero__message,
  #index .zx-store-hero__picture,
  #index .zx-store-hero__dot::before,
  #index .zx-store-hero__backdrop,
  #index .zx-store-hero__eyebrow,
  #index .zx-store-hero__toggle,
  #index .zx-store-hero__orb,
  #index .zx-store-hero__visual::after { transition:none; }
}

/* Supplied full-width artwork for Resuelve+ and PAES. */
#index .zx-store-hero__backdrop--resuelve { background:#09042b url('../img/ziemax-banner-resuelve-logo-sobre-libros-20261127.png') center top / cover no-repeat; }
#index .zx-store-hero__backdrop--paes { background:#324d76 url('../img/ziemax-banner-paes-original.png') center top / cover no-repeat; }
#index .zx-store-hero [data-hero-image="2"] img,
#index .zx-store-hero [data-hero-image="0"] img { display:none; }
#index .zx-store-hero[data-active-slide="2"] .zx-store-hero__plus,
#index .zx-store-hero[data-active-slide="0"] .zx-store-hero__plus { visibility:hidden; }
@media (max-width:767px) {
  #index .zx-store-hero__backdrop--resuelve,
  #index .zx-store-hero__backdrop--paes { background-image:none; }
  #index .zx-store-hero [data-hero-image="2"] { background:url('../img/ziemax-banner-resuelve-logo-sobre-libros-20261127.png') right center / cover no-repeat; }
  #index .zx-store-hero [data-hero-image="0"] { background:url('../img/ziemax-banner-paes-original.png') right center / cover no-repeat; }
}

/* Account creation is complete once the customer has signed in. */
#index .zx-store-hero__guide .zx-store-hero__account-step.is-complete strong,
#index .zx-store-hero__guide .zx-store-hero__account-step.is-complete div > span {
  color: #999;
}
#index .zx-store-hero__guide .zx-store-hero__account-step.is-complete .zx-store-hero__step {
  color: #b4b4b4;
}

/* Guide actions are normal, keyboard-accessible links. */
#index .zx-store-hero__guide-link {
  display: flex;
  align-items: center;
  gap: inherit;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
#index .zx-store-hero__guide-link:hover strong {
  color: #854694;
  text-decoration: underline;
}
#index .zx-store-hero__guide-link:focus-visible {
  outline: 2px solid #854694;
  outline-offset: 4px;
  border-radius: 3px;
}
@media (max-width: 767px) {
  #index .zx-store-hero__guide ol { grid-template-columns:1fr; gap:18px; }
  #index .zx-store-hero__guide li { display:flex; gap:15px; }
  #index .zx-store-hero__step { margin-bottom:0; }
  #index .zx-store-hero__guide-link { display:flex; }
}

/* Space between the hero banner and purchase steps. */
#index .zx-store-hero__guide { padding-top:16px; }

/* Original plain guide heading in a stronger Ziemax purple. */
#index .zx-store-hero .zx-store-hero__guide .zx-store-hero__guide-context {
  color:#672b80;
  font-size:13px;
  font-weight:700;
}
@media (max-width:767px) {
  #index .zx-store-hero .zx-store-hero__guide .zx-store-hero__guide-context {
    font-size:12px;
  }
}
