:root {
  --ink: #075e4b;
  --muted: #626a64;
  --line: #e5e5db;
  --soft: #fff7e8;
  --accent: #f4bc45;
  --purple: #075e4b;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    16px/1.5 Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #8467da;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}
.header {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 92px;
}
.logo {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.logo-mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: 9px;
  width: 35px;
  height: 35px;
  object-fit: cover;
  font-size: 24px;
  letter-spacing: -2px;
}
.tools {
  margin-inline-start: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.tools select {
  border: 0;
  background: white;
  max-width: 110px;
  font-size: 14px;
}
.pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
}
.btn {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn.lime {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border-radius: 99px;
  padding: 7px 8px 7px 22px;
  min-width: 0;
}
.search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  min-width: 0;
  height: 42px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
}
.search input::placeholder {
  color: var(--muted);
}
.search button {
  border: 0;
  border-radius: 99px;
  padding: 12px 24px;
  background: var(--accent);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
}
.top-search {
  margin-bottom: 26px;
}
.hero {
  background: linear-gradient(135deg, #fffaf1 0%, #fff7e8 100%);
  color: var(--ink);
  border-radius: 26px;
  padding: 50px 48px 46px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 57px);
  line-height: 1.08;
  letter-spacing: -2.4px;
  margin: 13px 0 16px;
  max-width: 720px;
}
.hero .eyebrow {
  color: #075e4b;
  background: white;
  border: 1px solid #ebe3f5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  display: inline-block;
}
.hero p {
  color: var(--muted);
  margin: 0 0 25px;
  max-width: 560px;
}
.hero .search {
  background: white;
  color: var(--ink);
  max-width: 720px;
}
.hero-foot {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #cfc6dd;
  margin-top: 17px;
}
.hero-foot a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 12px;
  margin: 36px 0 44px;
}
.category {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 6px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--soft);
  min-height: 102px;
  color: var(--ink);
}
.category:hover {
  border-color: var(--line);
  background: white;
}
.category span {
  background: white;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: 0.2s;
}
.category:hover span {
  background: var(--accent);
  transform: translateY(-2px);
}
.category svg {
  width: 24px;
  height: 24px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 30px 0 20px;
}
.section-head h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 0;
}
.text-link {
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.card {
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s;
}
.card:hover {
  transform: translateY(-2px);
}
.product-art {
  background: var(--soft);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.product-art img {
  width: 66%;
  height: 66%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.2s;
}
.card:hover .product-art img {
  transform: scale(1.045);
}
.fav-button {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(23, 21, 30, 0.12);
  z-index: 2;
  cursor: pointer;
  color: var(--ink);
}
.fav-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.fav-button.active {
  color: #e5484d;
}
.fav-button.active svg {
  fill: #e5484d;
  stroke: #e5484d;
}
.card-body {
  padding: 12px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.1px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}
.card .price {
  font-size: 14px;
  font-weight: 400;
  margin: 8px 0 0;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.card-stores {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
/* ---------- site footer (dark, PriceRunner-style) ---------- */
.site-footer {
  background: var(--purple);
  color: white;
  margin-top: 40px;
  padding: 50px 0 26px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 60px;
  align-items: start;
}
.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}
.footer-brand p {
  color: #ffffff;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0 0 12px;
  max-width: 400px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-col h4 {
  font-size: 14px;
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-col a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 42px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #ffffff;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
}
.info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 48px 0 25px;
  padding: 27px 0;
  gap: 30px;
}
.info-strip h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.info-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.demo {
  background: #f3f0f9;
  color: #61576f;
  font-size: 11.5px;
  padding: 4px 20px;
  text-align: center;
  letter-spacing: 0.3px;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 28px;
  flex-wrap: wrap;
}
.breadcrumb a {
  text-decoration: underline;
}
.page-title {
  font-size: 36px;
  letter-spacing: -1.3px;
  margin: 10px 0;
}
.results-layout {
  display: grid;
  grid-template-columns: 218px 1fr;
  gap: 35px;
  margin-top: 24px;
}
.filters {
  border-top: 1px solid var(--line);
}
.filter-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.filter-group h3 {
  font-size: 15px;
  margin: 0 0 16px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 11px 0;
  font-size: 14px;
}
.check input {
  accent-color: var(--ink);
  width: 17px;
  height: 17px;
}
.filters input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.results .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.sort select,
.variant select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: 14px;
}
.empty {
  padding: 65px 20px;
  text-align: center;
  background: var(--soft);
  border-radius: var(--radius);
  grid-column: 1/-1;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  margin-bottom: 42px;
}
.detail-art {
  height: 430px;
  border-radius: 24px;
  background: var(--soft);
  display: flex;
  justify-content: center;
  align-items: center;
}
.detail-art img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detail h1 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 8px 0 14px;
}
.detail-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 560px;
}
.price-range {
  font-size: 15.5px;
  font-weight: 600;
  margin: 0 0 4px;
}
.detail .big-price {
  font-size: 37px;
  font-weight: 750;
  letter-spacing: -1px;
  margin: 5px 0;
}
.variant {
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: center;
}
.detail .btn {
  margin-top: 20px;
}
.tabs {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 32px;
  margin-bottom: 30px;
}
.tabs a {
  padding: 15px 0;
  border-bottom: 3px solid transparent;
  font-weight: 600;
}
.tabs a:first-child {
  border-color: var(--ink);
}
.offers-wrap {
  max-width: 960px;
}
.offer {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 12px 0;
}
.offer.best {
  border: 1.5px solid #aacb50;
  background: #fcfff6;
}
.store {
  font-weight: 750;
  font-size: 20px;
}
.offer .total {
  font-weight: 750;
  font-size: 21px;
  white-space: nowrap;
}
.offer small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.badge {
  color: #42610d;
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}
.offer details {
  font-size: 13px;
  margin-top: 7px;
}
.offer button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.specs {
  max-width: 960px;
  margin-top: 40px;
}
.specs dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 14px;
}
.specs dt,
.specs dd {
  margin: 0;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.specs > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 14px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.specs > div span:first-child {
  text-transform: capitalize;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  max-width: 460px;
  width: calc(100% - 32px);
}
dialog::backdrop {
  background: #17151e70;
}
.signin-is-open {
  overflow: hidden;
}
dialog.signin-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: 560px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 76px 48px 42px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: #100b25;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 90px #100b2526;
}
.signin-dialog::backdrop {
  background: rgb(0 0 0 / 54%);
}
.signin-dialog .signin-close {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.signin-close:hover { background: #f4f4f6; }
.signin-close svg { width: 28px; height: 28px; }
.signin-dialog #signin-title {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.16;
  letter-spacing: -1.6px;
  text-align: center;
  font-weight: 750;
}
.signin-description {
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.55;
  text-align: center;
}
.signin-options { display: grid; gap: 18px; }
.signin-provider {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 13px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  transition: background-color .15s ease;
}
.signin-provider svg { width: 28px; height: 28px; stroke: none; }
.signin-apple { background: #000; color: #fff; }
.signin-apple:hover { background: #262626; }
.signin-google { background: #fff; border-color: #d3d5dd; color: #535966; }
.signin-google:hover { background: #f8f9fb; }
.signin-whatsapp { background: #f3f3f5; }
.signin-whatsapp svg { color: #168b48; }
.signin-whatsapp:hover { background: #e9f5ed; }
.signin-divider { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.signin-divider::before, .signin-divider::after { content: ""; height: 1px; background: #dedee5; flex: 1; }
.signin-legal { margin: 30px 0 0; font-size: 15px; line-height: 1.65; text-align: start; }
.signin-legal button { display: inline; padding: 0; text-align: inherit; text-decoration: underline; text-underline-offset: 3px; }
.signin-status { margin: 20px 0 0; padding: 12px 16px; border-radius: 12px; background: #f3f3f5; font-size: 14px; line-height: 1.6; }
.signin-preview-entry { display: block; width: 100%; min-height: 44px; margin-top: 20px; padding: 10px 16px; border: 1px dashed #c8c6cf; border-radius: 12px; color: #53505d; font-size: 14px; line-height: 1.5; }
.signin-preview-entry:hover { background: #f5f4f7; }
[dir="rtl"] .signin-dialog #signin-title { letter-spacing: 0; }
@media (max-width: 600px) {
  dialog.signin-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 66px 24px 28px; border-radius: 24px; }
  .signin-dialog .signin-close { inset-block-start: 12px; inset-inline-end: 12px; }
  .signin-dialog #signin-title { font-size: 36px; margin-bottom: 16px; }
  .signin-description { font-size: 17px; margin-bottom: 26px; }
  .signin-provider { min-height: 56px; padding: 12px 16px; font-size: 16px; grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 8px; }
  .signin-provider svg { width: 24px; height: 24px; }
  .signin-options { gap: 16px; }
  .signin-legal { margin-top: 24px; font-size: 13px; }
}
.whatsapp-back { position: absolute; inset-block-start: 20px; inset-inline-start: 20px; width: 44px; height: 44px; border-radius: 50%; }
.whatsapp-back:hover { background: var(--soft); }
[dir="rtl"] .whatsapp-back svg { transform: scaleX(-1); }
.whatsapp-dialog #signin-title { text-align: start; font-size: clamp(30px, 5vw, 42px); letter-spacing: -1px; }
.whatsapp-dialog .signin-description { text-align: start; font-size: 18px; margin-bottom: 28px; color: var(--muted); }
#whatsapp-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.whatsapp-phone-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.whatsapp-code-row { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 10px; }
#whatsapp-form input, #whatsapp-form select { width: 100%; min-width: 0; height: 58px; padding: 12px 14px; border: 1.5px solid #c8c6cf; border-radius: 12px; background: white; color: var(--ink); font-size: 17px; }
#whatsapp-form input[aria-invalid="true"] { border-color: #b42318; }
#whatsapp-form input::placeholder { color: #85818d; opacity: 1; }
.whatsapp-help { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 8px 0 24px; }
#whatsapp-send { border-radius: 12px; background: #f3f3f5; padding: 10px; font-size: 15px; font-weight: 600; line-height: 1.35; }
#whatsapp-send:hover:not(:disabled) { background: #e9f5ed; }
#whatsapp-send:disabled { cursor: default; color: #77727f; }
.whatsapp-error { font-size: 13px; line-height: 1.5; color: #b42318; margin: 12px 0; }
.whatsapp-verify { width: 100%; min-height: 58px; padding: 14px; border-radius: 999px; background: var(--ink); color: white; font-size: 18px; font-weight: 600; margin-top: 28px; }
.whatsapp-verify:disabled { background: #e4e3e8; color: #8c8895; cursor: not-allowed; }
.whatsapp-preview { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
@media (max-width: 600px) {
  .whatsapp-back { inset-block-start: 12px; inset-inline-start: 12px; }
  .whatsapp-dialog .signin-description { font-size: 16px; }
  .whatsapp-phone-row { grid-template-columns: 100px minmax(0, 1fr); gap: 8px; }
  .whatsapp-code-row { grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; }
  #whatsapp-form input, #whatsapp-form select { height: 56px; padding: 10px; font-size: 16px; }
  #whatsapp-send { font-size: 13px; }
}
dialog.profile-dialog { max-width: 660px; width: min(660px, calc(100% - 32px)); background: #f5f4f7; padding-top: 72px; }
.profile-dialog #signin-title { font-size: 30px; line-height: 1.3; letter-spacing: -.6px; margin-bottom: 24px; overflow-wrap: anywhere; }
.profile-dialog .signin-description { text-align: start; font-size: 18px; margin-bottom: 28px; }
#profile-form label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; }
#profile-form input { display: block; width: 100%; min-height: 58px; border: 1.5px solid #c8c6cf; border-radius: 12px; background: white; padding: 14px 16px; color: var(--ink); font-size: 18px; }
#profile-form #profile-phone { background: #e7e6eb; color: #706b7b; margin-bottom: 24px; }
#profile-form input[aria-invalid="true"] { border-color: #b42318; }
[dir="rtl"] #profile-name:placeholder-shown { direction: rtl; text-align: right; }
.profile-create { background: #100b25; color: white; border-radius: 999px; min-height: 54px; padding: 12px 26px; font-size: 18px; font-weight: 600; }
.profile-create:hover:not(:disabled) { background: #2c2342; }
.profile-create:disabled { background: #e2e0e7; color: #817b8d; cursor: not-allowed; }
.profile-demo { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.profile-complete-icon { width: 56px; height: 56px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--accent); border-radius: 50%; }
.profile-complete-icon svg { width: 28px; height: 28px; }
@media (max-width: 600px) {
  dialog.profile-dialog { width: calc(100% - 24px); padding: 66px 24px 28px; }
  .profile-dialog #signin-title { font-size: 27px; }
  .profile-dialog .signin-description { font-size: 16px; }
  #profile-form input { font-size: 16px; }
  .profile-create { width: 100%; }
  .profile-demo { font-size: 13px; }
}
.account-avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f0dddd; color: #342735; font-size: 20px; font-weight: 600; flex-shrink: 0; }
.account-avatar-large { width: 96px; height: 96px; font-size: 42px; }
.account-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: 650px; padding-block: 42px 64px; gap: 42px; }
.account-sidebar { border-inline-end: 1px solid var(--line); padding-inline-end: 24px; }
.account-identity { text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.account-identity h1 { font-size: 25px; margin: 14px 0 0; overflow-wrap: anywhere; }
.account-sidebar nav { display: grid; gap: 6px; margin-block: 26px; }
.account-sidebar nav a, .account-sidebar nav button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: 12px; font-size: 16px; text-align: start; }
.account-sidebar nav [aria-current="page"] { background: var(--soft); font-weight: 600; }
.account-sidebar nav a:hover, .account-sidebar nav button:hover { background: var(--soft); }
.account-content { padding-block: 24px; min-width: 0; }
.account-empty { text-align: center; max-width: 560px; margin: 48px auto; padding: 20px; }
.account-empty h2 { font-size: 30px; line-height: 1.25; }
.account-empty p { color: var(--muted); line-height: 1.65; }
.account-empty .btn { margin-top: 20px; }
.account-empty-icon svg { width: 78px; height: 78px; stroke-width: 1; }
.account-demo { font-size: 13px; color: var(--muted); line-height: 1.65; }
#account-settings { max-width: 460px; display: grid; gap: 12px; }
#account-settings input { width: 100%; padding: 14px; border: 1px solid #c8c6cf; border-radius: 12px; font-size: 16px; }
#account-settings .btn { justify-self: start; }
dialog.member-welcome { width: min(460px, calc(100% - 24px)); padding: 70px 36px 32px; }
.member-welcome h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.7px; margin-bottom: 24px; }
.member-welcome > p { font-size: 17px; line-height: 1.65; }
.member-welcome > .account-demo { font-size: 13px; }
.member-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.member-actions .btn { margin-top: 0; }
[dir="rtl"] .member-welcome h2 { letter-spacing: 0; }
@media (max-width: 760px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 24px; }
  .account-sidebar { padding: 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .account-identity { display: flex; align-items: center; gap: 16px; text-align: start; padding-bottom: 16px; border: 0; }
  .account-avatar-large { width: 64px; height: 64px; font-size: 30px; }
  .account-identity h1 { margin: 0; font-size: 24px; }
  .account-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 12px; }
  .account-sidebar nav a, .account-sidebar nav button { padding: 12px 8px; gap: 8px; font-size: 14px; }
  .account-empty { margin: 12px auto; padding: 12px; }
  .account-empty h2 { font-size: 26px; }
  dialog.member-welcome { padding: 64px 26px 28px; }
  .member-welcome h2 { font-size: 28px; }
}
dialog.logout-dialog { max-width: 460px; padding: 64px 32px 32px; }
.logout-dialog h2 { font-size: 28px; line-height: 1.3; margin: 0 0 16px; }
.logout-dialog p { line-height: 1.65; color: var(--muted); }
.logout-actions { display: flex; gap: 12px; margin-top: 28px; }
.logout-actions .btn { flex: 1; margin: 0; min-height: 48px; }
@media (max-width: 600px) {
  dialog.logout-dialog { padding: 60px 24px 24px; }
  .logout-dialog h2 { font-size: 25px; }
}
.settings-phone { padding: 20px 24px; margin-bottom: 32px; border: 1px solid var(--line); border-radius: 18px; }
.settings-phone h2 { font-size: 16px; font-weight: 500; margin: 0 0 8px; color: var(--muted); }
.settings-phone p { margin: 0; font-size: 22px; font-weight: 600; }
.settings-phone small { display: block; margin-top: 6px; color: var(--muted); }
.settings-section { margin-bottom: 44px; }
.settings-section h2 { display: flex; align-items: center; gap: 16px; font-size: 32px; line-height: 1.2; margin: 0 0 26px; }
.settings-section h2 svg { width: 32px; height: 32px; }
.notification-panel, .danger-panel { background: #f7f6f9; border-radius: 22px; padding: 0 24px; }
.notification-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.notification-row + .notification-row { border-top: 1px solid #dfdde5; }
.notification-row h3, .danger-panel h3 { font-size: 19px; font-weight: 500; margin: 0 0 4px; }
.notification-row p, .danger-panel p { margin: 0; font-size: 16px; line-height: 1.55; color: #625d70; }
.notification-switch { width: 50px; height: 30px; padding: 4px; border-radius: 99px; flex: 0 0 50px; background: #c9c6ce; }
.notification-switch span { display: block; width: 22px; height: 22px; border-radius: 50%; background: white; transition: transform .15s ease; }
.notification-switch[aria-checked="true"] { background: #100b25; }
.notification-switch[aria-checked="true"] span { transform: translateX(20px); }
[dir="rtl"] .notification-switch[aria-checked="true"] span { transform: translateX(-20px); }
.danger-zone h2 { color: #a51a1a; }
.danger-panel { display: flex; align-items: center; gap: 24px; padding: 24px; border: 1px solid #b51b1b; }
#delete-profile-open { flex-shrink: 0; border: 1px solid #dedce4; background: white; color: #a51a1a; border-radius: 99px; padding: 14px 20px; font-size: 17px; }
#delete-profile-open:hover { background: #fff0f0; }
dialog.delete-profile-dialog { max-width: 600px; width: min(600px, calc(100% - 24px)); padding: 32px; }
.delete-profile-dialog h2 { text-align: center; font-size: 25px; margin: 4px 42px 28px; }
.delete-profile-dialog > p { color: #625d70; font-size: 18px; line-height: 1.6; }
.delete-profile-dialog > .account-demo { font-size: 13px; }
.delete-profile-dialog .delete-profile-confirm { width: 100%; margin-top: 28px; min-height: 52px; }
@media (max-width: 600px) {
  .settings-section h2 { font-size: 27px; gap: 12px; }
  .notification-panel { padding: 0 18px; }
  .notification-row { gap: 16px; padding: 22px 0; }
  .notification-row h3, .danger-panel h3 { font-size: 17px; }
  .notification-row p, .danger-panel p { font-size: 14px; }
  .danger-panel { flex-direction: column; align-items: stretch; padding: 20px; gap: 20px; }
  dialog.delete-profile-dialog { padding: 30px 24px 24px; }
  .delete-profile-dialog h2 { font-size: 23px; }
  .delete-profile-dialog > p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .notification-switch span { transition: none; } }
.wish-title { font-size: 38px; line-height: 1.2; margin: 0 0 28px; letter-spacing: -1px; }
.wish-summary { font-size: 18px; margin: 0 0 20px; }
.wish-toolbar { display: flex; gap: 14px; margin: 24px 0; align-items: center; }
.wish-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 18px; border: 1px solid #cbc8d2; border-radius: 99px; background: white; font-size: 17px; }
.wish-pill:disabled { opacity: .45; cursor: not-allowed; }
.wish-sort { position: relative; }
#wish-sort-options { position: absolute; z-index: 5; inset-inline-end: 0; top: calc(100% + 10px); width: 240px; margin: 0; padding: 12px; border: 0; border-radius: 14px; background: white; box-shadow: 0 12px 36px #20163824; }
#wish-sort-options label { display: flex; align-items: center; gap: 12px; padding: 10px 8px; font-size: 17px; cursor: pointer; }
#wish-sort-options input { appearance: none; width: 24px; height: 24px; border: 1px solid #c5c1cd; border-radius: 50%; margin: 0; }
#wish-sort-options input:checked { border: 7px solid #100b25; }
.wish-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wish-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; width: 100%; }
.wish-card { min-width: 0; }
.wish-art { position: relative; border-radius: 26px; background: #f7f6f9; aspect-ratio: 1; }
.wish-art > a { display: flex; width: 100%; height: 100%; padding: 30px; align-items: center; justify-content: center; }
.wish-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wish-discount { position: absolute; top: 18px; inset-inline-start: 16px; background: #ffb6bd; padding: 2px 10px; border-radius: 99px; font-size: 14px; }
.wish-more { position: absolute; top: 14px; inset-inline-end: 14px; }
.wish-more summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: white; font-size: 26px; cursor: pointer; }
.wish-more summary::-webkit-details-marker { display: none; }
.wish-more > div { position: absolute; inset-inline-end: 0; top: 48px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px #20163820; width: 190px; z-index: 2; }
.wish-more button { padding: 14px; width: 100%; text-align: start; font-size: 14px; }
.wish-card h3 { font-size: 19px; font-weight: 400; line-height: 1.5; margin: 18px 6px 6px; }
.wish-card > strong { display: block; margin: 12px 6px 0; font-size: 20px; }
.wish-spec, .wish-stores { font-size: 14px; margin: 6px; color: var(--muted); }
.wish-cost { margin-top: 64px; }
.wish-cost h2 { font-size: 28px; line-height: 1.3; margin-bottom: 26px; }
.wish-cost-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.wish-cost-grid article { border: 1px solid #dedbe5; border-radius: 20px; padding: 30px 14px; text-align: center; }
.wish-cost-grid svg { width: 48px; height: 48px; margin: 8px 0 20px; }
.wish-cost-grid h3 { font-size: 16px; font-weight: 400; min-height: 48px; }
.wish-cost-grid strong { font-size: 23px; }
.wish-cost-grid p { font-size: 14px; color: var(--muted); }
dialog.wish-alert-dialog { max-width: 640px; width: min(640px,calc(100% - 24px)); background: #f5f4f7; padding: 34px 30px; }
.wish-alert-dialog h2 { text-align: center; font-size: 28px; margin: 0 40px 38px; }
.wish-alert-dialog > p { font-size: 18px; }
.wish-alert-dialog > .account-demo { font-size: 13px; }
.wish-alert-products { background: white; border-radius: 20px; padding: 6px 22px; margin: 22px 0; }
.wish-alert-products > div { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.wish-alert-products > div + div { border-top: 1px solid var(--line); }
.wish-alert-products img { width: 68px; height: 68px; object-fit: contain; background: #f7f6f9; padding: 7px; border-radius: 8px; }
.wish-alert-products section { min-width: 0; overflow-wrap: anywhere; }
.wish-alert-products strong { display: block; font-size: 19px; margin-top: 4px; }
.wish-alert-actions { display: flex; gap: 16px; margin-top: 30px; }
.wish-alert-actions .btn { flex: 1; margin: 0; min-height: 50px; }
.wish-toast { position: fixed; z-index: 100; inset-inline: 16px; top: 18px; margin-inline: auto; max-width: 920px; padding: 20px 24px; border-radius: 22px; background: #a8efbb; color: #100b25; display: flex; align-items: center; gap: 16px; box-shadow: 0 8px 32px #17151e15; }
.wish-toast > div { flex: 1; }
.wish-toast a { text-decoration: underline; text-underline-offset: 3px; }
.wish-toast button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
[dir="rtl"] .wish-title { letter-spacing: 0; }
@media(max-width:600px) {
  .wish-title { font-size: 32px; }
  .wish-summary { font-size: 16px; }
  .wish-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .wish-art { border-radius: 18px; }
  .wish-art > a { padding: 18px; }
  .wish-card h3 { font-size: 16px; margin-inline: 0; }
  .wish-card > strong { font-size: 17px; margin-inline: 0; }
  .wish-discount { top: 12px; inset-inline-start: 8px; font-size: 12px; }
  .wish-more { top: 8px; inset-inline-end: 8px; }
  .wish-more summary { width: 34px; height: 34px; }
  .wish-pill { font-size: 15px; padding-inline: 14px; }
  .wish-toolbar { position: relative; }
  .wish-sort { position: static; }
  #wish-sort-options { inset-inline-start: auto; inset-inline-end: 0; max-width: 100%; }
  .wish-card:nth-child(odd) .wish-more > div { inset-inline-end: auto; inset-inline-start: 0; width: 160px; }
  .wish-cost-grid { grid-template-columns: 1fr; }
  .wish-cost-grid article { padding: 20px; }
  .wish-cost-grid h3 { min-height: 0; }
  .wish-cost-grid svg { margin-bottom: 0; }
  dialog.wish-alert-dialog { padding: 30px 20px 24px; }
  .wish-alert-dialog h2 { font-size: 24px; margin-bottom: 30px; }
  .wish-alert-products { padding-inline: 14px; }
  .wish-alert-actions { flex-direction: column-reverse; }
  .wish-toast { padding: 12px; gap: 8px; font-size: 14px; }
}
dialog h2 {
  margin-top: 0;
}
dialog .btn {
  margin-top: 15px;
}
.mobile-filter {
  display: none;
}
[dir="rtl"] .icon-arrow {
  transform: rotate(180deg);
}
[dir="rtl"] .hero h1 {
  letter-spacing: 0;
  line-height: 1.3;
}
[dir="rtl"] .logo {
  direction: ltr;
}
[dir="rtl"] .detail h1 {
  letter-spacing: 0;
}
@media (min-width: 1450px) {
  .wrap {
    max-width: 1380px;
  }
}
@media (max-width: 900px) {
  .wrap {
    padding: 0 24px;
  }
  .header {
    gap: 20px;
  }
  .nav {
    gap: 15px;
  }
  .nav .about {
    display: none;
  }
  .grid {
    gap: 16px;
  }
  .results-layout {
    grid-template-columns: 180px 1fr;
    gap: 22px;
  }
  .results .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail {
    gap: 30px;
  }
  .detail-art {
    height: 340px;
  }
  .offer {
    gap: 15px;
    grid-template-columns: 1fr 1fr;
  }
  .offer .btn {
    justify-self: end;
  }
  .categories {
    gap: 9px;
  }
  .hero {
    padding: 32px;
  }
  .tools {
    gap: 4px;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 18px;
  }
  .header {
    min-height: 76px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .logo {
    font-size: 26px;
  }
  .nav {
    order: 3;
    width: 100%;
    padding-bottom: 16px;
    justify-content: space-between;
    font-size: 14px;
  }
  .tools select {
    max-width: 91px;
    font-size: 13px;
  }
  .hero {
    padding: 27px 23px;
    border-radius: 20px;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero .eyebrow {
    font-size: 11px;
  }
  .search {
    padding-inline-start: 13px;
    gap: 8px;
  }
  .search input {
    font-size: 14px;
  }
  .search button {
    padding: 12px 14px;
  }
  .hero-foot {
    gap: 12px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .categories {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    margin: 24px 0 32px;
  }
  .category {
    font-size: 13px;
  }
  .category span {
    width: 54px;
    height: 54px;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .muted {
    font-size: 13px;
  }
  .info-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .site-footer {
    padding: 38px 0 22px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Mobile follows PriceRunner: link columns first, brand block last. */
  .footer-cols {
    order: -1;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-col a {
    margin-bottom: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .results-layout {
    display: block;
  }
  .filters {
    display: none;
    margin-bottom: 20px;
  }
  .filters.open {
    display: block;
  }
  .mobile-filter {
    display: inline-flex;
  }
  .sort {
    flex-wrap: wrap;
  }
  .page-title {
    font-size: 29px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-art {
    height: 290px;
  }
  .detail h1 {
    font-size: 22px;
    letter-spacing: -0.3px;
  }
  .detail-desc {
    font-size: 14px;
  }
  .detail .big-price {
    font-size: 32px;
  }
  .offer {
    padding: 18px;
    gap: 18px 10px;
  }
  .offer .store {
    font-size: 18px;
  }
  .offer .total {
    font-size: 19px;
  }
  .offer .btn {
    padding: 11px 14px;
  }
  .tabs {
    gap: 22px;
    font-size: 14px;
  }
  .breadcrumb {
    margin-bottom: 20px;
  }
  .top-search {
    margin-top: 4px;
  }
  .specs dl {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Header, category drawer and search launch page. */
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.icon-button:hover {
  background: var(--soft);
}
.icon-button svg {
  width: 25px;
  height: 25px;
}
.tools {
  gap: 8px;
}
.tools .icon-button:last-child {
  margin-inline-end: -8px;
}
.search-entry {
  min-height: 62px;
}
.search-placeholder {
  flex: 1;
  color: var(--muted);
  font-size: 16px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-entry-action {
  padding: 12px 24px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.categories {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scroll-snap-type: x proximity;
}
.category {
  flex: 0 0 116px;
  scroll-snap-align: start;
  line-height: 1.35;
}
.category.sale {
  color: #c01823;
}
.menu-is-open {
  overflow: hidden;
}
.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 440px;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #110b24;
  background: white;
}
[dir="rtl"] .site-menu {
  inset: 0 auto 0 0;
}
.site-menu::backdrop {
  background: #100b2450;
}
.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 2px solid #e2e1e7;
  min-height: 72px;
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.menu-top .text-link {
  font-size: 17px;
  font-weight: 400;
  padding: 8px 0;
}
.menu-content {
  padding: 12px 15px 10px;
}
.menu-promo {
  background: #efebff;
  border-radius: 20px;
  padding: 18px 16px;
  margin-bottom: 12px;
}
.promo-copy {
  display: flex;
  gap: 16px;
  align-items: center;
}
.promo-copy > svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #6958c7;
}
.menu-promo h2 {
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 4px;
}
.menu-promo p {
  font-size: 15px;
  line-height: 1.45;
  color: #595566;
  margin: 0;
}
.menu-promo .btn {
  width: 100%;
  margin-top: 18px;
  background: #0e081f;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
}
.menu-category {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 10px;
  min-height: 58px;
  font-size: 17px;
  line-height: 1.4;
  border-radius: 9px;
}
.menu-category:hover {
  background: #f6f4fb;
}
.menu-category svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.menu-category.sale {
  color: #c21823;
}
.menu-bottom {
  display: flex;
  flex-direction: column;
  border-top: 8px solid #e3e2e8;
  padding: 10px 13px 18px;
}
.menu-bottom a {
  padding: 10px 0;
  font-size: 17px;
}
.menu-bottom a:hover {
  text-decoration: underline;
}
.search-start-page {
  background: #fff;
}
.search-launch {
  max-width: 850px;
  min-height: 100dvh;
  margin: auto;
}
.launch-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border-bottom: 1px solid #e1e0e6;
  padding: 9px 12px;
  min-height: 68px;
}
.launch-bar input[name="q"] {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 19px;
  line-height: 1.4;
  padding: 8px 0;
  background: transparent;
}
.launch-bar .launch-submit {
  background: #0e081f;
  color: white;
  width: 40px;
  height: 40px;
  padding: 8px;
}
.launch-submit:hover {
  background: #342946;
}
.search-history {
  padding: 8px 12px;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 57px;
}
.history-row > svg {
  color: #696675;
  width: 22px;
  height: 22px;
}
.history-query {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 14px 0;
}
.history-row .icon-button {
  color: #4b4654;
}
.history-query:hover {
  text-decoration: underline;
}
.history-empty {
  padding: 24px 12px;
  color: var(--muted);
}
.suggested-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.suggested-searches > span {
  width: 100%;
  font-size: 14px;
  margin-bottom: 5px;
}
.photo-area {
  margin: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.photo-area[hidden] {
  display: none;
}
.photo-area img {
  width: 110px;
  height: 130px;
  object-fit: contain;
}
.photo-area h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.photo-area p {
  font-size: 14px;
  color: var(--muted);
}
.info-page {
  padding: 30px 0 65px;
  max-width: 680px;
}
.info-page h1 {
  font-size: 36px;
}
.info-page p {
  margin-bottom: 25px;
}
@media (max-width: 600px) {
  .header {
    flex-wrap: nowrap;
    min-height: 76px;
  }
  .categories {
    gap: 8px;
    margin: 22px 0 24px;
  }
  .category {
    flex-basis: 100px;
    font-size: 13px;
  }
  .search-entry-action {
    font-size: 14px;
    padding: 12px 16px;
  }
  .search-placeholder {
    font-size: 14px;
  }
  .site-menu {
    width: 100%;
  }
  .menu-top {
    padding: 14px 16px;
  }
  .menu-content {
    padding: 12px 15px;
  }
  .launch-bar {
    gap: 5px;
    padding: 7px 6px;
    min-height: 62px;
  }
  .launch-bar input[name="q"] {
    font-size: 17px;
  }
  .launch-bar .icon-button {
    width: 40px;
    height: 40px;
  }
  .launch-bar .launch-submit {
    width: 36px;
    height: 36px;
  }
  .search-history {
    padding: 5px 8px;
  }
  .history-row {
    gap: 9px;
    min-height: 52px;
  }
  .history-query {
    font-size: 16px;
  }
  .photo-area {
    margin: 14px;
    gap: 12px;
    padding: 14px;
  }
  .photo-area img {
    width: 75px;
    height: 100px;
  }
}

@media (max-width: 760px) {
  .site-menu {
    width: 100%;
  }
}

/* ---------- language ---------- */
.lang-switch {
  font-size: 14px;
  font-weight: 600;
  border: 0;
  padding: 0 10px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  white-space: nowrap;
}
.lang-switch:hover {
  background: var(--soft);
}
/* Header: search + menu icons are mobile-only; desktop gets a Sign in button. */
.mobile-only {
  display: none !important;
}
.signin-link {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: white;
  border-radius: 99px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.signin-link:hover {
  opacity: 0.85;
}
@media (max-width: 760px) {
  .mobile-only {
    display: inline-flex !important;
  }
  .signin-link {
    display: none;
  }
}
.btn.ghost {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.detail-actions .btn {
  margin-top: 20px;
}
.lede {
  max-width: 62ch;
  font-size: 15px;
  margin: 0 0 26px;
}
.small {
  font-size: 12.5px;
}

/* ---------- specification switcher ---------- */
.spec-options {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.spec-option {
  background: white;
  cursor: pointer;
  font-family: inherit;
}
.spec-option.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

/* ---------- offer states ---------- */
.offer.unreachable {
  opacity: 0.72;
  background: #fafafa;
}
.badge.warn {
  color: #8a4b00;
}
.badge.discount {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: #ffd0d0;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 99px;
  z-index: 2;
  letter-spacing: 0.2px;
}

/* ---------- coupons ---------- */
/* ---------- ambition (trust statement) ---------- */
.ambition {
  margin: 60px 0 10px;
}
.ambition h2 {
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 0 0 36px;
  max-width: 620px;
}
.ambition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.ambition-item svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.5;
  margin-bottom: 18px;
  color: var(--ink);
}
.ambition-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}
.ambition-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}
.coupon-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--soft);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin: 46px 0;
}
.coupon-teaser h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 0 0 6px;
}
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.coupon-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: white;
  border-inline-start: 4px solid var(--line);
}
.coupon-card.source-verified {
  border-inline-start-color: #aacb50;
}
.coupon-card.source-community {
  border-inline-start-color: #d8b25a;
}
.coupon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.coupon-value {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.coupon-source {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 10px;
  white-space: nowrap;
}
.coupon-card h3 {
  font-size: 17px;
  margin: 0;
  line-height: 1.35;
}
.coupon-terms {
  margin: 0;
  padding-inline-start: 18px;
  font-size: 13px;
  color: var(--muted);
}
.coupon-terms li {
  margin: 3px 0;
}
.coupon-terms-note {
  font-size: 12.5px;
  margin: 0;
}
.coupon-code {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  background: var(--soft);
  padding: 11px 15px;
  font-family: inherit;
  cursor: pointer;
  text-align: start;
  width: 100%;
}
.coupon-code code {
  font-weight: 700;
  letter-spacing: 1px;
  flex: 1;
}
.coupon-code .copy-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.coupon-code.copied {
  border-color: #aacb50;
  background: #fcfff6;
}
.report-coupon {
  align-self: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- price history ---------- */
.price-chart {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: white;
}
.price-chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.chart-area {
  fill: #f2f8e2;
  stroke: none;
}
.chart-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-dot {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2;
}
.price-chart figcaption {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 15px;
}
.price-chart figcaption div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.price-chart figcaption span {
  font-size: 12.5px;
  color: var(--muted);
}
.price-chart figcaption strong {
  font-size: 17px;
}
.chart-note {
  font-size: 12.5px;
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.chart-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 34px;
  background: var(--soft);
  border-radius: var(--radius);
  color: var(--muted);
}
.chart-empty p {
  margin: 0;
}

/* ---------- watch list ---------- */
.watch-dialog label {
  display: block;
  margin: 18px 0;
  font-size: 14px;
  font-weight: 600;
}
.watch-dialog input[type="number"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
}
.watch-dialog fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
}
.watch-dialog legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 7px;
}
.watch-dialog fieldset p {
  margin: 0;
}
.watch-dialog menu {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  flex-wrap: wrap;
}
.watch-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.watch-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.watch-item.paused {
  opacity: 0.6;
}
.watch-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--soft);
  border-radius: 12px;
}
.watch-body h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.watch-prices {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin: 9px 0 5px;
  font-size: 14px;
  color: var(--muted);
}
.watch-prices strong {
  color: var(--ink);
  font-size: 16px;
}
.watch-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
}
.watch-actions button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

/* Related products and reviews */
.detail-related, .detail-reviews { margin-block: 64px; }
.detail-module-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.detail-module-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -1px; }
[dir="rtl"] .detail-module-heading h2 { letter-spacing: 0; }
.detail-module-heading > a { font-size: 16px; text-decoration: underline; white-space: nowrap; }
.detail-module-intro { font-size: 16px; margin: 12px 0 26px; }
.related-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.related-item { flex: 0 0 230px; min-width: 0; scroll-snap-align: start; }
.related-image { aspect-ratio: 1; background: #f7f7f9; border-radius: 26px; position: relative; }
.related-image > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; padding: 20px; }
.related-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.related-alert { position: absolute; inset-inline-end: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; background: white; display: grid; place-items: center; }
.related-item h3 { font-size: 16px; font-weight: 400; line-height: 1.5; min-height: 48px; margin: 20px 8px 14px; }
.related-price { font-size: 18px; font-weight: 600; margin-inline: 8px; }
.reviews-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 80px; margin-top: 36px; }
.reviews-score { display: flex; align-items: center; gap: 12px; }
.reviews-score > span { display: grid; place-items: center; background: #ffdf5c; border-radius: 50%; width: 38px; height: 38px; font-size: 24px; }
.reviews-score strong { font-size: 32px; }
.reviews-summary > p { margin: 12px 0 28px; font-size: 16px; }
.rating-distribution { display: grid; gap: 16px; }
.rating-row { display: grid; grid-template-columns: 38px 1fr 30px; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.rating-star { color: #ffdf5c; }
.rating-track { height: 9px; border-radius: 99px; background: #e3e2e8; }
.rating-row > span:last-child { text-align: end; }
.reviews-empty { padding-block: 22px; border-block: 1px solid var(--line); align-self: start; }
.reviews-empty h3 { font-size: 18px; margin: 0 0 10px; }
.reviews-empty p { font-size: 16px; color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .detail-related, .detail-reviews { margin-block: 42px; }
  .detail-module-heading { gap: 12px; }
  .detail-module-heading > a { font-size: 14px; }
  .detail-module-intro { margin-bottom: 20px; }
  .related-item { flex-basis: 170px; }
  .related-image { border-radius: 20px; }
  .related-image > a { padding: 16px; }
  .related-item h3 { margin: 14px 2px 10px; }
  .related-price { margin-inline: 2px; font-size: 16px; }
  .reviews-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
}

/* Price list: compact merchant headers and offer rows. */
body[data-page="product"] .tabs { margin-bottom: 0; gap: 42px; border-bottom: 0; }
body[data-page="product"] .tabs a { font-size: 16px; font-weight: 400; padding: 14px 8px 18px; }
body[data-page="product"] .tabs.has-selection a { border-color: transparent; }
body[data-page="product"] .tabs.has-selection a.selected { border-color: var(--ink); }
.price-section { background: #f3f3f5; padding: 24px 12px 12px; margin-bottom: 40px; }
.price-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.price-toolbar button, .price-toolbar select { background: white; border: 0; border-radius: 99px; min-height: 44px; padding: 10px 18px; font-size: 14px; color: var(--ink); }
.price-toolbar .price-filter-toggle { width: 44px; padding: 10px; display: grid; place-items: center; }
.price-toolbar select { margin-inline-start: auto; max-width: 190px; }
#price-filters { padding: 0 12px 22px; font-size: 14px; }
.merchant-card { background: white; border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.merchant-card summary { display: flex; align-items: center; gap: 14px; min-height: 68px; cursor: pointer; list-style: none; padding-inline-end: 16px; }
.merchant-card summary::-webkit-details-marker { display: none; }
.merchant-chevron { width: 42px; align-self: stretch; display: grid; place-items: center; border-inline-end: 1px solid #e1e1e7; flex-shrink: 0; }
.merchant-chevron svg { width: 18px; height: 18px; }
.merchant-card[open] .merchant-chevron svg { transform: rotate(90deg); }
.merchant-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #26212e; color: white; font-size: 12px; flex-shrink: 0; }
.merchant-name { font-size: 16px; font-weight: 600; }
.merchant-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 14px; align-items: center; width: 100%; text-align: start; border-top: 1px solid #e1e1e7; padding: 14px 12px; background: white; }
.merchant-product { color: #087de0; font-size: 16px; line-height: 1.4; }
.merchant-delivery { font-size: 14px; color: #55535e; }
.merchant-price { font-size: 21px; font-weight: 750; white-space: nowrap; text-align: end; }
.merchant-price small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.merchant-arrow { color: #087de0; display: flex; }
.merchant-arrow svg { width: 20px; height: 20px; }
.merchant-offer:disabled { opacity: .55; cursor: default; }
.merchant-offer:hover:not(:disabled) { background: #fafafd; }
[dir="rtl"] .merchant-arrow svg, [dir="rtl"] .merchant-card:not([open]) .merchant-chevron svg { transform: rotate(180deg); }
@media (max-width: 760px) {
  body[data-page="product"] .tabs { gap: 18px; }
  body[data-page="product"] .tabs a { font-size: 14px; }
  .price-section { margin-inline: -18px; padding: 18px 10px 10px; }
  .price-toolbar { gap: 6px; margin-bottom: 18px; }
  .price-toolbar button, .price-toolbar select { font-size: 12px; padding-inline: 10px; }
  .price-toolbar select { min-width: 0; max-width: 126px; }
  .merchant-offer { grid-template-columns: minmax(0, 1fr) auto 18px; gap: 8px 10px; }
  .merchant-product { grid-column: 1 / -1; font-size: 15px; }
  .merchant-price { grid-column: 2; }
  .merchant-delivery { font-size: 13px; }
  .merchant-price { font-size: 17px; }
  .merchant-name { font-size: 15px; }
}

/* ---------- product detail hero ---------- */
.product-breadcrumb {
  white-space: nowrap;
  overflow: hidden;
}
.product-breadcrumb bdi {
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
  margin: 8px 0 46px;
}
.detail-gallery {
  min-width: 0;
}
.detail-art {
  height: min(520px, 42vw);
  min-height: 400px;
  border-radius: 18px;
  background: #f7f7f8;
  border: 1px solid #efedf1;
}
.detail-art img {
  width: 88%;
  height: 88%;
}
.detail-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  max-width: 100%;
  overflow-x: auto;
  padding-block: 2px;
}
.detail-thumbnail {
  width: 70px;
  height: 70px;
  box-sizing: border-box;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow: hidden;
  cursor: pointer;
}
.detail-thumbnail.active {
  border-color: var(--ink);
}
.detail-thumbnail:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -5px;
}
.detail-thumbnail img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
.detail-copy {
  padding-top: 10px;
}
.detail-title-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
}
.detail-title-row > div {
  min-width: 0;
}
.detail-brand {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.detail h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.3px;
  margin: 7px 0 13px;
}
[dir="rtl"] .detail h1 {
  letter-spacing: 0;
}
.detail-watch {
  min-width: 138px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid #cbc8d0;
  border-radius: 999px;
  background: #f7f6f8;
  font-size: 16px;
  font-weight: 700;
  margin: 6px 0 25px;
}
.detail-watch:hover {
  background: var(--soft);
  border-color: #cbc8d0;
}
.detail-watch svg {
  width: 22px;
  height: 22px;
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 19px;
}
.detail-rating-stars {
  color: #ffb020;
  letter-spacing: 1px;
  font-size: 15px;
}
.detail-desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.detail-colors {
  margin-top: 18px;
}
.detail-colors-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 11px;
  font-size: 14px;
}
.detail-colors-head > span {
  color: var(--muted);
}
.detail-color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.spec-option.detail-color-option {
  width: 92px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 7px;
  border: 1px solid #d5d2d9;
  border-radius: 10px;
  background: white;
  font-size: 12px;
  line-height: 1.2;
}
.spec-option.detail-color-option img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.spec-option.detail-color-option.active {
  padding: 7px 6px;
  border: 2px solid var(--ink);
  background: white;
  color: var(--ink);
}
.spec-option.detail-color-option:hover {
  border-color: var(--ink);
}
.detail-variants {
  padding: 21px 0 24px;
  border-top: 1px solid var(--line);
}
.detail-variants-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 14px;
}
.detail-variants-head > span {
  color: var(--muted);
}
.spec-option {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #c9c6cf;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}
.spec-option:hover {
  border-color: var(--ink);
}
.spec-option.active {
  background: white;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 9px 13px;
}
.detail-price-card {
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--soft);
}
.detail-price-label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 3px;
}
.detail-price {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.8px;
}
[dir="rtl"] .detail-price {
  letter-spacing: 0;
}
.detail-price-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  margin-top: 7px;
}
.detail-selection-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.detail-selection-note svg {
  width: 17px;
  height: 17px;
  color: #53751c;
  margin-top: 1px;
}
.tabs {
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.tabs::-webkit-scrollbar {
  display: none;
}

@media (max-width: 760px) {
  .product-breadcrumb {
    margin-bottom: 18px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 0;
    margin-bottom: 30px;
  }
  .detail-art {
    height: min(94vw, 420px);
    min-height: 300px;
  }
  .detail-thumbnails {
    margin-top: 10px;
  }
  .detail-thumbnail {
    width: 58px;
    height: 58px;
  }
  .detail-copy {
    padding-top: 0;
  }
  .detail-title-row {
    gap: 12px;
  }
  .detail h1 {
    font-size: clamp(25px, 7.4vw, 32px);
    margin-top: 5px;
  }
  .detail-watch {
    min-width: 136px;
    width: auto;
    height: 52px;
    padding: 12px 18px;
    margin-bottom: 20px;
  }
  .detail-rating {
    margin-bottom: 15px;
  }
  .detail-desc {
    font-size: 15px;
    margin-bottom: 19px;
  }
  .detail-variants {
    padding: 18px 0 20px;
  }
  .detail-colors {
    margin-top: 14px;
  }
  .detail-color-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .detail-color-options::-webkit-scrollbar {
    display: none;
  }
  .spec-option.detail-color-option {
    flex: 0 0 82px;
    width: 82px;
    min-height: 96px;
  }
  .spec-option.detail-color-option img {
    width: 56px;
    height: 56px;
  }
  .detail-variants-head {
    display: block;
  }
  .detail-variants-head strong {
    display: block;
    margin-top: 3px;
  }
  .spec-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-option {
    width: 100%;
  }
  .detail-price-card {
    padding: 18px;
  }
  .tabs {
    margin-inline: -18px;
    padding-inline: 18px;
    gap: 26px;
  }
  .lang-switch {
    height: 40px;
    padding: 0 8px;
  }
  .header {
    gap: 12px;
    min-height: 76px;
  }
  .ambition {
    margin: 44px 0 4px;
  }
  .ambition h2 {
    font-size: 22px;
    letter-spacing: -0.4px;
    margin-bottom: 30px;
  }
  .ambition-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ambition-item svg {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }
  .product-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .product-row::-webkit-scrollbar {
    display: none;
  }
  .product-row .card {
    flex: 0 0 38%;
    scroll-snap-align: start;
  }
  .coupon-teaser {
    padding: 22px;
  }
  .watch-item {
    grid-template-columns: 56px 1fr;
    gap: 15px;
    padding: 16px;
  }
  .watch-item img {
    width: 56px;
    height: 56px;
  }
  .watch-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .price-chart {
    padding: 15px;
  }
}

/* Product page visual refinement. Layout and existing controls only. */
body[data-page="product"] {
  --soft: #f6f6f8;
  --line: #e7e7ec;
  --muted: #696974;
}
body[data-page="product"] #main { padding-bottom: 24px; }
body[data-page="product"] .product-breadcrumb {
  font-size: 13px;
  gap: 10px;
  margin-block: 22px 28px;
  color: var(--muted);
}
body[data-page="product"] .product-breadcrumb a:hover { color: var(--ink); }
body[data-page="product"] .detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: 44px;
}
body[data-page="product"] .detail-art {
  height: clamp(340px, 36vw, 460px);
  min-height: 0;
  background: #f7f7f9;
  border: 1px solid #f0f0f3;
  border-radius: 24px;
}
body[data-page="product"] .detail-art img { width: 82%; height: 82%; }
body[data-page="product"] .detail-copy { min-width: 0; padding-top: 16px; }
body[data-page="product"] .detail-brand { font-size: 14px; font-weight: 600; }
body[data-page="product"] .detail h1 {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-block: 8px 20px;
  overflow-wrap: anywhere;
}
body[data-page="product"] .detail-watch {
  min-height: 46px;
  min-width: 0;
  margin: 0 0 24px;
  padding: 11px 18px;
  font-size: 14px;
  white-space: nowrap;
  background: white;
  border-color: #d9d9e1;
  box-shadow: 0 2px 3px #17151e04;
}
body[data-page="product"] .detail-watch:hover { background: #f3f9e7; border-color: #b8cb91; }
body[data-page="product"] .detail-desc { font-size: 16px; line-height: 1.75; color: #5c5b65; margin-bottom: 24px; }
body[data-page="product"] .detail-colors { margin-top: 24px; }
body[data-page="product"] .detail-colors-head { gap: 10px; margin-bottom: 14px; }
body[data-page="product"] .detail-color-options { gap: 12px; }
body[data-page="product"] .detail-color-option {
  width: 96px;
  min-height: 112px;
  border-radius: 14px;
  font-size: 14px;
  border-color: #e1e1e7;
  font-weight: 500;
}
body[data-page="product"] .detail-color-option.active { border-color: var(--ink); background: #fafafa; }
body[data-page="product"] .tabs { gap: 30px; border-bottom: 1px solid var(--line); }
body[data-page="product"] .tabs a { color: #6a6873; font-weight: 500; padding: 16px 4px; border-bottom-width: 2px; }
body[data-page="product"] .tabs:not(.has-selection) a:first-child,
body[data-page="product"] .tabs a.selected { color: var(--ink); }
body[data-page="product"] .price-section { padding: 20px 0 0; border-radius: 0; background: transparent; margin-bottom: 56px; }
body[data-page="product"] .price-toolbar { margin-bottom: 16px; }
body[data-page="product"] .price-toolbar select { box-sizing: border-box; flex: 0 0 auto; width: 180px; min-width: 180px; max-width: 100%; min-height: 44px; border: 1px solid #d9e2dc; font-size: 14px; padding-inline: 16px; cursor: pointer; }
body[data-page="product"] .price-toolbar select:hover { border-color: #8faf9c; }
body[data-page="product"] .price-toolbar select:focus-visible { outline: 2px solid #125c48; outline-offset: 2px; }
body[data-page="product"] .merchant-card { border: 1px solid #ebebef; border-radius: 14px; margin-bottom: 12px; }
body[data-page="product"] .merchant-card:last-child { margin-bottom: 0; }
body[data-page="product"] .merchant-card-best { border-color: #8faf9c; }
body[data-page="product"] .merchant-card-best summary { background: #f1f7f3; }
body[data-page="product"] .merchant-card summary { min-height: 58px; padding: 12px 16px; gap: 10px; }
body[data-page="product"] .merchant-chevron { order: 3; width: 20px; border: 0; align-self: center; color: #64766d; }
body[data-page="product"] .merchant-avatar { width: 32px; height: 32px; font-size: 12px; background: #f0f4f1; color: #125c48; font-weight: 700; }
body[data-page="product"] .merchant-name { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
body[data-page="product"] .merchant-best-label { flex: none; padding: 4px 8px; border-radius: 6px; background: #dfeee4; color: #125c48; font-size: 11px; font-weight: 700; line-height: 1.3; }
body[data-page="product"] .merchant-offer { grid-template-columns: minmax(0,1fr) auto 36px; padding: 16px; gap: 16px; border-color: #edf0ed; text-decoration: none; }
body[data-page="product"] .merchant-product { min-width: 0; font-size: 15px; color: #293c34; line-height: 1.45; overflow-wrap: anywhere; }
body[data-page="product"] .merchant-delivery { display: block; margin-top: 5px; font-size: 12px; color: #69766f; }
body[data-page="product"] .merchant-price { font-size: 21px; letter-spacing: -.4px; line-height: 1.3; }
body[data-page="product"] .merchant-arrow { color: #125c48; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: #f0f5f1; }
body[data-page="product"] .merchant-offer:hover { background: #f8faf8; }
body[data-page="product"] .merchant-offer:focus-visible,
body[data-page="product"] .merchant-card summary:focus-visible { outline: 2px solid #125c48; outline-offset: -3px; }
body[data-page="product"] #history,
body[data-page="product"] #specs { max-width: none; margin-block: 48px; scroll-margin-top: 20px; }
body[data-page="product"] .section-head h2,
body[data-page="product"] .detail-module-heading h2 { font-size: clamp(24px, 2.3vw, 30px); letter-spacing: -.7px; line-height: 1.25; }
body[data-page="product"] .specs { max-width: none; margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
body[data-page="product"] .specs > div { padding: 16px 20px; }
body[data-page="product"] .specs > div:nth-child(odd) { background: #f8f8fa; }
body[data-page="product"] .specs > div:last-child { border-bottom: 0; }
body[data-page="product"] .detail-related,
body[data-page="product"] .detail-reviews { margin-block: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
body[data-page="product"] .detail-module-intro { color: var(--muted); line-height: 1.6; margin-block: 10px 24px; }
body[data-page="product"] .detail-module-heading > a { font-size: 14px; text-underline-offset: 4px; }
body[data-page="product"] .related-carousel { gap: 18px; }
body[data-page="product"] .related-image { border-radius: 20px; }
body[data-page="product"] .related-alert { border: 1px solid #efeff3; }
body[data-page="product"] .related-alert:hover { background: #f3f9e7; }
body[data-page="product"] .related-item h3 { margin-inline: 2px; }
body[data-page="product"] .related-price { margin-inline: 2px; }
body[data-page="product"] .reviews-layout { gap: clamp(32px, 6vw, 80px); }
body[data-page="product"] .reviews-empty { background: #f8f8fa; border: 1px solid #efeff3; border-radius: 16px; padding: 28px; }
body[data-page="product"] .reviews-empty h3 { font-size: 17px; }
body[data-page="product"] .rating-track { background: #eae9ee; height: 8px; }
[dir="rtl"] body[data-page="product"] .detail h1,
[dir="rtl"] body[data-page="product"] .section-head h2,
[dir="rtl"] body[data-page="product"] .detail-module-heading h2,
[dir="rtl"] body[data-page="product"] .merchant-price { letter-spacing: 0; }
/* Give desktop offers separate, aligned title and price columns. */
@media (min-width: 761px) {
  body[data-page="product"] .merchant-card { margin-bottom: 20px; }
  body[data-page="product"] .merchant-card summary { min-height: 72px; padding: 16px 24px; gap: 14px; }
  body[data-page="product"] .merchant-offer { grid-template-columns: minmax(0, 1fr) minmax(180px, auto) 40px; min-height: 112px; padding: 24px; column-gap: 32px; }
  body[data-page="product"] .merchant-product { max-width: 62ch; line-height: 1.65; }
  body[data-page="product"] .merchant-price { font-size: 22px; padding-inline-start: 24px; border-inline-start: 1px solid #edf0ed; }
  body[data-page="product"] .merchant-arrow { width: 40px; height: 40px; }
}
@media (max-width: 760px) {
  body[data-page="product"] .product-breadcrumb { margin-block: 16px 20px; }
  body[data-page="product"] .detail { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 28px; }
  body[data-page="product"] .detail-art { height: clamp(270px, 82vw, 400px); border-radius: 20px; }
  body[data-page="product"] .detail-copy { padding-top: 0; }
  body[data-page="product"] .detail h1 { font-size: 28px; line-height: 1.25; margin-bottom: 18px; }
  body[data-page="product"] .detail-watch { height: auto; margin-bottom: 20px; }
  body[data-page="product"] .detail-desc { font-size: 16px; margin-bottom: 0; }
  body[data-page="product"] .detail-colors { margin-top: 18px; }
  body[data-page="product"] .detail-color-option { flex-basis: 90px; width: 90px; min-height: 106px; }
  body[data-page="product"] .tabs { gap: 22px; margin-inline: 0; padding-inline: 0; }
  body[data-page="product"] .tabs a { font-size: 14px; padding-block: 14px; }
  body[data-page="product"] .price-section { margin-inline: 0; padding: 12px 0 0; border-radius: 0; margin-bottom: 36px; }
  body[data-page="product"] .merchant-offer { grid-template-columns: minmax(0,1fr) 36px; padding: 12px 14px; gap: 10px 12px; }
  body[data-page="product"] .merchant-price { grid-column: 1; font-size: 20px; text-align: start; }
  body[data-page="product"] .merchant-arrow { grid-column: 2; }
  body[data-page="product"] .merchant-card summary { padding: 10px 14px; gap: 8px; }
  body[data-page="product"] #history,
  body[data-page="product"] #specs { margin-block: 36px; }
  body[data-page="product"] .detail-related,
  body[data-page="product"] .detail-reviews { margin-block: 36px; padding-top: 28px; }
  body[data-page="product"] .related-carousel { gap: 12px; }
  body[data-page="product"] .reviews-empty { padding: 22px; }
  body[data-page="product"] .specs > div { padding: 14px; }
}

/* ---------- infinite scroll (load more on scroll) ---------- */
.infinite-status {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
  color: var(--ink);
  font-size: 14px;
  opacity: .55;
}
.infinite-status.is-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: infinite-spin .7s linear infinite;
}
@keyframes infinite-spin {
  to { transform: rotate(360deg); }
}
.merchant-offer.unreachable { opacity: .6; }

/* ══════════════════════════════════════════════════════════════════
   Kenzam 皮肤 · Bijia 现有功能补充样式
   （国家/币种选择器、图搜/反馈弹窗、悬浮按钮、菜单子类目、
     商品卡附加字段、分页、榜单/店铺/导购/批号/评价页等）
   ══════════════════════════════════════════════════════════════════ */
.main-content { min-height: 55vh; }

/* ── 国家 / 币种下拉（旧功能，新皮肤） ── */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 99px;
  background: #fff; font-weight: 600; font-size: 14px;
}
.nav-dd__toggle:hover { background: var(--soft); }
.nav-dd__flag { font-size: 16px; line-height: 1; }
.nav-dd__toggle-code { font-weight: 700; font-size: 13px; }
.nav-dd__chevron { width: 9px; height: 9px; }
.nav-dd__menu {
  display: none; position: absolute; top: calc(100% + 8px);
  inset-inline-start: 0; min-width: 180px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 12px 32px rgba(7,94,75,.14);
}
.nav-dd.is-open .nav-dd__menu { display: block; }
.nav-dd__item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 12px; font-size: 14px;
}
.nav-dd__item:hover { background: var(--soft); }
.nav-dd__item.is-active { font-weight: 700; background: var(--accent); }
.nav-dd__name { flex: 1; }
.nav-dd__code { font-size: 12px; color: var(--muted); }
.nav-dd__code--min { font-weight: 700; color: var(--ink); }

/* ── 收藏徽标 / 悬浮按钮 ── */
.fav-badge {
  position: absolute; top: 0; inset-inline-end: -2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple); color: #fff; border-radius: 99px;
  font-size: 10px; font-weight: 700; line-height: 1;
}
.icon-button { position: relative; }
.fav-fab, .feedback-fab, .batch-fab {
  position: fixed; inset-inline-end: 18px; z-index: 45;
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 99px;
  background: var(--ink); color: #fff;
  box-shadow: 0 8px 24px rgba(7,94,75,.28);
}
.fav-fab { bottom: 88px; }
.feedback-fab { bottom: 26px; }
.batch-fab {
  bottom: 150px; width: auto; gap: 6px; padding: 0 16px;
  background: var(--purple); font-size: 13px; font-weight: 600;
}
@media (min-width: 761px) {
  .fav-fab, .feedback-fab { display: none; }
}
@media (max-width: 760px) {
  .batch-fab span { display: none; }
  .batch-fab { width: 50px; padding: 0; }
}

/* ── 弹窗（图搜 / 反馈） ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(7,94,75,.55); backdrop-filter: blur(2px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-wrapper {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 480px;
  max-height: 88vh; overflow: auto; padding: 26px;
  box-shadow: 0 24px 64px rgba(7,94,75,.3);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.modal-header h3 { margin: 0; font-size: 19px; letter-spacing: -.4px; }
.modal-close {
  border: 0; background: none; font-size: 26px; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 4px;
}
.modal-close:hover { color: var(--ink); }
.modal-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.modal-tab {
  border: 0; background: var(--soft); border-radius: 99px;
  padding: 9px 18px; font-weight: 600; font-size: 14px; color: var(--muted);
}
.modal-tab.active { background: var(--ink); color: #fff; }
.modal-tab-content { display: none; }
.modal-tab-content.active { display: block; }
.picsearch-upload-area {
  border: 2px dashed var(--line); border-radius: 16px;
  padding: 34px; text-align: center; margin-bottom: 16px;
}
.picsearch-upload-label {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); cursor: pointer; font-weight: 600; font-size: 14px;
}
.picsearch-upload-label.has-file svg { color: var(--ink); }
.picsearch-upload-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.picsearch-submit {
  width: 100%; border: 0; border-radius: 99px; padding: 13px 24px;
  background: var(--accent); font-weight: 700; font-family: inherit; font-size: 15px; cursor: pointer;
}
.picsearch-url-input {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 16px; font-size: 15px; margin-bottom: 14px; font-family: inherit;
}

/* ── 菜单子类目（details/summary） ── */
.menu-category.has-children > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
}
.menu-category.has-children > summary::-webkit-details-marker { display: none; }
.menu-category.has-children > summary::after {
  content: '▾'; font-size: 12px; color: var(--muted);
  transition: transform .15s ease;
}
.menu-category.has-children[open] > summary::after { transform: rotate(180deg); }
.menu-category.has-children > summary:hover { background: var(--soft); }
.menu-children {
  padding: 4px 0 10px 14px; display: flex; flex-direction: column;
}
.menu-children a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--muted);
}
.menu-children a:hover { background: var(--soft); color: var(--ink); }

/* ── 商品卡附加字段 ── */
.card-brand {
  display: block; font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px;
}
.card-spec { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.price-original {
  color: var(--muted); text-decoration: line-through; font-size: 13px;
  margin-inline-start: 8px;
}

/* ── 分页 ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 36px 0 12px; }
.pagination .pill { padding: 10px 18px; font-size: 14px; }

/* ── 页面标题 / 空态 / 面包屑（对齐 tajprice 语义） ── */
.page-title { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -1px; margin: 18px 0 24px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.empty { text-align: center; padding: 64px 24px; }
.empty h1, .empty h2 { font-size: 24px; letter-spacing: -.6px; }
.empty .btn { margin-top: 14px; }

/* ── 榜单页 ── */
.ranking-card {
  display: flex; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 12px; transition: box-shadow .15s;
}
.ranking-card:hover { box-shadow: 0 8px 24px rgba(7,94,75,.08); }
.ranking-rank {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px;
  background: var(--soft); display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
}
.ranking-rank.top { background: var(--accent); }
.ranking-card .art {
  width: 74px; height: 74px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
}
.ranking-card .art img { width: 100%; height: 100%; object-fit: cover; }
.ranking-card .body { flex: 1; min-width: 0; }
.ranking-card .body h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: -.2px; }
.ranking-card .price { font-weight: 800; }
.ranking-list { list-style: none; padding: 0; margin: 0 0 12px; }
.ranking-list li { border-bottom: 1px solid var(--line); }
.ranking-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; font-size: 15px; }
.ranking-list a:hover { color: var(--purple); }

/* ── 店铺页 ── */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.store-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: block; transition: box-shadow .15s;
}
.store-card:hover { box-shadow: 0 8px 24px rgba(7,94,75,.08); }
.store-card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.3px; }
.store-card .muted { font-size: 13px; }
.store-card .count { margin-top: 12px; display: inline-flex; gap: 6px; }

/* ── 导购文章卡 ── */
.article-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .15s;
}
.article-card:hover { box-shadow: 0 8px 24px rgba(7,94,75,.08); }
.article-card .art { aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.article-card .art img { width: 100%; height: 100%; object-fit: cover; }
.article-card .body { padding: 14px 16px; }
.article-card .body h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.2px; }
.article-card .body .muted { font-size: 12px; }
.guide-article {
  max-width: 760px; margin: 0 auto; padding: 24px 0 40px;
}
.guide-article h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -1px; margin: 14px 0; }
.guide-article .cover { width: 100%; border-radius: var(--radius); margin: 18px 0; }
.guide-article .content { font-size: 16px; line-height: 1.75; }
.guide-article .content img { max-width: 100%; border-radius: 14px; }

/* ── 批号解析页 ── */
.batch-form {
  max-width: 640px; margin: 28px 0; display: flex; flex-direction: column; gap: 14px;
}
.batch-form label { font-weight: 600; font-size: 14px; }
.batch-form input {
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px;
  font-size: 15px; font-family: inherit;
}
.batch-form button { align-self: flex-start; }
.batch-result { max-width: 640px; }
.batch-result .row { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.batch-result .row dt { color: var(--muted); }
.batch-result .row dd { margin: 0; font-weight: 700; }

/* ── 评价页 ── */
.review-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
.review-card .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-card .author { font-weight: 700; font-size: 14px; }
.review-card .stars { color: #f59e0b; letter-spacing: 2px; }
.review-card p { margin: 0; font-size: 15px; }

/* ── 响应式微调 ── */
@media (max-width: 900px) {
  .header { gap: 16px; }
  .header .search { display: none; }   /* 移动端搜索走菜单/搜索启动页 */
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .nav-dd__toggle { padding: 0 10px; }
}

/* 搜索启动页嵌入 .wrap 容器时的高度修正 */
.wrap .search-launch { min-height: 50vh; padding-top: 8vh; }

/* ── 菜单内设置区（国家/币种/图搜/反馈） ── */
.menu-settings {
  border-top: 1px solid var(--line);
  padding: 14px 18px 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.menu-settings > a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  font-weight: 600; font-size: 14px;
}
.menu-settings > a:hover { background: var(--soft); }
.menu-settings-row { display: flex; align-items: flex-start; gap: 10px; }
.menu-settings-label {
  flex-shrink: 0; min-width: 64px; padding-top: 8px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.menu-settings-options { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-settings-pill { padding: 6px 12px; font-size: 13px; }
.menu-settings-pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
