:root {
  --ink: #1d201b;
  --muted: #71736b;
  --line: #e9e4da;
  --cream: #fffaf3;
  --paper: #ffffff;
  --orange: #ff5c1a;
  --orange-dark: #dc3e00;
  --yellow: #ffc83d;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }

a { color: inherit; }

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

.topbar {
  height: 78px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1px;
}

.brand > span:last-child > span { color: var(--orange); }

.brand-mark {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .22);
  font-size: 15px;
  letter-spacing: 0;
}

.top-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.hero {
  min-height: 525px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 55px 28px 75px;
}

.hero-copy { max-width: 650px; }

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 92, 26, .13);
}

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
  margin: 0;
}

h1 {
  max-width: 660px;
  margin-top: 22px;
  font-size: clamp(54px, 6.4vw, 89px);
  line-height: .98;
  letter-spacing: -5px;
}

h1 em {
  position: relative;
  color: var(--orange);
  font-style: normal;
}

h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -6px;
  height: 9px;
  border-radius: 50%;
  border-top: 3px solid var(--yellow);
  transform: rotate(-2deg);
}

.hero-copy > p {
  max-width: 560px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 18px 15px 22px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 0 rgba(29, 32, 27, .13);
  transition: transform .2s, box-shadow .2s;
}

.primary-button span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
}

.primary-button:hover { transform: translateY(-2px); box-shadow: 0 9px 0 rgba(29, 32, 27, .13); }

.hero-art {
  position: relative;
  min-height: 370px;
  display: grid;
  place-items: center;
}

.orange-orbit {
  position: absolute;
  border: 2px solid rgba(255, 92, 26, .2);
  border-radius: 50%;
}

.orbit-one { width: 390px; height: 290px; transform: rotate(-16deg); }
.orbit-two { width: 300px; height: 360px; transform: rotate(28deg); border-style: dashed; }

.deal-ticket {
  position: relative;
  z-index: 2;
  width: 245px;
  padding: 28px 28px 25px;
  border: 1px solid rgba(29, 32, 27, .08);
  border-radius: 26px;
  background: white;
  box-shadow: 0 32px 70px rgba(107, 66, 37, .18);
  transform: rotate(4deg);
}

.deal-ticket::before, .deal-ticket::after {
  content: "";
  position: absolute;
  top: 68%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
}

.deal-ticket::before { left: -12px; }
.deal-ticket::after { right: -12px; }
.deal-ticket > span { color: var(--orange-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.deal-ticket strong { display: flex; align-items: end; margin: 8px 0 15px; font: 800 67px/1 "Manrope", sans-serif; letter-spacing: -5px; }
.deal-ticket strong small { width: 48px; margin: 0 0 8px 8px; color: var(--orange); font-size: 15px; line-height: 1.05; letter-spacing: -.5px; }
.ticket-line { border-top: 1px dashed #d8d2c7; }
.deal-ticket p { margin: 17px 0 2px; color: var(--muted); font-size: 12px; }
.deal-ticket b { font: 800 22px "Manrope", sans-serif; }

.coin {
  position: absolute;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 7px solid #ffad18;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a66100;
  background: var(--yellow);
  box-shadow: 0 13px 20px rgba(166, 97, 0, .22), inset 0 0 0 2px #ffe28a;
  font: 800 25px "Manrope", sans-serif;
}

.coin-one { top: 28px; right: 19%; transform: rotate(14deg); }
.coin-two { bottom: 28px; left: 15%; width: 45px; height: 45px; font-size: 19px; transform: rotate(-18deg); }

.catalog {
  padding: 78px max(28px, calc((100vw - 1184px) / 2)) 100px;
  background: var(--paper);
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.catalog-heading h2 {
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -2.7px;
}

.catalog-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.filters {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(145px, .7fr));
  gap: 12px;
  margin-top: 34px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fcfbf8;
}

.filters label:not(.search-field) { position: relative; }

.field-label {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 14px;
  color: #8e8c85;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
}

.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 15px; width: 20px; fill: none; stroke: #777871; stroke-width: 1.8; }

input, select {
  width: 100%;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--ink);
  background: white;
  outline: none;
}

input { padding: 0 15px 0 46px; }
select { padding: 18px 34px 2px 13px; cursor: pointer; }
input:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 92, 26, .1); }
input::placeholder { color: #9b9a94; }

.results-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.results-bar p { margin: 0; color: var(--muted); font-size: 13px; }
.results-bar p strong { color: var(--ink); }
.results-bar button, .empty-state button { padding: 0; border: 0; border-bottom: 1px solid; color: var(--muted); background: transparent; font-size: 12px; cursor: pointer; }

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.product-card:hover { transform: translateY(-5px); border-color: #ddd4c5; box-shadow: 0 18px 45px rgba(48, 42, 32, .09); }

.product-visual {
  position: relative;
  height: 205px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-visual::after {
  content: "";
  position: absolute;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
}

.product-visual svg {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 105px;
  fill: none;
  stroke: #252721;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 12px 9px rgba(44, 38, 28, .12));
}

.theme-apricot { background: #ffd6ba; }
.theme-mint { background: #dcefdc; }
.theme-sky { background: #d8ebf3; }
.theme-lavender { background: #e7e0f3; }
.theme-rose { background: #f4dfe1; }
.theme-sand { background: #eee5cf; }
.theme-lime { background: #e5efc9; }
.theme-peach { background: #f7ddd0; }

.discount-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  padding: 7px 9px;
  border-radius: 8px;
  color: white;
  background: var(--orange);
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(220, 62, 0, .2);
}

.discount-badge b { font-size: 13px; }

.product-content { padding: 19px 18px 18px; }
.category { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.product-content h3 { min-height: 46px; margin-top: 7px; font-size: 16px; line-height: 1.4; letter-spacing: -.35px; }
.rating { margin-top: 10px; color: #4f514a; font-size: 12px; }
.rating > span { color: #ffad18; }
.rating small { color: #96958e; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 18px 0 15px;
}

.price { display: flex; flex-direction: column; }
.price del { color: #96958e; font-size: 11px; }
.price strong { margin-top: 2px; font: 800 22px "Manrope", sans-serif; letter-spacing: -1px; }
.saving { color: #8a8981; font-size: 9px; line-height: 1.15; text-align: right; }
.saving b { color: #438348; font-size: 11px; }

.product-link {
  min-height: 43px;
  padding: 0 13px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: #f5f3ee;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s, background .2s;
}

.product-link:hover { color: white; background: var(--ink); }

.empty-state {
  padding: 75px 20px;
  border: 1px dashed #ddd6ca;
  border-radius: var(--radius);
  text-align: center;
  background: #fcfbf8;
}

.empty-state > span { display: block; color: var(--orange); font-size: 50px; }
.empty-state h3 { margin-top: 10px; }
.empty-state p { color: var(--muted); }
.empty-state button { margin-top: 10px; color: var(--orange-dark); }

footer {
  max-width: 1184px;
  margin: 0 auto;
  padding: 45px 28px 55px;
  display: grid;
  grid-template-columns: auto 1fr minmax(300px, 440px);
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}

.footer-brand { color: var(--ink); }
.disclaimer { line-height: 1.5; text-align: right; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr .8fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-art { min-height: 330px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 15px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: 0 auto; }
  .disclaimer { text-align: center; }
}

@media (max-width: 520px) {
  .topbar { height: 68px; padding: 0 18px; }
  .top-link { display: none; }
  .hero { padding: 38px 18px 58px; }
  h1 { font-size: 50px; letter-spacing: -3.5px; }
  .hero-copy > p { font-size: 16px; }
  .hero-art { min-height: 310px; transform: scale(.9); margin: -10px -20px; }
  .catalog { padding: 60px 18px 75px; }
  .catalog-heading h2 { font-size: 35px; }
  .filters { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-visual { height: 235px; }
  .product-content h3 { min-height: auto; }
  footer { padding: 36px 18px 45px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
