/* ============================================================
   The Apple Store Pune — Core Design System
   Apple-inspired: white/black/gray palette, Apple blue accent,
   clean sans-serif type, generous whitespace, responsive grid.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --white: #ffffff;
  --black: #000000;
  --silver: #e8e8ed;
  --silver-light: #fbfbfd;
  --silver-mid: #c7c7cc;
  --gray-bg: #f5f5f7;
  --gray-border: #d2d2d7;
  --gray-text: #6e6e73;
  --gray-dark: #1d1d1f;
  --blue: #3a3a3c;
  --blue-dark: #1d1d1f;
  --green: #3d7a4a;
  --red: #b83a3a;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.07);
  --header-h: 68px;
  --max-width: 1300px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.47059;
}

h1,
h2,
h3,
h4,
h5 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 64px 0;
}

.section--gray {
  background: var(--gray-bg);
}

/* Section header — stacking layout */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-head .eyebrow {
  display: block !important;
  margin-bottom: 8px;
}

.section-head h2 {
  display: block !important;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
}

.section-head p {
  color: var(--gray-text);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s var(--ease-premium), box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 102, 204, 0.15);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.28);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: #2a2a2c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--gray-dark);
  color: var(--gray-dark);
}

.btn-outline:hover {
  background: var(--gray-dark);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--gray-dark);
}

.btn-light:hover {
  background: var(--gray-bg);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 17px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-icon {
  background: none;
  border: none;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.site-logo-img {
  display: inline-block;
  height: 35px;
  width: auto;
  max-width: 138px;
  object-fit: contain;
  vertical-align: middle;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo:hover .site-logo-img {
  opacity: 0.95;
  transform: scale(1.02);
}

.apple-logo-svg {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 4px 0 2px;
  vertical-align: middle;
  fill: #ffffff;
  color: #ffffff;
  filter: none;
  opacity: 1;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 42px;
  max-width: 165px;
}

/* Accessibility screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo span.store-tag {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.45);
  font-weight: 600;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  white-space: nowrap;
}

.logo span.store-tag .store-tag-line {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.35vw, 22px);
  flex: 1;
  min-width: 0;
  margin: 0 auto;
}

.main-nav>a {
  font-size: clamp(14px, 1vw, 15.5px);
  color: var(--gray-dark);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}

.main-nav>a:hover {
  color: var(--blue);
}

.main-nav>a.active {
  color: var(--blue);
  font-weight: 600;
}

/* ============================================================
   Apple-Style Cascading Mega Menu
   Level 2: Apple Dropdown
   Level 3: Product Categories
   Level 4: Product Listings (Dynamically Top-Aligned)
   ============================================================ */

.apple-cascade-menu {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.apple-cascade-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-dark);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.apple-cascade-toggle:hover,
.apple-cascade-menu.open .apple-cascade-toggle,
.apple-cascade-menu.active .apple-cascade-toggle {
  color: var(--blue, #0071e3);
}

.apple-cascade-toggle .chevron-icon {
  transition: transform 0.22s ease;
}

.apple-cascade-menu.open .apple-cascade-toggle .chevron-icon {
  transform: rotate(180deg);
}

/* Mega Menu Container */
.cascade-mega-container {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Invisible bridge so mouse hover doesn't break between button and panel */
.cascade-mega-container::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.apple-cascade-menu.open .cascade-mega-container {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Cascading Floating White Panels (Apple design: clean white, rounded 18px, subtle shadow) */
.cascade-panel {
  background: #ffffff !important;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 10px;
  color: #1d1d1f !important;
  box-sizing: border-box;
}

/* Hover bridges between adjacent panels */
.cascade-panel-1::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 12px;
  height: 100%;
}

.cascade-panel-2::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 12px;
  height: 100%;
}

/* Panel 1: Primary Apple Dropdown (Level 2: opens on hovering Apple) */
.cascade-panel-1 {
  position: relative;
  width: 250px;
}

/* Panel 2: Product Categories (Level 3: opens on hovering Products in Panel 1) */
.cascade-panel-2 {
  display: none;
  position: absolute;
  left: 258px;
  top: 0;
  width: 200px;
  z-index: 1001;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.cascade-panel-2.open {
  display: block !important;
  opacity: 1 !important;
  transform: translateX(0);
  pointer-events: auto !important;
}

/* Panel 3: Product Listings (Level 4: opens on hovering a category in Panel 2) */
.cascade-panel-3 {
  display: none;
  position: absolute;
  left: 466px;
  top: 0;
  width: 320px;
  z-index: 1002;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cascade-panel-3.open {
  display: block !important;
  opacity: 1 !important;
  transform: translateX(0);
  pointer-events: auto !important;
}

/* Menu Items inside Panels */
.cascade-panel .cascade-item,
.cascade-panel .cascade-cat-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.cascade-panel .cascade-item-text {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  display: inline-block !important;
}

.cascade-panel .cascade-item:hover,
.cascade-panel .cascade-item.active,
.cascade-panel .cascade-cat-item:hover,
.cascade-panel .cascade-cat-item.active {
  background: #f5f5f7 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.cascade-panel .cascade-item:hover .cascade-item-text,
.cascade-panel .cascade-item.active .cascade-item-text,
.cascade-panel .cascade-cat-item:hover .cascade-item-text,
.cascade-panel .cascade-cat-item.active .cascade-item-text {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Red Directional Arrows */
.cascade-panel .red-arrow {
  color: #d60017 !important;
  -webkit-text-fill-color: #d60017 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin-left: 8px !important;
  transition: transform 0.15s ease !important;
}

.cascade-panel .cascade-item.active .red-arrow,
.cascade-panel .cascade-cat-item.active .red-arrow {
  transform: translateX(2px) !important;
}

/* Product Groups inside Panel 3 */
.cascade-prod-group {
  display: none;
  animation: fadeInCascade 0.18s ease forwards;
}

.cascade-prod-group.active {
  display: block;
}

@keyframes fadeInCascade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cascade-panel .cascade-group-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #6e6e73 !important;
  -webkit-text-fill-color: #6e6e73 !important;
  padding: 6px 12px 10px !important;
  display: block !important;
}

.cascade-panel .cascade-prod-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

.cascade-panel .cascade-prod-name,
.cascade-panel .cascade-prod-item span:first-child,
.cascade-panel .cascade-prod-item>span:not(.badge-new-red) {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  display: inline-block !important;
}

.cascade-panel .cascade-prod-item:hover {
  background: #f5f5f7 !important;
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
  transform: translateX(2px) !important;
}

.cascade-panel .cascade-prod-item:hover .cascade-prod-name,
.cascade-panel .cascade-prod-item:hover span:first-child,
.cascade-panel .cascade-prod-item:hover>span:not(.badge-new-red) {
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
}

/* Red 'New' Badges */
.cascade-panel .badge-new-red,
.mobile-nav .badge-new-red {
  display: inline-block !important;
  background: rgba(214, 0, 23, 0.1) !important;
  color: #d60017 !important;
  -webkit-text-fill-color: #d60017 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
}

.cascade-panel .cascade-divider {
  height: 1px !important;
  background: #e5e5ea !important;
  margin: 8px 4px !important;
  border: none !important;
}

.cascade-panel .cascade-explore-link {
  display: inline-block !important;
  padding: 8px 12px 4px !important;
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.cascade-panel .cascade-explore-link:hover {
  color: #0077ed !important;
  -webkit-text-fill-color: #0077ed !important;
  text-decoration: underline !important;
}

/* ============================================================
   Business Navigation Dropdown Menu
   ============================================================ */
.business-dropdown-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.biz-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(14px, 1vw, 15.5px);
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 4px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.business-dropdown-menu:hover .biz-dropdown-toggle,
.business-dropdown-menu.active .biz-dropdown-toggle,
.business-dropdown-menu.open .biz-dropdown-toggle {
  color: var(--blue, #0071e3) !important;
}

.biz-dropdown-toggle .chevron-icon {
  transition: transform 0.22s ease;
}

.business-dropdown-menu:hover .biz-dropdown-toggle .chevron-icon,
.business-dropdown-menu.open .biz-dropdown-toggle .chevron-icon {
  transform: rotate(180deg);
}

.biz-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 290px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 8px;
  z-index: 1000;
  box-sizing: border-box;
}

.business-dropdown-menu:hover .biz-dropdown-panel,
.business-dropdown-menu.open .biz-dropdown-panel {
  display: block;
  animation: fadeInCascade 0.18s ease forwards;
}

.biz-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.biz-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.16s ease;
}

.biz-dropdown-item:hover {
  background: rgba(0, 113, 227, 0.08);
}

.bdi-title {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
}

.bdi-desc {
  color: #86868b;
  font-size: 11.5px;
  margin-top: 2px;
  line-height: 1.3;
}

/* Dark theme overrides for business dropdown */
body.dark-theme .biz-dropdown-toggle,
.site-header--dark .biz-dropdown-toggle {
  color: #e5e5ea !important;
}

body.dark-theme .biz-dropdown-panel,
.site-header--dark .biz-dropdown-panel {
  background: rgba(22, 22, 26, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .biz-dropdown-item:hover,
.site-header--dark .biz-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .bdi-title,
.site-header--dark .bdi-title {
  color: #ffffff !important;
}

body.dark-theme .bdi-desc,
.site-header--dark .bdi-desc {
  color: #98989f !important;
}

/* Mobile Accordions */
.mobile-accordion-group {
  margin-bottom: 2px;
}

.mobile-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--black, #1d1d1f);
  padding: 10px 0;
  cursor: pointer;
  text-align: left;
}

.mobile-accordion-toggle .toggle-icon {
  font-size: 18px;
  font-weight: 600;
  color: #d60017;
  transition: transform 0.2s ease;
}

.mobile-accordion-group.open>.mobile-accordion-toggle .toggle-icon {
  transform: rotate(90deg);
}

.mobile-accordion-content {
  display: none;
  padding-left: 14px;
  border-left: 2px solid rgba(0, 0, 0, 0.08);
  margin-top: 2px;
  margin-bottom: 8px;
}

.mobile-accordion-group.open>.mobile-accordion-content {
  display: block;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  color: #424245;
  text-decoration: none;
}

.mobile-sub-link:hover {
  color: #0071e3;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 901px) {
  .logo {
    min-width: 220px;
    flex: 0 0 auto;
  }

  .header-actions {
    min-width: 220px;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    flex: 0 0 auto;
  }
}

.search-wrap {
  position: relative;
  width: clamp(190px, 16vw, 240px);
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  padding: 8px 14px 8px 34px;
  border-radius: 980px;
  border: 1px solid var(--gray-border);
  background: var(--gray-bg);
  font-size: 13px;
  outline: none;
  transition: box-shadow 0.15s;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
  background: var(--white);
}

.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--gray-text);
  pointer-events: none;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: none;
  max-height: 420px;
  overflow-y: auto;
  z-index: 600;
}

.search-suggestions.open {
  display: block;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-bg);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--gray-bg);
}

.suggestion-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 4px;
}

.suggestion-info {
  flex: 1;
  min-width: 0;
}

.suggestion-name {
  font-size: 13px;
  font-weight: 500;
}

.suggestion-price {
  font-size: 12px;
  color: var(--gray-text);
}

.suggestion-empty {
  padding: 16px;
  text-align: center;
  color: var(--gray-text);
  font-size: 13px;
}

.icon-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--gray-dark);
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  background: var(--gray-bg);
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
}

/* ---------------- Mobile nav drawer ---------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 100001;
  display: none;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mobile-nav>a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--black, #1d1d1f);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav .mobile-sub-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 6px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #333336 !important;
  -webkit-text-fill-color: #333336 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.mobile-nav .mobile-sub-link:last-child {
  border-bottom: none !important;
}

.mobile-nav .mobile-sub-link:hover {
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
}

.mobile-nav-divider {
  height: 18px;
}

.mobile-products-label {
  padding: 16px 4px 4px;
  color: var(--gray-text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.dark-theme .mobile-nav,
body.page-dark .mobile-nav {
  background: rgba(14, 14, 16, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  color: #ffffff;
}

body.dark-theme .mobile-nav>a,
body.page-dark .mobile-nav>a {
  color: #e5e5ea;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .mobile-nav>a:hover,
body.page-dark .mobile-nav>a:hover {
  color: #ffffff;
}

body.dark-theme .mobile-nav-head .btn-icon,
body.page-dark .mobile-nav-head .btn-icon {
  color: #ffffff;
}

body.dark-theme .mobile-products-label,
body.page-dark .mobile-products-label {
  color: #86868b;
}

body.dark-theme .mobile-nav .search-input,
body.page-dark .mobile-nav .search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

@media (max-width: 900px) {

  .main-nav,
  .header-actions .search-wrap {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* ---------------- Hero / carousel ---------------- */

.hero-carousel {
  position: relative;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  min-height: 520px;
  max-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero-slide--pro-orange {
  background: #000;
  min-height: 560px;
}

.hero-slide--pro-orange .hero-slide-bg {
  object-fit: cover;
  object-position: right center;
}

.hero-slide--pro-orange .hero-slide-content {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
  align-self: stretch;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-slide--pro-orange .hero-slide-content .inner {
  max-width: 420px;
}

.hero-slide--pro-orange .eyebrow-light {
  color: #c7c7cc;
  font-weight: 600;
}

.hero-slide--mac {
  background: #f5f5f7;
  min-height: 560px;
  overflow: hidden;
}

.hero-slide--mac::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 245, 247, 0.98) 0%, rgba(245, 245, 247, 0.82) 36%, rgba(245, 245, 247, 0.16) 66%, transparent 100%);
  z-index: 0;
}

.hero-slide--ipad {
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 52% at 76% 52%, rgba(64, 92, 130, 0.12), transparent 70%),
    linear-gradient(135deg, #fbfbfd 0%, #f5f9ff 50%, #edf2f8 100%);
}

.hero-slide--ipad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 251, 253, 0.96) 0%, rgba(251, 251, 253, 0.78) 36%, rgba(251, 251, 253, 0.12) 68%, transparent 100%);
  z-index: 0;
}

.hero-product-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-product-stage::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.9;
}

.hero-product-stage--mac::before {
  right: 8vw;
  bottom: 48px;
  width: min(44vw, 560px);
  height: 40px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.18), transparent 68%);
}

.hero-product-stage--ipad::before {
  right: 10vw;
  bottom: 44px;
  width: min(36vw, 420px);
  height: 38px;
  background: radial-gradient(ellipse, rgba(48, 66, 92, 0.18), transparent 70%);
}

.hero-product-image {
  --hero-product-x: 0px;
  position: absolute;
  object-fit: contain;
  object-position: center bottom;
  max-height: calc(100% - 40px);
  max-width: 52vw;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.16));
  transform: translateX(var(--hero-product-x));
  transform-origin: center bottom;
}

.hero-product-image--mac {
  right: clamp(20px, 4vw, 80px);
  bottom: 20px;
  width: min(48vw, 640px);
  max-height: calc(100% - 40px);
  mix-blend-mode: multiply;
}

.hero-product-image--ipad {
  right: clamp(14px, 5vw, 90px);
  bottom: 20px;
  width: min(44vw, 560px);
  max-height: calc(100% - 40px);
  filter: drop-shadow(0 30px 36px rgba(48, 66, 92, 0.18));
}

.hero-slide--active .hero-product-image {
  animation: heroProductIn 900ms var(--ease-premium) both, heroProductFloat 5.8s ease-in-out 900ms infinite;
}

.hero-mac-air-bg {
  object-fit: contain;
  object-position: 76% center;
  padding: 34px 7vw 24px 46vw;
  background:
    radial-gradient(ellipse 44% 56% at 76% 52%, rgba(0, 0, 0, 0.08), transparent 68%),
    linear-gradient(135deg, #fbfbfd 0%, #f2f3f5 52%, #e9edf2 100%);
}

.hero-mac-layout {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 22px;
  position: relative;
  z-index: 1;
}

.hero-mac-layout .inner {
  max-width: 500px;
}

.cc-mac-pair {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  position: relative;
  z-index: 1;
  padding: 12px 0 0 0;
}

.cc-mac-pair img,
.collection-card .cc-mac-pair img {
  flex: 1 1 48%;
  width: 48% !important;
  height: auto !important;
  max-height: 150px;
  object-fit: contain;
  object-position: center bottom;
  padding: 0;
  align-self: flex-end;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.collection-card:hover .cc-mac-pair img {
  transform: scale(1.05) translateY(-4px);
}

@media (max-width: 900px) {
  .hero-slide--mac {
    align-items: flex-start;
    min-height: 620px;
  }

  .hero-slide--ipad {
    align-items: flex-start;
    min-height: 620px;
  }

  .hero-slide--mac::after {
    background: linear-gradient(180deg, rgba(245, 245, 247, 0.98) 0%, rgba(245, 245, 247, 0.9) 42%, rgba(245, 245, 247, 0.2) 72%, transparent 100%);
  }

  .hero-slide--ipad::after {
    background: linear-gradient(180deg, rgba(251, 251, 253, 0.98) 0%, rgba(251, 251, 253, 0.9) 42%, rgba(251, 251, 253, 0.2) 72%, transparent 100%);
  }

  .hero-mac-air-bg {
    object-position: center bottom;
    padding: 260px 12vw 34px;
  }

  .hero-product-stage--mac::before,
  .hero-product-stage--ipad::before {
    left: 50%;
    right: auto;
    bottom: 42px;
    width: min(72vw, 520px);
    transform: translateX(-50%);
  }

  .hero-product-image--mac {
    --hero-product-x: -50%;
    left: 50%;
    right: auto;
    bottom: 42px;
    width: min(92vw, 560px);
  }

  .hero-product-image--ipad {
    --hero-product-x: -50%;
    left: 50%;
    right: auto;
    bottom: 32px;
    width: min(94vw, 560px);
  }

  .hero-mac-layout {
    text-align: center;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .hero-mac-layout .inner {
    margin: 0 auto;
  }

  .hero-mac-layout .hero-cta {
    justify-content: center;
  }

  .hero-slide--ipad .hero-slide-content {
    text-align: center;
    padding-top: 36px;
    padding-bottom: 260px;
  }

  .hero-slide--ipad .hero-slide-content .inner {
    margin: 0 auto;
  }

  .hero-slide--ipad .hero-cta {
    justify-content: center;
  }
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 22px;
}

.hero-slide-content .inner {
  max-width: 480px;
}

.hero-slide-content .eyebrow-light {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.hero-slide-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.05;
}

.hero-slide-content p.desc {
  font-size: 19px;
  margin: 0 0 24px;
  opacity: 0.9;
}

.hero-slide-content .hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-slide.light-text {
  color: var(--white);
}

.hero-slide.dark-text {
  color: var(--gray-dark);
}

.hero-slide.dark-text p.desc {
  color: var(--gray-text);
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
  width: 22px;
  border-radius: 4px;
}

.hero-slide.dark-text~.hero-dots .hero-dot,
.hero-carousel[data-dark-dots] .hero-dot {
  background: rgba(0, 0, 0, 0.2);
}

.hero-carousel[data-dark-dots] .hero-dot.active {
  background: var(--gray-dark);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
}

.hero-arrow:hover {
  background: var(--white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

/* ---------------- Collections section header ---------------- */

.collections-section-wrapper {
  position: relative;
  overflow: hidden;
}

.collections-section-wrapper::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199, 199, 204, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.collections-section-wrapper::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(142, 142, 147, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.collections-section-wrapper .container {
  position: relative;
  z-index: 1;
}

/* Animated eyebrow label */
.section-head .eyebrow {
  animation: eyebrowPulse 3s ease-in-out infinite;
}

@keyframes eyebrowPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.collections-section-wrapper .section-head h2 {
  position: relative;
  display: block;
}

.collections-section-wrapper .section-head h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #c7c7cc, #86868b);
  border-radius: 2px;
  transition: width 0.6s var(--ease-premium);
}

.collections-section-wrapper .section-head:hover h2::after {
  width: 60%;
}

/* ---------------- Collections grid ---------------- */

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Per-card silver / graphite themes */
.collection-card:nth-child(1) {
  background: linear-gradient(145deg, #ececf0 0%, #f5f5f7 55%, #fbfbfd 100%);
}

.collection-card:nth-child(2) {
  background: linear-gradient(145deg, #e4e4e8 0%, #efeff2 55%, #f7f7f9 100%);
}

.collection-card:nth-child(3) {
  background: linear-gradient(145deg, #e8e8ed 0%, #f2f2f5 55%, #fafafa 100%);
}

.collection-card:nth-child(4) {
  background: linear-gradient(145deg, #ececf1 0%, #f4f4f6 55%, #fbfbfd 100%);
}

.collection-card:nth-child(5) {
  background: linear-gradient(145deg, #e6e6ea 0%, #f0f0f3 55%, #f8f8fa 100%);
}

.collection-card:nth-child(6) {
  background: linear-gradient(145deg, #e9e9ee 0%, #f3f3f5 55%, #fafafa 100%);
}

/* Card base — flex row: text left, image right */
.collection-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 30px 0 0 30px;
  height: 280px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition:
    transform 0.4s var(--ease-premium),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
}

/* Shimmer sweep on hover */
.collection-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 35%,
      rgba(255, 255, 255, 0.65) 50%,
      transparent 65%);
  transform: translateX(-150%);
  transition: transform 0.75s ease;
  z-index: 10;
  pointer-events: none;
  border-radius: 20px;
}

.collection-card:hover::before {
  transform: translateX(150%);
}

/* Per-card hover glows */
.collection-card:nth-child(1):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 102, 204, 0.18), 0 0 0 1.5px rgba(0, 102, 204, 0.2);
  border-color: rgba(0, 102, 204, 0.2);
}

.collection-card:nth-child(2):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(80, 80, 100, 0.14), 0 0 0 1.5px rgba(80, 80, 100, 0.12);
  border-color: rgba(80, 80, 100, 0.12);
}

.collection-card:nth-child(3):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(200, 80, 50, 0.18), 0 0 0 1.5px rgba(200, 80, 50, 0.18);
  border-color: rgba(200, 80, 50, 0.18);
}

.collection-card:nth-child(4):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(200, 40, 110, 0.16), 0 0 0 1.5px rgba(200, 40, 110, 0.18);
  border-color: rgba(200, 40, 110, 0.18);
}

.collection-card:nth-child(5):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(20, 150, 90, 0.16), 0 0 0 1.5px rgba(20, 150, 90, 0.18);
  border-color: rgba(20, 150, 90, 0.18);
}

.collection-card:nth-child(6):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(190, 140, 10, 0.16), 0 0 0 1.5px rgba(190, 140, 10, 0.2);
  border-color: rgba(190, 140, 10, 0.2);
}

/* Left: text column */
.collection-card .cc-text {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 28px;
  padding-right: 10px;
  position: relative;
  z-index: 2;
}

.collection-card .cc-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.07);
  color: var(--gray-dark);
  width: fit-content;
  margin-bottom: 12px;
}

.collection-card:nth-child(1) .cc-badge {
  background: rgba(29, 29, 31, 0.08);
  color: #3a3a3c;
}

.collection-card:nth-child(3) .cc-badge {
  background: rgba(29, 29, 31, 0.08);
  color: #3a3a3c;
}

.collection-card:nth-child(4) .cc-badge {
  background: rgba(29, 29, 31, 0.08);
  color: #3a3a3c;
}

.collection-card:nth-child(5) .cc-badge {
  background: rgba(29, 29, 31, 0.08);
  color: #3a3a3c;
}

.collection-card:nth-child(6) .cc-badge {
  background: rgba(29, 29, 31, 0.08);
  color: #3a3a3c;
}

.collection-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  transition: color 0.3s ease;
  color: var(--gray-dark);
}

.collection-card:nth-child(1):hover h3 {
  color: #1d1d1f;
}

.collection-card:nth-child(3):hover h3 {
  color: #1d1d1f;
}

.collection-card .cc-text>p {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0 0 auto;
  line-height: 1.4;
}

.collection-card .cc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 18px;
  transition: gap 0.25s ease;
  width: fit-content;
}

.collection-card .cc-link::after {
  content: '→';
  font-size: 15px;
  transition: transform 0.3s var(--ease-premium);
}

.collection-card:hover .cc-link {
  gap: 8px;
}

.collection-card:hover .cc-link::after {
  transform: translateX(5px);
}

/* Right: image column — contained, no overflow */
.collection-card img {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  align-self: flex-end;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.13));
  transition: transform 0.5s var(--ease-premium), filter 0.4s ease;
  position: relative;
  z-index: 1;
  padding: 12px 0 0 0;
}

.collection-card:hover img {
  transform: scale(1.07) translateY(-6px);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.22));
}

/* ---------------- Product grid & cards ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.35s var(--ease-premium), transform 0.35s var(--ease-premium), border-color 0.35s ease;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: transparent;
}

.product-card .pc-image img {
  transition: transform 0.5s var(--ease-premium);
}

.product-card:hover .pc-image img {
  transform: scale(1.06);
}

.product-card .compare-check-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
}

.product-card .compare-check-wrap label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gray-text);
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 4px 8px;
  border-radius: 980px;
  cursor: pointer;
}

.product-card .compare-check-wrap input {
  accent-color: var(--blue);
}

.urgency-text {
  font-size: 11.5px;
  color: #b45309;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.urgency-text .icon-svg {
  color: #b45309;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 980px;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-new {
  background: #ececf0;
  color: #3a3a3c;
}

.badge-sale {
  background: #fde8e8;
  color: var(--red);
}

.badge-best-seller {
  background: #fff4d9;
  color: #9a6b00;
}

.product-card .pc-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.product-card .pc-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card .pc-cat {
  font-size: 11px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.product-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.product-card .pc-short {
  font-size: 12.5px;
  color: var(--gray-text);
  margin: 0 0 10px;
  min-height: 32px;
}

.product-card .pc-rating {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 10px;
}

.product-card .pc-rating .stars {
  color: #f5a623;
}

.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.pc-price {
  font-size: 18px;
  font-weight: 700;
}

.pc-mrp {
  font-size: 13px;
  color: var(--gray-text);
  text-decoration: line-through;
}

.pc-discount {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

.pc-emi {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 14px;
}

.pc-emi strong {
  color: var(--gray-dark);
}

.pc-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.pc-actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
}

/* ---------------- Best prices / promo strip ---------------- */

.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.promo-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--gray-border);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s ease, border-color 0.3s ease;
  cursor: default;
}

.promo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.promo-item .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-bg);
  color: var(--blue);
  transition: transform 0.4s var(--ease-premium), background 0.3s ease, color 0.3s ease;
}

.promo-item:hover .icon {
  transform: scale(1.12) rotate(-5deg);
  background: var(--blue);
  color: var(--white);
}

.promo-item h5 {
  margin: 0 0 4px;
  font-size: 15px;
}

.promo-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--gray-text);
}

/* ---------------- Category page ---------------- */

.category-hero {
  padding: 42px 0 24px;
  text-align: center;
  background: var(--gray-bg);
}

.category-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-hero p {
  color: var(--gray-text);
  margin: 0;
  font-size: 16px;
}

.category-hero .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.category-hero .container {
  position: relative;
}

.category-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.category-hero-media[hidden],
.category-hero-actions[hidden] {
  display: none;
}

.category-hero--mac,
.category-hero--ipad,
.category-hero--watch,
.category-hero--iphone {
  background: #ffffff !important;
  padding: 48px 0 24px;
  border-bottom: none;
  min-height: auto !important;
}

.category-hero--mac .container,
.category-hero--ipad .container,
.category-hero--watch .container,
.category-hero--iphone .container {
  display: block !important;
}

.category-hero--mac .category-hero-copy,
.category-hero--ipad .category-hero-copy {
  max-width: 100%;
  text-align: left;
  margin-bottom: 28px;
}

.category-hero--mac h1,
.category-hero--ipad h1 {
  font-size: clamp(52px, 6.5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #1d1d1f;
  text-align: left;
  margin: 0;
  line-height: 1.0;
}

.category-hero--watch .category-hero-copy,
.category-hero--iphone .category-hero-copy {
  max-width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.category-hero--watch h1,
.category-hero--iphone h1 {
  font-size: clamp(40px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  text-align: center;
  margin: 0 auto;
  line-height: 1.1;
}

.iphone-hero-lineup,
.watch-hero-lineup,
.mac-hero-lineup,
.ipad-hero-lineup {
  display: flex !important;
  align-items: center;
  position: relative;
  width: 100%;
  margin-top: 12px;
}

.ipad-hero-lineup .chapter-nav-track,
.mac-hero-lineup .chapter-nav-track {
  justify-content: flex-start;
  gap: 36px;
  padding: 10px 0 16px;
}

.chapter-nav-new-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: #c95100;
  margin-top: 3px;
  line-height: 1;
}

.iphone-hero-lineup[hidden],
.watch-hero-lineup[hidden],
.mac-hero-lineup[hidden],
.ipad-hero-lineup[hidden] {
  display: none !important;
}

.ipad-compare-section,
.mac-compare-section,
.watch-compare-section,
.iphone-compare-section {
  width: 100%;
  padding: 60px 0 40px;
  border-top: 1px solid var(--silver);
  margin-top: 40px;
}

.ipad-compare-section[hidden],
.mac-compare-section[hidden],
.watch-compare-section[hidden],
.iphone-compare-section[hidden] {
  display: none !important;
}

.compare-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.compare-section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.compare-section-header p {
  font-size: 17px;
  color: var(--gray-text);
  margin: 0;
}

.compare-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

@media (max-width: 1024px) {
  .compare-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .compare-section-grid {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  background: var(--silver-light);
  border: 1px solid var(--silver);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s ease;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.compare-card-media {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.compare-card-media img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

.compare-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #1d1d1f;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-card-price {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.compare-card .btn {
  margin-bottom: 14px;
}

.compare-spec-row {
  width: 100%;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  text-align: center;
}

.compare-spec-row strong {
  display: block;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.compare-spec-row span {
  color: var(--gray-text);
  line-height: 1.4;
}

.chapter-nav-arrow {
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: #1d1d1f;
  cursor: pointer;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.2s, color 0.2s;
  user-select: none;
}

.chapter-nav-arrow:hover {
  color: #0066cc;
}

.chapter-nav-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 34px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 4px 16px;
  width: 100%;
}

.chapter-nav-track::-webkit-scrollbar {
  display: none;
}

.chapter-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1d1d1f;
  min-width: 76px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.chapter-nav-item:hover {
  color: #0066cc;
  transform: translateY(-2px);
}

.chapter-nav-icon {
  height: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
}

.chapter-nav-icon img {
  max-height: 58px;
  max-width: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.chapter-nav-label {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.iphone-hero-card {
  position: relative;
  min-height: 210px;
  padding: 14px 12px 16px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: iphoneCardIn 620ms var(--ease-premium) both;
  animation-delay: calc(90ms * var(--card-i));
}

.iphone-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.11);
}

.iphone-hero-card img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  margin: 8px auto 10px;
  transition: transform 0.45s var(--ease-premium);
}

.iphone-hero-card:hover img {
  transform: translateY(-8px) scale(1.06);
}

.iphone-hero-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.iphone-hero-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--gray-text);
}

.iphone-hero-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5d7dc;
  color: #6d2431 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.iphone-hero-links {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.iphone-hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--gray-dark);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s var(--ease-premium);
}

.iphone-hero-link-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.iphone-hero-links a:hover {
  background: var(--gray-dark);
  color: var(--white);
}

.iphone-hero-links a:hover .iphone-hero-link-icon {
  filter: brightness(0) invert(1);
}

.iphone-compare-section {
  width: 100%;
  padding: 60px 0 40px;
  border-top: 1px solid var(--silver);
  margin-top: 40px;
  background: transparent;
}

.iphone-compare-section[hidden] {
  display: none !important;
}

.iphone-compare-section .compare-section-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .iphone-compare-section .compare-section-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .iphone-compare-section .compare-section-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .iphone-compare-section .compare-section-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.category-hero-media {
  position: relative;
  min-height: 320px;
}

.category-hero-media::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(82%, 520px);
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.17), transparent 70%);
  transform: translateX(-50%);
  filter: blur(2px);
}

.category-hero-media img {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.18));
  animation: heroProductIn 850ms var(--ease-premium) both, heroProductFloat 6s ease-in-out 850ms infinite;
}

.category-hero--ipad .category-hero-media img {
  width: min(100%, 560px);
  filter: drop-shadow(0 30px 36px rgba(48, 66, 92, 0.18));
}

.category-hero--mac .category-hero-media img {
  mix-blend-mode: multiply;
}

.category-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
  padding: 36px 0 60px;
}

.filters-panel {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.filters-panel h4 {
  font-size: 14px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-text);
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 6px 0;
  cursor: pointer;
}

.filter-option input {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.toolbar .result-count {
  font-size: 14px;
  color: var(--gray-text);
}

.sort-select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  font-size: 13px;
  background: var(--white);
}

.mobile-filter-btn {
  display: none;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-text);
}

/* ---------------- Product Detail Page ---------------- */

.breadcrumb {
  font-size: 13px;
  color: var(--gray-text);
  padding: 16px 0;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  margin: 0 6px;
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  justify-content: center;
  padding-bottom: 28px;
}

.pdp-gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pdp-gallery-main {
  background: linear-gradient(160deg, #f5f5f7 0%, #ebebef 100%);
  border-radius: var(--radius-lg);
  min-height: 320px;
  height: auto;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 16px;
  overflow: visible;
  padding: 24px;
  text-align: center;
}

.pdp-gallery-main img {
  max-height: 520px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  align-self: flex-start;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-border);
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
}

.pdp-thumb.active {
  border-color: var(--blue);
}

.pdp-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
}

.pdp-info .pc-cat {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gray-text);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.pdp-info h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.pdp-short {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-dark);
  max-width: 36em;
}

.pdp-info .pdp-rating {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.pdp-info .pdp-rating .stars {
  color: #f5a623;
}

.pdp-price-block {
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.pdp-price {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.pdp-mrp {
  font-size: 15px;
  color: var(--gray-text);
  text-decoration: line-through;
}

.pdp-discount {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  background: #e8f7ec;
  padding: 2px 8px;
  border-radius: 6px;
}

.pdp-emi-line {
  font-size: 14px;
  color: var(--gray-dark);
  margin-top: 8px;
  text-align: center;
  display: block;
}

.pdp-emi-line strong {
  color: var(--blue);
}

.pdp-emi-line a {
  color: var(--blue);
  text-decoration: underline;
  font-size: 13px;
  margin-left: 6px;
}

.option-group {
  margin-bottom: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.option-group>label.title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

.option-group .sel-value {
  color: var(--gray-text);
  font-weight: 400;
}

.swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gray-border);
  cursor: pointer;
  position: relative;
}

.swatch.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.storage-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.storage-opt {
  padding: 10px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: 2px;
  font-size: 13.5px;
  cursor: pointer;
  text-align: center;
}

.storage-opt.active {
  border-color: var(--blue);
  background: #eef6ff;
  color: var(--blue);
  font-weight: 600;
}

.qty-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  text-align: center;
}

.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gray-border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.qty-selector button {
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  font-size: 16px;
}

.qty-selector button:hover {
  background: var(--gray-bg);
}

.qty-selector span {
  width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.stock-info {
  font-size: 13px;
  color: var(--green);
  text-align: center;
  display: block;
  margin: 0 auto;
}

.stock-info.low {
  color: #b45309;
}

.pdp-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 24px auto 16px;
  width: 100%;
}

.pdp-actions .btn {
  flex: 0 1 200px;
  width: auto;
  max-width: 210px;
  min-width: 160px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 2px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-inline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 260px;
  min-width: 200px;
  padding: 11px 22px;
  border-radius: 2px;
  background: #25d366;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border: none;
  margin: 12px auto 24px;
  text-align: center;
}

.whatsapp-inline-btn:hover {
  background: #1fb959;
}

.trust-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--gray-border);
  padding-top: 20px;
}

.trust-mini div {
  text-align: center;
  font-size: 11.5px;
  color: var(--gray-text);
}

.trust-mini .icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  color: var(--blue);
}

/* Full-width details under buy box — avoids empty column space beside the gallery */
.pdp-details {
  margin: 8px 0 10px;
  padding: 36px 0 8px;
  border-top: 1px solid var(--gray-border);
}

.pdp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  align-items: start;
}

.pdp-details-block h3 {
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.pdp-desc {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: none;
}

.pdp-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pdp-highlights li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-dark);
  padding: 12px 14px;
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
}

.pdp-highlights strong {
  color: var(--ink, var(--black));
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--gray-border);
}

.spec-table td {
  padding: 13px 0;
  font-size: 14px;
  vertical-align: top;
}

.spec-table td:first-child {
  color: var(--gray-text);
  width: 36%;
  padding-right: 16px;
}

.spec-table td:last-child {
  font-weight: 500;
  color: var(--gray-dark);
}

.related-section {
  padding: 40px 0 70px;
  border-top: 1px solid var(--gray-border);
  margin-top: 24px;
}

/* Sticky mobile add-to-cart bar */
.sticky-atc {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-border);
  padding: 10px 14px;
  z-index: 400;
  align-items: center;
  gap: 10px;
}

.sticky-atc .satc-price {
  flex-shrink: 0;
}

.sticky-atc .satc-price .price {
  font-weight: 700;
  font-size: 16px;
  display: block;
}

.sticky-atc .satc-price .emi {
  font-size: 11px;
  color: var(--gray-text);
}

.sticky-atc .btn {
  flex: 1;
  padding: 12px;
  font-size: 14px;
}

/* ---------------- Cart page ---------------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  padding: 30px 0 70px;
  align-items: start;
}

.cart-title {
  font-size: 30px;
  font-weight: 700;
  margin: 24px 0 10px;
  letter-spacing: -0.02em;
}

.cart-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
}

.cart-item .ci-image {
  width: 100px;
  height: 100px;
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item .ci-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.cart-item .ci-info {
  flex: 1;
  min-width: 0;
}

.cart-item h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
}

.cart-item .ci-variant {
  font-size: 12.5px;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.cart-item .ci-price {
  font-weight: 700;
  font-size: 15px;
}

.cart-item .ci-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item .remove-link {
  font-size: 12.5px;
  color: var(--red);
}

.order-summary {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.order-summary h3 {
  font-size: 18px;
  margin: 0 0 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--gray-text);
}

.summary-row.total {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-dark);
  border-top: 1px solid var(--gray-border);
  padding-top: 14px;
  margin-top: 8px;
}

.summary-row .val {
  color: var(--gray-dark);
  font-weight: 500;
}

.promo-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.promo-row input {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  font-size: 13px;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-cart .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gray-text);
}

.empty-cart h2 {
  margin: 0 0 8px;
}

.empty-cart p {
  color: var(--gray-text);
  margin: 0 0 24px;
}

/* ---------------- Checkout ---------------- */

.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 28px 0 10px;
  flex-wrap: wrap;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-text);
  padding: 6px 14px;
  border-radius: 980px;
}

.checkout-step .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.checkout-step.active {
  color: var(--gray-dark);
  font-weight: 600;
}

.checkout-step.active .num {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.checkout-step.done .num {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.checkout-step-sep {
  width: 30px;
  height: 1px;
  background: var(--gray-border);
  align-self: center;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  padding: 20px 0 70px;
  align-items: start;
}

.checkout-panel {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.checkout-panel h3 {
  font-size: 20px;
  margin: 0 0 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-field .error-text {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-field.error input,
.form-field.error select {
  border-color: var(--red);
}

.form-field.error .error-text {
  display: block;
}

.checkout-nav-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-option {
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-option.active {
  border-color: var(--blue);
  background: #f5f9ff;
}

.payment-option input {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
}

.payment-option .po-icon {
  font-size: 22px;
}

.payment-option .po-info h5 {
  margin: 0 0 2px;
  font-size: 14.5px;
}

.payment-option .po-info p {
  margin: 0;
  font-size: 12px;
  color: var(--gray-text);
}

.payment-detail {
  display: none;
  padding: 0 18px 16px 50px;
}

.payment-option.active+.payment-detail {
  display: block;
}

.emi-plan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.emi-plan {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 12px;
  background: var(--gray-bg);
  border-radius: 8px;
}

.pay-amount-lock {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px solid #cfe0f5;
}

.pay-amount-lock--lg {
  align-items: center;
  text-align: center;
  max-width: 280px;
  margin: 16px auto;
}

.pay-amount-label {
  font-size: 12px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pay-amount-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.pay-qr-dynamic-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pay-qr-caption {
  margin: 0;
  font-size: 12px;
  color: var(--gray-text);
  text-align: center;
}

.pay-alt-qr {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--gray-text);
}

.pay-alt-qr summary {
  cursor: pointer;
  user-select: none;
}

.pay-qr-img--alt {
  width: 160px;
  margin-top: 10px;
}

.pay-qr-panel {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pay-qr-img {
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.pay-qr-copy {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-qr-copy p {
  margin: 0;
  font-size: 12.5px;
  color: var(--gray-text);
  line-height: 1.45;
}

.pay-qr-merchant {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--text) !important;
}

.pay-pending-qr {
  margin: 20px auto;
  width: min(220px, 70vw);
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--gray-border);
  display: block;
  background: #fff;
}

.pay-pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

/* Framed Merchant QR Card & Lightbox Modal */
.merchant-qr-frame {
  background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
  border: 1.5px solid rgba(0, 102, 204, 0.25);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 440px;
  margin: 12px 0;
  position: relative;
  overflow: hidden;
}

.merchant-qr-header {
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gray-border);
}

.merchant-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 102, 204, 0.08);
  color: #0066cc;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.merchant-title {
  margin: 8px 0 2px;
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.2px;
}

.merchant-subtitle {
  margin: 0;
  font-size: 11.5px;
  color: var(--gray-text);
}

.merchant-amount-badge {
  background: #1d1d1f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.merchant-amount-badge .lbl {
  font-size: 11px;
  color: #a1a1a6;
  text-transform: uppercase;
}

.merchant-amount-badge .val {
  font-size: 18px;
  font-weight: 800;
  color: #34c759;
}

.qr-code-viewfinder {
  position: relative;
  width: 210px;
  height: 260px;
  margin: 0 auto 14px;
  padding: 8px;
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid #0066cc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.framed-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.framed-qr-img:hover {
  transform: scale(1.02);
}

.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #0066cc;
  border-style: solid;
  pointer-events: none;
}

.hud-corner.top-left {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 6px;
}

.hud-corner.top-right {
  top: -2px;
  right: -2px;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 6px;
}

.hud-corner.bottom-left {
  bottom: -2px;
  left: -2px;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 6px;
}

.hud-corner.bottom-right {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 6px;
}

.vpa-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.vpa-label {
  font-size: 11px;
  color: var(--gray-text);
}

.vpa-code {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: #0066cc;
}

.btn-copy-vpa {
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.merchant-qr-footer {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Lightbox Modal for Enlarged QR */
.qr-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.qr-lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.qr-lightbox-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.qr-lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f0f2f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 560px) {
  .payment-detail {
    padding-left: 18px;
  }

  .pay-qr-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pay-qr-copy {
    align-items: center;
  }
}

.payment-mode-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gray-text);
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 14px 0;
}

.payment-mode-notice code {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11.5px;
}

.gateway-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.gateway-badges span {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--gray-bg);
  color: var(--gray-text);
  border: 1px solid var(--gray-border);
}

.order-review-item {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.order-review-item .name {
  color: var(--gray-dark);
}

.order-review-item .qty {
  color: var(--gray-text);
}

.success-screen {
  text-align: center;
  padding: 80px 20px;
  max-width: 560px;
  margin: 0 auto;
}

.success-screen .check-mark {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #e8f7ec;
  color: var(--green);
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-screen h1 {
  font-size: 28px;
  margin: 0 0 10px;
}

.success-screen p {
  color: var(--gray-text);
  margin: 0 0 8px;
}

.order-id-box {
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 24px 0;
  font-size: 14px;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* ---------------- Info pages (About, Contact, Terms) ---------------- */

.page-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: var(--gray-bg);
}

.page-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}

.content-block {
  padding: 50px 0;
}

.content-block h2 {
  font-size: 26px;
  margin: 0 0 14px;
}

.content-block p {
  color: var(--gray-dark);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 800px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.store-info-card {
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.store-info-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.store-info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.store-info-row .icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.store-info-row div p {
  margin: 0;
  font-size: 14.5px;
  color: var(--gray-dark);
}

.store-info-row div .label {
  font-size: 12px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.store-info-link {
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  transition: opacity 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.store-info-link:hover {
  opacity: 0.88;
}

.store-info-link:hover p:not(.label) {
  color: var(--blue) !important;
  text-decoration: underline;
}

.store-info-link .pin-hint {
  font-size: 11px;
  color: var(--blue);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  margin-left: 5px;
}

body.dark-theme .store-info-link .pin-hint {
  color: #2997ff;
}

body.dark-theme .store-info-link:hover p:not(.label) {
  color: #2997ff !important;
}

.footer-address-link {
  color: inherit !important;
  text-decoration: none !important;
  display: block;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-address-link:hover {
  color: #2997ff !important;
  text-decoration: underline !important;
}

.footer-pin-hint {
  display: inline-block;
  font-size: 11.5px;
  color: #2997ff;
  font-weight: 500;
  margin-top: 3px;
}

.map-frame {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.value-card {
  text-align: center;
  padding: 10px;
}

.value-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-bg);
  color: var(--blue);
}

.value-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--gray-text);
  margin: 0;
}

.contact-form-card {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.terms-nav {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.terms-nav a {
  display: block;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--gray-text);
  border-left: 2px solid transparent;
  padding-left: 12px;
}

.terms-nav a:hover,
.terms-nav a.active {
  color: var(--blue);
  border-left-color: var(--blue);
}

.terms-section {
  margin-bottom: 36px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.terms-section h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.terms-section p,
.terms-section li {
  font-size: 14.5px;
  color: var(--gray-dark);
  line-height: 1.7;
}

.terms-section ul {
  padding-left: 20px;
  list-style: disc;
  margin: 10px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}

.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 4px 18px;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  font-size: 14.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-text);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 16px;
  margin: 0;
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-border);
  padding-top: 50px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--gray-border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.trust-badge .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.trust-badge h5 {
  margin: 0 0 2px;
  font-size: 13.5px;
}

.trust-badge p {
  margin: 0;
  font-size: 11.5px;
  color: var(--gray-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}

.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-text);
  margin: 0 0 14px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--gray-dark);
}

.footer-col ul li a:hover {
  color: var(--blue);
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray-text);
  margin: 12px 0 16px;
  max-width: 260px;
}

.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-icons span {
  font-size: 11px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--gray-text);
}

.footer-contact ul li {
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--gray-dark);
  line-height: 1.55;
}

.footer-contact .footer-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 4px;
}

.footer-contact .footer-phones a {
  display: block;
  margin-bottom: 2px;
}

.footer-contact .footer-address {
  max-width: 220px;
}

.footer-map-block {
  padding: 8px 0 36px;
  border-top: 1px solid var(--gray-border);
}

.footer-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
  flex-wrap: wrap;
}

.footer-map-head h5 {
  margin: 0 0 4px;
  font-size: 15px;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--black);
}

.footer-map-head p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-text);
}

.footer-map-frame {
  width: 100%;
  height: 280px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--gray-text);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom .legal-links a {
  margin-left: 16px;
}

.footer-bottom .legal-links a:hover {
  color: var(--blue);
}

/* ---------------- WhatsApp Floating Button ---------------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float .icon-svg,
.whatsapp-float .icon-whatsapp {
  display: block;
  width: 28px;
  height: 28px;
  color: #ffffff;
  fill: #ffffff;
}

.whatsapp-inline-btn .icon-svg,
.whatsapp-inline-btn .icon-whatsapp {
  color: #ffffff;
  fill: #ffffff;
}

/* Inline WhatsApp marks (cards / marquee) use brand green */
.mq-icon .icon-whatsapp,
.why-card-icon .icon-whatsapp,
.icon .icon-whatsapp {
  color: #25d366;
  fill: #25d366;
}

/* ---------------- Toast ---------------- */

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gray-dark);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 980px;
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------------- Scroll-reveal animations ---------------- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-premium), transform 0.65s var(--ease-premium);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE BREAKPOINT SYSTEM — APPLE STORE PUNE
   Standardized Media Queries for All Screen Sizes:
   - Laptop / Tablet Landscape: max-width: 1024px
   - Tablet Portrait & Large Phone: max-width: 980px
   - Mobile Standard: max-width: 768px
   - Compact Mobile: max-width: 600px
   - Small Mobile Phone: max-width: 480px
   - Micro Mobile Phone: max-width: 360px
   ========================================================================== */

/* ── 1. Tablet & Laptop Landscape (max-width: 1024px) ── */
@media (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pdp-showcase-wrapper {
    padding: 32px 20px;
  }

  .pdp-purchase-container {
    gap: 24px;
    padding: 28px 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
  }
}

/* ── 2. Tablet & Medium Screens (max-width: 980px) ── */
@media (max-width: 980px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-hero--mac,
  .category-hero--ipad,
  .category-hero--iphone {
    text-align: center;
    padding: 48px 0 40px;
  }

  .category-hero--mac .container,
  .category-hero--ipad .container,
  .category-hero--iphone .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .category-hero--mac p,
  .category-hero--ipad p,
  .category-hero--iphone p {
    margin: 0 auto;
  }

  .category-hero--mac .category-hero-actions,
  .category-hero--ipad .category-hero-actions,
  .category-hero--iphone .category-hero-actions {
    justify-content: center;
  }

  .category-hero-media img {
    margin: 0 auto;
    width: min(82vw, 360px);
  }

  .category-hero--ipad .category-hero-media img {
    width: min(88vw, 460px);
  }

  .category-hero--iphone .category-hero-media {
    min-height: 240px;
  }

  .category-hero--iphone .category-hero-media img {
    width: min(74vw, 340px);
    margin: 0 auto;
  }

  .iphone-hero-lineup {
    display: flex;
    gap: 12px;
    margin: 6px -22px 0;
    padding: 0 22px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .iphone-hero-card {
    flex: 0 0 150px;
    min-height: 196px;
    scroll-snap-align: start;
  }

  .iphone-hero-links {
    flex: 0 0 100%;
    padding-right: 22px;
  }

  .category-layout {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
  }

  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pdp-gallery {
    position: static;
  }

  .pdp-gallery-main {
    aspect-ratio: 4 / 3;
    max-height: 420px;
    min-height: 280px;
  }

  .pdp-details-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-map-frame {
    height: 240px;
  }

  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 3. Mobile Standard (max-width: 768px) ── */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .header-actions .search-wrap {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .promo-strip {
    grid-template-columns: 1fr;
  }

  .pdp-actions {
    display: none;
  }

  .sticky-atc {
    display: flex;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  body.has-sticky-atc {
    padding-bottom: 74px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom .legal-links a {
    margin: 0 8px;
  }

  .hero-slide {
    min-height: 460px;
  }

  .hero-slide-content .inner {
    max-width: 88%;
  }

  .hero-arrow {
    display: none;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    bottom: 84px;
    right: 16px;
  }

  .trust-mini {
    grid-template-columns: repeat(2, 1fr);
  }

  .apple-hero-feature {
    padding: 48px 16px 36px;
  }

  .hero-feature-title {
    font-size: clamp(28px, 7vw, 44px);
  }

  .hero-feature-desc {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-feature-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-feature-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ── 4. Compact Mobile (max-width: 600px) ── */
@media (max-width: 600px) {
  .event-headline {
    font-size: clamp(20px, 5.5vw, 32px);
    line-height: 1.3;
  }

  .event-cta {
    flex-direction: column;
    gap: 10px;
  }

  .event-cta .btn {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
  }

  .checkout-step-sep {
    display: none;
  }

  .checkout-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .checkout-step {
    font-size: 13px;
  }
}

/* ── 5. Small Phone (max-width: 480px) ── */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }

  .product-card {
    padding: 12px 10px;
  }

  .product-card .pc-image {
    height: 120px;
  }

  .product-card h4 {
    font-size: 13px;
    min-height: 36px;
  }

  .product-card .pc-price {
    font-size: 15px;
  }

  .header-inner {
    gap: 10px;
    padding: 0 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    margin-top: 10px;
  }
}

/* ── 6. Micro Mobile (max-width: 360px) ── */
@media (max-width: 360px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card .pc-image {
    height: 160px;
  }

  .pdp-3d-stage {
    height: 220px;
  }
}

/* ============================================================
   PREMIUM ANIMATION SYSTEM — Apple Store Pune
   Spinning, zoom-in/out, float, breathe, particles, spotlight
   ============================================================ */

/* ── Keyframes ── */

/* Hero slide content entrance */
@keyframes heroContentIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }

  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Product image float (up-down bob) */
@keyframes productFloat {

  0%,
  100% {
    transform: scale(1.07) translateY(-6px);
  }

  50% {
    transform: scale(1.07) translateY(-18px);
  }
}

/* Float exit */
@keyframes productFloatOut {
  from {
    transform: scale(1.07) translateY(-12px);
  }

  to {
    transform: scale(1) translateY(0);
  }
}

/* Single spin on click */
@keyframes spinOnce {
  0% {
    transform: rotateY(0deg) scale(1);
  }

  50% {
    transform: rotateY(180deg) scale(1.1);
  }

  100% {
    transform: rotateY(360deg) scale(1);
  }
}

/* Hero background breathing zoom */
@keyframes heroBreathe {

  0%,
  100% {
    transform: scale(1.06) translateY(0px);
  }

  50% {
    transform: scale(1.12) translateY(-6px);
  }
}

@keyframes heroProductIn {
  0% {
    opacity: 0;
    transform: translateX(var(--hero-product-x)) translateY(34px) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translateX(var(--hero-product-x)) translateY(0) scale(1);
  }
}

@keyframes heroProductFloat {

  0%,
  100% {
    transform: translateX(var(--hero-product-x)) translateY(0) rotate(0deg);
  }

  50% {
    transform: translateX(var(--hero-product-x)) translateY(-14px) rotate(-0.6deg);
  }
}

/* Particle burst */
@keyframes particleBurst {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(0);
    opacity: 0;
  }
}

/* WhatsApp pulse ring */
@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Section head reveal */
@keyframes headSlideIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal from left */
@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reveal from right */
@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Zoom-in reveal */
@keyframes revealZoom {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Badge shine sweep */
@keyframes badgeShine {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Icon bounce on promo hover */
@keyframes iconBounce {

  0%,
  100% {
    transform: translateY(0) scale(1.12) rotate(-5deg);
  }

  50% {
    transform: translateY(-6px) scale(1.18) rotate(5deg);
  }
}

/* Eyebrow glow pulse */
@keyframes eyebrowGlow {

  0%,
  100% {
    text-shadow: 0 0 0 transparent;
    letter-spacing: 0.1em;
  }

  50% {
    text-shadow: 0 0 12px rgba(0, 102, 204, 0.45);
    letter-spacing: 0.13em;
  }
}

/* Hero arrow pulse */
@keyframes arrowPulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }

  50% {
    box-shadow: 0 4px 24px rgba(0, 102, 204, 0.3);
  }
}

/* Logo spin on hover */
@keyframes logoSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Collection card entrance stagger */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Hero content animation class ── */
.hero-slide--active .inner.hero-content-in {
  animation: heroContentIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Hero BG breathing zoom ── */
.hero-bg-breathe {
  animation: heroBreathe 8s ease-in-out infinite;
  transform-origin: center center;
}

/* Override parallax conflict — disable breathe when parallax active */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg-breathe {
    animation: heroBreathe 8s ease-in-out infinite;
  }
}

/* ── Product image float ── */
.collection-card img.img-floating {
  animation: productFloat 2s ease-in-out infinite;
  transform-origin: center bottom;
}

.collection-card img.img-float-out {
  animation: productFloatOut 0.5s var(--ease-premium) forwards;
}

/* ── Product image spin on click ── */
.img-spin-once {
  animation: spinOnce 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Particle burst ── */
.cart-particle {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: particleBurst 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ── WhatsApp pulse ring ── */
.wa-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}

/* ── Cursor spotlight on hero ── */
.hero-spotlight {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  mix-blend-mode: overlay;
}

/* ── Reveal variants ── */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.65s var(--ease-premium), transform 0.65s var(--ease-premium);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible {
  opacity: 1;
  transform: none;
}

/* Fix existing reveal.visible vs reveal.in-view naming — support both */
.reveal.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ── Section head animated ── */
.section-head h2,
.section-head p,
.section-head .eyebrow {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}

.section-head .eyebrow {
  transition-delay: 0s;
}

.section-head h2 {
  transition-delay: 0.12s;
}

.section-head p {
  transition-delay: 0.22s;
}

.section-head.head-visible .eyebrow,
.section-head.head-visible h2,
.section-head.head-visible p {
  opacity: 1;
  transform: translateY(0);
}

/* ── Eyebrow glow ── */
.eyebrow {
  animation: eyebrowGlow 3.5s ease-in-out infinite !important;
}

/* ── Hero arrow subtle pulse ── */
.hero-arrow {
  animation: arrowPulse 2.5s ease-in-out infinite;
}

.hero-arrow:hover {
  animation: none;
}

/* ── Logo mark spin on hover ── */
.logo:hover .logo-mark {
  display: inline-block;
  animation: logoSpin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Product badge shimmer ── */
.product-badge {
  background-size: 200% auto;
  animation: badgeShine 3s linear infinite;
}

.badge-new {
  background-image: linear-gradient(90deg, #e8f3ff 0%, #c8e3ff 40%, #e8f3ff 60%, #c8e3ff 100%);
}

.badge-sale {
  background-image: linear-gradient(90deg, #fde8e8 0%, #ffc8c8 40%, #fde8e8 60%, #ffc8c8 100%);
}

.badge-best-seller {
  background-image: linear-gradient(90deg, #fff4d9 0%, #ffdfa0 40%, #fff4d9 60%, #ffdfa0 100%);
}

/* ── Promo icon bounce on hover ── */
.promo-item:hover .icon {
  animation: iconBounce 0.6s ease-in-out;
}

/* ── Product card hover glow ring ── */
.product-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background: linear-gradient(135deg, #0066cc22, #5856d622, #ff2d5522) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

/* ── Collection card stagger entrance (when section scrolls in) ── */
.collections-grid .collection-card {
  opacity: 0;
  transform: translateY(36px) scale(0.95);
  transition:
    opacity 0.65s var(--ease-premium),
    transform 0.65s var(--ease-premium),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.collections-grid.grid-visible .collection-card:nth-child(1) {
  transition-delay: 0.05s;
}

.collections-grid.grid-visible .collection-card:nth-child(2) {
  transition-delay: 0.15s;
}

.collections-grid.grid-visible .collection-card:nth-child(3) {
  transition-delay: 0.25s;
}

.collections-grid.grid-visible .collection-card:nth-child(4) {
  transition-delay: 0.35s;
}

.collections-grid.grid-visible .collection-card:nth-child(5) {
  transition-delay: 0.45s;
}

.collections-grid.grid-visible .collection-card:nth-child(6) {
  transition-delay: 0.55s;
}

.collections-grid.grid-visible .collection-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Product grid stagger ── */
.product-grid .product-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s var(--ease-premium),
    transform 0.55s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium),
    border-color 0.35s ease;
}

.product-grid.grid-visible .product-card {
  opacity: 1;
  transform: translateY(0);
}

.product-grid.grid-visible .product-card:nth-child(1) {
  transition-delay: 0.04s;
}

.product-grid.grid-visible .product-card:nth-child(2) {
  transition-delay: 0.10s;
}

.product-grid.grid-visible .product-card:nth-child(3) {
  transition-delay: 0.16s;
}

.product-grid.grid-visible .product-card:nth-child(4) {
  transition-delay: 0.22s;
}

.product-grid.grid-visible .product-card:nth-child(5) {
  transition-delay: 0.28s;
}

.product-grid.grid-visible .product-card:nth-child(6) {
  transition-delay: 0.34s;
}

.product-grid.grid-visible .product-card:nth-child(7) {
  transition-delay: 0.40s;
}

.product-grid.grid-visible .product-card:nth-child(8) {
  transition-delay: 0.46s;
}

/* ── Mobile hero — reduce motion ── */
@media (prefers-reduced-motion: reduce) {

  .hero-bg-breathe,
  .img-floating,
  .wa-pulse-ring,
  .eyebrow,
  .hero-arrow {
    animation: none !important;
  }
}

/* ============================================================
   Apple Keynote Feature Sections (Matching 5 Screenshots)
   ============================================================ */

.apple-hero-event {
  background: radial-gradient(circle at 50% 30%, #6896c4 0%, #4474a2 45%, #2d5680 100%);
  padding: 68px 20px 76px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.event-logo-wrap {
  margin-bottom: 24px;
}

.event-glowing-logo {
  max-width: 320px;
  width: min(70vw, 320px);
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.75));
}

.event-headline {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.35;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.event-cta {
  display: flex;
  justify-content: center;
}

.btn-pill-white {
  background: #ffffff;
  color: #1d1d1f;
  border-radius: 2px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-pill-white:hover {
  background: #f5f5f7;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: #1d1d1f;
}

.btn-pill-dark {
  background: #1d1d1f;
  color: #ffffff;
  border-radius: 2px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-pill-dark:hover {
  background: #333336;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-pill-outline {
  background: transparent;
  border: 1px solid #1d1d1f;
  color: #1d1d1f;
  border-radius: 2px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-pill-outline:hover {
  background: #1d1d1f;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-pill-dark-outline {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 2px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-pill-dark-outline:hover {
  background: #ffffff;
  color: #1d1d1f;
  transform: translateY(-2px);
}

.apple-hero-feature {
  padding: 68px 20px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.apple-hero-feature .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-feature--duo {
  background: #f5f5f7;
  color: #1d1d1f;
}

.hero-feature--pro18 {
  background: #000000;
  color: #ffffff;
  border-top: 1px solid #1c1c1e;
}

.hero-feature--watch12 {
  background: #000000;
  color: #ffffff;
  border-top: 1px solid #1c1c1e;
}

.hero-feature--ultra4 {
  background: #000000;
  color: #ffffff;
  border-top: 1px solid #1c1c1e;
}

.hero-feature-title {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 auto 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  line-height: 1.05;
  text-align: center;
}

.hero-feature--watch12 .hero-feature-title,
.hero-feature--ultra4 .hero-feature-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.apple-icon {
  font-size: 0.9em;
}

.sub-name {
  font-weight: 400;
  letter-spacing: 0.06em;
}

.hero-feature-desc {
  font-size: clamp(18px, 2.2vw, 24px);
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.38;
  font-weight: 400;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.hero-feature--duo .hero-feature-desc {
  color: #1d1d1f;
}

.hero-feature--pro18 .hero-feature-desc,
.hero-feature--watch12 .hero-feature-desc,
.hero-feature--ultra4 .hero-feature-desc {
  color: #a1a1a6;
}

.hero-feature-dates {
  font-size: clamp(13.5px, 1.4vw, 16px);
  line-height: 1.5;
  margin: 0 auto 24px;
  text-align: center;
  font-weight: 500;
}

.hero-feature--duo .hero-feature-dates {
  color: #6e6e73;
}

.hero-feature--pro18 .hero-feature-dates,
.hero-feature--watch12 .hero-feature-dates,
.hero-feature--ultra4 .hero-feature-dates {
  color: #86868b;
}

.hero-feature-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  width: 100%;
}

.hero-feature-media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

.hero-feature-media img {
  width: min(100%, 880px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


/* ---------------- Dark header & footer variants ---------------- */
body.dark-theme #site-header,
body.page-dark #site-header,
#site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
}

body.dark-theme .site-header,
body.page-dark .site-header,
.site-header--dark {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(18, 18, 20, 0.88) !important;
  backdrop-filter: saturate(180%) blur(24px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(24px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme .site-header.scrolled,
body.page-dark .site-header.scrolled,
.site-header--dark.scrolled {
  background: rgba(12, 12, 14, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.65) !important;
}

body.dark-theme .site-header .logo,
.site-header--dark .logo {
  color: #ffffff !important;
}

body.dark-theme .site-header .logo-name,
body.dark-theme .site-header .apple-logo,
.site-header--dark .logo-name,
.site-header--dark .apple-logo {
  color: #ffffff !important;
}

body.dark-theme .site-header .logo span.store-tag,
.site-header--dark .logo span.store-tag {
  border-left-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.dark-theme .site-header .main-nav>a,
.site-header--dark .main-nav>a {
  color: #e5e5ea !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
}

body.dark-theme .site-header .main-nav>a:hover,
body.dark-theme .site-header .main-nav>a.active,
.site-header--dark .main-nav>a:hover,
.site-header--dark .main-nav>a.active {
  color: #ffffff !important;
}

body.dark-theme .site-header .products-menu-toggle,
.site-header--dark .products-menu-toggle,
body.dark-theme .site-header .biz-dropdown-toggle,
.site-header--dark .biz-dropdown-toggle {
  color: #e5e5ea !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
}

body.dark-theme .site-header .products-menu-toggle:hover,
body.dark-theme .site-header .products-menu.open .products-menu-toggle,
body.dark-theme .site-header .products-menu.active .products-menu-toggle,
body.dark-theme .site-header .biz-dropdown-toggle:hover,
body.dark-theme .site-header .business-dropdown-menu.open .biz-dropdown-toggle,
body.dark-theme .site-header .business-dropdown-menu.active .biz-dropdown-toggle,
.site-header--dark .products-menu-toggle:hover,
.site-header--dark .products-menu.open .products-menu-toggle,
.site-header--dark .products-menu.active .products-menu-toggle,
.site-header--dark .biz-dropdown-toggle:hover,
.site-header--dark .business-dropdown-menu.open .biz-dropdown-toggle,
.site-header--dark .business-dropdown-menu.active .biz-dropdown-toggle {
  color: #ffffff !important;
}

body.dark-theme .site-header .cascade-mega-container,
.site-header--dark .cascade-mega-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.dark-theme .site-header .search-input,
.site-header--dark .search-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

body.dark-theme .site-header .search-input::placeholder,
.site-header--dark .search-input::placeholder {
  color: #86868b !important;
}

body.dark-theme .site-header .search-icon,
.site-header--dark .search-icon {
  color: #86868b !important;
}

body.dark-theme .site-header .search-suggestions,
.site-header--dark .search-suggestions {
  background: #1c1c1e !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75) !important;
}

body.dark-theme .site-header .suggestion-item,
.site-header--dark .suggestion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .site-header .suggestion-item:hover,
.site-header--dark .suggestion-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .site-header .suggestion-name,
.site-header--dark .suggestion-name {
  color: #f5f5f7 !important;
}

body.dark-theme .site-header .suggestion-price,
.site-header--dark .suggestion-price {
  color: #86868b !important;
}

body.dark-theme .site-header .icon-btn,
.site-header--dark .icon-btn {
  color: #e5e5ea !important;
}

body.dark-theme .site-header .icon-btn:hover,
.site-header--dark .icon-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.dark-theme .site-header .menu-toggle,
.site-header--dark .menu-toggle {
  color: #ffffff !important;
}

.site-footer--dark {
  background: #0d0d0f !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #86868b !important;
}

.site-footer--dark .trust-badges {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.site-footer--dark .trust-badge .icon {
  background: #1d1d1f !important;
  color: #2997ff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.site-footer--dark .trust-badge h5 {
  color: #f5f5f7 !important;
}

.site-footer--dark .trust-badge p {
  color: #86868b !important;
}

.site-footer--dark .footer-col h5 {
  color: #a1a1a6 !important;
}

.site-footer--dark .footer-col ul li a {
  color: #d2d2d7 !important;
}

.site-footer--dark .footer-col ul li a:hover {
  color: #2997ff !important;
}

.site-footer--dark .footer-brand p {
  color: #86868b !important;
}

.site-footer--dark .payment-icons span {
  background: #1d1d1f !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #a1a1a6 !important;
}

.site-footer--dark .footer-contact ul li {
  color: #d2d2d7 !important;
}

.site-footer--dark .footer-contact .footer-label {
  color: #86868b !important;
}

.site-footer--dark .footer-map-block {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.site-footer--dark .footer-map-head h5 {
  color: #f5f5f7 !important;
}

.site-footer--dark .footer-map-head p {
  color: #86868b !important;
}

.site-footer--dark .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #6e6e73 !important;
}

.site-footer--dark .legal-links a {
  color: #86868b !important;
}

.site-footer--dark .legal-links a:hover {
  color: #2997ff !important;
}

/* ==================== SECTION 1: HERO (THE NEW IPHONE 17 PRO MAX) ==================== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 60px;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Inter", "Segoe UI", sans-serif;
  will-change: transform;
}

/* EYEBROW */
.hero-content .eyebrow {
  display: inline-block;
  margin-bottom: 26px;
  color: #ff9a5b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* MAIN HEADING */
.hero-content h1 {
  max-width: 700px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -5px;
  text-wrap: balance;
}

/* ACCENT WORD */
.hero-content h1 span {
  display: inline-block;
  color: #ff792f;
  background: linear-gradient(100deg,
      #ffd0a6 0%,
      #ff873b 45%,
      #ed4c13 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.hero-content>p {
  max-width: 480px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.15px;
}

/* CTA CONTAINER */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* SHARED BUTTON */
.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

/* PRIMARY CTA */
.hero-actions .btn-light {
  color: #ffffff;
  background: linear-gradient(110deg, #ff8a3d, #ed591c);
  box-shadow: 0 8px 30px rgba(255, 100, 35, 0.18);
}

.hero-actions .btn-light:hover {
  transform: translateY(-3px);
  background: linear-gradient(110deg, #ffa25e, #ff6a27);
  box-shadow: 0 12px 34px rgba(255, 100, 35, 0.28);
}

/* SECONDARY CTA */
.hero-actions .btn-outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}

.hero-actions .btn-outline:hover {
  transform: translateY(-3px);
  border-color: #ff9a5b;
  background: rgba(255, 255, 255, 0.09);
}

/* PRODUCT SUPPORTING TEXT */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.hero-meta .meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff8a3d;
  box-shadow: 0 0 10px #ff8a3d;
  flex-shrink: 0;
}

/* PRODUCT HIGHLIGHT CHIPS */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.highlight-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 154, 91, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.highlight-chip svg {
  color: #ff9a5b;
  flex-shrink: 0;
}

/* RIGHT COLUMN: CLEAN SEAMLESS ILLUSTRATOR VISUAL */
.hero-visual {
  perspective: 1400px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  will-change: transform;
}

.hero-device-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 10px 0;
}

.hero-product-img {
  width: 100%;
  max-width: 840px;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.85));
  user-select: none;
  pointer-events: none;
  display: block;
  transform: translateZ(0);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-content .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .hero-content h1 {
    font-size: clamp(46px, 12vw, 68px);
    line-height: 1;
    letter-spacing: -2.8px;
  }

  .hero-content>p {
    max-width: 440px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    min-height: 47px;
    padding: 0 19px;
    font-size: 12px;
  }

  .hero-meta {
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .btn {
    transition: none;
  }
}


/* ==================== SECTION 2: GOLD SHOWCASE (DESERT GOLD TITANIUM DUO) ==================== */
.gold-showcase {
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.gold-copy {
  max-width: 960px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gold-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border-radius: 980px;
  background: rgba(245, 197, 110, 0.08);
  border: 1px solid rgba(245, 197, 110, 0.32);
  color: #f5c56e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(245, 197, 110, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gold-eyebrow-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 197, 110, 0.6);
}

.gold-eyebrow-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5c56e;
  box-shadow: 0 0 10px #f5c56e, 0 0 16px rgba(245, 197, 110, 0.6);
  animation: badgePulse 2s infinite ease-in-out;
}

.gold-showcase h2 {
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #ffffff;
}

.gold-gradient {
  background: linear-gradient(135deg, #fff3e0 0%, #f7cca0 30%, #e5b358 65%, #c89336 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gold-sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--mute);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.gold-btns {
  display: flex;
  gap: 14px;
  margin: 26px 0 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.btn.pri.gold-btn {
  background: linear-gradient(135deg, #f5c56e 0%, #d89f40 100%);
  color: #12100b;
  font-weight: 600;
  box-shadow: 0 4px 22px rgba(216, 159, 64, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.28);
  gap: 8px;
  padding: 14px 30px;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn.pri.gold-btn:hover {
  background: linear-gradient(135deg, #ffd88a 0%, #e5a948 100%);
  color: #000;
  transform: scale(1.04);
  box-shadow: 0 6px 30px rgba(216, 159, 64, 0.55);
}

.gold-pricing-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--mute);
  letter-spacing: -0.01em;
  line-height: 1.5;
  text-align: center;
}

.gold-pricing-note strong {
  color: #fff;
  font-weight: 600;
}

/* Gold Stage */
.gold-stage {
  perspective: 1400px;
  width: 100%;
  max-width: 1140px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gold-device-wrap {
  position: relative;
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 10px 0 24px;
}

.gold-product-img {
  width: 100%;
  max-width: 920px;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 55px rgba(245, 197, 110, 0.3));
  user-select: none;
  pointer-events: none;
  display: block;
  transform: translateZ(0);
}

.gold-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 110, 0.26) 0%, rgba(200, 147, 54, 0.12) 42%, transparent 70%);
  filter: blur(65px);
  pointer-events: none;
  z-index: -1;
}

/* Gold Specs Ribbon */
.gold-specs-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 197, 110, 0.2);
  border-radius: 980px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 880px;
  width: 100%;
  flex-wrap: wrap;
}

.gold-spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gold-spec-val {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.gold-spec-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--mute);
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.gold-spec-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 680px) {
  .gold-specs-ribbon {
    border-radius: 16px;
    gap: 16px;
    padding: 16px;
  }

  .gold-spec-sep {
    display: none;
  }

  .gold-spec-item {
    flex: 1 1 40%;
  }
}


/* ============================================================
   UNIFIED CINEMATIC DARK APPLE DESIGN SYSTEM (ACROSS ALL PAGES)
   Obsidian Canvas · Ambient Orbs · SF Typography · Glassmorphism
   ============================================================ */

body.dark-theme {
  --bg: #000000;
  --fg: #f5f5f7;
  --mute: #86868b;
  --white: #ffffff;
  --gray-dark: #f5f5f7;
  --gray-bg: rgba(255, 255, 255, 0.04);
  --gray-border: rgba(255, 255, 255, 0.1);
  --gray-text: #86868b;
  --blue: #2997ff;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.22);
  --card-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  --card-shadow-hover: 0 20px 44px rgba(0, 0, 0, 0.75), 0 0 28px rgba(10, 132, 255, 0.16);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 255, 255, 0.14);
  color-scheme: dark;
  background: var(--bg) !important;
  color: var(--fg) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.dark-theme main {
  position: relative;
  z-index: 1;
}

/* Ambient Floating Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.o1 {
  width: 44vw;
  height: 44vw;
  left: -10vw;
  top: 12vh;
  background: #0a84ff;
}

.o2 {
  width: 38vw;
  height: 38vw;
  right: -8vw;
  top: 38vh;
  background: #bf5af2;
}

.o3 {
  width: 32vw;
  height: 32vw;
  left: 32vw;
  top: 75vh;
  background: #ff375f;
  opacity: 0.2;
}

@media (max-width: 768px) {
  .orb {
    opacity: 0.22;
    filter: blur(50px);
  }

  .o1 {
    width: 70vw;
    height: 70vw;
  }

  .o2 {
    width: 60vw;
    height: 60vw;
  }

  .o3 {
    display: none;
  }
}

/* Global Headings & Typography in Dark Theme */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
  color: #ffffff;
  letter-spacing: -0.03em;
}

body.dark-theme p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

body.dark-theme strong,
body.dark-theme b {
  color: #ffffff;
}

/* Global Eyebrow Tag */
body.dark-theme .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #2997ff;
  margin-bottom: 8px;
}

/* Global Pill Buttons */
body.dark-theme .btn {
  border-radius: 980px;
  font-weight: 600;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.dark-theme .btn-primary {
  background: #0071e3;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.28);
}

body.dark-theme .btn-primary:hover {
  background: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 113, 227, 0.44);
}

body.dark-theme .btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.dark-theme .btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #2997ff;
  color: #ffffff;
  transform: translateY(-2px);
}

body.dark-theme .btn-dark {
  background: #ffffff;
  color: #000000;
}

body.dark-theme .btn-dark:hover {
  background: #f5f5f7;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.22);
}

/* ==================== PAGE HEROES (ALL PAGES) ==================== */
body.dark-theme .page-hero,
body.dark-theme .category-hero {
  background: radial-gradient(circle at 50% 15%, rgba(10, 132, 255, 0.12) 0%, transparent 68%), #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 20px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}

body.dark-theme .page-hero h1,
body.dark-theme .category-hero h1 {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 12px;
}

body.dark-theme .page-hero p,
body.dark-theme .category-hero p {
  color: #86868b;
  font-size: clamp(15px, 1.6vw, 19px);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==================== CATEGORY PAGE (category.html) ==================== */
body.dark-theme .filters-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  box-shadow: var(--card-shadow);
}

body.dark-theme .filters-panel h4 {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.dark-theme .filter-option {
  color: #d1d1d6;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s ease;
}

body.dark-theme .filter-option:hover {
  color: #ffffff;
}

body.dark-theme .filter-option input[type="radio"],
body.dark-theme .filter-option input[type="checkbox"] {
  accent-color: #0071e3;
}

body.dark-theme .toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

body.dark-theme .result-count {
  color: #86868b;
  font-size: 14px;
}

body.dark-theme .sort-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 13.5px;
  cursor: pointer;
}

body.dark-theme .sort-select option {
  background: #1c1c1e;
  color: #ffffff;
}

body.dark-theme .admin-custom-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.dark-theme .admin-custom-hero h2 {
  color: #ffffff !important;
}

body.dark-theme .admin-custom-hero p {
  color: #86868b !important;
}

/* ==================== PRODUCT DETAILS PAGE (product.html) ==================== */
body.dark-theme .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  font-size: 13px;
  color: #86868b;
}

body.dark-theme .breadcrumb a {
  color: #86868b;
  transition: color 0.2s ease;
}

body.dark-theme .breadcrumb a:hover {
  color: #2997ff;
}

body.dark-theme .breadcrumb span {
  color: rgba(255, 255, 255, 0.25);
}

body.dark-theme .pdp-gallery-main {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

body.dark-theme .pdp-gallery-main::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

body.dark-theme .pdp-thumb {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

body.dark-theme .pdp-thumb.active {
  border-color: #0071e3;
  box-shadow: 0 0 14px rgba(0, 113, 227, 0.35);
}

body.dark-theme .pdp-info h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

body.dark-theme .pdp-short {
  color: #86868b;
  font-size: 15.5px;
  line-height: 1.6;
}

body.dark-theme .pdp-price-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 24px;
}

body.dark-theme .pdp-price {
  color: #ffffff;
  font-weight: 700;
}

body.dark-theme .pdp-mrp {
  color: #6e6e73;
}

body.dark-theme .pdp-discount {
  background: rgba(48, 209, 88, 0.14);
  color: #30d158;
}

body.dark-theme .pdp-emi-line {
  color: #86868b;
}

body.dark-theme .pdp-emi-line strong {
  color: #ffffff;
}

body.dark-theme .storage-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  transition: all 0.22s ease;
}

body.dark-theme .storage-btn:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

body.dark-theme .storage-btn.active {
  background: rgba(0, 113, 227, 0.15);
  border-color: #0071e3;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 113, 227, 0.3);
}

body.dark-theme .storage-btn .price {
  color: #86868b;
}

body.dark-theme .storage-btn.active .price {
  color: #2997ff;
}

body.dark-theme .swatch {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

body.dark-theme .swatch.active {
  box-shadow: 0 0 0 2px #000, 0 0 0 4px #0071e3;
}

body.dark-theme .qty-stepper {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 980px;
  color: #ffffff;
}

body.dark-theme .qty-stepper button {
  color: #ffffff;
}

body.dark-theme .qty-stepper button:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.dark-theme .qty-stepper input {
  color: #ffffff;
  background: transparent;
}

body.dark-theme .pdp-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 30px;
  margin-top: 48px;
}

body.dark-theme .pdp-details h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 20px;
}

body.dark-theme .pdp-details-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .pdp-spec-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
}

body.dark-theme .pdp-spec-label {
  color: #86868b;
  font-size: 14px;
}

body.dark-theme .pdp-spec-val {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

body.dark-theme .sticky-atc {
  background: rgba(14, 14, 16, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #ffffff;
}

body.dark-theme .sticky-atc .sa-title {
  color: #ffffff;
}

body.dark-theme .sticky-atc .sa-price {
  color: #ffffff;
  font-weight: 700;
}

/* ==================== CART PAGE (cart.html) ==================== */
body.dark-theme .cart-title {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 32px 0 20px;
}

body.dark-theme .cart-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow);
}

body.dark-theme .cart-item .ci-image {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

body.dark-theme .cart-item h4 {
  color: #ffffff;
}

body.dark-theme .cart-item .ci-variant {
  color: #86868b;
}

body.dark-theme .cart-item .ci-price {
  color: #ffffff;
}

body.dark-theme .order-summary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 28px;
  color: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
}

body.dark-theme .order-summary h3 {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

body.dark-theme .order-summary .row {
  color: #d1d1d6;
}

body.dark-theme .order-summary .row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.dark-theme .empty-cart {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 60px 24px;
  text-align: center;
  color: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.dark-theme .empty-cart .icon {
  background: rgba(255, 255, 255, 0.06);
  color: #2997ff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

body.dark-theme .empty-cart h2 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 8px;
}

body.dark-theme .empty-cart p {
  color: #86868b;
  margin-bottom: 24px;
}

/* ==================== CHECKOUT PAGE (checkout.html) ==================== */
body.dark-theme .checkout-steps .checkout-step {
  color: #86868b;
}

body.dark-theme .checkout-steps .checkout-step.active {
  color: #ffffff;
}

body.dark-theme .checkout-steps .checkout-step .num {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #86868b;
}

body.dark-theme .checkout-steps .checkout-step.active .num {
  background: #0071e3;
  border-color: #0071e3;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 113, 227, 0.4);
}

body.dark-theme .checkout-steps .checkout-step.done .num {
  background: #30d158;
  border-color: #30d158;
  color: #ffffff;
}

body.dark-theme .checkout-step-sep {
  background: rgba(255, 255, 255, 0.12);
}

body.dark-theme .checkout-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 32px 28px;
  color: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
}

body.dark-theme .checkout-panel h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 20px;
}

body.dark-theme .form-field label {
  color: #d1d1d6;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

body.dark-theme .form-field input,
body.dark-theme .form-field select,
body.dark-theme .form-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 10px;
  font-size: 14.5px;
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.dark-theme .form-field input::placeholder,
body.dark-theme .form-field textarea::placeholder {
  color: #6e6e73;
}

body.dark-theme .form-field select option {
  background: #1c1c1e;
  color: #ffffff;
}

body.dark-theme .form-field input:focus,
body.dark-theme .form-field select:focus,
body.dark-theme .form-field textarea:focus {
  border-color: #2997ff;
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25);
  outline: none;
}

body.dark-theme .payment-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #ffffff;
  padding: 16px;
  cursor: pointer;
  transition: all 0.22s ease;
}

body.dark-theme .payment-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .payment-option.active {
  background: rgba(0, 113, 227, 0.12);
  border-color: #0071e3;
  box-shadow: 0 0 18px rgba(0, 113, 227, 0.25);
}

body.dark-theme .payment-option .po-info h5 {
  color: #ffffff;
  margin: 0 0 3px;
  font-size: 15px;
}

body.dark-theme .payment-option .po-info p {
  color: #86868b;
  margin: 0;
  font-size: 12.5px;
}

body.dark-theme .payment-option .po-icon {
  color: #2997ff;
}

body.dark-theme .payment-detail {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
}

body.dark-theme .pay-qr-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
}

body.dark-theme .merchant-title {
  color: #ffffff;
}

body.dark-theme .vpa-code {
  background: rgba(255, 255, 255, 0.08);
  color: #2997ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 8px;
}

body.dark-theme .coupon-box {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .success-screen {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 30px;
  color: #ffffff;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
}

body.dark-theme .success-screen h1 {
  color: #ffffff;
}

body.dark-theme .success-screen .order-id-badge {
  background: rgba(0, 113, 227, 0.16);
  border: 1px solid rgba(0, 113, 227, 0.35);
  color: #2997ff;
}

/* ==================== INFO & CONTENT PAGES (About, Contact, Support, Entertainment, Terms) ==================== */
body.dark-theme .content-block {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

body.dark-theme .content-block h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: #ffffff;
  margin-bottom: 16px;
}

body.dark-theme .content-block p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15.5px;
  line-height: 1.7;
}

body.dark-theme .value-card,
body.dark-theme .store-info-card,
body.dark-theme .contact-form-card,
body.dark-theme .collection-card,
body.dark-theme .terms-section,
body.dark-theme .faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  box-shadow: var(--card-shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

body.dark-theme .value-card:hover,
body.dark-theme .collection-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--card-shadow-hover);
}

body.dark-theme .value-card .icon {
  background: rgba(255, 255, 255, 0.06);
  color: #2997ff;
}

body.dark-theme .value-card h4 {
  color: #ffffff;
}

body.dark-theme .value-card p {
  color: #86868b;
}

body.dark-theme .store-info-card {
  padding: 32px 28px;
}

body.dark-theme .store-info-card h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

body.dark-theme .store-info-row .icon {
  color: #2997ff;
}

body.dark-theme .store-info-row div p {
  color: #ffffff;
}

body.dark-theme .store-info-row div .label {
  color: #86868b;
}

body.dark-theme .map-frame {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

body.dark-theme .contact-form-card {
  padding: 34px 30px;
}

body.dark-theme .contact-form-card h3 {
  color: #ffffff;
}

body.dark-theme .terms-nav {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(16px);
}

body.dark-theme .terms-nav a {
  color: #86868b;
  border-left: 2px solid transparent;
  padding: 8px 12px;
  transition: color 0.2s, border-color 0.2s;
}

body.dark-theme .terms-nav a:hover,
body.dark-theme .terms-nav a.active {
  color: #2997ff;
  border-left-color: #2997ff;
}

body.dark-theme .terms-section {
  padding: 28px;
  margin-bottom: 30px;
}

body.dark-theme .terms-section h3 {
  color: #ffffff;
}

body.dark-theme .terms-section p,
body.dark-theme .terms-section li {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

body.dark-theme .collection-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

body.dark-theme .collection-card .cc-text h3 {
  color: #ffffff;
  font-size: 24px;
}

body.dark-theme .collection-card .cc-text p {
  color: #86868b;
  font-size: 15px;
}

body.dark-theme .cc-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #2997ff;
  border-radius: 980px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 12px;
}

body.dark-theme .cc-link {
  color: #2997ff;
  font-weight: 600;
}

body.dark-theme .cc-link:hover {
  color: #70baff;
}

body.dark-theme .faq-item {
  padding: 4px 20px;
  margin-bottom: 12px;
}

body.dark-theme .faq-item summary {
  color: #ffffff;
}

body.dark-theme .faq-item summary::after {
  color: #86868b;
}

body.dark-theme .faq-item p {
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

/* ==================== MACBOOK NEO (macbook-neo.html) ==================== */
body.dark-theme .neo-hero-section {
  background: radial-gradient(circle at 50% 20%, rgba(229, 188, 53, 0.16) 0%, transparent 68%), #000000 !important;
  color: #ffffff;
}

body.dark-theme .neo-hero-title {
  color: #ffffff !important;
}

body.dark-theme .neo-hero-desc {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .neo-hero-price-badge {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(229, 188, 53, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .neo-color-switcher-section {
  background: #000000 !important;
  color: #ffffff;
}

body.dark-theme .color-picker-title {
  color: #ffffff !important;
}

body.dark-theme .color-picker-subtitle {
  color: #86868b !important;
}

body.dark-theme .storage-opt-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: 14px;
}

body.dark-theme .storage-opt-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

body.dark-theme .storage-opt-btn.active {
  background: rgba(229, 188, 53, 0.14) !important;
  border-color: #e5bc35 !important;
  box-shadow: 0 0 16px rgba(229, 188, 53, 0.3) !important;
}

body.dark-theme .storage-opt-btn .storage-title {
  color: #ffffff !important;
}

body.dark-theme .storage-opt-btn .storage-tag {
  color: #86868b !important;
}

body.dark-theme .storage-opt-btn.active .storage-tag {
  color: #ffd60a !important;
}


/* ==========================================================================
   UNIFIED HIGH-CONTRAST & TEXT VISIBILITY ENGINE (ALL PAGES)
   Eliminates all white-on-white, dark-on-dark, and blending background clashes.
   ========================================================================== */

/* 1. GLOBAL TEXT & CANVAS */
body.dark-theme {
  background-color: #000000 !important;
  color: #f5f5f7 !important;
}

body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
  color: #ffffff !important;
}

body.dark-theme p,
body.dark-theme li {
  color: rgba(255, 255, 255, 0.78);
}

body.dark-theme a {
  color: #2997ff;
}

/* 2. PRODUCT CARDS (HOME, CATEGORY, PDP RELATED) */
body.dark-theme .product-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #f5f5f7 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

body.dark-theme .product-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(41, 151, 255, 0.4) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.8), 0 0 24px rgba(41, 151, 255, 0.2) !important;
}

body.dark-theme .product-card .pc-image {
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 14px;
  padding: 12px;
}

body.dark-theme .product-card h4,
body.dark-theme .product-card a h4 {
  color: #ffffff !important;
  font-weight: 600;
}

body.dark-theme .product-card a {
  text-decoration: none;
}

body.dark-theme .product-card .pc-cat {
  color: #2997ff !important;
  font-weight: 600;
  letter-spacing: 0.06em;
}

body.dark-theme .product-card .pc-short {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .product-card .pc-rating {
  color: #86868b !important;
}

body.dark-theme .product-card .pc-rating .stars {
  color: #ff9f0a !important;
}

body.dark-theme .product-card .pc-price {
  color: #ffffff !important;
  font-weight: 700;
}

body.dark-theme .product-card .pc-mrp {
  color: #86868b !important;
  text-decoration: line-through;
}

body.dark-theme .product-card .pc-discount {
  color: #30d158 !important;
  font-weight: 600;
}

body.dark-theme .product-card .pc-emi {
  color: rgba(255, 255, 255, 0.68) !important;
}

body.dark-theme .product-card .pc-emi strong {
  color: #ffffff !important;
}

body.dark-theme .product-card .compare-check-wrap label {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f5f5f7 !important;
}

/* 3. BUTTONS (GLOBAL & CTA) */
body.dark-theme .btn.pri,
body.dark-theme .btn-primary {
  background: #0071e3 !important;
  color: #ffffff !important;
  border: 1px solid #0071e3 !important;
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.45) !important;
}

body.dark-theme .btn.pri:hover,
body.dark-theme .btn-primary:hover {
  background: #0077ed !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(0, 113, 227, 0.6) !important;
}

body.dark-theme .btn.sec,
body.dark-theme .btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px);
}

body.dark-theme .btn.sec:hover,
body.dark-theme .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

body.dark-theme .btn-dark {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.dark-theme .btn-dark:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

/* 4. COLLECTION CARDS (ENTERTAINMENT & CATEGORY) */
body.dark-theme .collection-card,
body.dark-theme .collection-card:nth-child(n) {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 22px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .collection-card:hover,
body.dark-theme .collection-card:nth-child(n):hover {
  transform: translateY(-6px) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

body.dark-theme .collection-card h3,
body.dark-theme .collection-card:nth-child(n) h3,
body.dark-theme .collection-card:nth-child(n):hover h3 {
  color: #ffffff !important;
}

body.dark-theme .collection-card p,
body.dark-theme .collection-card:nth-child(n) p {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .collection-card .cc-badge,
body.dark-theme .collection-card:nth-child(n) .cc-badge {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #2997ff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme .collection-card .cc-link {
  color: #2997ff !important;
}

/* 5. COMPARE CARDS & COMPARISON SECTIONS */
body.dark-theme .ipad-compare-section,
body.dark-theme .mac-compare-section,
body.dark-theme .watch-compare-section,
body.dark-theme .iphone-compare-section {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

body.dark-theme .compare-section-header h2 {
  color: #ffffff !important;
}

body.dark-theme .compare-section-header p {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .compare-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff !important;
  padding: 24px 20px !important;
}

body.dark-theme .compare-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .compare-card h4 {
  color: #ffffff !important;
}

body.dark-theme .compare-card-price {
  color: #2997ff !important;
  font-weight: 700;
}

body.dark-theme .compare-card .btn {
  margin-bottom: 14px !important;
}

body.dark-theme .compare-spec-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100%;
}

body.dark-theme .compare-spec-row strong {
  color: #a1a1a6 !important;
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

body.dark-theme .compare-spec-row span {
  color: #f5f5f7 !important;
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

/* 6. CHAPTER NAV LINEUPS (CATEGORY PAGES) */
body.dark-theme .chapter-nav-item {
  color: #ffffff !important;
}

body.dark-theme .chapter-nav-item:hover {
  color: #2997ff !important;
}

body.dark-theme .chapter-nav-label {
  color: #ffffff !important;
}

body.dark-theme .chapter-nav-arrow {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.dark-theme .chapter-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}

/* 7. CATEGORY HEROES & HERO SLIDES */
body.dark-theme .category-hero,
body.dark-theme .category-hero--mac,
body.dark-theme .category-hero--ipad,
body.dark-theme .category-hero--watch,
body.dark-theme .category-hero--iphone {
  background: radial-gradient(circle at 50% 15%, rgba(10, 132, 255, 0.12) 0%, transparent 68%), #000000 !important;
  color: #ffffff !important;
}

body.dark-theme .category-hero h1,
body.dark-theme .category-hero--mac h1,
body.dark-theme .category-hero--ipad h1,
body.dark-theme .category-hero--watch h1,
body.dark-theme .category-hero--iphone h1 {
  color: #ffffff !important;
}

body.dark-theme #catTagline,
body.dark-theme .category-hero-copy p {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .hero-feature--duo {
  background: #000000 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .hero-feature--duo .hero-feature-title,
body.dark-theme .hero-feature--duo .hero-feature-desc {
  color: #ffffff !important;
}

body.dark-theme .hero-feature--duo .hero-feature-dates {
  color: #a1a1a6 !important;
}

body.dark-theme .hero-slide--mac {
  background: radial-gradient(ellipse 44% 56% at 76% 52%, rgba(255, 255, 255, 0.04), transparent 68%), #000000 !important;
  color: #ffffff !important;
}

body.dark-theme .hero-slide--mac .hero-slide-title,
body.dark-theme .hero-slide--mac .hero-slide-desc {
  color: #ffffff !important;
}

body.dark-theme .hero-slide--ipad {
  background: radial-gradient(ellipse 42% 52% at 76% 52%, rgba(64, 92, 130, 0.22), transparent 70%), #000000 !important;
  color: #ffffff !important;
}

body.dark-theme .hero-slide--ipad .hero-slide-title,
body.dark-theme .hero-slide--ipad .hero-slide-desc {
  color: #ffffff !important;
}

body.dark-theme .hero-slide.dark-text h2,
body.dark-theme .hero-slide.dark-text p {
  color: #ffffff !important;
}

/* 8. CART & ORDER SUMMARY */
body.dark-theme .cart-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

body.dark-theme .cart-item h4 {
  color: #ffffff !important;
}

body.dark-theme .cart-item .ci-variant {
  color: #86868b !important;
}

body.dark-theme .cart-item .ci-price {
  color: #ffffff !important;
}

body.dark-theme .qty-selector {
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 6px;
}

body.dark-theme .qty-selector button {
  color: #ffffff !important;
}

body.dark-theme .qty-selector button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme .qty-selector span {
  color: #ffffff !important;
}

body.dark-theme .summary-row {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .summary-row .val {
  color: #ffffff !important;
}

body.dark-theme .summary-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body.dark-theme .summary-row.total span {
  color: #ffffff !important;
}

body.dark-theme .promo-row input {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

body.dark-theme .promo-row input::placeholder {
  color: #86868b !important;
}

/* 9. CHECKOUT PANELS & MERCHANT QR */
body.dark-theme .merchant-qr-frame {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid rgba(0, 113, 227, 0.35) !important;
  color: #ffffff !important;
}

body.dark-theme .merchant-title {
  color: #ffffff !important;
}

body.dark-theme .merchant-subtitle {
  color: #86868b !important;
}

body.dark-theme .vpa-box {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme .vpa-label {
  color: #86868b !important;
}

body.dark-theme .vpa-code {
  color: #2997ff !important;
}

body.dark-theme .btn-copy-vpa {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

body.dark-theme .merchant-amount-badge {
  background: rgba(0, 113, 227, 0.15) !important;
  border: 1px solid rgba(0, 113, 227, 0.35) !important;
}

body.dark-theme .merchant-amount-badge .lbl {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .merchant-amount-badge .val {
  color: #ffffff !important;
}

body.dark-theme .order-review-item .name {
  color: #ffffff !important;
}

body.dark-theme .order-review-item .qty {
  color: #86868b !important;
}

/* 10. TERMS, SUPPORT & INFO PAGES */
body.dark-theme .terms-nav a {
  color: #86868b !important;
}

body.dark-theme .terms-nav a:hover,
body.dark-theme .terms-nav a.active {
  color: #2997ff !important;
  border-left-color: #2997ff !important;
}

body.dark-theme .terms-section {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px;
  padding: 28px;
}

body.dark-theme .terms-section h3 {
  color: #ffffff !important;
}

body.dark-theme .terms-section p,
body.dark-theme .terms-section li {
  color: rgba(255, 255, 255, 0.76) !important;
}

body.dark-theme .faq-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
}

body.dark-theme .faq-item h4 {
  color: #ffffff !important;
}

body.dark-theme .faq-item p {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .value-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
}

body.dark-theme .value-card h4 {
  color: #ffffff !important;
}

body.dark-theme .value-card p {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-theme .store-info-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
}

body.dark-theme .store-info-card h3 {
  color: #ffffff !important;
}

body.dark-theme .store-info-row div p {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .store-info-row .label {
  color: #86868b !important;
}

/* 11. PDP (PRODUCT DETAIL PAGE) */
body.dark-theme .pdp-short {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .pdp-price {
  color: #ffffff !important;
}

body.dark-theme .pdp-emi-line {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-theme .pdp-emi-line strong {
  color: #ffffff !important;
}

body.dark-theme .pdp-highlights li {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.dark-theme .pdp-desc {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .spec-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .spec-table td:first-child {
  color: #86868b !important;
}

body.dark-theme .spec-table td:last-child {
  color: #ffffff !important;
}

body.dark-theme .breadcrumb {
  color: #86868b !important;
}

body.dark-theme .breadcrumb a {
  color: #86868b !important;
}

body.dark-theme .breadcrumb a:hover {
  color: #2997ff !important;
}

body.dark-theme .breadcrumb span {
  color: rgba(255, 255, 255, 0.4) !important;
}

body.dark-theme .breadcrumb span:last-child {
  color: #ffffff !important;
}

body.dark-theme .sticky-atc-title {
  color: #ffffff !important;
}

body.dark-theme .sticky-atc-price {
  color: #2997ff !important;
}

/* 12. MENUS, MODALS & SEARCH */
body.dark-theme .products-submenu {
  background: rgba(20, 20, 22, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(24px) !important;
}

body.dark-theme .submenu-col h4 {
  color: #86868b !important;
}

body.dark-theme .submenu-col ul li a {
  color: #ffffff !important;
}

body.dark-theme .submenu-col ul li a:hover {
  color: #2997ff !important;
}

body.dark-theme .search-suggestions {
  background: rgba(20, 20, 22, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(24px) !important;
}

body.dark-theme .suggestion-item {
  color: #ffffff !important;
}

body.dark-theme .suggestion-item .item-name {
  color: #ffffff !important;
}

body.dark-theme .suggestion-item .item-cat {
  color: #86868b !important;
}

body.dark-theme .mobile-nav {
  background: rgba(10, 10, 12, 0.98) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme .mobile-nav a {
  color: #ffffff !important;
}


/* QR LIGHTBOX MODAL DARK THEME */
body.dark-theme .qr-lightbox-overlay {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(12px) !important;
}

body.dark-theme .qr-lightbox-card {
  background: rgba(22, 22, 24, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85) !important;
}

body.dark-theme .qr-lightbox-card h3 {
  color: #ffffff !important;
}

body.dark-theme .qr-lightbox-card p {
  color: rgba(255, 255, 255, 0.74) !important;
}

body.dark-theme .qr-lightbox-close {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.dark-theme .qr-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

/* ============================================================
   BULLETPROOF VISIBILITY FOR FLOATING CASCADING MEGA-MENU
   Ensures all dropdown panels, product lineups, category items,
   action buttons, and badges have 100% visible, high-contrast,
   crisp text styling across all themes and viewports.
   ============================================================ */

.cascade-mega-container,
body.dark-theme .cascade-mega-container,
.site-header--dark .cascade-mega-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.cascade-panel,
body.dark-theme .cascade-panel,
.site-header--dark .cascade-panel {
  background: #ffffff !important;
  color: #1d1d1f !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
}

/* Category & Action Items (Panel 1 & Panel 2) */
.cascade-panel .cascade-item,
.cascade-panel .cascade-cat-item,
body.dark-theme .cascade-panel .cascade-item,
body.dark-theme .cascade-panel .cascade-cat-item,
.site-header--dark .cascade-panel .cascade-item,
.site-header--dark .cascade-panel .cascade-cat-item {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.cascade-panel .cascade-item-text,
body.dark-theme .cascade-panel .cascade-item-text,
.site-header--dark .cascade-panel .cascade-item-text {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

.cascade-panel .cascade-item:hover,
.cascade-panel .cascade-item.active,
.cascade-panel .cascade-cat-item:hover,
.cascade-panel .cascade-cat-item.active,
body.dark-theme .cascade-panel .cascade-item:hover,
body.dark-theme .cascade-panel .cascade-item.active,
body.dark-theme .cascade-panel .cascade-cat-item:hover,
body.dark-theme .cascade-panel .cascade-cat-item.active,
.site-header--dark .cascade-panel .cascade-item:hover,
.site-header--dark .cascade-panel .cascade-item.active,
.site-header--dark .cascade-panel .cascade-cat-item:hover,
.site-header--dark .cascade-panel .cascade-cat-item.active {
  background: #f5f5f7 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.cascade-panel .cascade-item:hover .cascade-item-text,
.cascade-panel .cascade-item.active .cascade-item-text,
.cascade-panel .cascade-cat-item:hover .cascade-item-text,
.cascade-panel .cascade-cat-item.active .cascade-item-text,
body.dark-theme .cascade-panel .cascade-item:hover .cascade-item-text,
body.dark-theme .cascade-panel .cascade-item.active .cascade-item-text,
body.dark-theme .cascade-panel .cascade-cat-item:hover .cascade-item-text,
body.dark-theme .cascade-panel .cascade-cat-item.active .cascade-item-text,
.site-header--dark .cascade-panel .cascade-item:hover .cascade-item-text,
.site-header--dark .cascade-panel .cascade-item.active .cascade-item-text,
.site-header--dark .cascade-panel .cascade-cat-item:hover .cascade-item-text,
.site-header--dark .cascade-panel .cascade-cat-item.active .cascade-item-text {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Red Directional Arrows */
.cascade-panel .red-arrow,
body.dark-theme .cascade-panel .red-arrow,
.site-header--dark .cascade-panel .red-arrow {
  color: #d60017 !important;
  -webkit-text-fill-color: #d60017 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin-left: 8px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Lineup Group Titles (e.g., iPhone Lineup, iPad Lineup) */
.cascade-panel .cascade-group-title,
body.dark-theme .cascade-panel .cascade-group-title,
.site-header--dark .cascade-panel .cascade-group-title {
  color: #6e6e73 !important;
  -webkit-text-fill-color: #6e6e73 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 6px 12px 10px !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Product Lineup Items (e.g., iPhone duo, iPhone 18 Pro, iPhone 17e) */
.cascade-panel .cascade-prod-item,
.cascade-panel a.cascade-prod-item,
body.dark-theme .cascade-panel .cascade-prod-item,
body.dark-theme .cascade-panel a.cascade-prod-item,
.site-header--dark .cascade-panel .cascade-prod-item,
.site-header--dark .cascade-panel a.cascade-prod-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.cascade-panel .cascade-prod-name,
.cascade-panel .cascade-prod-item span,
.cascade-panel a.cascade-prod-item span,
.cascade-panel .cascade-prod-item span:first-child,
.cascade-panel a.cascade-prod-item span:first-child,
body.dark-theme .cascade-panel .cascade-prod-name,
body.dark-theme .cascade-panel .cascade-prod-item span,
body.dark-theme .cascade-panel a.cascade-prod-item span,
body.dark-theme .cascade-panel .cascade-prod-item span:first-child,
body.dark-theme .cascade-panel a.cascade-prod-item span:first-child,
.site-header--dark .cascade-panel .cascade-prod-name,
.site-header--dark .cascade-panel .cascade-prod-item span,
.site-header--dark .cascade-panel a.cascade-prod-item span,
.site-header--dark .cascade-panel .cascade-prod-item span:first-child,
.site-header--dark .cascade-panel a.cascade-prod-item span:first-child {
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

.cascade-panel .cascade-prod-item:hover,
.cascade-panel a.cascade-prod-item:hover,
body.dark-theme .cascade-panel .cascade-prod-item:hover,
body.dark-theme .cascade-panel a.cascade-prod-item:hover,
.site-header--dark .cascade-panel .cascade-prod-item:hover,
.site-header--dark .cascade-panel a.cascade-prod-item:hover {
  background: #f5f5f7 !important;
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
}

.cascade-panel .cascade-prod-item:hover .cascade-prod-name,
.cascade-panel .cascade-prod-item:hover span:first-child,
.cascade-panel a.cascade-prod-item:hover .cascade-prod-name,
.cascade-panel a.cascade-prod-item:hover span:first-child,
body.dark-theme .cascade-panel .cascade-prod-item:hover .cascade-prod-name,
body.dark-theme .cascade-panel .cascade-prod-item:hover span:first-child,
body.dark-theme .cascade-panel a.cascade-prod-item:hover .cascade-prod-name,
body.dark-theme .cascade-panel a.cascade-prod-item:hover span:first-child,
.site-header--dark .cascade-panel .cascade-prod-item:hover .cascade-prod-name,
.site-header--dark .cascade-panel .cascade-prod-item:hover span:first-child,
.site-header--dark .cascade-panel a.cascade-prod-item:hover .cascade-prod-name,
.site-header--dark .cascade-panel a.cascade-prod-item:hover span:first-child {
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
}

/* Red 'New' Badges */
.cascade-panel .badge-new-red,
body.dark-theme .cascade-panel .badge-new-red,
.site-header--dark .cascade-panel .badge-new-red {
  display: inline-block !important;
  background: rgba(214, 0, 23, 0.1) !important;
  color: #d60017 !important;
  -webkit-text-fill-color: #d60017 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  margin-left: 6px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Divider & Explore Link */
.cascade-panel .cascade-divider,
body.dark-theme .cascade-panel .cascade-divider,
.site-header--dark .cascade-panel .cascade-divider {
  height: 1px !important;
  background: #e5e5ea !important;
  margin: 8px 4px !important;
  border: none !important;
}

.cascade-panel .cascade-explore-link,
.cascade-panel a.cascade-explore-link,
body.dark-theme .cascade-panel .cascade-explore-link,
body.dark-theme .cascade-panel a.cascade-explore-link,
.site-header--dark .cascade-panel .cascade-explore-link,
.site-header--dark .cascade-panel a.cascade-explore-link {
  display: inline-block !important;
  padding: 8px 12px 4px !important;
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: color 0.15s ease !important;
}

.cascade-panel .cascade-explore-link:hover,
.cascade-panel a.cascade-explore-link:hover,
body.dark-theme .cascade-panel .cascade-explore-link:hover,
body.dark-theme .cascade-panel a.cascade-explore-link:hover,
.site-header--dark .cascade-panel .cascade-explore-link:hover,
.site-header--dark .cascade-panel a.cascade-explore-link:hover {
  color: #0077ed !important;
  -webkit-text-fill-color: #0077ed !important;
  text-decoration: underline !important;
}

/* Mobile Nav Accordion Visibility on Dark and Light Themes */
.mobile-nav {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  width: 100vw !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #000000 !important;
  z-index: 9999999 !important;
  display: none;
  flex-direction: column !important;
  padding: 16px 20px max(36px, env(safe-area-inset-bottom) + 24px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}

.mobile-nav.open {
  display: flex !important;
  background: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body:not(.dark-theme):not(.page-dark) .mobile-nav.open {
  background: #ffffff !important;
}

/* ==================== MOBILE MENU OPEN STATE (HIDE STICKY ATC, FLOATING BUTTONS & BUY CTAS) ==================== */
body.mobile-nav-open,
html.mobile-nav-open {
  overflow: hidden !important;
}

body.mobile-nav-open #site-header,
html.mobile-nav-open #site-header,
body:has(#mobileNav.open) #site-header,
body:has(.mobile-nav.open) #site-header {
  z-index: 9999999 !important;
}

body.mobile-nav-open .sticky-atc,
body.mobile-nav-open #stickyAtc,
html.mobile-nav-open .sticky-atc,
html.mobile-nav-open #stickyAtc,
body:has(#mobileNav.open) .sticky-atc,
body:has(#mobileNav.open) #stickyAtc,
body:has(.mobile-nav.open) .sticky-atc,
body:has(.mobile-nav.open) #stickyAtc,
body.mobile-nav-open [class*="sticky-atc"],
body:has(#mobileNav.open) [class*="sticky-atc"],
body:has(.mobile-nav.open) [class*="sticky-atc"],
body.mobile-nav-open .whatsapp-float,
body.mobile-nav-open #whatsapp-float,
html.mobile-nav-open .whatsapp-float,
html.mobile-nav-open #whatsapp-float,
body:has(#mobileNav.open) .whatsapp-float,
body:has(#mobileNav.open) #whatsapp-float,
body:has(.mobile-nav.open) .whatsapp-float,
body:has(.mobile-nav.open) #whatsapp-float,
body.mobile-nav-open #addToBagBtn,
body.mobile-nav-open .atc-btn,
body.mobile-nav-open #airAddToBagBtn,
body.mobile-nav-open #neoAddToBagBtn,
body.mobile-nav-open #miniAddToBagBtn,
body.mobile-nav-open .add-to-cart-btn,
body.mobile-nav-open .btn-bag,
body.mobile-nav-open .pdp-actions,
body.mobile-nav-open .buy-summary,
body:has(#mobileNav.open) #addToBagBtn,
body:has(#mobileNav.open) .atc-btn,
body:has(#mobileNav.open) #airAddToBagBtn,
body:has(#mobileNav.open) #neoAddToBagBtn,
body:has(#mobileNav.open) #miniAddToBagBtn,
body:has(#mobileNav.open) .add-to-cart-btn,
body:has(#mobileNav.open) .btn-bag,
body:has(#mobileNav.open) .pdp-actions,
body:has(#mobileNav.open) .buy-summary,
body:has(.mobile-nav.open) #addToBagBtn,
body:has(.mobile-nav.open) .atc-btn,
body:has(.mobile-nav.open) #airAddToBagBtn,
body:has(.mobile-nav.open) #neoAddToBagBtn,
body:has(.mobile-nav.open) #miniAddToBagBtn,
body:has(.mobile-nav.open) .add-to-cart-btn,
body:has(.mobile-nav.open) .btn-bag,
body:has(.mobile-nav.open) .pdp-actions,
body:has(.mobile-nav.open) .buy-summary,
body.mobile-nav-open .site-header .header-actions,
body:has(#mobileNav.open) .site-header .header-actions,
body:has(.mobile-nav.open) .site-header .header-actions {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.mobile-nav-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav-head .btn-icon {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  cursor: pointer !important;
  padding: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-nav .search-wrap {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 980px !important;
  position: relative !important;
  width: 100% !important;
}

.mobile-nav .search-input {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 14.5px !important;
  padding: 10px 14px 10px 38px !important;
  outline: none !important;
}

.mobile-nav .search-input::placeholder {
  color: #86868b !important;
  -webkit-text-fill-color: #86868b !important;
}

.mobile-nav .search-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #86868b !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-nav-links {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.mobile-nav > a,
.mobile-nav-links > a,
.mobile-nav-link {
  display: block !important;
  padding: 13px 4px !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #f5f5f7 !important;
  -webkit-text-fill-color: #f5f5f7 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: color 0.2s ease !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: rgba(41, 151, 255, 0.2) !important;
}

.mobile-nav > a:hover,
.mobile-nav-links > a:hover,
.mobile-nav-link:hover,
.mobile-nav > a.active,
.mobile-nav-links > a.active,
.mobile-nav-link.active {
  color: #2997ff !important;
  -webkit-text-fill-color: #2997ff !important;
}

.mobile-nav .mobile-accordion-group {
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.mobile-nav .mobile-accordion-toggle {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  border: none !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #f5f5f7 !important;
  -webkit-text-fill-color: #f5f5f7 !important;
  padding: 13px 4px !important;
  cursor: pointer !important;
  text-align: left !important;
  -webkit-tap-highlight-color: rgba(41, 151, 255, 0.2) !important;
}

.mobile-nav .mobile-accordion-toggle > * {
  pointer-events: none !important;
}

.mobile-nav .mobile-accordion-toggle .toggle-icon {
  font-size: 19px !important;
  color: #86868b !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.mobile-accordion-group.open > .mobile-accordion-toggle .toggle-icon {
  transform: rotate(90deg) !important;
  color: #2997ff !important;
}

.mobile-nav .mobile-accordion-content {
  display: none !important;
  padding: 4px 0 8px 14px !important;
  border-left: 2px solid rgba(41, 151, 255, 0.4) !important;
  margin: 2px 0 8px 6px !important;
}

.mobile-accordion-group.open > .mobile-accordion-content {
  display: flex !important;
  flex-direction: column !important;
}

.mobile-nav .mobile-sub-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 8px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #d1d1d6 !important;
  -webkit-text-fill-color: #d1d1d6 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  transition: color 0.15s ease !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: rgba(41, 151, 255, 0.2) !important;
}

.mobile-nav .mobile-sub-link > * {
  pointer-events: none !important;
}

.mobile-nav .mobile-sub-link:last-child {
  border-bottom: none !important;
}

.mobile-nav .mobile-sub-link:hover,
.mobile-nav .mobile-sub-link:active {
  color: #2997ff !important;
  -webkit-text-fill-color: #2997ff !important;
}

.mobile-nav .mobile-sub-link .sub-arrow {
  color: #86868b !important;
  font-size: 16px !important;
}

/* Level 2 Sub-Accordion for Categories (iPhone, Mac, iPad, Watch, AirPods, TV & Home) */
.mobile-nav .mobile-subcat-group {
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.mobile-nav .mobile-subcat-toggle {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  border: none !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #e5e5ea !important;
  -webkit-text-fill-color: #e5e5ea !important;
  padding: 11px 6px 11px 8px !important;
  cursor: pointer !important;
  text-align: left !important;
  -webkit-tap-highlight-color: rgba(41, 151, 255, 0.2) !important;
  transition: color 0.15s ease !important;
}

.mobile-nav .mobile-subcat-toggle:hover,
.mobile-nav .mobile-subcat-toggle:active {
  color: #2997ff !important;
  -webkit-text-fill-color: #2997ff !important;
}

.mobile-nav .mobile-subcat-toggle > * {
  pointer-events: none !important;
}

.mobile-nav .mobile-subcat-toggle .subcat-arrow {
  font-size: 17px !important;
  color: #86868b !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
  display: inline-block !important;
}

.mobile-subcat-group.open > .mobile-subcat-toggle .subcat-arrow {
  transform: rotate(90deg) !important;
  color: #2997ff !important;
}

.mobile-nav .mobile-subcat-content {
  display: none !important;
  padding: 2px 0 6px 12px !important;
  border-left: 2px solid rgba(41, 151, 255, 0.3) !important;
  margin: 2px 0 8px 10px !important;
}

.mobile-subcat-group.open > .mobile-subcat-content {
  display: flex !important;
  flex-direction: column !important;
}

.mobile-nav .mobile-leaf-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 8px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #a1a1a6 !important;
  -webkit-text-fill-color: #a1a1a6 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  transition: color 0.15s ease !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: rgba(41, 151, 255, 0.2) !important;
}

.mobile-nav .mobile-leaf-link:hover,
.mobile-nav .mobile-leaf-link:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.mobile-nav .mobile-leaf-link .badge-new-red {
  font-size: 10px !important;
  padding: 1px 6px !important;
  border-radius: 980px !important;
  background: #ff3b30 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.mobile-nav .mobile-leaf-explore {
  color: #2997ff !important;
  -webkit-text-fill-color: #2997ff !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  border-bottom: none !important;
}

.mobile-nav-divider {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  margin: 16px 0 !important;
}

body.dark-theme .mobile-nav,
body.page-dark .mobile-nav {
  background: #000000 !important;
}

body.dark-theme .mobile-nav .mobile-accordion-toggle,
body.page-dark .mobile-nav .mobile-accordion-toggle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.dark-theme .mobile-nav .mobile-accordion-toggle .toggle-icon,
body.page-dark .mobile-nav .mobile-accordion-toggle .toggle-icon {
  color: #d60017 !important;
  -webkit-text-fill-color: #d60017 !important;
}

body.dark-theme .mobile-nav .mobile-sub-link,
body.page-dark .mobile-nav .mobile-sub-link {
  color: #e5e5ea !important;
  -webkit-text-fill-color: #e5e5ea !important;
}

body.dark-theme .mobile-nav .mobile-sub-link:hover,
body.page-dark .mobile-nav .mobile-sub-link:hover {
  color: #2997ff !important;
  -webkit-text-fill-color: #2997ff !important;
}

body.dark-theme .mobile-nav .badge-new-red,
body.page-dark .mobile-nav .badge-new-red {
  background: rgba(214, 0, 23, 0.15) !important;
  color: #ff453a !important;
  -webkit-text-fill-color: #ff453a !important;
}

body.dark-theme .mobile-nav .logo,
body.page-dark .mobile-nav .logo,
body.dark-theme .mobile-nav .logo-name,
body.dark-theme .mobile-nav .apple-logo,
body.page-dark .mobile-nav .logo-name,
body.page-dark .mobile-nav .apple-logo {
  color: #ffffff !important;
}

body.dark-theme .mobile-nav .store-tag,
body.page-dark .mobile-nav .store-tag {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-left-color: rgba(255, 255, 255, 0.45) !important;
}

body.dark-theme .mobile-nav .mobile-accordion-content,
body.page-dark .mobile-nav .mobile-accordion-content {
  border-left-color: rgba(255, 255, 255, 0.12) !important;
}

/* =========================================
   GLOBAL PRODUCT BUTTONS TEXT VISIBILITY
========================================= */
body.dark-theme a.btn,
body.dark-theme .btn,
body.dark-theme a.btn-primary,
body.dark-theme .btn-primary,
body.dark-theme a.btn.pri,
body.dark-theme .btn.pri,
body.dark-theme a.show-btn-primary,
body.dark-theme .show-btn-primary,
body.dark-theme a.show-btn-secondary,
body.dark-theme .show-btn-secondary,
body.dark-theme .show-cta-row a,
body.dark-theme .show-cta-row a span,
body.dark-theme .pc-actions .btn,
body.dark-theme .pc-actions a,
body.dark-theme .product-card .btn,
body.dark-theme .product-card a.btn,
body.dark-theme .product-card .btn-dark,
body.dark-theme .product-card a.btn-dark {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.dark-theme a.btn:visited,
body.dark-theme a.btn-primary:visited,
body.dark-theme a.btn.pri:visited,
body.dark-theme a.show-btn-primary:visited,
body.dark-theme a.show-btn-secondary:visited,
body.dark-theme .show-cta-row a:visited,
body.dark-theme .pc-actions a:visited,
body.dark-theme .product-card a.btn:visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.dark-theme a.btn:hover,
body.dark-theme a.btn-primary:hover,
body.dark-theme a.btn.pri:hover,
body.dark-theme a.show-btn-primary:hover,
body.dark-theme a.show-btn-secondary:hover,
body.dark-theme .show-cta-row a:hover,
body.dark-theme .pc-actions a:hover,
body.dark-theme .product-card a.btn:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.dark-theme .show-cta-row a svg,
body.dark-theme .show-btn-primary svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
}


/* ==================== HOMEPOD MINI 2 SHOWCASE ==================== */
.homepod-hero {
  width: 100%;
  min-height: 717px;
  overflow: hidden;
  background: #f5f5f7;
  padding-top: 4px;
  position: relative;
  color: #1d1d1f;
  clear: both;
}

/* Heading section */
.homepod-hero .hero-content {
  text-align: center !important;
  position: relative;
  z-index: 10;
  padding-top: 24px;
  margin: 0 auto !important;
  max-width: 900px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.homepod-hero .hero-content h1 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -2.5px;
  line-height: 1.15;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  text-align: center !important;
  margin: 0 auto !important;
  max-width: none !important;
  width: 100% !important;
}

.homepod-hero .hero-content p,
.homepod-hero .hero-content > p,
.homepod-hero .hero-content .homepod-subhead {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 30px) !important;
  margin: 6px auto 0 auto !important;
  font-weight: 400 !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  text-align: center !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
}

/* CTA buttons */
.homepod-hero .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.homepod-hero .btn,
body.dark-theme .homepod-hero a.btn,
body.dark-theme .homepod-hero .btn {
  text-decoration: none !important;
  font-size: 20px !important;
  padding: 13px 25px !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  min-height: auto !important;
  cursor: pointer !important;
}

.homepod-hero .btn-primary,
body.dark-theme .homepod-hero a.btn-primary,
body.dark-theme .homepod-hero .btn-primary {
  background: #0071e3 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #0071e3 !important;
}

.homepod-hero .btn-primary:hover,
body.dark-theme .homepod-hero a.btn-primary:hover,
body.dark-theme .homepod-hero .btn-primary:hover {
  background: #0077ed !important;
  border-color: #0077ed !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.homepod-hero .btn-outline,
body.dark-theme .homepod-hero a.btn-outline,
body.dark-theme .homepod-hero .btn-outline {
  color: #0071e3 !important;
  -webkit-text-fill-color: #0071e3 !important;
  border: 1px solid #0071e3 !important;
  background: transparent !important;
}

.homepod-hero .btn-outline:hover,
body.dark-theme .homepod-hero a.btn-outline:hover,
body.dark-theme .homepod-hero .btn-outline:hover {
  background: #0071e3 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #0071e3 !important;
}

/* Product gallery */
.homepod-gallery {
  position: relative;
  width: min(100%, 1100px);
  height: 510px;
  margin: 65px auto 0;
}

/* Common speaker styling */
.speaker {
  position: absolute;
  bottom: 0;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
  pointer-events: auto;
  user-select: none;
}

/* Individual speaker positions */
.speaker-white {
  width: 24%;
  left: 0;
  bottom: 160px;
  z-index: 1;
}

.speaker-blue {
  width: 29%;
  left: 12%;
  bottom: 95px;
  z-index: 2;
}

.speaker-green {
  width: 42%;
  left: 29%;
  bottom: 0;
  z-index: 5;
}

.speaker-pink {
  width: 29%;
  right: 12%;
  bottom: 95px;
  z-index: 2;
}

.speaker-black {
  width: 24%;
  right: 0;
  bottom: 160px;
  z-index: 1;
}

/* Hover animation */
.speaker:hover {
  transform: translateY(-12px) scale(1.03);
  z-index: 8;
  filter: drop-shadow(0 12px 15px rgba(0, 0, 0, 0.12));
}

/* Entrance animation classes */
.speaker-hidden {
  opacity: 0;
  transform: translateY(70px) scale(0.9);
}

.speaker-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive design */
@media (max-width: 768px) {
  .homepod-hero {
    min-height: 600px;
  }

  .homepod-hero .hero-content h1 {
    letter-spacing: -1.5px;
  }

  .homepod-hero .hero-actions {
    gap: 12px;
  }

  .homepod-hero .btn,
  body.dark-theme .homepod-hero a.btn,
  body.dark-theme .homepod-hero .btn {
    font-size: 16px !important;
    padding: 11px 21px !important;
  }

  .homepod-gallery {
    height: 350px;
    margin-top: 80px;
    width: 100%;
  }

  .speaker-white {
    width: 27%;
    left: -5%;
    bottom: 110px;
  }

  .speaker-blue {
    width: 32%;
    left: 8%;
    bottom: 55px;
  }

  .speaker-green {
    width: 43%;
    left: 28.5%;
    bottom: 0;
  }

  .speaker-pink {
    width: 32%;
    right: 8%;
    bottom: 55px;
  }

  .speaker-black {
    width: 27%;
    right: -5%;
    bottom: 110px;
  }
}

@media (max-width: 480px) {
  .homepod-hero {
    min-height: 500px;
  }

  .homepod-gallery {
    height: 260px;
    margin-top: 65px;
  }

  .speaker-white {
    width: 30%;
    left: -10%;
    bottom: 85px;
  }

  .speaker-blue {
    width: 35%;
    left: 3%;
    bottom: 40px;
  }

  .speaker-green {
    width: 48%;
    left: 26%;
    bottom: 0;
  }

  .speaker-pink {
    width: 35%;
    right: 3%;
    bottom: 40px;
  }

  .speaker-black {
    width: 30%;
    right: -10%;
    bottom: 85px;
  }
}

/* Respect accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  .speaker {
    transition: none !important;
    animation: none !important;
  }

  .speaker-hidden {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Keep product photography centered on a matching white image stage. */
:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"]) {
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
body .pdp-gallery-main:has(:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"])),
body .pdp-thumb:has(:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"])),
body .pc-image:has(:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"])),
body .compare-card-media:has(:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"])),
body .chapter-nav-icon:has(:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"])) {
  background: #fff;
  border-radius: 12px;
  isolation: isolate;
}
body .pdp-gallery-main:has(:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"])) {
  align-items: center;
}
body .pdp-gallery-main :is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"]) {
  align-self: center;
}
body .pdp-gallery-main:has(:is(img[src="images/home/shopping.webp"], img[src="images/home/shopping (1).webp"]))::before {
  display: none;
}

/* Match the iPad Air M4 gallery photograph's light gray backdrop. */
img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"] {
  object-fit: contain;
  object-position: center;
}
body .pdp-gallery-main:has(img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"]),
body .pdp-thumb:has(img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"]),
body .pc-image:has(img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"]),
body .compare-card-media:has(img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"]),
body .chapter-nav-icon:has(img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"]) {
  background: #f5f5f7;
  border-radius: 12px;
}
body .pdp-gallery-main:has(img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"]) {
  align-items: center;
}
body .pdp-gallery-main img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"] {
  align-self: center;
}
body .pdp-gallery-main:has(img[src="images/home/ipad-air-finish-select-gallery-202405-11inch-blue-wifi_AV1_GEO_EMEA.webp"])::before {
  display: none;
}
