@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-semibold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-extra.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  --paper: #fbf8f2;
  --white: #fffefa;
  --ink: #342c27;
  --muted: #81766d;
  --red: #b7412e;
  --red-dark: #97321f;
  --yellow: #f3d58a;
  --line: #e9e1d7;
  --soft: #f1ebe1;
  --green: #526345;
  --font: "Bricolage Grotesque", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
button,
input,
select,
textarea {
  border-radius: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
button {
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
button:hover:not(:disabled) {
  transform: translateY(-1px);
}
[hidden] {
  display: none !important;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.page-width {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--red);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
/* Le logotype et la navigation */
.site-header {
  height: 86px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.header-inner {
  width: min(1320px, calc(100% - 96px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 65px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -2px;
  line-height: 1;
}
.brand-dot {
  color: var(--red);
}
.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  border-radius: 12px 5px 12px 5px;
}
.brand-mark .icon {
  width: 25px;
  height: 25px;
}
.header-nav {
  align-self: stretch;
  display: flex;
  gap: 31px;
}
.nav-link {
  border: 0;
  background: none;
  position: relative;
  font-weight: 600;
  font-size: 13px;
  padding: 0;
}
.nav-link.active {
  color: var(--red);
}
.nav-link.active:after {
  content: "";
  height: 3px;
  background: var(--red);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-left: auto;
}
.demo-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #9e8b70;
  background: #f5eddf;
  border: 1px solid #e9decb;
  border-radius: 4px;
  padding: 4px 7px;
}
.merchant-link {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
}
.merchant-link .icon {
  width: 17px;
  height: 17px;
}
.merchant-link.active {
  color: var(--red);
}
/* Une grande accroche et un ticket découpé */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  padding-top: 49px;
  padding-bottom: 43px;
}
.hero-copy {
  position: relative;
  flex: 1;
}
.eyebrow,
.section-kicker {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--red);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
.little-star {
  font-size: 21px;
  line-height: 1;
}
.hero h1 {
  font-size: clamp(44px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2.5px;
  position: relative;
  width: fit-content;
}
.hero h1 > span {
  color: var(--red);
}
.hero-underline {
  position: absolute;
  width: 76%;
  left: 0;
  bottom: -9px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.65;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 23px;
}
.hero-benefits {
  display: flex;
  gap: 27px;
  margin-top: 19px;
  font-size: 11px;
  font-weight: 600;
}
.hero-benefits > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-benefits .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.hero-actions {
  margin-top: 22px;
}
.hero-actions .primary-button {
  display: inline-flex;
  text-decoration: none;
}
.hero-demo-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.shop-ticket {
  width: 368px;
  position: relative;
  background: #f4e8d2;
  padding: 23px 26px 18px;
  transform: rotate(1.4deg);
  box-shadow: 3px 5px 0 rgba(120, 97, 63, 0.05);
  flex-shrink: 0;
}
.shop-ticket:before,
.shop-ticket:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 9px;
  background: var(--paper);
  clip-path: polygon(
    0 0,
    2% 100%,
    4% 0,
    6% 100%,
    8% 0,
    10% 100%,
    12% 0,
    14% 100%,
    16% 0,
    18% 100%,
    20% 0,
    22% 100%,
    24% 0,
    26% 100%,
    28% 0,
    30% 100%,
    32% 0,
    34% 100%,
    36% 0,
    38% 100%,
    40% 0,
    42% 100%,
    44% 0,
    46% 100%,
    48% 0,
    50% 100%,
    52% 0,
    54% 100%,
    56% 0,
    58% 100%,
    60% 0,
    62% 100%,
    64% 0,
    66% 100%,
    68% 0,
    70% 100%,
    72% 0,
    74% 100%,
    76% 0,
    78% 100%,
    80% 0,
    82% 100%,
    84% 0,
    86% 100%,
    88% 0,
    90% 100%,
    92% 0,
    94% 100%,
    96% 0,
    98% 100%,
    100% 0
  );
}
.shop-ticket:before {
  top: -1px;
}
.shop-ticket:after {
  bottom: -1px;
  transform: rotate(180deg);
}
.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 5px 0 22px;
}
.ticket-kicker {
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 700;
}
.status-dot {
  font-size: 9px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-dot:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: var(--green);
}
.ticket-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticket-shop-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #ccb994;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
}
.ticket-heading h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.ticket-heading p {
  font-size: 11px;
  color: #8d7d65;
  margin-top: 2px;
}
.ticket-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 19px;
  font-size: 11px;
}
.ticket-details > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticket-details .icon {
  width: 14px;
  height: 14px;
  color: #8d7d65;
}
.ticket-bottom {
  border-top: 1px dashed #cebda0;
  margin-top: 20px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ticket-bottom > span {
  font-size: 13px;
  line-height: 1.4;
}
.ticket-bottom strong {
  color: var(--red);
  font-weight: 700;
}
.round-stamp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--red);
  outline: 1px solid var(--red);
  outline-offset: 3px;
  color: var(--red);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transform: rotate(-14deg);
}
.round-stamp .icon {
  width: 19px;
  height: 19px;
}
.journey {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 38px;
}
.journey-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.journey-step:last-child {
  flex: 0.9;
}
.step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #d9cdbf;
  color: #9b8b7b;
  border-radius: 50%;
  font-size: 13px;
}
.journey-step.current .step-number {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.journey-step strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.journey-step > div > span {
  font-size: 10px;
  color: var(--muted);
}
.journey-divider {
  height: 1px;
  width: 42px;
  margin-right: 35px;
  background: var(--line);
}
/* Étal produit et panier */
.shopping-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.catalogue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}
.catalogue-heading h2 {
  font-size: 29px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 5px;
}
.small-star {
  color: var(--red);
  display: inline-block;
  font-size: 23px;
  margin-left: 10px;
  transform: rotate(15deg);
}
.section-kicker {
  font-size: 8px;
  letter-spacing: 1.4px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--white);
  width: 218px;
}
.search-field .icon {
  width: 16px;
  height: 16px;
  color: #958778;
}
.search-field input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  font-size: 10px;
  outline: none !important;
}
.search-field:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 2px #b7412e12;
}
.catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.category-button {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.category-button.selected {
  background: var(--red);
  color: white;
}
.category-button:not(.selected):hover {
  background: var(--soft);
  color: var(--ink);
}
.category-button .category-count {
  margin-left: 7px;
  opacity: 0.7;
  font-size: 9px;
}
.favorites-filter {
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  display: grid;
  place-items: center;
}
.favorites-filter .icon {
  width: 15px;
  height: 15px;
}
.favorites-filter[aria-pressed="true"] {
  background: #f5e6df;
  color: var(--red);
  border-color: #dbaea1;
}
.catalogue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 17px 0 15px;
  color: var(--muted);
  font-size: 10px;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sort-label select {
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 10px;
  max-width: 150px;
  cursor: pointer;
  padding-right: 2px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px #70533a0c;
}
.product-photo {
  height: 170px;
  background: #f1ece5;
  position: relative;
  overflow: hidden;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.product-card:hover .product-photo img {
  transform: scale(1.04);
}
.product-photo.contain {
  background: white;
}
.product-photo.contain img {
  object-fit: contain;
  padding: 7px;
}
.product-photo.baguette {
  background: white;
}
.product-photo.baguette img {
  object-fit: contain;
  transform: rotate(48deg) scale(1.34);
}
.product-card:hover .product-photo.baguette img {
  transform: rotate(48deg) scale(1.4);
}
.product-photo:not(.contain):not(.baguette):after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #bb946507;
  mix-blend-mode: multiply;
}
.product-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  background: #fff9ed;
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600;
  z-index: 1;
  box-shadow: 0 1px 4px #332a1a08;
  transform: rotate(-2deg);
}
.heart-button {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 0;
  background: #fffefaed;
  border-radius: 50%;
  z-index: 1;
}
.heart-button .icon {
  width: 14px;
  height: 14px;
}
.heart-button[aria-pressed="true"] {
  color: var(--red);
}
.heart-button[aria-pressed="true"] .icon {
  fill: #b7412e20;
}
.product-body {
  padding: 15px 14px 14px;
}
.product-category {
  font-size: 7px;
  color: #9d8f7f;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.product-body h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.35px;
  margin: 4px 0 5px;
}
.product-description {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.55;
  min-height: 32px;
}
.allergen-info {
  font-size: 8px;
  color: #8a7d70;
  margin-top: 6px;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 8px;
}
.product-price strong {
  font-size: 18px;
  font-weight: 700;
  display: block;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.product-price > span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 4px;
}
.add-button {
  width: 33px;
  height: 33px;
  border: 1px solid #e6baaa;
  border-radius: 6px;
  background: #faf0e9;
  color: var(--red);
  font-size: 22px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.add-button:hover {
  background: var(--red);
  color: white;
}
.product-quantity {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #faf0e9;
  padding: 2px;
  border: 1px solid #ebcabe;
  border-radius: 6px;
}
.product-quantity button {
  background: none;
  border: 0;
  width: 25px;
  height: 27px;
  color: var(--red);
  font-size: 18px;
  padding: 0;
}
.product-quantity span {
  font-size: 11px;
  font-weight: 700;
  min-width: 15px;
  text-align: center;
}
.catalogue-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  font-size: 10px;
  color: var(--muted);
}
.catalogue-note .icon {
  color: var(--green);
  width: 17px;
  height: 17px;
}
.catalogue-note p span {
  font-size: 9px;
  opacity: 0.75;
}
.empty-results {
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  padding: 45px 20px;
  text-align: center;
  border-radius: 9px;
}
.empty-results h3 {
  font-size: 20px;
  margin: 10px 0;
}
.empty-results p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  padding: 5px;
}
.cart {
  position: sticky;
  top: 24px;
  border: 1px solid #e5d8c9;
  background: #fffcf6;
  border-radius: 10px;
  padding: 23px 22px;
  box-shadow: 0 4px 14px #74583805;
}
.cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px dashed #e2d6c6;
}
.cart-heading h2 {
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.6px;
}
.cart-heading .icon {
  width: 19px;
  height: 19px;
  color: var(--red);
}
.count-badge {
  font-size: 10px;
  background: var(--soft);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}
.cart-items {
  max-height: 350px;
  overflow: auto;
}
.empty-cart {
  padding: 35px 0 28px;
  text-align: center;
}
.empty-cart-icon {
  width: 71px;
  height: 71px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  position: relative;
  color: #ac9376;
  background: #f5eddf;
  border-radius: 48% 52% 42% 58%;
}
.empty-cart-icon .icon {
  width: 33px;
  height: 33px;
  transform: rotate(-8deg);
  stroke-width: 1.2;
}
.empty-cart h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}
.empty-cart p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.cart-item {
  display: flex;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child {
  border: 0;
}
.cart-item img {
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--soft);
}
.cart-item-body {
  flex: 1;
  min-width: 0;
}
.cart-item-body h3 {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}
.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
}
.cart-item-price {
  font-size: 11px;
  font-weight: 600;
}
.quantity-control {
  display: flex;
  align-items: center;
  gap: 7px;
}
.quantity-control button {
  padding: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: none;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.quantity-control span {
  font-size: 10px;
  min-width: 10px;
  text-align: center;
}
.remove-item {
  background: none;
  border: 0;
  padding: 0;
  color: #ad9c8a;
  align-self: flex-start;
}
.remove-item .icon {
  width: 13px;
  height: 13px;
}
.cart-totals {
  border-top: 1px dashed #e2d6c6;
  padding-top: 17px;
}
.cart-totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 9px;
}
.cart-totals .free-label {
  color: var(--green);
  font-size: 10px;
}
.cart-totals .cart-total {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 17px 0 19px;
}
.primary-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fffefa;
  border: 1px solid var(--red);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 18px;
  min-height: 47px;
}
.primary-button:hover:not(:disabled) {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.primary-button:disabled {
  background: #dbc6b9;
  border-color: #dbc6b9;
  color: #fffaf5;
  opacity: 0.8;
}
.primary-button .icon {
  width: 17px;
  height: 17px;
}
.checkout-button {
  width: 100%;
  justify-content: space-between;
}
.cart-reassurance {
  font-size: 8px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
}
.cart-reassurance .icon {
  width: 11px;
  height: 11px;
}
.cart-pickup {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.cart-pickup .icon {
  width: 23px;
  height: 23px;
  color: #a58d6f;
}
.cart-pickup strong {
  font-size: 11px;
  font-weight: 600;
}
.cart-pickup p {
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 3px;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 25px 0 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #9e9183;
  font-size: 9px;
}
.footer-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #a79482;
}
.site-footer > span:last-child {
  margin-left: auto;
}
.footer-dot {
  margin: 0 6px;
}
.mobile-cart {
  display: none;
}
/* Parcours client, formulaire et ticket de confirmation */
dialog {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 0;
  width: min(620px, calc(100% - 32px));
  max-height: 90dvh;
  box-shadow: 0 25px 100px #32231828;
}
dialog::backdrop {
  background: #33291f70;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 27px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 3;
}
.mini-brand {
  font-weight: 800;
  color: var(--red);
  font-size: 26px;
  letter-spacing: -1.5px;
}
.icon-button {
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--soft);
}
.icon-button .icon {
  width: 18px;
  height: 18px;
}
.checkout-body {
  padding: 24px 28px 28px;
}
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 28px;
}
.checkout-progress > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9b8a78;
}
.checkout-progress i {
  font-style: normal;
  background: var(--soft);
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.checkout-progress > span.active {
  color: var(--red);
  font-weight: 700;
}
.checkout-progress > span.active i {
  background: var(--red);
  color: white;
}
.checkout-progress > span.done i {
  color: var(--green);
  background: #e7ecdf;
}
.checkout-progress .icon {
  width: 12px;
  height: 12px;
}
.checkout-body h2 {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 800;
  margin-top: 5px;
}
.checkout-subtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.7;
}
.field-section-label {
  font-size: 12px;
  font-weight: 600;
  margin: 23px 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-section-label .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}
.date-options {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.date-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}
.date-option .day-name {
  font-size: 9px;
  color: var(--muted);
}
.date-option .day-number {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
.date-option .day-month {
  font-size: 8px;
  color: var(--muted);
}
.date-option.selected {
  border-color: var(--red);
  background: #faeee6;
  color: var(--red);
}
.date-option.selected .day-name,
.date-option.selected .day-month {
  color: var(--red);
}
.time-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-height: 176px;
  overflow: auto;
  padding: 3px 3px 5px;
}
.time-option {
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 11px;
  font-weight: 600;
}
.time-option.selected {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.no-slots {
  grid-column: 1/-1;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 5px;
}
.pickup-summary {
  display: flex;
  gap: 10px;
  background: #f2ecdf;
  padding: 13px 15px;
  margin-top: 22px;
  border-radius: 6px;
  align-items: center;
  font-size: 11px;
}
.pickup-summary .icon {
  color: var(--red);
  width: 18px;
  height: 18px;
}
.pickup-summary strong {
  font-weight: 600;
  display: block;
}
.pickup-summary small {
  font-size: 10px;
  color: var(--muted);
}
.checkout-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.checkout-actions .primary-button {
  margin-left: auto;
  min-width: 185px;
}
.secondary-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfd2c2;
  background: transparent;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
}
.secondary-button .icon {
  width: 16px;
  height: 16px;
}
.secondary-button:hover {
  background: var(--soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-top: 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field > label {
  font-size: 11px;
  font-weight: 600;
}
.form-field label span {
  color: var(--red);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #ded3c5;
  background: var(--white);
  border-radius: 5px;
  padding: 11px 12px;
  font-size: 12px;
  min-height: 43px;
}
.form-field textarea {
  resize: vertical;
  min-height: 65px;
}
.form-field input[aria-invalid="true"] {
  border-color: var(--red);
}
.form-hint {
  color: var(--muted);
  font-size: 9px;
}
.error-text {
  color: var(--red);
  font-size: 10px;
  line-height: 1.5;
  min-height: 0;
}
.privacy-note {
  margin-top: 17px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}
.payment-demo {
  background: #f5e9d1;
  border: 1px solid #e7d5b5;
  display: flex;
  gap: 10px;
  padding: 13px;
  border-radius: 6px;
  margin: 19px 0;
}
.payment-demo .icon {
  color: #967a44;
  width: 18px;
  height: 18px;
}
.payment-demo strong {
  font-size: 11px;
  font-weight: 600;
}
.payment-demo p {
  font-size: 10px;
  color: #897453;
  margin-top: 4px;
  line-height: 1.6;
}
.demo-card {
  border: 1px solid #e2d5c3;
  background: var(--white);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  margin-bottom: 15px;
}
.card-icon {
  width: 37px;
  height: 26px;
  border: 1.5px solid #9f8a6e;
  border-radius: 4px;
  background: linear-gradient(
    to bottom,
    transparent 6px,
    #9f8a6e 6px,
    #9f8a6e 10px,
    transparent 10px
  );
}
.demo-card strong {
  font-size: 12px;
}
.demo-card p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.demo-card > span:last-child {
  margin-left: auto;
  font-size: 8px;
  background: var(--soft);
  border-radius: 3px;
  padding: 4px 6px;
  color: #917b5d;
}
.payment-scenario {
  padding: 0;
  border: 0;
  margin: 0;
}
.payment-scenario legend {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 9px;
}
.scenario-options {
  display: flex;
  gap: 10px;
}
.scenario-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  padding: 10px;
  font-size: 11px;
  cursor: pointer;
}
.scenario-options input {
  accent-color: var(--red);
}
.payment-summary {
  margin-top: 20px;
  border-top: 1px dashed #d7c9b7;
  padding-top: 14px;
  font-size: 11px;
}
.payment-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  gap: 12px;
}
.payment-total {
  font-size: 21px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
  letter-spacing: -0.5px;
}
.payment-person {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 19px;
  font-size: 10px;
  line-height: 1.6;
}
.terms-check input {
  accent-color: var(--red);
  margin-top: 3px;
}
.payment-error {
  background: #fbe7df;
  border-radius: 5px;
  padding: 12px;
  color: var(--red);
  font-size: 11px;
  margin-top: 14px;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff50;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.spinner.dark {
  display: inline-block;
  border-color: #d8c9b7;
  border-top-color: var(--red);
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.confirmation {
  text-align: center;
  padding: 28px;
}
.confirmation-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  background: #e7ebdb;
  color: var(--green);
  border-radius: 50%;
}
.confirmation-icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}
.confirmation h2 {
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
}
.confirmation > p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 22px;
  line-height: 1.7;
}
.order-ticket {
  border: 1px dashed #d9c9b3;
  background: #fffcf6;
  padding: 21px;
  text-align: left;
  border-radius: 6px;
}
.order-ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 13px;
  margin-bottom: 14px;
  border-bottom: 1px dashed #e0d3c1;
}
.order-ticket-top strong {
  font-size: 16px;
  font-weight: 700;
}
.order-ticket-top span {
  font-size: 8px;
  background: #e9edde;
  color: var(--green);
  padding: 4px 7px;
  border-radius: 4px;
}
.order-ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 8px;
}
.order-ticket .pickup-summary {
  margin: 17px 0 0;
}
.confirmation .checkout-actions {
  flex-direction: column;
}
.confirmation .primary-button {
  width: 100%;
  margin: 0;
}
.confirmation .text-button {
  font-size: 11px;
}
.confirmation .fine-print {
  font-size: 9px;
  margin-bottom: 0;
}
.info-dialog {
  padding: 35px;
  max-width: 500px;
}
.info-close {
  position: absolute;
  right: 13px;
  top: 13px;
}
.info-dialog h2 {
  font-size: 33px;
  letter-spacing: -1px;
  line-height: 1.15;
  font-weight: 800;
  margin-top: 10px;
}
.how-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0;
}
.how-list li {
  display: flex;
  gap: 13px;
}
.how-list li > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.how-list h3 {
  font-size: 14px;
  font-weight: 600;
}
.how-list p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.info-dialog > .primary-button {
  width: 100%;
  margin-top: 20px;
}
/* Vue commerçant */
.merchant-view {
  padding-top: 48px;
  min-height: 65vh;
}
.merchant-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.merchant-heading h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 8px 0;
}
.merchant-heading p {
  font-size: 13px;
  color: var(--muted);
}
.demo-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f1e8d7;
  border: 1px solid #e7d9c1;
  padding: 14px 17px;
  border-radius: 6px;
  font-size: 11px;
  color: #8a7456;
}
.demo-banner .icon {
  width: 19px;
  height: 19px;
}
.demo-banner strong {
  font-weight: 600;
}
.merchant-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.stat-card span {
  font-size: 11px;
  color: var(--muted);
}
.stat-card strong {
  display: block;
  font-size: 33px;
  letter-spacing: -1px;
  font-weight: 800;
  margin-top: 8px;
}
.stat-card:first-child strong {
  color: var(--red);
}
.orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 0 18px;
}
.orders-toolbar h2 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.orders-toolbar label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.orders-toolbar select {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 11px;
  border-radius: 5px;
  font-size: 11px;
  color: var(--ink);
}
.order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 13px;
  overflow: hidden;
}
.order-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
}
.order-card-id {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  min-width: 100px;
}
.order-customer {
  min-width: 180px;
  flex: 1;
}
.order-customer strong {
  font-size: 14px;
  font-weight: 600;
}
.order-customer p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.order-when {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  min-width: 170px;
}
.order-when .icon {
  color: #aa8d6d;
  width: 17px;
  height: 17px;
}
.order-when small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.order-status {
  font-size: 9px;
  padding: 5px 9px;
  background: #f8e9dc;
  color: var(--red);
  border-radius: 4px;
  min-width: 75px;
  text-align: center;
}
.order-status.ready {
  background: #e9eddf;
  color: var(--green);
}
.order-status.collected {
  background: var(--soft);
  color: var(--muted);
}
.order-amount {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.order-detail {
  border-top: 1px solid var(--line);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: #fdfaf5;
}
.order-detail p {
  font-size: 10px;
  color: var(--muted);
}
.order-detail .secondary-button {
  white-space: nowrap;
  font-size: 10px;
  padding: 8px 12px;
}
.order-empty {
  border: 1px dashed #d9cbb9;
  text-align: center;
  padding: 55px 20px;
  border-radius: 8px;
  background: #f9f4e9;
}
.order-empty > .icon {
  width: 37px;
  height: 37px;
  color: #b29b7d;
}
.order-empty h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 15px;
}
.order-empty p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 21px;
}
.order-empty button {
  margin: auto;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink);
  color: var(--white);
  padding: 13px 22px;
  font-size: 12px;
  box-shadow: 0 4px 20px #342c2720;
  border-radius: 7px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Adaptations tablette et téléphone */
@media (min-width: 1450px) {
  .hero h1 {
    font-size: 67px;
  }
  .hero {
    padding-top: 60px;
    padding-bottom: 52px;
  }
  .product-photo {
    height: 185px;
  }
}
@media (max-width: 1150px) {
  .page-width,
  .header-inner {
    width: calc(100% - 56px);
  }
  .header-inner {
    gap: 35px;
  }
  .shopping-layout {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 24px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalogue-heading {
    align-items: flex-start;
  }
  .search-field {
    width: 180px;
    margin-top: 6px;
  }
  .catalogue-heading h2 {
    font-size: 26px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .shop-ticket {
    width: 330px;
    padding: 22px;
  }
  .journey-divider {
    width: 25px;
    margin-right: 20px;
  }
  .category-button {
    padding: 8px 10px;
    font-size: 10px;
  }
  .cart {
    padding: 20px;
  }
  .order-card-header {
    gap: 12px;
  }
  .order-customer {
    min-width: 140px;
  }
  .order-when {
    min-width: 130px;
  }
  .order-card-id {
    min-width: 80px;
  }
  .order-status {
    min-width: 65px;
  }
}
@media (max-width: 850px) {
  .header-nav {
    gap: 20px;
  }
  .header-right {
    gap: 12px;
  }
  .demo-label {
    display: none;
  }
  .header-inner {
    gap: 25px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-benefits {
    gap: 16px;
    font-size: 9px;
  }
  .hero {
    gap: 22px;
    padding: 35px 0;
  }
  .shop-ticket {
    width: 285px;
    padding: 20px;
  }
  .ticket-heading h2 {
    font-size: 18px;
  }
  .ticket-top {
    gap: 8px;
  }
  .ticket-kicker {
    font-size: 7px;
  }
  .status-dot {
    font-size: 8px;
  }
  .ticket-details {
    font-size: 10px;
  }
  .ticket-shop-icon {
    width: 33px;
    height: 33px;
  }
  .journey-step {
    gap: 8px;
  }
  .journey-step strong {
    font-size: 10px;
  }
  .journey-step > div > span {
    display: none;
  }
  .journey-divider {
    width: 20px;
    margin-right: 16px;
  }
  .step-number {
    width: 27px;
    height: 27px;
    font-size: 11px;
  }
  .shopping-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .catalogue-heading {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 17px;
  }
  .search-field {
    width: 100%;
    margin: 0;
  }
  .product-photo {
    height: 145px;
  }
  .product-body {
    padding: 12px 11px;
  }
  .product-body h3 {
    font-size: 13px;
  }
  .product-price strong {
    font-size: 16px;
  }
  .product-description {
    font-size: 9px;
  }
  .allergen-info {
    font-size: 7px;
  }
  .product-grid {
    gap: 12px;
  }
  .category-tabs {
    gap: 3px;
  }
  .category-button {
    padding: 7px;
    font-size: 9px;
  }
  .category-count {
    display: none;
  }
  .cart {
    padding: 18px 16px;
  }
  .cart-heading h2 {
    font-size: 17px;
  }
  .cart-reassurance {
    font-size: 7px;
  }
  .checkout-button {
    font-size: 11px;
    padding-inline: 12px;
  }
  .merchant-heading {
    align-items: flex-start;
  }
  .merchant-heading h1 {
    font-size: 34px;
  }
  .merchant-stats {
    gap: 10px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card strong {
    font-size: 27px;
  }
  .order-card-header {
    flex-wrap: wrap;
  }
  .order-when {
    margin-left: auto;
  }
  .order-amount {
    margin-left: auto;
  }
  .order-detail {
    align-items: flex-start;
  }
  .site-footer {
    gap: 12px;
  }
  .site-footer > p {
    display: none;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 13px;
  }
  .page-width,
  .header-inner {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 69px;
  }
  .header-inner {
    gap: 16px;
  }
  .brand {
    font-size: 32px;
    gap: 8px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .brand-mark .icon {
    width: 21px;
    height: 21px;
  }
  .header-nav {
    margin-left: auto;
  }
  .nav-link {
    font-size: 11px;
  }
  .nav-link#how-nav {
    display: none;
  }
  .header-right {
    margin-left: 0;
  }
  .merchant-link {
    width: 34px;
    height: 34px;
    justify-content: center;
    background: var(--soft);
    border-radius: 50%;
    padding: 0;
  }
  .merchant-link > span {
    display: none;
  }
  .merchant-link .icon {
    width: 17px;
    height: 17px;
  }
  .hero {
    display: block;
    padding: 29px 0 27px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
    margin-bottom: 13px;
  }
  .hero h1 {
    font-size: clamp(29px, 8.3vw, 44px);
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 12px;
    margin-top: 21px;
    line-height: 1.75;
  }
  .hero-benefits {
    font-size: 9px;
    gap: 19px;
    margin-top: 16px;
  }
  .shop-ticket {
    width: 100%;
    transform: none;
    padding: 18px 19px 20px;
    margin-top: 28px;
  }
  .ticket-top {
    margin: 3px 0 14px;
  }
  .ticket-kicker {
    font-size: 8px;
  }
  .status-dot {
    font-size: 9px;
  }
  .ticket-heading h2 {
    font-size: 20px;
  }
  .ticket-heading p {
    font-size: 10px;
  }
  .ticket-heading {
    gap: 10px;
  }
  .ticket-details {
    margin-top: 15px;
    gap: 8px;
    font-size: 10px;
  }
  .ticket-bottom {
    display: none;
  }
  .ticket-shop-icon {
    height: 37px;
    width: 37px;
  }
  .journey {
    padding: 15px 0;
    margin-bottom: 26px;
    gap: 12px;
    align-items: flex-start;
  }
  .journey-step {
    flex: 1 !important;
    align-items: flex-start;
    gap: 7px;
  }
  .journey-step strong {
    font-size: 9px;
    line-height: 1.5;
    font-weight: 600;
  }
  .step-number {
    width: 21px;
    height: 21px;
    font-size: 9px;
    flex-shrink: 0;
  }
  .journey-divider {
    display: none;
  }
  .shopping-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .catalogue {
    width: 100%;
  }
  .catalogue-heading {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
  }
  .catalogue-heading h2 {
    font-size: 28px;
  }
  .section-kicker {
    font-size: 8px;
  }
  .small-star {
    font-size: 23px;
  }
  .search-field {
    width: 100%;
    padding: 11px 13px;
  }
  .search-field input {
    font-size: 11px;
  }
  .search-field .icon {
    width: 17px;
    height: 17px;
  }
  .category-tabs {
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: none;
    gap: 4px;
  }
  .category-button {
    padding: 9px 11px;
    font-size: 10px;
  }
  .favorites-filter {
    width: 35px;
    flex-shrink: 0;
  }
  .catalogue-meta {
    font-size: 9px;
    margin: 17px 0 13px;
  }
  .sort-label {
    font-size: 9px;
    gap: 3px;
  }
  .sort-label select {
    font-size: 9px;
    max-width: 130px;
  }
  .product-grid {
    gap: 14px 11px;
  }
  .product-photo {
    height: 158px;
  }
  .product-badge {
    font-size: 7px;
    padding: 4px 6px;
    left: 9px;
    top: 10px;
  }
  .product-body {
    padding: 13px 12px 12px;
  }
  .product-body h3 {
    font-size: 14px;
    line-height: 1.3;
    min-height: 36px;
  }
  .product-description {
    font-size: 10px;
    min-height: 46px;
  }
  .product-category {
    font-size: 7px;
  }
  .allergen-info {
    font-size: 7px;
    min-height: 21px;
  }
  .product-price strong {
    font-size: 18px;
  }
  .product-price > span {
    font-size: 7px;
  }
  .product-bottom {
    margin-top: 12px;
    gap: 5px;
  }
  .add-button {
    width: 32px;
    height: 32px;
  }
  .product-quantity {
    gap: 3px;
  }
  .product-quantity button {
    width: 21px;
    height: 26px;
  }
  .product-quantity span {
    min-width: 12px;
    font-size: 10px;
  }
  .catalogue-note {
    font-size: 10px;
    align-items: flex-start;
    margin-top: 23px;
    line-height: 1.7;
  }
  .catalogue-note p span {
    font-size: 8px;
  }
  .cart {
    width: 100%;
    position: static;
    padding: 22px;
    margin-top: 0;
    scroll-margin-top: 20px;
  }
  .cart-heading h2 {
    font-size: 20px;
  }
  .empty-cart {
    padding: 28px 0;
  }
  .cart-items {
    max-height: none;
  }
  .cart-totals .cart-total {
    font-size: 23px;
  }
  .cart-totals > div {
    font-size: 12px;
  }
  .checkout-button {
    font-size: 12px;
  }
  .cart-reassurance {
    font-size: 9px;
  }
  .cart-pickup strong {
    font-size: 12px;
  }
  .cart-pickup p {
    font-size: 10px;
  }
  .cart-item-body h3 {
    font-size: 12px;
  }
  .cart-item-price {
    font-size: 12px;
  }
  .quantity-control button {
    width: 28px;
    height: 28px;
  }
  .mobile-cart:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 10;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 18px;
    right: 18px;
    align-items: center;
    gap: 15px;
    border: 0;
    background: var(--red);
    color: white;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 5px 22px #b7412e35;
    font-size: 12px;
  }
  .mobile-cart > span {
    display: flex;
    gap: 7px;
    align-items: center;
    font-weight: 600;
  }
  .mobile-cart > span > span {
    font-size: 9px;
    background: #ffffff22;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
  }
  .mobile-cart > strong {
    margin-left: auto;
    font-size: 16px;
  }
  .mobile-cart .icon {
    width: 17px;
    height: 17px;
  }
  .site-footer {
    margin-top: 32px;
    padding: 22px 0 105px;
    font-size: 8px;
    gap: 10px;
  }
  .footer-brand {
    font-size: 20px;
  }
  .site-footer > span:last-child {
    max-width: 190px;
    text-align: right;
  }
  .toast {
    bottom: 85px;
    font-size: 11px;
    padding: 11px 15px;
  }
  .checkout-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 94dvh;
    border-radius: 14px 14px 0 0;
    margin: auto 0 0;
    border-bottom: 0;
  }
  .dialog-top {
    padding: 16px 20px;
  }
  .checkout-body {
    padding: 22px 20px 27px;
  }
  .checkout-body h2 {
    font-size: 29px;
  }
  .checkout-subtitle {
    font-size: 11px;
  }
  .checkout-progress {
    font-size: 9px;
    margin-bottom: 23px;
  }
  .checkout-progress i {
    width: 21px;
    height: 21px;
  }
  .date-options {
    gap: 5px;
  }
  .date-option {
    padding: 10px 0;
  }
  .date-option .day-name {
    font-size: 8px;
  }
  .date-option .day-number {
    font-size: 20px;
  }
  .date-option .day-month {
    font-size: 7px;
  }
  .time-options {
    grid-template-columns: repeat(4, 1fr);
    max-height: 220px;
    gap: 7px;
  }
  .time-option {
    font-size: 11px;
    padding: 11px 4px;
  }
  .checkout-actions {
    gap: 8px;
  }
  .checkout-actions .primary-button {
    min-width: 0;
    font-size: 11px;
    padding: 13px 16px;
    flex: 1;
  }
  .checkout-actions .secondary-button {
    padding: 12px;
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .form-field.full {
    grid-column: auto;
  }
  .form-field input {
    font-size: 16px;
  }
  .form-field > label {
    font-size: 12px;
  }
  .form-hint,
  .privacy-note {
    font-size: 9px;
  }
  .confirmation {
    padding: 26px 20px;
  }
  .confirmation h2 {
    font-size: 32px;
  }
  .confirmation .checkout-actions {
    gap: 12px;
  }
  .confirmation .primary-button {
    flex: auto;
  }
  .info-dialog {
    padding: 30px 23px;
  }
  .info-dialog h2 {
    font-size: 30px;
  }
  .merchant-view {
    padding-top: 30px;
  }
  .merchant-heading {
    display: block;
  }
  .merchant-heading h1 {
    font-size: 33px;
  }
  .merchant-heading p {
    font-size: 11px;
  }
  .merchant-heading > .secondary-button {
    margin-top: 17px;
  }
  .demo-banner {
    font-size: 10px;
    align-items: flex-start;
    padding: 13px;
  }
  .merchant-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 20px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-card span {
    font-size: 10px;
  }
  .stat-card strong {
    font-size: 29px;
  }
  .orders-toolbar {
    margin: 28px 0 16px;
  }
  .orders-toolbar h2 {
    font-size: 21px;
  }
  .orders-toolbar label {
    font-size: 9px;
    gap: 5px;
  }
  .orders-toolbar select {
    font-size: 10px;
    max-width: 140px;
  }
  .order-card-header {
    padding: 16px;
    gap: 12px;
  }
  .order-card-id {
    min-width: 0;
    font-size: 10px;
  }
  .order-customer {
    order: 3;
    min-width: 100%;
    flex: 1;
  }
  .order-customer strong {
    font-size: 16px;
  }
  .order-when {
    order: 4;
    margin: 0;
    flex: 1;
  }
  .order-status {
    margin-left: auto;
    font-size: 9px;
  }
  .order-amount {
    order: 5;
    font-size: 18px;
  }
  .order-detail {
    padding: 13px 16px;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .order-detail .secondary-button {
    min-height: 38px;
  }
  .order-empty {
    padding: 36px 20px;
  }
  .scenario-options {
    gap: 7px;
  }
  .scenario-options label {
    font-size: 10px;
    padding: 10px 7px;
  }
}
@media (max-width: 360px) {
  .page-width,
  .header-inner {
    width: calc(100% - 28px);
  }
  .product-photo {
    height: 140px;
  }
  .product-body {
    padding: 11px 9px;
  }
  .category-button {
    padding-inline: 8px;
  }
  .product-body h3 {
    font-size: 13px;
  }
  .product-description {
    font-size: 9px;
  }
  .sort-label > select {
    max-width: 115px;
  }
  .hero-benefits {
    gap: 12px;
    font-size: 8px;
  }
  .product-quantity button {
    width: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition: none !important;
  }
}
