:root {
  --bg: #f3e7d6;
  --hero: #fff8ef;
  --paper: #ffffff;
  --ink: #26171a;
  --muted: #695656;
  --line: #ead4bd;
  --accent: #4b1e1f;
  --caramel: #bf6d3f;
  --berry: #7f2f37;
  --cream: #fff6ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 220, 178, 0.45), transparent 34%),
    radial-gradient(circle at 94% 8%, rgba(255, 192, 178, 0.34), transparent 26%),
    radial-gradient(circle at 50% 94%, rgba(242, 207, 169, 0.35), transparent 42%),
    linear-gradient(180deg, #fff6eb 0%, #f8ead8 48%, var(--bg) 100%);
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1rem 0 2rem;
}

.hero-shell {
  border: 1px solid #edd8c3;
  border-radius: 24px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.72), rgba(255, 247, 235, 0.92)),
    var(--hero);
  box-shadow: 0 14px 36px rgba(114, 63, 39, 0.14);
  padding: 0.95rem;
}

.mini-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.brand {
  margin: 0;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  border: 1px solid #e9c39e;
  background: linear-gradient(180deg, #fff7ec, #ffe9d3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5d312d;
  text-transform: uppercase;
}

.mini-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

.mini-links a {
  color: #6e4b46;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 140ms ease;
}

.mini-links a:hover {
  color: #3e2524;
}

.mini-cta {
  border: 1px solid #6f2e34;
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  background: linear-gradient(180deg, #8c3b45, #6f2e34);
  color: #fff7f4;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(90, 35, 42, 0.22);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: center;
}

.hero-left {
  padding: 0.52rem 0.3rem 0.35rem;
  position: relative;
}

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

h1 {
  display: grid;
  line-height: 0.95;
  max-width: 8.2ch;
}

h1 span {
  font-size: clamp(2.2rem, 6.4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 em {
  margin-top: 0.15rem;
  font-size: clamp(1.9rem, 5.4vw, 3.5rem);
  font-style: italic;
  font-weight: 500;
}

.hero-left p {
  margin: 1rem 0 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
  margin-top: 1.15rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  border: 1px solid #ddc5ab;
  background: linear-gradient(180deg, #fffdfb, #fff0e1);
  color: #5e3a37;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.hero-btn:hover {
  transform: translateY(-1px);
  border-color: #c8906f;
  box-shadow: 0 5px 12px rgba(128, 70, 40, 0.15);
}

.hero-btn.primary {
  border-color: #6d2a32;
  background: linear-gradient(165deg, #8f3c47, #6f2e34);
  color: #fff8f6;
  box-shadow: 0 7px 14px rgba(99, 38, 44, 0.25);
}

.hero-right {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5c6a6;
  background: #f9e3c7;
  box-shadow: 0 10px 22px rgba(112, 62, 38, 0.18);
}

.hero-right img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  background: #f8e6ce;
}

.hero-right figcaption {
  padding: 0.5rem 0.68rem;
  font-size: 0.72rem;
  color: #6d4d42;
  background: linear-gradient(180deg, #fff4e7, #ffe8d0);
}

.category {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 6px 18px rgba(128, 78, 48, 0.06);
  padding: 1rem;
}

.category h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.2;
}

.info-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.info-grid article {
  border-radius: 12px;
  background: #f4f7fb;
  padding: 0.8rem;
}

.info-grid h3 {
  font-size: 1.03rem;
}

.info-grid p {
  margin: 0.42rem 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.product-list {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.product-item {
  border-radius: 12px;
  padding: 0.82rem;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(39, 30, 36, 0.06);
}

.product-item h3 {
  font-size: 1.05rem;
}

.product-item p {
  margin: 0.38rem 0 0;
  color: var(--muted);
  line-height: 1.38;
}

.category-note {
  margin: 0.58rem 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.brand-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.brand-card {
  appearance: none;
  border: 1px solid #d7dbe1;
  border-radius: 12px;
  padding: 0.75rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 3px 10px rgba(39, 30, 36, 0.06);
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.brand-card:hover {
  transform: translateY(-1px);
  border-color: #bfc8d3;
}

.brand-card.active {
  border-color: #1f1718;
  box-shadow: 0 8px 18px rgba(31, 23, 24, 0.12);
}

.brand-card img {
  width: 100%;
  max-width: 120px;
  height: 34px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.brand-card p {
  margin: 0.48rem 0 0;
  font-weight: 600;
  color: #463a3f;
}

.marques-layout {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}

.marques-layout.with-cart {
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
}

.brand-results {
  border-radius: 12px;
  background: #f6f8fb;
  padding: 0.9rem;
}

.brand-results h3 {
  font-size: 1.12rem;
}

.brand-result-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.category-filter-bar {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.category-filter-btn {
  border: 1px solid #cfd7e1;
  border-radius: 999px;
  background: #ffffff;
  color: #43505f;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.62rem;
  cursor: pointer;
}

.category-filter-btn.active {
  border-color: #1f1718;
  background: #25171b;
  color: #ffffff;
}

.brand-product-grid {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.brand-product-item {
  border-radius: 10px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  position: relative;
  overflow: visible;
  perspective: 1200px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.brand-product-item:hover {
  transform: translateY(-1px);
}

.brand-product-inner {
  position: relative;
  display: block;
  height: 184px;
  transform-style: preserve-3d;
  transition: transform 220ms ease, height 220ms ease;
}

.brand-product-item.is-flipped {
  z-index: 20;
}

.brand-product-item.is-flipped .brand-product-inner {
  height: 286px;
  transform: rotateY(180deg) scale(1.02);
}

.brand-product-face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: #fff;
  padding: 0.62rem;
  box-shadow: 0 2px 8px rgba(39, 30, 36, 0.05);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.brand-product-face-back {
  transform: rotateY(180deg);
  overflow: auto;
}

.brand-product-item:focus-visible {
  outline: 2px solid #3c4f6b;
  outline-offset: 2px;
}

.brand-product-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-product-photo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border: 1px solid #dbe3ec;
  flex-shrink: 0;
  background: #f6f9fc;
}

.brand-product-category {
  font-size: 0.72rem;
  color: #5e6470;
  background: #edf2f8;
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
}

.brand-product-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-product-badge {
  font-size: 0.68rem;
  color: #2c2f33;
  background: #fbe7da;
  border-radius: 999px;
  padding: 0.18rem 0.4rem;
}

.brand-product-info-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #c7d2df;
  border-radius: 999px;
  background: #eff4fa;
  color: #2f4f69;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.brand-product-item h4 {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  font-family: "Fraunces", serif;
}

.brand-product-item p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.brand-product-price {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2e4c63;
}

.brand-product-face-front h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.25em;
}

.brand-product-face-front > p:not(.brand-product-price) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.45em;
}

.brand-product-back-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.brand-product-back-head h4 {
  margin: 0;
  font-size: 0.95rem;
}

.brand-product-back-list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.35rem;
}

.brand-product-back-tip {
  margin: 0;
  color: #4f5763;
  font-size: 0.84rem;
  line-height: 1.35;
}

.brand-product-back-hint {
  margin: 0.55rem 0 0;
  color: #6d7480;
  font-size: 0.76rem;
}

.brand-product-added {
  animation: product-pop 260ms ease;
}

@keyframes product-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.cart-panel {
  border-radius: 12px;
  background: #ffffff;
  padding: 0.9rem;
  box-shadow: 0 6px 18px rgba(39, 30, 36, 0.09);
  position: sticky;
  top: 0.75rem;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.cart-head h3 {
  font-size: 1.1rem;
}

.cart-head button {
  border: 1px solid #c7ced7;
  border-radius: 999px;
  background: #fff;
  color: #424955;
  padding: 0.34rem 0.68rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.cart-items {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.45rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 0.8rem;
  border-radius: 10px;
  background: #f5f8fc;
  padding: 0.62rem;
}

.cart-item-main h4 {
  margin: 0;
  font-size: 0.93rem;
  font-family: "Fraunces", serif;
}

.cart-item-main p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: #5d6572;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.36rem;
}

.cart-item-controls button {
  width: 26px;
  height: 26px;
  border: 1px solid #c6ced8;
  border-radius: 7px;
  background: #fff;
  color: #2f3540;
  cursor: pointer;
}

.cart-item-qty {
  min-width: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: #2f3540;
}

.cart-summary {
  margin-top: 0.64rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-weight: 600;
  color: #2f3845;
}

.cart-order {
  margin-top: 0.72rem;
  padding-top: 0.72rem;
  border-top: 1px solid #d3dae3;
}

.cart-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.cart-copy-btn {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #1f1718;
  background: #25171b;
  color: #fff;
  font-weight: 700;
  padding: 0.62rem 0.72rem;
  cursor: pointer;
}

.cart-share-btn {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #2f3f58;
  background: #eef3f9;
  color: #2f3f58;
  font-weight: 700;
  padding: 0.62rem 0.72rem;
  cursor: pointer;
}

.cart-copy-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-share-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-copy-feedback {
  margin: 0.45rem 0 0;
  font-size: 0.74rem;
  color: #6a6f79;
  line-height: 1.35;
  min-height: 1em;
}

.quick-note p {
  margin: 0.58rem 0 0;
  color: var(--muted);
}

.recipe-intro {
  margin: 0.58rem 0 0;
  color: var(--muted);
}

.recipe-section-title {
  cursor: pointer;
  width: fit-content;
  user-select: none;
}

.recipe-section-title:focus-visible {
  outline: 2px solid #3c4f6b;
  outline-offset: 3px;
  border-radius: 8px;
}

.recipe-toggle-wrap {
  margin-top: 0.55rem;
  display: flex;
  justify-content: center;
}

.recipe-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #c7d1dd;
  background: #ffffff;
  color: #2f3f58;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.recipe-toggle-arrow {
  font-size: 1.08rem;
  line-height: 1;
}

#recipe-collapsible {
  margin-top: 0.45rem;
}

.recipe-layout {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.recipe-basic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.recipe-basic-card {
  border-radius: 10px;
  border: 1px solid #d8dfe8;
  background: #ffffff;
  padding: 0.62rem;
  box-shadow: 0 2px 8px rgba(39, 30, 36, 0.05);
  min-height: 168px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.recipe-basic-card:hover {
  transform: translateY(-1px);
  border-color: #bfc9d7;
}

.recipe-basic-card.active {
  border-color: #1f1718;
  box-shadow: 0 8px 18px rgba(31, 23, 24, 0.12);
}

.recipe-basic-card:focus-visible {
  outline: 2px solid #3c4f6b;
  outline-offset: 2px;
}

.recipe-basic-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.recipe-basic-photo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #dbe3ec;
  flex-shrink: 0;
  background: #f6f9fc;
}

.recipe-basic-family {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4f5f75;
  background: #edf2f8;
}

.recipe-basic-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.32rem;
}

.recipe-basic-badge {
  font-size: 0.68rem;
  color: #2c2f33;
  background: #fbe7da;
  border-radius: 999px;
  padding: 0.18rem 0.4rem;
}

.recipe-basic-card h3 {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  line-height: 1.25;
  font-family: "Fraunces", serif;
}

.recipe-basic-card p {
  margin: 0.32rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.34;
}

.recipe-basic-meta {
  margin-top: 0.34rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2e4c63;
}

.recipe-zone {
  border-radius: 12px;
  border: 1px solid #d6dde7;
  background: #ffffff;
  padding: 0.78rem;
  box-shadow: 0 4px 12px rgba(39, 30, 36, 0.06);
  position: sticky;
  top: 0.75rem;
}

.recipe-zone-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.recipe-zone-family {
  margin: 0;
  font-size: 0.78rem;
  color: #5f6978;
}

.recipe-zone-title {
  margin: 0.26rem 0 0;
  font-size: 1.08rem;
}

.recipe-zone-head button {
  border: 1px solid #c7ced7;
  border-radius: 999px;
  background: #fff;
  color: #424955;
  padding: 0.34rem 0.68rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.recipe-zone-meta {
  margin: 0.52rem 0 0;
  color: #4e5765;
  font-size: 0.84rem;
}

.recipe-zone-body {
  margin-top: 0.62rem;
  border-top: 1px solid #dbe2ec;
  padding-top: 0.55rem;
}

.recipe-zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.68rem;
}

.recipe-zone-grid h4 {
  margin: 0;
  font-size: 0.9rem;
  font-family: "Fraunces", serif;
}

.recipe-zone-list {
  margin: 0.35rem 0 0;
  padding-left: 1.05rem;
  color: #4a5461;
  font-size: 0.82rem;
  line-height: 1.36;
}

.recipe-zone-list li + li {
  margin-top: 0.14rem;
}

.recipe-zone-actions {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.recipe-zone-actions button {
  border: 1px solid #2f3f58;
  border-radius: 10px;
  background: #eef3f9;
  color: #2f3f58;
  font-weight: 700;
  padding: 0.58rem 0.65rem;
  cursor: pointer;
}

.recipe-zone-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.recipe-zone-feedback {
  margin: 0.45rem 0 0;
  font-size: 0.74rem;
  color: #6a6f79;
  line-height: 1.35;
  min-height: 1em;
}

.scanner-category .category-note {
  max-width: 72ch;
}

.scanner-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.scanner-actions button,
.scan-upload-btn,
.scan-manual button,
.scan-live-foot button {
  border: 1px solid #c6ced8;
  border-radius: 999px;
  background: #fff;
  color: #2f3540;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.52rem 0.86rem;
  cursor: pointer;
}

.scan-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#scan-image-input {
  display: none;
}

.scan-manual {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scan-manual input {
  flex: 1 1 320px;
  border: 1px solid #cfd7e1;
  border-radius: 10px;
  padding: 0.58rem 0.7rem;
  font-size: 0.9rem;
  color: #2a313d;
  background: #fff;
}

.scan-live {
  margin-top: 0.75rem;
  border: 1px solid #d5dde7;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f8fd;
}

.scan-live video {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  background: #111;
}

.scan-live-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0.68rem;
}

.scan-live-foot p {
  margin: 0;
  color: #4b5562;
  font-size: 0.84rem;
}

.scan-result {
  margin-top: 0.7rem;
  border: 1px solid #d5dde7;
  border-radius: 12px;
  background: #fff;
  padding: 0.78rem;
}

.scan-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.scan-result-badge {
  margin: 0;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.scan-result-badge.ok {
  background: #e8f7ec;
  color: #1f6c34;
}

.scan-result-badge.warn {
  background: #fff6df;
  color: #8b5b00;
}

.scan-result-badge.stop {
  background: #ffe8e9;
  color: #9b1f2d;
}

.scan-result-barcode {
  margin: 0;
  color: #69707c;
  font-size: 0.78rem;
}

.scan-result h3 {
  margin-top: 0.52rem;
  font-size: 1.08rem;
}

.scan-result-summary {
  margin: 0.42rem 0 0;
  color: #4a5461;
}

.scan-result-points {
  margin: 0.48rem 0 0;
  padding-left: 1.1rem;
  color: #4d5664;
}

.scan-result-points li + li {
  margin-top: 0.2rem;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right img {
    aspect-ratio: 16 / 9;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .recipe-layout {
    grid-template-columns: 1fr;
  }

  .recipe-zone {
    position: static;
  }

  .recipe-zone-grid {
    grid-template-columns: 1fr;
  }

  .recipe-zone-actions {
    grid-template-columns: 1fr;
  }

  .marques-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(1120px, calc(100% - 1rem));
    padding-top: 0.7rem;
  }

  .mini-links {
    margin-left: 0;
    width: 100%;
  }

  .mini-cta {
    width: 100%;
    text-align: center;
  }

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

  .brand-grid {
    grid-template-columns: 1fr;
  }

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

  .recipe-basic-grid {
    grid-template-columns: 1fr;
  }

  .cart-actions {
    grid-template-columns: 1fr;
  }
}
