:root {
  --ink: #201d18;
  --paper: #f6f1e8;
  --paper-deep: #ece3d5;
  --clay: #a65132;
  --clay-dark: #7b3824;
  --sage: #7b806b;
  --muted: #746e64;
  --line: rgba(32, 29, 24, 0.16);
  --light-line: rgba(255, 255, 255, 0.18);
  --white: #fffdf9;
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(45, 35, 25, 0.16);
  --header-height: 76px;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.drawer-open,
body.dialog-open {
  overflow: hidden;
}

main,
.site-footer {
  min-width: 0;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  min-width: 0;
  font: inherit;
}

button {
  cursor: pointer;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

::selection {
  background: var(--clay);
  color: var(--white);
}

.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;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), 1320px);
  margin-inline: auto;
}

.section {
  padding-block: 118px;
  scroll-margin-top: var(--header-height);
}

.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reusable typography and controls */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(48px, 6.3vw, 94px);
}

h2 {
  font-size: clamp(42px, 4.7vw, 68px);
}

h1 em,
h2 em {
  color: var(--clay);
  font-weight: inherit;
}

.eyebrow {
  margin-bottom: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.intro {
  max-width: 600px;
  font-size: 18px;
}

.intro--light {
  color: rgba(255, 255, 255, 0.68);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 26px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.button:hover {
  transform: translateY(-2px);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  background: #000;
}

.button--outline {
  border-color: var(--line);
}

.button--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 17px;
}

.text-link--light {
  color: var(--white);
}

/* Announcement and navigation */

.announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(18px);
}

.nav-row {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.brand i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.brand--light {
  color: var(--white);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
}

.nav-links a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--ink);
  transition: transform 0.25s;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-button,
.cart-button,
.nav-toggle {
  border: 0;
  background: transparent;
  color: inherit;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 21px;
}

.counter {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding-inline: 4px;
  border-radius: 10px;
  background: var(--clay);
  color: var(--white);
  font-size: 9px;
  line-height: 16px;
}

.cart-button {
  min-height: 42px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-button span {
  margin-left: 6px;
  color: var(--clay);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin-block: 6px;
  background: currentColor;
}

/* Hero */

.hero {
  padding-block: 60px 82px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.76fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

.hero__content {
  min-width: 0;
  padding-block: 48px;
}

.hero__lead {
  max-width: 590px;
  margin-block: 30px 36px;
  color: var(--muted);
  font-size: 18px;
}

.hero__promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 60px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero__promises li {
  display: flex;
  flex-direction: column;
}

.hero__promises strong {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__promises span {
  color: var(--muted);
  font-size: 12px;
}

.hero__visual {
  position: relative;
  min-width: 0;
  height: min(70vh, 720px);
  min-height: 560px;
}

.hero__image {
  object-position: center 58%;
}

.hero__card {
  position: absolute;
  bottom: -34px;
  left: -54px;
  width: 210px;
  padding: 28px;
  background: var(--clay);
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero__card span,
.hero__card a {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__card strong {
  display: block;
  margin-block: 14px 26px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}

.hero__card a {
  padding-top: 14px;
  border-top: 1px solid var(--light-line);
}

.hero__index {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Category strip */

.category-strip {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.category-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.category-strip a {
  min-width: 0;
  padding: 25px 20px;
  border-right: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 20px;
  text-align: center;
  transition: background 0.25s, color 0.25s;
}

.category-strip a:first-child {
  border-left: 1px solid var(--line);
}

.category-strip a:hover {
  background: var(--ink);
  color: var(--white);
}

.category-strip span {
  margin-right: 9px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 9px;
}

/* Catalogue and filters */

.section--paper {
  background: var(--white);
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
}

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

.section-heading > p {
  max-width: 430px;
  margin-bottom: 4px;
  color: var(--muted);
}

.shop-heading {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.filters {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 28px);
  min-width: 0;
}

.filters__top {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-toggle {
  display: none;
}

.search-field {
  position: relative;
  display: block;
  margin-block: 24px 30px;
}

.search-field input {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  border-radius: 0;
}

.search-field input:focus {
  border-color: var(--clay);
}

.search-field > span:last-child {
  position: absolute;
  right: 2px;
  top: 10px;
  font-size: 20px;
}

.filter-group {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.filter-group legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-options {
  display: grid;
  gap: 4px;
}

.filter-option {
  cursor: pointer;
}

.filter-option input,
.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.filter-option span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 6px;
  color: var(--muted);
  font-size: 13px;
}

.filter-option span::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.filter-option input:checked + span {
  color: var(--ink);
  font-weight: 600;
}

.filter-option input:checked + span::after {
  border-color: var(--clay);
  background: var(--clay);
}

.range {
  width: 100%;
  accent-color: var(--clay);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  cursor: pointer;
  font-size: 12px;
}

.switch > span {
  position: relative;
  width: 34px;
  height: 18px;
  flex: 0 0 34px;
  border-radius: 20px;
  background: #d8d0c4;
  transition: background 0.2s;
}

.switch > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s;
}

.switch input:checked + span {
  background: var(--clay);
}

.switch input:checked + span::after {
  transform: translateX(16px);
}

.reset-button {
  margin-top: 24px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.catalogue {
  min-width: 0;
}

.catalogue__bar {
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.catalogue__bar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.sort-field select {
  max-width: 170px;
  padding: 6px 26px 6px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 24px;
}

.product-card {
  min-width: 0;
}

.product-card.is-hidden {
  display: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}

.product-card__media img {
  transition: transform 0.65s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  background: var(--white);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  font-size: 20px;
}

.favorite-button[aria-pressed="true"] {
  background: var(--clay);
  color: var(--white);
}

.quick-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  min-height: 44px;
  transform: translateY(calc(100% + 16px));
  border: 0;
  background: rgba(32, 29, 24, 0.92);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 0.25s;
}

.product-card:hover .quick-button,
.quick-button:focus-visible {
  transform: translateY(0);
}

.product-card__body {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-top: 16px;
}

.product-card__body p {
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.product-card__body > strong {
  flex: 0 0 auto;
  font-size: 13px;
}

.product-card__origin {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 11px;
}

.add-button {
  width: 100%;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.add-button:hover {
  background: var(--ink);
  color: var(--white);
}

.empty-state {
  padding: 80px 24px;
  border: 1px solid var(--line);
  text-align: center;
}

.empty-state > span {
  font-size: 46px;
}

.empty-state h3 {
  margin: 12px 0 6px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.empty-state p {
  color: var(--muted);
}

/* Craft and editorial sections */

.craft {
  background: var(--ink);
  color: var(--white);
}

.craft h2 em {
  color: #d88c6b;
}

.craft__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
}

.craft__media {
  position: relative;
  height: 720px;
  margin: 0;
}

.craft__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 18px 26px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
}

.craft__content {
  min-width: 0;
}

.craft__content .intro {
  margin-block: 30px 44px;
}

.steps {
  margin: 0 0 44px;
  padding: 0;
  border-top: 1px solid var(--light-line);
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--light-line);
}

.steps > li > span {
  color: #d88c6b;
  font-size: 10px;
}

.steps strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.steps p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.journal {
  background: var(--paper-deep);
}

.journal__grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.72fr;
  align-items: end;
  gap: 28px;
}

.journal__copy {
  align-self: center;
  padding-right: 28px;
}

.journal__copy p:not(.eyebrow) {
  margin-block: 28px;
  color: var(--muted);
}

.story-card {
  min-width: 0;
  margin: 0;
}

.story-card > img {
  width: 100%;
  height: 530px;
}

.story-card--small > img {
  height: 390px;
}

.story-card div {
  padding-top: 18px;
}

.story-card span {
  color: var(--clay);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 7px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
}

.story-card a {
  font-size: 10px;
  text-transform: uppercase;
}

/* Contact and newsletter */

.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(60px, 10vw, 150px);
}

.contact__copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-block: 28px;
  color: var(--muted);
}

.contact__copy ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact__copy li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.contact-form {
  min-width: 0;
  padding: 42px;
  background: var(--paper);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.field {
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  border-radius: 0;
}

.field input,
.field select {
  height: 48px;
}

.field textarea {
  display: block;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--clay);
}

.form-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--clay-dark);
  font-size: 12px;
}

.newsletter {
  padding-block: 74px;
  background: var(--clay);
  color: var(--white);
}

.newsletter h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.newsletter h2 em {
  color: #f3c3ae;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  align-items: end;
  gap: 80px;
}

.newsletter form > div {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.newsletter input {
  width: 100%;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

.newsletter button {
  width: 54px;
  flex: 0 0 54px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 25px;
}

.newsletter form p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

/* Footer */

.site-footer {
  padding-block: 76px 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.7fr);
  gap: 50px;
  padding-bottom: 62px;
}

.footer-grid > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  font-size: 12px;
}

.footer-grid > div:first-child p {
  max-width: 300px;
  margin-top: 16px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--light-line);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Dialog, cart and feedback */

.quick-view {
  width: min(920px, calc(100% - 40px));
  max-height: min(760px, calc(100dvh - 40px));
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quick-view::backdrop {
  background: rgba(20, 17, 13, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 28px;
  line-height: 1;
}

.quick-view > .dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border-radius: 50%;
  background: var(--white);
}

.quick-view__grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  min-height: 610px;
}

.quick-view__grid > img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
}

.quick-view__copy {
  min-width: 0;
  align-self: center;
  padding: 52px;
}

.quick-view__copy h2 {
  font-size: 50px;
}

.quick-price {
  display: block;
  margin-block: 18px 24px;
  color: var(--clay);
  font-size: 18px;
}

.quick-view__copy > p:not(.eyebrow) {
  color: var(--muted);
}

.quick-view dl {
  margin-block: 28px;
  border-top: 1px solid var(--line);
}

.quick-view dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.quick-view dt {
  color: var(--muted);
}

.quick-view dd {
  margin: 0;
}

.quantity-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 11px;
  text-transform: uppercase;
}

.quantity-field input {
  width: 64px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.drawer-backdrop {
  position: fixed;
  z-index: 49;
  inset: 0;
  background: rgba(20, 17, 13, 0.58);
  opacity: 0;
  transition: opacity 0.3s;
}

.drawer-backdrop.is-visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  overflow: hidden;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(20, 17, 13, 0.18);
  transition: transform 0.32s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header .eyebrow {
  margin-bottom: 3px;
}

.cart-drawer__header h2 {
  font-size: 38px;
}

.cart-drawer__header h2 span {
  color: var(--clay);
  font-family: var(--sans);
  font-size: 14px;
}

.cart-items {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-inline: 30px;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 15px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 82px;
  height: 102px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  margin-top: 13px;
}

.cart-item__quantity button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: transparent;
}

.cart-item__quantity span {
  width: 30px;
  text-align: center;
  font-size: 11px;
}

.cart-item__remove {
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
}

.cart-empty {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 40px;
  text-align: center;
}

.cart-empty > span {
  font-size: 54px;
}

.cart-empty p {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
}

.cart-summary {
  padding: 24px 30px 28px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cart-summary > p:not(.form-status) {
  margin-block: 8px 18px;
  color: var(--muted);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
  padding: 13px 18px;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  transition: transform 0.25s, opacity 0.25s;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Motion */

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.65s ease, opacity 0.65s ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Tablet */

@media (max-width: 1100px) {
  .nav-row {
    grid-template-columns: auto auto 1fr;
    gap: 15px;
  }

  .nav-toggle {
    display: block;
  }

  .brand {
    justify-self: start;
  }

  .nav-actions {
    justify-self: end;
  }

  .nav-links {
    position: fixed;
    top: calc(34px + var(--header-height));
    right: 0;
    left: 0;
    height: calc(100dvh - 34px - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    transform: translateX(-100%);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-family: var(--serif);
    font-size: 30px;
    text-transform: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    gap: 50px;
  }

  .hero__card {
    left: -26px;
  }

  .shop-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 36px;
  }

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

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

  .journal__copy {
    grid-column: 1 / -1;
    max-width: 680px;
    margin-bottom: 30px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 0.7fr);
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .section {
    padding-block: 88px;
  }

  .hero {
    padding-top: 35px;
  }

  .hero__grid,
  .craft__grid,
  .contact__grid,
  .newsletter__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__content {
    padding-block: 20px;
  }

  .hero__visual {
    width: calc(100% - 26px);
    height: 620px;
    margin-left: 26px;
  }

  .hero__card {
    left: -26px;
  }

  .category-strip__grid {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    width: max-content;
    min-width: 100%;
  }

  .category-strip {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .shop-layout {
    display: block;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 26px;
  }

  .shop-heading {
    margin-bottom: 48px;
  }

  .filters {
    position: static;
    margin-bottom: 34px;
    border-block: 1px solid var(--line);
  }

  .filters__top {
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: 0;
  }

  .filter-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 11px;
    text-transform: uppercase;
  }

  .filters__content {
    display: none;
    padding-bottom: 28px;
    border-top: 1px solid var(--line);
  }

  .filters__content.is-open {
    display: block;
  }

  .filter-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 24px;
  }

  .craft__media {
    height: 620px;
  }

  .craft__content {
    max-width: 650px;
  }

  .newsletter__inner {
    align-items: start;
    gap: 45px;
  }

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

/* Mobile */

@media (max-width: 600px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(calc(100% - 32px), 1320px);
  }

  .section {
    padding-block: 72px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .announcement {
    min-height: 30px;
    padding-inline: 12px;
    font-size: 8px;
  }

  .nav-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .nav-toggle {
    width: 38px;
    padding-inline: 7px;
  }

  .brand {
    gap: 6px;
    font-size: 17px;
  }

  .brand i {
    width: 5px;
    height: 5px;
  }

  .search-shortcut,
  .favorites-shortcut {
    display: none;
  }

  .cart-button {
    padding-inline: 10px;
    font-size: 9px;
  }

  .nav-links {
    top: calc(30px + var(--header-height));
    height: calc(100dvh - 30px - var(--header-height));
  }

  .hero {
    padding-block: 28px 60px;
  }

  .hero__grid {
    gap: 35px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__promises {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 42px;
  }

  .hero__promises li {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .hero__visual {
    width: calc(100% - 18px);
    height: 470px;
    min-height: 0;
    margin-left: 18px;
  }

  .hero__card {
    bottom: -25px;
    left: -18px;
    width: 175px;
    padding: 20px;
  }

  .hero__card strong {
    font-size: 27px;
  }

  .category-strip__grid {
    grid-template-columns: repeat(5, 138px);
  }

  .category-strip a {
    padding: 19px 12px;
    font-size: 17px;
  }

  .filter-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalogue__bar {
    align-items: start;
    gap: 10px;
  }

  .sort-field {
    flex-direction: column;
    align-items: end;
    gap: 0;
  }

  .sort-field select {
    max-width: 150px;
    padding-right: 14px;
    font-size: 11px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 12px;
  }

  .product-card__media {
    aspect-ratio: 3 / 4;
  }

  .product-card__badge {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 52px);
    padding: 5px 6px;
    overflow: hidden;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .favorite-button {
    top: 7px;
    right: 7px;
    width: 34px;
    height: 34px;
  }

  .quick-button {
    display: none;
  }

  .product-card__body {
    display: block;
    margin-top: 12px;
  }

  .product-card h3 {
    min-height: 44px;
    font-size: 19px;
  }

  .product-card__body > strong {
    display: block;
    margin-top: 5px;
  }

  .product-card__origin {
    min-height: 35px;
    margin-block: 6px 12px;
    line-height: 1.4;
  }

  .add-button {
    padding-inline: 9px;
    font-size: 8px;
  }

  .craft__media {
    height: 480px;
  }

  .craft__media figcaption {
    padding: 13px 18px;
    font-size: 17px;
  }

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

  .journal__copy {
    grid-column: auto;
    padding: 0;
  }

  .story-card > img,
  .story-card--small > img {
    height: 430px;
  }

  .contact__grid {
    gap: 45px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .field--full {
    grid-column: auto;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .quick-view {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  .quick-view__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .quick-view__grid > img {
    height: 330px;
  }

  .quick-view__copy {
    padding: 28px 22px;
  }

  .quick-view__copy h2 {
    font-size: 40px;
  }

  .cart-drawer__header,
  .cart-items,
  .cart-summary {
    padding-inline: 20px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 370px) {
  .container {
    width: min(calc(100% - 24px), 1320px);
  }

  .brand span:first-child {
    display: none;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .product-card h3,
  .product-card__origin {
    min-height: 0;
  }
}

/* BOUTON DE RETOUR */

.bouton_retour{
	position:fixed;
	left:50%;
	transform:translateX(-50%);
	bottom:24px;
	z-index:9999;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:10px;
	padding:14px 20px;
	border:1px solid rgba(32,35,33,.12);
	border-radius:999px;
	background:#fff;
	color:#202321;
	box-shadow:0 12px 35px rgba(0,0,0,.16);
	text-decoration:none;
	font:600 14px "DM Sans",sans-serif;
	transition:transform .25s ease,box-shadow .25s ease;
}

.bouton_retour:hover{
	transform:translateX(-50%) translateY(-3px);
	box-shadow:0 16px 40px rgba(0,0,0,.22);
}

.bouton_retour:focus-visible{
	outline:3px solid #202321;
	outline-offset:4px;
}

.bouton_retour span{
	font-size:18px;
	line-height:1;
}

@media(max-width:600px){

	.bouton_retour{
		bottom:max(15px,env(safe-area-inset-bottom));
		padding:12px 16px;
		font-size:13px;
	}
}

@media(prefers-reduced-motion:reduce){

	.bouton_retour{
		transition:none;
	}
}