/* Bundled stylesheet - generated from styles-base/panels/categories/catalog/pages. Edit those files, then re-bundle. */

:root {
  color-scheme: light;
  --olive: #587449;
  --sage: #99ad7a;
  --sand: #ded0b3;
  --cream: #fbf7ec;
  --ink: #22311f;
  --ink-soft: #46523a;
  --muted: #686b5d; /* was #737767 (4.30:1 on --cream, fails WCAG AA 4.5:1 for normal text) */
  --surface: #fffdf7;
  --surface-soft: #fffaf0;
  --surface-sage: #eef3e5;
  --line: rgba(87, 111, 68, 0.22);
  --line-strong: rgba(87, 111, 68, 0.34);
  --cyan: #18b9c9;
  --red: #a94435;
  --radius-sm: 8px;
  --radius-md: 13px;
  --radius-lg: 18px;
  --shadow-soft:
    0 1px 2px rgba(55, 66, 45, 0.05),
    0 10px 26px rgba(55, 66, 45, 0.06);
  --shadow-lift:
    0 2px 4px rgba(55, 66, 45, 0.06),
    0 14px 30px rgba(55, 66, 45, 0.1);
  --button-shadow:
    0 1px 2px rgba(55, 66, 45, 0.14),
    0 6px 14px rgba(55, 66, 45, 0.12);
  --font-ui:
    Inter, "SF Pro Text", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Headings/prices/brand moments used to run on Fraunces, a warm editorial
     serif -- but that exact serif-display-plus-sans-UI pairing has become
     the default look of AI website builders, so it read as generic/trendy
     rather than deliberate. One clean professional sans (same family as the
     UI) across the whole site instead -- hierarchy comes from weight/size,
     not a second typeface. Also drops a font file from the network. */
  --font-display: var(--font-ui);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.5;
  font-feature-settings:
    "liga" 1,
    "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

::selection {
  background: rgba(88, 116, 73, 0.22);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

button:active,
.product-link:active,
.load-more:active {
  transform: translateY(1px) scale(0.99);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(88, 116, 73, 0.4);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 40px;
  background: rgba(251, 247, 236, 0.92);
  border-bottom: 1px solid rgba(87, 111, 68, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(55, 66, 45, 0.04);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 760;
  line-height: 1;
}

.brand-mark {
  display: block;
  width: 184px;
  height: 65px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition:
    background 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.nav-links a:hover {
  background: rgba(238, 243, 229, 0.85);
  color: var(--olive);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf0;
  padding: 2px;
}

.lang-switch button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.lang-switch button:hover {
  color: var(--olive);
}

.lang-switch button.active {
  background: var(--olive);
  color: #fffaf0;
}

.shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 46px 40px 52px;
}

body.seo-route .search-band,
body.seo-route .insight-band,
body.seo-route .layout {
  display: none;
}

.seo-crawl-content {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 22px 0 48px;
  padding: 30px;
  background: rgba(255, 252, 245, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.seo-crawl-content h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 790;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.seo-crawl-content h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.seo-crawl-content p,
.seo-crawl-content dl,
.seo-crawl-content ul {
  margin: 0;
}

.seo-crawl-content .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.seo-crawl-content .facts div {
  padding: 14px;
  background: rgba(238, 243, 229, 0.5);
  border: 1px solid rgba(87, 111, 68, 0.14);
  border-radius: var(--radius-sm);
}

.seo-crawl-content dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.seo-crawl-content dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.seo-crawl-content ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.seo-crawl-content a {
  color: var(--olive);
  font-weight: 750;
}

.seo-crawl-content .product-image {
  display: block;
  width: min(100%, 420px);
  max-height: 320px;
  margin-top: 8px;
  object-fit: contain;
  background: white;
  border: 1px solid rgba(87, 111, 68, 0.12);
  border-radius: var(--radius-md);
}

.search-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1fr);
  align-items: end;
  gap: 44px;
  padding: 42px 0 50px;
}

.search-copy {
  min-width: 0;
}

.search-copy h1,
.detail-hero h1 {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 790;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.eyebrow {
  margin: 0;
  color: var(--olive);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 7px;
  background: rgba(255, 252, 245, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms var(--ease-out);
}

.search-field {
  position: relative;
  min-width: 0;
}

.search-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  overflow: hidden;
  display: grid;
  gap: 2px;
  padding: 6px;
  background: rgba(255, 253, 248, 0.99);
  border: 1px solid rgba(87, 111, 68, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 42px rgba(55, 66, 45, 0.14);
  backdrop-filter: blur(14px);
}

.search-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
  cursor: pointer;
}

.search-suggestion:hover,
.search-suggestion.active {
  background: rgba(238, 243, 229, 0.72);
}

.suggestion-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-price {
  color: #566f44;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
  white-space: nowrap;
}

.suggestion-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
}

.suggestion-state {
  padding: 11px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.search-form:focus-within {
  border-color: rgba(87, 116, 73, 0.38);
  background: rgba(255, 252, 245, 0.98);
  box-shadow:
    0 0 0 4px rgba(87, 116, 73, 0.1),
    var(--shadow-soft);
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  min-height: 48px;
  padding: 14px 16px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.search-form input::placeholder {
  color: rgba(70, 82, 58, 0.58);
}

.search-form > button,
.load-more,
.product-link {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--olive);
  color: var(--cream);
  box-shadow: var(--button-shadow);
  font-weight: 760;
}

.search-form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 48px;
  padding: 0 26px;
  font-size: 14px;
}

.search-form > button:hover,
.load-more:hover,
.product-link:hover {
  background: #4e673f;
  box-shadow:
    0 2px 4px rgba(55, 66, 45, 0.14),
    0 10px 20px rgba(55, 66, 45, 0.16);
  transform: translateY(-1px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body:not(.admin-page) main,
  body:not(.admin-page) section,
  body:not(.admin-page) .shell,
  body:not(.admin-page) .topbar {
    max-width: 100%;
  }

  body:not(.admin-page) .topbar {
    width: 100%;
    min-height: auto;
    padding: 12px 16px;
    gap: 10px 12px;
    flex-wrap: wrap;
    align-items: center;
    /* backdrop-filter forces the browser to recomposite everything behind
       this sticky bar on every scroll frame -- a real jank source on
       mid/low-end phones. The background is already 92% opaque, so
       dropping the blur here costs almost nothing visually. */
    backdrop-filter: none;
  }

  body:not(.admin-page) .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  body:not(.admin-page) .brand-mark {
    width: clamp(150px, 42vw, 175px);
    height: 66px;
    max-width: 100%;
  }

  body:not(.admin-page) .nav-links {
    flex: 1 1 auto;
    justify-content: flex-end;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    overflow: visible;
  }

  body:not(.admin-page) .nav-links a {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  body:not(.admin-page) .lang-switch {
    margin-left: 4px;
  }

  body:not(.admin-page) .lang-switch button {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  body:not(.admin-page) .shell {
    width: 100%;
    padding: 26px 16px 36px;
    overflow-x: hidden;
  }

  body:not(.admin-page) .search-band {
    width: 100%;
    max-width: 100%;
    gap: 16px;
    padding: 18px 0 22px;
  }

  /* Tighter, more confident sizing on phones -- the previous clamp let the
     headline wrap to 4 lines on a typical 390px viewport, pushing the
     search box (and everything below it, including the real product grid)
     further down than it needed to be. */
  body:not(.admin-page) .search-copy h1,
  body:not(.admin-page) .detail-hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(26px, 7.4vw, 40px);
    line-height: 1.14;
  }

  body:not(.admin-page) .eyebrow {
    font-size: 10px;
  }

  body:not(.admin-page) .search-form {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(76px, 92px);
    gap: 6px;
    padding: 6px;
    box-sizing: border-box;
  }

  body:not(.admin-page) .search-form input {
    min-width: 0;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 14px;
  }

  body:not(.admin-page) .search-form > button {
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  body:not(.admin-page) .topbar {
    align-items: flex-start;
  }

  body:not(.admin-page) .nav-links {
    flex-basis: 100%;
    justify-content: space-between;
  }

  body:not(.admin-page) .nav-links a {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 380px) {
  body:not(.admin-page) .topbar {
    padding: 10px 12px;
  }

  body:not(.admin-page) .brand-mark {
    width: 148px;
    height: 56px;
  }

  body:not(.admin-page) .shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  body:not(.admin-page) .search-form {
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 5px;
    padding: 5px;
  }

  body:not(.admin-page) .search-form input {
    padding-left: 10px;
    padding-right: 8px;
    font-size: 13px;
  }

  body:not(.admin-page) .search-form > button {
    padding: 0 8px;
    font-size: 12px;
  }
}

.insight-band {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  margin: 2px 0 42px;
}

.metric-strip,
.featured-block,
.filters,
.product-card,
.toolbar,
.offer-row,
.detail-image {
  background: rgba(255, 252, 245, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.metric-strip {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 1px;
  overflow: hidden;
  background: rgba(87, 111, 68, 0.18);
}

.metric-strip div {
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 116px;
  align-content: center;
  padding: 24px;
  background: rgba(255, 252, 245, 0.94);
}

.metric-strip span {
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.metric-strip small,
.featured-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.featured-block {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
}

.section-title h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.featured-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.featured-card {
  display: grid;
  gap: 9px;
  min-height: 104px;
  padding: 17px;
  background: rgba(255, 252, 245, 0.9);
  border: 1px solid rgba(87, 111, 68, 0.18);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 18px rgba(55, 66, 45, 0.05);
  transition:
    transform 180ms var(--ease-out),
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.featured-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 252, 245, 0.98);
  border-color: rgba(87, 111, 68, 0.34);
  box-shadow: 0 16px 30px rgba(55, 66, 45, 0.09);
}

.featured-card span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.featured-card strong {
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.layout {
  display: grid;
  gap: 26px;
  align-items: start;
  scroll-margin-top: 110px;
}

.filters {
  position: sticky;
  top: 78px;
  z-index: 8;
  padding: 18px;
  backdrop-filter: blur(16px);
}

.category-dock {
  display: grid;
  gap: 16px;
}

.filter-head,
.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-head h2,
.results-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffaf0;
  color: var(--olive);
  box-shadow: 0 8px 18px rgba(55, 66, 45, 0.06);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
}

.ghost-button:hover {
  border-color: var(--line-strong);
  background: rgba(238, 243, 229, 0.76);
  box-shadow: 0 12px 22px rgba(55, 66, 45, 0.1);
  transform: translateY(-1px);
}

.category-count,
.result-count,
.category-badge,
.store-badge {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.results {
  min-width: 0;
}

.results-head {
  margin-bottom: 18px;
}

.result-count {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.88);
}

.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  padding: 14px;
}

.toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.toolbar select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffaf0;
  color: var(--ink);
  padding: 0 10px;
  font-weight: 600;
}

.toggle-row {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(238, 243, 229, 0.68);
  transition:
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.price-range-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.price-range-filter > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-range-filter input {
  width: 76px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffaf0;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  font-weight: 600;
}

.price-range-filter button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(238, 243, 229, 0.68);
  color: var(--accent, #587449);
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.price-range-filter button:hover {
  background: rgba(238, 243, 229, 1);
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 22px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  transition:
    background 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.brand-chip em {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.brand-chip:hover {
  border-color: var(--accent, #587449);
}

.brand-chip.active {
  background: var(--accent, #587449);
  border-color: var(--accent, #587449);
  color: #fffaf0;
}

.brand-chip.active em {
  color: rgba(255, 250, 240, 0.75);
}

.recent-views-strip {
  margin-bottom: 24px;
}

.recent-views-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.recent-view-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 13px);
  background: rgba(255, 252, 245, 0.86);
  padding: 10px;
  text-decoration: none;
  color: var(--ink);
  transition:
    border-color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.recent-view-card:hover {
  border-color: var(--accent, #587449);
  transform: translateY(-1px);
}

.recent-view-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
}

.recent-view-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recent-view-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.recent-view-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
}

.recent-view-price {
  color: var(--accent, #587449);
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.toggle-row:hover {
  border-color: var(--line-strong);
  background: rgba(238, 243, 229, 0.9);
}

.toggle-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--olive);
}

@media (max-width: 768px) {
  .insight-band,
  .layout,
  .results,
  .filters,
  .toolbar,
  .featured-block,
  .metric-strip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .insight-band,
  .layout {
    gap: 14px;
  }

  /* Desktop's 42px bottom margin was meant to separate two side-by-side
     panels from the category hub below; stacked on a phone that same gap
     just adds dead scroll distance before any real products appear. */
  .insight-band {
    margin: 0 0 20px;
  }

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

  .metric-strip div {
    min-width: 0;
    min-height: 76px;
    padding: 12px 10px;
  }

  .metric-strip span {
    font-size: 21px;
  }

  .metric-strip small,
  .featured-card small {
    font-size: 10px;
    line-height: 1.25;
  }

  .featured-block {
    gap: 14px;
    padding: 16px;
  }

  .featured-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .featured-card {
    min-height: 92px;
    padding: 12px;
  }

  .featured-card span {
    font-size: 12px;
  }

  .featured-card strong {
    font-size: 15px;
  }

  .filters {
    padding: 14px;
    overflow: hidden;
  }

  .recent-views-strip {
    margin-bottom: 16px;
  }

  .recent-views-row {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .filter-head,
  .results-head {
    min-width: 0;
  }

  .filter-head h2,
  .results-head h2 {
    font-size: 20px;
  }

  .result-count {
    min-width: 0;
    white-space: nowrap;
  }

  .toolbar {
    gap: 10px;
    padding: 12px;
  }

  .toolbar label {
    min-width: 0;
  }

  .toolbar select {
    max-width: 100%;
  }
}

/* Below 640px the toolbar's four controls (sort, offer count, price range,
   multi-store toggle) no longer fit comfortably side by side -- selects
   sized to their longest option text and the price-range row's Min/Max/
   Uygula trio would overflow the sticky filter panel's `overflow: hidden`
   and get silently clipped (the "Uygula" button disappearing off-screen).
   Stack every control to full width instead, one per row, so nothing is
   ever cropped and each control gets a comfortable touch target. */
@media (max-width: 640px) {
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .toolbar label {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .toolbar select {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
  }

  .price-range-filter {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px 10px;
  }

  .price-range-filter > div {
    flex: 1 1 100%;
    flex-wrap: wrap;
    min-width: 0;
    gap: 8px;
  }

  .price-range-filter input {
    flex: 1 1 88px;
    width: auto;
    min-width: 0;
    min-height: 42px;
  }

  .price-range-filter button {
    flex: 1 1 auto;
    min-height: 42px;
  }

  .toggle-row {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
  }

  .brand-chips {
    margin-top: 0;
  }

  .brand-chip {
    min-height: 38px;
  }
}

@media (max-width: 380px) {
  .metric-strip div {
    min-height: 76px;
    padding: 12px 8px;
  }

  .metric-strip span {
    font-size: 18px;
  }

  .featured-block,
  .filters,
  .toolbar {
    padding: 12px;
  }

  .featured-list {
    gap: 8px;
  }
}

.category-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--olive);
  color: var(--cream);
  box-shadow: var(--button-shadow);
  padding: 10px 17px;
  font-size: 14px;
  font-weight: 750;
}

.category-menu-trigger:hover,
.category-menu-trigger.active {
  background: #4e673f;
  box-shadow: 0 16px 34px rgba(55, 66, 45, 0.18);
  transform: translateY(-1px);
}

.mega-category-menu {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  max-height: min(720px, calc(100vh - 170px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 245, 0.96);
  box-shadow: var(--shadow-soft);
  animation: menu-in 180ms var(--ease-out);
  scrollbar-gutter: stable;
}

.mega-category-menu[hidden] {
  display: none;
}

.mega-category-main,
.category-list {
  display: grid;
  align-content: start;
  min-height: 0;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.9);
}

.category-button {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid rgba(87, 111, 68, 0.14);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px 16px;
  text-align: left;
  box-shadow: none;
  transition:
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.category-button:hover,
.category-button.active {
  background: rgba(238, 243, 229, 0.72);
  transform: none;
}

.category-button.active {
  color: var(--olive);
  background: rgba(238, 243, 229, 0.86);
  box-shadow: inset 4px 0 0 rgba(84, 107, 65, 0.82);
}

.category-main-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(153, 173, 122, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 245, 0.92);
  color: var(--olive);
  font-size: 19px;
  font-weight: 750;
  overflow: hidden;
  pointer-events: none;
}

.category-main-icon img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.category-main-icon img.is-loaded {
  opacity: 1;
}

.category-main-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.category-main-copy span:first-child {
  min-width: 0;
  font-weight: 700;
  line-height: 1.16;
}

.category-button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.25;
}

.category-button::before {
  content: none;
}

.category-button.active::before {
  background: var(--olive);
}

.mega-category-detail {
  min-width: 0;
  min-height: 0;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  background: rgba(255, 252, 245, 0.96);
}

.mega-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.mega-detail-head h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.mega-detail-head p:not(.eyebrow) {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.category-total {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(238, 243, 229, 0.76);
  color: var(--olive);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
}

.category-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  justify-content: start;
}

.category-group-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 245, 0.9);
  padding: 14px;
  box-shadow: 0 8px 18px rgba(55, 66, 45, 0.05);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.category-group-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.category-card-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 74px;
  aspect-ratio: auto;
  border: 1px solid rgba(153, 173, 122, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(238, 243, 229, 0.72);
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 760;
  overflow: hidden;
  pointer-events: none;
}

.category-card-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.category-card-visual img.is-loaded {
  opacity: 1;
}

/* Icon-glyph tiles (subcategories with no distinct product photo, e.g.
   Bilgisayar Parçaları, Oyun Konsolları) get their own deliberate look --
   a soft sage gradient and a larger glyph -- rather than reading as an
   empty/broken image placeholder next to the photographic cards. */
.category-card-visual.is-icon {
  background: linear-gradient(160deg, rgba(153, 173, 122, 0.28), rgba(238, 243, 229, 0.85));
  font-size: 30px;
  font-weight: 500;
}

.category-card-content {
  min-width: 0;
  padding: 0;
}

.category-group-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.22;
}

.category-group-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.subcategory-list {
  display: grid;
  gap: 7px;
  grid-column: 2;
}

.subcategory-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.subcategory-button span:first-child {
  min-width: 0;
  line-height: 1.25;
}

.subcategory-button .category-count {
  padding-top: 1px;
}

.subcategory-button:hover,
.subcategory-button.active {
  border-color: transparent;
  background: transparent;
  color: var(--olive);
  transform: none;
}

.category-card-all {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--olive);
  padding: 0;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.category-card-all:hover {
  color: var(--ink);
  transform: none;
}

.category-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  padding: 18px;
  font-size: 13px;
  font-weight: 650;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .mega-category-menu {
    grid-template-columns: 1fr;
    max-height: min(780px, calc(100vh - 145px));
  }

  .category-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-category-main,
  .category-list {
    max-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .filter-head {
    min-width: 0;
    align-items: stretch;
    flex-direction: column;
  }

  .category-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-width: 0;
  }

  .category-menu-trigger {
    min-width: 0;
    justify-content: center;
  }

  .mega-category-menu,
  .mega-category-main,
  .mega-category-detail,
  .category-group-card,
  .subcategory-list,
  .category-card-all {
    max-width: 100%;
    min-width: 0;
  }

  .mega-category-menu {
    max-height: calc(100vh - 118px);
  }

  .mega-category-detail {
    padding: 14px;
  }

  .category-group-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px;
  }

  .category-group-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-card-visual {
    width: 72px;
    height: 56px;
  }

  .subcategory-list,
  .category-card-all {
    grid-column: 1 / -1;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 188px auto;
  min-width: 0;
  overflow: hidden;
  transition:
    transform 190ms var(--ease-out),
    box-shadow 190ms var(--ease-out),
    border-color 190ms var(--ease-out);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.favorite-toggle {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(87, 111, 68, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(55, 66, 45, 0.14);
  transition:
    transform 160ms var(--ease-out),
    color 160ms var(--ease-out),
    border-color 160ms var(--ease-out);
}

.favorite-toggle:hover {
  transform: scale(1.08);
  border-color: var(--line-strong);
}

.favorite-toggle[aria-pressed="true"] {
  color: var(--red);
  border-color: rgba(169, 68, 53, 0.35);
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: #fffaf0;
  border-bottom: 1px solid rgba(87, 111, 68, 0.16);
}

.product-image::before,
.detail-image::before,
.category-card-visual::before,
.category-main-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.58) 48%, transparent 58%),
    linear-gradient(135deg, rgba(238, 243, 229, 0.68), rgba(255, 252, 245, 0.88));
  background-size: 220% 100%, 100% 100%;
  animation: image-placeholder 1.3s ease-in-out infinite;
  opacity: 1;
  transition: opacity 180ms var(--ease-out);
}

.product-image:has(img.is-loaded)::before,
.detail-image:has(img.is-loaded)::before,
.category-card-visual:has(img.is-loaded)::before,
.category-main-icon:has(img.is-loaded)::before {
  opacity: 0;
}

.product-image img {
  position: absolute;
  z-index: 1;
  width: min(82%, 218px);
  height: 138px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: scale(1.01);
  transition:
    opacity 180ms var(--ease-out),
    transform 190ms var(--ease-out);
}

.product-image img.is-loaded {
  opacity: 1;
}

.product-image img.is-broken {
  display: none;
}

.product-image .category-badge {
  position: relative;
  z-index: 1;
}

.detail-image .category-badge {
  position: relative;
  z-index: 1;
  max-width: 80%;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-body {
  display: grid;
  gap: 15px;
  min-width: 0;
  padding: 20px;
}

.product-meta,
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-badge,
.category-badge {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-badge {
  color: rgba(84, 107, 65, 0.84);
}

.category-badge {
  max-width: 62%;
}

.product-title {
  min-height: 44px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.38;
  letter-spacing: 0;
}

.product-title a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price {
  min-width: 0;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.offer-pill {
  flex: 0 0 auto;
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
}

.drop-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(87, 116, 73, 0.14);
  color: var(--accent, #587449);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cheapest-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(87, 116, 73, 0.14);
  color: var(--accent, #587449);
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.offer-row.is-cheapest {
  border-color: rgba(87, 116, 73, 0.42);
  background: rgba(238, 243, 229, 0.5);
}

.similar-products {
  grid-column: 1 / -1;
  margin-top: 28px;
}

.similar-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  font-size: 13px;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms var(--ease-out);
}

.load-more {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  font-size: 14px;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms var(--ease-out);
}

.skeleton-card {
  cursor: default;
}

.skeleton-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.58) 48%, transparent 58%),
    linear-gradient(135deg, rgba(238, 243, 229, 0.68), rgba(255, 252, 245, 0.88));
  background-size: 220% 100%, 100% 100%;
  animation: image-placeholder 1.3s ease-in-out infinite;
}

.skeleton-line--tag {
  width: 40%;
  height: 10px;
}

.skeleton-line--title {
  width: 92%;
  height: 15px;
}

.skeleton-line--title-short {
  width: 58%;
  height: 15px;
}

.skeleton-line--price {
  width: 44%;
  height: 22px;
  margin-top: 6px;
}

.empty-state {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 46px;
  background: rgba(255, 252, 245, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
}

.empty-state-title {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  font-size: 15px;
}

.empty-state-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-state #empty-state-clear {
  margin-top: 6px;
}

.detail-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.detail-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.detail-summary strong {
  color: var(--olive);
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
}

.favorite-toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffaf0;
  color: var(--olive);
  box-shadow: 0 8px 18px rgba(55, 66, 45, 0.06);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  transition:
    border-color 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.favorite-toggle-inline:hover {
  border-color: var(--line-strong);
  background: rgba(238, 243, 229, 0.76);
}

.favorite-toggle-inline span:first-child {
  font-size: 16px;
}

.favorite-toggle-inline[aria-pressed="true"] {
  color: var(--red);
  border-color: rgba(169, 68, 53, 0.35);
}

.detail-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  overflow: hidden;
  background: rgba(255, 252, 245, 0.9);
}

.detail-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 290px;
  object-fit: contain;
  padding: 24px;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.detail-image img.is-loaded {
  opacity: 1;
}

.detail-image img.is-broken {
  display: none;
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--olive);
  font-size: 14px;
  font-weight: 750;
}

.detail-layout {
  grid-template-columns: 1fr;
}

.offer-list {
  display: grid;
  gap: 16px;
}

.price-history-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 245, 0.86);
  box-shadow: var(--shadow-soft);
}

.price-history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.price-history-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.price-history-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.price-history-legend strong {
  color: var(--olive);
  font-weight: 800;
}

.price-history-legend span {
  color: var(--muted);
  font-weight: 550;
}

.price-history-panel svg {
  display: block;
  width: 100%;
  height: 190px;
  overflow: visible;
}

.price-chart-grid-line {
  stroke: var(--line);
  stroke-width: 1;
}

.price-chart-grid-label {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.price-chart-x-label {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.price-chart-line {
  stroke: var(--olive);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.price-chart-dot {
  fill: var(--olive);
  stroke: rgba(255, 253, 248, 0.95);
  stroke-width: 1;
}

.price-history-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.detail-price-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(238, 243, 229, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-price-note span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid rgba(75, 91, 58, 0.24);
  border-radius: 50%;
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
}

.detail-price-note p {
  margin: 0;
}

@keyframes image-placeholder {
  from {
    background-position: 160% 0, 0 0;
  }

  to {
    background-position: -60% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-image::before,
  .detail-image::before,
  .category-card-visual::before,
  .category-main-icon::before,
  .skeleton-line {
    animation: none;
  }
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 150px;
  align-items: center;
  gap: 18px;
  padding: 20px;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.offer-row:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.offer-row strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.offer-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.offer-price {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.offer-price span:first-child {
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.offer-checked {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

.sale {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .insight-band,
  .featured-block {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .featured-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .search-band,
  .layout,
  .offer-row {
    grid-template-columns: 1fr;
  }

  .offer-price {
    justify-items: start;
  }

  .offer-checked {
    text-align: left;
  }

  .offer-row {
    gap: 12px;
    padding: 16px;
  }

  .offer-row .product-link {
    width: 100%;
  }

  .detail-price-note {
    gap: 10px;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .filters {
    position: static;
  }

  .favorite-toggle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .topbar,
  .shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    min-height: 78px;
  }

  .brand {
    gap: 0;
    font-size: 18px;
  }

  .brand-mark {
    width: 168px;
    height: 60px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 8px;
    font-size: 13px;
  }

  .search-copy h1,
  .detail-hero h1 {
    font-size: 32px;
    line-height: 1.07;
  }

  .search-form,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .search-form > button {
    min-height: 46px;
  }

  .detail-summary {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .product-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(136px, 1fr));
    gap: 12px 10px;
  }

  .product-card {
    grid-template-rows: 118px auto;
    min-width: 0;
    border-radius: 16px;
  }

  .product-image img {
    width: min(88%, 128px);
    height: 94px;
    transform: none;
  }

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

  .product-body {
    gap: 10px;
    padding: 12px;
  }

  .product-meta,
  .price-row {
    min-width: 0;
    gap: 6px;
  }

  .category-badge {
    max-width: 54%;
  }

  .product-title {
    min-height: 38px;
    font-size: 13px;
    line-height: 1.22;
  }

  .price {
    font-size: 16px;
    line-height: 1.08;
  }

  .offer-pill {
    font-size: 10px;
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
  }

  .store-badge,
  .category-badge {
    font-size: 10px;
    line-height: 1.2;
  }

  .product-link {
    width: 100%;
    min-height: 38px;
    max-width: 100%;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .load-more {
    min-height: 44px;
    margin-top: 18px;
  }

  .detail-image {
    min-height: 220px;
  }

  .detail-image img {
    height: 210px;
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .search-form {
    grid-template-columns: minmax(0, 1fr) minmax(76px, 92px);
  }

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

  /* Was forced to a single column earlier in this file, which stacked all 3
     "en cok teklif olanlar" cards full-height one under another -- one of
     the biggest contributors to how far a phone visitor had to scroll
     before reaching the real product grid. Two columns halves that. */
  .featured-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .featured-card {
    min-height: 88px;
    padding: 12px;
  }

  .featured-card span {
    font-size: 12px;
  }

  .featured-card strong {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card {
    grid-template-rows: 98px auto;
    border-radius: 14px;
  }

  .product-image img {
    width: min(90%, 105px);
    height: 80px;
  }

  .product-body {
    gap: 8px;
    padding: 10px 9px;
  }

  .product-title {
    min-height: 34px;
    font-size: 12px;
  }

  .price {
    font-size: 15px;
  }

  .offer-pill {
    font-size: 9px;
  }

  .store-badge,
  .category-badge {
    font-size: 9px;
  }

  .product-link {
    min-height: 34px;
    font-size: 11px;
  }
}

.content-page {
  display: grid;
  gap: 22px;
  padding: 34px 0 12px;
}

.content-hero {
  max-width: 860px;
}

.content-hero h1 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.content-hero p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.content-card,
.legal-note,
.site-footer {
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.content-card {
  display: grid;
  gap: 11px;
  padding: 22px;
}

.content-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.content-card p,
.content-card li {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}

.content-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 13px;
  background: linear-gradient(180deg, #60784a 0%, var(--olive) 100%);
  color: var(--cream);
  box-shadow: var(--button-shadow);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 760;
}

.content-button:hover {
  background: linear-gradient(180deg, #6f8756 0%, #4b6239 100%);
  box-shadow: 0 16px 34px rgba(84, 107, 65, 0.28);
  transform: translateY(-1px);
}

.merchant-page {
  display: grid;
  gap: 24px;
  padding: 34px 0 12px;
}

.merchant-hero,
.merchant-application {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: 22px;
}

.merchant-hero h1,
.merchant-application h2,
.merchant-section h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.merchant-hero h1 {
  max-width: 860px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.04;
}

.merchant-hero p,
.merchant-application p,
.merchant-card p,
.merchant-step p {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}

.merchant-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 17px;
}

.merchant-early-note,
.merchant-card,
.merchant-step,
.merchant-application,
.merchant-responsibility {
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.merchant-early-note {
  padding: 20px;
  background: rgba(238, 243, 229, 0.72);
  border-color: rgba(153, 173, 122, 0.4);
}

.merchant-early-note strong {
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.merchant-early-note p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.merchant-section {
  display: grid;
  gap: 14px;
}

.merchant-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.merchant-card {
  padding: 20px;
}

.merchant-card h2,
.merchant-step h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.merchant-card p,
.merchant-step p {
  margin: 8px 0 0;
  font-size: 14px;
}

.merchant-step-grid {
  display: grid;
  gap: 12px;
}

.merchant-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.merchant-step > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-sage);
  color: var(--olive);
  font-weight: 850;
}

.merchant-application {
  padding: 24px;
  scroll-margin-top: 120px;
}

.merchant-application h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.merchant-form {
  display: grid;
  gap: 14px;
}

.merchant-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.merchant-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.merchant-form input,
.merchant-form select,
.merchant-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(220, 204, 172, 0.82);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.merchant-form textarea {
  min-height: 112px;
  resize: vertical;
}

.merchant-form-note,
.merchant-form-message,
.merchant-responsibility {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.merchant-form-note {
  margin: 0;
}

.merchant-form-message {
  border: 1px solid rgba(153, 173, 122, 0.38);
  border-radius: 14px;
  background: rgba(238, 243, 229, 0.66);
  padding: 12px;
}

.merchant-form-message.error {
  border-color: rgba(169, 68, 53, 0.28);
  background: rgba(247, 237, 220, 0.88);
  color: var(--red);
}

.merchant-form-message ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.merchant-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.merchant-responsibility {
  margin: 0;
  padding: 14px 16px;
}

.legal-note {
  color: var(--muted);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.site-footer {
  width: min(1460px, calc(100% - 68px));
  margin: 0 auto 34px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
}

.footer-brand {
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
}

.footer-inner p {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms var(--ease-out);
}

.footer-links a:hover {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.category-page-sections {
  display: grid;
  gap: 32px;
}

.category-page-loading {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.category-page-section {
  display: grid;
  gap: 16px;
}

.category-page-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.category-page-section-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid rgba(153, 173, 122, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(238, 243, 229, 0.72);
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 760;
  overflow: hidden;
}

.category-page-section-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-page-section-icon.is-icon {
  background: linear-gradient(160deg, rgba(153, 173, 122, 0.28), rgba(238, 243, 229, 0.85));
  font-size: 26px;
}

.category-page-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
}

.category-page-section-head p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.category-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.category-page-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 245, 0.9);
  padding: 12px;
  box-shadow: 0 8px 18px rgba(55, 66, 45, 0.05);
  text-decoration: none;
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.category-page-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.category-page-card-visual {
  display: grid;
  place-items: center;
  width: 56px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(153, 173, 122, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(238, 243, 229, 0.72);
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 760;
  overflow: hidden;
}

.category-page-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-page-card-visual.is-icon {
  background: linear-gradient(160deg, rgba(153, 173, 122, 0.28), rgba(238, 243, 229, 0.85));
  font-size: 20px;
}

.category-page-card-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.category-page-card-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
}

.category-page-card-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .content-hero h1 {
    font-size: 36px;
  }

  .category-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .merchant-hero,
  .merchant-application,
  .merchant-form-grid {
    grid-template-columns: 1fr;
  }

  .merchant-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer {
    width: calc(100% - 32px);
    margin-bottom: 16px;
  }

  .content-hero h1 {
    font-size: 32px;
  }

  .category-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .merchant-hero h1 {
    font-size: 34px;
  }

  .merchant-card-grid {
    grid-template-columns: 1fr;
  }

  .merchant-application {
    padding: 18px;
  }
}
