/* The Champ Clothing — Wholesale Catalog
 * Luxe-but-simple design system. Warm cream + ink + subtle gold accent.
 * Mobile-first. No frameworks.
 */

:root {
  /* Palette */
  --bg:        #f6f1e8;
  --bg-soft:   #efe6d6;
  --surface:   #ffffff;
  --ink:       #1a1410;
  --ink-2:     #3d342c;
  --muted:     #7a6e60;
  --line:      #e3d9c5;
  --line-strong:#cbbe9f;
  --gold:      #b08a3e;
  --gold-soft: #d8b66a;
  --wa:        #25d366;
  --wa-dk:     #1ebe5d;
  --tg:        #2aabee;
  --tg-dk:     #1f95d1;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(26,20,16,.04), 0 1px 3px rgba(26,20,16,.06);
  --shadow-md: 0 4px 12px rgba(26,20,16,.07), 0 2px 6px rgba(26,20,16,.05);
  --shadow-lg: 0 24px 60px rgba(26,20,16,.20), 0 6px 18px rgba(26,20,16,.10);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 60px;
}
body.modal-open { overflow: hidden; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 0;
}
.brand__logo-wrap {
  width: 134px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(176,138,62,.18);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.brand__wordmark {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.brand__text strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .005em;
  white-space: nowrap;
}
.brand__text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 3px;
}

.topbar__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: var(--shadow-sm);
}
.icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.icon-btn--lang {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  min-width: 56px;
  justify-content: center;
}
.icon-btn--ig {
  background: #fff;
  color: #d2397d;
  border-color: rgba(210,57,125,.18);
}
.icon-btn--wa { background: var(--wa); color: #fff; }
.icon-btn--wa:hover { background: var(--wa-dk); }
.icon-btn--tg { background: var(--tg); color: #fff; }
.icon-btn--tg:hover { background: var(--tg-dk); }

/* Search */
.search { max-width: var(--maxw); margin: 0 auto; padding: 4px 18px 10px; position: relative; }
.search__icon {
  position: absolute; left: 32px; top: 50%;
  transform: translateY(-30%);
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 44px 12px 44px;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-sm);
}
.search input::placeholder { color: var(--muted); }
.search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,138,62,.15);
}
.search__clear {
  position: absolute; right: 28px; top: 50%;
  transform: translateY(-30%);
  background: var(--ink-2);
  color: #fff;
  border: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  display: grid; place-items: center;
}

/* Pills */
.pills {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px 10px;
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.pills--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.pills--scroll::-webkit-scrollbar { display: none; }
.pill {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pill:hover { background: var(--bg-soft); }
.pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Toolbar */
.toolbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.toolbar__meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
}
.sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  box-shadow: var(--shadow-sm);
}
.sort__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sort__select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 6px 28px 6px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: start;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%237a6e60' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: none;
}

/* Grid */
.grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 14px 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 12px 18px 40px; } }
@media (min-width: 920px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(5, 1fr); } }

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  min-width: 0;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card__imgwrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  overflow: hidden;
}
.card__imgwrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__imgwrap img { transform: scale(1.04); }

.card__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__best {
  position: absolute;
  top: 10px; right: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(176,138,62,.35);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.card__code {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
}
.card__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.card__cat { font-size: 12px; color: var(--muted); }
.card__colors {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.card__swatches { display: inline-flex; gap: 3px; }
.card__swatch {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  flex: 0 0 auto;
}
.card__swatch--count {
  width: auto;
  min-width: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--muted);
  font-size: 9px;
}
.card__price {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-style: italic;
  font-family: var(--serif);
  letter-spacing: .01em;
}
.card__btn {
  margin-top: 10px;
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .15s ease;
}
.card__btn:hover { background: #000; }

/* Empty */
.empty {
  max-width: 480px;
  margin: 40px auto;
  text-align: center;
  padding: 30px 20px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}
.empty p { margin: 6px 0; color: var(--muted); }
.empty strong { color: var(--ink); }
.btn {
  margin-top: 12px;
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
}

/* Footer */
.footer {
  max-width: var(--maxw);
  margin: 30px auto 0;
  padding: 30px 18px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.footer__fine {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.footer__social {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  transition: border-color .15s ease, color .15s ease;
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(20,15,10,.55);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  background: var(--surface);
  width: min(100%, 1080px);
  max-height: 96vh;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (min-width: 720px) {
  .modal__dialog { border-radius: var(--r-xl); max-height: 92vh; }
}
.modal__close {
  position: absolute;
  top: 10px; right: 12px;
  z-index: 4;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: grid; place-items: center;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.modal__content {
  display: grid;
  grid-template-columns: 1fr;
  overflow: auto;
  min-height: 0;
  min-width: 0;
}
@media (min-width: 800px) {
  .modal__content { grid-template-columns: 1.05fr 1fr; }
}

/* Gallery */
.gallery {
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gallery__main {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background: var(--bg-soft);
  overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  min-width: 0;
}
.gallery__thumbs img {
  width: 64px; height: 80px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  opacity: .8;
  transition: opacity .15s, border-color .15s;
}
.gallery__thumbs img:hover { opacity: 1; }
.gallery__thumbs img.is-active { opacity: 1; border-color: var(--ink); }

/* Detail panel */
.detail {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
}
@media (min-width: 800px) {
  .detail { padding: 30px 30px 30px; max-height: 92vh; overflow-y: auto; }
}
.detail__head { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
}
.tag--muted {
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.tag--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(176,138,62,.35);
}
.detail__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.005em;
  margin: 12px 0 4px;
  color: var(--ink);
}
.detail__price {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .01em;
}

/* Variant switcher */
.variant-block {
  margin: 4px 0 18px;
  padding: 14px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.variant-block__label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.variant-block__label span {
  color: var(--ink);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.variant-block__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
}
.variant-pill:hover { border-color: var(--gold); }
.variant-pill.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.variant-pill__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.18);
  display: inline-block;
}

/* Specs */
.specs {
  margin: 4px 0 16px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.specs__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.specs__row dt {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}
.specs__row dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}

.bullets {
  list-style: none;
  margin: 10px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bullets li {
  position: relative;
  padding: 12px 14px 12px 38px;
  font-size: 13.5px;
  color: var(--ink-2);
  border: 1px solid rgba(176,138,62,.18);
  background: linear-gradient(180deg, #fff 0%, #f9f4ea 100%);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #d8b66a 0%, #b08a3e 72%);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(176,138,62,.10);
}

/* CTA */
.detail__cta { display: grid; gap: 10px; }
.backtop {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  z-index: 70;
  font-size: 22px;
}

.language-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
}
.language-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,15,10,.52);
  backdrop-filter: blur(6px);
}
.language-modal__dialog {
  position: relative;
  width: min(560px, calc(100vw - 28px));
  background: linear-gradient(180deg, #f5ecd8 0%, #fff 48%);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(176,138,62,.18);
}
.language-modal__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.language-modal__dialog h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.05;
}
.language-modal__dialog p {
  margin: 0 0 18px;
  color: var(--ink-2);
}
.language-modal__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.language-option {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.84);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
}
.language-option:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
[dir="rtl"] {
  text-align: right;
}
[dir="rtl"] .topbar__inner,
[dir="rtl"] .toolbar,
[dir="rtl"] .sort,
[dir="rtl"] .detail__head,
[dir="rtl"] .card__colors,
[dir="rtl"] .pills,
[dir="rtl"] .pills--scroll,
[dir="rtl"] .footer__social,
[dir="rtl"] .variant-block__pills,
[dir="rtl"] .language-modal__options {
  direction: rtl;
}
[dir="rtl"] .sort__select {
  background-position: left 10px center;
  padding: 6px 8px 6px 28px;
  text-align: right;
}
[dir="rtl"] .search__icon {
  left: auto;
  right: 32px;
}
[dir="rtl"] .search input {
  padding: 12px 44px 12px 44px;
  text-align: right;
}
[dir="rtl"] .search__clear {
  right: auto;
  left: 28px;
}
[dir="rtl"] .specs__row {
  grid-template-columns: 1fr 130px;
}
[dir="rtl"] .specs__row dt,
[dir="rtl"] .specs__row dd {
  text-align: right;
}
[dir="rtl"] .bullets li {
  padding-left: 0;
  padding-right: 38px;
}
[dir="rtl"] .bullets li::before {
  left: auto;
  right: 14px;
}
[dir="rtl"] .language-option {
  text-align: right;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta-btn--wa { background: var(--wa); color: #fff; }
.cta-btn--wa:hover { background: var(--wa-dk); }
.cta-btn--tg { background: var(--tg); color: #fff; }
.cta-btn--tg:hover { background: var(--tg-dk); }

/* Mobile tweaks */
@media (max-width: 540px) {
  .topbar__inner { padding: 12px 14px 6px; }
  .brand { gap: 0; }
  .brand__logo-wrap {
    width: 138px;
    height: 40px;
    border-radius: 12px;
  }
  .brand__wordmark {
    font-size: 17px;
  }
  .brand__text { display: none; }
  .topbar__actions { width: auto; justify-content: flex-end; gap: 7px; }
  .icon-btn span { display: none; }
  .icon-btn--lang span { display: inline; }
  .icon-btn { padding: 8px; }
  .icon-btn--lang { min-width: 50px; }
  .search { padding: 4px 14px 8px; }
  .search__icon { left: 28px; }
  .search__clear { right: 24px; }
  .search input {
    font-size: 13px;
    padding-left: 40px;
    padding-right: 38px;
  }
  .pills { padding: 0 14px 8px; }
  .pills--scroll { padding-bottom: 10px; }
  .toolbar { padding: 12px 14px 6px; }
  .grid { padding: 6px 10px 30px; gap: 10px; }
  .card__name { font-size: 14.5px; }
  .card__body { padding: 10px 10px 12px; }
  .modal__dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    overflow: hidden;
  }
  .modal__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .gallery {
    min-height: 0;
    background: var(--surface);
    flex: 0 0 auto;
  }
  .gallery__main {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    background: var(--bg-soft);
    display: block;
  }
  .gallery__main img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .gallery__thumbs {
    padding: 8px 10px 10px;
    gap: 6px;
    background: var(--surface);
    border-top: 1px solid var(--line);
  }
  .gallery__thumbs img {
    width: 56px;
    height: 70px;
  }
  .detail {
    padding: 16px 16px 28px;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .detail__head { margin-top: 2px; }
  .detail__name { font-size: 22px; }
  .specs__row {
    grid-template-columns: minmax(98px, 110px) minmax(0, 1fr);
    gap: 8px;
  }
  .variant-block {
    padding: 12px;
    overflow: hidden;
  }
  .variant-block__pills {
    gap: 6px;
  }
  .variant-pill {
    max-width: 100%;
    min-width: 0;
    padding-right: 10px;
  }
  .variant-pill span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .detail__cta {
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 22%);
    padding-top: 10px;
  }
  .cta-btn {
    width: 100%;
    min-width: 0;
  }
  .bullets li {
    padding: 11px 12px 11px 34px;
    font-size: 13px;
  }
  .bullets li::before {
    left: 12px;
    width: 10px;
    height: 10px;
  }
  .language-modal__dialog {
    width: calc(100vw - 20px);
    padding: 22px;
    border-radius: 18px;
  }
  .language-modal__dialog h2 { font-size: 28px; }
  .language-modal__options { grid-template-columns: 1fr; }
  [dir="rtl"] .search__icon { right: 28px; }
  [dir="rtl"] .search__clear { left: 24px; }
  [dir="rtl"] .search input {
    text-align: right;
    padding-right: 40px;
    padding-left: 38px;
  }
  [dir="rtl"] .specs__row {
    grid-template-columns: minmax(0, 1fr) minmax(98px, 110px);
  }
}
