:root {
  --ink: #1f2320;
  --muted: #697066;
  --paper: #f6eee4;
  --surface: #fff9f0;
  --sage: #798a72;
  --clay: #b66f53;
  --rose: #d9a7a1;
  --line: rgba(31, 35, 32, 0.13);
  --shadow: 0 22px 70px rgba(31, 35, 32, 0.14);
  font-family:
    "Trebuchet MS", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 6%, rgba(217, 167, 161, 0.28), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(121, 138, 114, 0.18), transparent 24rem),
    linear-gradient(135deg, #f7efe4 0%, #f1dfd1 48%, #f7efe4 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.24;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 249, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--surface);
  background: #fff2df;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-toggle,
.icon-button,
.filter,
.button {
  border: 0;
  cursor: pointer;
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 999px;
}

.cart-toggle strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: var(--ink);
  background: var(--rose);
  border-radius: 50%;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 69px));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(31, 35, 32, 0.58), rgba(31, 35, 32, 0.08)),
    linear-gradient(0deg, rgba(31, 35, 32, 0.22), transparent 58%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.logo-hero {
  min-height: min(740px, calc(100vh - 69px));
  background: #fff2df;
}

.logo-hero::after {
  background:
    linear-gradient(90deg, rgba(31, 35, 32, 0.72) 0%, rgba(31, 35, 32, 0.34) 38%, rgba(31, 35, 32, 0.02) 70%),
    linear-gradient(0deg, rgba(31, 35, 32, 0.14), transparent 55%);
}

.logo-hero .hero-media {
  left: 38%;
  background: #fff2df;
}

.logo-hero .hero-media img {
  object-fit: contain;
  object-position: center;
  padding: clamp(18px, 4vw, 44px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: 0 0 clamp(50px, 7vw, 84px) clamp(18px, 6vw, 82px);
  color: var(--surface);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c5bd;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-style: italic;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero p {
  max-width: 560px;
  color: rgba(255, 253, 248, 0.88);
  font-size: 1.12rem;
  line-height: 1.58;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

.button.primary {
  color: var(--surface);
  background: var(--clay);
}

.button:disabled,
.button[aria-disabled="true"] {
  color: rgba(31, 35, 32, 0.48);
  cursor: not-allowed;
  background: #d8d0c5;
  box-shadow: none;
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
}

.button.full {
  width: 100%;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -1px clamp(18px, 4vw, 56px) 0;
  overflow: hidden;
  background: rgba(255, 249, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(96, 67, 45, 0.08);
}

.intro-band div {
  padding: 22px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.filters {
  margin-bottom: 20px;
}

.filter {
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter.active {
  color: var(--surface);
  background: var(--sage);
  border-color: var(--sage);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 249, 240, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(96, 67, 45, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(96, 67, 45, 0.14);
}

.product-card.out-of-stock:hover {
  transform: none;
}

.stock-ribbon {
  position: absolute;
  top: 28px;
  right: -52px;
  z-index: 3;
  width: 210px;
  padding: 8px 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  background: #c92f2f;
  box-shadow: 0 8px 18px rgba(111, 24, 24, 0.22);
  transform: rotate(36deg);
}

.product-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  background: #e8e1d6;
  overflow: hidden;
}

.product-image img {
  transition: transform 220ms ease;
}

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

.product-content {
  padding: 13px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.product-tag {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  font-weight: 900;
}

.product-content p {
  color: var(--muted);
  min-height: 3.9em;
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-description {
  color: var(--muted);
  min-height: 5.1em;
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-description p {
  min-height: 0;
  margin-bottom: 0.65em;
  font-size: inherit;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-stock {
  color: var(--muted);
  font-size: 0.82em;
  font-weight: 700;
}

.product-content .product-mobile-description {
  display: none;
}

.product-content .button {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.atelier {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(42px, 6vw, 76px);
  padding: clamp(36px, 6vw, 68px);
  background: rgba(255, 249, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(96, 67, 45, 0.1);
}

.atelier-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.atelier-gallery {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 14px;
  min-height: 460px;
}

.atelier-gallery > img {
  border-radius: 8px;
}

.atelier-gallery > img:first-child {
  margin-top: 52px;
}

.instagram-link {
  width: fit-content;
  margin-top: 10px;
  color: var(--surface);
  background: var(--ink);
}

.instagram-card {
  align-self: start;
  margin-top: 52px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.instagram-card img {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  border-radius: 50%;
}

.instagram-card strong,
.instagram-card span {
  display: block;
}

.instagram-card span {
  margin-top: 4px;
  color: var(--muted);
}

.instagram-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 249, 240, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(96, 67, 45, 0.08);
}

.checkout-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* Parcours de commande */
.checkout-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(194, 116, 82, 0.12), transparent 34rem),
    var(--paper);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.checkout-back {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.checkout-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 72px;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.checkout-steps li::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-right: 10px;
  background: var(--line);
}

.checkout-steps li:last-child::after { display: none; }

.checkout-steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.checkout-steps .is-active,
.checkout-steps .is-done { color: var(--ink); }
.checkout-steps .is-active span { color: white; background: var(--clay); border-color: var(--clay); }
.checkout-steps .is-done span { color: var(--clay); border-color: var(--clay); }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.8fr);
  align-items: start;
  gap: clamp(22px, 4vw, 46px);
}

/* Keep the form and its default totals out of view while Stripe is being verified. */
.checkout-layout[hidden] {
  display: none;
}

.checkout-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 249, 240, 0.88);
  box-shadow: 0 18px 48px rgba(96, 67, 45, 0.08);
}

.checkout-details h1,
.checkout-status h1 {
  max-width: 720px;
  margin: 4px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
}

.checkout-intro { margin: 0 0 30px; color: var(--muted); }

.checkout-form-detailed {
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.checkout-form fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.checkout-form legend {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.checkout-form small { color: var(--muted); font-weight: 500; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full-column { grid-column: 1 / -1; }

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 2px solid rgba(190, 111, 77, 0.28);
  border-color: var(--clay);
}

.checkout-submit { width: 100%; margin-top: 4px; }
.checkout-submit:disabled { cursor: wait; opacity: 0.7; }
.checkout-error { min-height: 1.4em; margin: 0; color: #9c2e24; font-weight: 800; }
.checkout-privacy { margin: 0; color: var(--muted); font-size: 0.82rem; text-align: center; }

.order-summary { position: sticky; top: 24px; }
.order-summary h2 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.summary-items { display: grid; gap: 18px; }
.summary-item { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; }
.summary-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; }
.summary-item h3 { margin: 0 0 4px; font-size: 1rem; }
.summary-item p { margin: 2px 0; color: var(--muted); font-size: 0.82rem; }
.summary-item > strong { align-self: start; font-size: 0.9rem; }
.summary-lines { display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.summary-lines p { display: flex; justify-content: space-between; gap: 20px; margin: 0; }
.summary-total { margin-top: 8px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.2rem; }
.secure-note { margin: 24px 0 0; padding: 16px; border-radius: 12px; background: rgba(194, 116, 82, 0.08); color: var(--muted); text-align: center; line-height: 1.6; }

.checkout-status {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 249, 240, 0.92);
  box-shadow: 0 18px 48px rgba(96, 67, 45, 0.08);
  text-align: center;
}

.status-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: white;
  background: var(--clay);
  font-size: 2rem;
  font-weight: 900;
}

.confirmation-lead { color: var(--muted); line-height: 1.65; }
.confirmation-reference { display: inline-grid; gap: 4px; margin: 20px 0 26px; padding: 14px 24px; border: 1px solid var(--line); border-radius: 12px; }
.confirmation-reference span { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.confirmation-reference strong { font-size: 1.15rem; }
.confirmation-products { max-width: 600px; margin: 0 auto 26px; padding: 20px 0; border-block: 1px solid var(--line); }
.confirmation-products p { display: flex; justify-content: space-between; gap: 24px; margin: 8px 0; text-align: left; }
.confirmation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0 0 30px; text-align: left; }
.confirmation-grid > div { padding: 20px; border-radius: 14px; background: rgba(194, 116, 82, 0.07); }
.confirmation-grid h2 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.confirmation-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.confirmation-total { color: var(--ink) !important; font-size: 1.5rem; font-weight: 900; }
.status-spinner { width: 48px; height: 48px; margin: 0 auto 24px; border: 4px solid var(--line); border-top-color: var(--clay); border-radius: 50%; animation: checkout-spin 0.9s linear infinite; }
@keyframes checkout-spin { to { transform: rotate(360deg); } }
.checkout-footer { padding: 0 20px 36px; color: var(--muted); font-size: 0.82rem; text-align: center; }

@media (max-width: 820px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .order-summary { position: static; order: -1; }
  .checkout-header { padding-inline: 20px; }
  .checkout-back { font-size: 0.82rem; }
}

@media (max-width: 560px) {
  .checkout-main { width: calc(100% - 24px); padding-top: 26px; }
  .checkout-card { padding: 22px 18px; border-radius: 14px; }
  .checkout-header .brand > span:last-child { display: none; }
  .checkout-steps li { gap: 6px; font-size: 0.72rem; }
  .checkout-steps li::after { margin-right: 5px; }
  .checkout-steps span { width: 26px; height: 26px; }
  .form-grid.two-columns,
  .confirmation-grid { grid-template-columns: 1fr; }
  .form-grid .full-column { grid-column: auto; }
  .checkout-details h1 { overflow-wrap: anywhere; }
  .summary-item { grid-template-columns: 58px minmax(0, 1fr); }
  .summary-item img { width: 58px; height: 58px; }
  .summary-item > strong { grid-column: 2; }
}

/* Pied de page et pages d'information */
.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 52px clamp(20px, 6vw, 88px) 24px;
  background: rgba(255, 249, 240, 0.94);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff2df;
  border-radius: 12px;
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.footer-brand span,
.footer-bottom {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-policies {
  position: relative;
  z-index: 4;
}

.footer-policies summary {
  padding: 11px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.footer-policies summary::-webkit-details-marker {
  display: none;
}

.footer-policies summary::after {
  margin-left: 10px;
  content: "+";
}

.footer-policies[open] summary::after {
  content: "−";
}

.footer-policies nav {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  min-width: 290px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.footer-policies nav a {
  padding: 9px 10px;
  border-radius: 8px;
}

.footer-policies nav a:hover,
.footer-policies nav a:focus-visible {
  background: var(--paper);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal-consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.45;
}

.legal-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--clay);
}

.legal-consent a,
.legal-copy a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  min-height: 100vh;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 13px clamp(18px, 5vw, 70px);
  background: rgba(255, 249, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.legal-header .back-link {
  color: var(--muted);
}

.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(50px, 9vw, 110px) 0;
}

.legal-title {
  max-width: 800px;
  margin: 0 0 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.legal-copy {
  padding: clamp(24px, 5vw, 54px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  background: rgba(255, 249, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(96, 67, 45, 0.08);
}

.legal-copy h2 {
  margin: 2.2em 0 0.55em;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy h3 {
  margin: 1.8em 0 0.4em;
}

.legal-copy li + li {
  margin-top: 0.5em;
}

.legal-note {
  padding: 15px 18px;
  background: #fff2df;
  border-left: 4px solid var(--clay);
  border-radius: 8px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.placeholder {
  padding: 0.05em 0.3em;
  color: #7a3e2b;
  background: #ffe0cd;
  border-radius: 4px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.92em;
  font-weight: 700;
}

.withdrawal-model {
  padding: 18px;
  background: white;
  border: 1px dashed var(--clay);
  border-radius: 10px;
}

@media (max-width: 720px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-policies summary {
    text-align: center;
  }

  .footer-policies nav {
    right: auto;
    left: 0;
    width: 100%;
    min-width: 0;
  }

  .legal-header .brand span:last-child {
    display: none;
  }

  .legal-header .back-link {
    font-size: 0.86rem;
  }

  .legal-copy {
    padding: 22px 18px;
  }
}

.order-section {
  padding-top: clamp(20px, 4vw, 38px);
}

.order-section .section-heading {
  margin-bottom: 18px;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(430px, 100%);
  height: 100vh;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

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

.cart-header,
.cart-footer {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.55rem;
}

.icon-button {
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  line-height: 1;
  background: var(--paper);
  border-radius: 50%;
}

.cart-items {
  overflow: auto;
  padding: 18px 22px;
}

.empty-cart {
  color: var(--muted);
  line-height: 1.55;
}

.cart-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  aspect-ratio: 1;
  border-radius: 8px;
}

.cart-row p {
  margin-bottom: 4px;
  font-weight: 800;
}

.cart-row small {
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  cursor: pointer;
}

.qty-controls button:disabled {
  color: rgba(31, 35, 32, 0.38);
  cursor: not-allowed;
  background: #d8d0c5;
}

.cart-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: rgba(31, 35, 32, 0);
  transition: background 180ms ease;
}

.overlay.open {
  pointer-events: auto;
  background: rgba(31, 35, 32, 0.32);
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  padding: clamp(16px, 3vw, 34px);
  overflow: auto;
  background: rgba(31, 35, 32, 0.86);
}

.product-modal.open {
  display: block;
}

.product-modal-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(18px, 4vw, 42px);
  min-height: calc(100vh - clamp(32px, 6vw, 68px));
  max-width: 1320px;
  margin: 0 auto;
  color: var(--ink);
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.modal-gallery {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  min-height: 520px;
  padding: clamp(14px, 2.6vw, 26px);
  background: #f0e5d8;
}

.modal-gallery > img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: contain;
  background: #fff9f0;
  border-radius: 8px;
}

.modal-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.modal-thumbnails button {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  cursor: pointer;
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
}

.modal-thumbnails button.active {
  border-color: var(--clay);
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 48px);
}

.modal-copy h2 {
  margin-bottom: 16px;
}

.modal-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.28em;
}

.modal-title-line .modal-price {
  white-space: nowrap;
}

.modal-description {
  color: var(--muted);
  line-height: 1.7;
}

.modal-characteristics {
  margin: 18px 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.modal-characteristics h3 {
  margin-bottom: 10px;
}

.modal-characteristics ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.modal-choice {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 16px;
  background: #e4f1ed;
  border: 1px solid rgba(121, 138, 114, 0.34);
  border-radius: 8px;
}

.modal-choice[hidden] {
  display: none;
}

.modal-choice h3,
.modal-choice p {
  margin: 0;
}

.modal-choice p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

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

.choice-option {
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 249, 240, 0.9);
  border: 1px solid rgba(121, 138, 114, 0.2);
  border-radius: 8px;
}

.choice-option.active {
  color: var(--surface);
  background: var(--sage);
  border-color: var(--sage);
}

.choice-photo-trigger {
  color: var(--clay);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.choice-photo-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

.choice-option.active .choice-photo-trigger {
  color: inherit;
}

.choice-photo-preview {
  position: fixed;
  z-index: 120;
  width: min(300px, calc(100vw - 28px));
  padding: 8px;
  pointer-events: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31, 35, 32, 0.2);
}

.choice-photo-preview[hidden] {
  display: none;
}

.choice-photo-preview img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 72;
  width: 46px;
  height: 46px;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(31, 35, 32, 0.22);
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .intro-band,
  .atelier {
    grid-template-columns: 1fr;
  }

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

  .logo-hero {
    min-height: 780px;
    align-items: end;
  }

  .logo-hero::after {
    background:
      linear-gradient(0deg, rgba(31, 35, 32, 0.76) 0%, rgba(31, 35, 32, 0.4) 38%, rgba(31, 35, 32, 0.04) 78%);
  }

  .logo-hero .hero-media {
    inset: 0;
    bottom: 170px;
  }

  .intro-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-band div:last-child {
    border-bottom: 0;
  }

  .atelier-gallery {
    min-height: 360px;
  }

  .product-modal-shell {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    min-height: auto;
  }

  .modal-gallery > img {
    height: min(58vh, 620px);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 10px;
  }

  .logo-hero {
    display: block;
    min-height: 0;
    background: var(--surface);
  }

  .logo-hero::after {
    display: none;
  }

  .logo-hero .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff2df;
  }

  .logo-hero .hero-media img {
    padding: 0;
    object-fit: contain;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .cart-toggle {
    padding: 8px 10px;
  }

  .brand span:last-child,
  .cart-toggle span {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  .hero-content {
    width: 100%;
    padding: 30px 14px 38px;
    color: var(--ink);
    background: var(--surface);
  }

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

  .hero p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
  }

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

  .section {
    padding: 24px 8px 36px;
  }

  .section-heading {
    margin-bottom: 12px;
  }

  .section-heading .eyebrow {
    margin-bottom: 4px;
    font-size: 0.68rem;
  }

  .section-heading h2 {
    margin-bottom: 0;
    font-size: 1.75rem;
  }

  .filters {
    gap: 6px;
    margin: 0 -8px 10px;
    padding: 0 8px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .filter {
    flex: 0 0 auto;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .product-grid {
    gap: 8px;
  }

  .product-card {
    box-shadow: 0 7px 18px rgba(96, 67, 45, 0.08);
  }

  .product-image {
    aspect-ratio: 1 / 0.8;
  }

  .product-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: start;
    padding: 7px;
  }

  .product-meta {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    margin-bottom: 0;
  }

  .product-tag,
  .product-description {
    display: none;
  }

  .product-content .button {
    grid-column: 1 / -1;
    display: inline-flex;
    min-height: 34px;
    margin-top: 5px;
    font-size: 0.75rem;
  }

  .price {
    font-size: 0.9rem;
    line-height: 1;
  }

  .product-content h3 {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 3px;
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-content .product-mobile-description {
    grid-column: 1 / -1;
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .atelier-gallery {
    grid-template-columns: 1fr;
  }

  .atelier-gallery img:first-child {
    margin-top: 0;
  }

  .cart-row {
    grid-template-columns: 58px 1fr;
  }

  .qty-controls {
    grid-column: 2;
  }

  .product-modal {
    padding: 0;
  }

  .product-modal-shell {
    min-height: 100vh;
    border-radius: 0;
  }

  .modal-copy {
    padding: 22px 18px 30px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .choice-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .legal-title {
    font-size: 2.55rem;
    overflow-wrap: anywhere;
  }

  .checkout-details h1,
  .checkout-status h1 {
    font-size: 2.15rem;
    overflow-wrap: anywhere;
  }

  .checkout-status {
    padding: 30px 18px;
  }
}
