/*
 * eTrade storefront: design layer (loaded after the template's style.min.css).
 *
 * THESIS: An electronics flagship counter, not a template demo. Product photos
 *   sit on cool studio plinths; price, saving and stock are always readable at
 *   the moment of decision. Refuses the stock template's pink accents,
 *   eyebrow labels, and Font Awesome mixed weights.
 * OWN-WORLD: Cool white ground, ink-navy (#0B1324) anchor bands, one committed
 *   teal (#007E7F) for every action, a deep dusty pink (#B9474A) reserved for
 *   price drops only. Sora for display and prices, Onest for UI. 14px card
 *   radius, 1.75-stroke line icons, soft offset shadows.
 * STORY: Shoppers see this week's offer, trust promises (delivery, COD,
 *   returns), then browse categories → featured → price drops → new → best
 *   sellers → reviews, and add to cart without leaving the page.
 * FIRST VIEWPORT: Header (search-first), then a bento hero: a 2/3 crossfading
 *   banner slider with progress-bar dots and a light CTA, beside up to two promo
 *   tiles; the trust strip sits directly below.
 * FORM: Brief-pinned category standard ("professional e-commerce"), executed
 *   at flagship-retail craft. Seed key ea848973 (roll set aside: brief pinned).
 * SIGNATURE: Add to cart flies the product photo into the cart, bumps the badge
 *   and raises a toast; the mini cart tracks progress to free shipping.
 * FINISH: unreviewed and undocumented is unfinished; this build ends with the
 *   finish review, the verdict, DESIGN.md, and every shipping raster carrying
 *   its provenance.
 *
 * /themes/* is cached for 7 days: bump ?v= in themes/etrade/assets.ts on edit.
 */

/* ───────────────────────── Tokens ───────────────────────── */
:root {
  /* GadgetGeek palette: Teal #007E7F, Deep Sea #002D3C, Light Aqua #33E2D1,
     Dusty Pink #E99495, Soft White #F8FAFA, Dark Slate #222222. */
  --etr-ink: #002d3c;
  --etr-ink-2: #0b3f50;
  --etr-text: #222222;
  --etr-muted: #56676c;
  --etr-line: #e1eaea;
  --etr-line-strong: #c8d6d7;
  --etr-bg: #ffffff;
  --etr-surface: #f3f7f7;
  --etr-surface-2: #e7efef;
  /* Teal, a shade deeper than #007E7F for richer buttons and links (6:1 with white text). */
  --etr-brand: #00696a;
  --etr-brand-strong: #004d52;
  --etr-brand-soft: #e1efef;
  /* Light Aqua is a highlight only (logo G, panels, gradients): too light
     for white text. */
  --etr-tint: #33e2d1;
  --etr-tint-soft: #e5f2f2;
  /* Dusty Pink warms up sale badges; the deeper shade keeps text readable. */
  --etr-deal: #b9474a;
  --etr-deal-soft: #fbe9e9;
  --etr-pink: #e99495;
  --etr-ok: #0e7c47;
  --etr-ok-soft: #e6f5ec;
  --etr-warn: #a35200;
  --etr-warn-soft: #fff4e0;
  --etr-danger: #c42b2b;

  --etr-r-sm: 8px;
  --etr-r: 12px;
  --etr-r-lg: 18px;
  --etr-r-xl: 24px;

  --etr-shadow-sm: 0 1px 2px rgba(11, 19, 36, 0.06), 0 2px 6px -2px rgba(11, 19, 36, 0.06);
  --etr-shadow: 0 2px 4px rgba(11, 19, 36, 0.04), 0 12px 28px -10px rgba(11, 19, 36, 0.16);
  --etr-shadow-lg: 0 6px 12px -4px rgba(11, 19, 36, 0.08), 0 28px 56px -18px rgba(11, 19, 36, 0.32);

  --etr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --etr-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --etr-display: var(--font-sora), "Sora", system-ui, sans-serif;
  --etr-ui: var(--font-onest), "Onest", system-ui, sans-serif;

  /* Re-point the template's own variables so every page it still styles
     (checkout, account, CMS) inherits the new palette and type. */
  --color-primary: var(--etr-brand);
  --light-primary: var(--etr-brand-soft);
  --color-secondary: var(--etr-ink);
  --color-heading: var(--etr-ink);
  --color-body: var(--etr-text);
  --color-lighter: var(--etr-surface);
  --color-border-light: var(--etr-line);
  --color-success: var(--etr-ok);
  --color-warning: var(--etr-warn);
  --radius: var(--etr-r-sm);
  --radius-big: var(--etr-r-lg);
  --radius-small: var(--etr-r-sm);
  --font-primary: var(--etr-ui);
  --font-secondary: var(--etr-display);
  --shadow-primary: var(--etr-shadow);
}

/* ───────────────────────── Base & browser surfaces ───────────────────────── */
body.etr-pro {
  background: var(--etr-bg);
  color: var(--etr-text);
  font-family: var(--etr-ui);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.etr-pro h1,
.etr-pro h2,
.etr-pro h3,
.etr-pro h4,
.etr-pro h5,
.etr-pro h6 {
  font-family: var(--etr-display);
  color: var(--etr-ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.etr-pro ::selection {
  background: var(--etr-brand);
  color: #fff;
}

.etr-pro {
  caret-color: var(--etr-brand);
  accent-color: var(--etr-brand);
  scrollbar-color: var(--etr-line-strong) transparent;
}

.etr-pro a {
  text-underline-offset: 3px;
  transition: color 0.2s var(--etr-ease);
}

.etr-pro :focus-visible {
  outline: 2px solid var(--etr-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.etr-pro .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.etr-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.etr-muted {
  color: var(--etr-muted);
}

.etr-pro .container {
  max-width: 1320px;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 575px) {
  .etr-pro .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ───────────────────────── Buttons & controls ───────────────────────── */
.etr-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--etr-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--etr-ease), color 0.25s var(--etr-ease), border-color 0.25s var(--etr-ease),
    box-shadow 0.35s var(--etr-ease), transform 0.35s var(--etr-ease);
}

.etr-btn:active:not(:disabled) {
  transform: scale(0.97);
}

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

.etr-btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 16px;
}

.etr-btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.etr-btn-block {
  width: 100%;
}

.etr-btn-primary {
  background: var(--etr-brand);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(0, 105, 106, 0.7);
}

.etr-btn-primary:hover:not(:disabled) {
  background: var(--etr-brand-strong);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(0, 105, 106, 0.85);
}

.etr-btn-primary.is-done {
  background: var(--etr-ok);
  box-shadow: none;
}

.etr-btn-dark {
  background: var(--etr-ink);
  color: #fff;
}

.etr-btn-dark:hover:not(:disabled) {
  background: var(--etr-ink-2);
  color: #fff;
}

.etr-btn-light {
  background: #fff;
  color: var(--etr-ink);
}

.etr-btn-light:hover {
  background: var(--etr-brand);
  color: #fff;
}

.etr-btn-light .etr-icon,
.etr-link-arrow .etr-icon {
  transition: transform 0.35s var(--etr-ease);
}

.etr-btn-light:hover .etr-icon,
.etr-link-arrow:hover .etr-icon {
  transform: translateX(4px);
}

.etr-btn-ghost {
  border-color: var(--etr-line-strong);
  background: #fff;
  color: var(--etr-ink);
}

.etr-btn-ghost:hover:not(:disabled) {
  border-color: var(--etr-ink);
  color: var(--etr-ink);
}

.etr-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--etr-brand);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.etr-link-arrow:hover {
  color: var(--etr-brand-strong);
}

.etr-round-btn,
.etr-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--etr-line);
  border-radius: 50%;
  background: #fff;
  color: var(--etr-ink);
  cursor: pointer;
  box-shadow: var(--etr-shadow-sm);
  transition: background-color 0.25s var(--etr-ease), color 0.25s var(--etr-ease), opacity 0.25s, transform 0.35s var(--etr-ease);
}

.etr-round-btn:hover:not(:disabled),
.etr-icon-btn:hover {
  background: var(--etr-ink);
  border-color: var(--etr-ink);
  color: #fff;
}

.etr-round-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.etr-icon-btn {
  box-shadow: none;
  border-color: transparent;
  background: var(--etr-surface);
}

/* Quantity stepper */
.etr-qty {
  display: inline-flex;
  align-items: center;
  height: 42px;
  border: 1px solid var(--etr-line-strong);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.etr-qty button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--etr-ink);
  cursor: pointer;
  transition: background-color 0.2s;
}

.etr-qty button:hover:not(:disabled) {
  background: var(--etr-surface);
}

.etr-qty button:disabled {
  color: var(--etr-line-strong);
  cursor: default;
}

.etr-qty input {
  width: 38px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--etr-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
}

.etr-qty input::-webkit-outer-spin-button,
.etr-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Select with label */
.etr-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--etr-muted);
  font-size: 14px;
  white-space: nowrap;
}

.etr-select select {
  height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--etr-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}

.etr-select .etr-icon {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: var(--etr-ink);
}

/* Price */
.etr-price {
  font-family: var(--etr-display);
  font-weight: 700;
  color: var(--etr-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.etr-price-lg {
  font-size: 26px;
}

.etr-price-xl {
  font-size: clamp(28px, 3.2vw, 36px);
}

.etr-price-old {
  color: var(--etr-muted);
  font-size: 0.92em;
  font-variant-numeric: tabular-nums;
  text-decoration-thickness: 1px;
}

.etr-save-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--etr-deal-soft);
  color: var(--etr-deal);
  font-size: 13px;
  font-weight: 700;
}

/* Stars */
.etr-stars {
  position: relative;
  display: inline-flex;
  line-height: 0;
  vertical-align: middle;
}

.etr-stars-base,
.etr-stars-fill {
  display: inline-flex;
  gap: 1px;
}

.etr-stars-base {
  color: var(--etr-line-strong);
}

.etr-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #f2a91b;
  white-space: nowrap;
}

.etr-stars-fill .etr-icon {
  stroke: #e39a0c;
}

/* Flags (badges on photos) */
.etr-flag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.etr-flag-deal {
  background: var(--etr-deal);
  color: #fff;
}

.etr-flag-new {
  background: var(--etr-brand);
  color: #fff;
}

.etr-flag-rank {
  background: var(--etr-ink);
  color: #fff;
}

.etr-flag-muted {
  background: rgba(255, 255, 255, 0.92);
  color: var(--etr-ink);
}

/* Empty states */
.etr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
}

.etr-empty p {
  margin: 0;
  max-width: 34ch;
  color: var(--etr-muted);
}

.etr-empty p strong {
  display: block;
  margin-bottom: 4px;
  color: var(--etr-ink);
  font-family: var(--etr-display);
  font-size: 18px;
}

.etr-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--etr-surface);
  color: var(--etr-brand);
}

.etr-empty-panel {
  padding: 64px 20px;
  border: 1px dashed var(--etr-line-strong);
  border-radius: var(--etr-r-lg);
  background: var(--etr-surface);
}

.etr-empty-panel .etr-empty-icon {
  background: #fff;
}

/* Skeleton */
.etr-skeleton {
  border-radius: var(--etr-r);
  background: linear-gradient(90deg, var(--etr-surface) 0%, var(--etr-surface-2) 50%, var(--etr-surface) 100%) 0 0 / 200% 100%;
  animation: etr-shimmer 1.4s linear infinite;
}

.etr-skeleton-media {
  aspect-ratio: 1;
}

.etr-skeleton-line {
  height: 14px;
  margin-bottom: 14px;
}

.etr-skeleton-line.is-lg {
  height: 28px;
}

@keyframes etr-shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ───────────────────────── Header ───────────────────────── */
.etr-pro .etr-hdr {
  background: #fff;
}

.etr-pro .etr-hdr-campaign {
  background: var(--etr-ink);
}

.etr-pro .etr-hdr-campaign p {
  padding: 9px 0;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
}

.etr-pro .etr-hdr-campaign a {
  margin-left: 6px;
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.etr-pro .etr-hdr-top {
  background: #fff;
  border-bottom-color: var(--etr-line);
}

.etr-pro .etr-hdr-contact a,
.etr-pro .etr-hdr-links a {
  color: var(--etr-muted);
}

.etr-pro .etr-hdr-contact .etr-icon {
  color: var(--etr-brand);
}

.etr-pro .etr-hdr-main .container {
  min-height: 84px;
  gap: 28px;
}

.etr-pro .etr-hdr-main.is-pinned,
.etr-pro .etr-hdr-nav.is-pinned {
  box-shadow: 0 1px 0 var(--etr-line), 0 10px 30px -18px rgba(11, 19, 36, 0.35);
  animation: etr-drop-in 0.45s var(--etr-ease);
}

@keyframes etr-drop-in {
  from {
    transform: translateY(-100%);
  }
}

.etr-pro .etr-search {
  height: 50px;
  border: 1.5px solid var(--etr-line-strong);
  border-radius: 999px;
  background: var(--etr-surface);
  transition: border-color 0.25s var(--etr-ease), background-color 0.25s var(--etr-ease), box-shadow 0.35s var(--etr-ease);
}

.etr-pro .etr-search:focus-within {
  border-color: var(--etr-brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 105, 106, 0.12);
}

.etr-pro .etr-search-cat {
  border-right: 1px solid var(--etr-line-strong);
  border-radius: 999px 0 0 999px;
  background: transparent;
}

.etr-pro .etr-search-cat select {
  padding-left: 20px;
  font-weight: 600;
  color: var(--etr-ink);
}

.etr-pro .etr-search-cat .etr-icon {
  position: absolute;
  right: 12px;
  color: var(--etr-muted);
  pointer-events: none;
}

.etr-pro .etr-search input {
  font-size: 15px;
  color: var(--etr-ink);
}

.etr-pro .etr-search input::placeholder {
  color: var(--etr-muted);
}

.etr-pro .etr-search button[type="submit"] {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 2px 3px 2px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--etr-brand);
  color: #fff;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.35s var(--etr-ease);
}

.etr-pro .etr-search button[type="submit"]:hover {
  background: var(--etr-brand-strong);
  transform: scale(1.05);
}

.etr-pro .etr-search-results {
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  box-shadow: var(--etr-shadow-lg);
  overflow: hidden;
  animation: etr-pop 0.3s var(--etr-ease);
}

@keyframes etr-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
}

.etr-pro .etr-hdr-action {
  border-radius: var(--etr-r);
  padding: 8px 10px;
  transition: background-color 0.2s;
}

.etr-pro .etr-hdr-action:hover,
.etr-pro .etr-hdr-account.open .etr-hdr-action {
  background: var(--etr-surface);
}

.etr-pro .etr-hdr-action-text small {
  color: var(--etr-muted);
}

.etr-pro .etr-hdr-action-text strong {
  font-family: var(--etr-display);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.etr-pro .etr-hdr-cart-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.etr-pro .etr-hdr-count {
  position: absolute;
  top: -7px;
  right: -9px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--etr-deal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.etr-pro .etr-hdr-count.is-empty {
  background: var(--etr-muted);
}

.etr-pro [data-cart-target].is-bumped {
  animation: etr-bump 0.55s var(--etr-ease);
}

.etr-pro [data-cart-target].is-bumped .etr-hdr-count {
  animation: etr-badge 0.55s var(--etr-ease);
}

@keyframes etr-bump {
  30% {
    transform: scale(1.22) rotate(-8deg);
  }
  60% {
    transform: scale(0.94) rotate(3deg);
  }
}

@keyframes etr-badge {
  30% {
    transform: scale(1.45);
  }
}

.etr-pro .etr-hdr-account-menu {
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r);
  box-shadow: var(--etr-shadow-lg);
}

.etr-pro .etr-hdr-nav {
  border-top: 1px solid var(--etr-line);
  border-bottom: 1px solid var(--etr-line);
}

.etr-pro .etr-hdr-nav .etr-catmenu-toggle {
  background: var(--etr-ink);
  font-family: var(--etr-ui);
  transition: background-color 0.25s;
}

.etr-pro .etr-hdr-nav .etr-catmenu-toggle:hover,
.etr-pro .etr-catmenu.open .etr-catmenu-toggle {
  background: var(--etr-brand);
}

.etr-pro .etr-nav > li > a {
  font-family: var(--etr-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--etr-ink);
}

.etr-pro .etr-nav > li > a::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--etr-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--etr-ease);
}

.etr-pro .etr-nav > li > a:hover::before,
.etr-pro .etr-nav > li.active > a::before {
  transform: scaleX(1);
}

.etr-pro .etr-nav > li.active > a::after {
  display: none;
}

.etr-pro .etr-nav-sub,
.etr-pro .etr-catmenu-panel,
.etr-pro .etr-catmenu-flyout {
  border-color: var(--etr-line);
  border-radius: var(--etr-r);
  box-shadow: var(--etr-shadow-lg);
}

.etr-pro .etr-hdr-helpline .etr-icon {
  color: var(--etr-brand);
}

.etr-pro .etr-hdr-helpline strong {
  font-family: var(--etr-display);
  font-variant-numeric: tabular-nums;
}

.etr-pro .etr-hdr-burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--etr-r);
  background: var(--etr-surface);
  color: var(--etr-ink);
}

.etr-pro .etr-drawer {
  box-shadow: var(--etr-shadow-lg);
}

.etr-pro .etr-drawer-close {
  color: var(--etr-ink);
}

@media (max-width: 991px) {
  .etr-pro .etr-hdr-main .container {
    min-height: 68px;
    gap: 12px;
  }

  .etr-pro .etr-logo img {
    height: 34px;
    max-width: 196px;
  }

  .etr-pro .etr-hdr-msearch {
    padding: 0 0 12px;
  }

  .etr-pro .etr-hdr-msearch .etr-search {
    height: 46px;
  }

  .etr-pro .etr-hdr-msearch .etr-search button[type="submit"] {
    width: 38px;
    height: 38px;
  }
}

/* ───────────────────────── Mini cart drawer ───────────────────────── */
.etr-minicart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  background: #fff;
  box-shadow: -24px 0 60px -20px rgba(11, 19, 36, 0.35);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform 0.5s var(--etr-ease), visibility 0s linear 0.5s;
}

.etr-minicart.open {
  transform: none;
  visibility: visible;
  transition: transform 0.5s var(--etr-ease), visibility 0s;
}

.etr-minicart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--etr-line);
}

.etr-minicart-head h2 {
  margin: 0;
  font-size: 20px;
}

.etr-minicart-head h2 span {
  margin-left: 6px;
  color: var(--etr-muted);
  font-family: var(--etr-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.etr-minicart .etr-ship-meter {
  margin: 16px 24px 0;
}

.etr-minicart-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px;
}

.etr-minicart-body .etr-empty {
  height: 100%;
  justify-content: center;
}

.etr-minicart-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-minicart.open .etr-line {
  animation: etr-slide-in 0.5s var(--etr-ease) both;
}

.etr-minicart.open .etr-line:nth-child(2) {
  animation-delay: 0.04s;
}

.etr-minicart.open .etr-line:nth-child(3) {
  animation-delay: 0.08s;
}

.etr-minicart.open .etr-line:nth-child(n + 4) {
  animation-delay: 0.12s;
}

@keyframes etr-slide-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}

.etr-minicart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--etr-line);
  background: var(--etr-surface);
}

.etr-minicart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--etr-ink);
  font-weight: 600;
}

.etr-minicart-total strong {
  font-family: var(--etr-display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.etr-minicart-note {
  margin: 4px 0 16px;
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-minicart-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
}

.etr-scrim {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 19, 36, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--etr-ease);
}

.etr-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

/* Cart lines (mini cart + cart page) */
.etr-line {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--etr-line);
}

.etr-line:last-child {
  border-bottom: 0;
}

.etr-line-img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--etr-r);
  background: var(--etr-surface);
  overflow: hidden;
}

.etr-line-img img {
  object-fit: cover;
}

.etr-line-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.etr-line-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--etr-ink);
  font-weight: 600;
  line-height: 1.35;
}

.etr-line-name:hover {
  color: var(--etr-brand);
}

.etr-line-variant,
.etr-line-unit {
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-line-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.etr-line-row .etr-qty {
  height: 36px;
}

.etr-line-row .etr-qty button,
.etr-line-row .etr-qty input {
  width: 32px;
}

.etr-line-price {
  font-family: var(--etr-display);
  font-weight: 700;
  color: var(--etr-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.etr-line-remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--etr-muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.etr-line-remove:hover {
  background: #fdecec;
  color: var(--etr-danger);
}

/* Free shipping meter */
.etr-ship-meter {
  padding: 14px 16px;
  border-radius: var(--etr-r);
  background: var(--etr-brand-soft);
}

.etr-ship-meter-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--etr-ink);
  font-size: 14px;
  line-height: 1.4;
}

.etr-ship-meter-text .etr-icon {
  color: var(--etr-brand);
}

.etr-ship-meter-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 105, 106, 0.15);
  overflow: hidden;
}

.etr-ship-meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--etr-brand);
  transform: scaleX(var(--etr-progress, 0));
  transform-origin: left;
  transition: transform 0.8s var(--etr-ease);
}

.etr-ship-meter.is-unlocked {
  background: var(--etr-ok-soft);
}

.etr-ship-meter.is-unlocked .etr-icon {
  color: var(--etr-ok);
}

.etr-ship-meter.is-unlocked .etr-ship-meter-track span {
  background: var(--etr-ok);
}

/* ───────────────────────── Toast + fly-to-cart ───────────────────────── */
.etr-fly {
  position: fixed;
  z-index: 2000;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--etr-shadow-lg);
  pointer-events: none;
  will-change: transform, opacity;
}

.etr-toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  pointer-events: none;
}

.etr-toast {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(400px, calc(100vw - 32px));
  padding: 12px 12px 12px 12px;
  border-radius: var(--etr-r-lg);
  background: var(--etr-ink);
  color: #fff;
  box-shadow: var(--etr-shadow-lg);
  pointer-events: auto;
  animation: etr-toast-in 0.6s var(--etr-ease);
}

@keyframes etr-toast-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    filter: blur(4px);
  }
}

.etr-toast-img {
  width: 52px;
  height: 52px;
  border-radius: var(--etr-r);
  object-fit: cover;
  background: var(--etr-ink-2);
}

.etr-toast-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.etr-toast-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7fe0a9;
  font-size: 13px;
  font-weight: 600;
}

.etr-toast-name {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.etr-toast-action {
  width: auto;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--etr-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.etr-toast-action:hover {
  background: var(--etr-brand);
  color: #fff;
}

.etr-toast-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.etr-toast-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 575px) {
  .etr-toast-region {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .etr-toast {
    width: 100%;
  }
}

/* ───────────────────────── Sections ───────────────────────── */
.etr-section {
  padding: 72px 0;
}

.etr-section-tight {
  padding: 48px 0 24px;
}

.etr-section-tinted {
  background: var(--etr-surface);
}

.etr-section + .etr-section:not(.etr-section-tinted):not(.etr-deals) {
  padding-top: 24px;
}

.etr-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.etr-section-title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.etr-section-sub {
  margin: 6px 0 0;
  color: var(--etr-muted);
  font-size: 15px;
}

@media (max-width: 767px) {
  .etr-section {
    padding: 48px 0;
  }

  .etr-section-head {
    margin-bottom: 20px;
  }
}

/* Product grid */
.etr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.etr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  .etr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .etr-grid,
  .etr-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
}

/* Scroll rail */
.etr-rail {
  position: relative;
}

.etr-rail-track {
  display: flex;
  gap: 20px;
  margin: -12px -20px;
  padding: 12px 20px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.etr-rail-track::-webkit-scrollbar {
  display: none;
}

.etr-rail-track:focus-visible {
  outline-offset: -4px;
}

.etr-rail-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.etr-rail-card {
  width: calc((100% - 60px) / 4);
  min-width: 240px;
}

.etr-rail-cat {
  width: 132px;
}

/* Prev/next float over the rail's edges, centred on the photos, and show
   on hover/focus (touch scrolls natively, so they're hidden there). */
.etr-rail-nav .etr-round-btn {
  position: absolute;
  top: var(--etr-rail-nav-top, 38%);
  z-index: 3;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  box-shadow: var(--etr-shadow);
  opacity: 0;
  transition: opacity 0.3s var(--etr-ease), transform 0.4s var(--etr-ease), background-color 0.2s, color 0.2s;
}

.etr-rail-nav .etr-round-btn:first-child {
  left: -14px;
  transform: translateX(8px);
}

.etr-rail-nav .etr-round-btn:last-child {
  right: -14px;
  transform: translateX(-8px);
}

.etr-rail:hover .etr-rail-nav .etr-round-btn:not(:disabled),
.etr-rail:focus-within .etr-rail-nav .etr-round-btn:not(:disabled) {
  opacity: 1;
  transform: none;
}

.etr-rail-nav .etr-round-btn:disabled {
  opacity: 0 !important;
  pointer-events: none;
}

.etr-rail:has(.etr-rail-cat) {
  --etr-rail-nav-top: 42%;
}

@media (max-width: 767px) {
  .etr-rail-nav {
    display: none;
  }

  .etr-rail-track {
    gap: 12px;
    margin: -12px -16px;
    padding: 12px 16px 16px;
    scroll-padding: 0 16px;
  }

  .etr-rail-card {
    width: 62vw;
    min-width: 0;
    max-width: 260px;
  }

  .etr-rail-cat {
    width: 96px;
  }
}

/* ───────────────────────── Product card ───────────────────────── */
.etr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.etr-card-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--etr-r-lg);
  background: var(--etr-surface);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.5s var(--etr-ease), transform 0.5s var(--etr-ease);
}

.etr-card-media-link {
  position: absolute;
  inset: 0;
  display: block;
}

.etr-card-img {
  object-fit: cover;
  transition: transform 0.9s var(--etr-ease), opacity 0.5s var(--etr-ease);
}

.etr-card-img-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--etr-line-strong);
}

.etr-card-img-alt {
  opacity: 0;
}

.etr-card-flags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.etr-card-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.etr-card-quick {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--etr-ink);
  box-shadow: var(--etr-shadow-sm);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  transition: opacity 0.35s var(--etr-ease), transform 0.45s var(--etr-ease), background-color 0.2s, color 0.2s;
}

.etr-card-quick:hover {
  background: var(--etr-ink);
  color: #fff;
}

.etr-card-quick:nth-child(2) {
  transition-delay: 0.04s;
}

/* Saved to the wishlist: the heart stays visible and filled. */
.etr-card .etr-card-quick.is-on {
  opacity: 1;
  transform: none;
  background: #fff;
  color: var(--etr-deal);
}

.etr-card-cart {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--etr-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(11, 19, 36, 0.6);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s var(--etr-ease), transform 0.5s var(--etr-ease), background-color 0.25s;
}

.etr-card-cart:hover:not(:disabled) {
  background: var(--etr-brand);
}

.etr-card-cart.is-added {
  background: var(--etr-ok);
  opacity: 1;
  transform: none;
}

.etr-card-cart:disabled {
  background: var(--etr-muted);
  cursor: not-allowed;
}

@media (hover: hover) {
  .etr-card:hover .etr-card-media {
    box-shadow: var(--etr-shadow);
  }

  .etr-card:hover .etr-card-img {
    transform: scale(1.06);
  }

  .etr-card:hover .etr-card-img-alt {
    opacity: 1;
  }

  .etr-card:hover .etr-card-quick,
  .etr-card:focus-within .etr-card-quick,
  .etr-card:hover .etr-card-cart,
  .etr-card:focus-within .etr-card-cart {
    opacity: 1;
    transform: none;
  }

  .etr-card:hover .etr-card-cart {
    transition-delay: 0.04s;
  }
}

/* Touch: actions are always visible, the cart button shrinks to an icon. */
@media (hover: none) {
  .etr-card-quick {
    opacity: 1;
    transform: none;
    width: 36px;
    height: 36px;
  }

  .etr-card-cart {
    left: auto;
    width: 42px;
    height: 42px;
    padding: 0;
    opacity: 1;
    transform: none;
  }

  .etr-card-cart span {
    display: none;
  }
}

.etr-card.is-soldout .etr-card-img {
  filter: grayscale(0.6);
  opacity: 0.7;
}

.etr-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 4px 0;
}

.etr-card-meta {
  color: var(--etr-muted);
  font-size: 13px;
  font-weight: 500;
}

.etr-card-title {
  margin: 0;
  font-family: var(--etr-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.etr-card-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--etr-ink);
}

.etr-card-title a:hover {
  color: var(--etr-brand);
}

.etr-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--etr-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.etr-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 2px;
}

.etr-card-price .etr-price {
  font-size: 18px;
}

.etr-card-save {
  align-self: flex-start;
  color: var(--etr-deal);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 575px) {
  .etr-card-body {
    padding-top: 10px;
  }

  .etr-card-title {
    font-size: 14px;
  }

  .etr-card-price .etr-price {
    font-size: 16px;
  }

  .etr-card-media {
    border-radius: var(--etr-r);
  }

  .etr-card-flags {
    top: 8px;
    left: 8px;
  }

  .etr-card-quick {
    top: 8px;
    right: 8px;
  }

  .etr-card-cart {
    right: 8px;
    bottom: 8px;
  }
}

/* ───────────────────────── Hero ───────────────────────── */
.etr-hero {
  padding: 20px 0 0;
}

.etr-hero-grid {
  display: grid;
  gap: 16px;
}

.etr-hero.has-promos .etr-hero-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.etr-hero-main {
  position: relative;
  min-height: clamp(380px, 46vw, 540px);
  border-radius: var(--etr-r-xl);
  background: var(--etr-ink);
  overflow: hidden;
  isolation: isolate;
}

.etr-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--etr-ease-in-out), visibility 0s linear 0.9s;
}

.etr-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--etr-ease-in-out), visibility 0s;
}

.etr-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.etr-hero-media img {
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.etr-hero-slide.is-active .etr-hero-media img {
  transform: scale(1);
}

.etr-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 19, 36, 0.86) 0%, rgba(11, 19, 36, 0.55) 45%, rgba(11, 19, 36, 0.05) 80%),
    linear-gradient(0deg, rgba(11, 19, 36, 0.6) 0%, rgba(11, 19, 36, 0) 45%);
}

.etr-hero-copy {
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(72px, 7vw, 88px);
}

.etr-hero-title {
  margin: 0 0 14px;
  color: #fff !important;
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.etr-hero-text {
  max-width: 44ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
}

.etr-hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--etr-ease), transform 0.9s var(--etr-ease);
}

.etr-hero-slide.is-active .etr-hero-copy > * {
  opacity: 1;
  transform: none;
}

.etr-hero-slide.is-active .etr-hero-copy > :nth-child(1) {
  transition-delay: 0.25s;
}

.etr-hero-slide.is-active .etr-hero-copy > :nth-child(2) {
  transition-delay: 0.37s;
}

.etr-hero-slide.is-active .etr-hero-copy > :nth-child(3) {
  transition-delay: 0.49s;
}

.etr-hero-controls {
  position: absolute;
  left: clamp(28px, 5vw, 64px);
  right: clamp(20px, 3vw, 32px);
  bottom: clamp(24px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.etr-hero-dots {
  display: flex;
  gap: 8px;
}

.etr-hero-dot {
  position: relative;
  width: 44px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.etr-hero-dot::before,
.etr-hero-dot span {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
}

.etr-hero-dot::before {
  right: 0;
  background: rgba(255, 255, 255, 0.3);
}

.etr-hero-dot span {
  right: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.etr-hero-dot.is-active span {
  animation: etr-progress linear forwards;
}

.etr-hero-main.is-paused .etr-hero-dot.is-active span {
  animation-play-state: paused;
}

@keyframes etr-progress {
  to {
    transform: scaleX(1);
  }
}

.etr-hero-pause {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(11, 19, 36, 0.3);
  color: #fff;
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.etr-hero-pause:hover {
  background: #fff;
  color: var(--etr-ink);
}

.etr-hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.etr-hero-side:has(> :only-child) {
  grid-template-rows: 1fr;
}

.etr-promo-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  border-radius: var(--etr-r-xl);
  background: var(--etr-ink-2);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.etr-promo-tile img {
  z-index: -2;
  object-fit: cover;
  transition: transform 1.1s var(--etr-ease);
}

.etr-promo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 19, 36, 0.85) 0%, rgba(11, 19, 36, 0.15) 70%);
}

.etr-promo-tile:hover img {
  transform: scale(1.07);
}

.etr-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
}

.etr-promo-copy strong {
  font-family: var(--etr-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.etr-promo-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.etr-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
}

.etr-promo-cta .etr-icon {
  transition: transform 0.35s var(--etr-ease);
}

.etr-promo-tile:hover .etr-promo-cta .etr-icon {
  transform: translateX(4px);
}

.etr-promo-tile:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .etr-hero.has-promos .etr-hero-grid {
    grid-template-columns: 1fr;
  }

  .etr-hero-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .etr-hero-side:has(> :only-child) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .etr-hero {
    padding-top: 12px;
  }

  .etr-hero-main {
    min-height: 440px;
    border-radius: var(--etr-r-lg);
  }

  .etr-hero-media::after {
    background: linear-gradient(0deg, rgba(11, 19, 36, 0.92) 0%, rgba(11, 19, 36, 0.5) 55%, rgba(11, 19, 36, 0.1) 100%);
  }

  .etr-hero-side {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .etr-promo-tile {
    min-height: 150px;
    border-radius: var(--etr-r-lg);
  }
}

/* ───────────────────────── Trust strip ───────────────────────── */
.etr-trust {
  padding: 16px 0 0;
}

.etr-trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  list-style: none;
  background: #fff;
}

.etr-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 20px 22px;
}

.etr-trust-item + .etr-trust-item {
  border-left: 1px solid var(--etr-line);
}

.etr-trust-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
  transition: transform 0.5s var(--etr-ease), background-color 0.3s, color 0.3s;
}

.etr-trust-item:hover .etr-trust-icon {
  background: var(--etr-brand);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}

.etr-trust-item strong {
  display: block;
  color: var(--etr-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.etr-trust-item small {
  display: block;
  color: var(--etr-muted);
  font-size: 13px;
}

@media (max-width: 1199px) {
  .etr-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .etr-trust-item:nth-child(3) {
    border-left: 0;
  }

  .etr-trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--etr-line);
  }
}

@media (max-width: 575px) {
  .etr-trust-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .etr-trust-icon {
    width: 40px;
    height: 40px;
  }

  .etr-trust-item strong {
    font-size: 14px;
  }
}

/* ───────────────────────── Categories ─────────────────────────
   Homepage "Shop by category": a dark lead card beside a grid of tiles.
   Desktop 6 columns (lead 2×2 + 4×2 tiles), tablet 4, phones: lead on
   top, then 3 compact tiles a row. Tiles size to their content; product
   photos are fitted whole (contain), never cropped. */
.etr-catsec .etr-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--etr-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.etr-catgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.etr-catgrid.is-solo {
  grid-template-columns: 1fr;
}

/* Lead card */
.etr-catlead {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--etr-r-lg);
  background: linear-gradient(155deg, var(--etr-ink) 0%, #013f4b 55%, var(--etr-brand-strong) 100%);
  color: #fff;
  isolation: isolate;
  transition: box-shadow 0.4s var(--etr-ease), transform 0.5s var(--etr-ease);
}

/* Soft aqua glow in the corner. */
.etr-catlead::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 226, 209, 0.35) 0%, rgba(51, 226, 209, 0) 70%);
}

.etr-catlead-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.etr-catlead-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--etr-tint);
  color: var(--etr-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.etr-catlead-name {
  font-family: var(--etr-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Long admin descriptions are cut to three lines so the card keeps its shape. */
.etr-catlead-desc {
  display: -webkit-box;
  max-width: 36ch;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.etr-catlead-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.etr-catlead-sub {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
}

.etr-catlead-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--etr-tint);
  color: var(--etr-ink);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.25s var(--etr-ease), gap 0.25s var(--etr-ease);
}

.etr-catlead-media {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--etr-r);
  background: #fff;
  color: var(--etr-brand);
}

.etr-catlead-media img,
.etr-cattile-media img {
  box-sizing: border-box;
  padding: 10px;
  object-fit: contain;
  transition: transform 0.8s var(--etr-ease);
}

.etr-catlead:hover {
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(0, 45, 60, 0.55);
  transform: translateY(-3px);
}

.etr-catlead:hover .etr-catlead-cta {
  gap: 12px;
  background: #fff;
}

.etr-catlead:hover .etr-catlead-media img {
  transform: scale(1.05);
}

/* Tiles */
.etr-cattile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 14px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  color: var(--etr-ink);
  transition: border-color 0.3s var(--etr-ease), box-shadow 0.4s var(--etr-ease), transform 0.5s var(--etr-ease);
}

.etr-cattile-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--etr-r);
  background: var(--etr-surface);
  color: var(--etr-brand);
}

/* Product shots on white blend into the tile instead of showing a white box. */
.etr-cattile-media img {
  mix-blend-mode: multiply;
}

.etr-cattile-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}

/* Two lines max, and always two lines tall so tiles in a row line up. */
.etr-cattile-name {
  display: -webkit-box;
  min-height: 2.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.etr-cattile-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--etr-muted);
  font-size: 13px;
  transition: color 0.2s, gap 0.25s var(--etr-ease);
}

.etr-cattile:hover {
  border-color: var(--etr-brand);
  color: var(--etr-ink);
  box-shadow: 0 14px 30px -14px rgba(0, 45, 60, 0.35);
  transform: translateY(-3px);
}

.etr-cattile:hover .etr-cattile-media img {
  transform: scale(1.07);
}

.etr-cattile:hover .etr-cattile-meta {
  gap: 8px;
  color: var(--etr-brand);
}

/* "View all" tile: dark, to echo the lead card. */
.etr-cattile-more {
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  padding: 20px;
  border-color: transparent;
  background: linear-gradient(155deg, var(--etr-ink) 0%, var(--etr-brand-strong) 100%);
  color: #fff;
}

.etr-cattile-more .etr-cattile-name {
  min-height: 0;
}

.etr-cattile-more .etr-cattile-meta {
  color: rgba(255, 255, 255, 0.75);
}

.etr-cattile-more:hover {
  border-color: transparent;
  color: #fff;
}

.etr-cattile-more:hover .etr-cattile-meta {
  color: var(--etr-tint);
}

.etr-cattile-more-count {
  font-family: var(--etr-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--etr-tint);
}

.etr-catlead:focus-visible,
.etr-cattile:focus-visible {
  outline: 3px solid var(--etr-brand);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .etr-catgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .etr-catgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .etr-catlead {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 18px;
  }

  .etr-catlead-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .etr-catlead-desc,
  .etr-catlead-subs {
    display: none;
  }

  .etr-catlead-media {
    flex: 0 0 112px;
    min-height: 0;
    aspect-ratio: 1;
  }

  .etr-catlead-cta {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .etr-cattile {
    gap: 8px;
    padding: 6px 6px 10px;
    border-radius: var(--etr-r);
  }

  .etr-cattile-media {
    border-radius: var(--etr-r-sm);
  }

  .etr-cattile-media img {
    padding: 6px;
  }

  .etr-cattile-body {
    padding: 0 2px;
  }

  .etr-cattile-name {
    font-size: 12.5px;
    hyphens: auto;
  }

  .etr-cattile-meta {
    display: none;
  }

  .etr-cattile-more {
    align-items: center;
    padding: 12px 8px;
    text-align: center;
  }

  .etr-cattile-more-count {
    font-size: 28px;
  }

  /* Two even rows of three on phones: 5 tiles + "View all". */
  .etr-catgrid.has-more > .etr-cattile:not(.etr-cattile-more):nth-child(n + 7) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .etr-catlead,
  .etr-cattile,
  .etr-catlead-media img,
  .etr-cattile-media img {
    transition: none;
    transform: none !important;
  }
}

/* ───────────────────────── Deals band ───────────────────────── */
.etr-deals {
  margin: 48px 0;
  padding: 64px 0;
  background: var(--etr-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.etr-deals .container {
  position: relative;
}

.etr-deals .etr-section-title {
  color: #fff;
}

.etr-deals-pct {
  color: #ff8a57;
}

.etr-deals .etr-section-sub {
  color: rgba(255, 255, 255, 0.7);
}

.etr-deals .etr-link-arrow {
  color: #fff;
}

.etr-deals .etr-card-media {
  background: var(--etr-ink-2);
}

.etr-deals .etr-card-title a,
.etr-deals .etr-price {
  color: #fff;
}

.etr-deals .etr-card-meta,
.etr-deals .etr-card-rating,
.etr-deals .etr-price-old {
  color: rgba(255, 255, 255, 0.62);
}

.etr-deals .etr-card-save {
  color: #ff8a57;
}

.etr-deals .etr-stars-base {
  color: rgba(255, 255, 255, 0.25);
}

.etr-deals .etr-card-cart {
  background: #fff;
  color: var(--etr-ink);
}

.etr-deals .etr-card-cart:hover:not(:disabled) {
  background: var(--etr-brand);
  color: #fff;
}

/* ───────────────────────── Reviews marquee ───────────────────────── */
.etr-reviews {
  overflow: hidden;
}

.etr-marquee {
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.etr-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 8px 0 12px;
  animation: etr-marquee var(--etr-marquee-time, 60s) linear infinite;
}

.etr-marquee:hover .etr-marquee-track,
.etr-marquee:focus-within .etr-marquee-track {
  animation-play-state: paused;
}

.etr-marquee.is-static {
  mask-image: none;
}

.etr-marquee.is-static .etr-marquee-track {
  width: auto;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 20px 12px;
  animation: none;
  flex-wrap: wrap;
}

@keyframes etr-marquee {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.etr-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 340px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  box-shadow: var(--etr-shadow-sm);
}

.etr-review blockquote {
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: 400;
  color: var(--etr-ink);
  font-size: 15px;
  line-height: 1.55;
}

.etr-review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--etr-line);
}

.etr-review figcaption strong {
  display: block;
  color: var(--etr-ink);
  font-size: 14px;
}

.etr-review figcaption a,
.etr-review figcaption small {
  display: block;
  max-width: 220px;
  overflow: hidden;
  color: var(--etr-muted);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.etr-review figcaption a:hover {
  color: var(--etr-brand);
}

.etr-review-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 575px) {
  .etr-review {
    width: 280px;
  }
}

.etr-home > .etr-section:last-child {
  padding-bottom: 0;
}

/* ───────────────────────── Newsletter ───────────────────────── */
.etr-newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(0, 460px);
  align-items: center;
  gap: 24px 48px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--etr-r-xl);
  background: var(--etr-brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.etr-newsletter::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 360px;
  height: 360px;
  border: 60px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.etr-newsletter-copy {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.etr-newsletter-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--etr-r);
  background: rgba(255, 255, 255, 0.14);
}

.etr-newsletter h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
}

.etr-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.etr-newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.etr-newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--etr-ink);
  font-size: 15px;
}

.etr-newsletter .etr-btn-primary {
  min-height: 52px;
  background: var(--etr-ink);
  box-shadow: none;
}

.etr-newsletter .etr-btn-primary:hover:not(:disabled) {
  background: var(--etr-ink-2);
}

.etr-newsletter-form .field-error {
  flex-basis: 100%;
  color: #ffe1e1;
  font-size: 13px;
}

.etr-newsletter-done {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 767px) {
  .etr-newsletter {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────── Footer ─────────────────────────
   Deep Sea band: a WhatsApp call-to-action on top, four balanced columns
   (brand + socials, two link lists, contact), and a slim bottom bar. */
.etr-footer {
  --ft-text: rgba(255, 255, 255, 0.74);
  --ft-dim: rgba(255, 255, 255, 0.56);
  --ft-line: rgba(255, 255, 255, 0.12);
  --ft-chip: rgba(255, 255, 255, 0.08);
  position: relative;
  margin-top: 72px;
  padding-top: 40px;
  overflow: hidden;
  background: var(--etr-ink);
  color: var(--ft-text);
  font-size: 14px;
  isolation: isolate;
}

/* A soft aqua glow in the top-right corner. */
.etr-footer::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 226, 209, 0.16) 0%, rgba(51, 226, 209, 0) 70%);
}

.etr-footer p,
.etr-footer span,
.etr-footer li {
  color: inherit;
}

.etr-footer a {
  color: var(--ft-text);
  text-decoration: none;
  transition: color 0.2s;
}

.etr-footer a:hover {
  color: var(--etr-tint);
}

/* WhatsApp band */
.etr-footer-cta {
  display: flex;
  align-items: center;
  gap: 18px 22px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border: 1px solid var(--ft-line);
  border-radius: var(--etr-r-lg);
  background: linear-gradient(110deg, rgba(0, 105, 106, 0.55) 0%, rgba(0, 105, 106, 0.15) 100%);
}

.etr-footer-cta-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.8);
}

.etr-footer .etr-footer-cta-icon {
  color: #fff;
}

.etr-footer-cta-copy {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.etr-footer-cta-copy strong {
  color: #fff;
  font-family: var(--etr-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.etr-footer-cta-copy span {
  color: var(--ft-dim);
}

.etr-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.etr-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.25s var(--etr-ease), border-color 0.25s var(--etr-ease), transform 0.3s var(--etr-ease);
}

.etr-footer .etr-footer-cta-btn {
  color: #fff;
}

.etr-footer .etr-footer-cta-btn:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.etr-footer .etr-footer-cta-btn.is-primary {
  border-color: transparent;
  background: #25d366;
  color: #062b17;
}

.etr-footer .etr-footer-cta-btn.is-primary:hover {
  background: #2fe073;
  color: #062b17;
}

/* Columns */
.etr-footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding: 48px 0 40px;
}

.etr-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--etr-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.etr-footer-col ul,
.etr-footer-reach,
.etr-footer-legal,
.etr-footer-badges,
.etr-footer-social ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-footer-col li + li {
  margin-top: 11px;
}

.etr-footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  line-height: 1.4;
  transition: color 0.2s, transform 0.25s var(--etr-ease);
}

.etr-footer-col nav a:hover,
.etr-footer-col ul a:hover {
  transform: translateX(3px);
}

.etr-footer-logo {
  display: inline-block;
}

.etr-footer-logo img {
  display: block;
  width: auto;
  max-width: 240px;
  height: 40px;
  object-fit: contain;
}

.etr-footer-about {
  max-width: 34ch;
  margin: 18px 0 0;
  line-height: 1.6;
}

/* Social buttons */
.etr-footer-social {
  margin-top: 22px;
}

.etr-footer-social-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ft-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.etr-footer-social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.etr-footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ft-line);
  border-radius: 50%;
  background: var(--ft-chip);
  transition: background-color 0.25s var(--etr-ease), border-color 0.25s var(--etr-ease), transform 0.3s var(--etr-ease);
}

.etr-footer .etr-footer-social a {
  color: #fff;
}

.etr-footer .etr-footer-social a:hover {
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.etr-footer-social a.is-facebook:hover { background: #1877f2; }
.etr-footer-social a.is-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.etr-footer-social a.is-youtube:hover { background: #ff0000; }
.etr-footer-social a.is-tiktok:hover { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.etr-footer-social a.is-twitter:hover { background: #000; }

/* Contact column */
.etr-footer-reach li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.etr-footer-reach li + li {
  margin-top: 16px;
}

.etr-reach-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ft-chip);
  color: var(--etr-tint);
}

.etr-footer .etr-reach-icon {
  color: var(--etr-tint);
}

.etr-footer-reach small {
  display: block;
  margin-bottom: 2px;
  color: var(--ft-dim);
  font-size: 12px;
}

.etr-footer-reach a {
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.etr-footer-reach address {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ft-text);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
}

.etr-footer-reach address span {
  font-weight: 400;
}

.etr-footer-closed {
  display: block;
  margin-top: 2px;
  color: #ff9a9c;
  font-style: normal;
}

/* Bottom bar */
.etr-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 20px 0 24px;
  border-top: 1px solid var(--ft-line);
}

.etr-footer-bottom p {
  margin: 0;
  color: var(--ft-dim);
  font-size: 13px;
}

.etr-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.etr-footer-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--ft-line);
  border-radius: 999px;
  background: var(--ft-chip);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.etr-footer-badges li svg {
  color: var(--etr-tint);
}

.etr-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.etr-footer-legal a {
  color: var(--ft-dim);
  font-size: 13px;
}

@media (max-width: 991px) {
  .etr-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .etr-footer {
    margin-top: 48px;
    padding-top: 28px;
  }

  .etr-footer-cta {
    padding: 20px;
  }

  .etr-footer-cta-actions,
  .etr-footer-cta-btn {
    width: 100%;
  }

  .etr-footer-cta-btn {
    justify-content: center;
  }

  .etr-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding: 36px 0 32px;
  }

  .etr-footer-brand,
  .etr-footer-contact {
    grid-column: span 2;
  }

  .etr-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 92px; /* clear the floating WhatsApp button */
  }
}

@media (prefers-reduced-motion: reduce) {
  .etr-footer a,
  .etr-footer-cta-btn,
  .etr-footer-social a {
    transition: none;
    transform: none !important;
  }
}

/* Floating WhatsApp chat button */
.etr-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--etr-ease), box-shadow 0.35s;
}

.etr-whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  z-index: -1;
  animation: etr-wa-pulse 2.4s ease-out infinite;
}

.etr-whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.7);
}

.etr-whatsapp-tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--etr-ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.3s var(--etr-ease);
}

.etr-whatsapp-float:hover .etr-whatsapp-tip,
.etr-whatsapp-float:focus-visible .etr-whatsapp-tip {
  opacity: 1;
  transform: none;
}

@keyframes etr-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  80%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .etr-whatsapp-float::before {
    animation: none;
  }
}

@media (max-width: 575px) {
  .etr-whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ───────────────────────── Inner page header & breadcrumbs ───────────────────────── */
.etr-pagehead {
  position: relative;
  padding: 36px 0 32px;
  background: var(--etr-surface);
  border-bottom: 1px solid var(--etr-line);
  overflow: hidden;
  isolation: isolate;
}

.etr-pagehead-img {
  z-index: -2;
  object-fit: cover;
}

.etr-pagehead.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 19, 36, 0.88) 0%, rgba(11, 19, 36, 0.55) 60%, rgba(11, 19, 36, 0.3) 100%);
}

.etr-pagehead.has-image {
  padding: 56px 0 48px;
  color: #fff;
}

.etr-pagehead.has-image .etr-pagehead-title,
.etr-pagehead.has-image .etr-crumbs a,
.etr-pagehead.has-image .etr-crumbs span {
  color: #fff;
}

.etr-pagehead.has-image .etr-pagehead-desc,
.etr-pagehead.has-image .etr-pagehead-meta {
  color: rgba(255, 255, 255, 0.8);
}

.etr-pagehead-title {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.etr-pagehead-desc {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--etr-muted);
}

.etr-pagehead-meta {
  margin-top: 8px;
  color: var(--etr-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.etr-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.etr-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--etr-muted);
}

.etr-crumbs a {
  color: var(--etr-muted);
}

.etr-crumbs a:hover {
  color: var(--etr-brand);
}

.etr-crumbs [aria-current] {
  color: var(--etr-ink);
  font-weight: 600;
}

.etr-crumbs .etr-icon {
  opacity: 0.5;
}

/* ───────────────────────── Shop listing ───────────────────────── */
.etr-shop {
  padding: 36px 0 24px;
}

.etr-sortbar {
  margin-bottom: 24px;
}

.etr-sortbar-row {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.etr-sortbar-count {
  flex: 1;
  margin: 0;
  color: var(--etr-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.etr-sortbar-count strong {
  color: var(--etr-ink);
}

.etr-sortbar-filter {
  min-height: 42px;
}

@media (min-width: 992px) {
  .etr-sortbar-filter {
    display: none;
  }
}

@media (max-width: 575px) {
  .etr-sortbar-count {
    order: 3;
    flex-basis: 100%;
  }

  .etr-select span {
    display: none;
  }
}

.etr-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.etr-chips li {
  margin: 0;
}

.etr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 32px;
  padding: 0 10px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  animation: etr-pop 0.35s var(--etr-ease);
}

.etr-chip:hover {
  background: var(--etr-brand);
  color: #fff;
}

.etr-chip-clear {
  width: auto;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--etr-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.etr-chip-clear:hover {
  color: var(--etr-ink);
}

/* Pagination */
.etr-pagination {
  margin-top: 48px;
}

.etr-pro .etr-pagination .pagination {
  gap: 6px;
  flex-wrap: wrap;
}

.etr-pro .etr-pagination .page-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.etr-pro .etr-pagination .page-link {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--etr-line);
  border-radius: 999px !important;
  background: #fff;
  color: var(--etr-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.etr-pro .etr-pagination .page-link:hover {
  border-color: var(--etr-ink);
  background: #fff;
  color: var(--etr-ink);
}

.etr-pro .etr-pagination .page-item.active .page-link {
  border-color: var(--etr-ink);
  background: var(--etr-ink);
  color: #fff;
}

.etr-pro .etr-pagination .page-item.disabled .page-link {
  opacity: 0.4;
}

.etr-pro .etr-pagination .page-link.border-0 {
  min-width: 0;
  padding: 0 4px;
  border: 0;
  background: transparent;
}

/* ───────────────────────── Product page ───────────────────────── */
.etr-pdp {
  padding-bottom: 24px;
}

.etr-pdp-crumbs {
  padding: 20px 0;
}

.etr-pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

@media (max-width: 991px) {
  .etr-pdp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Gallery */
.etr-gallery {
  position: sticky;
  top: 90px;
}

@media (max-width: 991px) {
  .etr-gallery {
    position: static;
  }
}

.etr-gallery-stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--etr-r-xl);
  background: var(--etr-surface);
  overflow: hidden;
  cursor: zoom-in;
  isolation: isolate;
}

.etr-gallery-stage.is-empty {
  display: grid;
  place-items: center;
  color: var(--etr-line-strong);
  cursor: default;
}

.etr-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--etr-ease);
}

.etr-gallery-slide.is-active {
  opacity: 1;
}

.etr-gallery-slide img {
  object-fit: cover;
  transition: transform 0.6s var(--etr-ease);
}

@media (hover: hover) {
  .etr-gallery-stage.is-zooming .etr-gallery-slide.is-active img {
    transform: scale(1.9);
    transition: transform 0.25s ease-out;
  }
}

.etr-gallery-flag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  height: 28px;
  font-size: 13px;
}

.etr-gallery-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.etr-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  margin-top: -21px;
  opacity: 0;
  transition: opacity 0.3s var(--etr-ease), transform 0.4s var(--etr-ease), background-color 0.2s, color 0.2s;
}

.etr-gallery-nav.is-prev {
  left: 16px;
  transform: translateX(-8px);
}

.etr-gallery-nav.is-next {
  right: 16px;
  transform: translateX(8px);
}

.etr-gallery-stage:hover .etr-gallery-nav,
.etr-gallery-stage:focus-within .etr-gallery-nav {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .etr-gallery-nav {
    opacity: 1;
    transform: none !important;
  }
}

.etr-gallery-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 19, 36, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.etr-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}

.etr-gallery-thumb {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--etr-r);
  background: var(--etr-surface);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  box-shadow: inset 0 0 0 1px var(--etr-line);
  transition: opacity 0.25s, box-shadow 0.25s;
}

.etr-gallery-thumb img {
  object-fit: cover;
}

.etr-gallery-thumb:hover {
  opacity: 1;
}

.etr-gallery-thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--etr-brand);
}

.etr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 19, 36, 0.94);
  animation: etr-fade 0.35s var(--etr-ease);
  cursor: zoom-out;
}

.etr-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: var(--etr-r-lg);
  object-fit: contain;
  cursor: default;
  animation: etr-pop 0.45s var(--etr-ease);
}

.etr-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.etr-lightbox-nav {
  position: absolute;
  top: 50%;
  margin-top: -21px;
}

.etr-lightbox-nav.is-prev {
  left: 20px;
}

.etr-lightbox-nav.is-next {
  right: 20px;
}

@keyframes etr-fade {
  from {
    opacity: 0;
  }
}

/* Buy box */
.etr-buybox-brand {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--etr-brand);
  font-size: 14px;
  font-weight: 600;
}

.etr-buybox-title {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.etr-buybox-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.etr-buybox-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--etr-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.etr-buybox-rating:hover {
  color: var(--etr-brand);
}

.etr-buybox-rating.is-empty {
  color: var(--etr-brand);
  font-weight: 600;
}

.etr-buybox-sku {
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-buybox-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 20px;
}

.etr-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.etr-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.etr-stock.is-ok {
  color: var(--etr-ok);
}

.etr-stock.is-ok .etr-stock-dot {
  animation: etr-pulse 2s var(--etr-ease) infinite;
}

.etr-stock.is-low {
  color: var(--etr-warn);
}

.etr-stock.is-out {
  color: var(--etr-danger);
}

@keyframes etr-pulse {
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, currentColor 0%, transparent);
  }
}

.etr-buybox-desc {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--etr-text);
  font-size: 15px;
  line-height: 1.65;
}

.etr-variants {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--etr-line);
}

.etr-variant {
  margin: 0;
  padding: 0;
  border: 0;
}

.etr-variant legend,
.etr-variant-label {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 10px;
  padding: 0;
  color: var(--etr-ink);
  font-family: var(--etr-ui);
  font-size: 14px;
  font-weight: 600;
}

.etr-variant legend span {
  color: var(--etr-muted);
  font-weight: 500;
}

.etr-variant-qty {
  display: flex;
  align-items: center;
  gap: 16px;
}

.etr-variant-qty .etr-variant-label {
  margin: 0;
}

.etr-swatches,
.etr-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.etr-swatch {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--etr-line-strong);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.3s var(--etr-ease);
}

.etr-swatch span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.etr-swatch:hover:not(:disabled) {
  transform: scale(1.08);
}

.etr-swatch.is-active {
  box-shadow: 0 0 0 2px var(--etr-ink);
}

.etr-swatch:disabled,
.etr-option:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--etr-muted) 50%, transparent calc(50% + 1px));
}

.etr-option {
  width: auto;
  min-width: 52px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--etr-line-strong);
  border-radius: var(--etr-r);
  background: #fff;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.etr-option:hover:not(:disabled) {
  border-color: var(--etr-ink);
}

.etr-option.is-active {
  border-color: var(--etr-ink);
  background: var(--etr-ink);
  color: #fff;
}

.etr-buybox-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.etr-buybox-hint {
  margin: 10px 0 0;
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-buybox-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: var(--etr-line);
  list-style: none;
  overflow: hidden;
}

.etr-buybox-trust li {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 16px;
  background: #fff;
  color: var(--etr-muted);
  font-size: 13px;
  line-height: 1.45;
}

.etr-buybox-trust li:last-child:nth-child(odd) {
  grid-column: span 2;
}

.etr-buybox-trust .etr-icon {
  color: var(--etr-brand);
  margin-top: 1px;
}

.etr-buybox-trust strong {
  display: block;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
}

.etr-buybox-cats {
  margin: 18px 0 0;
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-buybox-cats a {
  color: var(--etr-ink);
  font-weight: 500;
}

.etr-buybox-cats a:hover {
  color: var(--etr-brand);
}

@media (max-width: 575px) {
  .etr-buybox-actions {
    grid-template-columns: 1fr;
  }

  .etr-buybox-trust {
    grid-template-columns: 1fr;
  }

  .etr-buybox-trust li:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

/* Sticky buy bar: phones only */
.etr-sticky-buy {
  display: none;
}

@media (max-width: 991px) {
  .etr-sticky-buy {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--etr-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -12px 30px -18px rgba(11, 19, 36, 0.4);
    transform: translateY(110%);
    transition: transform 0.45s var(--etr-ease);
  }

  .etr-sticky-buy.is-visible {
    transform: none;
  }

  .etr-sticky-buy-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
  }

  .etr-sticky-buy-info strong {
    overflow: hidden;
    color: var(--etr-ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .etr-sticky-buy-info .etr-price {
    font-size: 17px;
  }
}

/* Tabs */
.etr-tabs {
  margin-top: 64px;
  padding: 56px 0 64px;
  background: var(--etr-surface);
  scroll-margin-top: 80px;
}

.etr-tabs-list {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--etr-line);
  overflow-x: auto;
}

.etr-tab {
  width: auto;
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--etr-muted);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--etr-ease), color 0.3s var(--etr-ease);
}

.etr-tab:hover {
  color: var(--etr-ink);
}

.etr-tab.is-active {
  background: var(--etr-ink);
  color: #fff;
}

.etr-tab-panel {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--etr-r-xl);
  background: #fff;
  animation: etr-rise-in 0.5s var(--etr-ease);
}

@keyframes etr-rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.etr-prose {
  max-width: 75ch;
  color: var(--etr-text);
  font-size: 16px;
  line-height: 1.75;
}

.etr-prose h2,
.etr-prose h3,
.etr-prose h4 {
  margin: 1.6em 0 0.5em;
  font-size: 20px;
}

.etr-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--etr-r);
}

.etr-prose ul {
  padding-left: 1.2em;
}

.etr-reviews-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

@media (max-width: 991px) {
  .etr-reviews-panel {
    grid-template-columns: 1fr;
  }
}

.etr-rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--etr-line);
}

.etr-rating-summary > strong {
  color: var(--etr-ink);
  font-family: var(--etr-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.etr-rating-summary div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--etr-muted);
  font-size: 14px;
}

.etr-review-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-review-list li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--etr-line);
}

.etr-review-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.etr-review-list-head strong {
  color: var(--etr-ink);
}

.etr-review-list h3 {
  margin: 8px 0 0;
  font-family: var(--etr-ui);
  font-size: 15px;
  letter-spacing: 0;
}

.etr-review-list p {
  margin: 6px 0 0;
}

.etr-pro .etr-tabs .comment-respond .title {
  font-size: 20px;
}

.etr-pro .etr-tabs .comment-respond input,
.etr-pro .etr-tabs .comment-respond textarea {
  border: 1px solid var(--etr-line-strong);
  border-radius: var(--etr-r);
  background: #fff;
}

.etr-pro .etr-tabs .comment-respond input:focus,
.etr-pro .etr-tabs .comment-respond textarea:focus {
  border-color: var(--etr-brand);
  box-shadow: 0 0 0 3px rgba(0, 105, 106, 0.12);
}

.etr-pro .etr-tabs .reating-inner a {
  color: #e39a0c;
}

/* ───────────────────────── Cart page ───────────────────────── */
.etr-cart {
  padding-top: 36px;
}

.etr-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .etr-cart-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.etr-cart-lines {
  margin: 16px 0 0;
  padding: 0 24px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  list-style: none;
}

.etr-line-lg {
  grid-template-columns: 112px 1fr auto;
  gap: 20px;
  padding: 22px 0;
}

.etr-line-lg .etr-line-name {
  font-size: 16px;
}

.etr-line-lg .etr-line-price {
  font-size: 18px;
}

@media (max-width: 575px) {
  .etr-cart-lines {
    padding: 0 14px;
  }

  .etr-line-lg {
    grid-template-columns: 84px 1fr auto;
    gap: 12px;
  }
}

.etr-cart-continue {
  margin-top: 20px;
}

.etr-cart-continue:hover .etr-icon {
  transform: translateX(-4px);
}

.etr-summary {
  position: sticky;
  top: 90px;
  padding: 28px;
  border-radius: var(--etr-r-xl);
  background: var(--etr-surface);
}

.etr-summary h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.etr-coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 5px 0 16px;
  border: 1px solid var(--etr-line-strong);
  border-radius: 999px;
  background: #fff;
}

.etr-coupon:focus-within {
  border-color: var(--etr-brand);
  box-shadow: 0 0 0 3px rgba(0, 105, 106, 0.12);
}

.etr-coupon .etr-icon {
  color: var(--etr-muted);
}

.etr-coupon input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  text-transform: uppercase;
}

.etr-coupon input::placeholder {
  text-transform: none;
}

.etr-form-error {
  margin: 8px 0 0;
  color: var(--etr-danger);
  font-size: 13px;
}

.etr-form-ok {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--etr-ok);
  font-size: 13px;
}

.etr-summary-rows {
  margin: 20px 0 24px;
}

.etr-summary-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
}

.etr-summary-rows dt {
  color: var(--etr-muted);
  font-weight: 400;
}

.etr-summary-rows dd {
  margin: 0;
  color: var(--etr-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.etr-summary-rows .is-discount dd {
  color: var(--etr-ok);
}

.etr-summary-rows .is-total {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--etr-line-strong);
}

.etr-summary-rows .is-total dt {
  color: var(--etr-ink);
  font-weight: 600;
}

.etr-summary-rows .is-total dd {
  font-family: var(--etr-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.etr-free {
  color: var(--etr-ok);
}

.etr-summary-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-summary-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* ───────────────────────── Quick view modal ───────────────────────── */
.etr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.etr-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 36, 0.55);
  backdrop-filter: blur(4px);
  animation: etr-fade 0.35s var(--etr-ease);
}

.etr-modal-panel {
  position: relative;
  width: min(1000px, 100%);
  max-height: calc(100vh - 48px);
  padding: 32px;
  border-radius: var(--etr-r-xl);
  background: #fff;
  box-shadow: var(--etr-shadow-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: etr-modal-in 0.5s var(--etr-ease);
}

@keyframes etr-modal-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

.etr-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.etr-qv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}

.etr-qv-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--etr-r-lg);
  background: var(--etr-surface);
  color: var(--etr-line-strong);
  overflow: hidden;
}

.etr-qv-stage img {
  object-fit: cover;
  animation: etr-fade 0.4s var(--etr-ease);
}

.etr-qv-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 8px;
}

.etr-qv-info > * {
  max-width: 100%;
}

.etr-qv-title {
  margin: 0 40px 10px 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.etr-qv-info .etr-buybox-price {
  margin-top: 14px;
}

.etr-qv-info .etr-variants {
  width: 100%;
}

.etr-qv-info .etr-btn-block {
  margin-top: 24px;
}

.etr-qv-more {
  margin-top: 16px;
}

@media (max-width: 767px) {
  .etr-modal {
    padding: 0;
    align-items: end;
  }

  .etr-modal-panel {
    max-height: 92vh;
    padding: 20px 16px 24px;
    border-radius: var(--etr-r-xl) var(--etr-r-xl) 0 0;
    animation-name: etr-sheet-in;
  }

  .etr-qv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .etr-qv-title {
    font-size: 22px;
  }
}

@keyframes etr-sheet-in {
  from {
    transform: translateY(100%);
  }
}

/* ───────────────────────── Template leftovers on other pages ───────────────────────── */
.etr-pro .axil-btn.btn-bg-primary,
.etr-pro .axil-btn.btn-bg-secondary {
  border-radius: 999px;
}

.etr-pro .axil-btn.btn-bg-primary {
  background-color: var(--etr-brand);
}

.etr-pro .axil-btn.btn-bg-secondary {
  background-color: var(--etr-ink);
}

.etr-pro .axil-breadcrumb-area {
  background: var(--etr-surface);
}

.etr-pro input,
.etr-pro textarea,
.etr-pro select {
  font-family: var(--etr-ui);
}

/* ───────────────────────── Scroll-driven reveal ─────────────────────────
   Pure CSS (no JS), and only where the browser can drive it from scroll:
   everywhere else the content is simply visible. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .etr-section-head,
    .etr-grid > .etr-card,
    .etr-trust-item,
    .etr-newsletter,
    .etr-footer-top > * {
      animation: etr-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }

    .etr-grid > .etr-card:nth-child(4n + 2) {
      animation-range: entry 5% entry 62%;
    }

    .etr-grid > .etr-card:nth-child(4n + 3) {
      animation-range: entry 10% entry 69%;
    }

    .etr-grid > .etr-card:nth-child(4n + 4) {
      animation-range: entry 15% entry 76%;
    }
  }
}

@keyframes etr-reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(4px);
  }
}

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

  .etr-marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .etr-marquee-track > [aria-hidden="true"] {
    display: none;
  }

  .etr-hero-media img {
    transform: none !important;
  }
}

/* ───────────────────────── Shop filters (themes/etrade/components/shop/ShopSidebar.tsx) ───────────────────────── */
.etr-shop-layout {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.etr-shop-results {
  min-width: 0;
  transition: opacity 0.3s var(--etr-ease);
}

.etr-shop-results.is-pending {
  opacity: 0.5;
  pointer-events: none;
}

/* Desktop: the panel grows to its full height and scrolls with the page —
   no inner scrollbar. */
.etr-filters {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  overflow: hidden;
}

.etr-filters-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--etr-line);
}

.etr-filters-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.etr-filters-head h2 .etr-icon {
  color: var(--etr-brand);
}

.etr-filters-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--etr-brand);
  color: #fff;
  font-family: var(--etr-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.etr-sortbar-filter .etr-filters-badge {
  margin-left: 2px;
}

.etr-filters-clear {
  width: auto;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--etr-brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.etr-filters-clear:hover {
  color: var(--etr-brand-strong);
  text-decoration: underline;
}

.etr-filters-close,
.etr-filters-foot {
  display: none !important;
}

.etr-filters-body {
  flex: 1;
}

/* Collapsible group */
.etr-fgroup + .etr-fgroup {
  border-top: 1px solid var(--etr-line);
}

.etr-fgroup h3 {
  margin: 0;
  font-size: inherit;
}

.etr-fgroup h3 button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: none;
  color: var(--etr-ink);
  font-family: var(--etr-ui);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.etr-fgroup h3 button:hover {
  background: var(--etr-surface);
}

.etr-fgroup h3 button > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.etr-fgroup-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
  font-size: 12px;
  font-weight: 700;
}

.etr-fgroup h3 .etr-icon {
  color: var(--etr-muted);
  transition: transform 0.4s var(--etr-ease);
}

.etr-fgroup.is-open h3 .etr-icon {
  transform: rotate(180deg);
}

.etr-fgroup-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--etr-ease);
}

.etr-fgroup.is-open .etr-fgroup-body {
  grid-template-rows: 1fr;
}

.etr-fgroup-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 20px;
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}

/* bottom spacing that collapses with the row instead of animating padding */
.etr-fgroup-inner::after {
  content: "";
  display: block;
  height: 18px;
}

.etr-fgroup.is-open .etr-fgroup-inner {
  visibility: visible;
  transition: visibility 0s;
}

/* Category tree */
.etr-fcat-list,
.etr-fcat-children,
.etr-fchecks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-fcat-list li,
.etr-fchecks li {
  margin: 0;
}

.etr-fcat {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--etr-r-sm);
  transition: background-color 0.2s;
}

.etr-fcat:hover {
  background: var(--etr-surface);
}

.etr-fcat a {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  color: var(--etr-text);
  font-size: 14px;
  line-height: 1.35;
}

.etr-fcat a:hover {
  color: var(--etr-ink);
}

.etr-fcat.is-active {
  background: var(--etr-brand-soft);
}

.etr-fcat.is-active a {
  color: var(--etr-brand);
  font-weight: 600;
}

.etr-fcat-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-right: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--etr-muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.etr-fcat-toggle:hover {
  background: #fff;
  color: var(--etr-ink);
}

.etr-fcat-toggle .etr-icon {
  transition: transform 0.35s var(--etr-ease);
}

.etr-fcat-toggle.is-open .etr-icon {
  transform: rotate(180deg);
}

.etr-fcat-children {
  position: relative;
  margin-left: 14px;
  animation: etr-rise-in 0.35s var(--etr-ease);
}

.etr-fcat-children::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--etr-line);
}

/* Price */
.etr-range {
  position: relative;
  height: 28px;
  margin: 4px 0 12px;
}

.etr-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--etr-line) var(--lo),
    var(--etr-brand) var(--lo),
    var(--etr-brand) var(--hi),
    var(--etr-line) var(--hi)
  );
}

.etr-range input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.etr-range input[type="range"]::-webkit-slider-runnable-track {
  background: none;
}

.etr-range input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--etr-brand);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(11, 19, 36, 0.2);
  cursor: grab;
  pointer-events: auto;
  -webkit-appearance: none;
  transition: transform 0.2s var(--etr-ease), box-shadow 0.2s;
}

.etr-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--etr-brand);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(11, 19, 36, 0.2);
  cursor: grab;
  pointer-events: auto;
}

.etr-range input[type="range"]::-moz-range-track {
  background: none;
}

.etr-range input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(0, 105, 106, 0.15);
}

.etr-range input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0, 105, 106, 0.3);
}

.etr-range input[type="range"]:focus-visible {
  outline: none;
}

.etr-price-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
}

.etr-price-inputs label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  color: var(--etr-muted);
  font-size: 12px;
  font-weight: 600;
}

.etr-price-inputs input {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--etr-line-strong);
  border-radius: var(--etr-r-sm);
  background: #fff;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.etr-price-inputs input::-webkit-outer-spin-button,
.etr-price-inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.etr-price-inputs input:focus {
  border-color: var(--etr-brand);
  box-shadow: 0 0 0 3px rgba(0, 105, 106, 0.12);
  outline: none;
}

.etr-price-dash {
  padding-bottom: 10px;
  color: var(--etr-muted);
}

.etr-price-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.etr-price-label {
  color: var(--etr-ink);
  font-size: 12.5px;
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Attribute values */
.etr-fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.etr-fchip {
  width: auto;
  min-width: 44px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--etr-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--etr-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.3s var(--etr-ease);
}

.etr-fchip:hover {
  border-color: var(--etr-ink);
}

.etr-fchip:active {
  transform: scale(0.95);
}

.etr-fchip.is-on {
  border-color: var(--etr-ink);
  background: var(--etr-ink);
  color: #fff;
}

.etr-fswatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 10px 6px;
}

.etr-fswatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--etr-muted);
  font-size: 12px;
  cursor: pointer;
}

.etr-fswatch-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px #fff, 0 0 0 4px var(--etr-line);
  transition: box-shadow 0.25s var(--etr-ease), transform 0.3s var(--etr-ease);
}

.etr-fswatch-dot .etr-icon {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

.etr-fswatch:hover .etr-fswatch-dot {
  transform: scale(1.08);
}

.etr-fswatch.is-on .etr-fswatch-dot {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px #fff, 0 0 0 5px var(--etr-ink);
}

.etr-fswatch.is-on {
  color: var(--etr-ink);
  font-weight: 600;
}

.etr-fswatch-name {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Brands */
.etr-fsearch {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0 10px;
}

.etr-fsearch .etr-icon {
  position: absolute;
  left: 12px;
  color: var(--etr-muted);
  pointer-events: none;
}

.etr-fsearch input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--etr-line-strong);
  border-radius: 999px;
  background: var(--etr-surface);
  font-size: 14px;
}

.etr-fsearch input:focus {
  border-color: var(--etr-brand);
  background: #fff;
  outline: none;
}

.etr-fcheck {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--etr-r-sm);
  background: none;
  color: var(--etr-text);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.etr-fcheck:hover {
  background: var(--etr-surface);
  color: var(--etr-ink);
}

.etr-fcheck-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--etr-line-strong);
  border-radius: 5px;
  background: #fff;
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}

.etr-fcheck.is-on {
  color: var(--etr-ink);
  font-weight: 600;
}

.etr-fcheck.is-on .etr-fcheck-box {
  border-color: var(--etr-brand);
  background: var(--etr-brand);
  animation: etr-badge 0.35s var(--etr-ease);
}

.etr-filters-scrim {
  display: none;
}

/* Tablets and phones: the panel becomes a left drawer with a results button. */
@media (max-width: 991px) {
  .etr-shop-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .etr-filters {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    width: min(360px, 88vw);
    max-height: none;
    border: 0;
    border-radius: 0 var(--etr-r-xl) var(--etr-r-xl) 0;
    box-shadow: 24px 0 60px -20px rgba(11, 19, 36, 0.35);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.5s var(--etr-ease), visibility 0s linear 0.5s;
  }

  .etr-filters.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.5s var(--etr-ease), visibility 0s;
  }

  .etr-filters-body {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .etr-filters-close {
    display: inline-grid !important;
  }

  .etr-filters-foot {
    display: block !important;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--etr-line);
    background: #fff;
  }

  .etr-filters-scrim {
    display: block;
  }
}

/* ───────────────────────── Forms (components/ui/Field.tsx) ───────────────────────── */
.etr-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.etr-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.etr-form-row.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 575px) {
  .etr-form-row,
  .etr-form-row.is-3 {
    grid-template-columns: 1fr;
  }
}

.etr-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.etr-field > label {
  margin: 0;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
}

.etr-field-req {
  color: var(--etr-deal);
}

.etr-pro .etr-field input,
.etr-pro .etr-field select,
.etr-pro .etr-field textarea,
.etr-pro .order-modal-form textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--etr-line-strong);
  border-radius: var(--etr-r);
  background: #fff;
  color: var(--etr-ink);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.25s var(--etr-ease);
}

.etr-pro .etr-field textarea,
.etr-pro .order-modal-form textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.etr-pro .etr-field input::placeholder,
.etr-pro .order-modal-form textarea::placeholder {
  color: #8a93a4;
}

.etr-pro .etr-field input:hover,
.etr-pro .etr-field select:hover {
  border-color: var(--etr-muted);
}

.etr-pro .etr-field input:focus,
.etr-pro .etr-field select:focus,
.etr-pro .etr-field textarea:focus,
.etr-pro .order-modal-form textarea:focus {
  border-color: var(--etr-brand);
  box-shadow: 0 0 0 4px rgba(0, 105, 106, 0.12);
  outline: none;
}

.etr-field.has-error input,
.etr-field.has-error select {
  border-color: var(--etr-danger);
}

.etr-field.has-error input:focus {
  box-shadow: 0 0 0 4px rgba(196, 43, 43, 0.12);
}

.etr-field-error,
.etr-field-hint,
.etr-field-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.etr-field-error {
  color: var(--etr-danger);
  animation: etr-rise-in 0.3s var(--etr-ease);
}

.etr-field-hint {
  color: var(--etr-muted);
}

.etr-field-ok {
  color: var(--etr-ok);
  font-weight: 600;
}

.etr-password {
  position: relative;
}

.etr-pro .etr-password input {
  padding-right: 48px;
}

.etr-password button {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--etr-muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.etr-password button:hover {
  background: var(--etr-surface);
  color: var(--etr-ink);
}

.etr-strength {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.etr-strength-bars {
  display: inline-flex;
  gap: 4px;
}

.etr-strength-bars span {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--etr-line);
  transition: background-color 0.3s;
}

.etr-strength.is-0,
.etr-strength.is-1 {
  color: var(--etr-danger);
}

.etr-strength.is-1 .is-on {
  background: var(--etr-danger);
}

.etr-strength.is-2 {
  color: var(--etr-warn);
}

.etr-strength.is-2 .is-on {
  background: #e08a00;
}

.etr-strength.is-3,
.etr-strength.is-4 {
  color: var(--etr-ok);
}

.etr-strength.is-3 .is-on,
.etr-strength.is-4 .is-on {
  background: var(--etr-ok);
}

.etr-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--etr-r);
  font-size: 14px;
  line-height: 1.45;
  animation: etr-rise-in 0.35s var(--etr-ease);
}

.etr-alert .etr-icon {
  margin-top: 1px;
}

.etr-alert.is-error {
  background: #fdeeee;
  color: #9b1c1c;
}

.etr-alert.is-ok {
  background: var(--etr-ok-soft);
  color: #0a5c35;
}

.etr-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.etr-form-actions.is-end {
  justify-content: flex-end;
  margin-top: 20px;
}

.etr-btn-danger {
  background: var(--etr-danger);
  color: #fff;
}

.etr-btn-danger:hover:not(:disabled) {
  background: #a32020;
  color: #fff;
}

.etr-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.etr-check input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  margin: 0;
}

.etr-check input:checked + .etr-fcheck-box {
  border-color: var(--etr-brand);
  background: var(--etr-brand);
}

.etr-check input:focus-visible + .etr-fcheck-box {
  box-shadow: 0 0 0 3px rgba(0, 105, 106, 0.3);
}

.etr-segmented {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--etr-surface);
}

.etr-segmented button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--etr-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s var(--etr-ease), color 0.25s, box-shadow 0.25s;
}

.etr-segmented button.is-on {
  background: #fff;
  color: var(--etr-ink);
  box-shadow: var(--etr-shadow-sm);
}

/* ───────────────────────── Sign in / register ───────────────────────── */
.etr-auth {
  padding: 40px 0 24px;
}

.etr-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  border-radius: var(--etr-r-xl);
  background: #fff;
  box-shadow: 0 0 0 1px var(--etr-line), var(--etr-shadow);
  overflow: hidden;
}

.etr-auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 56px);
  background: var(--etr-ink);
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  isolation: isolate;
}

.etr-auth-aside::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -230px;
  z-index: -1;
  width: 380px;
  height: 380px;
  border: 70px solid rgba(0, 105, 106, 0.3);
  border-radius: 50%;
}

.etr-auth-aside h2 {
  max-width: 18ch;
  margin: 0 0 32px;
  color: #fff;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.etr-auth-aside ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-auth-aside li {
  display: flex;
  gap: 14px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.etr-auth-aside li strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.etr-auth-perk-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--etr-r);
  background: rgba(255, 255, 255, 0.08);
  color: #9fb4ff;
}

.etr-auth-browse {
  margin-top: auto;
  padding-top: 36px;
  color: #fff;
}

.etr-auth-browse:hover {
  color: #c9d5ff;
}

.etr-auth-card {
  padding: clamp(28px, 4.5vw, 56px);
}

.etr-auth-card h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.etr-auth-sub {
  margin: 8px 0 28px;
  color: var(--etr-muted);
}

.etr-auth-card .etr-btn-lg {
  margin-top: 6px;
}

.etr-auth-switch {
  margin: 4px 0 0;
  color: var(--etr-muted);
  font-size: 14px;
  text-align: center;
}

.etr-auth-switch a {
  color: var(--etr-brand);
  font-weight: 600;
}

@media (max-width: 991px) {
  .etr-auth-grid {
    grid-template-columns: 1fr;
  }

  .etr-auth-aside {
    order: 2;
  }

  .etr-auth-aside h2 {
    margin-bottom: 24px;
  }
}

@media (max-width: 575px) {
  .etr-auth {
    padding-top: 20px;
  }
}

/* ───────────────────────── Account area ───────────────────────── */
.etr-acct {
  padding-top: 36px;
}

.etr-acct-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.etr-acct-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.etr-acct-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--etr-r-lg);
  background: var(--etr-ink);
  color: rgba(255, 255, 255, 0.7);
}

.etr-acct-card > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 13px;
}

.etr-acct-card strong {
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.etr-acct-card span:not(.etr-acct-avatar) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.etr-acct-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.etr-acct-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--etr-brand);
  color: #fff;
  font-family: var(--etr-display);
  font-size: 18px;
  font-weight: 700;
}

.etr-acct-nav {
  padding: 8px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
}

.etr-acct-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-acct-nav li {
  margin: 0;
}

.etr-acct-nav a,
.etr-acct-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: var(--etr-r);
  background: none;
  color: var(--etr-text);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.etr-acct-nav a .etr-icon,
.etr-acct-nav button .etr-icon {
  color: var(--etr-muted);
  transition: color 0.2s;
}

.etr-acct-nav a:hover {
  background: var(--etr-surface);
  color: var(--etr-ink);
}

.etr-acct-nav a.is-active {
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
  font-weight: 600;
}

.etr-acct-nav a.is-active .etr-icon {
  color: var(--etr-brand);
}

.etr-acct-nav-out {
  margin-top: 6px !important;
  padding-top: 6px;
  border-top: 1px solid var(--etr-line);
}

.etr-acct-nav-out button:hover {
  background: #fdeeee;
  color: var(--etr-danger);
}

.etr-acct-nav-out button:hover .etr-icon {
  color: var(--etr-danger);
}

.etr-acct-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.etr-acct-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.etr-acct-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.03em;
}

.etr-acct-head p {
  margin: 4px 0 0;
  color: var(--etr-muted);
}

.etr-back-link {
  font-size: 14px;
}

.etr-back-link:hover .etr-icon {
  transform: translateX(-4px) !important;
}

.etr-panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
}

.etr-panel-head {
  margin-bottom: 20px;
}

.etr-panel-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.etr-panel-head p {
  margin: 4px 0 0;
  color: var(--etr-muted);
  font-size: 14px;
}

.etr-acct-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.etr-acct-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  color: var(--etr-ink);
  transition: border-color 0.25s, box-shadow 0.35s var(--etr-ease), transform 0.35s var(--etr-ease);
}

.etr-acct-shortcut > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.etr-acct-shortcut strong {
  font-size: 15px;
}

.etr-acct-shortcut small {
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-acct-shortcut > .etr-icon {
  color: var(--etr-muted);
  transition: transform 0.35s var(--etr-ease), color 0.2s;
}

.etr-acct-shortcut-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--etr-r);
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
}

.etr-acct-shortcut:hover {
  border-color: var(--etr-brand);
  color: var(--etr-ink);
  box-shadow: var(--etr-shadow);
  transform: translateY(-2px);
}

.etr-acct-shortcut:hover > .etr-icon {
  color: var(--etr-brand);
  transform: translateX(3px);
}

@media (max-width: 1199px) {
  .etr-acct-shortcuts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .etr-acct-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .etr-acct-side {
    min-width: 0;
  }

  /* The menu becomes a row of scrollable tabs. */
  .etr-acct-nav {
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .etr-acct-nav ul {
    display: flex;
    gap: 4px;
    width: max-content;
  }

  .etr-acct-nav a,
  .etr-acct-nav button {
    padding: 9px 14px;
    white-space: nowrap;
    font-size: 14px;
  }

  .etr-acct-nav-out {
    margin: 0 !important;
    padding: 0 0 0 4px;
    border-top: 0;
    border-left: 1px solid var(--etr-line);
  }
}

/* Status pills (orders) */
.etr-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}

.etr-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.etr-status-lg {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.etr-status.is-pending {
  background: var(--etr-warn-soft);
  color: var(--etr-warn);
}

.etr-status.is-processing {
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
}

.etr-status.is-shipped {
  background: #efe9ff;
  color: #5b34c9;
}

.etr-status.is-delivered {
  background: var(--etr-ok-soft);
  color: var(--etr-ok);
}

.etr-status.is-cancelled {
  background: #fdeeee;
  color: var(--etr-danger);
}

.etr-status.is-refunded,
.etr-status.is-return-requested {
  background: var(--etr-surface-2);
  color: var(--etr-text);
}

/* Orders list */
.etr-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-orders > li {
  margin: 0;
}

.etr-order {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  color: var(--etr-ink);
  transition: border-color 0.25s, box-shadow 0.35s var(--etr-ease), transform 0.35s var(--etr-ease);
}

.etr-order:hover {
  border-color: var(--etr-line-strong);
  color: var(--etr-ink);
  box-shadow: var(--etr-shadow);
  transform: translateY(-2px);
}

.etr-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--etr-line);
}

.etr-order-no {
  display: block;
  font-family: var(--etr-display);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.etr-order-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-order-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.etr-order-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
}

.etr-order-thumbs {
  display: flex;
  flex: 1;
  gap: 8px;
  min-width: 0;
}

.etr-order-thumb {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--etr-r);
  background: var(--etr-surface);
  color: var(--etr-muted);
  overflow: hidden;
}

.etr-order-thumb img {
  object-fit: cover;
}

.etr-order-thumb.is-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--etr-ink);
}

.etr-order-thumb.is-lg {
  width: 72px;
  height: 72px;
}

.etr-order-sum {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-order-sum strong {
  color: var(--etr-ink);
  font-family: var(--etr-display);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.etr-order-go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--etr-surface);
  color: var(--etr-ink);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--etr-ease);
}

.etr-order:hover .etr-order-go {
  background: var(--etr-ink);
  color: #fff;
  transform: translateX(3px);
}

@media (max-width: 575px) {
  .etr-order-thumb {
    width: 44px;
    height: 44px;
  }

  .etr-order-thumbs .etr-order-thumb:nth-child(n + 4):not(.is-more) {
    display: none;
  }

  .etr-order-go {
    display: none;
  }
}

/* Order detail */
.etr-order-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.etr-tracking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--etr-surface);
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-tracking strong {
  color: var(--etr-ink);
  font-variant-numeric: tabular-nums;
}

.etr-tracker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.etr-tracker::before,
.etr-tracker::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  border-radius: 4px;
  background: var(--etr-line);
}

.etr-tracker::after {
  background: var(--etr-ok);
  transform: scaleX(var(--etr-progress, 0));
  transform-origin: left;
  animation: etr-track-fill 1.1s var(--etr-ease) both;
}

@keyframes etr-track-fill {
  from {
    transform: scaleX(0);
  }
}

.etr-tracker-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  text-align: center;
}

.etr-tracker-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--etr-surface-2);
  color: var(--etr-muted);
  box-shadow: 0 0 0 1px var(--etr-line);
}

.etr-tracker-step.is-done .etr-tracker-icon {
  background: var(--etr-ok);
  color: #fff;
  box-shadow: none;
}

.etr-tracker-step.is-current .etr-tracker-icon {
  background: var(--etr-brand);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(0, 105, 106, 0.15);
  animation: etr-tracker-pulse 2.4s var(--etr-ease) infinite;
}

@keyframes etr-tracker-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(0, 105, 106, 0.05);
  }
}

.etr-tracker-label {
  color: var(--etr-muted);
  font-size: 13px;
  font-weight: 600;
}

.etr-tracker-step.is-done .etr-tracker-label,
.etr-tracker-step.is-current .etr-tracker-label {
  color: var(--etr-ink);
}

@media (max-width: 575px) {
  .etr-tracker-icon {
    width: 42px;
    height: 42px;
  }

  .etr-tracker::before,
  .etr-tracker::after {
    top: 19px;
  }

  .etr-tracker-label {
    font-size: 12px;
  }
}

.etr-order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 1199px) {
  .etr-order-detail-grid {
    grid-template-columns: 1fr;
  }
}

.etr-order-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-order-items > li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--etr-line);
}

.etr-order-items > li:first-child {
  padding-top: 0;
  border-top: 0;
}

.etr-order-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.etr-order-item-info strong {
  color: var(--etr-ink);
  font-size: 15px;
  line-height: 1.35;
}

.etr-order-item-info > span {
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-order-item-total {
  color: var(--etr-ink);
  font-family: var(--etr-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.etr-order-summary .etr-summary-rows {
  margin: 0 0 20px;
}

.etr-order-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--etr-line);
}

.etr-order-info > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.etr-order-info > div > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--etr-muted);
  font-size: 12px;
  font-weight: 600;
}

.etr-order-info strong {
  color: var(--etr-ink);
}

.etr-order-info small {
  color: var(--etr-muted);
  font-size: 13px;
}

/* Timeline */
.etr-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-timeline > li {
  position: relative;
  display: flex;
  gap: 14px;
  margin: 0;
  padding-bottom: 20px;
}

.etr-timeline > li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: var(--etr-line);
}

.etr-timeline-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border: 3px solid var(--etr-brand-soft);
  border-radius: 50%;
  background: var(--etr-brand);
}

.etr-timeline > li:not(:first-child) .etr-timeline-dot {
  background: var(--etr-line-strong);
  border-color: var(--etr-surface);
}

.etr-timeline strong {
  display: block;
  color: var(--etr-ink);
  font-size: 15px;
}

.etr-timeline time {
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-timeline p {
  margin: 6px 0 0;
  padding: 8px 12px;
  border-radius: var(--etr-r-sm);
  background: var(--etr-surface);
  font-size: 14px;
}

/* Order actions + review (template markup, restyled) */
.etr-pro .order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--etr-line);
}

.etr-pro .order-reason-banner {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--etr-r);
  background: var(--etr-surface);
  color: var(--etr-text);
  font-size: 14px;
}

.etr-pro .order-reason-banner.is-cancel {
  background: #fdeeee;
}

.etr-pro .order-reason-banner.is-approved {
  background: var(--etr-ok-soft);
}

.etr-pro .order-reason-banner p {
  margin: 4px 0 0;
}

.etr-pro .order-item-review {
  margin-top: 8px;
}

.etr-pro .order-item-review-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--etr-brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.etr-pro .order-item-reviewed {
  color: var(--etr-ok);
  font-size: 13px;
  font-weight: 600;
}

.etr-pro .order-modal-form label {
  display: block;
  margin: 0 0 6px;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
}

.etr-pro .star-rating-input button {
  color: var(--etr-line-strong);
}

.etr-pro .star-rating-input button.is-filled {
  color: #f2a91b;
}

/* Dialog (components/ui/Modal.tsx) */
.etr-dialog {
  width: min(520px, 100%);
  padding: 0;
}

.etr-dialog.is-lg {
  width: min(760px, 100%);
}

.etr-dialog.is-sm {
  width: min(420px, 100%);
}

.etr-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--etr-line);
}

.etr-dialog-head h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.etr-dialog-body {
  padding: 20px 24px 24px;
}

.etr-dialog-body .d-flex.justify-content-end {
  margin-top: 20px !important;
}

/* Addresses */
.etr-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 767px) {
  .etr-address-grid {
    grid-template-columns: 1fr;
  }
}

.etr-address {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.35s var(--etr-ease);
}

.etr-address:hover {
  box-shadow: var(--etr-shadow);
}

.etr-address.is-default {
  border-color: rgba(14, 124, 71, 0.35);
}

.etr-address.is-editing {
  border-color: var(--etr-brand);
  box-shadow: 0 0 0 3px rgba(0, 105, 106, 0.12);
}

.etr-address header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.etr-address-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--etr-muted);
  font-size: 13px;
  font-weight: 600;
}

.etr-address-name {
  color: var(--etr-ink);
  font-size: 16px;
}

.etr-address p {
  flex: 1;
  margin: 6px 0 0;
  color: var(--etr-text);
  font-size: 14px;
  line-height: 1.55;
}

.etr-address p.etr-address-phone {
  display: inline-flex;
  flex: 0;
  align-items: center;
  gap: 6px;
  color: var(--etr-muted);
}

.etr-address footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--etr-line);
}

.etr-address-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--etr-r-sm);
  background: none;
  color: var(--etr-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.etr-address-remove:hover {
  background: #fdeeee;
  color: var(--etr-danger);
}

.etr-address-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 200px;
  width: auto;
  padding: 20px;
  border: 1.5px dashed var(--etr-line-strong);
  border-radius: var(--etr-r-lg);
  background: var(--etr-surface);
  color: var(--etr-ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
}

.etr-address-add .etr-empty-icon {
  width: 52px;
  height: 52px;
  background: #fff;
  transition: transform 0.4s var(--etr-ease), background-color 0.25s, color 0.25s;
}

.etr-address-add:hover {
  border-color: var(--etr-brand);
  background: var(--etr-brand-soft);
}

.etr-address-add:hover .etr-empty-icon {
  background: var(--etr-brand);
  color: #fff;
  transform: rotate(90deg);
}

.etr-address-form {
  margin-top: 16px;
  scroll-margin-top: 90px;
  animation: etr-rise-in 0.45s var(--etr-ease);
}

.etr-auth-aside li > span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

/* ───────────────────────── Checkout (components/checkout/CheckoutForm.tsx) ───────────────────────── */
.etr-checkout {
  display: block;
  padding-top: 32px;
}

.etr-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1199px) {
  .etr-checkout-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .etr-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.etr-checkout-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.etr-step {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
}

.etr-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.etr-step-no {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--etr-ink);
  color: #fff;
  font-family: var(--etr-ui);
  font-size: 14px;
  font-weight: 700;
}

.etr-step-link {
  margin-left: auto;
  color: var(--etr-brand);
  font-family: var(--etr-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.etr-note-field {
  margin-top: 18px;
}

.etr-new-address {
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--etr-r);
  background: var(--etr-surface);
  animation: etr-rise-in 0.4s var(--etr-ease);
}

/* Selectable cards (saved addresses, payment) */
.etr-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.etr-choice-grid.is-stack {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .etr-choice-grid {
    grid-template-columns: 1fr;
  }
}

.etr-choice {
  position: relative;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1.5px solid var(--etr-line);
  border-radius: var(--etr-r);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.3s var(--etr-ease);
}

.etr-choice:hover {
  border-color: var(--etr-line-strong);
}

.etr-choice.is-on {
  border-color: var(--etr-brand);
  background: #f7f9ff;
  box-shadow: 0 0 0 3px rgba(0, 105, 106, 0.1);
}

.etr-choice > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.etr-choice:has(> input:focus-visible) {
  outline: 2px solid var(--etr-brand);
  outline-offset: 2px;
}

.etr-choice-radio {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--etr-line-strong);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s;
}

.etr-choice-radio::after {
  content: "";
  position: absolute;
  inset: 3.5px;
  border-radius: 50%;
  background: var(--etr-brand);
  transform: scale(0);
  transition: transform 0.3s var(--etr-ease);
}

.etr-choice.is-on .etr-choice-radio {
  border-color: var(--etr-brand);
}

.etr-choice.is-on .etr-choice-radio::after {
  transform: scale(1);
}

.etr-choice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.etr-choice-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.etr-choice-top strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--etr-ink);
  font-size: 15px;
}

.etr-choice-name {
  color: var(--etr-ink);
  font-size: 14px;
}

.etr-choice-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--etr-muted);
  font-size: 13px;
  line-height: 1.45;
}

.etr-choice-new {
  border-style: dashed;
}

.etr-choice-pay .etr-choice-top {
  justify-content: space-between;
}

.etr-choice-pay .etr-choice-top .etr-icon {
  color: var(--etr-muted);
}

.etr-choice-pay.is-on .etr-choice-top .etr-icon {
  color: var(--etr-brand);
}

.etr-bank {
  display: block;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--etr-r-sm);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--etr-line);
  color: var(--etr-ink);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
  animation: etr-rise-in 0.35s var(--etr-ease);
}

/* Summary */
.etr-checkout-summary h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.etr-checkout-summary h2 span {
  color: var(--etr-muted);
  font-family: var(--etr-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.etr-co-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 20px;
  padding: 6px 0 20px;
  border-bottom: 1px solid var(--etr-line-strong);
  list-style: none;
}

.etr-co-items li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
}

.etr-co-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--etr-r);
  background: #fff;
  color: var(--etr-muted);
}

.etr-co-thumb img {
  border-radius: var(--etr-r);
  object-fit: cover;
}

.etr-co-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--etr-surface);
  border-radius: 999px;
  background: var(--etr-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.etr-co-name {
  display: flex;
  flex-direction: column;
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.etr-co-name small {
  color: var(--etr-muted);
  font-size: 12px;
  font-weight: 400;
}

.etr-co-price {
  color: var(--etr-ink);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.etr-checkout-summary .etr-coupon {
  margin-bottom: 4px;
}

.etr-checkout-summary .etr-ship-meter {
  margin: -8px 0 18px;
}

.etr-place-btn {
  font-variant-numeric: tabular-nums;
}

.etr-btn-spinner,
.etr-placing-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: etr-spin 0.8s linear infinite;
}

@keyframes etr-spin {
  to {
    transform: rotate(360deg);
  }
}

.etr-co-terms {
  margin: 14px 0 0;
  color: var(--etr-muted);
  font-size: 12.5px;
  text-align: center;
}

.etr-co-terms a {
  color: var(--etr-ink);
  text-decoration: underline;
}

.etr-placing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 96px 20px;
  border-radius: var(--etr-r-xl);
  background: var(--etr-surface);
  color: var(--etr-ink);
  text-align: center;
}

.etr-placing-spinner {
  width: 44px;
  height: 44px;
  border-width: 4px;
  border-color: var(--etr-brand-soft);
  border-top-color: var(--etr-brand);
}

/* ───────────────────────── Order confirmation ───────────────────────── */
.etr-confirm {
  padding-top: 40px;
}

.etr-confirm-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.etr-confirm-check {
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.etr-confirm-check circle {
  fill: var(--etr-ok-soft);
  stroke: var(--etr-ok);
  stroke-width: 3;
  stroke-dasharray: 183;
  stroke-dashoffset: 183;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: etr-draw 0.8s var(--etr-ease) forwards;
}

.etr-confirm-check path {
  stroke: var(--etr-ok);
  stroke-width: 4.5;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: etr-draw 0.5s var(--etr-ease) 0.55s forwards;
}

@keyframes etr-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.etr-confirm-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  animation: etr-rise-in 0.6s var(--etr-ease) 0.2s both;
}

.etr-confirm-hero > p {
  max-width: 48ch;
  margin: 10px 0 22px;
  color: var(--etr-muted);
  font-size: 16px;
  animation: etr-rise-in 0.6s var(--etr-ease) 0.3s both;
}

.etr-confirm-no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--etr-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--etr-shadow-sm);
  animation: etr-rise-in 0.6s var(--etr-ease) 0.4s both;
}

.etr-confirm-no > span {
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-confirm-no strong {
  color: var(--etr-ink);
  font-family: var(--etr-display);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.etr-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--etr-surface);
  color: var(--etr-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.etr-copy:hover {
  background: var(--etr-ink);
  color: #fff;
}

.etr-copy.is-copied {
  background: var(--etr-ok-soft);
  color: var(--etr-ok);
}

.etr-confirm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  animation: etr-rise-in 0.7s var(--etr-ease) 0.5s both;
}

@media (max-width: 991px) {
  .etr-confirm-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .etr-confirm-no {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--etr-r-lg);
    padding: 10px 14px;
  }
}

.etr-confirm-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.etr-next-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-next-steps li {
  position: relative;
  display: flex;
  gap: 14px;
  margin: 0;
  padding-bottom: 20px;
}

.etr-next-steps li:last-child {
  padding-bottom: 0;
}

.etr-next-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 4px;
  left: 17px;
  width: 2px;
  background: var(--etr-line);
}

.etr-next-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--etr-surface);
  color: var(--etr-muted);
}

.etr-next-steps li.is-done .etr-next-icon {
  background: var(--etr-ok);
  color: #fff;
}

.etr-next-steps strong {
  display: block;
  margin-top: 6px;
  color: var(--etr-ink);
  font-size: 15px;
}

.etr-next-steps p {
  margin: 2px 0 0;
  color: var(--etr-muted);
  font-size: 14px;
}

.etr-bank-box {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--etr-r);
  background: var(--etr-warn-soft);
  color: var(--etr-ink);
}

.etr-bank-box > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.etr-bank-box p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
}

.etr-bank-amount {
  font-size: 13px;
}

.etr-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

/* Success toast */
.etr-toast.is-success {
  background: #fff;
  color: var(--etr-ink);
  box-shadow: 0 0 0 1px var(--etr-line), var(--etr-shadow-lg);
}

.etr-toast.is-success .etr-toast-label {
  color: var(--etr-ok);
}

.etr-toast.is-success .etr-toast-name {
  color: var(--etr-ink);
  font-weight: 500;
}

.etr-toast.is-success .etr-toast-close {
  color: var(--etr-muted);
}

.etr-toast.is-success .etr-toast-close:hover {
  background: var(--etr-surface);
  color: var(--etr-ink);
}

.etr-toast-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--etr-ok);
  color: #fff;
  animation: etr-badge 0.6s var(--etr-ease) 0.2s;
}

.etr-toast.is-success::after {
  /* time-left bar */
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--etr-ok);
  transform-origin: left;
  animation: etr-toast-timer 6s linear forwards;
}

.etr-toast {
  position: relative;
}

@keyframes etr-toast-timer {
  to {
    transform: scaleX(0);
  }
}

.etr-toast.is-success .etr-toast-name {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

.etr-step-link {
  white-space: nowrap;
}

@media (max-width: 575px) {
  .etr-step-title {
    font-size: 17px;
  }
}

/* ───────────────────────── Wishlist ───────────────────────── */
.etr-saved-count {
  margin: 0 0 24px;
  color: var(--etr-muted);
}

.etr-saved-skeleton {
  aspect-ratio: 3 / 4;
}

/* ───────────────────────── Category & brand directories ───────────────────────── */
.etr-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.etr-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  transition: box-shadow 0.35s var(--etr-ease), transform 0.45s var(--etr-ease), border-color 0.2s;
}

.etr-tile:hover {
  border-color: transparent;
  box-shadow: var(--etr-shadow);
  transform: translateY(-4px);
}

.etr-tile-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--etr-surface);
}

.etr-tile-media img {
  object-fit: cover;
  transition: transform 0.7s var(--etr-ease);
}

.etr-tile:hover .etr-tile-media img {
  transform: scale(1.06);
}

.etr-tile-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--etr-brand);
}

.etr-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
}

.etr-tile-body h2,
.etr-post-body h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.etr-tile-body h2 a,
.etr-post-body h2 a {
  color: var(--etr-ink);
}

.etr-tile-body h2 a:hover,
.etr-post-body h2 a:hover {
  color: var(--etr-brand);
}

.etr-tile-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-tile-sub a {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--etr-surface);
  color: var(--etr-muted);
  font-size: 12.5px;
}

.etr-tile-sub a:hover {
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
}

.etr-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--etr-brand);
  font-size: 14px;
  font-weight: 600;
}

.etr-tile-cta .etr-icon {
  transition: transform 0.3s var(--etr-ease);
}

.etr-tile-cta:hover .etr-icon {
  transform: translateX(4px);
}

.etr-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.etr-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px 20px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  text-align: center;
  transition: box-shadow 0.35s var(--etr-ease), transform 0.45s var(--etr-ease), border-color 0.2s;
}

.etr-brand-card:hover {
  border-color: transparent;
  box-shadow: var(--etr-shadow);
  transform: translateY(-4px);
}

.etr-brand-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 72px;
}

.etr-brand-logo img {
  object-fit: contain;
}

.etr-brand-logo strong {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--etr-brand-soft);
  color: var(--etr-brand);
  font-family: var(--etr-display);
  font-size: 26px;
}

.etr-brand-name {
  color: var(--etr-ink);
  font-weight: 600;
}

.etr-brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--etr-muted);
  font-size: 12.5px;
  transition: color 0.2s;
}

.etr-brand-card:hover .etr-brand-cta {
  color: var(--etr-brand);
}

/* ───────────────────────── Blog ───────────────────────── */
.etr-section > .container > .etr-chips {
  margin: 0 0 28px;
}

.etr-chip span {
  opacity: 0.7;
  font-weight: 500;
}

.etr-chip.is-active {
  background: var(--etr-brand);
  color: #fff;
}

.etr-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.etr-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  background: #fff;
  transition: box-shadow 0.35s var(--etr-ease), transform 0.45s var(--etr-ease);
}

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

.etr-post-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--etr-surface);
  color: var(--etr-muted);
}

.etr-post-media img {
  object-fit: cover;
  transition: transform 0.7s var(--etr-ease);
}

.etr-post-card:hover .etr-post-media img {
  transform: scale(1.05);
}

.etr-post-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--etr-ink);
  font-size: 12px;
  font-weight: 600;
}

.etr-post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 22px;
}

.etr-post-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--etr-muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.etr-post-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--etr-muted);
  font-size: 13px;
}

.etr-article {
  max-width: 820px;
  margin: 0 auto;
}

.etr-article-cover {
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: var(--etr-r-lg);
}

.etr-article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.etr-article .etr-prose {
  max-width: none;
}

.etr-article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--etr-line);
}

.etr-article-foot .etr-chips {
  margin: 0;
}

.etr-share {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--etr-muted);
  font-size: 14px;
  font-weight: 600;
}

.etr-share a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--etr-surface);
  color: var(--etr-ink);
  transition: background-color 0.2s, color 0.2s;
}

.etr-share a:hover {
  background: var(--etr-brand);
  color: #fff;
}

.etr-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.etr-post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--etr-line);
  border-radius: var(--etr-r-lg);
  transition: border-color 0.2s, box-shadow 0.3s;
}

.etr-post-nav-link.is-next {
  text-align: right;
  align-items: flex-end;
}

.etr-post-nav-link:hover {
  border-color: var(--etr-brand);
  box-shadow: var(--etr-shadow-sm);
}

.etr-post-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--etr-brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.etr-post-nav-link strong {
  color: var(--etr-ink);
  line-height: 1.35;
}

@media (max-width: 1199px) {
  .etr-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .etr-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .etr-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .etr-tile-grid,
  .etr-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .etr-post-grid,
  .etr-post-nav {
    grid-template-columns: 1fr;
  }

  .etr-tile-body {
    padding: 14px;
  }
}

/* ───────────────────────── Order on WhatsApp (product page) ───────────────────────── */
.etr-btn-whatsapp {
  display: flex;
  width: 100%;
  margin-top: 12px;
  background: #25d366;
  color: #0b2a17;
  font-weight: 700;
  box-shadow: 0 6px 16px -8px rgba(37, 211, 102, 0.8);
}

.etr-btn-whatsapp:hover {
  background: #1fbf5b;
  color: #0b2a17;
  box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.9);
}

/* ───────────────────────── Forgot / reset password ───────────────────────── */
.etr-auth-forgot {
  margin: -6px 0 2px;
  font-size: 14px;
  text-align: right;
}

.etr-auth-forgot a {
  color: var(--etr-brand);
  font-weight: 600;
}

.etr-auth-forgot a:hover {
  color: var(--etr-brand-strong);
  text-decoration: underline;
}

.etr-auth-note {
  margin: 0;
  color: var(--etr-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ───────────────────────── Product photo framing ─────────────────────────
   Product shots arrive on plain white, which melts into the white page.
   The photo's white is multiplied into a soft tinted panel with a hairline
   border, so every product sits in its own frame. */
.etr-card-media {
  border: 1px solid var(--etr-line);
  background: var(--etr-surface);
}

.etr-card-img,
.etr-gallery-stage img,
.etr-gallery-thumb img {
  mix-blend-mode: multiply;
}

.etr-gallery-stage {
  border: 1px solid var(--etr-line);
}

@media (hover: hover) {
  .etr-card:hover .etr-card-media {
    border-color: color-mix(in srgb, var(--etr-brand) 35%, var(--etr-line));
    box-shadow: 0 14px 30px -16px rgba(0, 45, 60, 0.35);
  }
}

/* On the dark deals band the frame is white, so multiplied photos stay bright. */
.etr-deals .etr-card-media {
  border-color: transparent;
  background: #fff;
}

/* ───────────────────────── Banner art per screen size ─────────────────────────
   A banner can carry a second "mobile image": phones get it on the hero, and
   the side promo uses it once it turns into a wide strip below desktop. */
.etr-art-narrow {
  display: none;
}

@media (max-width: 575px) {
  .etr-hero-media.has-mobile .etr-art-wide {
    display: none;
  }

  .etr-hero-media.has-mobile .etr-art-narrow {
    display: block;
  }
}

@media (max-width: 991px) {
  .etr-promo-tile.has-mobile .etr-art-wide {
    display: none;
  }

  .etr-promo-tile.has-mobile .etr-art-narrow {
    display: block;
  }
}

/* Hover photo swap: the photos are blended into the frame (multiply), so the
   first one must fade out while the second fades in, or both show at once. */
@media (hover: hover) {
  .etr-card:hover .etr-card-media:has(.etr-card-img-alt) .etr-card-img:not(.etr-card-img-alt) {
    opacity: 0;
  }
}

/* ───────────────────────── Sale page ───────────────────────── */
.etr-sale-intro {
  padding-top: 28px;
}

.etr-sale-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 28px 32px;
  overflow: hidden;
  border-radius: var(--etr-r-xl);
  background: linear-gradient(120deg, var(--etr-ink) 0%, #013f4b 55%, var(--etr-brand-strong) 100%);
  color: #fff;
  isolation: isolate;
}

.etr-sale-band::after {
  content: "%";
  position: absolute;
  right: 18%;
  top: 50%;
  z-index: -1;
  color: rgba(51, 226, 209, 0.08);
  font-family: var(--etr-display);
  font-size: 260px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%) rotate(-12deg);
}

.etr-sale-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--etr-deal);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.etr-sale-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.etr-sale-copy h2 em {
  color: var(--etr-tint);
  font-style: normal;
}

.etr-sale-copy p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.etr-sale-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etr-sale-perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.etr-sale-band .etr-sale-perks li {
  color: #fff;
}

.etr-sale-perks svg {
  color: var(--etr-tint);
}

@media (max-width: 575px) {
  .etr-sale-band {
    padding: 22px 20px;
  }

  .etr-sale-band::after {
    font-size: 180px;
    right: -10px;
  }
}

/* ───────────────────────── Sale link in the menu ─────────────────────────
   A red pill with a pulsing "%" badge, so the Sale page is hard to miss. */
.etr-pro .etr-nav > li.is-sale {
  align-items: center;
  margin-left: 8px;
}

.etr-pro .etr-nav > li.is-sale > a {
  position: relative;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0565a 0%, var(--etr-deal) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px -8px rgba(185, 71, 74, 0.75);
  transition: transform 0.3s var(--etr-ease), box-shadow 0.3s var(--etr-ease), filter 0.2s;
}

.etr-pro .etr-nav > li.is-sale > a::before,
.etr-pro .etr-nav > li.is-sale > a::after {
  display: none;
}

.etr-pro .etr-nav > li.is-sale > a:hover,
.etr-pro .etr-nav > li.is-sale.active > a {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(185, 71, 74, 0.9);
  filter: saturate(1.1);
}

.etr-pro .etr-nav > li.is-sale.active > a {
  box-shadow: 0 0 0 3px rgba(185, 71, 74, 0.2), 0 12px 24px -10px rgba(185, 71, 74, 0.9);
}

.etr-sale-badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--etr-deal);
  font-family: var(--etr-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.etr-sale-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: etr-sale-pulse 2.2s ease-out infinite;
}

@keyframes etr-sale-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Mobile drawer: the same pill, full width. */
.etr-mcat-row.is-sale {
  margin: 6px 0;
}

.etr-mcat-row.is-sale > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0565a 0%, var(--etr-deal) 100%);
  color: #fff;
  font-weight: 700;
}

.etr-mcat-row.is-sale > a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .etr-sale-badge::after {
    animation: none;
  }

  .etr-pro .etr-nav > li.is-sale > a {
    transition: none;
    transform: none !important;
  }
}
