/* Apple iPhone — flat black/white/gray, Graphik */

:root {
  --ink: #1d1d1f;
  --muted: #86868b;
  --accent: #1d1d1f;
  --accent-dark: #000000;
  --soft: #f5f5f7;
  --price-bg: #f5f5f7;
  --paper: #ffffff;
  --line: rgba(0, 0, 0, 0.06);
  --apple-blue: #0071e3;
  --max: 72rem;
  --gift-bg: #faf6e8;
  --benefit-bg: #ebebed;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-apple {
  margin: 0;
  color: var(--ink);
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: clip;
}

.theme-apple .font-display,
.theme-apple h1,
.theme-apple h2,
.theme-apple h3 {
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Header */
.theme-apple .site-header {
  background:
    radial-gradient(ellipse 34% 72% at 7% 110%, rgba(94, 92, 230, 0.3), transparent 74%),
    radial-gradient(ellipse 30% 72% at 34% 110%, rgba(255, 55, 95, 0.42), transparent 74%),
    radial-gradient(ellipse 30% 72% at 61% 110%, rgba(48, 209, 88, 0.38), transparent 74%),
    radial-gradient(ellipse 34% 72% at 92% 110%, rgba(10, 132, 255, 0.3), transparent 74%),
    #000000;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-apple .nav-desktop a,
.theme-apple .nav-trigger,
.theme-apple .header-phone,
.theme-apple .header-phone .phone-text {
  color: #f5f5f7;
}

.theme-apple .menu-toggle span {
  background: #f5f5f7;
}

.theme-apple .cart-btn {
  width: 2.25rem;
  background: transparent;
  color: #f5f5f7;
  border-radius: 0;
}

.theme-apple .cart-btn svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: currentColor !important;
  opacity: 1;
}

.theme-apple .cart-btn:hover {
  background: transparent;
  color: #ffffff;
  opacity: 0.72;
}

.theme-apple .cart-badge {
  top: 0.15rem;
  right: -0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  background: #ff3b30;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 600;
}

.theme-apple .header-phone-icon {
  width: 2.25rem;
  height: 2.75rem;
  border-radius: 0;
  background: transparent;
  color: #f5f5f7;
  animation: apple-phone-ring 3.4s ease-in-out infinite;
  transform-origin: 50% 55%;
}

.theme-apple .header-phone-icon svg {
  width: 1.22rem;
  height: 1.22rem;
}

@keyframes apple-phone-ring {
  0%, 82%, 100% { transform: rotate(0deg); opacity: 0.9; }
  86% { transform: rotate(-8deg); opacity: 1; }
  90% { transform: rotate(8deg); }
  94% { transform: rotate(-5deg); }
  98% { transform: rotate(0deg); }
}

@media (min-width: 768px) {
  .theme-apple .header-phone-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-apple .header-phone-icon {
    animation: none;
  }
}

.theme-apple .logo-name {
  color: #ffffff;
}

.theme-apple .logo-name span {
  color: #a1a1a6;
}

.theme-apple .logo-img {
  width: 144px;
  height: auto;
  max-width: none;
  filter: brightness(0) invert(1);
}

.theme-apple .mega {
  background: #111111;
  border-bottom: 0;
}

.theme-apple .mega a {
  color: #f5f5f7;
}

.theme-apple .nav-mobile {
  background: #111111;
}

.theme-apple .nav-mobile a {
  color: #f5f5f7;
}

/* Footer */
.theme-apple .site-footer,
.theme-apple footer.site-footer {
  background: #000000;
  color: #a1a1a6;
  border-top: 0;
}

.theme-apple .footer-logo,
.theme-apple .footer-logo span {
  color: #f5f5f7;
}

.theme-apple .footer-tagline,
.theme-apple .footer-copy,
.theme-apple .footer-label {
  color: #a1a1a6;
}

.theme-apple .site-footer a {
  color: #f5f5f7;
}

.theme-apple .site-footer a:hover {
  color: #ffffff;
}

/* Buttons */
.theme-apple .btn-primary {
  border-radius: 980px;
  background: var(--ink);
  color: #fff !important;
  border: 0;
  font-weight: 500;
}

.theme-apple .btn-outline {
  border-radius: 980px;
  border: 0;
  background: #f5f5f7;
  color: var(--ink);
}

.theme-apple .price-badge {
  background: var(--soft);
  color: var(--ink);
  border-radius: 8px;
  border: 0;
}

.theme-apple .product-card .price-badge,
.theme-apple .product-card--home .price-badge,
.theme-apple .checkout-accessory .price-badge {
  background: #fff4c7;
}

/* Hero */
.theme-apple .hero {
  position: relative;
  isolation: isolate;
  background: #000;
  padding: 1.25rem 0;
}

.theme-apple .hero--static .container {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  padding-right: var(--page-x-right);
  padding-left: var(--page-x);
}

.theme-apple .hero-banner {
  position: relative;
  z-index: 1;
  aspect-ratio: 1024 / 318;
  max-height: none;
  border-radius: 24px;
  border: 0;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.72);
  background: #000;
}

.theme-apple .hero-banner::after {
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.08);
}

.theme-apple .hero-banner > picture,
.theme-apple .hero-banner > img,
.theme-apple .hero-banner > picture img {
  border-radius: inherit;
  object-position: center;
}

.theme-apple .hero-banner-copy {
  inset: 0 auto 0 0;
  width: 52%;
  max-width: none;
  box-sizing: border-box;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: transparent;
}

.theme-apple .hero-banner-copy h1 {
  margin: 0.35rem 0 0;
}

.theme-apple .hero-banner-copy .hero-lead {
  max-width: 28rem;
  color: #d2d2d7;
  line-height: 1.55;
}

.theme-apple .hero-banner-copy .hero-cta {
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.theme-apple .hero-banner-copy .hero-cta .btn-primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
}

.theme-apple .hero-banner-copy .hero-cta .btn-primary:hover {
  border-color: #e8e8ed;
  background: #e8e8ed;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.theme-apple .hero-banner-copy .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f7;
  box-shadow: none;
}

.theme-apple .hero-banner-copy .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
}

.theme-apple .hero-proof {
  margin: 0.9rem 0 0;
  color: #86868b;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Brand split */
.theme-apple .brand-split.container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  padding: 1.25rem var(--page-x-right) 1.25rem var(--page-x);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.theme-apple .brand-split-item {
  position: relative;
  min-height: 9.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  background: var(--benefit-bg);
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}

.theme-apple .brand-split-item:hover {
  background: #e1e1e5;
  transform: translateY(-2px);
}

.theme-apple .brand-split-product-icon {
  display: block;
  width: 5.25rem;
  height: 5.25rem;
}

.theme-apple .brand-split-product-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.theme-apple .brand-split-name {
  width: 100%;
  padding: 0 0.25rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
}

.theme-apple .brand-split-arrow {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #1d1d1f;
}

.theme-apple .brand-split-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* Editorial benefits banner on the homepage */
.theme-apple .home-benefits {
  padding: 2rem 0 3rem;
  background: #fff;
}

.theme-apple .home-benefits-shell {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(22rem, 2fr);
  min-height: 29rem;
  overflow: hidden;
  border-radius: 28px;
  background: #0d0d0f;
}

.theme-apple .home-benefits-media {
  min-width: 0;
}

.theme-apple .home-benefits-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.theme-apple .home-benefits-content {
  padding: clamp(2rem, 4vw, 3.75rem);
  align-self: center;
  color: #f5f5f7;
}

.theme-apple .home-benefits-eyebrow {
  margin: 0 0 0.8rem;
  color: #a1a1a6;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.theme-apple .home-benefits-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1;
}

.theme-apple .home-benefits-lead {
  margin: 1rem 0 1.6rem;
  color: #c7c7cc;
  font-size: 0.95rem;
  line-height: 1.55;
}

.theme-apple .home-benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-apple .home-benefits-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.theme-apple .home-benefits-list strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.theme-apple .home-benefits-list span {
  color: #a1a1a6;
  font-size: 0.75rem;
  text-align: right;
}

@media (max-width: 767px) {
  .theme-apple .home-benefits {
    padding: 1.25rem 0 2rem;
  }

  .theme-apple .home-benefits-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .theme-apple .home-benefits-media {
    aspect-ratio: 3 / 2;
  }

  .theme-apple .home-benefits-content {
    padding: 1.5rem;
  }

  .theme-apple .home-benefits-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .theme-apple .home-benefits-list span {
    text-align: left;
  }
}

/* Benefits */
.theme-apple .benefits,
.theme-apple .benefits--row {
  background: var(--soft);
  padding: 2rem 0;
}

.theme-apple .benefit-card {
  background: var(--benefit-bg);
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}

.theme-apple .benefit-card::before {
  display: none;
}

.theme-apple .benefit-card:hover {
  background: #e3e3e6;
  transform: none;
  box-shadow: none;
  border: 0;
}

.theme-apple .benefit-icon {
  background: #d8d8dc;
  color: var(--ink);
  box-shadow: none;
  border: 0;
}

/* Product cards */
.theme-apple .product-card,
.theme-apple .product-card--home {
  background: var(--soft);
  border: 1px solid #d2d2d7;
  border-radius: 22px;
  box-shadow: none;
  overflow: hidden;
}

.theme-apple .product-card-media {
  background: #ffffff;
  border-radius: 18px 18px 0 0;
}

.theme-apple .product-card--home .product-card-media {
  background: #ffffff;
}

.theme-apple .product-card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.theme-apple .product-card--home .product-card-body {
  padding: 1rem 1rem 1.15rem;
}

.theme-apple .product-brand-badge {
  display: none !important;
}

.theme-apple .product-card-media {
  background: #fff;
}

.theme-apple .product-card--home .product-card-media {
  background: #fff;
}

.theme-apple .home-memory-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.55rem;
}

.theme-apple .home-memory-btn {
  min-height: 1.55rem;
  padding: 0.18rem 0.4rem;
  border: 1px solid #d2d2d7;
  border-radius: 0.45rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.theme-apple .home-memory-btn:hover,
.theme-apple .home-memory-btn.is-active {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #fff;
}

.theme-apple .home-memory-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

/* SEO */
.theme-apple .seo-card {
  border: 0;
  border-radius: 20px;
  background: var(--soft);
  box-shadow: none;
}

.theme-apple .seo-section a,
.theme-apple .seo-card a,
.theme-apple .seo-block a {
  color: #515154;
  text-decoration-color: #c7c7cc;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.theme-apple .seo-section a:hover,
.theme-apple .seo-card a:hover,
.theme-apple .seo-block a:hover {
  color: #1d1d1f;
  text-decoration-color: #86868b;
}

.theme-apple .seo-section--plain .seo-card {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding: 2rem 0;
  border-top: 1px solid #d2d2d7;
  border-bottom: 1px solid #d2d2d7;
  border-radius: 0;
  background: transparent;
}

.theme-apple .seo-section--plain .seo-card h2 {
  max-width: 24rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.theme-apple .seo-section--plain .seo-card-body {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Delivery and gift as one editorial service band */
.theme-apple .store-services {
  padding: 1rem 0 3rem;
  background: #fff;
}

.theme-apple .store-services-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.8fr);
  border-top: 1px solid #d2d2d7;
  border-bottom: 1px solid #d2d2d7;
}

.theme-apple .store-service-delivery {
  display: grid;
  grid-template-columns: minmax(8rem, 0.65fr) minmax(0, 1.35fr) auto;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2.75rem 2.5rem 2.75rem 0;
  color: var(--ink);
  text-decoration: none;
}

.theme-apple .store-service-price {
  color: #d2d2d7;
  font-family: 'Graphik', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.theme-apple .store-service-eyebrow {
  margin: 0 0 0.55rem;
  color: #86868b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theme-apple .store-service-copy h2,
.theme-apple .store-service-gift h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.theme-apple .store-service-copy > p:last-of-type,
.theme-apple .store-service-gift > p:last-of-type {
  margin: 0.8rem 0 0;
  color: #6e6e73;
  font-size: 0.82rem;
  line-height: 1.55;
}

.theme-apple .store-service-arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid #d2d2d7;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-apple .store-service-delivery:hover .store-service-arrow {
  background: #1d1d1f;
  color: #fff;
}

.theme-apple .store-service-gift {
  position: relative;
  margin: 1.25rem 0 1.25rem 2.5rem;
  padding: 1.6rem;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #1d1d1f, #050505);
  overflow: hidden;
}

.theme-apple .store-service-gift .store-service-eyebrow {
  color: #a1a1a6;
}

.theme-apple .store-service-gift h2 {
  color: #f5f5f7;
}

.theme-apple .store-service-gift > p:last-of-type {
  max-width: 16rem;
  color: #a1a1a6;
}

.theme-apple .store-service-gift-mark {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .theme-apple .seo-section--plain .seo-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .theme-apple .checkout-accessory-grid {
    grid-template-columns: 1fr;
  }

  .theme-apple .store-services-inner {
    grid-template-columns: 1fr;
  }

  .theme-apple .store-service-delivery {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 2rem 0;
  }

  .theme-apple .store-service-price {
    grid-column: 1 / -1;
    font-size: 3.75rem;
  }

  .theme-apple .store-service-gift {
    margin: 0 0 1rem;
    padding: 1.5rem;
    border: 0;
  }
}

/* Gift note */
.theme-apple .gift-note-strip-inner,
.theme-apple .gift-note--product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: linear-gradient(135deg, #1d1d1f, #050505);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.theme-apple .gift-note-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.theme-apple .gift-note-title {
  font-family: 'Graphik', sans-serif;
  font-weight: 500;
  color: #f5f5f7;
}

.theme-apple .gift-note-hint {
  color: #a1a1a6;
}

.theme-apple .gift-note--checkout {
  padding: 0.9rem 1rem;
  border: 0;
  border-left: 3px solid #86868b;
  border-radius: 0;
  background: #f5f5f7;
  color: #515154;
}

.theme-apple .gift-note--checkout strong {
  color: #1d1d1f;
}

/* Accessories suggested when an iPhone order is confirmed */
.theme-apple .checkout-accessories {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: 20px;
  background: #f5f5f7;
}

.theme-apple .checkout-accessories-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.theme-apple .checkout-accessories-head > p:last-child {
  margin: 0.65rem 0 0;
  max-width: 42rem;
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.5;
}

.theme-apple .checkout-accessory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.theme-apple .checkout-accessory {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid #d2d2d7;
  border-radius: 16px;
  background: #fff;
}

.theme-apple .checkout-accessory img {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
}

.theme-apple .checkout-accessory-copy h3 {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.3;
}

.theme-apple .checkout-accessory-copy .price-badge {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}

.theme-apple .checkout-accessory-add {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0.62rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #1d1d1f;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.theme-apple .checkout-accessory-add:hover {
  background: #000;
}

.theme-apple .checkout-accessory-add:disabled {
  background: #d2d2d7;
  color: #515154;
  cursor: default;
}

/* Payment banner */
.theme-apple .payment-banner {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 20px;
}

.theme-apple .payment-banner-block {
  padding: 0;
  border: 0;
}

/* Flat UI — no decorative borders/gradients */
.theme-apple .faq-shell,
.theme-apple .faq-item,
.theme-apple .content-block,
.theme-apple .review-card,
.theme-apple .review-form-card,
.theme-apple .contact-card,
.theme-apple .warranty-card,
.theme-apple .cart-panel,
.theme-apple .promo-popup-card,
.theme-apple .product-page,
.theme-apple .checkout-form .field,
.theme-apple .radio-card,
.theme-apple .size-btn,
.theme-apple .color-dot {
  border: 0;
  box-shadow: none;
  background-image: none;
}

.theme-apple .faq-shell,
.theme-apple .review-card,
.theme-apple .review-form-card,
.theme-apple .contact-card,
.theme-apple .warranty-card {
  background: var(--soft);
  border-radius: 20px;
}

.theme-apple .content-block,
.theme-apple .product-page,
.theme-apple .cart-panel,
.theme-apple .promo-popup-card {
  border-radius: 20px;
}

.theme-apple .checkout-form .field,
.theme-apple .radio-card,
.theme-apple .size-btn {
  border-radius: 12px;
}

.theme-apple .checkout-form .field {
  border: 1px solid #d2d2d7;
  background: #f5f5f7;
  color: #1d1d1f;
}

.theme-apple .checkout-form .field::placeholder {
  color: #86868b;
  opacity: 1;
}

.theme-apple .checkout-form .field:focus {
  border-color: #86868b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(134, 134, 139, 0.12);
}

.theme-apple .radio-card {
  border: 1px solid #d2d2d7;
  background: #f5f5f7;
}

.theme-apple .radio-card:has(:checked) {
  border-color: #86868b;
  background: #fff;
}

.theme-apple .color-dot {
  border-radius: 50%;
}

.theme-apple .product-card .color-dots {
  gap: 0;
}

.theme-apple .product-card .color-dot {
  width: 2.05rem;
  height: 2.25rem;
}

.theme-apple .page-hero-banner::after {
  background: rgba(0, 0, 0, 0.4);
}

.theme-apple .promo-popup-card {
  width: min(100%, 22rem);
  padding: 2rem 1.5rem 1.5rem;
  background: #faf6e8;
  color: var(--ink);
  text-align: center;
}

.theme-apple .promo-popup-x {
  top: 0.75rem;
  right: 0.85rem;
  color: var(--ink);
}

.theme-apple .promo-popup-eyebrow {
  margin: 0;
  color: var(--muted);
}

.theme-apple .promo-popup-card h2 {
  margin: 0.45rem 0 0;
  color: var(--ink);
}

.theme-apple .promo-popup-text {
  margin: 0.8rem auto 0;
  max-width: 18rem;
  color: #525256;
}

.theme-apple .promo-popup-code {
  margin-top: 1.15rem;
  background: #f3df83;
  color: var(--ink);
}

.theme-apple .promo-popup-copy,
.theme-apple .promo-popup-copy:link,
.theme-apple .promo-popup-copy:visited,
.theme-apple .promo-popup-copy:hover,
.theme-apple .promo-popup-copy:active,
.theme-apple .promo-popup-copy:focus {
  margin-top: 1.15rem;
  background: var(--ink);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.theme-apple .promo-popup-copy:hover,
.theme-apple .promo-popup-copy:focus {
  background: #000000;
}

.theme-apple .promo-popup-hint {
  color: #525256;
}

.theme-apple body,
.theme-apple .site-shell {
  background: #fff;
  background-image: none;
}

@media (max-width: 767px) {
  .theme-apple .brand-split.container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-apple .brand-split-item {
    min-height: 9rem;
  }

  .theme-apple .hero {
    padding: 1rem 0;
  }

  .theme-apple .hero-banner {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .theme-apple .hero-banner > picture img,
  .theme-apple .hero-banner > img {
    object-position: 62% center;
  }

  .theme-apple .hero-banner-copy {
    inset: 0;
    width: 62%;
    padding: 1.2rem;
    justify-content: center;
    background: transparent;
  }

  .theme-apple .hero-banner-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .theme-apple .hero-banner-copy .hero-lead {
    font-size: 0.88rem;
  }

  .theme-apple .hero-banner::after {
    background: none;
  }
}

/* Catalog navigation: legacy series and individual model pages */
.theme-apple .mega-inner.mega-catalog {
  display: block;
  padding-top: 1.4rem;
  padding-bottom: 1.5rem;
}

.theme-apple .mega-compact-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}

.theme-apple .nav-mobile-title {
  margin: 0 0 0.75rem;
  color: #86868b;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.theme-apple .mega-compact-group {
  display: block;
  padding: 0;
}

.theme-apple .mega-compact-group h3 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-apple .mega-compact-group h3 a {
  color: #86868b;
}

.theme-apple .mega-compact-group ul {
  display: grid;
  gap: 0.3rem;
}

.theme-apple .mega-compact-group li a {
  color: #f5f5f7;
  font-size: 0.8rem;
  line-height: 1.25;
}

.theme-apple .mega-compact-group li a:hover,
.theme-apple .mega-compact-group h3 a:hover {
  color: #f5f5f7;
}

.theme-apple .nav-mobile-catalog {
  display: grid;
  gap: 1.25rem;
  padding: 0.65rem 0;
}

.theme-apple .nav-mobile-series {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: 0;
  gap: 0.25rem 1rem;
}

.theme-apple .nav-mobile-model-group + .nav-mobile-model-group {
  margin-top: 0.65rem;
}

/* Reviews as editorial quotes, not cards */
.theme-apple .reviews-teaser {
  padding: 4rem 0 2rem;
  border-top: 1px solid #e5e5ea;
  border-bottom: 1px solid #e5e5ea;
  background: #f5f5f7 !important;
}

.theme-apple .reviews-teaser .container,
.theme-apple .reviews-stack,
.theme-apple .reviews-slide {
  background: #f5f5f7;
}

.theme-apple .reviews-teaser-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #d2d2d7;
}

.theme-apple .reviews-teaser-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.05;
}

.theme-apple .review-slide {
  min-height: 15rem;
  padding: 1.5rem 0;
  border-top: 1px solid #d2d2d7;
  border-radius: 0;
  background: #f5f5f7;
}

.theme-apple .review-slide .q {
  display: none;
}

.theme-apple .review-slide .review-star.is-on {
  color: #1d1d1f;
}

.theme-apple .review-slide > p {
  margin-top: 1rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.65;
}

.theme-apple .review-slide footer {
  border-top: 0;
}

.theme-apple .reviews-nav .round-btn {
  border: 1px solid #d2d2d7;
  background: #fff;
}

/* FAQ as a two-column editorial accordion */
.theme-apple .faq-section {
  margin-top: 3rem;
  padding-bottom: 3rem;
}

.theme-apple .faq-shell {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid #d2d2d7;
  border-bottom: 1px solid #d2d2d7;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.theme-apple .faq-head {
  margin: 0;
}

.theme-apple .faq-head .font-display {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.theme-apple .faq-lead {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.theme-apple .faq-list {
  gap: 0;
}

.theme-apple .faq-item {
  border: 0;
  border-top: 1px solid #d2d2d7;
  border-radius: 0;
  background: transparent;
}

.theme-apple .faq-item:last-child {
  border-bottom: 1px solid #d2d2d7;
}

.theme-apple .faq-item[open] {
  border-color: #d2d2d7;
  box-shadow: none;
}

.theme-apple .faq-question {
  padding: 1.05rem 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
}

.theme-apple .faq-chevron {
  border-color: #d2d2d7;
  background: #fff;
}

.theme-apple .faq-chevron::before,
.theme-apple .faq-chevron::after {
  background: #1d1d1f;
}

.theme-apple .faq-answer {
  max-width: 38rem;
  padding: 0 2.5rem 1.2rem 0;
}

.theme-apple .faq-answer p {
  padding: 0;
  border: 0;
  font-size: 0.86rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .theme-apple .reviews-slide > .review-slide:first-child {
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
  }

  .theme-apple .reviews-slide > .review-slide + .review-slide {
    margin-left: 0;
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
    border-left: 1px solid #d2d2d7;
  }
}

@media (max-width: 767px) {
  .theme-apple .faq-shell {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 0;
  }

  .theme-apple .review-slide {
    min-height: 0;
  }

  .theme-apple .mega-model-groups {
    grid-template-columns: 1fr;
  }
}

/* Editorial benefits used on catalog, product and service pages */
.theme-apple .benefits--apple-editorial {
  padding: 3.5rem 0;
  background: #fff;
}

.theme-apple .benefits-editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.7fr);
  gap: 2rem;
  align-items: end;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d2d2d7;
}

.theme-apple .benefits-editorial-head h2 {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.theme-apple .benefits-editorial-head > p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.6;
}

.theme-apple .benefits--apple-editorial .benefits-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #d2d2d7;
}

.theme-apple .benefits--apple-editorial .benefit-card {
  min-width: 0;
  padding: 1.6rem;
  border: 0;
  border-right: 1px solid #d2d2d7;
  border-radius: 0;
  background: transparent;
}

.theme-apple .benefits--apple-editorial .benefit-card:first-child {
  padding-left: 0;
}

.theme-apple .benefits--apple-editorial .benefit-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.theme-apple .benefits--apple-editorial .benefit-card:hover {
  background: transparent;
  transform: none;
}

.theme-apple .benefits--apple-editorial .benefit-icon {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #d2d2d7;
  border-radius: 50%;
  background: #fff;
}

.theme-apple .benefits--apple-editorial .benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.theme-apple .benefits--apple-editorial .benefit-card p {
  margin-top: 0.8rem;
  color: #6e6e73;
  font-size: 0.8rem;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .theme-apple .benefits--apple-editorial {
    padding: 2.5rem 0;
  }

  .theme-apple .benefits-editorial-head {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .theme-apple .benefits--apple-editorial .benefits-grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .theme-apple .benefits--apple-editorial .benefit-card,
  .theme-apple .benefits--apple-editorial .benefit-card:first-child,
  .theme-apple .benefits--apple-editorial .benefit-card:last-child {
    padding: 1.25rem 0.75rem;
    border-right: 1px solid #d2d2d7;
    border-bottom: 1px solid #d2d2d7;
  }

  .theme-apple .benefits--apple-editorial .benefit-card:nth-child(2n) {
    padding-right: 0;
    border-right: 0;
  }

  .theme-apple .benefits--apple-editorial .benefit-card:nth-child(2n + 1) {
    padding-left: 0;
  }

  .theme-apple .benefits--apple-editorial .benefit-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}
