:root{
  --ink:#0b0b0d;
  --ink-soft:#17171b;
  --paper:#f6f5f2;
  --paper-dim:#eae8e2;
  --ti-1:#d7dbe0;
  --ti-2:#9aa3ad;
  --ti-3:#5b6572;
  --accent:#1aa663;
  --accent-dim:#12864f;
  --line-dark:rgba(255,255,255,.14);
  --line-light:rgba(11,11,13,.12);
  --text-dark:#0b0b0d;
  --text-light:#f6f5f2;
  --muted-dark:rgba(11,11,13,.62);
  --muted-light:rgba(246,245,242,.66);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Manrope',sans-serif;
  background:var(--paper);
  color:var(--text-dark);
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Manrope',sans-serif;font-weight:700;letter-spacing:-0.02em;}
a{color:inherit;text-decoration:none;}
.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.6;
  display:inline-block;
  margin-bottom:18px;
}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
.eyebrow.keep-case{text-transform:none;letter-spacing:.1em;}
.cur{font-size:.7em;font-weight:600;opacity:.72;letter-spacing:.03em;margin-right:3px;}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}

/* ---------- NAV ---------- */
header{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px clamp(20px,4vw,56px);
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid var(--line-light);
  color:var(--text-dark);
}
.logo{
  display:flex;align-items:center;gap:8px;
  font-family:'Manrope',sans-serif;
  font-weight:700;font-size:15px;letter-spacing:.06em;
}
.logo .dot{width:7px;height:7px;border-radius:50%;background:var(--accent);}
.logo-mark{height:24px;width:auto;display:block;}
nav.links{display:flex;align-items:center;gap:26px;font-size:13px;font-weight:500;}
nav.links a{opacity:.72;transition:opacity .2s;color:var(--text-dark);}
nav.links a:hover{opacity:1;}

/* ---------- MEGA DROPDOWN ---------- */
.nav-item{position:static;}
.nav-item > a{display:flex;align-items:center;gap:5px;padding:20px 0;}
.nav-item .chev{
  width:8px;height:8px;opacity:.55;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-item.open .chev{transform:rotate(180deg);opacity:.9;}
/* hover/focus only rotate the chevron on the desktop nav (>900px). On mobile,
   tapping focuses the link and :focus-within would leave the arrow stuck "up"
   after the accordion closes, so mobile is driven purely by the JS .open class */
@media (min-width:901px){
  .nav-item:hover .chev,
  .nav-item:focus-within .chev{transform:rotate(180deg);opacity:.9;}
}

/* repair nav item as a blue pill button */
.nav-item > a.nav-repair{
  background:#0071e3;color:#fff;
  padding:9px 18px;border-radius:8px;
  opacity:1;
  transition:background .2s ease;
}
.nav-item > a.nav-repair:hover{background:#0062c4;}
.nav-item > a.nav-repair .chev{opacity:.85;}

.mega-panel{
  position:absolute;left:0;right:0;top:100%;margin-top:-18px;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(20px) saturate(160%);
  -webkit-backdrop-filter:blur(20px) saturate(160%);
  border-bottom:1px solid var(--line-light);
  border-radius:0 0 20px 20px;
  box-shadow:0 18px 30px rgba(11,11,13,.06);
  display:flex;flex-direction:column;align-items:center;
  gap:4px;padding:20px 24px;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-6px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-item.open .mega-panel{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
}
@media (min-width:901px){
  .nav-item:hover .mega-panel,
  .nav-item:focus-within .mega-panel{
    opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
  }
}
.mega-panel a{
  font-size:13.5px;color:var(--muted-dark);white-space:nowrap;
  opacity:.9;
  /* ghost-button shape borrowed from .btn.ghost — border is transparent at
     rest so hovering doesn't shift the layout, then appears as the outline */
  padding:9px 22px;border:1px solid transparent;border-radius:10px;
  transition:color .2s ease, border-color .2s ease, transform .18s ease, opacity .2s ease;
}
.mega-panel a:hover{
  color:var(--text-dark);
  border-color:currentColor;
  opacity:1;
  transform:translateY(-1px);
}
/* Repair dropdown adopts the blue of its nav pill for the hover outline */
.nav-item:has(a.nav-repair) .mega-panel a:hover{
  color:#0071e3;
  border-color:#0071e3;
}
.mega-panel a.featured{color:var(--text-dark);font-weight:600;}
.nav-right{display:flex;align-items:center;gap:22px;color:var(--text-dark);}
.icon-btn{width:18px;height:18px;display:flex;align-items:center;justify-content:center;opacity:.75;}
.cart-count{
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;background:var(--accent);color:#fff;
  border-radius:50%;width:15px;height:15px;
  display:flex;align-items:center;justify-content:center;
  position:relative;top:-8px;left:-10px;
}
.menu-toggle{display:none;width:20px;height:20px;align-items:center;justify-content:center;color:var(--text-dark);}

/* ---------- HERO PANELS ---------- */
.hero{
  position:relative;
  height:calc(692px + 12px);   /* apple.com --hero-content-height (desktop) + white divider */
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  padding:76px 24px 40px;
  overflow:hidden;
  border-bottom:12px solid #fff;   /* apple.com-style white line between sections */
}
.hero .eyebrow,.hero h2,.hero p.sub,.hero .cta-row{flex-shrink:0;}
@media(max-width:1068px){.hero{height:calc(650px + 12px);}}
.hero.dark{background:var(--ink);color:var(--text-light);}
.hero.light{background:linear-gradient(135deg, #dce9f7 0%, #eef3f6 45%, #f9f9f8 75%, #ffffff 100%);color:var(--text-dark);}
.hero.ipad-hero{background:linear-gradient(135deg, #d6d6dc 0%, #e6e6ea 50%, #f2f2f4 100%);}
.hero.photo-hero{
  height:calc(768px + 12px);   /* taller than the standard hero so the copy isn't squeezed against the photo */
  background-image:url(../images/iphone-17-pro-hero.webp);
  background-size:cover;
  background-position:center 8%;
  background-repeat:no-repeat;
  background-color:#000;   /* On-Black hero art */
  color:#fff;
  justify-content:flex-end;
  padding-bottom:76px;
}
.hero.photo-hero::after{
  content:"";
  position:absolute;inset:auto 0 0 0;height:45%;
  background:linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,0) 100%);
  pointer-events:none;
}
.hero.photo-hero p.sub,.hero.photo-hero .cta-row{position:relative;z-index:2;}
.hero.photo-hero p.sub{color:rgba(255,255,255,.82);max-width:640px;}

/* Mac hero — light hero with a top-down MacBook Pro device photo */
.hero.mac-hero{
  background:var(--paper);   /* photo is now transparent, so blend into the page */
  color:var(--text-dark);
  justify-content:center;
}
.hero.mac-hero p.sub{color:var(--muted-dark);}

.sheen{
  position:absolute;inset:0;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,.06) 45%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.06) 55%, transparent 70%);
  background-size:200% 200%;
  background-position:0% 0%;
  animation:sweep 9s ease-in-out infinite;
  pointer-events:none;
}
.hero.light .sheen{
  background:linear-gradient(115deg, transparent 30%, rgba(11,11,13,.03) 45%, rgba(11,11,13,.07) 50%, rgba(11,11,13,.03) 55%, transparent 70%);
  background-size:200% 200%;
}
@keyframes sweep{
  0%{background-position:0% 0%;}
  50%{background-position:100% 100%;}
  100%{background-position:0% 0%;}
}

.hero h2{font-size:clamp(34px,6vw,64px);line-height:1.03;max-width:820px;position:relative;z-index:2;}
.hero p.sub{
  margin-top:12px;font-size:clamp(15px,2vw,19px);
  color:var(--muted-light);max-width:480px;position:relative;z-index:2;
}
.hero.light p.sub{color:var(--muted-dark);}
.cta-row{display:flex;gap:18px;margin-top:22px;position:relative;z-index:2;flex-wrap:wrap;justify-content:center;}
.btn{
  padding:12px 26px;border-radius:10px;font-size:14px;font-weight:600;
  transition:transform .18s ease, background .2s ease;
  display:inline-block;
}
.btn.fill{background:var(--accent);color:#fff;}
.btn.fill:hover{background:var(--accent-dim);transform:translateY(-1px);}
.btn.ghost{border:1px solid currentColor;opacity:.9;}
.btn.ghost:hover{opacity:1;transform:translateY(-1px);}
/* WhatsApp buy button — glyph before the label */
.btn-wa::before{
  content:"";display:inline-block;width:14px;height:14px;margin-right:7px;
  vertical-align:-2px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.device{
  margin-top:56px;position:relative;z-index:2;
  filter:drop-shadow(0 30px 60px rgba(0,0,0,.35));
}
.hero.light .device{filter:drop-shadow(0 30px 50px rgba(0,0,0,.12));}
.device-photo{
  flex:0 1 auto;min-height:0;
  width:auto;max-width:92%;height:auto;object-fit:contain;
  filter:none;margin-top:16px;
}

/* ---------- HOME TILE MOSAIC (apple.com-style two-column grid) ---------- */
.mosaic{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
  padding:0 12px 12px;background:#fff;border-bottom:12px solid #fff;
}

/* apple.com-style thin hairline between stacked page sections */
.hero + .hero,
.lineup,
.mosaic,
.trade-in{border-top:1px solid rgba(11,11,13,.15);}
.tile{
  position:relative;overflow:hidden;
  height:560px;border-radius:22px;   /* definite height so img % caps resolve and rows stay uniform */
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:54px 32px 0;
  background:#f5f5f7;color:var(--text-dark);
}
.tile .eyebrow{margin-bottom:10px;}
.tile h3{font-size:clamp(26px,3vw,40px);line-height:1.05;}
.tile > p{color:var(--muted-dark);margin-top:10px;font-size:15px;max-width:420px;}
.tile-links{display:flex;gap:22px;margin-top:18px;align-items:center;flex-wrap:wrap;justify-content:center;}
.tile-links .link{
  font-size:14px;font-weight:600;color:var(--accent-dim);
  border-bottom:1px solid currentColor;padding-bottom:2px;
}
.tile-links .link:hover{color:var(--accent);}
.tile img{
  margin-top:auto;display:block;
  max-width:88%;max-height:56%;
  width:auto;height:auto;object-fit:contain;
  padding-bottom:36px;
}
.tile.dark{background:var(--ink-soft);color:var(--text-light);}
.tile.dark > p{color:var(--muted-light);}
.tile.dark .tile-links .link{color:var(--accent);}
.tile.center{justify-content:center;padding-bottom:54px;}
/* full-bleed marketing-image tiles (apple.com style) */
.tile.photo{background-size:cover;background-position:center;background-repeat:no-repeat;}
.tile.photo::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;}
.tile.photo > *{position:relative;z-index:2;}
.tile.photo.on-dark{color:#fff;}
.tile.photo.on-dark > p{color:rgba(255,255,255,.82);}
.tile.photo.on-dark .tile-links .link{color:#fff;}
.tile.photo.on-dark::before{background:linear-gradient(to bottom, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 42%, rgba(0,0,0,0) 68%);}
.tile.photo.on-light::before{background:linear-gradient(to bottom, rgba(255,255,255,.94) 0%, rgba(255,255,255,.6) 40%, rgba(255,255,255,0) 68%);}
.tile.photo.on-light > p{color:var(--text-dark);}
.tile.short{height:440px;padding-top:44px;}
.tile.short img{max-height:48%;padding-bottom:26px;}
.tile.ipad-tile{background:linear-gradient(160deg, #ece4f9 0%, #f2edf8 50%, #faf8fb 100%);}
.tile.watch-tile{background:linear-gradient(160deg, #fae2df 0%, #f8edea 50%, #fbf9f8 100%);}
.tile.acc-tile{background:linear-gradient(160deg, #f3ead9 0%, #f6f0e6 50%, #fbf9f5 100%);}
.tile.repair-tile{background:linear-gradient(160deg, #def0e6 0%, #ecf6f0 50%, #f9fbfa 100%);}
@media(max-width:900px){
  .mosaic{grid-template-columns:1fr;}
  .tile{height:500px;}
  .tile.short{height:400px;}
}

/* ---------- TWO-UP PROMO ROW ---------- */
.promo-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px;background:transparent;}
.promo-card{
  background:var(--paper-dim);
  padding:64px 40px;min-height:56vh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  border-radius:22px;overflow:hidden;
}
.promo-card.dark{background:var(--ink-soft);color:var(--text-light);}
.promo-card.promo-photo{
  justify-content:flex-end;
  padding-bottom:48px;
  background-image:url(../images/airpods-family-hero.webp);
  background-size:contain;background-origin:content-box;background-position:center 18%;background-repeat:no-repeat;
}
.promo-card.promo-photo-light{
  justify-content:flex-end;
  padding-bottom:48px;
  background-image:url(../images/apple-watch-hero.webp);
  background-size:contain;background-origin:content-box;background-position:center 18%;background-repeat:no-repeat;
}
.promo-card h3{font-size:clamp(24px,3vw,34px);margin-bottom:12px;}
.promo-card p{color:var(--muted-dark);max-width:320px;font-size:14.5px;}
.promo-card.dark p{color:var(--muted-light);}
.promo-card a.link{margin-top:22px;font-size:13.5px;font-weight:600;border-bottom:1px solid currentColor;padding-bottom:2px;}

.promo-content{
  padding:30px 34px;
  border-radius:22px;
  max-width:380px;
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  transition:transform .25s ease;
}
.promo-card:hover .promo-content{transform:translateY(-3px);}
.promo-photo .promo-content{
  background:rgba(11,11,13,.44);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 48px rgba(0,0,0,.3);
}
.promo-photo-light .promo-content{
  background:rgba(255,255,255,.66);
  border:1px solid rgba(11,11,13,.08);
  box-shadow:0 24px 48px rgba(11,11,13,.12);
}

/* ---------- TRADE-IN ---------- */
.trade-in{padding:40px 24px 110px;background:#fff;border-bottom:12px solid #fff;}
.trade-in .section-head{padding:80px 0 40px;}

/* segmented pill control, iOS-style */
.ti-tabs{
  display:flex;width:fit-content;margin:0 auto;
  background:rgba(11,11,13,.06);
  border-radius:100px;
  padding:5px;gap:4px;
}
.ti-tab{
  display:flex;align-items:center;gap:9px;
  padding:10px 24px;
  font-size:13.5px;font-weight:600;color:var(--muted-dark);
  border-radius:100px;
  transition:color .18s ease, background .18s ease, box-shadow .18s ease;
}
.ti-tab svg{height:22px;width:auto;display:block;opacity:.85;}
.ti-tab:hover{color:var(--text-dark);}
.ti-tab.active{
  color:var(--accent-dim);
  background:#fff;
  box-shadow:0 2px 10px rgba(11,11,13,.10);
}

.ti-card{
  max-width:1120px;margin:36px auto 0;
  background:#f5f5f7;
  border-radius:28px;overflow:hidden;
}
.ti-pane{display:none;grid-template-columns:1fr 1.05fr;align-items:center;}
.ti-pane.active{display:grid;}
.ti-info{padding:64px 24px 64px 64px;text-align:left;}
.ti-info h3{font-size:clamp(21px,2.4vw,29px);line-height:1.3;font-weight:500;max-width:430px;margin-bottom:30px;color:var(--muted-dark);}
.ti-info h3 strong{color:var(--text-dark);font-weight:600;}

.ti-table{max-width:400px;}
.ti-thead{
  display:flex;justify-content:space-between;align-items:flex-end;gap:24px;
  font-size:11.5px;color:var(--muted-dark);
  padding-bottom:8px;
}
.ti-thead span:last-child{text-align:right;max-width:120px;}
.ti-row{
  display:flex;justify-content:space-between;align-items:center;gap:24px;
  padding:13px 0;border-top:1px solid var(--line-light);
  font-size:15px;
}
.ti-row strong{font-weight:600;white-space:nowrap;}

.ti-more{
  display:block;width:fit-content;margin:20px 0 34px;
  color:var(--accent);font-size:14px;font-weight:600;
}
.ti-more:hover{text-decoration:underline;}
.ti-plus{
  display:inline-block;width:17px;height:17px;line-height:16px;
  border:1.5px solid currentColor;border-radius:50%;
  text-align:center;font-weight:600;margin-left:4px;font-size:12px;
}
.ti-info .btn{display:inline-block;}

.ti-media{
  align-self:stretch;display:flex;align-items:center;justify-content:center;
  padding:48px 40px;
}
.ti-media img{width:100%;max-width:520px;height:auto;}

/* ---------- IPHONE PAGE ---------- */
.subnav{
  position:sticky;top:92px;z-index:60;   /* pins just below the sticky header */
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 40px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid var(--line-light);
}
.subnav-title{font-family:'Manrope',sans-serif;font-weight:600;font-size:20px;}
.subnav-note{
  text-align:center;margin:0;padding:0 24px;font-size:12.5px;line-height:1.35;
  /* muted base with a green accent highlight that sweeps across on a slow loop */
  background:linear-gradient(100deg,var(--muted-dark) 0%,var(--muted-dark) 42%,#0071e3 50%,var(--muted-dark) 58%,var(--muted-dark) 100%);
  background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  animation:subnavShimmer 5.5s linear infinite;
}
@keyframes subnavShimmer{from{background-position:220% 0;}to{background-position:-120% 0;}}
@media(prefers-reduced-motion:reduce){.subnav-note{animation:none;-webkit-text-fill-color:var(--muted-dark);color:var(--muted-dark);}}
/* repair page: blue accent on every CTA (fill + ghost) */
.repair-page .btn.fill{background:#0071e3;}
.repair-page .btn.fill:hover{background:#0062c4;}
/* when a note is present, give the side columns equal width so the note is truly centred in the bar */
.subnav:has(.subnav-note) .subnav-title,
.subnav:has(.subnav-note) .subnav-links{flex:1;}
.subnav:has(.subnav-note) .subnav-links{justify-content:flex-end;}
@media(max-width:900px){.subnav-note{display:none;}}
.subnav-links{display:flex;align-items:center;gap:26px;font-size:13px;}
.subnav-links a:not(.btn):hover{color:var(--accent);}
.btn.small{padding:8px 18px;font-size:13px;}

.hero.family-hero{background:#1d1d1f;color:var(--text-light);}
.hero.family-hero p.sub{color:rgba(255,255,255,.82);}
.hero.watch-hero{background:linear-gradient(135deg, #fae2df 0%, #f8edea 45%, #fbf9f8 75%, #ffffff 100%);}
.hero.airpods-hero{background:linear-gradient(135deg, #e4e4e9 0%, #eeeef1 45%, #f8f8f9 75%, #ffffff 100%);}

.lineup{padding:20px 24px 110px;background:#fff;border-bottom:12px solid #fff;}
.lineup-grid{
  /* flex instead of grid so odd counts taper into a centred last row
     (3-then-2) with uniform card widths, rather than stretching */
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:20px;max-width:1200px;margin:0 auto;
}
.lineup-grid .lu-card{flex:0 1 380px;min-width:300px;}

/* category filter chips above each lineup grid */
.acc-filters{
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px;
  max-width:1200px;margin:0 auto 40px;
}
.filter-chip{
  font:inherit;font-size:14px;font-weight:600;line-height:1;
  padding:10px 22px;border-radius:100px;cursor:pointer;
  color:var(--ink);background:transparent;
  border:1px solid var(--line-light);
  transition:background .2s,color .2s,border-color .2s,transform .2s;
}
.filter-chip:hover{background:rgba(11,11,13,.05);transform:translateY(-1px);}
.filter-chip.is-active{background:var(--accent);color:#fff;border-color:var(--accent);}
#anker .filter-chip.is-active{background:#0071e3;border-color:#0071e3;}
.lu-card.is-hidden{display:none;}
.lu-card{
  background:#f5f5f7;border-radius:22px;
  padding:40px 28px 34px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.lu-media{height:210px;display:flex;align-items:center;justify-content:center;}
.lu-media img{max-height:210px;width:auto;max-width:100%;}
.lu-placeholder{color:rgba(11,11,13,.18);}
.lu-placeholder svg{height:130px;width:auto;stroke-width:.8;}
.lu-badge{color:var(--accent);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin:24px 0 8px;min-height:13px;}
.lu-card h3{font-size:24px;}
.lu-tag{color:var(--muted-dark);font-size:14px;margin-top:6px;}
.lu-colors{display:flex;gap:10px;margin-top:20px;justify-content:center;}
.color-dot{
  width:15px;height:15px;border-radius:50%;padding:0;
  border:1px solid rgba(11,11,13,.22);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.06);
  transition:transform .15s ease;
}
.color-dot:hover{transform:scale(1.2);}
.color-dot.active{outline:2px solid var(--accent);outline-offset:2px;}
.lu-storage{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap;justify-content:center;}
.lu-conn{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;justify-content:center;}
.lu-nano{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;justify-content:center;}
.model-toggle{display:flex;gap:8px;margin-top:24px;flex-wrap:wrap;justify-content:center;}
.lu-specs.model-specs{display:none;}
.lu-specs.model-specs.active{display:flex;}
.lu-specs strong{color:var(--accent-dim);font-weight:600;}

/* ---------- MAC TECH-SPEC SHEET (apple buy-page style) ---------- */
.mac-spec{
  width:100%;text-align:left;margin-top:20px;
  padding-top:18px;border-top:1px solid var(--line-light);
}
.mac-spec.model-specs,.mac-spec.stor-specs{display:none;}
.mac-spec.model-specs.active,.mac-spec.stor-specs.active{display:block;}
.mac-spec-title{font-weight:700;font-size:14.5px;line-height:1.3;letter-spacing:-0.01em;}
.mac-spec-si{font-size:12.5px;font-weight:600;color:var(--accent-dim);margin-top:5px;}
.mac-spec-chip{font-size:12px;color:var(--muted-dark);margin-top:3px;}
.mac-ai{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12.5px;font-weight:600;}
.mac-ai svg{width:18px;height:18px;flex-shrink:0;}
.mac-spec-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:15px 14px;
  margin-top:14px;padding-top:15px;border-top:1px solid var(--line-light);
}
.msg-item{display:flex;flex-direction:column;gap:7px;}
.msg-item svg{width:25px;height:21px;stroke:var(--ink);fill:none;stroke-width:1.5;opacity:.82;}
.msg-item span{font-size:12px;line-height:1.3;color:var(--text-dark);}
.mac-spec-foot{
  margin-top:14px;padding-top:13px;border-top:1px solid var(--line-light);
  font-size:11px;color:var(--muted-dark);line-height:1.5;
}
.mac-spec-foot p+p{margin-top:7px;}

/* Mac cards carry a full spec sheet, so tighten them up to stay compact */
.lu-card:has(.mac-spec){padding:30px 24px 28px;}
.lu-card:has(.mac-spec) .lu-media{height:150px;}
.lu-card:has(.mac-spec) .lu-media img{max-height:150px;}
.lu-card:has(.mac-spec) h3{font-size:21px;}
.lu-card:has(.mac-spec) .lu-badge{margin:16px 0 6px;}
.storage-chip{
  border:1px solid var(--line-light);border-radius:100px;
  padding:7px 15px;font-size:12.5px;font-weight:600;
  color:var(--muted-dark);background:#fff;
  transition:border-color .15s ease,color .15s ease;
}
.storage-chip:hover{border-color:var(--muted-dark);}
.storage-chip.active{border-color:var(--accent);color:var(--accent);}
.lu-price{margin-top:16px;font-size:15px;font-weight:600;}
.lu-cta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:center;margin-top:16px;}

/* smaller secondary "Add to Cart" button, sits beside Buy on WhatsApp */
.add-cart{
  font:inherit;font-weight:600;font-size:12px;line-height:1;letter-spacing:.01em;
  padding:9px 15px;border-radius:100px;cursor:pointer;
  color:var(--ink);background:transparent;border:1px solid var(--line-light);
  transition:background .2s,border-color .2s,color .2s,transform .2s;
}
.add-cart:hover{background:rgba(11,11,13,.06);transform:translateY(-1px);}
.add-cart.added{background:var(--accent);border-color:var(--accent);color:#fff;}
#anker .add-cart.added{background:#0071e3;border-color:#0071e3;}
.lu-cta .link{font-size:13.5px;font-weight:600;border-bottom:1px solid currentColor;padding-bottom:2px;}
.lu-specs{
  list-style:none;margin-top:26px;padding-top:20px;
  border-top:1px solid var(--line-light);width:100%;
  font-size:13px;color:var(--muted-dark);
  display:flex;flex-direction:column;gap:11px;text-align:left;
}
.lu-specs li{line-height:1.42;}
.lu-specs .sp-k{
  display:block;font-size:10px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--ink);opacity:.5;margin-bottom:2px;
}
.lu-specs .sp-v strong{color:var(--accent-dim);font-weight:600;}
/* collapsed by default: only the first spec row shows until expanded */
.lu-specs li:not(:first-child){display:none;}
.lu-card.specs-open .lu-specs li{display:block;}
.specs-toggle{
  margin-top:12px;align-self:flex-start;
  background:none;border:none;padding:2px 0;cursor:pointer;
  font-size:12.5px;font-weight:600;color:var(--accent-dim);
  display:inline-flex;align-items:center;gap:5px;font-family:inherit;
}
.specs-toggle::after{content:"▾";font-size:9px;transition:transform .2s ease;}
.lu-card.specs-open .specs-toggle::after{transform:rotate(180deg);}
.specs-toggle:hover{color:var(--accent);}

/* ---------- CATEGORY GRID ---------- */
.section-head{padding:80px 24px 36px;text-align:center;}
.section-head h2{font-size:clamp(26px,3.6vw,38px);}
.section-head p{color:var(--muted-dark);margin-top:10px;font-size:15px;}

.cat-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:2px;
  background:var(--line-light);
  padding:0 24px 100px;
  max-width:1280px;margin:0 auto;
}
.cat-card{
  background:var(--paper);
  padding:44px 26px;min-height:230px;
  display:flex;flex-direction:column;justify-content:space-between;
  transition:background .2s ease;
}
.cat-card:hover{background:var(--paper-dim);}
.cat-card svg{width:34px;height:34px;stroke:var(--ink);opacity:.85;}
.cat-card h4{font-size:17px;font-weight:600;margin-top:24px;}
.cat-card span{font-size:13px;color:var(--muted-dark);margin-top:4px;display:block;}
.cat-card .arrow{margin-top:18px;font-size:13px;font-weight:600;color:var(--accent-dim);}

/* ---------- TRUST STRIP ---------- */
.trust{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--line-light);border-top:1px solid var(--line-light);border-bottom:1px solid var(--line-light);
}
.trust-item{background:var(--paper);padding:40px 28px;text-align:center;}
.trust-item svg{width:26px;height:26px;margin-bottom:14px;stroke:var(--ink);opacity:.8;}
.trust-item h5{font-size:14.5px;font-weight:600;margin-bottom:6px;}
.trust-item p{font-size:12.5px;color:var(--muted-dark);}

/* ---------- REPAIR PAGE ---------- */
.hero.repair-hero{
  height:auto;min-height:0;
  padding:110px 24px 84px;
  background:linear-gradient(135deg, #def0e6 0%, #ecf6f0 45%, #f9fbfa 75%, #ffffff 100%);
  color:var(--text-dark);
}
.hero.acc-hero{
  height:auto;min-height:0;
  padding:110px 24px 84px;
  background:linear-gradient(135deg, #f3ead9 0%, #f6f0e6 45%, #fbf9f5 75%, #ffffff 100%);
  color:var(--text-dark);
}
/* Anker section is blue-branded, not iDeals green */
#anker .btn.fill{background:#0071e3;}
#anker .btn.fill:hover{background:#0062c4;}
#anker .lu-badge{color:#0071e3;}
#anker .storage-chip.active{border-color:#0071e3;color:#0071e3;}
#anker .lu-cta .link:hover{color:#0071e3;}
.repair-note{
  max-width:1120px;margin:16px auto 0;
  font-size:12.5px;color:var(--muted-dark);line-height:1.6;
  padding:0 8px;
}

/* ---------- FOOTER ---------- */
footer{background:var(--ink);color:var(--muted-light);padding:70px 24px 30px;}
.footer-grid{
  max-width:1280px;margin:0 auto;
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;
  padding-bottom:50px;border-bottom:1px solid var(--line-dark);
}
.footer-brand .logo{color:var(--text-light);margin-bottom:14px;}
.footer-brand p{font-size:13px;max-width:220px;line-height:1.6;}
.footer-col h6{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-light);opacity:.55;margin-bottom:16px;font-weight:600;}
.footer-col a{display:block;font-size:13.5px;margin-bottom:11px;color:var(--muted-light);transition:color .2s;}
.footer-col a:hover{color:var(--text-light);}
/* ============================ PRODUCT SEARCH ============================ */
.search-overlay{position:fixed;inset:0;z-index:200;background:rgba(11,11,13,.4);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);}
.search-overlay[hidden]{display:none;}
.search-panel{background:#fff;width:100%;max-height:82vh;overflow:auto;padding:22px 24px 34px;box-shadow:0 24px 60px rgba(0,0,0,.24);}
.search-box{max-width:720px;margin:0 auto;display:flex;align-items:center;gap:12px;border-bottom:2px solid var(--ink);padding:10px 2px;}
.search-ic{width:22px;height:22px;color:var(--ti-3);flex-shrink:0;}
.search-input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:22px;color:var(--ink);}
.search-input::placeholder{color:var(--ti-2);}
.search-close{background:none;border:none;font:inherit;font-size:15px;font-weight:600;color:var(--accent);cursor:pointer;flex-shrink:0;}
.search-results{max-width:720px;margin:14px auto 0;}
.search-hint{color:var(--muted-dark);font-size:15px;padding:16px 4px;}
.search-item{display:flex;align-items:center;gap:16px;padding:12px 8px;border-radius:14px;transition:background .15s;}
.search-item:hover{background:#f5f5f7;}
.search-thumb{width:52px;height:52px;border-radius:12px;background:#f5f5f7;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:6px;}
.search-thumb img{max-width:100%;max-height:100%;object-fit:contain;}
.search-meta{display:flex;flex-direction:column;flex:1;min-width:0;}
.search-name{font-weight:600;font-size:16px;color:var(--ink);}
.search-cat{font-size:12px;color:var(--muted-dark);text-transform:uppercase;letter-spacing:.06em;}
.search-price{font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;}
.lu-card{scroll-margin-top:112px;}
#pricing{scroll-margin-top:160px;}
.lu-card:target{animation:cardFlash 1.8s ease;}
@keyframes cardFlash{0%,100%{box-shadow:0 0 0 0 rgba(26,166,99,0);}18%{box-shadow:0 0 0 3px rgba(26,166,99,.55);}}

/* contact links styled as bordered icon buttons (under the footer brand logo) */
.footer-contact{display:flex;flex-direction:column;margin-top:18px;}
.fc-btn{
  display:flex;width:fit-content;max-width:100%;align-items:center;gap:9px;
  padding:9px 15px;border:1px solid rgba(255,255,255,.28);border-radius:100px;
  margin-bottom:10px;font-size:13px;color:var(--muted-light);
  transition:border-color .2s,color .2s,background .2s;
}
.fc-btn:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.06);}
.fc-btn svg{width:15px;height:15px;flex-shrink:0;}
.footer-bottom{
  max-width:1280px;margin:0 auto;padding-top:24px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  font-size:12.5px;color:var(--muted-light);
}
.footer-bottom .socials{display:flex;gap:14px;}
.footer-bottom .socials a{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;}
.footer-bottom .socials .ig-icon,
.footer-bottom .socials .fb-icon{width:12px;height:12px;}

/* Floating "Chat with us" WhatsApp button — injected on every page by main.js */
.wa-float{
  position:fixed;left:20px;bottom:20px;z-index:90;
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 18px;border-radius:100px;
  background:#25d366;color:#fff;
  font-family:'Manrope',sans-serif;font-weight:600;font-size:14px;line-height:1;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.wa-float:hover{background:#1ebe5b;transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.3);}
.wa-float svg{width:22px;height:22px;flex-shrink:0;}
@media(max-width:520px){
  /* icon-only circle on phones, on the RIGHT so it doesn't cover the footer socials (which wrap to the left) */
  .wa-float{left:auto;right:14px;bottom:14px;padding:13px;}
  .wa-float .wa-float-label{display:none;}
}

@media(max-width:900px){
  .menu-toggle{display:flex;}
  nav.links{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:rgba(255,255,255,.98);
    backdrop-filter:blur(20px) saturate(160%);
    -webkit-backdrop-filter:blur(20px) saturate(160%);
    border-bottom:1px solid var(--line-light);
    box-shadow:0 18px 30px rgba(11,11,13,.06);
    max-height:calc(100vh - 60px);
    overflow-y:auto;
  }
  nav.links.open{display:flex;}
  .nav-item{border-bottom:1px solid var(--line-light);}
  .nav-item > a{padding:16px 24px;justify-content:space-between;}
  .nav-item > a.nav-repair{border-radius:0;padding:16px 24px;}   /* full-width blue row in the mobile accordion */
  .mega-panel{
    position:static;margin-top:0;opacity:1;visibility:visible;pointer-events:auto;transform:none;
    display:none;
    box-shadow:none;border-bottom:none;background:transparent;
    backdrop-filter:none;-webkit-backdrop-filter:none;
    flex-direction:column;gap:2px;padding:0 24px 16px;
  }
  .nav-item.open .mega-panel{display:flex;}
  .nav-item.open .chev{transform:rotate(180deg);}
  .hero{height:auto;min-height:560px;}
  .subnav{top:60px;}   /* mobile header is ~60px (nav collapses to hamburger), not the 92px desktop height */
  .promo-row{grid-template-columns:1fr;}
  .ti-pane.active{grid-template-columns:1fr;}
  .ti-info{padding:44px 28px 8px;}
  .ti-tab{padding:9px 16px;}
  .ti-media{padding:8px 28px 40px;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .hero.repair-hero{min-height:0;padding:80px 24px 64px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .hero.photo-hero{
    height:auto;min-height:0;display:block;background-image:none;padding:0 0 40px;
  }
  .hero.photo-hero::before{
    content:"";display:block;width:100%;aspect-ratio:2400/1649;
    background-image:url(../images/iphone-17-pro-hero.webp);
    background-size:cover;background-position:center;background-repeat:no-repeat;
  }
  .hero.photo-hero::after{content:none;}
  .hero.photo-hero p.sub{padding:0 24px;margin-top:24px;}
  .device-photo{margin-top:8px;}   /* was -75px, which pulled the image up over the CTA/trade-in row on short screens */
}
@media(max-width:520px){
  .hero{min-height:500px;}   /* apple.com small-viewport hero height */
  .subnav{padding:12px 20px;gap:12px;}
  .subnav-links{gap:14px;font-size:12.5px;}
  .subnav-links a:not(.btn){display:none;}   /* apple.com-style: title + CTA only on small screens */
  .repair-page .subnav-links a{display:inline-block;}   /* repair subnav has no button CTA — keep its Trade‑In link visible */
  .subnav .btn.small{white-space:nowrap;padding:8px 14px;}
  .cat-grid{grid-template-columns:1fr;}
  .trust{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
}

@media(prefers-reduced-motion:reduce){
  .sheen{animation:none;}
  html{scroll-behavior:auto;}
}

/* ---------- BOOK A REPAIR FORM ---------- */
.repair-form{
  max-width:720px;margin:0 auto;width:100%;
  background:#f5f5f7;border-radius:22px;padding:40px 40px 34px;
}
.rf-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.rf-field{display:flex;flex-direction:column;gap:7px;text-align:left;}
.rf-field-full{grid-column:1 / -1;}
.rf-label{font-size:13px;font-weight:600;color:var(--ink);}
.rf-req{color:var(--accent);font-weight:700;}
.repair-form input,
.repair-form textarea{
  font-family:inherit;font-size:15px;color:var(--ink);
  background:#fff;border:1px solid var(--line-light);border-radius:12px;
  padding:13px 15px;width:100%;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.repair-form input::placeholder,
.repair-form textarea::placeholder{color:rgba(11,11,13,.4);}
.repair-form input:focus,
.repair-form textarea:focus{
  outline:none;border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(26,166,99,.16);
}
.repair-form textarea{resize:vertical;min-height:112px;line-height:1.45;}
.repair-form input:invalid:not(:placeholder-shown){border-color:#d9534f;}
.rf-honey{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;}
.rf-foot{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;margin-top:24px;flex-wrap:wrap;
}
.rf-note{font-size:13px;color:var(--muted-dark);margin:0;}
@media(max-width:640px){
  .repair-form{padding:28px 22px;}
  .rf-grid{grid-template-columns:1fr;}
  .rf-foot{flex-direction:column-reverse;align-items:stretch;}
  .repair-form .btn{width:100%;text-align:center;}
}
.rf-success{
  max-width:560px;margin:0 auto;text-align:center;
  background:#fff;border:1px solid var(--line-light);border-radius:22px;
  padding:44px 32px;box-shadow:0 18px 40px rgba(11,11,13,.06);
}
.rf-success-check{
  width:56px;height:56px;margin:0 auto 20px;border-radius:50%;
  background:var(--accent);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;line-height:1;
}
.rf-success h3{font-size:22px;margin-bottom:10px;}
.rf-success p{color:var(--muted-dark);font-size:15px;line-height:1.5;margin-bottom:24px;}

/* ============================ CART PAGE ============================ */
.cart-sec{max-width:860px;margin:0 auto;padding:70px 24px 110px;min-height:64vh;}
.cart-root h1{font-size:40px;letter-spacing:-.02em;margin-bottom:34px;}
.cart-item{
  display:grid;
  grid-template-columns:80px 1fr auto auto 30px;
  gap:20px;align-items:center;
  padding:22px 0;border-bottom:1px solid var(--line-light);
}
.cart-thumb{
  width:80px;height:80px;border-radius:16px;background:#f5f5f7;
  display:flex;align-items:center;justify-content:center;padding:8px;
}
.cart-thumb img{max-width:100%;max-height:100%;width:auto;object-fit:contain;}
.cart-info h4{font-size:17px;margin:0 0 4px;}
.cart-opts{font-size:13px;color:var(--muted-dark);margin:0 0 2px;}
.cart-each{font-size:13px;color:var(--muted-dark);margin:0;}
.cart-qty{
  display:inline-flex;align-items:center;gap:14px;
  border:1px solid var(--line-light);border-radius:100px;padding:6px 14px;
}
.cart-qty button{
  background:none;border:none;cursor:pointer;color:var(--ink);
  font-size:17px;line-height:1;width:16px;text-align:center;
}
.cart-qty button:hover{color:var(--accent);}
.cart-qty span{min-width:16px;text-align:center;font-weight:600;font-size:15px;}
.cart-line{font-weight:700;font-size:16px;white-space:nowrap;text-align:right;}
.cart-remove{
  background:none;border:none;cursor:pointer;line-height:1;
  font-size:24px;color:var(--muted-dark);transition:color .2s;
}
.cart-remove:hover{color:var(--ink);}
.cart-summary{margin-top:36px;display:flex;flex-direction:column;align-items:flex-end;}
.cart-total-row{
  display:flex;justify-content:space-between;gap:60px;width:100%;max-width:360px;
  font-size:20px;padding-bottom:10px;border-bottom:2px solid var(--ink);margin-bottom:18px;
}
.cart-total-row strong{font-weight:700;}
.cart-note{font-size:13px;color:var(--muted-dark);max-width:360px;text-align:right;margin-bottom:20px;}
.cart-checkout{width:100%;max-width:360px;text-align:center;}
.cart-continue{
  margin-top:16px;font-size:14px;font-weight:600;color:var(--muted-dark);
  border-bottom:1px solid currentColor;padding-bottom:2px;
}
.cart-continue:hover{color:var(--ink);}
.cart-empty{text-align:center;padding:90px 0;}
.cart-empty h1{font-size:34px;margin-bottom:14px;}
.cart-empty p{color:var(--muted-dark);font-size:16px;margin-bottom:28px;}
@media(max-width:640px){
  .cart-root h1{font-size:30px;}
  .cart-item{
    grid-template-columns:64px minmax(0,1fr) auto;
    grid-template-areas:"thumb info remove" "thumb qty line";
    row-gap:14px;column-gap:14px;
  }
  .cart-thumb{width:64px;height:64px;grid-area:thumb;align-self:start;}
  .cart-info{grid-area:info;min-width:0;}
  .cart-qty{grid-area:qty;justify-self:start;}
  .cart-line{grid-area:line;align-self:center;justify-self:end;}
  .cart-remove{grid-area:remove;justify-self:end;align-self:start;}
  .cart-summary{align-items:stretch;}
  .cart-total-row,.cart-note,.cart-checkout{max-width:none;}
  .cart-note{text-align:left;}
  .cart-continue{align-self:center;}
}
