/*
 * PandaVault Direct — lightweight Apple Store-inspired presentation layer.
 * Business behavior stays in app.js; this file only reshapes the visual shell.
 */

:root {
  color-scheme: light;
  --pv-canvas: #f5f5f7;
  --pv-surface: #ffffff;
  --pv-surface-soft: #fbfbfd;
  --pv-ink: #1d1d1f;
  --pv-muted: #6e6e73;
  --pv-subtle: #86868b;
  --pv-line: #d2d2d7;
  --pv-line-soft: #e8e8ed;
  --pv-accent: #f28c18;
  --pv-accent-strong: #d96e00;
  --pv-accent-soft: #fff4e5;
  --pv-link: #0066cc;
  --pv-success: #248a3d;
  --pv-danger: #c9342f;
  --pv-radius-sm: 12px;
  --pv-radius-md: 18px;
  --pv-radius-lg: 28px;
  --pv-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --pv-shell: min(1180px, calc(100% - 40px));
}

html {
  background: var(--pv-canvas);
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  background: var(--pv-canvas);
  color: var(--pv-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

::selection {
  background: #ffd9aa;
  color: var(--pv-ink);
}

a {
  color: var(--pv-link);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.45);
  outline-offset: 3px;
}

.skip-link {
  background: var(--pv-ink);
  color: #fff;
  border-radius: 0 0 var(--pv-radius-sm) var(--pv-radius-sm);
}

.announcement {
  min-height: 38px;
  padding: 8px 20px;
  border: 0;
  background: var(--pv-surface);
  color: var(--pv-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.announcement-detail {
  color: var(--pv-subtle);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: var(--pv-ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  width: var(--pv-shell);
  min-height: 58px;
  margin: 0 auto;
}

.brand,
.header-nav a,
.header-actions a,
.catalog-trigger,
.icon-button {
  color: var(--pv-ink);
}

.brand {
  gap: 9px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 9px;
}

.catalog-trigger,
.icon-button,
.language-select {
  border-color: transparent;
  background: transparent;
}

.catalog-trigger:hover,
.icon-button:hover,
.language-select:hover,
.header-nav a:hover {
  border-color: transparent;
  background: #f2f2f4;
  color: var(--pv-ink);
}

.language-select {
  color: var(--pv-ink);
}

.cart-count {
  background: var(--pv-accent);
  color: #fff;
}

.catalog-backdrop {
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.catalog-drawer {
  border-color: var(--pv-line-soft);
  background: var(--pv-surface);
  color: var(--pv-ink);
  box-shadow: var(--pv-shadow);
}

.catalog-drawer a,
.catalog-drawer button,
.catalog-drawer summary {
  color: var(--pv-ink);
}

.catalog-drawer-header .catalog-close-button {
  border-color: var(--pv-line-soft);
  background: var(--pv-surface-soft);
  color: var(--pv-ink);
}

.catalog-drawer-header .catalog-close-button:hover {
  border-color: var(--pv-line);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

main,
#app {
  color: var(--pv-ink);
}

.store-landing,
.hero,
.section,
.trust-bar {
  width: 100%;
}

.store-landing {
  padding: 34px 0 28px;
  background: var(--pv-canvas);
}

.store-intro {
  width: var(--pv-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(168px, 0.28fr) minmax(0, 1fr) minmax(250px, 0.38fr);
  align-items: center;
  gap: 34px;
}

.store-brand-mark {
  width: min(100%, 220px);
  aspect-ratio: 1;
  padding: 8px;
  display: grid;
  place-items: center;
  border: 1px solid #27282c;
  border-radius: 34px;
  background: #08090b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.store-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 26px;
  object-fit: cover;
}

.store-intro .eyebrow {
  margin-bottom: 10px;
}

.store-intro h1 {
  max-width: 720px;
  margin: 0;
  color: var(--pv-subtle);
  font-size: clamp(2.5rem, 4.7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.store-intro h1 span {
  display: block;
  color: var(--pv-ink);
}

.store-assist {
  display: grid;
  gap: 0;
  padding: 4px 18px;
  border: 1px solid var(--pv-line-soft);
  border-radius: 22px;
  background: var(--pv-surface);
}

.store-assist a {
  display: grid;
  gap: 3px;
  padding: 15px 0;
  color: var(--pv-ink);
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.store-assist a + a {
  border-top: 1px solid var(--pv-line-soft);
}

.store-assist a span {
  color: var(--pv-link);
}

.store-rail {
  width: var(--pv-shell);
  margin: 26px auto 0;
  padding: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.store-rail::-webkit-scrollbar {
  display: none;
}

.store-rail a {
  min-width: 0;
  min-height: 104px;
  padding: 17px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--pv-line-soft);
  border-radius: 20px;
  background: var(--pv-surface);
  color: var(--pv-ink);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.025);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.store-rail a:hover {
  border-color: #d0d0d5;
  background: var(--pv-surface);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.store-rail a:focus-visible {
  outline: 3px solid rgba(179, 102, 22, 0.22);
  outline-offset: 3px;
}

.store-rail-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #efd8b8;
  border-radius: 17px;
  background: #fff8ef;
  color: var(--pv-ink);
}

.store-rail-icon.new {
  border-color: #d9ddec;
  background: #f5f6fb;
}

.store-rail-icon.proof {
  border-color: #d4e4d9;
  background: #f3f8f4;
}

.store-rail-icon.order {
  border-color: #ded9e8;
  background: #f7f4fa;
}

.store-rail-icon img {
  width: 27px;
  height: 27px;
  display: block;
}

.store-rail-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.store-rail strong {
  font-size: 15px;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.store-rail small {
  color: var(--pv-muted);
  font-size: 12px;
}

.store-rail-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pv-surface-soft);
  opacity: 0.62;
  transition: opacity 180ms ease, transform 180ms ease;
}

.store-rail-arrow img {
  width: 16px;
  height: 16px;
}

.store-rail a:hover .store-rail-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.hero {
  padding: 16px 0 30px;
  overflow: visible;
  background: var(--pv-canvas);
  color: var(--pv-ink);
}

.hero-inner {
  width: var(--pv-shell);
  min-height: 470px;
  margin: 0 auto;
  padding: 46px;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 42px;
  overflow: hidden;
  border-radius: var(--pv-radius-lg);
  background: var(--pv-surface);
  box-shadow: var(--pv-shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 30px;
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy h2 span {
  display: block;
  color: var(--pv-accent-strong);
}

.hero-copy .eyebrow.green,
.eyebrow {
  color: var(--pv-accent-strong);
  font-family: inherit;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero-copy .lede {
  max-width: 580px;
  color: var(--pv-muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-search {
  max-width: 620px;
  margin-top: 28px;
  padding: 6px;
  border-color: var(--pv-line);
  border-radius: 999px;
  background: var(--pv-canvas);
}

.hero-search input {
  border: 0;
  background: transparent;
  color: var(--pv-ink);
}

.hero-search .button {
  border-color: var(--pv-ink);
  background: var(--pv-ink);
  color: #fff;
}

.hero-product-spotlight {
  min-width: 0;
  height: 100%;
  padding: 28px;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 24px;
  background: #f2f2f4;
  color: var(--pv-ink);
  text-decoration: none;
}

.hero-product-spotlight img {
  width: 100%;
  height: min(32vw, 360px);
  object-fit: contain;
}

.spotlight-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.spotlight-copy span,
.spotlight-copy small {
  color: var(--pv-muted);
  font-size: 12px;
}

.spotlight-copy strong {
  max-width: 30ch;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
}

.spotlight-link {
  color: var(--pv-link);
  font-size: 13px;
  font-weight: 650;
}

.trust-bar {
  padding: 42px 0 28px;
  background: var(--pv-canvas);
  color: var(--pv-ink);
}

.trust-shell {
  width: var(--pv-shell);
  margin: 0 auto;
}

.trust-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.trust-heading p,
.trust-heading h2 {
  margin: 0;
}

.trust-heading h2 {
  max-width: 680px;
  margin-top: 7px;
  color: var(--pv-ink);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.trust-grid {
  width: 100%;
  min-height: 0;
  padding: 2px 1px 20px;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 24px) / 3));
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.trust-grid::-webkit-scrollbar {
  display: none;
}

.trust-item {
  min-height: 118px;
  padding: 24px;
  border: 1px solid var(--pv-line-soft);
  border-radius: var(--pv-radius-md);
  background: var(--pv-surface);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 360ms ease, translate 360ms ease;
}

.trust-item:hover {
  border-color: #d0d0d5;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.055);
}

.trust-grid.motion-ready > .trust-item {
  opacity: 0;
  translate: 0 10px;
}

.trust-grid.motion-ready > .trust-item.is-visible {
  opacity: 1;
  translate: 0 0;
}

.trust-number {
  color: var(--pv-accent-strong);
}

.trust-item small {
  color: var(--pv-muted);
}

.section {
  width: var(--pv-shell);
  margin: 0 auto;
  padding: 62px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 780px;
}

.section-heading h2,
.page-header h1 {
  color: var(--pv-ink);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.text-link {
  color: var(--pv-link);
}

.product-grid {
  gap: 18px;
}

.product-carousel {
  padding: 4px 2px 28px;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, calc((100% - 54px) / 4), 294px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-carousel > .product-card {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.product-carousel.motion-ready > .product-card {
  opacity: 0;
  translate: 0 14px;
}

.product-carousel.motion-ready > .product-card.is-visible {
  opacity: 1;
  translate: 0 0;
  transition: opacity 420ms ease calc(var(--reveal-index, 0) * 55ms),
    translate 420ms ease calc(var(--reveal-index, 0) * 55ms),
    box-shadow 160ms ease,
    transform 160ms ease;
}

.product-rail-heading {
  gap: 24px;
}

.product-rail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.rail-buttons {
  display: flex;
  gap: 8px;
}

.rail-buttons button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--pv-line);
  border-radius: 50%;
  background: var(--pv-surface);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.rail-buttons button:hover:not(:disabled) {
  border-color: var(--pv-ink);
  background: var(--pv-surface-soft);
}

.rail-buttons button:focus-visible {
  outline: 3px solid rgba(179, 102, 22, 0.22);
  outline-offset: 2px;
}

.rail-buttons button:disabled {
  cursor: default;
  opacity: 0.28;
}

.rail-buttons img {
  width: 19px;
  height: 19px;
}

.rail-progress {
  height: 3px;
  margin-top: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #dedee3;
}

.rail-progress span {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--pv-accent-strong);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

.product-card {
  border-color: transparent;
  border-radius: var(--pv-radius-md);
  background: var(--pv-surface);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

.product-image {
  aspect-ratio: 1 / 0.86;
  background: #f2f2f4;
}

.product-image img {
  padding: 20px;
  transition: none;
}

.product-card:hover .product-image img {
  transform: none;
}

.badge {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pv-ink);
}

.product-body {
  padding: 18px;
}

.product-kicker,
.mono {
  font-family: inherit;
}

.product-kicker {
  color: var(--pv-muted);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.warehouse-chip {
  border-radius: 999px;
}

.product-proof-rail {
  margin: 3px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-proof-rail span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--pv-muted);
  font-size: 9px;
  font-weight: 600;
}

.product-proof-rail span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pv-success);
  content: "";
}

.product-body h3 {
  color: var(--pv-ink);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.product-price {
  color: var(--pv-ink);
  font-weight: 650;
}

.product-price small {
  color: var(--pv-muted);
}

.round-arrow {
  border-color: var(--pv-line-soft);
  background: var(--pv-surface-soft);
  color: var(--pv-link);
}

.fulfillment-grid {
  gap: 16px;
}

.fulfillment-card,
.info-card,
.empty-state,
.checkout-card,
.summary-card,
.order-card,
.qc-card,
.how-step,
.auth-card,
.account-gate,
.cart-lines {
  border-color: var(--pv-line-soft);
  border-radius: var(--pv-radius-md);
  background: var(--pv-surface);
  box-shadow: none;
}

.fulfillment-card {
  min-height: 230px;
}

.fulfillment-card .big-number,
.proof-index {
  color: var(--pv-accent-strong);
  font-family: inherit;
}

.page-shell {
  padding: 62px 0 96px;
}

.page-header {
  margin-bottom: 36px;
}

.page-header .lede,
.detail-subtitle,
.privacy-note,
.result-summary {
  color: var(--pv-muted);
}

.filters {
  border-color: var(--pv-line-soft);
  border-radius: var(--pv-radius-md);
  background: var(--pv-surface);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);
}

.button-dark,
.button,
.detail-actions .button {
  border-color: var(--pv-ink);
  border-radius: 999px;
  background: var(--pv-ink);
  color: #fff;
  box-shadow: none;
}

.button-dark:hover,
.button:hover,
.detail-actions .button:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.button-secondary,
.auth-back {
  border-color: var(--pv-line);
  border-radius: 999px;
  background: var(--pv-surface);
  color: var(--pv-ink);
}

.detail-grid {
  gap: 64px;
}

.detail-media {
  border-radius: var(--pv-radius-lg);
  background: #eeeeF0;
}

.detail-copy h1 {
  color: var(--pv-ink);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.detail-price {
  color: var(--pv-ink);
  font-weight: 650;
}

.landed-note,
.demo-banner,
.international-quote {
  border-color: #f3d4a8;
  border-radius: var(--pv-radius-sm);
  background: var(--pv-accent-soft);
  color: #74420c;
}

.size-option span {
  border-color: var(--pv-line);
  border-radius: var(--pv-radius-sm);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

.size-option input:checked + span {
  border-color: var(--pv-ink);
  background: var(--pv-ink);
  color: #fff;
}

.detail-facts {
  border-color: var(--pv-line-soft);
}

.proof-strip {
  gap: 14px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.proof-card {
  min-height: 230px;
  border: 1px solid var(--pv-line-soft);
  border-radius: var(--pv-radius-md);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

.proof-card p {
  color: var(--pv-muted);
}

.summary-card {
  position: sticky;
  top: 86px;
}

.status-pill {
  border-color: #cce9d4;
  background: #effaf2;
  color: var(--pv-success);
}

.status-pill.saved {
  border-color: #d8e5f7;
  background: #f1f6fd;
  color: #245b9c;
}

.status-pill.acknowledged {
  border-color: #cce9d4;
  background: #effaf2;
  color: var(--pv-success);
}

.status-pill.pending {
  border-color: #f1d5a9;
  background: #fff7e9;
  color: #82500f;
}

.status-pill.cancelled {
  border-color: #dedee3;
  background: var(--pv-surface-soft);
  color: var(--pv-muted);
}

.timeline li::before {
  box-shadow: none;
}

.order-lifecycle li {
  min-height: 58px;
}

.order-lifecycle li strong,
.order-lifecycle li small {
  display: block;
}

.order-lifecycle li strong {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
}

.order-lifecycle li small {
  margin-top: 4px;
  color: var(--pv-muted);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.45;
}

.order-lifecycle li.cancelled::before {
  background: #77777e;
  box-shadow: 0 0 0 1px #77777e;
}

.order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  margin: 4px 0 18px;
}

.order-cancel-button {
  min-height: 42px;
  margin-left: auto;
  padding-inline: 18px;
}

.order-cancel-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.order-action-error {
  max-width: 620px;
  margin: 0;
  color: #9b2c2c;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .order-card header,
  .qc-card header,
  .order-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-card .status-pill {
    align-self: flex-start;
  }

  .order-cancel-button {
    width: 100%;
    margin-left: 0;
  }
}

.auth-shell,
.account-gate-shell {
  min-height: 70vh;
}

.auth-card,
.account-gate {
  box-shadow: var(--pv-shadow);
}

.how-grid {
  align-items: start;
}

.page-shell,
.page-section,
.footer-inner {
  width: var(--pv-shell);
}

.site-footer {
  border-top: 1px solid var(--pv-line-soft);
  background: var(--pv-surface-soft);
  color: var(--pv-muted);
}

.site-footer a {
  color: var(--pv-ink);
}

.button,
button.button,
.primary-button,
.secondary-button {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.button.primary,
.primary-button,
button.primary-button {
  border-color: var(--pv-ink);
  background: var(--pv-ink);
  color: #fff;
}

.button.primary:hover,
.primary-button:hover,
button.primary-button:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.button.secondary,
.secondary-button,
button.secondary-button {
  border-color: var(--pv-line);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

.button.secondary:hover,
.secondary-button:hover,
button.secondary-button:hover {
  border-color: var(--pv-ink);
  background: var(--pv-surface);
  color: var(--pv-ink);
}

input,
select,
textarea,
.field-input {
  border-color: var(--pv-line);
  border-radius: var(--pv-radius-sm);
  background: var(--pv-surface);
  color: var(--pv-ink);
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--pv-subtle);
}

.mobile-nav {
  border-top: 1px solid var(--pv-line-soft);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mobile-nav a {
  color: var(--pv-muted);
}

.mobile-nav a.active,
.mobile-nav a[aria-current="page"] {
  background: var(--pv-surface-soft);
  color: var(--pv-ink);
}

.support-fab {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--pv-surface);
  color: var(--pv-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 720px) {
  :root {
    --pv-shell: min(100% - 28px, 1180px);
    --pv-radius-lg: 22px;
  }

  .announcement {
    padding-inline: 14px;
  }

  .announcement-detail {
    display: none;
  }

  .header-inner {
    min-height: 52px;
  }

  .chat-launcher {
    width: 52px;
    min-width: 52px;
    padding: 0;
    justify-content: center;
  }

  .chat-launcher-label {
    display: none;
  }

  .cart-page {
    padding-bottom: calc(140px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 960px) {
  .store-intro {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
  }

  .store-assist {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-assist a + a {
    padding-left: 18px;
    border-top: 0;
    border-left: 1px solid var(--pv-line-soft);
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    align-self: auto;
    padding-top: 0;
  }

  .hero-product-spotlight img {
    height: min(54vw, 420px);
  }

  .detail-grid {
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .store-landing {
    padding: 24px 0 18px;
  }

  .store-intro {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 17px;
  }

  .store-brand-mark {
    border-radius: 24px;
  }

  .store-brand-mark img {
    border-radius: 18px;
  }

  .store-intro h1 {
    font-size: clamp(1.65rem, 7.6vw, 3rem);
  }

  .store-assist {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 2px 16px;
  }

  .store-assist a + a {
    padding-left: 0;
    border-top: 1px solid var(--pv-line-soft);
    border-left: 0;
  }

  .store-rail {
    width: calc(100% - 14px);
    margin-top: 18px;
    padding-left: 14px;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 78vw);
  }

  .store-rail a {
    min-height: 98px;
    padding: 14px;
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }

  .store-rail-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-inner {
    width: calc(100% - 20px);
    padding: 28px 20px 20px;
    gap: 28px;
    border-radius: 24px;
  }

  .hero-copy h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-copy .lede {
    font-size: 15px;
  }

  .hero-search {
    align-items: stretch;
    border-radius: 18px;
  }

  .hero-search .button {
    min-width: 104px;
    padding-inline: 14px;
  }

  .hero-product-spotlight {
    min-height: 380px;
    padding: 22px;
  }

  .hero-product-spotlight img {
    height: min(68vw, 310px);
  }

  .trust-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(260px, 84vw);
  }

  .trust-item {
    min-height: 112px;
  }

  .trust-heading {
    align-items: flex-end;
  }

  .trust-heading h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 46px 0;
  }

  .section-heading {
    align-items: end;
  }

  .section-heading h2 {
    font-size: 2.35rem;
  }

  .product-grid,
  .fulfillment-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .product-carousel {
    grid-template-columns: none;
    grid-auto-columns: minmax(250px, 82vw);
  }

  .product-rail-heading {
    align-items: flex-end;
  }

  .product-rail-actions .text-link {
    display: none;
  }

  .product-card:hover {
    transform: none;
  }

  .page-shell {
    padding-top: 42px;
  }

  .detail-media {
    min-height: 360px;
  }

  .detail-copy {
    position: static;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 360px) {
  .store-intro {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .store-brand-mark {
    padding: 6px;
  }
}

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