/* ==========================================================================
   eML Mağaza — storefront, cart, checkout and account pages.
   Scoped under .eml-shop. Every colour derives from the site tokens in
   eml-theme.css (--eml-*), so light and dark mode both work without a
   second ruleset; the few dark-only tweaks are at the bottom.
   ========================================================================== */

.eml-shop {
  --shop-radius: 12px;
  --shop-radius-sm: 8px;
  --shop-gap: 24px;
  --shop-card: var(--eml-card-bg, #fff);
  --shop-well: var(--eml-product-tumb, #f3f3f3);
  --shop-line: var(--eml-border, #e4e6eb);
  --shop-text: var(--eml-text, #697a8d);
  --shop-heading: var(--eml-heading, #566a7f);
  --shop-muted: var(--eml-muted, #8592a3);
  --shop-accent: var(--eml-accent, #09f25e);
  --shop-accent-hover: var(--eml-accent-hover, #07df56);
  --shop-ink: #161616;
  --shop-accent-soft: rgba(9, 242, 94, .12);
  --shop-accent-text: #078a37;
  --shop-shadow: 0 2px 7px rgba(67, 89, 113, .10);
  --shop-shadow-lift: 0 14px 32px rgba(22, 22, 22, .12), 0 0 0 1px rgba(9, 242, 94, .45);
  color: var(--shop-text);
}

.dark-style .eml-shop {
  --shop-accent-soft: rgba(9, 242, 94, .14);
  --shop-accent-text: #3cf58a;
  --shop-shadow: none;
  --shop-shadow-lift: 0 14px 32px rgba(0, 0, 0, .40), 0 0 0 1px rgba(9, 242, 94, .5);
}

.eml-shop .material-symbols-outlined { font-size: 20px; vertical-align: middle; }
.eml-shop .btn .material-symbols-outlined { font-size: 18px; margin-right: 6px; }
.eml-shop .btn-lg .material-symbols-outlined { font-size: 20px; }
.eml-shop h1, .eml-shop h2, .eml-shop h3 { color: var(--shop-heading); }
.eml-shop a { text-decoration: none; }
.shop-muted { color: var(--shop-muted); }
.shop-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-free { color: var(--shop-accent-text); font-weight: 600; }
.shop-required { color: #ff3e1d; }

/* ---- Panels ------------------------------------------------------------ */
.shop-panel {
  background: var(--shop-card);
  border-radius: var(--shop-radius);
  box-shadow: var(--shop-shadow);
  padding: 22px;
}
.dark-style .shop-panel { border: 1px solid var(--shop-line); }

.shop-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.shop-panel-head h2,
.shop-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.shop-panel-title { margin-bottom: 16px; }
.shop-panel-head h2 .material-symbols-outlined,
.shop-panel-title .material-symbols-outlined { color: var(--shop-accent-text); font-size: 22px; margin: 0; }
.shop-sticky { position: sticky; top: 90px; }
.shop-stack { display: flex; flex-direction: column; gap: var(--shop-gap); min-width: 0; }
.shop-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: var(--shop-gap);
  align-items: start;
}
.shop-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--shop-gap); }

/* ---- Page head & crumbs ------------------------------------------------ */
.shop-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.shop-page-head h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.shop-page-head h1 .material-symbols-outlined { font-size: 30px; color: var(--shop-accent-text); margin: 0; }
.shop-page-head-sm h1 { font-size: 22px; }
.shop-page-head-sm h1 .material-symbols-outlined { font-size: 26px; }

.shop-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--shop-muted);
}
.shop-crumbs a { color: var(--shop-muted); }
.shop-crumbs a:hover { color: var(--shop-accent-text); }
.shop-crumbs .material-symbols-outlined { font-size: 16px; margin: 0; }
.shop-crumbs span:last-child { color: var(--shop-heading); font-weight: 500; }

.shop-link-arrow, .shop-link-muted {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
}
.shop-link-arrow { color: var(--shop-accent-text); }
.shop-link-arrow .material-symbols-outlined, .shop-link-muted .material-symbols-outlined { font-size: 18px; margin: 0; transition: transform .18s; }
.shop-link-arrow:hover .material-symbols-outlined { transform: translateX(3px); }
.shop-link-muted { color: var(--shop-muted); font-weight: 500; }
.shop-link-muted:hover { color: var(--shop-accent-text); }

/* ---- Hero -------------------------------------------------------------- */
.shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  padding: 48px 48px 44px;
  color: #c9d1d9;
  background:
    radial-gradient(900px 380px at 88% -20%, rgba(9, 242, 94, .30), transparent 62%),
    radial-gradient(560px 300px at -8% 120%, rgba(9, 242, 94, .16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 56px),
    #121212;
  margin-bottom: 26px;
}
.shop-hero::after {
  /* A centre-circle arc, the pitch nobody can miss. */
  content: "";
  position: absolute;
  right: -160px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(9, 242, 94, .14);
  border-radius: 50%;
  pointer-events: none;
}
.shop-hero-copy { position: relative; z-index: 1; }
.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 242, 94, .12);
  border: 1px solid rgba(9, 242, 94, .35);
  color: var(--shop-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.shop-eyebrow .material-symbols-outlined { font-size: 16px; margin: 0; }
.shop-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance;
}
.shop-hero p { max-width: 46ch; font-size: 16px; color: #aeb7c1; margin-bottom: 24px; }
.shop-hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  padding: 6px 6px 6px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  transition: border-color .18s, background .18s;
}
.shop-hero-search:focus-within { border-color: var(--shop-accent); background: rgba(255, 255, 255, .10); }
.shop-hero-search > .material-symbols-outlined { color: #8a93a0; margin: 0; }
.shop-hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  outline: none;
  padding: 8px 0;
}
.shop-hero-search input::placeholder { color: #8a93a0; }
.shop-hero-search .btn { padding: 9px 22px; font-weight: 600; }
.shop-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 13px;
  color: #8a93a0;
}
.shop-hero-stats li { display: flex; align-items: baseline; gap: 6px; }
.shop-hero-stats strong { font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.shop-hero-stats strong .material-symbols-outlined { color: var(--shop-accent); font-size: 20px; margin: 0; }

.shop-hero-showcase { position: relative; height: 290px; z-index: 1; }
.shop-hero-tile {
  position: absolute;
  display: grid;
  place-items: center;
  width: 190px;
  height: 230px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, #262626, #1b1b1b);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.shop-hero-tile img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; align-self: start; }
.shop-hero-tile > .material-symbols-outlined { font-size: 84px; color: var(--shop-accent); margin: 0; }
.shop-hero-tile-price {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--shop-accent);
  color: var(--shop-ink);
  font-size: 12px;
  font-weight: 800;
}
.shop-hero-tile-1 { left: 4%; top: 34px; transform: rotate(-8deg); }
.shop-hero-tile-2 { left: 33%; top: 0; transform: rotate(3deg); z-index: 2; }
.shop-hero-tile-3 { left: 62%; top: 46px; transform: rotate(10deg); }
.shop-hero:hover .shop-hero-tile-1 { transform: rotate(-11deg) translateY(-6px); }
.shop-hero:hover .shop-hero-tile-2 { transform: rotate(0) translateY(-10px); }
.shop-hero:hover .shop-hero-tile-3 { transform: rotate(13deg) translateY(-6px); }

/* ---- Category chips ------------------------------------------------------ */
.shop-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}
.shop-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--shop-card);
  box-shadow: var(--shop-shadow);
  color: var(--shop-heading);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: border-color .18s, transform .18s, background .18s;
}
.dark-style .shop-chip-link { border-color: var(--shop-line); }
.shop-chip-link .material-symbols-outlined { color: var(--shop-accent-text); margin: 0; }
.shop-chip-link:hover { border-color: var(--shop-accent); transform: translateY(-1px); color: var(--shop-heading); }
.shop-chip-link.is-active { background: var(--shop-accent); color: var(--shop-ink); }
.shop-chip-link.is-active .material-symbols-outlined { color: var(--shop-ink); }
.shop-chip-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--shop-well);
  color: var(--shop-muted);
  font-size: 12px;
  text-align: center;
}
.shop-chip-link.is-active .shop-chip-count { background: rgba(22, 22, 22, .14); color: var(--shop-ink); }

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.shop-chip .material-symbols-outlined { font-size: 15px; margin: 0; }

/* ---- Sections ----------------------------------------------------------- */
.shop-section { margin: 30px 0; }
.shop-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.shop-section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}
.shop-section-head h2 .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 10px;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-text);
}

/* ---- Product grid & card ---------------------------------------------------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 20px;
}
.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--shop-card);
  border-radius: var(--shop-radius);
  box-shadow: var(--shop-shadow);
  overflow: hidden;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s;
}
.dark-style .shop-card { border: 1px solid var(--shop-line); }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shop-shadow-lift); }
.shop-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 22px;
  background:
    radial-gradient(70% 70% at 50% 60%, rgba(9, 242, 94, .16), transparent 70%),
    var(--shop-well);
}
.shop-card-media img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s; }
/* Uploaded product art is usually a photo or key art, not a cut-out: let it
   fill the well edge to edge instead of floating small in the middle. */
.shop-card-media:has(> img) { padding: 0; overflow: hidden; }
.shop-card-media > img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.shop-card:hover .shop-card-media img { transform: scale(1.05); }
.shop-card-fallback { font-size: 64px !important; color: var(--shop-accent-text); margin: 0 !important; opacity: .9; }
.shop-card-media .shop-chip { position: absolute; left: 12px; top: 12px; }
.shop-chip-glass {
  background: rgba(255, 255, 255, .78);
  color: var(--shop-ink);
  backdrop-filter: blur(4px);
}
.dark-style .shop-chip-glass { background: rgba(22, 22, 22, .72); color: #e8edf2; }
.shop-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 14px; }
.shop-card-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.shop-card-title a { color: var(--shop-heading); }
.shop-card-title a:hover { color: var(--shop-accent-text); }
.shop-card-meta { display: flex; align-items: center; gap: 5px; margin: 0 0 14px; font-size: 12.5px; color: var(--shop-muted); }
.shop-card-meta .material-symbols-outlined { font-size: 16px; margin: 0; }
.shop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.shop-price { font-size: 19px; font-weight: 800; color: var(--shop-heading); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.shop-card-add { position: relative; z-index: 2; margin: 0; }
.shop-card-go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--shop-well);
  color: var(--shop-muted);
  transition: background .18s, color .18s;
}
.shop-card-go .material-symbols-outlined { margin: 0; font-size: 20px; }
.shop-card:hover .shop-card-go { background: var(--shop-accent); color: var(--shop-ink); }

/* ---- Icon button ------------------------------------------------------------- */
.shop-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--shop-well);
  color: var(--shop-muted);
  cursor: pointer;
  transition: background .18s, color .18s, transform .12s;
}
.shop-icon-btn .material-symbols-outlined { margin: 0; font-size: 20px; }
.shop-icon-btn:hover { background: var(--shop-accent-soft); color: var(--shop-accent-text); }
.shop-icon-btn:active { transform: scale(.94); }
.shop-icon-btn:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; }
.shop-icon-btn-accent { background: var(--shop-accent); color: var(--shop-ink); }
.shop-icon-btn-accent:hover { background: var(--shop-accent-hover); color: var(--shop-ink); }
.shop-icon-btn.is-busy { opacity: .6; pointer-events: none; }

/* ---- Promo & trust -------------------------------------------------------- */
.shop-promo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 34px 0;
  padding: 24px 28px;
  border-radius: var(--shop-radius);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(9, 242, 94, .22), transparent 70%),
    linear-gradient(120deg, #161616, #202a22);
  color: #c9d1d9;
}
.shop-promo-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(9, 242, 94, .14);
  border: 1px solid rgba(9, 242, 94, .4);
}
.shop-promo-icon .material-symbols-outlined { font-size: 34px; color: var(--shop-accent); margin: 0; }
.shop-promo h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: #fff; }
.shop-promo p { margin: 0; color: #aeb7c1; }
.shop-promo strong { color: var(--shop-accent); }
.shop-promo-cta { padding: 11px 24px; font-weight: 600; white-space: nowrap; }

.shop-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 10px 0 8px;
}
.shop-trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--shop-radius);
  border: 1px dashed var(--shop-line);
}
.shop-trust-icon {
  flex: 0 0 auto;
  display: grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 !important;
  border-radius: 12px;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-text);
  font-size: 22px !important;
}
.shop-trust-item strong { display: block; color: var(--shop-heading); margin-bottom: 2px; }
.shop-trust-item span { font-size: 13px; color: var(--shop-muted); }

/* ---- Listing --------------------------------------------------------------- */
.shop-browse { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: var(--shop-gap); align-items: start; }
.shop-filters .shop-panel { position: sticky; top: 90px; }
.shop-field-label {
  display: block;
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--shop-muted);
}
.shop-panel-head + .shop-field-label { margin-top: 0; }
.shop-input-icon { position: relative; }
.shop-input-icon .material-symbols-outlined { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--shop-muted); margin: 0; font-size: 18px; }
.shop-input-icon .form-control { padding-left: 36px; }
.shop-radio-list { display: flex; flex-direction: column; gap: 2px; }
.shop-radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--shop-text);
  transition: background .15s;
}
.shop-radio-row:hover { background: var(--shop-well); }
.shop-radio-row input { position: absolute; opacity: 0; pointer-events: none; }
.shop-radio-row .material-symbols-outlined { font-size: 19px; color: var(--shop-muted); margin: 0; }
.shop-radio-label { flex: 1; font-weight: 500; }
.shop-radio-count { font-size: 12px; color: var(--shop-muted); }
.shop-radio-row:has(input:checked) { background: var(--shop-accent-soft); color: var(--shop-accent-text); }
.shop-radio-row:has(input:checked) .material-symbols-outlined { color: var(--shop-accent-text); }
.shop-radio-row:has(input:focus-visible) { outline: 2px solid var(--shop-accent); }
.shop-price-range { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.shop-price-range span { color: var(--shop-muted); }

.shop-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.shop-results-bar strong { color: var(--shop-heading); }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort .form-select { width: auto; min-width: 160px; }

.shop-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 6px; }
.shop-pagination a, .shop-pagination span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--shop-card);
  box-shadow: var(--shop-shadow);
  color: var(--shop-heading);
  font-weight: 600;
}
.shop-pagination a:hover { color: var(--shop-accent-text); }
.shop-pagination .is-active { background: var(--shop-accent); color: var(--shop-ink); }
.shop-pagination .material-symbols-outlined { margin: 0; }

/* ---- Empty & notices ---------------------------------------------------------- */
.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 20px;
  border-radius: var(--shop-radius);
  border: 1px dashed var(--shop-line);
}
.shop-empty > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-text);
  font-size: 38px;
}
.shop-empty h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.shop-empty p { color: var(--shop-muted); margin: 0 0 18px; max-width: 42ch; }
.shop-empty-lg { padding: 70px 20px; background: var(--shop-card); border-style: solid; }

.shop-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-accent-soft);
  color: var(--shop-heading);
  margin-bottom: 18px;
}
.shop-notice > .material-symbols-outlined { color: var(--shop-accent-text); margin: 0; }
.shop-notice-warning { background: rgba(255, 171, 0, .14); }
.shop-notice-warning > .material-symbols-outlined { color: #e09600; }
.shop-stack > .shop-notice { margin-bottom: 0; }

.shop-soon {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--shop-radius-sm);
  border: 1px dashed var(--shop-line);
  background: var(--shop-well);
  margin: 16px 0;
}
.shop-soon > .material-symbols-outlined { color: var(--shop-muted); font-size: 26px; margin: 0; }
.shop-soon strong { display: block; color: var(--shop-heading); }
.shop-soon span { font-size: 13px; color: var(--shop-muted); }
.shop-soon-lg { text-align: left; padding: 18px 20px; margin: 22px 0; }

/* ---- Product detail ------------------------------------------------------------- */
.shop-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: start;
  margin-bottom: var(--shop-gap);
}
.shop-pdp-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  width: 100%;
  padding: 48px;
  border-radius: 16px;
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(9, 242, 94, .20), transparent 70%),
    var(--shop-well);
}
.shop-pdp-media img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .18)); }
.shop-pdp-media:has(> img) { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.shop-pdp-media > img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.shop-pdp-media .shop-card-fallback { font-size: 140px !important; }
.shop-pdp-title { margin: 12px 0 4px; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.shop-sku { font-size: 13px; margin-bottom: 0; }
.shop-pdp-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0;
  font-size: 34px;
  font-weight: 900;
  color: var(--shop-heading);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.shop-pdp-price small { font-size: 13px; font-weight: 500; color: var(--shop-muted); letter-spacing: 0; }
.shop-delivery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-well);
  margin-bottom: 18px;
}
.shop-delivery > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 10px;
  background: var(--shop-accent-soft);
  color: var(--shop-accent-text);
}
.shop-delivery strong { display: block; color: var(--shop-heading); }
.shop-delivery span { font-size: 13px; color: var(--shop-muted); }
.shop-buy-form { display: flex; flex-direction: column; gap: 14px; }
.shop-buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-buy-actions .btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.shop-mini-trust { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--shop-line); font-size: 13px; color: var(--shop-muted); }
.shop-mini-trust li { display: inline-flex; align-items: center; gap: 6px; }
.shop-mini-trust .material-symbols-outlined { font-size: 18px; color: var(--shop-accent-text); margin: 0; }
.shop-description { margin-bottom: var(--shop-gap); }
.shop-prose { max-width: 75ch; line-height: 1.7; }
.shop-prose p:last-child { margin-bottom: 0; }

/* ---- Stepper (quantity) --------------------------------------------------------- */
.shop-stepper {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 10px;
  border: 1px solid var(--shop-line);
  background: var(--shop-card);
  overflow: hidden;
}
.shop-stepper button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--shop-heading);
  cursor: pointer;
}
.shop-stepper button:hover { background: var(--shop-accent-soft); color: var(--shop-accent-text); }
.shop-stepper button .material-symbols-outlined { margin: 0; font-size: 18px; }
.shop-stepper input {
  width: 48px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--shop-line);
  border-right: 1px solid var(--shop-line);
  background: transparent;
  color: var(--shop-heading);
  text-align: center;
  font-weight: 700;
  -moz-appearance: textfield;
  appearance: textfield;
}
.shop-stepper input::-webkit-outer-spin-button,
.shop-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-stepper input:focus { outline: none; background: var(--shop-well); }
.shop-stepper-sm button { width: 32px; height: 34px; }
.shop-stepper-sm input { width: 40px; height: 34px; }

/* ---- Cart ----------------------------------------------------------------------- */
.shop-lines { padding: 6px 22px; }
.shop-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto 110px auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--shop-line);
  transition: opacity .25s, transform .25s;
}
.shop-line:last-child { border-bottom: 0; }
.shop-line.is-leaving { opacity: 0; transform: translateX(16px); }
.shop-line-thumb {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 8px;
  border-radius: 10px;
  background: var(--shop-well);
  overflow: hidden;
}
.shop-line-thumb:has(> img) { padding: 0; }
.shop-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-line-thumb .material-symbols-outlined { font-size: 32px; color: var(--shop-accent-text); margin: 0; }
.shop-line-thumb-sm { width: 52px; height: 52px; padding: 6px; }
.shop-line-thumb-sm .material-symbols-outlined { font-size: 24px; }
.shop-line-info h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.shop-line-info .shop-card-meta { margin-bottom: 2px; }
.shop-unit { font-size: 12.5px; }
.shop-line-qty { margin: 0; }
.shop-qty-fixed { font-size: 13px; color: var(--shop-muted); white-space: nowrap; }
.shop-line-total { text-align: right; color: var(--shop-heading); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-line > form { margin: 0; }

.shop-summary .btn-lg { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.shop-totals { margin: 0 0 18px; }
.shop-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.shop-totals dt { font-weight: 400; color: var(--shop-text); }
.shop-totals dd { margin: 0; color: var(--shop-heading); font-weight: 600; font-variant-numeric: tabular-nums; }
.shop-totals-grand { margin-top: 6px; padding-top: 14px !important; border-top: 1px dashed var(--shop-line); }
.shop-totals-grand dt { font-weight: 700; color: var(--shop-heading); font-size: 16px; }
.shop-totals-grand dd { font-size: 22px; font-weight: 900; color: var(--shop-heading); }
.shop-totals-vat { padding-top: 0 !important; font-size: 12.5px; }
.shop-totals-vat dt, .shop-totals-vat dd { color: var(--shop-muted) !important; font-weight: 400 !important; }
.shop-totals-compact { margin: 14px 0 0; padding-top: 6px; border-top: 1px solid var(--shop-line); }
.shop-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--shop-muted); text-align: center; }
.shop-secure .material-symbols-outlined { font-size: 16px; margin: 0; }

/* ---- Checkout --------------------------------------------------------------------- */
.shop-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  counter-reset: none;
}
.shop-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--shop-muted);
  font-size: 14px;
}
.shop-steps li:not(:last-child)::after {
  content: "";
  display: block;
  width: clamp(18px, 6vw, 70px);
  height: 2px;
  margin-left: 6px;
  border-radius: 2px;
  background: var(--shop-line);
}
.shop-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--shop-well);
  border: 2px solid var(--shop-line);
  font-size: 13px;
  font-weight: 800;
}
.shop-steps li.is-done { color: var(--shop-heading); }
.shop-steps li.is-done > span { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-ink); }
.shop-steps li.is-done::after { background: var(--shop-accent); }
.shop-steps li.is-active { color: var(--shop-heading); }
.shop-steps li.is-active > span { border-color: var(--shop-accent); color: var(--shop-accent-text); box-shadow: 0 0 0 4px var(--shop-accent-soft); }

.shop-step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--shop-ink);
  color: var(--shop-accent);
  font-size: 14px;
  font-weight: 800;
}
.dark-style .shop-step-num { background: var(--shop-accent); color: var(--shop-ink); }

.shop-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shop-option { position: relative; display: block; margin: 0; cursor: pointer; }
.shop-option input { position: absolute; opacity: 0; pointer-events: none; }
.shop-option-body {
  display: block;
  height: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: 10px;
  border: 1.5px solid var(--shop-line);
  background: var(--shop-card);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.shop-option-body::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--shop-line);
  background: var(--shop-card);
  transition: border-color .15s, box-shadow .15s;
}
.shop-option:hover .shop-option-body { border-color: var(--shop-muted); }
.shop-option input:checked + .shop-option-body {
  border-color: var(--shop-accent);
  background: var(--shop-accent-soft);
}
.shop-option input:checked + .shop-option-body::before {
  border-color: var(--shop-accent);
  box-shadow: inset 0 0 0 4px var(--shop-card);
  background: var(--shop-accent);
}
.shop-option input:focus-visible + .shop-option-body { outline: 2px solid var(--shop-accent); outline-offset: 2px; }
.shop-option-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 700; color: var(--shop-heading); margin-bottom: 6px; }
.shop-option-title .material-symbols-outlined { font-size: 18px; color: var(--shop-accent-text); margin: 0; }
.shop-option-text { display: block; font-size: 13px; line-height: 1.55; color: var(--shop-text); }
.shop-option-text strong { color: var(--shop-heading); font-weight: 600; }

.shop-add-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 120px;
  padding: 20px;
  border-radius: var(--shop-radius);
  border: 2px dashed var(--shop-line);
  background: transparent;
  color: var(--shop-muted);
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.shop-add-tile .material-symbols-outlined { font-size: 30px; margin: 0; }
.shop-add-tile:hover { border-color: var(--shop-accent); color: var(--shop-accent-text); background: var(--shop-accent-soft); }

.shop-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--shop-accent);
  color: var(--shop-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.shop-badge-muted { background: var(--shop-well); color: var(--shop-muted); }
.shop-badge-warning { background: #ffab00; color: #2b1d00; }

.shop-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding: 14px;
  border-radius: var(--shop-radius-sm);
  background: var(--shop-well);
  cursor: pointer;
  font-size: 14px;
}
.shop-consent .form-check-input { flex: 0 0 auto; margin-top: 2px; }
.shop-inline-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--shop-accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.shop-mini-lines { list-style: none; margin: 0 0 14px; padding: 0 0 6px; border-bottom: 1px solid var(--shop-line); }
.shop-mini-lines li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 13.5px; }
.shop-mini-lines strong { color: var(--shop-heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-mini-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 4px;
  border-radius: 8px;
  background: var(--shop-well);
}
.shop-mini-thumb:has(> img) { padding: 0; overflow: hidden; }
.shop-mini-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.shop-mini-thumb .material-symbols-outlined { font-size: 22px; color: var(--shop-accent-text); margin: 0; }
.shop-mini-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--shop-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.dark-style .shop-mini-qty { background: var(--shop-accent); color: var(--shop-ink); }
.shop-mini-name { color: var(--shop-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Pay ---------------------------------------------------------------------------- */
.shop-pay { display: grid; place-items: center; }
.shop-pay-card { width: 100%; max-width: 560px; text-align: center; padding: 36px 32px; }
.shop-pay-icon {
  display: inline-grid !important;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 0 16px !important;
  border-radius: 20px;
  background: var(--shop-ink);
  color: var(--shop-accent);
  font-size: 36px !important;
}
.shop-pay-amount { font-size: 40px; font-weight: 900; color: var(--shop-heading); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.shop-test-box {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px dashed #ffab00;
  background: rgba(255, 171, 0, .08);
}
.shop-test-box p { font-size: 13px; margin: 10px 0 14px; }
.shop-test-box .btn { font-weight: 600; }
.shop-pay-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---- Status pills --------------------------------------------------------------------- */
.shop-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.shop-status .material-symbols-outlined { font-size: 16px; margin: 0; }
.shop-status-warning { background: rgba(255, 171, 0, .16); color: #c98a00; }
.shop-status-info { background: rgba(3, 195, 236, .16); color: #0290b0; }
.shop-status-primary { background: var(--shop-accent-soft); color: var(--shop-accent-text); }
.shop-status-success { background: rgba(113, 221, 55, .18); color: #4a9f1f; }
.shop-status-secondary { background: rgba(133, 146, 163, .16); color: var(--shop-muted); }
.shop-status-danger { background: rgba(255, 62, 29, .14); color: #e0321a; }
.dark-style .shop-status-warning { color: #ffc44d; }
.dark-style .shop-status-info { color: #4fd8f5; }
.dark-style .shop-status-success { color: #8ee45c; }
.dark-style .shop-status-danger { color: #ff7b66; }

/* ---- Account: tabs, orders ------------------------------------------------------------- */
.eml-settings-nav .nav-link { display: inline-flex; align-items: center; }
.shop-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.shop-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid var(--shop-line);
  color: var(--shop-text);
  font-weight: 600;
  font-size: 14px;
}
.shop-tabs a span { padding: 0 7px; border-radius: 999px; background: var(--shop-well); font-size: 12px; color: var(--shop-muted); }
.shop-tabs a:hover { border-color: var(--shop-accent); color: var(--shop-heading); }
.shop-tabs a.is-active { background: var(--shop-ink); border-color: var(--shop-ink); color: #fff; }
.shop-tabs a.is-active span { background: var(--shop-accent); color: var(--shop-ink); }
.dark-style .shop-tabs a.is-active { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-ink); }
.dark-style .shop-tabs a.is-active span { background: rgba(22, 22, 22, .2); }

.shop-orders { display: flex; flex-direction: column; gap: 12px; }
.shop-order-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto 120px 24px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  color: var(--shop-text);
  border: 1px solid transparent;
  transition: transform .18s, border-color .18s;
}
.shop-order-row:hover { transform: translateX(3px); border-color: var(--shop-accent); color: var(--shop-text); }
.shop-order-id strong { display: block; color: var(--shop-heading); font-variant-numeric: tabular-nums; }
.shop-order-id span { font-size: 12.5px; }
.shop-order-items { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.shop-order-item {
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--shop-well);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-order-total { text-align: right; color: var(--shop-heading); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-order-chevron { color: var(--shop-muted); margin: 0 !important; }

.shop-celebrate {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 20px 24px;
  border-radius: var(--shop-radius);
  background: linear-gradient(120deg, #161616, #1d3324);
  color: #c9d1d9;
  animation: shop-rise .5s cubic-bezier(.2, .8, .2, 1) both;
}
.shop-celebrate > .material-symbols-outlined { font-size: 44px; color: var(--shop-accent); margin: 0; font-variation-settings: 'FILL' 1; }
.shop-celebrate h2 { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 2px; }
.shop-celebrate p { margin: 0; color: #aeb7c1; }
@keyframes shop-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.shop-order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.shop-order-head h1 { margin: 8px 0 2px; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.shop-order-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.shop-order-head-total { font-size: 24px; font-weight: 900; color: var(--shop-heading); font-variant-numeric: tabular-nums; }

.shop-progress {
  display: flex;
  list-style: none;
  margin: 0 0 var(--shop-gap);
  padding: 20px 22px;
  border-radius: var(--shop-radius);
  background: var(--shop-card);
  box-shadow: var(--shop-shadow);
}
.dark-style .shop-progress { border: 1px solid var(--shop-line); }
.shop-progress li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--shop-muted);
  text-align: center;
}
.shop-progress li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--shop-line);
  z-index: 0;
}
.shop-progress li:first-child::before { display: none; }
.shop-progress li .material-symbols-outlined {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 50%;
  background: var(--shop-well);
  border: 2px solid var(--shop-line);
  font-size: 20px;
}
.shop-progress li.is-done { color: var(--shop-heading); }
.shop-progress li.is-done::before { background: var(--shop-accent); }
.shop-progress li.is-done .material-symbols-outlined { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-ink); }
.shop-progress li.is-current { color: var(--shop-heading); }
.shop-progress li.is-current::before { background: linear-gradient(90deg, var(--shop-accent), var(--shop-line)); }
.shop-progress li.is-current .material-symbols-outlined {
  border-color: var(--shop-accent);
  color: var(--shop-accent-text);
  box-shadow: 0 0 0 5px var(--shop-accent-soft);
  animation: shop-pulse 2s ease-in-out infinite;
}
@keyframes shop-pulse { 50% { box-shadow: 0 0 0 9px rgba(9, 242, 94, .06); } }

.shop-order-lines { list-style: none; margin: 0; padding: 0; }
.shop-order-lines li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--shop-line); }
.shop-order-lines li:last-child { border-bottom: 0; }
.shop-order-line-info strong { display: block; color: var(--shop-heading); }
.shop-order-line-info > .shop-muted { font-size: 13px; }
.shop-delivered { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--shop-accent-text); }
.shop-delivered .material-symbols-outlined { font-size: 17px; margin: 0; font-variation-settings: 'FILL' 1; }
.shop-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 6px 6px 12px;
  border-radius: 10px;
  border: 1px dashed var(--shop-accent);
  background: var(--shop-accent-soft);
}
.shop-code > .material-symbols-outlined { color: var(--shop-accent-text); font-size: 18px; margin: 0; }
.shop-code code { flex: 1; min-width: 0; color: var(--shop-heading); font-size: 14px; font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; background: none; }
.shop-code .shop-icon-btn { width: 32px; height: 32px; background: var(--shop-card); }

.shop-timeline { list-style: none; margin: 0; padding: 0; }
.shop-timeline li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.shop-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: var(--shop-line);
}
.shop-timeline-dot {
  display: grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 !important;
  border-radius: 50%;
  font-size: 17px !important;
  background: var(--shop-well);
  color: var(--shop-muted);
}
.shop-timeline-success .shop-timeline-dot, .shop-timeline-primary .shop-timeline-dot { background: var(--shop-accent-soft); color: var(--shop-accent-text); }
.shop-timeline-warning .shop-timeline-dot { background: rgba(255, 171, 0, .16); color: #c98a00; }
.shop-timeline-info .shop-timeline-dot { background: rgba(3, 195, 236, .16); color: #0290b0; }
.shop-timeline-danger .shop-timeline-dot { background: rgba(255, 62, 29, .14); color: #e0321a; }
.shop-timeline strong { display: block; color: var(--shop-heading); font-size: 14px; }
.shop-timeline span { display: block; font-size: 13px; }
.shop-timeline time { display: block; font-size: 12px; color: var(--shop-muted); margin-top: 2px; }
.shop-actions-panel { display: flex; flex-direction: column; gap: 10px; }
.shop-actions-panel form { margin: 0; }

/* ---- Account: address & billing cards --------------------------------------------------- */
.shop-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.shop-entity { display: flex; flex-direction: column; border: 1.5px solid transparent; }
.shop-entity.is-default { border-color: var(--shop-accent); }
.shop-entity header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.shop-entity header h2 { display: flex; align-items: center; gap: 8px; flex: 1; margin: 0; font-size: 16px; font-weight: 700; }
.shop-entity header h2 .material-symbols-outlined { color: var(--shop-accent-text); margin: 0; }
.shop-entity-name { margin: 0 0 4px; font-weight: 600; color: var(--shop-heading); }
.shop-entity-lines { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.shop-entity-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13.5px; color: var(--shop-muted); }
.shop-entity-meta .material-symbols-outlined { font-size: 17px; margin: 0; }
.shop-entity-ids { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; font-size: 13px; }
.shop-entity-ids div { display: flex; gap: 6px; }
.shop-entity-ids dt { color: var(--shop-muted); font-weight: 500; }
.shop-entity-ids dd { margin: 0; color: var(--shop-heading); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.shop-entity-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--shop-line); }
.shop-entity-actions form { margin: 0; }
.shop-entity-actions form:last-child { margin-left: auto; }
.shop-entity-actions .btn { display: inline-flex; align-items: center; }

.shop-form-panel { max-width: 900px; }
.shop-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--shop-line); }
.shop-privacy { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: 13px; }
.shop-privacy .material-symbols-outlined { font-size: 18px; color: var(--shop-accent-text); margin: 0; }

.shop-segment { display: inline-flex; padding: 4px; gap: 4px; border-radius: 10px; background: var(--shop-well); }
.shop-segment-option { margin: 0; cursor: pointer; }
.shop-segment-option input { position: absolute; opacity: 0; pointer-events: none; }
.shop-segment-option > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--shop-muted);
  transition: background .15s, color .15s;
}
.shop-segment-option > span .material-symbols-outlined { font-size: 18px; margin: 0; }
.shop-segment-option input:checked + span { background: var(--shop-card); color: var(--shop-heading); box-shadow: 0 1px 4px rgba(22, 22, 22, .12); }
.shop-segment-option input:checked + span .material-symbols-outlined { color: var(--shop-accent-text); }
.shop-segment-option input:focus-visible + span { outline: 2px solid var(--shop-accent); }
[data-billing-form][data-kind="corporate"] .billing-individual,
[data-billing-form][data-kind="individual"] .billing-corporate { display: none; }

.shop-table thead th {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--shop-muted);
  background: transparent;
  border-bottom-color: var(--shop-line);
}
.shop-table td { vertical-align: middle; border-bottom-color: var(--shop-line); color: var(--shop-text); }
.shop-table td strong { color: var(--shop-heading); }
.shop-table tbody tr:last-child td { border-bottom: 0; }
.shop-table .shop-icon-btn { width: 34px; height: 34px; }

.eml-shop .modal-content.eml-shop { padding: 0; }
.eml-shop .form-control:focus,
.eml-shop .form-select:focus,
.modal .eml-shop .form-control:focus { border-color: var(--shop-accent); box-shadow: 0 0 0 3px var(--shop-accent-soft); }

/* ---- Responsive ----------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .shop-hero { grid-template-columns: 1fr; padding: 36px 30px; }
  .shop-hero-showcase { display: none; }
  .shop-pdp { grid-template-columns: 1fr; }
  .shop-pdp-media { max-height: 420px; }
}
@media (max-width: 991.98px) {
  .shop-split, .shop-browse { grid-template-columns: 1fr; }
  .shop-sticky, .shop-filters .shop-panel { position: static; }
  .shop-order-row { grid-template-columns: minmax(0, 1fr) auto; }
  .shop-order-items { grid-column: 1 / -1; order: 3; }
  .shop-order-chevron { display: none; }
  .shop-order-status { justify-self: end; }
  .shop-order-total { grid-column: 2; }
}
@media (max-width: 767.98px) {
  .shop-hero { padding: 28px 22px; border-radius: 14px; }
  .shop-hero-search .btn { padding: 9px 14px; }
  .shop-promo { grid-template-columns: 1fr; text-align: left; }
  .shop-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "thumb qty total"; row-gap: 10px; }
  .shop-line > .shop-line-thumb { grid-area: thumb; width: 64px; height: 64px; }
  .shop-line > .shop-line-info { grid-area: info; }
  .shop-line > .shop-line-qty { grid-area: qty; }
  .shop-line > .shop-line-total { grid-area: total; }
  .shop-line > form[data-shop-remove] { grid-area: remove; justify-self: end; }
  .shop-progress { overflow-x: auto; padding: 16px 10px; }
  .shop-progress li { min-width: 80px; font-size: 12px; }
  .shop-buy-actions { grid-template-columns: 1fr; }
  .shop-steps li { font-size: 0; gap: 0; }
  .shop-steps li > span { font-size: 13px; }
  .shop-order-head-side { align-items: flex-start; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .shop-card-body { padding: 12px; }
  .shop-price { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .eml-shop *, .eml-shop *::before, .eml-shop *::after { animation: none !important; transition: none !important; }
}

/* Header cart badge pulse when the count changes (badge is outside .eml-shop). */
.shop-badge-bump { animation: shop-bump .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes shop-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
