/* Eplanet theme — Stitch design system tokens */

:root {
  --surface: #f8f9ff;
  --surface-dim: #ccdbf2;
  --surface-bright: #f8f9ff;
  --surface-lowest: #ffffff;
  --surface-low: #eef4ff;
  --surface-container: #e5efff;
  --surface-high: #dbe9ff;
  --surface-highest: #d4e4fa;
  --surface-container-low: var(--surface-low);
  --surface-container-high: var(--surface-high);
  --surface-container-highest: var(--surface-highest);
  --on-surface: #0d1c2d;
  --on-surface-variant: #3d494c;
  --outline: #6d797d;
  --outline-variant: #bcc9cd;
  --primary: #00687a;
  --on-primary: #ffffff;
  --primary-container: #06b6d4;
  --on-primary-container: #00424f;
  --primary-fixed-dim: #4cd7f6;
  --secondary: #9d4300;
  --secondary-container: #fd761a;
  --on-secondary-container: #5c2400;
  --tertiary: #006c49;
  --tertiary-container: #1bbd85;
  --error: #ba1a1a;
  --background: #f8f9ff;
  --on-background: #0d1c2d;
  --canvas: #f8fafc;
  --slate-dark: #334155;
  --slate-cool: #64748b;
  --slate-muted: #94a3b8;
  --border: #cbd5e1;
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --gutter: 1.5rem;
  --margin: 3rem;
  --margin-mobile: 1rem;
  --max-w: 1280px;
  --header-h: 5rem;
  --announce-h: 2.25rem;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-label: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.57;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 600; }

.material-symbols-outlined {
  font-family: "Material Symbols Outlined", sans-serif !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  user-select: none;
}

.eplanet-container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}
@media (min-width: 1024px) {
  .eplanet-container { padding-inline: var(--margin); }
}

.eplanet-main {
  min-height: 60vh;
  padding-top: calc(var(--header-h) + var(--announce-h));
}
body.eplanet-checkout-slim .eplanet-main { padding-top: 4.5rem; }
body:not(.eplanet-home) .eplanet-announce { display: none; }
body:not(.eplanet-home) .eplanet-main { padding-top: var(--header-h); }

/* Typography helpers */
.font-display-hero { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 44px; letter-spacing: -0.02em; }
@media (min-width: 1024px) {
  .font-display-hero { font-size: 56px; line-height: 64px; letter-spacing: -0.03em; }
}
.font-headline-lg { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 36px; }
@media (min-width: 1024px) {
  .font-headline-lg { font-size: 40px; line-height: 48px; }
}
.font-headline-md { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 32px; }
.font-headline-sm { font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 26px; }
.font-title-card { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 22px; }
.font-body-lg { font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 26px; }
.font-body-md { font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 22px; }
.font-body-sm { font-family: var(--font-body); font-size: 12px; font-weight: 400; line-height: 18px; }
.font-price { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 24px; letter-spacing: -0.02em; }
.font-label-spec { font-family: var(--font-label); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.font-label-action { font-family: var(--font-label); font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: 0.02em; }

.text-primary { color: var(--primary); }
.text-muted { color: var(--on-surface-variant); }
.text-slate { color: var(--slate-cool); }
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--primary-fixed-dim), var(--secondary-container));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 0 24px rgba(76, 215, 246, 0.35);
}
.btn-primary:hover { background: #0891b2; box-shadow: 0 0 32px rgba(76, 215, 246, 0.55); }
.btn-secondary {
  background: var(--surface-high);
  color: var(--on-surface);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary-container); background: var(--surface-highest); color: var(--primary); }
.btn-deal { background: var(--secondary-container); color: #fff; }
.btn-deal:hover { background: #ea580c; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.5rem 0.875rem; border-radius: var(--radius); }

/* Icon button */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--surface-high); color: var(--on-surface); }

.eplanet-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.eplanet-badge--cart { background: var(--primary-container); color: var(--on-primary-container); }
.eplanet-badge--wish { background: var(--secondary-container); color: var(--on-secondary-container); }

/* Announcement */
.eplanet-announce {
  background: var(--surface-lowest);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 12px;
}
.eplanet-announce__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-xs);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}
@media (min-width: 1024px) {
  .eplanet-announce__inner { padding-inline: var(--margin); }
}
.pill-deal {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill-hot {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Header */
.eplanet-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
body.eplanet-home .eplanet-header__bar { top: var(--announce-h); }
.eplanet-header__bar {
  position: relative;
  height: var(--header-h);
  background: rgba(238, 244, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.12);
}
.eplanet-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}
@media (min-width: 1024px) {
  .eplanet-header__inner { padding-inline: var(--margin); }
}
.eplanet-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}
.eplanet-brand img { height: 32px; width: auto; }
.eplanet-brand__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: none;
}
@media (min-width: 1280px) {
  .eplanet-brand__name { display: inline; }
}
.eplanet-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) {
  .eplanet-nav { display: flex; }
}
.eplanet-nav a {
  padding: 8px;
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-variant);
  transition: all 0.15s;
}
.eplanet-nav a:hover,
.eplanet-nav a.is-active {
  background: var(--surface-highest);
  color: var(--primary);
  font-weight: 700;
}
.eplanet-search {
  position: relative;
  flex: 1;
  max-width: 20rem;
  display: none;
}
@media (min-width: 768px) {
  .eplanet-search { display: block; }
}
.eplanet-search input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: none;
  border-radius: var(--radius);
  background: var(--surface-lowest);
  outline: none;
}
.eplanet-search input:focus { box-shadow: 0 0 0 1px var(--primary); }
.eplanet-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--outline);
  font-size: 18px;
  pointer-events: none;
}
.eplanet-search__results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  overflow: hidden;
  z-index: 50;
}
.eplanet-search__results.is-open { display: block; }
.eplanet-search__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--surface-container);
}
.eplanet-search__item:hover { background: var(--surface-low); }
.eplanet-search__item img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); }
.eplanet-header__actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.eplanet-mobile-search-toggle { display: inline-flex; }
@media (min-width: 768px) {
  .eplanet-mobile-search-toggle { display: none; }
}
.eplanet-mobile-nav-toggle { display: inline-flex; }
@media (min-width: 1024px) {
  .eplanet-mobile-nav-toggle { display: none; }
}

/* Mobile drawer */
.eplanet-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.eplanet-drawer.is-open { visibility: visible; pointer-events: auto; }
.eplanet-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 45, 0.4);
  opacity: 0;
  transition: opacity 0.25s;
}
.eplanet-drawer.is-open .eplanet-drawer__backdrop { opacity: 1; }
.eplanet-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  padding: var(--space-lg);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.eplanet-drawer.is-open .eplanet-drawer__panel { transform: translateX(0); }
.eplanet-drawer__panel nav { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-lg); }
.eplanet-drawer__panel nav a {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  font-weight: 600;
}
.eplanet-drawer__panel nav a.is-active { background: var(--surface-highest); color: var(--primary); }

/* Slim checkout header */
.eplanet-checkout-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 4.5rem;
  background: var(--surface-lowest);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.eplanet-checkout-header__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .eplanet-checkout-header__inner { padding-inline: var(--margin); }
}
.eplanet-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tertiary);
  font-size: 12px;
  font-weight: 600;
}

/* Footer */
.eplanet-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xl);
}
.eplanet-footer a { color: #94a3b8; }
.eplanet-footer a:hover { color: var(--primary-fixed-dim); }
.eplanet-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .eplanet-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.eplanet-footer__brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.eplanet-footer__social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.eplanet-footer__social a {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid #334155;
  display: inline-flex; align-items: center; justify-content: center;
}
.eplanet-footer h4 {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-md);
}
.eplanet-footer ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.eplanet-footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}
.payment-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-chips span {
  padding: 4px 8px;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}

/* Chat FAB */
.eplanet-chat-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  border: none;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.eplanet-chat-fab:hover { transform: scale(1.05); box-shadow: 0 12px 28px rgba(6, 182, 212, 0.5); }
body.eplanet-checkout-slim .eplanet-chat-fab,
body.woocommerce-account.logged-out .eplanet-chat-fab.hide-on-auth { display: none; }

/* Toast */
.eplanet-toast-stack {
  position: fixed;
  top: 6rem;
  right: 1rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 360px;
}
.eplanet-toast {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  font-size: 14px;
  animation: toast-in 0.25s ease;
}
.eplanet-toast--success { border-left: 3px solid var(--tertiary-container); }
.eplanet-toast--error { border-left: 3px solid var(--error); }
.eplanet-toast--warning { border-left: 3px solid var(--secondary-container); }
.eplanet-toast--info { border-left: 3px solid var(--primary-container); }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Confirm dialog */
.eplanet-dialog {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.eplanet-dialog.is-open { display: flex; }
.eplanet-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 45, 0.45);
}
.eplanet-dialog__panel {
  position: relative;
  width: min(400px, 100%);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}
.eplanet-dialog__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
  margin-top: var(--space-lg);
}
.btn-danger { background: var(--error); color: #fff; }

/* Sections */
.section { padding-block: var(--space-xl); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.section-eyebrow {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Hero */
.eplanet-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-lowest);
  padding-block: var(--space-xl);
}
.eplanet-hero__glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(140px);
}
.eplanet-hero__glow--1 {
  top: -8rem; left: 20%;
  width: 600px; height: 600px;
  background: rgba(0, 104, 122, 0.1);
}
.eplanet-hero__glow--2 {
  bottom: -8rem; right: 2rem;
  width: 500px; height: 500px;
  background: rgba(253, 118, 26, 0.1);
}
.eplanet-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .eplanet-hero__grid { grid-template-columns: 7fr 5fr; }
}
.eplanet-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--primary);
  margin-bottom: var(--space-md);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.eplanet-hero__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--primary);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.eplanet-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-lg) 0 var(--space-xl);
}
.eplanet-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-low);
  color: var(--on-surface-variant);
}
.eplanet-hero__trust span { display: inline-flex; align-items: center; gap: 6px; color: var(--on-surface); }
.eplanet-hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  margin-inline: auto;
  border-radius: 1.25rem;
  background: var(--surface-container);
  padding: 12px;
  overflow: hidden;
}
.eplanet-hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.7s ease;
}
.eplanet-hero__visual:hover img { transform: scale(1.05); }
.eplanet-hero__capsule {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Category tiles */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: var(--space-md);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface-container);
}
.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-tile:hover img { transform: scale(1.1); }
.cat-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.55), transparent);
}
.cat-tile__content { position: relative; z-index: 1; }

/* Product grid & card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
}
@media (min-width: 1024px) {
  .product-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.product-grid--equal { align-items: stretch; }
.product-grid--equal > .product-card { height: 100%; }

.product-card {
  position: relative;
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.08), 0 0 1px 1px rgba(6,182,212,0.15);
}
.product-card--flash,
.product-card--trending {
  background: var(--surface-container);
  border: none;
  border-radius: 1.25rem;
  padding: var(--space-md);
  overflow: visible;
}
.product-card--flash:hover,
.product-card--trending:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--canvas);
  overflow: hidden;
  flex-shrink: 0;
}
.product-card--flash .product-card__media,
.product-card--trending .product-card__media {
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  background: var(--surface-lowest);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease-out;
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
}
.product-card__wish {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(241,245,249,0.9);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
}
.product-card:hover .product-card__wish,
.product-card__wish.is-saved,
.product-card--flash .product-card__wish { opacity: 1; }
@media (max-width: 1023px) {
  .product-card__wish { opacity: 1; }
}
.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.product-card--flash .product-card__body,
.product-card--trending .product-card__body {
  padding: 0;
}
.product-card--trending .product-card__wish,
.product-card--flash .product-card__wish { opacity: 1; }
.trend-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trend-badge.badge-sale {
  background: var(--secondary-container);
  color: #fff;
}
.trend-badge.badge-featured {
  background: var(--surface-highest);
  color: var(--primary);
}
.trend-badge.badge-new {
  background: var(--primary-container);
  color: var(--on-primary-container);
}
.trend-badge.badge-spec,
.trend-badge.badge-home {
  background: var(--surface-highest);
  color: var(--tertiary);
}
.trend-badge.badge-floral {
  background: rgba(16, 185, 129, 0.15);
  color: var(--tertiary);
}
.btn-cart-soft {
  background: var(--surface-high);
  color: var(--on-surface);
  border: none;
  box-shadow: none;
}
.btn-cart-soft:hover {
  background: var(--primary);
  color: var(--on-primary);
}
.trending-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.product-card__specs { display: flex; flex-wrap: wrap; gap: 4px; }
.spec-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--slate-cool);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}
.product-card__stars {
  display: inline-flex;
  color: var(--secondary-container);
}
.product-card__stars .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}
.product-card__stars .material-symbols-outlined.is-filled {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}
.product-card__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: var(--on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.product-card__title:hover { color: var(--primary); }
.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 28px;
}
.product-card__price del { color: var(--slate-muted); font-size: 14px; }
.product-card__price ins { text-decoration: none; color: var(--on-surface); }
.product-card__price-now { color: var(--on-surface); }
.product-card__price-was { font-size: 13px; color: var(--outline); font-weight: 400; }
.product-card__save {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tertiary);
}
.product-card__scarcity { margin-top: 4px; }
.product-card__scarcity-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.product-card__stock-left { color: var(--secondary); }
.product-card__claimed { color: var(--on-surface-variant); }
.product-card__progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-high);
  overflow: hidden;
}
.product-card__progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--secondary-container);
}
.product-card__actions { margin-top: auto; padding-top: 8px; }
.product-card--flash .product-card__actions .btn {
  gap: 6px;
  padding-block: 0.7rem;
}

/* Flash deals section header */
.flash-deals-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.flash-deals-header__left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.flash-deals-fire {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(253, 118, 26, 0.4);
}
.flash-deals-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-live {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: pulse 1.5s infinite;
}
.flash-deals-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.flash-deals-timer {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.02em;
}
.flash-deals-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.flash-deals-link:hover { color: var(--primary-fixed-dim); }
.sale-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--secondary-container);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16,185,129,0.15);
  border: 1px solid #10b981;
  color: var(--tertiary);
  font-size: 12px;
  font-weight: 600;
}
.stock-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.stock-chip--low { background: rgba(249,115,22,0.12); border-color: var(--secondary-container); color: var(--secondary); }
.stock-chip--out { background: rgba(186,26,26,0.1); border-color: var(--error); color: var(--error); }
.stock-chip--out::before { background: var(--error); box-shadow: none; }

/* Shop page — Stitch Shop All */
.shop-page {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--space-xl);
}
.shop-page__glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
}
.shop-page__glow--1 {
  top: -10rem;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.shop-page__glow--2 {
  top: 20rem;
  right: 2.5rem;
  width: 20rem;
  height: 20rem;
  background: color-mix(in srgb, var(--secondary-container) 12%, transparent);
}
.shop-page__inner { position: relative; z-index: 1; padding-top: var(--space-lg); }

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  color: var(--on-surface-variant);
  margin-bottom: var(--space-md);
}
.shop-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
}
.shop-breadcrumb a:hover { color: var(--primary); }
.shop-breadcrumb__current { color: var(--on-surface); font-weight: 500; }

.shop-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .shop-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.shop-header__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.shop-header__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  animation: eplanet-pulse 1.6s ease-in-out infinite;
}
@keyframes eplanet-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.shop-header__copy h1 { margin: 0; }
.shop-header__copy p { margin: 6px 0 0; max-width: 36rem; }
.shop-header__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md);
}
.shop-meta-chip,
.shop-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-container);
  padding: 10px 14px;
  border-radius: var(--radius-lg);
}
.shop-sort { position: relative; }
.shop-sort__label { white-space: nowrap; }
.shop-sort__select {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
  padding-right: 22px;
  cursor: pointer;
}
.shop-sort__icon {
  position: absolute;
  right: 10px;
  font-size: 18px !important;
  color: var(--primary);
  pointer-events: none;
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@media (min-width: 1024px) {
  .shop-layout { grid-template-columns: 280px 1fr; }
}

.shop-filters {
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  box-shadow: 0 12px 40px rgba(13, 28, 45, 0.06);
}
.shop-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-bottom: 4px;
}
.shop-filters__title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-filters__title h2 { margin: 0; font-size: 18px; }
.shop-filters__reset {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.shop-filters__reset:hover { color: var(--primary-fixed-dim); }

.filter-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.filter-group__label {
  color: var(--outline);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.filter-radio-list { display: flex; flex-direction: column; gap: 6px; }
.filter-radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: var(--surface-container);
  color: var(--on-surface-variant);
  transition: background 0.2s ease, color 0.2s ease;
}
.filter-radio:hover {
  background: var(--surface-container-high);
  color: var(--on-surface);
}
.filter-radio.is-active {
  background: var(--surface-container-highest);
  color: var(--on-surface);
  font-weight: 600;
}
.filter-radio__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.filter-radio__dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--surface-container-highest);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--outline) 30%, transparent);
  flex-shrink: 0;
}
.filter-radio.is-active .filter-radio__dot {
  background: var(--primary);
  box-shadow: none;
  position: relative;
}
.filter-radio.is-active .filter-radio__dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: #fff;
}
.filter-count {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-container-low);
  color: var(--on-surface-variant);
}
.filter-radio.is-active .filter-count {
  background: var(--surface-container);
  color: var(--primary);
}

.price-brackets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.price-bracket {
  padding: 8px 10px;
  border-radius: var(--radius-lg);
  background: var(--surface-container);
  color: var(--on-surface-variant);
  font-size: 13px;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}
.price-bracket:hover {
  background: var(--surface-container-high);
  color: var(--on-surface);
}
.price-bracket.is-active {
  background: var(--surface-container-highest);
  color: var(--primary);
  font-weight: 600;
}
.price-bracket--wide { grid-column: 1 / -1; }

.filter-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: var(--surface-container);
  color: var(--on-surface);
}
.filter-switch--stock {
  background: var(--surface-lowest);
  padding: 12px;
}
.filter-switch__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.filter-switch__track {
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: var(--surface-container-highest);
  padding: 2px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.filter-switch__thumb {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--outline);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}
.filter-switch.is-on .filter-switch__track { background: var(--secondary-container); }
.filter-switch.is-on .filter-switch__thumb {
  transform: translateX(16px);
  background: var(--on-secondary-container, #5c2400);
}
.filter-switch--stock.is-on .filter-switch__track { background: var(--tertiary-container, #1bbd85); }
.filter-switch--stock.is-on .filter-switch__thumb { background: var(--on-tertiary-container, #00452e); }
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--tertiary, #006c49);
  box-shadow: 0 0 8px #1bbd85;
}

.shop-results { min-width: 0; }
.product-grid--shop {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .product-grid--shop { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .product-grid--shop { grid-template-columns: repeat(3, 1fr); }
}

/* Shop product cards */
.product-card--shop {
  background: var(--surface-container);
  border: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13, 28, 45, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.product-card--shop:hover {
  background: var(--surface-container-high);
  box-shadow: 0 16px 36px rgba(13, 28, 45, 0.12);
  transform: translateY(-2px);
}
.product-card--shop .product-card__media {
  aspect-ratio: 1;
  background: var(--surface-lowest);
  padding: var(--space-md);
  border-radius: 0;
}
.product-card--shop .product-card__media img {
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.product-card--shop .product-card__wish {
  opacity: 1;
  background: color-mix(in srgb, var(--surface-container-high) 80%, transparent);
  backdrop-filter: blur(8px);
}
.product-card--shop .product-card__body {
  padding: var(--space-md);
  gap: var(--space-md);
  justify-content: space-between;
}
.product-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-card__stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}
.product-card__stock--in { color: var(--tertiary, #006c49); }
.product-card__stock--in .product-card__stock-dot {
  background: var(--tertiary, #1bbd85);
  box-shadow: 0 0 6px #1bbd85;
}
.product-card__stock--low { color: var(--secondary-fixed-dim, #ffb690); }
.product-card__stock--low .product-card__stock-dot {
  background: var(--secondary-container);
  animation: eplanet-pulse 1.2s ease-in-out infinite;
}
.product-card__stock--out { color: var(--error); }
.product-card__stock--out .product-card__stock-dot { background: var(--error); }
.product-card__rating--compact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.product-card__star-icon {
  font-size: 15px !important;
  color: var(--secondary-fixed-dim, #ffb690);
  font-variation-settings: "FILL" 1;
}
.product-card__rating-val {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  color: var(--on-surface);
}
.product-card--shop .product-card__title {
  font-size: 16px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}
.product-card__price-now--accent { color: var(--primary); }
.product-card__actions--inline { margin: 0; padding: 0; }
.product-card__actions--inline .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 22%, transparent);
}
.btn-claim {
  background: var(--secondary-container);
  color: var(--on-secondary-container, #5c2400);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--secondary-container) 28%, transparent) !important;
}
.btn-claim:hover {
  background: var(--secondary);
  color: #fff;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--slate-cool);
  margin-bottom: var(--space-md);
}
.breadcrumb a:hover { color: var(--primary); }
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-xl);
}
.pagination a,
.pagination span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-lowest);
  font-weight: 600;
  font-size: 13px;
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Product single */
.pdp {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-block: var(--space-md);
  align-items: start;
}
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); }
}
.pdp-gallery {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.pdp-gallery__main {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-lowest);
  margin-bottom: var(--space-md);
  box-shadow: 0 20px 48px rgba(13, 28, 45, 0.12);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.pdp-gallery__main:hover img { transform: scale(1.04); }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-sm); }
.pdp-thumbs button {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  overflow: hidden;
  padding: 8px;
  cursor: pointer;
  background: var(--surface-container-low);
  opacity: .7;
  transition: .2s ease;
}
.pdp-thumbs button.is-active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 35%, transparent);
  background: var(--surface-container-highest);
}
.pdp-thumbs button:hover { opacity: 1; transform: scale(1.02); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-buybox h1 { margin: var(--space-sm) 0; }
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: var(--space-md) 0;
}
.pdp-price-row del { color: var(--slate-muted); }
.save-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(253,118,26,0.15);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
}
.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-lowest);
  padding: 4px;
  gap: 2px;
}
.qty-stepper button,
.qty-stepper .qty-stepper__btn {
  width: 40px; height: 40px;
  border: none;
  border-radius: var(--radius);
  background: var(--surface-container);
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
}
.qty-stepper button:hover,
.qty-stepper .qty-stepper__btn:hover { background: var(--surface-container-high); }
.qty-stepper input {
  width: 40px;
  height: 40px;
  border: none;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.trust-box {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--surface-low);
  border: 1px solid var(--border);
}
.trust-box li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--slate-dark);
}
.pdp-tabs { margin-top: var(--space-xl); }
.pdp-tabs__nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
}
.pdp-tabs__nav button {
  padding: 12px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--slate-cool);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pdp-tabs__nav button.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary-container);
}
.pdp-tabs__panel { display: none; }
.pdp-tabs__panel.is-active { display: block; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table th,
.specs-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.specs-table th {
  width: 40%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate-dark);
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-block: var(--space-xl);
}
@media (min-width: 1024px) {
  .cart-layout { grid-template-columns: 1.6fr 1fr; align-items: start; }
}
.shipping-progress {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--surface-low);
  border: 1px solid var(--border);
}
.shipping-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-high);
  overflow: hidden;
  margin-top: var(--space-sm);
}
.shipping-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-container), #00f0ff);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-line img {
  width: 88px; height: 88px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--canvas);
}
.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

/* Checkout base (layout/card refined later in Stitch polish) */
.checkout-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: var(--space-md);
}
.form-row {
  margin-bottom: var(--space-md);
}
.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-dark);
}
.form-row input,
.form-row select,
.form-row textarea,
.woocommerce form .input-text,
.woocommerce form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  outline: none;
}
.form-row input:focus,
.woocommerce form .input-text:focus {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 1px var(--primary-container);
}

/* Auth */
.auth-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--margin-mobile);
}
.auth-card {
  width: min(480px, 100%);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--surface-low);
  padding: 4px;
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}
.auth-tabs button {
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  color: var(--slate-cool);
}
.auth-tabs button.is-active {
  background: var(--surface-lowest);
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-lg) 0;
  color: var(--slate-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.social-btns button {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-lowest);
  font-weight: 600;
  cursor: default;
  opacity: 0.85;
}

/* Account */
.account-page { background: var(--background, #f8f9ff); }
.account-page__body { padding-block: var(--space-xl); }
.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@media (min-width: 1024px) {
  .account-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.account-profile-card {
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  text-align: center;
}
.account-avatar {
  width: 64px; height: 64px;
  border-radius: var(--radius-xl);
  background: var(--surface-container-highest);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.account-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  color: var(--on-surface-variant);
  text-decoration: none;
}
.account-nav a:hover {
  background: var(--surface-container);
  color: var(--on-surface);
}
.account-nav a.is-active,
.account-nav .is-active > a {
  background: var(--surface-container-highest);
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary), 0 2px 8px rgba(13,28,45,0.06);
}
.soon-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-high);
  color: var(--slate-cool);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.order-card {
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.status-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pill--completed,
.status-pill--processing { background: rgba(16,185,129,0.15); color: var(--tertiary); }
.status-pill--on-hold,
.status-pill--pending { background: rgba(6,182,212,0.15); color: var(--primary); }
.status-pill--cancelled,
.status-pill--refunded,
.status-pill--failed { background: rgba(186,26,26,0.12); color: var(--error); }

/* Reviews / trust / newsletter */
.reviews-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-container);
  border: none;
  border-radius: 1.25rem;
  padding: var(--space-lg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
  min-height: 100%;
}
.review-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.review-card__stars {
  display: flex;
  gap: 2px;
  color: var(--secondary-container);
  margin-bottom: var(--space-sm);
}
.review-card__stars .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}
.review-card__quote {
  color: var(--on-surface);
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 var(--space-md);
  flex: 1;
}
.review-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
}
.verified-buyer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(27, 189, 133, 0.18);
  color: var(--tertiary);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-section {
  padding: var(--space-lg) 0;
  background: var(--surface-low);
}
.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-align: left;
  padding: var(--space-md);
  background: var(--surface-container);
  border: none;
  border-radius: var(--radius-lg);
}
.trust-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--surface-high);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item__icon .material-symbols-outlined {
  font-size: 24px;
  margin: 0;
  color: inherit;
}
.newsletter {
  background: linear-gradient(135deg, var(--surface-container), var(--surface-high));
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  max-width: 480px;
  margin: var(--space-lg) auto 0;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-lowest);
}
.promo-banner {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: var(--space-xl);
  background: linear-gradient(90deg, var(--surface-low) 0%, var(--surface-container) 55%, var(--surface-high) 100%);
  box-shadow: 0 24px 48px rgba(13, 28, 45, 0.12);
}
.promo-banner__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.28;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .promo-banner__media {
    width: 50%;
    opacity: 0.85;
  }
}
.promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.promo-banner__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}
.promo-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-highest);
  color: var(--primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.promo-banner__title {
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}
.promo-banner__text {
  margin-bottom: var(--space-lg);
  max-width: 34rem;
  line-height: 1.6;
}
.promo-banner__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}
.promo-banner__cta {
  box-shadow: 0 0 20px rgba(253, 118, 26, 0.35);
}
.promo-banner__cta:hover {
  transform: scale(1.02);
  box-shadow: 0 0 28px rgba(253, 118, 26, 0.55);
}
.promo-banner__note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--space-xl);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-low);
}
.empty-state .material-symbols-outlined {
  font-size: 40px;
  color: var(--outline);
  margin-bottom: var(--space-md);
}

/* Wishlist */
.wishlist-list { display: flex; flex-direction: column; gap: var(--space-md); }
.wishlist-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md);
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.wishlist-row img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Support placeholder */
.support-placeholder {
  max-width: 720px;
  margin: var(--space-xl) auto;
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

/* Woo notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  border: 1px solid var(--border);
  background: var(--surface-lowest);
}
.woocommerce-message { border-left: 3px solid var(--tertiary-container); }
.woocommerce-error { border-left: 3px solid var(--error); }
.woocommerce-info { border-left: 3px solid var(--primary-container); }

/* WooCommerce single ATC */
.single_add_to_cart_button,
button.single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 0 24px rgba(76, 215, 246, 0.35);
}
.single_add_to_cart_button:hover { background: #0891b2; }
form.cart { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; margin-top: var(--space-md); }
form.cart .quantity .qty {
  width: 64px;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; }
#place_order {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-top: var(--space-md);
}
.wc_payment_methods { list-style: none; padding: 0; }
.wc_payment_methods li {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  background: var(--surface-lowest);
}
.wc_payment_methods li input { accent-color: var(--primary-container); margin-right: 8px; }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-sm { gap: var(--space-sm); }
.hidden-desktop { display: block; }
@media (min-width: 1024px) { .hidden-desktop { display: none; } }
.hidden-mobile { display: none; }
@media (min-width: 1024px) { .hidden-mobile { display: block; } }

/* Mobile filter sheet */
.mobile-filter-btn { display: inline-flex; }
@media (min-width: 1024px) {
  .mobile-filter-btn { display: none; }
}
@media (max-width: 1023px) {
  .shop-filters {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 250;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(110%);
    transition: transform 0.3s ease;
    display: flex;
    box-shadow: 0 -12px 40px rgba(13, 28, 45, 0.18);
  }
  .shop-filters.is-open { transform: translateY(0); }
}

/* Variation swatches */
.variation-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.swatch {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px var(--border);
  cursor: pointer;
  padding: 0;
}
.swatch.is-active { border-color: var(--primary-container); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary-container); }
.attr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.attr-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-lowest);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.attr-pill.is-active {
  border-color: var(--primary-container);
  background: var(--surface-high);
  color: var(--primary);
}

/* ===== Stitch commerce polish (v1.1.0) ===== */
.pdp-page__inner { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.pdp-gallery__main { position: relative; }
.pdp-gallery__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 55%);
}
.pdp-gallery__badges {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pdp-sku-chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface-container-high) 90%, transparent);
  backdrop-filter: blur(8px);
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--on-surface-variant);
}
.pdp-gallery__wish { position: absolute; top: 12px; right: 12px; z-index: 2; opacity: 1; }
.pdp-zoom-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface-lowest) 85%, transparent);
  backdrop-filter: blur(8px);
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  color: var(--on-surface-variant); pointer-events: none;
}
.pdp-buybox {
  background: color-mix(in srgb, var(--surface-container-low) 70%, transparent);
  border-radius: var(--radius-xl); padding: var(--space-lg);
  box-shadow: 0 16px 40px rgba(13,28,45,0.08);
}
.pdp-buybox__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pdp-rating-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--surface-container-highest); margin-bottom: 12px; }
.pdp-price-now { font-size: 32px; }
.pdp-price-was { color: var(--outline); }
.pdp-stock-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-container-highest) 60%, transparent);
  margin: var(--space-md) 0;
}
.pdp-stock-banner__left { display: inline-flex; align-items: center; gap: 8px; }
.pdp-stock-banner__right {
  font-family: var(--font-label); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--secondary); background: rgba(253,118,26,0.15);
  padding: 4px 8px; border-radius: var(--radius);
}
.stock-chip--demand {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(27,189,133,0.15); color: var(--tertiary);
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-label); font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.stock-chip__pulse {
  width: 8px; height: 8px; border-radius: 999px; background: var(--tertiary);
  box-shadow: 0 0 0 0 rgba(27,189,133,0.5); animation: eplanet-ping 1.4s infinite;
}
@keyframes eplanet-ping {
  0% { box-shadow: 0 0 0 0 rgba(27,189,133,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(27,189,133,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,189,133,0); }
}
.pdp-actions { flex-direction: column; margin-top: var(--space-sm); }
.pdp-actions .btn-block,
.pdp-buy-now { width: 100%; justify-content: center; text-transform: uppercase; letter-spacing: .04em; min-height: 52px; }
.pdp-atc form.cart {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--space-sm);
  margin-top: 0;
}
.pdp-atc .quantity { margin: 0; }
.pdp-atc .single_add_to_cart_button,
.pdp-atc .button.alt {
  flex: 1;
  min-height: 48px;
  background: var(--surface-container-highest) !important;
  color: var(--primary) !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25) !important;
}
.pdp-atc .single_add_to_cart_button:hover,
.pdp-atc .button.alt:hover {
  background: var(--surface-bright) !important;
  box-shadow: 0 0 25px rgba(76, 215, 246, 0.45) !important;
}
.pdp-buy-now {
  background: var(--primary) !important;
  color: var(--on-primary) !important;
  box-shadow: 0 4px 24px rgba(76, 215, 246, 0.4);
}
.pdp-price-now {
  font-size: clamp(32px, 4vw, 48px);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.pdp-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  text-align: center;
}
.pdp-highlight { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pdp-highlight + .pdp-highlight { border-left: 1px solid color-mix(in srgb, var(--outline-variant) 35%, transparent); padding-left: 8px; }
.pdp-highlight .font-headline-sm { font-size: 14px; }
.pdp-highlight .font-label-spec { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.pdp-bundle {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--surface-container-low);
  box-shadow: 0 12px 32px rgba(13, 28, 45, 0.06);
}
.pdp-bundle__head {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.pdp-bundle__head h2 { margin: 0; }
.pdp-bundle__save {
  margin-left: auto;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(253, 118, 26, 0.15); color: var(--secondary);
  font-family: var(--font-label); font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.pdp-bundle__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: center;
}
@media (min-width: 1024px) {
  .pdp-bundle__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}
.pdp-bundle__items {
  display: flex; flex-direction: column; gap: var(--space-sm); align-items: stretch;
}
@media (min-width: 768px) {
  .pdp-bundle__items { flex-direction: row; align-items: center; }
}
.pdp-bundle__plus { color: var(--outline); flex-shrink: 0; }
.pdp-bundle__card {
  flex: 1; display: flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-sm); border-radius: var(--radius-lg);
  background: var(--surface-lowest); cursor: pointer; min-width: 0;
}
.pdp-bundle__thumb {
  width: 64px; height: 64px; border-radius: var(--radius); background: var(--surface-container);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.pdp-bundle__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-bundle__meta { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.pdp-bundle__meta .font-title-card { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-bundle__checkout {
  padding: var(--space-md); border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface-container-highest) 40%, transparent);
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.pdp-bundle__price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pdp-tabs {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--surface-container-low);
  box-shadow: 0 16px 40px rgba(13, 28, 45, 0.08);
}
.pdp-overview-cards {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-bottom: var(--space-lg);
}
@media (min-width: 768px) { .pdp-overview-cards { grid-template-columns: repeat(3, 1fr); } }
.pdp-overview-card {
  padding: var(--space-md); border-radius: var(--radius-xl); background: var(--surface-lowest);
}
.pdp-overview-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary);
  margin-bottom: 8px; font-size: 28px;
}
.pdp-inbox {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
@media (min-width: 640px) { .pdp-inbox { grid-template-columns: repeat(3, 1fr); } }
.pdp-inbox__item {
  padding: var(--space-md); border-radius: var(--radius-lg); background: var(--surface-lowest);
  display: flex; flex-direction: column; gap: 6px;
}
.pdp-related .section-head { align-items: flex-end; }

.cart-page__inner { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.cart-page__header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-sm); margin-bottom: var(--space-lg);
}
.cart-page__continue { display: inline-flex; align-items: center; gap: 6px; }
.shipping-progress--rich { position: relative; overflow: hidden; border: 0; box-shadow: 0 8px 24px rgba(13,28,45,0.06); }
.shipping-progress__glow {
  position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem;
  border-radius: 999px; background: color-mix(in srgb, var(--primary-container) 18%, transparent);
  filter: blur(40px); pointer-events: none;
}
.shipping-progress__head {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-sm);
}
.shipping-progress__title { display: flex; align-items: center; gap: var(--space-sm); }
.shipping-progress__title p { margin: 0; }
.shipping-progress__icon {
  width: 32px; height: 32px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-container); color: var(--on-primary-container);
  box-shadow: 0 0 12px rgba(6,182,212,0.35);
}
.shipping-progress__badge {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: rgba(27,189,133,0.15); color: var(--tertiary);
  font-family: var(--font-label); font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.cart-line--card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-md); padding: var(--space-md);
  background: var(--surface-container-low); border-radius: var(--radius-xl);
  border: 0; margin-bottom: var(--space-sm);
}
.cart-line__media { display: block; width: 96px; height: 96px; flex-shrink: 0; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); background: var(--surface-lowest); }
.cart-line__body { flex: 1; min-width: 180px; }
.cart-line__title { display: block; margin-bottom: 6px; }
.cart-line__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 6px; }
.cart-line__controls { display: flex; align-items: center; gap: var(--space-md); }
.cart-lines { display: flex; flex-direction: column; }

.checkout-page__inner { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
.checkout-hero {
  display: flex; flex-direction: column; gap: var(--space-md);
  background: var(--surface-container-low); border-radius: var(--radius-xl);
  padding: var(--space-md); margin-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .checkout-hero { flex-direction: row; align-items: center; justify-content: space-between; }
}
.checkout-hero__copy { display: flex; align-items: center; gap: var(--space-sm); }
.checkout-hero__icon {
  width: 32px; height: 32px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-container); color: var(--on-primary-container);
}
.checkout-steps {
  display: flex; align-items: center; gap: var(--space-sm); list-style: none; margin: 0; padding: 0;
  overflow-x: auto; font-family: var(--font-label); font-size: 13px; font-weight: 600; color: var(--outline);
}
.checkout-steps li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.checkout-steps li > span:first-child {
  width: 20px; height: 20px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-container); font-size: 11px; color: var(--primary);
}
.checkout-steps li.is-active { color: var(--primary); font-weight: 700; }
.checkout-steps li.is-active > span:first-child { background: var(--primary); color: #fff; }
.checkout-steps__sep { color: var(--outline) !important; }
.checkout-steps__sep .material-symbols-outlined { font-size: 16px; width: auto; height: auto; background: transparent !important; }

.checkout-contact-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
@media (min-width: 640px) {
  .checkout-contact-grid { grid-template-columns: 1fr 1fr; }
}
.checkout-page label.checkout-sms-optin {
  display: flex; align-items: flex-start; gap: 10px; margin-top: var(--space-md);
  font-family: var(--font-body); font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--on-surface-variant); cursor: pointer;
}
.checkout-page label.checkout-sms-optin input { margin-top: 2px; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

.checkout-destination__card {
  background: var(--surface-container-high); border-radius: var(--radius-lg);
  padding: var(--space-md); box-shadow: 0 0 0 2px var(--primary);
  margin-bottom: var(--space-md);
}
.checkout-destination__card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: var(--space-md);
}
.checkout-destination__card-head .font-title-card { display: inline-flex; align-items: center; gap: 6px; }
.checkout-destination__fields {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
@media (min-width: 640px) {
  .checkout-destination__fields { grid-template-columns: 1fr 1fr; }
  .checkout-destination__fields .form-row-wide,
  .checkout-destination__fields .address-field { grid-column: 1 / -1; }
  .checkout-destination__fields .form-row-first { grid-column: 1; }
  .checkout-destination__fields .form-row-last { grid-column: 2; }
}
.checkout-ship-diff { font-size: 14px !important; margin: var(--space-md) 0 !important; }
.checkout-dispatch { margin-top: var(--space-md); }
.checkout-dispatch__label {
  display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--on-surface-variant);
}
.checkout-dispatch__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.checkout-dispatch__option {
  border-radius: var(--radius-lg); background: var(--surface-container); transition: .2s ease;
}
.checkout-dispatch__option.is-active,
.checkout-dispatch__option:has(input:checked) {
  background: var(--surface-container-high); box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 40%, transparent);
}
.checkout-dispatch__option label {
  display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md);
  text-transform: none; letter-spacing: 0; font-size: inherit; font-weight: inherit; color: inherit; cursor: pointer; margin: 0;
}
.checkout-dispatch__radio input { accent-color: var(--primary); width: 16px; height: 16px; }
.checkout-dispatch__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.checkout-dispatch__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.checkout-dispatch__badge {
  display: inline-flex; padding: 2px 6px; border-radius: 4px;
  background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary);
  font-family: var(--font-label); font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.checkout-dispatch__badge--alt {
  background: color-mix(in srgb, var(--secondary-container) 22%, transparent); color: var(--secondary);
}
.checkout-dispatch__price { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.checkout-dispatch__price.is-free { color: var(--tertiary); }

.manifest-line__pills { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.manifest-line__pills span {
  padding: 2px 6px; border-radius: 4px; background: var(--surface-container-high);
  color: var(--on-surface-variant); font-family: var(--font-label); font-size: 10px; font-weight: 600;
}
.manifest-totals__ship-label { display: inline-flex; align-items: center; gap: 6px; }
.checkout-card__head {
  display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md);
}
.checkout-card__head h3 { margin: 0; flex: 1; font-family: var(--font-display); font-size: 18px; }
.checkout-card__step {
  width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-container-high); color: var(--primary); font-weight: 700;
}
.checkout-card {
  background: var(--surface-container-low); border: 0;
  box-shadow: 0 12px 32px rgba(13,28,45,0.06);
  border-radius: var(--radius-xl); padding: var(--space-lg); margin-bottom: var(--space-lg);
}
.checkout-page .woocommerce-NoticeGroup-checkout,
.checkout-page .woocommerce-notices-wrapper {
  margin: 0 0 var(--space-md);
}
.checkout-page .woocommerce-error,
.checkout-page .woocommerce-message,
.checkout-page .woocommerce-info {
  list-style: none; margin: 0; padding: var(--space-md);
  border-radius: var(--radius-lg); border: 1px solid transparent;
  background: var(--surface-container-lowest); box-shadow: 0 8px 24px rgba(13,28,45,0.06);
}
.checkout-page .woocommerce-error {
  border-color: color-mix(in srgb, var(--error, #ba1a1a) 35%, transparent);
  border-left: 4px solid var(--error, #ba1a1a);
  color: var(--on-surface);
}
.checkout-page .woocommerce-error li { margin: 0 0 6px; font-size: 13px; }
.checkout-page .woocommerce-error li:last-child { margin-bottom: 0; }
.checkout-page .woocommerce-invalid .input-text,
.checkout-page .woocommerce-invalid select,
.checkout-page .validate-required.woocommerce-invalid .input-text {
  outline: 2px solid var(--error, #ba1a1a); outline-offset: 0;
}
.checkout-page { position: relative; overflow: hidden; }
.checkout-glow {
  position: absolute; border-radius: 999px; pointer-events: none; filter: blur(80px); z-index: 0;
}
.checkout-glow--1 {
  width: 24rem; height: 24rem; top: -6rem; left: 20%;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.checkout-glow--2 {
  width: 20rem; height: 20rem; top: 40%; right: 4%;
  background: color-mix(in srgb, var(--secondary-container) 12%, transparent);
}
.checkout-page__inner > :not(.checkout-glow) { position: relative; z-index: 1; }
.checkout-card__secure {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--tertiary); font-family: var(--font-label); font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); align-items: start; }
@media (min-width: 1024px) {
  .checkout-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .checkout-layout > .checkout-fields { grid-column: 1; }
  .checkout-layout > .checkout-summary { grid-column: 2; grid-row: 1 / -1; }
  /* Same column as form cards — not full layout width */
  .checkout-layout > .woocommerce-NoticeGroup,
  .checkout-layout > .woocommerce-notices-wrapper {
    grid-column: 1;
  }
}
.checkout-layout > .woocommerce-NoticeGroup,
.checkout-layout > .woocommerce-notices-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.checkout-layout > .woocommerce-NoticeGroup .woocommerce-error,
.checkout-layout > .woocommerce-notices-wrapper .woocommerce-error {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  border: 1px solid color-mix(in srgb, var(--error, #ba1a1a) 28%, transparent);
  border-left: 4px solid var(--error, #ba1a1a);
  border-radius: var(--radius-xl);
  background: var(--surface-container-lowest);
  padding: var(--space-md) var(--space-lg);
  margin: 0;
}
.checkout-summary { position: sticky; top: 5.5rem; }
.checkout-summary__card {
  background: var(--surface-container-low); border-radius: var(--radius-xl);
  padding: var(--space-lg); box-shadow: 0 20px 48px rgba(13,28,45,0.1);
}
.checkout-summary__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: var(--space-md); padding-bottom: var(--space-sm);
}
.checkout-summary__title { display: inline-flex; align-items: center; gap: 6px; }
.checkout-summary__title h2 { margin: 0; }
.checkout-summary__count {
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-container-high); color: var(--primary);
  font-family: var(--font-label); font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.manifest-lines { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.manifest-line {
  display: flex; gap: var(--space-md); align-items: flex-start;
  padding: var(--space-sm); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-container) 60%, transparent);
}
.manifest-line__media {
  width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0;
  background: var(--surface-container-high);
}
.manifest-line__media img,
.manifest-line__img { width: 100%; height: 100%; object-fit: cover; }
.manifest-line__body { flex: 1; min-width: 0; }
.manifest-line__body .font-title-card {
  margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.manifest-line__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.manifest-line__prices { display: inline-flex; align-items: baseline; gap: 6px; }
.manifest-totals { display: flex; flex-direction: column; gap: 10px; padding-top: var(--space-md); }
.manifest-totals__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--on-surface-variant); }
.manifest-totals__row.is-discount { color: var(--tertiary); }
.manifest-shipping-table { width: 100%; border-collapse: collapse; }
.manifest-shipping-table th,
.manifest-shipping-table td {
  padding: 6px 0; border: 0; text-align: left; font-weight: 400; color: var(--on-surface-variant);
}
.manifest-shipping-table td { text-align: right; }
.manifest-totals__grand {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding-top: var(--space-md); margin-top: var(--space-sm);
  border-top: 1px solid var(--surface-container-highest);
}
.manifest-totals__grand-value { text-align: right; }
.manifest-totals__amount,
.manifest-totals__amount .amount {
  font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1.1;
}
.manifest-savings {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: var(--space-sm); padding: var(--space-sm); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
}
.manifest-savings .font-label-action { display: inline-flex; align-items: center; gap: 6px; }
.checkout-coupon { margin-top: var(--space-lg); }
.checkout-coupon .font-label-spec {
  display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; color: var(--on-surface-variant);
}
.checkout-coupon__row { display: flex; gap: 8px; }
.checkout-coupon__row input {
  flex: 1; border: 0; border-radius: var(--radius-lg); padding: 10px 14px;
  background: var(--surface-container); font-weight: 600; letter-spacing: .04em;
}
.checkout-coupon__msg { margin-top: 6px; color: var(--tertiary); }
.checkout-coupon__msg.is-error { color: var(--error, #ba1a1a); }
.checkout-summary__help { margin-top: var(--space-lg); text-align: center; }
.checkout-payment__tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm); margin: 0 0 var(--space-lg);
}
@media (max-width: 520px) {
  .checkout-payment__tabs { grid-template-columns: 1fr; }
}
.checkout-page label.checkout-payment__tab {
  position: relative; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 16px; border-radius: var(--radius-lg); cursor: pointer; margin: 0;
  background: var(--surface-container); color: var(--on-surface-variant);
  font-family: var(--font-label); font-size: 13px; font-weight: 600;
  text-transform: none; letter-spacing: 0.02em; transition: .2s ease;
}
.checkout-payment__tab input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-payment__tab.is-active,
.checkout-payment__tab:has(input:checked) {
  background: var(--surface-container-high); color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}
.checkout-payment__panels .payment_box {
  display: none;
  margin: 0 0 var(--space-md); padding: 0;
  border-radius: 0; background: transparent;
  color: var(--on-surface); font-size: 14px; line-height: 1.5;
  border: 0 !important;
}
.checkout-payment__panels .payment_box.is-active { display: block; }
.checkout-payment__panels .payment_box::before { display: none !important; }
.checkout-card-fields { display: flex; flex-direction: column; gap: var(--space-md); }
.checkout-card-fields__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md);
}
.checkout-card-fields__number-wrap,
.checkout-card-fields__cvc-wrap { position: relative; display: block; }
.checkout-card-fields__pan {
  font-family: var(--font-display) !important; font-size: 18px !important;
  letter-spacing: .12em !important; padding-right: 64px !important;
  text-transform: none !important;
}
.checkout-card-fields__brand {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  padding: 2px 8px; border-radius: 6px;
  background: var(--surface-container-highest);
  font-family: var(--font-label); font-size: 11px; font-weight: 700; color: var(--primary);
}
.checkout-card-fields__center { text-align: center; }
.checkout-card-fields__help {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 18px !important; color: var(--outline, #79747e); pointer-events: none;
}
.checkout-card-fields__footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 4px;
}
.checkout-page label.checkout-card-fields__token {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--font-body); font-size: 13px; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--on-surface); cursor: pointer;
}
.checkout-card-fields__token input { accent-color: var(--primary); width: 16px; height: 16px; }
.checkout-card-fields__pci {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--outline, #79747e);
}
.checkout-card-fields__pci .material-symbols-outlined { font-size: 14px; }
.checkout-paypal-panel,
.checkout-cod-panel {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: var(--space-lg) var(--space-md); text-align: center;
}
.checkout-paypal-panel .material-symbols-outlined {
  font-size: 48px; color: var(--primary);
}
.checkout-cod-panel .material-symbols-outlined {
  font-size: 48px; color: var(--secondary);
}
.checkout-paypal-panel p,
.checkout-cod-panel p {
  margin: 0; max-width: 36ch; color: var(--on-surface); font-size: 15px; line-height: 1.5;
}
.checkout-payment .woocommerce-privacy-policy-text { font-size: 12px; color: var(--on-surface-variant); margin: var(--space-md) 0; }
.checkout-payment .place-order { margin: 0 !important; }
.checkout-authorize-btn,
#place_order.checkout-authorize-btn {
  width: 100% !important; min-height: 56px;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  border: 0 !important; border-radius: var(--radius-xl) !important;
  background: var(--primary-container) !important; color: var(--on-primary-container) !important;
  font-family: var(--font-display) !important; font-size: 18px !important; font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(6,182,212,0.28) !important;
}
#place_order.checkout-authorize-btn:hover {
  background: var(--primary) !important; color: #fff !important;
}
.checkout-trust-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-sm); margin-top: var(--space-md);
}
@media (min-width: 640px) { .checkout-trust-grid { grid-template-columns: repeat(3, 1fr); } }
.checkout-trust-grid > div {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: var(--space-sm); border-radius: var(--radius-lg);
  background: var(--surface-container-low);
  font-family: var(--font-label); font-size: 11px; font-weight: 600; color: var(--on-surface-variant);
}
.checkout-page .woocommerce-billing-fields__field-wrapper,
.checkout-page .woocommerce-shipping-fields__field-wrapper,
.checkout-page .woocommerce-additional-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
@media (min-width: 640px) {
  .checkout-page .form-row-first,
  .checkout-page .form-row-last { width: auto; }
  .checkout-page .woocommerce-billing-fields__field-wrapper,
  .checkout-page .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-page .form-row-wide { grid-column: 1 / -1; }
}
.checkout-page .form-row { margin: 0 !important; padding: 0 !important; }
.checkout-page label {
  display: block; margin-bottom: 6px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--on-surface-variant);
}
.checkout-page .input-text,
.checkout-page select,
.checkout-page textarea {
  width: 100%; border: 0; border-radius: var(--radius-lg);
  background: var(--surface-container); padding: 12px 14px;
}
.checkout-page .input-text:focus,
.checkout-page select:focus,
.checkout-page textarea:focus {
  outline: 2px solid var(--primary); outline-offset: 0;
}
.checkout-page .woocommerce-billing-fields > h3,
.checkout-page .woocommerce-shipping-fields > h3,
.checkout-page .woocommerce-additional-fields > h3 {
  font-size: 14px; margin-bottom: var(--space-md); color: var(--on-surface-variant);
}
body.eplanet-checkout-slim .eplanet-chat-fab { display: none; }
.eplanet-checkout-footer {
  padding: 1.5rem var(--margin-mobile); text-align: center;
  color: var(--on-surface-variant); font-size: 12px;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
@media (min-width: 768px) {
  .eplanet-checkout-footer {
    flex-direction: row; justify-content: space-between;
    padding-inline: var(--margin); max-width: var(--max-w); margin-inline: auto;
  }
}

/* Order confirmation — Stitch mobile; desktop uses ~1000px like eplanet_order_confirmation */
.thankyou-page { background: var(--surface, #f8f9ff); }
.thankyou-page__inner {
  width: 100%;
  max-width: var(--max-w, 1280px);
  margin-inline: auto;
  padding: var(--space-md) var(--margin-mobile, 1rem) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .thankyou-page__inner {
    /* Align with site header / .eplanet-container (was 640px → huge side gutters) */
    max-width: var(--max-w, 1280px);
    padding-inline: var(--margin, 3rem);
    padding-block: var(--space-lg) var(--space-xl);
    gap: var(--space-lg);
  }
}
.font-headline-lg-mobile {
  font-family: var(--font-headline);
  font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em;
}
.ty-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--space-md) var(--space-xs) var(--space-lg);
}
.ty-hero__halo {
  position: relative;
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.ty-hero__ping {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px; border-radius: 999px;
  background: color-mix(in srgb, var(--tertiary-container, #1bbd85) 20%, transparent);
  animation: eplanet-ping 1.6s ease-out infinite;
}
.ty-hero__glow {
  position: absolute; inset: 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--tertiary-container, #1bbd85) 30%, transparent);
  filter: blur(10px);
}
.ty-hero__badge {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tertiary-container, #1bbd85);
  color: var(--on-tertiary, #fff);
  box-shadow: 0 10px 24px rgba(0, 108, 73, 0.28);
}
.ty-hero__badge .material-symbols-outlined {
  font-size: 32px; font-variation-settings: 'FILL' 1;
}
.ty-hero__pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: var(--space-sm);
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-container-high, #dbe9ff);
  color: var(--tertiary, #006c49);
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(13, 28, 45, 0.06);
}
.ty-hero__pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--tertiary, #006c49);
  animation: eplanet-ping 1.4s infinite;
}
.ty-hero__title { margin: 0 0 var(--space-xs); color: var(--on-surface); }
.ty-hero__copy {
  margin: 0; max-width: min(520px, 100%);
  color: var(--on-surface-variant, #3d494c); line-height: 1.55;
}
.ty-hero__email {
  font-family: var(--font-title, var(--font-body));
  font-weight: 600; color: var(--on-surface);
}
.ty-meta {
  background: var(--surface-container-lowest, #fff);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: 0 6px 20px rgba(13, 28, 45, 0.08);
}
.ty-meta__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-sm); margin-bottom: var(--space-sm);
  background: var(--surface-container-low, #eef4ff);
  border-radius: var(--radius-lg);
}
.ty-meta__label {
  display: block; color: var(--on-surface-variant); text-transform: uppercase; letter-spacing: .06em;
}
.ty-meta__ref-row { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.ty-meta__id { font-size: 20px; line-height: 24px; letter-spacing: -0.02em; }
.ty-meta__copy {
  width: 28px; height: 28px; border: 0; border-radius: 6px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface, #f8f9ff); color: var(--on-surface-variant);
}
.ty-meta__copy .material-symbols-outlined { font-size: 16px; }
.ty-meta__copy:hover { background: var(--surface-container-highest, #d4e4fa); }
.ty-meta__status { display: flex; flex-direction: column; align-items: flex-end; }
.ty-status {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 2px; padding: 4px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--tertiary-container, #1bbd85) 20%, transparent);
  color: var(--on-tertiary-container, #00452e);
  font-family: var(--font-label); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.ty-status__dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--tertiary, #006c49);
}
.ty-meta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.ty-meta__cell {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--space-sm); border-radius: var(--radius-lg);
  background: var(--surface, #f8f9ff);
}
.ty-meta__cell--eta { background: var(--surface-container-high, #dbe9ff); }
.ty-meta__cell-label {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 2px; color: var(--on-surface-variant);
}
.ty-meta__cell-label.is-primary { color: var(--primary); }
.ty-meta__cell-label .material-symbols-outlined { font-size: 16px; }
.ty-actions { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-sm); }
.ty-actions__primary {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 12px var(--space-md); border-radius: var(--radius-xl); border: 0;
  background: var(--primary-container, #06b6d4); color: var(--on-primary-container, #00424f);
  font-family: var(--font-label); font-size: 13px; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.28);
}
.ty-actions__primary .material-symbols-outlined { font-size: 20px; }
.ty-actions__primary:hover { opacity: .95; }
.ty-actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs); }
.ty-actions__secondary {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; padding: 10px var(--space-sm); border-radius: var(--radius-xl); border: 0;
  background: var(--surface-container-high, #dbe9ff); color: var(--on-surface);
  font-family: var(--font-label); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 4px rgba(13, 28, 45, 0.05);
}
.ty-actions__secondary .material-symbols-outlined { font-size: 18px; }
.ty-actions__secondary:hover { background: var(--surface-container-highest, #d4e4fa); }
.ty-track,
.ty-manifest,
.ty-pay {
  background: var(--surface-container-lowest, #fff);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: 0 4px 16px rgba(13, 28, 45, 0.06);
}
.ty-track__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.ty-track__carrier { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; }
.ty-track__carrier > div { display: flex; flex-direction: column; min-width: 0; }
.ty-track__icon {
  width: 28px; height: 28px; border-radius: var(--radius-lg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-container-highest, #d4e4fa); color: var(--primary);
}
.ty-track__icon .material-symbols-outlined { font-size: 18px; }
.ty-track__node {
  flex-shrink: 0; padding: 2px 6px; border-radius: 4px;
  background: var(--surface-container-high, #dbe9ff); color: var(--primary);
}
.ty-track__bar {
  height: 4px; border-radius: 999px; overflow: hidden;
  background: var(--surface-container-high, #dbe9ff); margin-bottom: var(--space-xs);
}
.ty-track__fill {
  display: block; height: 100%; border-radius: 999px;
  background: var(--primary-container, #06b6d4);
}
.ty-track__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  margin-bottom: var(--space-xs);
}
.ty-track__step {
  display: flex; flex-direction: column; gap: 1px;
  color: var(--outline, #6d797d); text-align: center;
}
.ty-track__step.is-start { text-align: left; }
.ty-track__step.is-end { text-align: right; }
.ty-track__step.is-active { color: var(--primary); }
.ty-track__step.is-active .font-label-spec { font-weight: 700; }
.ty-track__live {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  margin-top: var(--space-sm); padding: var(--space-xs);
  background: var(--surface, #f8f9ff); border-radius: var(--radius-lg);
}
.ty-track__live .font-body-sm {
  display: inline-flex; align-items: center; gap: 6px; color: var(--on-surface-variant);
}
.ty-track__live-dot {
  width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0;
  background: var(--primary); animation: eplanet-ping 1.4s infinite;
}
.ty-manifest__head,
.ty-pay__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.ty-manifest__head h2,
.ty-pay__head h2 { margin: 0; }
.ty-manifest__count {
  padding: 2px 6px; border-radius: 4px; text-transform: uppercase;
  background: var(--surface-container-high, #dbe9ff); color: var(--on-surface-variant);
}
.ty-manifest__list { display: flex; flex-direction: column; gap: var(--space-md); }
.ty-line {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-xs); border-radius: var(--radius-xl);
  background: var(--surface, #f8f9ff);
}
.ty-line--free { background: var(--surface-container-low, #eef4ff); }
.ty-line__media {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-container-high, #dbe9ff);
}
.ty-line__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-line__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ty-line__pills { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 2px; }
.ty-pill {
  padding: 1px 4px; border-radius: 4px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .04em;
  background: var(--surface-container-highest, #d4e4fa); color: var(--on-surface-variant);
}
.ty-pill--accent { color: var(--primary); }
.ty-pill--comp {
  background: var(--secondary-container, #fd761a);
  color: var(--on-secondary-container, #5c2400);
  font-weight: 700; text-transform: uppercase;
}
.ty-line__name {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ty-line__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
}
.ty-pay__method {
  display: inline-flex; align-items: center; gap: 4px; color: var(--on-surface-variant);
}
.ty-pay__method .material-symbols-outlined { font-size: 16px; }
.ty-pay__rows { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-md); }
.ty-pay__row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: 4px 0; color: var(--on-surface-variant); font-size: 14px;
}
.ty-pay__row > span:last-child { color: var(--on-surface); }
.ty-pay__row--promo { color: var(--secondary, #9d4300); }
.ty-pay__row--promo > span:last-child { color: var(--secondary, #9d4300); font-weight: 700; }
.ty-pay__row--free > span:last-child { color: var(--tertiary, #006c49); font-weight: 700; }
.ty-pay__chip {
  display: inline-block; margin-left: 4px; padding: 1px 4px; border-radius: 4px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600; font-style: normal;
  background: var(--secondary-fixed, #ffdbca); color: var(--on-secondary-fixed, #341100);
}
.ty-pay__chip--free {
  background: var(--tertiary-fixed, #6ffbbe); color: var(--on-tertiary-fixed, #002113); font-weight: 700;
}
.ty-pay__total {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-sm); border-radius: var(--radius-lg);
  background: var(--surface-container-high, #dbe9ff);
}
.ty-pay__total > div { display: flex; flex-direction: column; gap: 2px; }
.ty-pay__amount {
  font-family: var(--font-headline); font-size: 32px; line-height: 1.1;
  font-weight: 700; letter-spacing: -0.02em; color: var(--primary);
}
.ty-dest { display: flex; flex-direction: column; gap: var(--space-sm); }
.ty-dest__card {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  padding: var(--space-md); border-radius: var(--radius-xl);
  background: var(--surface-container-lowest, #fff);
  box-shadow: 0 4px 16px rgba(13, 28, 45, 0.06);
}
.ty-dest__icon {
  width: 36px; height: 36px; border-radius: var(--radius-lg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-container-high, #dbe9ff); color: var(--primary); margin-top: 2px;
}
.ty-dest__icon .material-symbols-outlined { font-size: 20px; }
.ty-dest__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ty-dest__contact {
  margin-top: 4px; color: var(--primary); font-weight: 600;
}
.ty-guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xs); }
.ty-guarantee {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--space-sm); border-radius: var(--radius-xl);
  background: var(--surface-container-lowest, #fff);
  box-shadow: 0 4px 16px rgba(13, 28, 45, 0.06);
}
.ty-guarantee__icon {
  width: 32px; height: 32px; border-radius: 999px; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-container-high, #dbe9ff); color: var(--primary);
}
.ty-guarantee__icon.is-tertiary { color: var(--tertiary, #006c49); }
.ty-guarantee__icon.is-secondary { color: var(--secondary, #9d4300); }
.ty-guarantee__icon .material-symbols-outlined { font-size: 18px; }
.ty-guarantee__title {
  font-family: var(--font-title, var(--font-body)); font-size: 12px; font-weight: 600;
  line-height: 1.25; color: var(--on-surface);
}
.ty-guarantee__sub {
  font-family: var(--font-body); font-size: 10px; line-height: 1.3; color: var(--outline, #6d797d);
}
.ty-support {
  display: flex; flex-direction: column; gap: var(--space-sm);
  padding: var(--space-md); border-radius: var(--radius-xl);
  background: var(--surface-container-high, #dbe9ff);
  box-shadow: 0 4px 16px rgba(13, 28, 45, 0.05);
}
.ty-support__copy { display: flex; align-items: flex-start; gap: var(--space-sm); }
.ty-support__copy p { margin: 2px 0 0; }
.ty-support__icon {
  width: 36px; height: 36px; border-radius: var(--radius-lg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-container-lowest, #fff); color: var(--on-surface);
}
.ty-support__icon .material-symbols-outlined { font-size: 20px; }
.ty-support__actions { display: flex; align-items: center; gap: var(--space-xs); }
.ty-support__chat {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 8px var(--space-sm); border-radius: var(--radius-lg);
  background: var(--surface-container-lowest, #fff); color: var(--on-surface);
  font-family: var(--font-label); font-size: 13px; font-weight: 600; text-decoration: none;
}
.ty-support__chat .material-symbols-outlined { font-size: 16px; }
.ty-support__call {
  width: 40px; height: 40px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  background: var(--surface, #f8f9ff); color: var(--on-surface-variant); text-decoration: none;
}
.ty-support__call .material-symbols-outlined { font-size: 18px; }
.ty-support__call:hover { color: var(--on-surface); }
@media print {
  .site-header, .site-footer, .ty-actions, .ty-support, .ty-hero__halo { display: none !important; }
  .thankyou-page__inner { max-width: none; padding: 0; }
}

.auth-page { position: relative; overflow: hidden; }
.auth-page__glow {
  position: absolute; border-radius: 999px; pointer-events: none; filter: blur(120px); z-index: 0;
}
.auth-page__glow--1 {
  top: 15%; left: 50%; transform: translateX(-50%); width: 38rem; height: 38rem;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.auth-page__glow--2 {
  bottom: 5%; left: 30%; width: 26rem; height: 26rem;
  background: color-mix(in srgb, var(--secondary-container) 12%, transparent);
}
.auth-wrap { position: relative; z-index: 1; flex-direction: column; gap: var(--space-md); }
.auth-brand { display: inline-flex; align-items: center; gap: 8px; }
.auth-brand__mark {
  width: 40px; height: 40px; border-radius: var(--radius-lg);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-container-high); color: var(--primary);
  box-shadow: 0 8px 20px rgba(6,182,212,0.2);
}
.auth-card__intro { text-align: center; margin-bottom: var(--space-lg); }
.auth-card__intro h1 { margin: 0 0 6px; }
.auth-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.auth-password { position: relative; }
.auth-password .icon-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }

.account-telemetry {
  background: var(--surface-container-lowest, #fff); padding: var(--space-sm) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant, #bcc9cd) 35%, transparent);
}
.account-telemetry__inner {
  display: flex; flex-direction: column; gap: var(--space-sm);
}
@media (min-width: 768px) {
  .account-telemetry__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.account-telemetry__left,
.account-telemetry__right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.account-telemetry__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--surface-container-highest); color: var(--primary);
  font-family: var(--font-label); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.account-telemetry__badge .status-pill__pulse { background: var(--primary); }
.account-telemetry__chip { display: inline-flex; align-items: center; gap: 6px; }
.account-telemetry__dot { color: var(--outline-variant, #bcc9cd); }
.account-banner {
  background: var(--surface-container-low); padding: var(--space-lg) 0;
  box-shadow: 0 1px 0 rgba(13,28,45,0.04);
}
.account-banner__inner { display: flex; flex-direction: column; gap: var(--space-lg); }
.account-banner__top {
  display: flex; flex-direction: column; gap: var(--space-md);
}
@media (min-width: 1024px) {
  .account-banner__top {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}
.account-banner__identity { display: flex; align-items: center; gap: var(--space-md); min-width: 0; }
.account-banner__name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.account-banner__name-row h1 { margin: 0; }
.account-banner__member { margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.account-banner__actions {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  align-self: flex-start;
}
@media (min-width: 1024px) { .account-banner__actions { align-self: center; } }
.account-action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-lg);
  background: var(--surface-container-highest); color: var(--on-surface);
  font-family: var(--font-label); font-size: 13px; font-weight: 600;
  text-decoration: none; box-shadow: 0 2px 8px rgba(13,28,45,0.05);
  transition: .15s ease;
}
.account-action-btn:hover { color: var(--primary); background: var(--surface-bright, #fff); }
.account-action-btn--muted { color: var(--on-surface-variant); }
.account-action-btn--muted:hover { color: var(--error, #ba1a1a); }
.account-tier-pill {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary);
  font-family: var(--font-label); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.account-avatar-wrap { position: relative; flex-shrink: 0; }
.account-avatar--lg { width: 64px; height: 64px; border-radius: var(--radius-xl); margin: 0; }
.account-avatar__online {
  position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px;
  border-radius: 999px; background: var(--surface-container);
  display: inline-flex; align-items: center; justify-content: center;
}
.account-avatar__online::after {
  content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--tertiary);
}
.account-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md);
}
@media (min-width: 768px) { .account-stats { grid-template-columns: repeat(4, 1fr); } }
.account-stat {
  background: var(--surface-container); border-radius: var(--radius-xl); padding: var(--space-md);
  display: flex; flex-direction: column; gap: 4px; box-shadow: 0 2px 8px rgba(13,28,45,0.04);
}
.account-stat--row {
  flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.account-stat--row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-stat__icon {
  width: 40px; height: 40px; border-radius: var(--radius-lg); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-container-highest); color: var(--primary);
}
.account-stat__icon--tertiary { color: var(--tertiary); }
.account-stat__icon--secondary { color: var(--secondary); }
.account-stat__points { color: var(--secondary-fixed, #ffb690); }
.account-stat__credit { color: var(--secondary-container, #fd761a); }
.account-nav {
  border: 0; background: var(--surface-container-low); box-shadow: 0 8px 24px rgba(13,28,45,0.05);
  border-radius: var(--radius-xl); padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm);
}
.account-nav__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 4px 8px 8px;
}
.account-nav__label { text-transform: uppercase; letter-spacing: 0.06em; }
.account-nav__tier {
  color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.account-nav__left { display: inline-flex; align-items: center; gap: 10px; }
.account-nav a .material-symbols-outlined { font-size: 20px; }
.account-nav__support {
  margin-top: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-xl);
  background: var(--surface-container); display: flex; flex-direction: column; gap: var(--space-sm);
}
.account-nav__support-head {
  display: inline-flex; align-items: center; gap: 8px; color: var(--primary);
}
.account-nav__live {
  width: 8px; height: 8px; border-radius: 999px; background: var(--primary);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 45%, transparent);
  animation: eplanet-pulse 1.6s ease-out infinite;
}
.soon-badge--warranty {
  background: color-mix(in srgb, var(--tertiary) 18%, transparent); color: var(--tertiary);
}
.account-nav__eco {
  margin-top: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-xl);
  background: var(--surface-container-low); box-shadow: 0 2px 8px rgba(13,28,45,0.04);
  display: flex; flex-direction: column; gap: 8px;
}
.account-nav__eco-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.account-nav__eco-bar {
  height: 6px; border-radius: 999px; background: var(--surface-container); overflow: hidden;
}
.account-nav__eco-bar > span {
  display: block; height: 100%; border-radius: 999px; background: var(--tertiary);
}
.order-history__toolbar-row {
  display: flex; flex-direction: column; gap: var(--space-sm); width: 100%;
}
@media (min-width: 768px) {
  .order-history__toolbar-row { flex-direction: row; align-items: center; }
}
.order-history__range-wrap { position: relative; width: 100%; }
@media (min-width: 768px) { .order-history__range-wrap { width: 12rem; flex-shrink: 0; } }
.order-history__range-wrap .material-symbols-outlined {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--outline); pointer-events: none;
}
.order-history__range { padding-right: 36px !important; width: 100%; }
.order-history__pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.order-history__pill {
  border: 0; cursor: default;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface-container); color: var(--on-surface-variant);
  font-family: var(--font-label); font-size: 13px; font-weight: 600;
}
.order-history__pill.is-active {
  background: var(--primary); color: #fff; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,104,122,0.25);
}
.soon-badge--active { background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); }
.account-panel__head { margin-bottom: var(--space-lg); }
.account-panel__head h2 { margin: 4px 0; }
.account-panel__head--row { display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
.order-history__count {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-container-high); color: var(--on-surface); text-transform: uppercase; letter-spacing: .06em;
}
.order-history__toolbar {
  display: flex; flex-direction: column; gap: var(--space-sm);
  background: var(--surface-container-low); border-radius: var(--radius-xl);
  padding: var(--space-md); margin-bottom: var(--space-lg); box-shadow: 0 4px 16px rgba(13,28,45,0.04);
}
@media (min-width: 768px) {
  .order-history__toolbar { flex-direction: row; align-items: center; }
}
.order-history__search {
  position: relative; flex: 1; width: 100%;
}
.order-history__search .material-symbols-outlined {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--outline); pointer-events: none;
}
.order-history__search input {
  width: 100%; border: 0; border-radius: var(--radius-lg);
  background: var(--surface-container-lowest); padding: 12px 14px 12px 40px;
  font-size: 13px; color: var(--on-surface);
}
.order-history__range {
  width: 100%; border: 0; border-radius: var(--radius-lg);
  background: var(--surface-container-lowest); padding: 12px 14px; font-size: 13px;
}
@media (min-width: 768px) { .order-history__range { width: 12rem; } }
.order-list { display: flex; flex-direction: column; gap: var(--space-lg); }
.ohist-card {
  background: var(--surface-container-low); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: 0 10px 28px rgba(13,28,45,0.08);
  display: flex; flex-direction: column;
}
.ohist-card__meta {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-md); background: var(--surface-container);
}
.ohist-card__meta-grid {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 16px;
}
.ohist-card__meta-grid > div { display: flex; flex-direction: column; gap: 2px; }
.ohist-card__meta-grid .font-label-spec { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.ohist-card__sep { color: var(--outline-variant, #bcc9cd); align-self: center; display: none; }
@media (min-width: 640px) { .ohist-card__sep { display: inline; } }
.status-pill { gap: 6px; align-items: center; }
.status-pill__pulse {
  width: 8px; height: 8px; border-radius: 999px; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; animation: eplanet-pulse 1.6s ease-out infinite;
}
@keyframes eplanet-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.ohist-card__progress {
  padding: var(--space-md); background: color-mix(in srgb, var(--surface-container-lowest) 60%, transparent);
  display: flex; flex-direction: column; gap: var(--space-md);
}
.ohist-card__carrier {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 14px;
}
.ohist-card__carrier-left { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ohist-card__carrier-sep { color: var(--outline); }
.ohist-card__trackcode {
  font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--on-surface-variant);
  letter-spacing: -0.02em;
}
.ohist-card__hub {
  text-transform: uppercase; letter-spacing: .06em; color: var(--primary); font-weight: 700;
}
.ohist-progress__track {
  height: 6px; width: 100%; border-radius: 999px; background: var(--surface-container-high); overflow: hidden;
}
.ohist-progress__fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container), var(--primary));
}
.ohist-progress__labels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  margin-top: 8px; font-family: var(--font-label); font-size: 11px; font-weight: 600;
  color: var(--outline);
}
.ohist-progress__labels span:nth-child(1) { text-align: left; }
.ohist-progress__labels span:nth-child(2),
.ohist-progress__labels span:nth-child(3) { text-align: center; }
.ohist-progress__labels span:nth-child(4) { text-align: right; }
.ohist-progress__labels .is-active { color: var(--primary); font-weight: 700; }
.ohist-card__items { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-md); }
.ohist-item {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.ohist-item__main { display: flex; align-items: center; gap: var(--space-md); min-width: 0; flex: 1; }
.ohist-item__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ohist-item__price {
  display: flex; align-items: center; justify-content: flex-end; gap: var(--space-lg);
  text-align: right; flex-shrink: 0;
}
.ohist-item__media {
  width: 64px; height: 64px; border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0;
  background: var(--surface-container-highest); box-shadow: 0 2px 8px rgba(13,28,45,0.06);
}
.ohist-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ohist-card__footer {
  padding: var(--space-md); background: var(--surface-container);
  display: flex; flex-direction: column; gap: var(--space-md);
}
@media (min-width: 768px) {
  .ohist-card__footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
.ohist-card__total-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.ohist-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.order-history__pager {
  margin-top: var(--space-lg); padding: var(--space-md); border-radius: var(--radius-xl);
  background: var(--surface-container-low); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: var(--space-md);
}
.order-detail__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--space-md); }
.order-detail__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-top: var(--space-lg);
}
@media (min-width: 768px) { .order-detail__grid { grid-template-columns: 1fr 1fr; } }
.order-detail__totals { margin-top: var(--space-md); display: flex; flex-direction: column; gap: 8px; }
.order-detail__totals .cart-summary__row {
  display: flex; justify-content: space-between; gap: 8px; color: var(--on-surface-variant); font-size: 13px;
}
.order-detail__totals .cart-summary__row.is-discount { color: var(--tertiary); }
.ohist-card--detail { margin-bottom: 0; }
.address-book .account-panel__head--row { align-items: flex-start; }
.address-book__add { white-space: nowrap; box-shadow: 0 0 20px rgba(6,182,212,0.28); }
.address-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 768px) { .address-grid { grid-template-columns: 1fr 1fr; } }
.address-card {
  background: var(--surface-container-low); border-radius: 1rem; padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-md);
  box-shadow: 0 4px 20px rgba(13,28,45,0.08);
}
.address-card.is-primary { box-shadow: 0 4px 20px rgba(13,28,45,0.08), 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent); }
.address-card__top,
.address-card__title-row,
.address-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.address-card__title-row h3 { margin: 0; }
.address-card__icon {
  width: 40px; height: 40px; border-radius: var(--radius-lg);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-container); color: var(--primary);
}
.address-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-label); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.address-badge--default {
  background: color-mix(in srgb, var(--tertiary) 16%, transparent); color: var(--tertiary);
}
.address-badge__dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--tertiary);
  box-shadow: 0 0 8px color-mix(in srgb, var(--tertiary) 70%, transparent);
}
.address-badge--verified {
  background: color-mix(in srgb, var(--tertiary) 10%, transparent); color: var(--tertiary);
}
.address-badge--alt {
  background: var(--surface-container-high); color: var(--on-surface-variant); font-weight: 600;
}
.address-badge--carrier {
  background: color-mix(in srgb, var(--primary-container) 18%, transparent); color: var(--primary);
}
.address-card__body { color: var(--on-surface-variant); display: flex; flex-direction: column; gap: 2px; }
.address-card__body p { margin: 0; }
.address-card__name { color: var(--on-surface) !important; font-weight: 600; }
.address-card__phone {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px !important; color: var(--on-surface);
}
.address-card__phone .material-symbols-outlined { font-size: 16px; color: var(--outline); }
.address-card__note {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px; border-radius: var(--radius-xl);
  background: var(--surface-container); color: var(--on-surface-variant); font-size: 13px; line-height: 1.45;
}
.address-card__note .material-symbols-outlined { font-size: 16px; color: var(--primary); margin-top: 2px; }
.address-card__foot {
  margin-top: auto; padding-top: var(--space-md);
  border-top: 1px solid color-mix(in srgb, var(--outline-variant, #bcc9cd) 40%, transparent);
}
.address-card__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.address-card__btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: var(--radius-lg); border: 0;
  background: var(--surface-container-high); color: var(--on-surface);
  font-family: var(--font-label); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.address-card__btn .material-symbols-outlined { font-size: 16px; }
.address-card__btn.is-disabled,
.address-card__btn:disabled {
  opacity: .45; cursor: not-allowed; background: var(--surface-container); color: var(--outline);
}
.address-card__delete-form { display: inline; margin: 0; }
.address-card__btn--delete {
  background: var(--surface-container);
  color: var(--on-surface-variant);
}
.address-card__btn--delete:hover {
  background: var(--error-container, #ffdad6);
  color: var(--on-error-container, #410002);
}
.address-card__primary {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--primary); font-family: var(--font-label); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.address-card__primary .material-symbols-outlined { font-size: 16px; }
.address-card__set-default {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--primary); font-family: var(--font-label); font-size: 13px; font-weight: 600; text-decoration: none;
}
.address-card__set-default .material-symbols-outlined { font-size: 16px; }
.address-telemetry {
  margin-top: var(--space-lg); padding: var(--space-lg); border-radius: 1rem;
  background: var(--surface-container-low);
  display: flex; flex-direction: column; gap: var(--space-md);
  box-shadow: 0 4px 16px rgba(13,28,45,0.05);
}
@media (min-width: 768px) {
  .address-telemetry { flex-direction: row; align-items: center; justify-content: space-between; }
}
.address-telemetry__copy { display: flex; align-items: flex-start; gap: var(--space-md); min-width: 0; }
.address-telemetry__copy h4 { margin: 0 0 4px; }
.address-telemetry__icon {
  width: 48px; height: 48px; border-radius: var(--radius-xl); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--secondary-container) 20%, transparent); color: var(--secondary-container);
}
.address-telemetry__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.address-telemetry__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--radius-lg);
  background: var(--surface-container); font-family: var(--font-label); font-size: 12px; font-weight: 600;
}
.address-telemetry__chip > span:first-child {
  width: 8px; height: 8px; border-radius: 999px;
}
.address-telemetry__chip .is-green { background: var(--tertiary); }
.address-telemetry__chip .is-blue { background: var(--primary); }
.address-vault {
  margin-top: var(--space-md); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-xl);
  background: var(--surface-container-lowest, #fff);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-family: var(--font-label); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--on-surface-variant);
}
.address-vault > span { display: inline-flex; align-items: center; gap: 6px; }
.address-vault .material-symbols-outlined { font-size: 16px; color: var(--primary); }
/* ---------- Destination address modal (Stitch eplanet_add_new_address_modal) ---------- */
.address-book.is-modal-open {
  filter: blur(6px) brightness(0.55);
  pointer-events: none;
  user-select: none;
  transition: filter .25s ease;
}
.account-page:has(.dest-overlay.is-open) .account-banner,
.account-page:has(.dest-overlay.is-open) .account-layout__nav,
.account-page:has(.dest-overlay.is-open) .account-telemetry {
  filter: blur(4px) brightness(0.7);
  pointer-events: none;
  transition: filter .25s ease;
}
/* SelectWoo/Select2 menus append to <body> at z-index ~1051 — must sit above this overlay. */
body.dest-modal-open .select2-container--open {
  z-index: 1300 !important;
}
body.dest-modal-open .select2-dropdown {
  z-index: 1300 !important;
}
.dest-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-sm);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) {
  .dest-overlay { padding: var(--space-md) var(--space-lg); align-items: center; }
}
.dest-overlay.is-open {
  display: flex;
}
html.dest-modal-open,
body.dest-modal-open {
  overflow: hidden;
}
.dest-overlay__scrim {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--surface-container-lowest, #fff) 80%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.dest-modal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 42rem;
  max-height: min(90vh, 820px);
  margin: auto;
  background: var(--surface-container-low, #eef4ff);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(6, 182, 212, 0.18);
}
.dest-modal__glow {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary, #00687a), transparent);
  opacity: .85; pointer-events: none;
}
.dest-modal__notices {
  margin: 0 0 var(--space-sm);
}
.dest-modal__notices .woocommerce-error,
.dest-modal__notices .woocommerce-message,
.dest-modal__notices .woocommerce-info,
.account-content > .woocommerce-error,
.account-content > .woocommerce-message,
.account-content > .woocommerce-info,
.address-book + .woocommerce-error,
.address-book .woocommerce-error,
.address-book .woocommerce-message {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 14px;
}
.dest-modal__notices .woocommerce-error,
.account-content > .woocommerce-error,
.address-book .woocommerce-error {
  background: color-mix(in srgb, #ba1a1a 12%, #fff);
  color: #93000a;
}
.dest-modal__notices .woocommerce-message,
.account-content > .woocommerce-message,
.address-book .woocommerce-message {
  background: color-mix(in srgb, var(--tertiary, #006c49) 12%, #fff);
  color: var(--tertiary, #006c49);
}
.dest-modal__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
}
.dest-modal__title { display: flex; align-items: flex-start; gap: var(--space-sm); min-width: 0; }
.dest-modal__title h2 { margin: 0; letter-spacing: -0.01em; }
.dest-modal__title p { margin: 2px 0 0; line-height: 1.35; }
.dest-modal__icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-container-highest, #d4e4fa); color: var(--primary);
  box-shadow: inset 0 1px 2px rgba(13, 28, 45, 0.06);
}
.dest-modal__icon .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.dest-modal__close {
  width: 32px; height: 32px; border-radius: var(--radius-lg); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-container, #e5efff); color: var(--on-surface-variant);
  text-decoration: none;
}
.dest-modal__close:hover { background: var(--surface-container-highest); color: var(--on-surface); }
.dest-modal__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.dest-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: 0 var(--space-lg) var(--space-md);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}
.dest-ident { display: flex; flex-direction: column; gap: 6px; }
.dest-ident__label {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--on-surface);
}
.dest-ident__label .text-muted {
  font-family: var(--font-label); font-size: 11px; font-weight: 400;
  letter-spacing: .06em;
}
.dest-ident__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (min-width: 480px) {
  .dest-ident__grid { grid-template-columns: repeat(4, 1fr); }
}
.dest-ident__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; border: 0; border-radius: var(--radius-lg); cursor: pointer;
  background: var(--surface-container, #e5efff); color: var(--on-surface-variant);
  font-family: var(--font-label); font-size: 13px; font-weight: 600;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.dest-ident__btn .material-symbols-outlined { font-size: 16px; }
.dest-ident__btn:hover { background: var(--surface-container-highest); color: var(--on-surface); }
.dest-ident__btn.is-active {
  background: var(--primary-container, #06b6d4);
  color: var(--on-primary-container, #00424f);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}
.dest-modal__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}
/* Account content column is often <640px; match Stitch sm: 2/3-col inside the modal card */
@media (min-width: 420px) {
  .dest-modal__fields { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dest-field--half { grid-column: span 3; }
  .dest-field--third { grid-column: span 2; }
  .dest-field--full { grid-column: 1 / -1; }
}
.dest-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.dest-field__label {
  display: block;
  margin: 0;
  padding-right: 72px;
  font-family: var(--font-label); font-size: 13px; font-weight: 500;
  letter-spacing: .02em; text-transform: none; color: var(--on-surface);
  line-height: 18px;
}
/* Hide any leftover Woo labels inside the control (we render ours above). */
.dest-field__control > .form-row > label,
.dest-field__control label.dest-field__woo-label,
.dest-field__control .form-row label {
  display: none !important;
}
.dest-field label .required,
.dest-field .required,
.dest-field label .optional,
.dest-field .optional { display: none; }
.dest-field__tag {
  position: absolute; top: 0; right: 0;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 2px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; font-style: normal;
  line-height: 18px;
}
.dest-field__tag .material-symbols-outlined { font-size: 12px; }
.dest-field__tag--required { color: var(--primary); }
.dest-field__tag--optional { color: var(--on-surface-variant); font-weight: 400; }
.dest-field__tag--sms { color: var(--tertiary, #006c49); }
.dest-field__tag--ok { color: var(--tertiary, #006c49); }
.dest-prefs__copy strong .dest-field__tag {
  position: static; margin-left: 6px;
  padding: 2px 6px; border-radius: 4px;
  background: color-mix(in srgb, var(--tertiary-container, #1bbd85) 30%, transparent);
  font-size: 10px; font-weight: 700;
}
.dest-field__control {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.dest-field__icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  z-index: 2;
  font-size: 18px; color: var(--outline); pointer-events: none;
  line-height: 1;
}
.dest-field--country .dest-field__icon { color: var(--primary); }
.dest-field--select:not(.dest-field--country) .dest-field__icon { display: none; }
.dest-field .woocommerce-input-wrapper,
.dest-field .form-row,
.dest-field .form-row-wide,
.dest-field .form-row-first,
.dest-field .form-row-last {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}
.dest-field .form-row::before,
.dest-field .form-row::after { display: none !important; content: none !important; }
.dest-field .woocommerce-error,
.dest-field .woocommerce-message { display: none; }
.dest-field .input-text,
.dest-field input.input-text,
.dest-field textarea.input-text,
.dest-field select,
.dest-field .select2-container .select2-selection--single {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest, #fff);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  padding: 10px 14px;
  box-shadow: none;
  appearance: none;
  outline: none;
}
.dest-field .input-text:focus,
.dest-field input.input-text:focus,
.dest-field textarea.input-text:focus,
.dest-field select:focus {
  background: var(--surface-container-lowest, #fff);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
}
.dest-field.has-icon .dest-field__control .input-text,
.dest-field.has-icon .dest-field__control input.input-text,
.dest-field.has-icon .dest-field__control select,
.dest-field--country .dest-field__control select,
.dest-field.has-icon .woocommerce-input-wrapper .input-text,
.dest-field.has-icon .woocommerce-input-wrapper input.input-text,
.dest-field.has-icon .woocommerce-input-wrapper select,
.dest-field--country .woocommerce-input-wrapper select,
.dest-field--country .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 40px !important;
}
.dest-field--postcode .dest-field__control {
  position: relative;
}
.dest-field--postcode .input-text,
.dest-field--postcode input.input-text {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-right: 40px;
}
.dest-field--postcode .dest-field__control::after {
  content: 'check_circle';
  font-family: 'Material Symbols Outlined';
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--tertiary); pointer-events: none;
  font-variation-settings: 'FILL' 1;
}
.dest-field textarea.input-text {
  resize: none; min-height: 72px; padding: var(--space-md);
}
.dest-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%236d797d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}
.dest-field .select2-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
.dest-field .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  height: 42px !important;
  border: 0 !important;
  border-radius: var(--radius-lg) !important;
  background: var(--surface-container-lowest, #fff) !important;
}
.dest-field .select2-container .select2-selection__rendered {
  padding-left: 14px !important;
  padding-right: 28px !important;
  line-height: 22px !important;
  color: var(--on-surface) !important;
}
.dest-field .select2-container .select2-selection__arrow {
  height: 40px !important;
  right: 8px !important;
}
.dest-field--third .form-row,
.dest-field--third .woocommerce-input-wrapper,
.dest-field--third select,
.dest-field--third .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}
.dest-prefs {
  background: var(--surface-container, #e5efff);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.dest-prefs__row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  cursor: pointer; margin: 0;
}
.dest-prefs__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dest-prefs__copy strong {
  display: flex; flex-wrap: wrap; align-items: center;
  font-family: var(--font-label); font-size: 13px; font-weight: 600; color: var(--on-surface);
}
.dest-prefs__copy small {
  font-family: var(--font-body); font-size: 12px; line-height: 18px; color: var(--on-surface-variant);
}
.dest-prefs__divider {
  height: 1px; width: 100%;
  background: var(--surface-container-high, #dbe9ff);
}
.dest-prefs__input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.dest-switch {
  position: relative; flex-shrink: 0;
  width: 44px; height: 24px; border-radius: 999px;
  background: var(--surface-container-highest, #d4e4fa);
  box-shadow: inset 0 1px 2px rgba(13, 28, 45, 0.08);
  transition: background .2s ease;
}
.dest-switch::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--on-primary-fixed, #001f26);
  transition: transform .2s ease;
}
.dest-prefs__input:checked + .dest-switch {
  background: var(--primary, #00687a);
}
.dest-prefs__input:checked + .dest-switch::after {
  transform: translateX(20px);
  background: #fff;
}
.dest-modal__foot {
  display: flex; flex-direction: column; gap: var(--space-md);
  align-items: stretch;
  flex-shrink: 0;
  padding: var(--space-md) var(--space-lg);
  margin: 0;
  background: var(--surface-container-lowest, #fff);
  border-top: 1px solid color-mix(in srgb, var(--outline-variant, #bcc9cd) 35%, transparent);
}
@media (min-width: 640px) {
  .dest-modal__foot {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}
.dest-modal__secure {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-surface-variant);
  text-transform: uppercase; letter-spacing: .06em;
}
.dest-modal__secure .material-symbols-outlined { font-size: 18px; color: var(--primary); }
.dest-modal__actions {
  display: flex; align-items: center; justify-content: flex-end; gap: var(--space-sm);
  width: 100%;
}
@media (min-width: 640px) { .dest-modal__actions { width: auto; } }
.dest-modal__actions .btn { flex: 1; justify-content: center; }
@media (min-width: 640px) { .dest-modal__actions .btn { flex: 0 0 auto; } }
.dest-modal__submit {
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 0 18px rgba(76, 215, 246, 0.35);
}
.dest-modal__submit .material-symbols-outlined { font-size: 18px; }
.account-content:has(.dest-modal) > .woocommerce-MyAccount-content > *:not(.woocommerce-notices-wrapper):not(.dest-modal) {
  /* Keep notices; Stitch form is the sole editor chrome */
}
.profile-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 900px) { .profile-grid { grid-template-columns: 1fr 1fr; } }
.eplanet-brand--checkout { display: inline-flex; align-items: center; gap: 6px; }
