.snpl {
  --snpl-ink: #2e302d;
  --snpl-muted: #686b65;
  --snpl-line: #e7e3d9;
  --snpl-cream: #f8f6f0;
  --snpl-gold: #8a6d31;
  --snpl-gold-soft: #f1eadb;
  --snpl-green: #38634c;
  direction: rtl;
  color: var(--snpl-ink);
  font-family: inherit;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  padding: 16px 0 44px;
  text-align: right;
  line-height: 1.85;
}
.snpl *, .snpl *::before, .snpl *::after { box-sizing: border-box; }
.snpl [hidden] { display: none !important; }
.snpl h1, .snpl h2, .snpl p { margin-top: 0; }
.snpl h1 { color: var(--snpl-ink); font-size: clamp(25px, 3vw, 38px); line-height: 1.5; margin-bottom: 10px; }
.snpl .snpl-header { padding: 12px 0 26px; }
.snpl .snpl-header h2 { color: var(--snpl-ink); font-size: clamp(23px, 2.8vw, 34px); font-weight: 600; line-height: 1.6; margin: 0 0 10px; }
.snpl .snpl-header p { color: var(--snpl-muted); max-width: 760px; font-size: 15px; margin-bottom: 0; }
.snpl .snpl-eyebrow { color: var(--snpl-gold); font-size: 10px; letter-spacing: 2px; direction: ltr; text-align: right; margin-bottom: 12px; }
.snpl .snpl-intro, .snpl .snpl-description { color: var(--snpl-muted); max-width: 760px; font-size: 15px; margin-bottom: 24px; }
.snpl .snpl-filters {
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) minmax(230px, 1fr) minmax(140px, .8fr) minmax(230px, 1.25fr);
  gap: 18px 16px;
  padding: 24px;
  background: var(--snpl-cream);
  border: 1px solid var(--snpl-line);
  border-radius: 20px;
  margin: 0 0 20px;
  min-width: 0;
}
.snpl .snpl-field { min-width: 0; margin: 0; }
.snpl .snpl-label { display: block; padding: 0; margin: 0 0 7px; font-size: 13px; font-weight: 600; color: var(--snpl-ink); }
.snpl .snpl-control {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 8px 12px;
  margin: 0;
  background: #fff;
  border: 1px solid #d7d3c9;
  border-radius: 9px;
  box-shadow: none;
  color: var(--snpl-ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}
.snpl select.snpl-control { padding-inline-end: 30px; appearance: auto; background-image: none; }
.snpl input.snpl-control { box-sizing: border-box; }
.snpl .snpl-control::placeholder { color: #767970; opacity: 1; }
.snpl .snpl-control:focus, .snpl a:focus-visible, .snpl button:focus-visible {
  outline: 3px solid #b58c3d;
  outline-offset: 3px;
  border-color: var(--snpl-gold);
}
.snpl .snpl-control[aria-invalid="true"] { border-color: #a33b32; }
.snpl .snpl-price-filter { min-width: 0; padding: 0; margin: 0; border: 0; }
.snpl .snpl-price-filter legend { float: none; width: auto; font-family: inherit; }
.snpl .snpl-price-inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.snpl .snpl-price-field .snpl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.snpl .snpl-price-field input { direction: ltr; text-align: right; }
.snpl .snpl-filter-options { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; align-self: end; min-height: 46px; }
.snpl .snpl-stock-label { display: inline-flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; color: var(--snpl-ink); font-size: 13px; }
.snpl .snpl-stock-label input { display: inline-block; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: var(--snpl-gold); cursor: pointer; }
.snpl .snpl-reset { border: 0; border-radius: 6px; background: transparent; padding: 9px 4px; margin: 0; color: #6d5528; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; box-shadow: none; cursor: pointer; }
.snpl .snpl-reset:hover { color: var(--snpl-ink); background: transparent; }
.snpl .snpl-filter-error { padding: 10px 14px; border-right: 3px solid #a33b32; color: #8d2923; background: #fff4f1; font-size: 13px; margin-bottom: 18px; }
.snpl .snpl-results-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 14px 24px; flex-wrap: wrap; margin: 0 0 14px; }
.snpl .snpl-status { margin-bottom: 0; font-size: 14px; font-weight: 600; }
.snpl .snpl-results-note { color: var(--snpl-muted); font-size: 12px; margin: 0; }
.snpl .snpl-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.snpl .snpl-product {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(165px, .42fr) 158px;
  align-items: center;
  column-gap: 20px;
  min-width: 0;
  border: 1px solid var(--snpl-line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}
.snpl .snpl-image-wrap { display: block; position: relative; width: 88px; height: 88px; border-radius: 11px; overflow: hidden; background: var(--snpl-cream); color: var(--snpl-muted); text-decoration: none; }
.snpl .snpl-image-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 11px; }
.snpl .snpl-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: inherit; }
.snpl .snpl-product-details { min-width: 0; }
.snpl .snpl-product-title { margin: 0 0 5px; color: var(--snpl-ink); font-size: 15px; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; }
.snpl .snpl-product-title a { color: inherit; text-decoration: none; }
.snpl .snpl-product-title a:hover { color: var(--snpl-gold); }
.snpl .snpl-sku { color: var(--snpl-muted); font-size: 12px; margin: 0 0 7px; }
.snpl .snpl-sku bdi { font-variant-numeric: tabular-nums; font-weight: 500; }
.snpl .snpl-colors { display: flex; flex-wrap: wrap; gap: 5px; }
.snpl .snpl-color-chip { display: inline-block; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--snpl-line); color: #60635c; background: #faf9f6; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.snpl .snpl-color-chip.is-selected { border-color: #b08d4b; color: #654d20; background: var(--snpl-gold-soft); }
.snpl .snpl-more-colors { margin: 4px 0 0; padding: 0; border: 0; }
.snpl .snpl-more-colors summary { width: fit-content; max-width: 100%; min-height: 32px; padding: 4px 0; color: #6b5427; font-size: 11px; line-height: 2; cursor: pointer; }
.snpl .snpl-more-colors summary:hover { color: var(--snpl-ink); }
.snpl .snpl-more-colors summary:focus-visible { outline: 3px solid #b58c3d; outline-offset: 3px; border-radius: 3px; }
.snpl .snpl-extra-colors { padding-top: 4px; }
.snpl .snpl-colors-empty { color: var(--snpl-muted); font-size: 11px; margin: 0; }
.snpl .snpl-product-price { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; min-width: 0; }
.snpl .snpl-price-caption { color: var(--snpl-muted); font-size: 11px; }
.snpl .snpl-price-value { color: var(--snpl-ink); font-size: 14px; font-weight: 700; line-height: 1.9; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.snpl .snpl-availability { color: #74766f; font-size: 11px; }
.snpl .snpl-availability.is-available { color: var(--snpl-green); }
.snpl .snpl-availability.is-available::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 5px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.snpl .snpl-product-action { min-width: 0; }
.snpl .snpl-product-link { display: block; padding: 10px 8px; border: 1px solid #d9c9a7; border-radius: 9px; color: #6b5427; background: #fffdf8; font-size: 12px; line-height: 1.7; text-align: center; text-decoration: none; }
.snpl .snpl-product-link:hover { color: #4f3c19; border-color: #a38245; background: var(--snpl-gold-soft); }
.snpl .snpl-more-wrap { text-align: center; margin-top: 24px; }
.snpl .snpl-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border: 1px solid #8a6d31; border-radius: 9px; background: #8a6d31; color: #fff; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.7; text-decoration: none; cursor: pointer; box-shadow: none; }
.snpl .snpl-button:hover { background: #725824; border-color: #725824; color: #fff; }
.snpl .snpl-data-note { color: var(--snpl-muted); font-size: 12px; text-align: center; margin: 20px 0 0; }
.snpl .snpl-empty, .snpl .snpl-error { padding: 36px 24px; text-align: center; background: var(--snpl-cream); border: 1px solid var(--snpl-line); border-radius: 14px; }
.snpl .snpl-empty h2, .snpl .snpl-error h2 { font-size: 18px; line-height: 1.8; margin-bottom: 8px; }
.snpl .snpl-empty p, .snpl .snpl-error p { color: var(--snpl-muted); font-size: 13px; margin-bottom: 16px; }
.snpl .snpl-results[aria-busy="true"] { min-height: 100px; }
@media (max-width: 1050px) {
  .snpl .snpl-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snpl .snpl-filter-options { grid-column: auto; }
  .snpl .snpl-product { grid-template-columns: 76px minmax(0, 1fr) minmax(145px, .6fr); column-gap: 16px; }
  .snpl .snpl-image-wrap { width: 76px; height: 86px; grid-row: 1 / 3; }
  .snpl .snpl-product-details { grid-row: 1 / 3; }
  .snpl .snpl-product-action { grid-column: 3; margin-top: 9px; }
}
@media (max-width: 680px) {
  .snpl { padding-top: 8px; }
  .snpl .snpl-filters { padding: 16px; gap: 14px 10px; border-radius: 14px; }
  .snpl .snpl-search-field, .snpl .snpl-category-field, .snpl .snpl-price-filter, .snpl .snpl-filter-options { grid-column: 1 / -1; }
  .snpl .snpl-filter-options { flex-wrap: wrap; min-height: 36px; gap: 8px 14px; }
  .snpl .snpl-control { font-size: 13px; min-height: 46px; }
  .snpl .snpl-results-bar { margin-bottom: 12px; gap: 6px; }
  .snpl .snpl-results-note { font-size: 11px; line-height: 1.9; }
  .snpl .snpl-product { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .snpl .snpl-image-wrap { width: 70px; height: 82px; grid-row: 1; align-self: start; }
  .snpl .snpl-product-details { grid-row: 1; }
  .snpl .snpl-product-title { font-size: 14px; }
  .snpl .snpl-product-price { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid #efede7; }
  .snpl .snpl-price-value { font-size: 15px; }
  .snpl .snpl-product-action { grid-column: 1 / -1; margin-top: 0; }
  .snpl .snpl-product-link { min-height: 43px; padding: 10px 12px; font-size: 13px; }
  .snpl .snpl-color-chip { font-size: 10px; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .snpl *, .snpl *::before, .snpl *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
