:root {
  --bg: #fff7f2;
  --surface: #ffffff;
  --ink: #211716;
  --muted: #6f5d59;
  --line: #eadbd3;
  --coral: #c95742;
  --coral-dark: #9f3c2b;
  --green: #18554d;
  --green-soft: #dff0eb;
  --butter: #ffe5a4;
  --blush: #f9ded7;
  --shadow: 0 16px 38px rgba(61, 35, 29, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px;
  background: rgba(255, 247, 242, 0.92);
  border-bottom: 1px solid rgba(234, 219, 211, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 7px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(82svh - 58px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #1c1512;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 12, 11, 0.06) 0%, rgba(15, 12, 11, 0.1) 35%, rgba(15, 12, 11, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 12, 11, 0.46), rgba(15, 12, 11, 0.04));
}

.hero__content {
  width: min(100%, 780px);
  padding: 48px 18px 24px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--butter);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 17ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 700;
}

h3 {
  font-size: 21px;
}

.offer {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--butter);
  font-size: 18px;
  font-weight: 850;
}

.hero__copy {
  max-width: 610px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.hero__actions,
.inline-actions,
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 9px 20px rgba(201, 87, 66, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--coral-dark);
}

.button--secondary {
  border-color: var(--green);
  background: #fff;
  color: var(--green);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--green-soft);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

section {
  padding: 50px 16px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 22px;
}

.section-heading p:not(.eyebrow) {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading--light p:not(.eyebrow),
.section-heading--light h2 {
  color: #fff;
}

.featured {
  background: #fff;
}

.featured__layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.featured-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(76%, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-color: var(--coral) var(--blush);
}

.featured-carousel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 8px;
  background: var(--blush);
}

.featured__copy {
  align-self: center;
  padding: 18px 0 0;
}

.featured__copy p {
  max-width: 520px;
  color: var(--muted);
}

.featured__price {
  margin: 12px 0 6px;
  color: var(--ink) !important;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.catalog {
  background: var(--bg);
}

.filters {
  position: sticky;
  top: 58px;
  z-index: 10;
  max-width: 1120px;
  margin: 0 auto 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  background: rgba(255, 247, 242, 0.94);
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 9px 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.product-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 10px;
}

.product-section[hidden] {
  display: none;
}

.product-section__heading {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.product-section__heading p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card[hidden] {
  display: none;
}

.product-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: var(--blush);
  scrollbar-width: none;
}

.product-gallery::-webkit-scrollbar {
  display: none;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  scroll-snap-align: start;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-category {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-title {
  font-size: 18px;
  line-height: 1.15;
}

.price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price {
  color: var(--ink);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.delivery-copy,
.sizes-copy,
.delivery-small {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.delivery-copy {
  color: var(--ink);
  font-weight: 850;
}

.sizes-copy {
  color: var(--green);
  font-weight: 850;
}

.delivery-small {
  font-size: 13px;
}

.delivery-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.product-actions {
  display: grid;
  gap: 8px;
}

.product-actions .button {
  width: 100%;
}

.trust-detail {
  background: var(--green);
  color: #fff;
}

.trust-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.trust-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.how {
  background: #fff;
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  font-weight: 800;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--butter);
  color: var(--ink);
  font-weight: 950;
}

.final-cta {
  display: grid;
  gap: 18px;
  align-items: center;
  background: var(--blush);
}

.final-cta > div {
  max-width: 760px;
  margin-inline: auto;
  width: 100%;
}

.final-cta p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 16px;
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-weight: 850;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

@media (min-width: 720px) {
  .site-header {
    padding-inline: 28px;
  }

  .hero {
    min-height: calc(84svh - 58px);
  }

  .hero__content {
    padding: 90px 32px 32px;
  }

  h1 {
    max-width: 16ch;
    font-size: 48px;
  }

  h2 {
    font-size: 44px;
  }

  h3 {
    font-size: 23px;
  }

  .offer {
    font-size: 21px;
  }

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

  section {
    padding: 68px 28px;
  }

  .featured__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 28px;
  }

  .featured-carousel {
    grid-auto-columns: minmax(36%, 1fr);
  }

  .featured__copy {
    padding: 0;
  }

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

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

  .final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: max(28px, calc((100vw - 1120px) / 2));
  }

}

@media (max-width: 420px) {
  .site-header {
    gap: 6px;
    padding-inline: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .top-nav a {
    font-size: 12px;
    padding-inline: 5px;
  }
}

@media (min-width: 1060px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 54px;
  }

  .hero__content {
    margin-left: max(0px, calc((100vw - 1120px) / 2));
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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