.dw-store,
.dw-product,
.dw-checkout {
  --apple-bg: #f5f5f7;
  --apple-surface: #ffffff;
  --apple-surface-soft: rgba(255, 255, 255, 0.78);
  --apple-surface-muted: #ececf0;
  --apple-text: #1d1d1f;
  --apple-muted: #6e6e73;
  --apple-muted-strong: #49494d;
  --apple-line: rgba(0, 0, 0, 0.08);
  --apple-line-strong: rgba(0, 0, 0, 0.14);
  --apple-blue: #0044aa;
  --apple-blue-hover: #0066cc;
  --apple-blue-soft: rgba(0, 102, 204, 0.09);
  --apple-green: #16833a;
  --apple-green-soft: rgba(22, 131, 58, 0.1);
  --apple-red: #c91f26;
  --apple-red-soft: rgba(180, 35, 24, 0.09);
  --apple-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.05);
  --apple-shadow-md: 0 2px 6px rgba(0, 0, 0, 0.05), 0 22px 55px rgba(0, 0, 0, 0.09);
  --apple-radius-md: 18px;
  --apple-radius-lg: 26px;
  --apple-radius-xl: 34px;
  background: var(--apple-bg);
  color: var(--apple-text);
  font-family: var(--font-brand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


.dw-store a,
.dw-product a {
  color: inherit;
}

.dw-store ::selection,
.dw-product ::selection {
  background: rgba(0, 102, 204, 0.18);
}

.apple-section-heading {
  margin-bottom: clamp(1.35rem, 3vw, 2.25rem);
}

.apple-section-heading .dw-eyebrow,
.apple-store-hero .dw-eyebrow,
.apple-product-info .sx-info__eyebrow,
.apple-pdp-details__header .dw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  color: var(--apple-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apple-section-heading .dw-title,
.apple-pdp-details__header .dw-title {
  margin: 0;
  color: var(--apple-text);
  font-size: clamp(2rem, 4.8vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.apple-section-heading__lead {
  max-width: 42rem;
  margin: 0.8rem 0 0;
  color: var(--apple-muted);
  font-size: clamp(1rem, 1.8vw, 1.17rem);
  line-height: 1.55;
}

.apple-section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.apple-text-link,
.dw-store .sx-link,
.dw-product .sx-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  color: var(--apple-blue);
  font-weight: 600;
  text-decoration: none;
}

.apple-text-link:hover,
.dw-store .sx-link:hover,
.dw-product .sx-link:hover {
  color: var(--apple-blue-hover);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.dw-checkout .sx-btn,
.dw-store .sx-btn,
.dw-product .sx-btn {
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.dw-store .sx-btn:active,
.dw-product .sx-btn:active {
  transform: scale(0.985);
}

.dw-checkout .sx-btn--primary,
.dw-store .sx-btn--primary,
.dw-product .sx-btn--primary {
  background: var(--apple-red);
  border-color: var(--apple-red);
  color: #fff;
  box-shadow: none;
}

.dw-store .sx-btn--primary:hover,
.dw-product .sx-btn--primary:hover {
  background: var(--dw-red-darker, #a71a20);
  border-color: var(--dw-red-darker, #a71a20);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.dw-checkout .sx-btn--secondary,
.dw-store .sx-btn--secondary,
.dw-product .sx-btn--secondary {
  background: var(--apple-surface-muted);
  border-color: transparent;
  color: var(--apple-text);
}

.dw-store .sx-btn--secondary:hover,
.dw-product .sx-btn--secondary:hover {
  background: #e2e2e7;
  border-color: transparent;
  color: var(--apple-text);
}

.dw-store .sx-btn--ghost-dark,
.dw-product .sx-btn--ghost-dark {
  border-color: var(--apple-line-strong);
  color: var(--apple-text);
}

.apple-store {
  overflow: clip;
}

.apple-store-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(5.8rem, 10vw, 8.25rem);
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 102, 204, 0.14), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(120, 120, 128, 0.13), transparent 24rem),
    linear-gradient(180deg, #fbfbfd 0%, var(--apple-bg) 100%);
}

.apple-store-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--apple-line);
  z-index: -1;
}

.apple-store-hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.apple-store-hero__copy {
  max-width: 49rem;
}

.dw-store .dw-store__intro-title,
.apple-store-hero .dw-store__intro-title {
  margin: 0;
  color: var(--dw-blue-deep, #00327d);
  font-size: clamp(4rem, 12vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.dw-store .dw-store__intro-lead,
.apple-store-hero .dw-store__intro-lead {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--apple-muted);
  font-size: clamp(1.12rem, 2.4vw, 1.45rem);
  line-height: 1.42;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

.apple-store-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 2rem;
}

.apple-btn--dark {
  min-height: 48px;
  padding-inline: 1.45rem;
}

.apple-store-hero__panel {
  width: min(100%, 25rem);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--apple-radius-xl);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--apple-shadow-md);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.apple-store-hero__panel-kicker {
  margin: 0 0 1rem;
  color: var(--apple-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.apple-store-hero__steps {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apple-store-hero__steps li {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
}

.apple-store-hero__steps li > span {
  flex: none;
  color: var(--apple-blue);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.apple-store-hero__steps strong,
.apple-store-hero__steps small {
  display: block;
}

.apple-store-hero__steps strong {
  color: var(--apple-text);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.apple-store-hero__steps small {
  margin-top: 0.12rem;
  color: var(--apple-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.apple-store-search {
  position: relative;
  z-index: 5;
  margin-top: -3.2rem;
  padding: 0;
}

.dw-store .sx-searchbar {
  max-width: 48rem;
  min-height: 64px;
  padding: 0.35rem 0.35rem 0.35rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--apple-shadow-md);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

.dw-store .sx-searchbar:hover,
.dw-store .sx-searchbar:focus-within {
  border-color: rgba(0, 102, 204, 0.24);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 24px 70px rgba(0, 0, 0, 0.12);
}

.dw-store .sx-searchbar__icon {
  color: var(--apple-muted);
  font-size: 1rem;
}

.dw-store .sx-searchbar__input {
  min-height: 54px;
  color: var(--apple-text);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.dw-store .sx-searchbar__input::placeholder {
  color: #86868b;
}

.dw-store .sx-searchbar__clear {
  color: var(--apple-muted);
}

.dw-store .sx-searchbar__btn {
  width: 54px;
  height: 54px;
  background: var(--apple-red);
  color: #fff;
}

.dw-store .sx-searchbar__btn:hover {
  background: var(--dw-red-darker, #a71a20);
}

.dw-store .sx-searchbar__hint {
  margin-top: 0.8rem;
  color: var(--apple-muted);
  font-size: 0.86rem;
}

.dw-store .dw-store__catalog.apple-catalog {
  padding-top: clamp(3.7rem, 8vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.dw-store .dw-store__catalog-head {
  margin-bottom: 1.5rem;
}

.dw-store .dw-store__catalog-head .dw-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.dw-store .sx-toolbar {
  position: relative;
  top: auto;
  z-index: 40;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 45px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

@media (min-width: 960px) {
  .dw-store .sx-toolbar {
    position: sticky;
    top: calc(var(--nav-height, 72px) + 0.65rem);
  }
}

.apple-toolbar__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0.35rem 0.75rem;
}

.apple-toolbar__label {
  margin: 0;
  color: var(--apple-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.apple-toolbar__filterbar {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  padding: 0 0.35rem;
}

.apple-category-filter {
  position: relative;
  flex: 1 1 24rem;
  min-width: min(100%, 18rem);
}

.apple-category-filter__summary {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 52px;
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--apple-surface-muted);
  color: var(--apple-text);
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  user-select: none;
}

.apple-category-filter__summary::-webkit-details-marker {
  display: none;
}

.apple-category-filter__summary:hover {
  background: #e4e4e9;
}

.apple-category-filter__summary:focus-visible {
  outline: 2px solid var(--apple-blue-hover);
  outline-offset: 3px;
}

.apple-category-filter[open] .apple-category-filter__summary {
  border-color: var(--apple-line-strong);
  background: var(--apple-surface);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.apple-category-filter__summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.055);
  color: var(--apple-muted-strong);
  font-size: 0.82rem;
}

.apple-category-filter__summary-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
  text-align: left;
}

.apple-category-filter__summary-copy > span {
  color: var(--apple-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apple-category-filter__summary-copy strong {
  overflow: hidden;
  margin-top: 0.18rem;
  color: var(--apple-text);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apple-category-filter__summary-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 2rem;
  min-height: 1.65rem;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--apple-muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.apple-category-filter__chevron {
  flex: 0 0 auto;
  color: var(--apple-muted);
  font-size: 0.76rem;
  transition: transform 180ms ease;
}

.apple-category-filter[open] .apple-category-filter__chevron {
  transform: rotate(180deg);
}

.apple-category-filter__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 70;
  width: min(680px, 100%);
  max-height: min(62vh, 27rem);
  padding: 0.78rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 24px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

.apple-category-filter__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  padding: 0 0.25rem;
}

.apple-category-filter__panel-head p,
.apple-category-filter__panel-head span {
  margin: 0;
  color: var(--apple-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apple-category-filter__panel-head span {
  color: var(--apple-muted-strong);
  letter-spacing: 0;
  text-transform: none;
}

.apple-category-filter__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apple-category-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  min-height: 48px;
  padding: 0.46rem 0.55rem;
  border-radius: 15px;
  color: var(--apple-muted-strong);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.apple-category-option:hover {
  background: var(--apple-surface-muted);
  color: var(--apple-text);
}

.apple-category-option:active {
  transform: scale(0.985);
}

.apple-category-option.is-active {
  background: var(--apple-text);
  color: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}

.apple-category-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.055);
  color: var(--apple-muted);
  font-size: 0.78rem;
}

.apple-category-option.is-active .apple-category-option__icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.apple-category-option__name {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.apple-category-option__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  min-height: 1.45rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.78;
}

.apple-category-option.is-active .apple-category-option__count {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

.apple-offer-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 0.48rem;
  min-height: 52px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--apple-red-soft);
  color: var(--apple-red);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.apple-offer-filter:hover {
  background: rgba(201, 31, 38, 0.14);
  color: var(--apple-red);
}

.apple-offer-filter:active {
  transform: scale(0.985);
}

.apple-offer-filter.is-active,
.apple-offer-filter.is-active:hover {
  background: var(--apple-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 31, 38, 0.2);
}

@media (max-width: 639px) {
  .apple-toolbar__filterbar {
    align-items: stretch;
    flex-direction: column;
    padding: 0;
  }

  .apple-category-filter {
    flex-basis: auto;
    width: 100%;
    min-width: 0;
  }

  .apple-category-filter__panel {
    width: 100%;
    max-height: 65vh;
    border-radius: 19px;
  }

  .apple-category-filter__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .apple-offer-filter {
    width: 100%;
  }
}

.dw-store .sx-toolbar .sx-chips {
  gap: 0.45rem;
  padding: 0;
  mask-image: none;
}

.dw-store .sx-chips a {
  min-height: 42px;
  padding: 0.52rem 0.95rem;
  border: 0;
  background: var(--apple-surface-muted);
  color: var(--apple-muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.dw-store .sx-chips a i {
  color: var(--apple-muted);
  font-size: 0.82rem;
}

.dw-store .sx-chips a small {
  color: inherit;
  opacity: 0.64;
}

.dw-store .sx-chips a:hover {
  background: #e4e4e9;
  border-color: transparent;
}

.dw-store .sx-chips a.is-active {
  background: var(--apple-text);
  color: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}

.dw-store .sx-chips a.is-active i,
.dw-store .sx-chips a.is-active small {
  color: #fff;
  opacity: 0.78;
}

.dw-store .sx-chips__offer:not(.is-active) {
  border-style: none;
  color: var(--apple-red);
}

.dw-store .sx-chips__offer:not(.is-active) i {
  color: var(--apple-red);
}

.dw-store .sx-chips a.sx-chips__offer.is-active {
  background: var(--apple-red);
  border-color: var(--apple-red);
}

.dw-store .sx-toolbar__meta {
  align-items: center;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top-color: var(--apple-line);
}

.apple-toolbar .sx-toolbar__count {
  margin: 0;
  color: var(--apple-muted);
  font-size: 0.88rem;
}

.apple-toolbar .sx-toolbar__count strong {
  color: var(--apple-text);
}


.dw-store .sx-toolbar__clear {
  min-height: 40px;
  font-size: 0.87rem;
}

.dw-store .sx-sort__select {
  min-height: 42px;
  padding: 0.5rem 2rem 0.5rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--apple-surface-muted);
  color: var(--apple-text);
  font-weight: 600;
}

.dw-store .sx-sort__select:hover {
  background: #e4e4e9;
  border-color: transparent;
}

.dw-store .sx-pgrid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.1rem, 2.3vw, 1.65rem);
}

@media (min-width: 640px) {
  .dw-store .sx-pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .dw-store .sx-pgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .dw-store .sx-pgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dw-store .sx-pgrid--spotlight {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dw-store .sx-pcard,
.dw-product .sx-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--apple-radius-lg);
  background: var(--apple-surface);
  box-shadow: var(--apple-shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dw-store .sx-pcard:hover,
.dw-product .sx-pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--apple-shadow-md);
}

.dw-store .sx-pcard__link,
.dw-product .sx-pcard__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  text-decoration: none;
}

.dw-store .sx-pcard__media,
.dw-product .sx-pcard__media,
.dw-store .sx-pcard--store .sx-pcard__media,
.dw-product .sx-pcard .sx-pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, #fff 0%, #f2f2f4 72%),
    #f2f2f4;
}

.dw-store .sx-pcard__media img,
.dw-product .sx-pcard__media img,
.dw-store .sx-pcard__img,
.dw-product .sx-pcard__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(1.1rem, 3vw, 1.9rem);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.08));
  transition: transform 260ms ease;
}

.dw-store .sx-pcard:hover .sx-pcard__img,
.dw-product .sx-pcard:hover .sx-pcard__img {
  transform: scale(1.025);
}

.dw-store .sx-pcard__placeholder,
.dw-product .sx-pcard__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7c7cc;
  font-size: 3rem;
  background: #f2f2f4;
}

.dw-store .sx-pcard__badges,
.dw-product .sx-pcard__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: auto;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
  pointer-events: none;
}

.dw-store .sx-pcard__badge,
.dw-product .sx-pcard__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.dw-store .sx-pcard__badge--promo,
.dw-product .sx-pcard__badge--promo {
  background: var(--apple-red);
  color: #fff;
}

.dw-store .sx-pcard__badge--new,
.dw-product .sx-pcard__badge--new {
  background: var(--apple-blue);
  color: #fff;
}

.dw-store .sx-pcard__badge--out,
.dw-product .sx-pcard__badge--out {
  background: rgba(29, 29, 31, 0.82);
  color: #fff;
}

.dw-store .sx-pcard__body,
.dw-product .sx-pcard__body,
.dw-store .sx-pcard--store .sx-pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.15rem 1rem;
}

.dw-store .sx-pcard__brand,
.dw-product .sx-pcard__brand,
.dw-store .sx-pcard--store .sx-pcard__brand {
  margin: 0 0 0.4rem;
  color: var(--apple-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dw-store .sx-pcard__title,
.dw-product .sx-pcard__title,
.dw-store .sx-pcard--store .sx-pcard__title {
  min-height: auto;
  margin: 0;
  color: var(--apple-text);
  font-size: 1.03rem;
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.28;
}

.sx-pcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.sx-pcard__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: var(--apple-surface-muted);
  color: var(--apple-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.dw-store .sx-pcard__price,
.dw-product .sx-pcard__price,
.dw-store .sx-pcard--store .sx-pcard__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 0;
}

.dw-store .sx-pcard__price-now,
.dw-product .sx-pcard__price-now,
.dw-store .sx-pcard--store .sx-pcard__price-now {
  color: var(--apple-text);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.028em;
  font-variant-numeric: tabular-nums;
}

.dw-store .sx-pcard__price-old,
.dw-product .sx-pcard__price-old {
  color: var(--apple-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.dw-store .sx-pcard__price-cur,
.dw-product .sx-pcard__price-cur,
.dw-store .sx-pcard__price-note,
.dw-product .sx-pcard__price-note {
  color: var(--apple-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.dw-store .sx-pcard__actions,
.dw-product .sx-pcard__actions,
.dw-store .sx-pcard--store .sx-pcard__actions {
  margin-top: 0;
  padding: 0 1.15rem 1.15rem;
  border-top: 0;
}

.dw-store .sx-pcard__actions .sx-btn,
.dw-product .sx-pcard__actions .sx-btn,
.dw-store .sx-pcard--store .sx-pcard__actions .sx-btn {
  min-height: 44px;
  padding-block: 0.55rem;
  font-size: 0.9rem;
}

.dw-store .sx-pcard__form,
.dw-product .sx-pcard__form {
  width: 100%;
}

.dw-store .sx-pcard__form .sx-btn,
.dw-product .sx-pcard__form .sx-btn {
  width: 100%;
}

.dw-store .sx-store__sec--tight,
.dw-store .apple-spotlight {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.dw-store .dw-store__trust,
.dw-store .apple-store-trust {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem);
  background: transparent;
}

.dw-store .sx-trust {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .dw-store .sx-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .dw-store .sx-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dw-store .sx-trust li {
  align-items: flex-start;
  min-height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--apple-shadow-sm);
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dw-store .sx-trust__ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--apple-blue-soft);
  color: var(--apple-blue);
}

.dw-store .sx-trust strong {
  color: var(--apple-text);
  font-size: 0.96rem;
  letter-spacing: -0.015em;
}

.dw-store .sx-trust span,
.dw-store .sx-trust li div > span {
  color: var(--apple-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.dw-store .apple-store__support {
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.dw-store .sx-store__sec,
.dw-store .apple-brands {
  padding-block: clamp(2.8rem, 6vw, 4.8rem);
}

.dw-store .sx-teasers {
  gap: 1.15rem;
}

.dw-store .sx-teaser {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--apple-radius-lg);
  background: var(--apple-surface);
  box-shadow: var(--apple-shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.dw-store .sx-teaser:hover {
  transform: translateY(-3px);
  box-shadow: var(--apple-shadow-md);
}

.dw-store .sx-teaser__body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.dw-store .sx-teaser__body time {
  color: var(--apple-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.dw-store .sx-teaser__body h3 {
  color: var(--apple-text);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.dw-store .sx-teaser__body p {
  color: var(--apple-muted);
}

.apple-brands__head {
  margin-bottom: 1.35rem;
}

.apple-brands__head .dw-title {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.04em;
}

.dw-store .sx-brands {
  gap: 0.7rem;
}

.dw-store .sx-brands li {
  min-height: 58px;
  padding: 0.8rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--apple-shadow-sm);
}

.dw-store .sx-brands img {
  max-height: 30px;
  filter: grayscale(1);
  opacity: 0.72;
}

.dw-store .sx-empty {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  border: 0;
  border-radius: var(--apple-radius-xl);
  background: var(--apple-surface);
  box-shadow: var(--apple-shadow-sm);
}

.dw-store .sx-empty__ico {
  color: #c7c7cc;
}

.dw-store .sx-empty h2 {
  color: var(--apple-text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

.dw-store .sx-empty p {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--apple-muted);
}

.dw-store .sx-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.dw-store .sx-pagination {
  margin-top: 2.25rem;
}

.dw-store .sx-pagination a,
.dw-store .sx-pagination span {
  border-radius: 999px;
}

.apple-product-page {
  background:
    radial-gradient(circle at 88% 4%, rgba(0, 102, 204, 0.08), transparent 25rem),
    var(--apple-bg);
}

.dw-product .sx-pdp.apple-pdp {
  max-width: 1180px;
  padding-block: clamp(1.3rem, 3vw, 2.25rem) clamp(4rem, 8vw, 6.5rem);
  background: transparent;
}

.dw-product .sx-crumbs {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.dw-product .sx-crumbs ol {
  gap: 0.35rem 0.55rem;
  font-size: 0.84rem;
}

.dw-product .sx-crumbs li {
  color: var(--apple-muted);
}

.dw-product .sx-crumbs li + li::before {
  content: "›";
  color: #aeaeb2;
}

.dw-product .sx-crumbs a {
  color: var(--apple-blue);
  font-weight: 500;
}

.dw-product .sx-crumbs [aria-current="page"] {
  color: var(--apple-muted-strong);
}

.dw-product .sx-pdp__layout.apple-pdp-layout,
.dw-home.dw-product .sx-pdp__layout.apple-pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "intro"
    "media"
    "purchase"
    "details";
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: 24px;
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.apple-pdp__intro,
.apple-pdp__media,
.apple-pdp__purchase {
  min-width: 0;
}

.apple-pdp__intro { grid-area: intro; }
.apple-pdp__media { grid-area: media; }
.apple-pdp__purchase { grid-area: purchase; }

@media (min-width: 960px) {
  .dw-product .sx-pdp__layout.apple-pdp-layout,
  .dw-home.dw-product .sx-pdp__layout.apple-pdp-layout {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 360px);
    grid-template-areas:
      "intro purchase"
      "media purchase"
      "details purchase";
  }
}

.dw-product .sx-info.apple-product-info {
  max-width: 42rem;
}

.dw-product .sx-info__eyebrow {
  gap: 0.45rem;
}

.dw-product .sx-info__brand {
  color: var(--apple-blue);
  font-weight: 700;
  text-decoration: none;
}

.dw-product .sx-info__sku {
  color: var(--apple-muted);
  font-weight: 500;
}

.dw-product .sx-info__title.dw-title,
.dw-commerce .sx-info__title {
  margin: 0;
  color: var(--dw-blue-deep, #00327d);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.dw-product .sx-info__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.dw-product .sx-info__cats a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: var(--apple-surface-muted);
  color: var(--apple-muted-strong);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.dw-product .sx-info__cats a:hover {
  background: #e2e2e7;
  color: var(--apple-text);
}

.dw-product .sx-info__desc {
  max-width: 39rem;
  margin-top: 1.15rem;
  color: var(--apple-muted-strong);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.apple-product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.apple-product-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 36px;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--apple-muted-strong);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.apple-product-highlights i {
  color: var(--apple-blue);
  font-size: 0.82rem;
}

.dw-product .sx-gallery {
  width: 100%;
}

.dw-product .sx-gallery__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--apple-radius-xl);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0) 0%, rgba(242, 242, 244, 0.72) 74%),
    #fff;
  background-color: #fff;
  box-shadow: var(--apple-shadow-md);
}

.dw-product .sx-gallery__stage img,
.dw-product .sx-gallery__stage .sx-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(1.4rem, 4vw, 3rem);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.11));
}

.dw-product .sx-gallery__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.86);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dw-product .sx-gallery__thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.9rem;
  padding: 0.2rem 0.2rem 0.45rem;
  overflow-x: auto;
}

.dw-product .sx-gallery__thumb {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  overflow: hidden;
  padding: 0.35rem;
  border: 1px solid transparent;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--apple-shadow-sm);
  cursor: pointer;
}

.dw-product .sx-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dw-product .sx-gallery__thumb.is-active {
  border-color: var(--apple-text);
  box-shadow: 0 0 0 2px rgba(29, 29, 31, 0.06), var(--apple-shadow-sm);
}

.dw-product .sx-gallery__video {
  margin-top: 1rem;
}

.dw-product .sx-gallery__video .sx-btn {
  background: rgba(255, 255, 255, 0.78);
  border-color: transparent;
  color: var(--apple-text);
}

.dw-product .sx-panel.apple-buy-panel {
  overflow: hidden;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-top: 1px solid var(--dw-blue, #0044aa);
  border-radius: var(--apple-radius-lg);
  background: #fff;
  box-shadow: var(--apple-shadow-md);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

@media (min-width: 960px) and (min-height: 760px) {
  .apple-pdp__purchase {
    position: sticky;
    top: calc(var(--nav-height, 80px) + 1rem);
    align-self: start;
    max-height: calc(100vh - var(--nav-height, 80px) - 2rem);
    max-height: calc(100dvh - var(--nav-height, 80px) - 2rem);
    overflow-y: auto;
  }
}

.apple-buy-panel__header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--apple-line);
}

.dw-product .sx-panel__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 30px;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 650;
}

.dw-product .sx-panel__stock--in {
  background: var(--apple-green-soft);
  color: var(--apple-green);
}

.dw-product .sx-panel__stock--out {
  background: var(--apple-red-soft);
  color: var(--apple-red);
}

.dw-product .sx-panel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.dw-product .sx-panel__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 0;
}

.dw-product .sx-panel__price-now {
  color: var(--apple-text);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dw-product .sx-panel__price-old {
  color: var(--apple-muted);
  font-size: 0.98rem;
}

.dw-product .sx-panel__price-cur {
  flex-basis: 100%;
  color: var(--apple-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.dw-product .sx-info__discount {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--apple-red-soft);
  color: var(--apple-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.dw-product .sx-panel form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.dw-product .sx-panel__box {
  padding: 1rem;
  border: 0;
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.88);
}

.dw-product .sx-panel__box-title {
  margin-bottom: 0.95rem;
  color: var(--apple-text);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.dw-product .sx-panel__config-row {
  gap: 0.42rem;
}

.dw-product .sx-panel__config-row label,
.apple-buy-panel__quantity-label {
  color: var(--apple-muted-strong);
  font-size: 0.84rem;
  font-weight: 650;
}

.dw-product .sx-panel__number,
.dw-product .sx-stepper input {
  width: 70px;
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--apple-text);
  font-weight: 650;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--apple-line);
}

.dw-product .sx-panel__unit,
.dw-product .sx-panel__hint {
  color: var(--apple-muted);
}

.dw-product .sx-panel__total {
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--apple-line);
}

.dw-product .sx-panel__total strong {
  color: var(--apple-text);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.dw-product .sx-panel__row.apple-buy-panel__quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.dw-product .sx-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--apple-surface-muted);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.dw-product .sx-stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--apple-text);
  font-size: 1.1rem;
  cursor: pointer;
}

.dw-product .sx-stepper button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dw-product .sx-stepper input {
  width: 54px;
  min-height: 42px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.apple-buy-panel__actions {
  display: grid;
  gap: 0.6rem;
}

.dw-product .sx-panel .sx-btn {
  min-height: 50px;
  font-size: 0.96rem;
}

.dw-product .sx-panel__wa-link {
  justify-content: center;
  width: 100%;
  margin-top: 0;
  color: var(--apple-blue);
  font-weight: 600;
  text-decoration: none;
}

.dw-product .sx-panel__wa-link:hover {
  color: var(--apple-blue-hover);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.apple-buy-panel__assurance {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--apple-line);
}

.dw-product .sx-panel__pay {
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  padding-top: 0;
  border-top: 0;
}

.dw-product .sx-panel__pay-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.24rem 0.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--apple-surface-muted);
  color: var(--apple-muted-strong);
  font-size: 0.76rem;
  font-weight: 700;
}

.dw-product .sx-panel__secure {
  margin-bottom: 0.85rem;
  color: var(--apple-muted);
  font-size: 0.82rem;
}

.dw-product .sx-panel__ship {
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border-top: 0;
}

.dw-product .sx-panel__ship li {
  color: var(--apple-muted-strong);
  font-size: 0.85rem;
  line-height: 1.45;
}

.dw-product .sx-panel__ship i {
  color: var(--apple-blue);
}

.dw-product .sx-panel__share {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top-color: var(--apple-line);
}

.dw-product .sx-panel__share span {
  color: var(--apple-muted);
  font-size: 0.8rem;
}

.dw-product .sx-panel__share a {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--apple-surface-muted);
  color: var(--apple-muted-strong);
}

.dw-product .sx-panel__share a:hover {
  background: var(--apple-text);
  border-color: var(--apple-text);
  color: #fff;
}

.dw-product .sx-pdp__details.apple-pdp-details {
  display: block;
  grid-area: details;
  min-width: 0;
  margin-bottom: 0;
}

.apple-pdp-details__header {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.apple-pdp-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.dw-product .sx-pdp__desc-card,
.dw-product .sx-pdp__specs-card {
  height: 100%;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--apple-radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--apple-shadow-sm);
}

.dw-product .sx-pdp__details-title {
  color: var(--apple-text);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.dw-product .sx-pdp__desc-card .trix-content {
  color: var(--apple-muted-strong);
  font-size: 1rem;
  line-height: 1.68;
}

.dw-product .sx-specs__row {
  grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.78rem 0;
  border-top-color: var(--apple-line);
}

.dw-product .sx-specs dt {
  color: var(--apple-muted);
  font-weight: 600;
}

.dw-product .sx-specs dd {
  color: var(--apple-text);
  font-weight: 550;
}

.apple-related {
  padding-top: clamp(0.5rem, 2vw, 1rem);
}

.dw-product .apple-related .sx-car__viewport {
  padding: 0.2rem;
  margin: -0.2rem;
}

.dw-product .apple-related .sx-car__slide {
  padding: 0.45rem;
}

.dw-product .apple-related .sx-car__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.88);
  color: var(--apple-text);
  box-shadow: var(--apple-shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dw-product .apple-related .sx-car__arrow:hover {
  background: var(--apple-text);
  border-color: var(--apple-text);
  color: #fff;
}

.dw-product .apple-related .sx-pcard__media {
  aspect-ratio: 1 / 1;
}

@media (max-width: 959px) {
  .apple-store-hero {
    padding-top: 3.8rem;
  }

  .apple-store-hero__panel {
    width: 100%;
  }

  .apple-toolbar__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .apple-section-heading--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .dw-product .sx-gallery__stage {
    border-radius: 28px;
  }
}

@media (max-width: 639px) {
  .apple-store-hero {
    padding-bottom: 5.4rem;
  }

  .dw-store .dw-store__intro-title,
  .apple-store-hero .dw-store__intro-title {
    font-size: clamp(3.6rem, 19vw, 5.4rem);
  }

  .apple-store-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .apple-store-hero__actions .sx-btn,
  .apple-store-hero__actions .apple-text-link {
    justify-content: center;
    width: 100%;
  }

  .apple-store-search {
    margin-top: -2.65rem;
  }

  .dw-store .sx-searchbar {
    min-height: 58px;
    padding-left: 1rem;
  }

  .dw-store .sx-searchbar__input {
    min-height: 48px;
    font-size: 0.96rem;
  }

  .dw-store .sx-searchbar__btn {
    width: 48px;
    height: 48px;
  }

  .dw-store .sx-toolbar {
    top: calc(var(--nav-height, 64px) + 0.4rem);
    margin-inline: -0.15rem;
    padding: 0.65rem;
    border-radius: 20px;
  }

  .dw-store .sx-toolbar__meta {
    justify-content: flex-end;
  }

  .dw-store .sx-toolbar__tools {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .dw-store .sx-sort {
    flex: 1;
  }

  .dw-store .sx-sort__select {
    width: 100%;
  }

  .dw-product .sx-info__title.dw-title,
  .dw-commerce .sx-info__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .dw-product .sx-panel__row.apple-buy-panel__quantity {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .dw-product .sx-stepper {
    width: 100%;
    justify-content: space-between;
  }

  .dw-product .sx-stepper input {
    flex: 1;
  }

  .dw-product .sx-specs__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.18rem;
  }
}

@media (min-width: 960px) {
  .apple-store-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
    gap: clamp(2rem, 6vw, 5rem);
  }

  .apple-store-hero__panel {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dw-store *,
  .dw-product * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .dw-store .sx-pcard:hover,
  .dw-product .sx-pcard:hover,
  .dw-store .sx-teaser:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   Checkout (orders/new) — estilo Apple
--------------------------------------------------------------------------- */
.dw-checkout {
  min-height: 70vh;
  padding: clamp(6rem, 12vh, 8.5rem) 1.25rem clamp(3rem, 8vh, 5rem);
}

.dw-checkout .sx-btn--primary:hover { background: var(--apple-blue-hover); }
.dw-checkout .sx-btn--secondary:hover { border-color: var(--apple-blue); color: var(--apple-blue); }

.apple-checkout {
  width: min(100%, 44rem);
  margin-inline: auto;
}

.apple-checkout__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  color: var(--apple-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apple-checkout__title {
  margin: 0;
  color: var(--apple-text);
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.apple-checkout__lead {
  margin: 0.8rem 0 2.25rem;
  color: var(--apple-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.apple-checkout__card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--apple-line);
  border-radius: var(--apple-radius-lg);
  background: var(--apple-surface);
  box-shadow: var(--apple-shadow-sm);
}

.apple-checkout__card + .apple-checkout__card,
.apple-checkout__card + form .apple-checkout__card {
  margin-top: 1.5rem;
}

.apple-checkout__card-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.apple-checkout__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--apple-muted-strong);
}

.apple-checkout__total {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--apple-line);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--apple-text);
}

.apple-checkout__alert {
  padding: 1rem 1.15rem;
  border-radius: var(--apple-radius-md);
  font-size: 0.875rem;
  line-height: 1.5;
}

.apple-checkout__alert--error {
  border: 1px solid rgba(201, 31, 38, 0.28);
  background: var(--apple-red-soft);
  color: var(--apple-red);
}

.apple-checkout__alert--warn {
  border: 1px solid rgba(180, 130, 20, 0.3);
  background: rgba(255, 214, 10, 0.12);
  color: #7a5b00;
}

.apple-checkout .field {
  margin-bottom: 1.1rem;
}

.apple-checkout .field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--apple-muted-strong);
}

.apple-checkout .field input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--apple-line-strong);
  border-radius: 12px;
  background: var(--apple-surface);
  color: var(--apple-text);
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.apple-checkout .field input:focus {
  outline: none;
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 4px var(--apple-blue-soft);
}

.apple-checkout__pay-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--apple-line-strong);
  border-radius: var(--apple-radius-md);
  background: var(--apple-surface);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.apple-checkout__pay-option:hover,
.apple-checkout__pay-option:has(input:checked) {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 4px var(--apple-blue-soft);
}

.apple-checkout__pay-option input { accent-color: var(--apple-blue); }

.apple-checkout__pay-option strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--apple-text);
}

.apple-checkout__pay-option small {
  display: block;
  font-size: 0.82rem;
  color: var(--apple-muted);
}

.apple-checkout__panel {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--apple-line);
  border-radius: var(--apple-radius-md);
  background: var(--apple-surface-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--apple-muted-strong);
}

.apple-checkout__panel h4 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--apple-text);
}

.apple-checkout__panel p { margin: 0; }

.apple-checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.apple-checkout__actions .sx-btn {
  flex: 1;
  min-width: 190px;
  text-align: center;
}

.apple-checkout__btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 1.45rem;
  border: none;
  border-radius: 980px;
  background: #25d366;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.apple-checkout__btn-whatsapp:hover { background: #1eb85a; }

@media (prefers-reduced-motion: reduce) {
  .dw-checkout * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
