﻿.table-shop {
  --shop-paper: #f7f4ec;
  --shop-ink: #273c2e;
  --shop-muted: #4f5a48;
  --shop-line: #d9d8c8;
  --shop-control-line: #7f7d6c;
  --shop-warm: #7a5533;
  --shop-alert: #8a3b1c;
  background: var(--shop-paper);
  color: var(--shop-ink);
}
.table-shop [hidden] { display: none !important; }
.table-shop button { cursor: pointer; }
.table-shop button:not(.cta-buy) { font: inherit; }
.table-shop button, .table-shop a { -webkit-tap-highlight-color: transparent; }
.table-shop button:focus-visible, .table-shop a:focus-visible, .table-shop summary:focus-visible { outline: 3px solid var(--shop-warm); outline-offset: 5px; }
.table-shop main { padding-top: 64px; }
.shop-kicker { display: flex; justify-content: space-between; gap: 20px; padding: 24px 4vw 0; font-size: 10px; letter-spacing: 2px; color: var(--shop-muted); }
.shop-eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 11px; font-weight: 500; color: var(--shop-muted); }
/* El text i la taula tenen columnes pròpies: cap superposició de titulars. */
.table-overview { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); align-items: center; gap: 28px; padding: 48px 4vw 0; }
.overview-copy { padding-bottom: 30px; }
.overview-copy h1 { font-size: clamp(64px, 7.3vw, 110px); line-height: 1; letter-spacing: -3px; margin: 22px 0 28px; }
.overview-copy h1 em { font-weight: 400; }
.overview-copy > p:not(.shop-eyebrow) { max-width: 360px; font-size: 15px; line-height: 1.85; }
.handwritten { display: block; margin-top: 28px; font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--shop-warm); }
.handwritten span { display: inline-block; font-size: 36px; padding-left: 8px; }
.overview-table { position: relative; width: 100%; max-width: 800px; justify-self: center; }
.table-photo { width: 100%; height: auto; filter: drop-shadow(0 18px 14px #4637251c); }
.scattered-products { position: absolute; inset: 0; }
.scatter-product { position: absolute; top: 13%; width: 26%; padding: 0; border: 0; background: none; color: var(--shop-ink); transition: translate 300ms ease; }
.scatter-product img { width: 100%; height: auto; aspect-ratio: .44; object-fit: contain; filter: drop-shadow(7px 13px 7px #34201766); }
.scatter-product span { display: block; width: max-content; max-width: 110%; margin: 10px auto 0; padding: 6px 16px; border-radius: 30px; background: var(--shop-paper); font-family: var(--font-display); font-size: clamp(21px, 2vw, 31px); line-height: 1.15; box-shadow: 0 3px 10px #30211422; }
.scatter-product:nth-child(1) { left: 8%; }
.scatter-product:nth-child(2) { left: 37%; top: 9%; }
.scatter-product:nth-child(3) { left: 66%; }
.overview-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 28px 0; border-block: 1px solid var(--shop-line); font-size: 13px; }
.overview-bottom > span { line-height: 1.8; }
.overview-bottom a { max-width: 310px; text-align: right; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 699px) {
  /* Amb la Guilla al costat, la fila necessita passar a dues línies. */
  .overview-bottom { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0; }
  .overview-bottom a { max-width: none; text-align: left; }
}
.product-experience { position: relative; padding: 0; }
/* La capçalera fa de banner: la meitat de dalt de la taula hi queda darrere. */
body:has(#experience:not([hidden])) .shop-kicker { display: none; }
body:has(#experience:not([hidden])) .shop-header { box-shadow: 0 22px 32px -30px #273c2ecc; }
.experience-top { position: absolute; z-index: 6; top: 12px; left: 4vw; right: 4vw; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--shop-muted); letter-spacing: 1px; pointer-events: none; }
.experience-top button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 1px solid var(--shop-control-line); border-radius: 30px; background: var(--shop-paper); color: var(--shop-ink); font-size: 13px; pointer-events: auto; }
.experience-top > span { padding: 8px 14px; border-radius: 30px; background: var(--shop-paper); }
.experience-stage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "scene scene" "ingredients product"; gap: 16px 7%; align-items: start; padding: 0 4vw; --info-opacity: 1; }
/* Una sola variable governa l'opacitat dels dos panells durant el gir. */
.experience-stage .product-panel,
.experience-stage .ingredient-panel { opacity: var(--info-opacity, 1); }
/* Fitxa encara sense ingredients ni història: el producte ocupa tot l'ample. */
.experience-stage.is-product-only { grid-template-columns: minmax(0, 1fr); grid-template-areas: "scene" "product"; }
.experience-stage.is-product-only .product-panel { max-width: 760px; }
.ingredient-panel { grid-area: ingredients; padding-top: 0; min-width: 0; }
.ingredient-panel[hidden],
.product-story[hidden] { display: none; }
.ingredient-panel .shop-eyebrow { font-size: 11px; }
.herb-basket { width: min(240px, 100%); color: #60704b; margin: 0 0 22px; }
.herb-basket svg { width: 100%; display: block; }
.herb-basket [data-plant] { display: none; }
.herb-basket[data-plant='francisca'] [data-plant='francisca'],
.herb-basket[data-plant='panxo'] [data-plant='panxo'],
.herb-basket[data-plant='susa'] [data-plant='susa'] { display: inline; }
.ingredient-panel h2 { font-size: 29px; line-height: 1.1; }
.ingredient-panel > p:not(.shop-eyebrow) { font-size: 12px; line-height: 1.8; color: var(--shop-muted); }
.ingredient-panel ul { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px 10px; }
.ingredient-panel li { font-family: var(--font-display); font-size: 20px; }
.ingredient-panel li::before { content: '· '; color: var(--shop-warm); }
.ingredient-panel #ingredient-preview { gap: 8px; margin: 12px 0 0; }
.ingredient-panel #ingredient-preview li { padding: 5px 11px; border: 1px solid var(--shop-line); border-radius: 999px; background: #f1ede0; font-family: var(--font-body); font-size: 12px; line-height: 1.3; }
.ingredient-panel #ingredient-preview li::before { content: none; }
.table-shop details { font-size: 12px; line-height: 1.9; }
.table-shop summary { cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: 5px; }
.table-shop details p { color: var(--shop-muted); }
/* Desplegable clar: sembla un botó, no un enllaç amagat. */
.all-plants { margin-top: 18px; }
.all-plants summary { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid var(--shop-line); border-radius: 999px; background: #f1ede0; font-size: 12px; font-weight: 500; text-decoration: none; list-style: none; cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.all-plants summary::-webkit-details-marker { display: none; }
.all-plants summary::marker { content: ''; }
.all-plants summary:hover { background: #ece7d6; border-color: var(--shop-control-line); }
.all-plants-icon { margin-left: auto; font-size: 18px; line-height: 1; transition: transform 180ms ease; }
.all-plants[open] summary { background: #ece7d6; border-color: var(--shop-control-line); }
.all-plants[open] .all-plants-icon { transform: rotate(45deg); }
.ingredient-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; margin-top: 12px; padding-right: 4px; }
.ingredient-item { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--shop-line); border-radius: 4px; background: #f7f4ec; }
.ingredient-item-name { color: var(--shop-ink); font-size: 12px; font-weight: 500; line-height: 1.3; }
.ingredient-item-latin { color: var(--shop-muted); font-size: 10px; font-style: italic; line-height: 1.3; }
/* El sobre gira en perspectiva; la fotografia conserva els plecs i el tall.
   Els envasos recorren un arc, sempre drets, amb la mateixa progressió. */
.rotating-scene { grid-area: scene; position: relative; width: min(1000px, 100%); justify-self: center; min-width: 0; container-type: inline-size; --bag-radius: 38cqw; --bag-height: 36cqw; }
/* La taula sencera gira; del banner en avall només se'n veu la meitat. */
.table-stage { position: relative; width: 100%; aspect-ratio: 1662 / 749; overflow: hidden; }
.table-clip { position: absolute; inset: 0; }
.table-disc, .table-reveal { position: absolute; left: 50%; top: 0; width: 100%; aspect-ratio: 831 / 749; translate: -50% -50%; }
.table-disc { transform: rotate(var(--table-angle, 0deg)); transform-origin: 50% 50%; }
/* La meitat entrant gira amb la taula i la seva costura és el diàmetre. */
.table-reveal { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); transform: rotate(var(--reveal-turn, 0deg)); }
.table-reveal .table-disc { inset: 0; width: 100%; height: 100%; translate: none; transform: rotate(calc(var(--table-angle, 0deg) - var(--reveal-turn, 0deg))); }
.table-face { width: 100%; height: 100%; object-fit: contain; }
.table-stage::after { content: ''; position: absolute; inset: 0 0 auto; height: 32px; background: linear-gradient(#273c2e1f, transparent); pointer-events: none; z-index: 3; }
/* El sobre penja del centre de la taula i recorre l'arc seguint la volta. */
.bag-orbit { position: absolute; left: 50%; top: 0; z-index: 2; }
.bag-anchor { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.bag-out { transform: rotate(var(--bag-out-angle, 0deg)) translateY(var(--bag-radius)); }
.bag-in { transform: rotate(var(--bag-in-angle, -90deg)) translateY(var(--bag-radius)); }
.wheel-product { position: absolute; left: 50%; bottom: 0; height: var(--bag-height); width: auto; max-width: none; translate: -50% 0; object-fit: contain; filter: drop-shadow(10px 16px 8px #30211455); }
#product-current, #product-incoming { transform-origin: 50% 100%; }
.bag-out #product-current { transform: rotate(calc(-1 * var(--bag-out-angle, 0deg))); }
.bag-in #product-incoming { transform: rotate(calc(-1 * var(--bag-in-angle, -90deg))); opacity: 0; }
.rotating-scene.is-turning .table-disc,
.rotating-scene.is-turning .table-reveal { will-change: transform; }
.rotating-scene.is-turning .wheel-product { filter: none; }
.wheel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 6px; }
.wheel-controls button { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--shop-control-line); border-radius: 50%; background: var(--shop-paper); color: var(--shop-ink); font-size: 23px; }
.wheel-controls span { font-family: var(--font-display); font-style: italic; font-size: 23px; color: var(--shop-muted); }
.product-panel { grid-area: product; min-width: 0; padding-top: 0; }
.product-panel .shop-eyebrow { margin: 0 0 8px; }
.product-panel h1 { font-size: clamp(52px, 5.3vw, 84px); line-height: 1.05; letter-spacing: -2px; margin: 4px 0 12px; overflow-wrap: anywhere; }
.product-panel h1:focus { outline: none; }
.product-short { margin: 0 0 12px; font-size: 14px; line-height: 1.85; }
.tasting-notes { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 26px; }
.tasting-notes span { border: 1px solid var(--shop-line); border-radius: 20px; padding: 6px 10px; font-size: 12px; }
.buy-block { border-top: 1px solid var(--shop-line); padding-top: 14px; }
.buy-block > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.buy-block strong { font-size: 25px; font-weight: 400; white-space: nowrap; }
.buy-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 15px 22px; border: 1px solid var(--shop-ink); border-radius: 3px; background: var(--shop-ink); color: var(--shop-paper); font-size: 14px !important; }
.buy-block .buy-button { width: 100%; border-color: var(--shop-ink); background: var(--shop-ink); color: var(--shop-paper); font-size: 15px !important; letter-spacing: .01em; box-shadow: 0 12px 24px -18px #273c2e; }
.buy-block .buy-button > span[aria-hidden] { display: inline-block; transition: transform 180ms ease; }
.buy-hint { margin: 10px 0 0; font-size: 12px; color: var(--shop-muted); line-height: 1.7; }
.product-allergens { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--shop-line); font-size: 0.72rem; line-height: 1.55; color: var(--shop-muted); font-weight: 400; }
.demo-note { margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--shop-control-line); border-left: 4px solid var(--shop-ink); border-radius: 2px; background: #f1ede0; font-size: 12px; line-height: 1.65; color: var(--shop-ink); }
.product-moment { font-family: var(--font-display); font-size: 23px; font-style: italic; line-height: 1.4; margin-top: 26px; }
.product-caption { display: flex; align-items: center; gap: 20px; margin: 0 4vw; padding: 24px 0; border-block: 1px solid var(--shop-line); }
.product-caption > span:first-child { font-size: 45px; color: var(--shop-warm); }
.product-caption p { margin: 0; max-width: 620px; font-family: var(--font-display); font-size: 30px; line-height: 1.25; }
.product-caption > span:last-child { margin-left: auto; font-size: 12px; line-height: 1.8; text-align: right; }
.product-picker { display: flex; justify-content: center; gap: 16px; padding: 30px 20px 0; }
.product-picker button { display: flex; align-items: center; gap: 14px; width: 220px; padding: 12px 16px; background: transparent; border: 1px solid transparent; border-bottom-color: var(--shop-control-line); border-radius: 3px; color: var(--shop-ink); text-align: left; }
.product-picker button[aria-pressed='true'] { border-color: var(--shop-ink); background: #eeebdf; }
.product-picker img { height: 70px; width: 50px; object-fit: contain; }
.product-picker span { font-family: var(--font-display); font-size: 22px; line-height: 1.15; }
.product-story { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; margin: 0 8vw; padding: 80px 0; }
.product-story h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.1; }
.product-story > div > p:not(.shop-eyebrow) { white-space: pre-line; font-size: 14px; line-height: 1.9; }
.product-gallery-section { margin: 0 8vw; padding: 0 0 70px; }
.product-gallery-section > div:first-child { max-width: 760px; margin-bottom: 28px; }
.product-gallery-section h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1.05; color: var(--shop-ink); margin: 8px 0 0; }
.product-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.product-gallery figure { margin: 0; }
.product-gallery img { width: 100%; height: 320px; object-fit: cover; display: block; border-radius: 4px; border: 1px solid var(--shop-line); background: var(--shop-paper); }
.product-gallery img.is-label { object-fit: contain; padding: 10px; }
/* Fotos panoràmiques (la placa): es veuen senceres perquè el text no es talli. */
.product-gallery img.is-wide { object-fit: contain; padding: 10px; background: var(--shop-paper); }
/* Una sola imatge (l'envàs sense fotos): no s'estira a tot l'ample del marc. */
.product-gallery:has(> figure:only-child) { grid-template-columns: minmax(0, min(360px, 100%)); }
.product-gallery:has(> figure:only-child) img.is-label { height: 460px; }
@media (max-width: 480px) { .product-gallery:has(> figure:only-child) img.is-label { height: 400px; } }
.tasting-notes[hidden] { display: none; }
/* Les fotos d'envàs s'han de veure senceres: no tallar el frontal o les dades
   de l'etiqueta per omplir la mateixa finestra que una foto de paisatge. */
.product-gallery img.is-product-photo { object-fit: contain; }
.product-gallery figcaption { margin-top: 7px; font-size: 12px; line-height: 1.45; color: var(--shop-muted); }
@media (max-width: 900px) { .product-gallery img { height: 260px; } }
@media (max-width: 760px) { .product-gallery-section { margin-inline: 24px; } .product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .product-gallery { grid-template-columns: 1fr; } .product-gallery img { height: 300px; } }
.pack-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; background: #ebe8dc; padding: 65px 10vw; margin-top: 35px; }
.pack-section > img { width: 100%; max-height: 380px; object-fit: contain; mix-blend-mode: multiply; }
.pack-section h2 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.05; }
.pack-section p:not(.shop-eyebrow) { max-width: 380px; font-size: 14px; line-height: 1.9; }
.pack-buy { display: flex; flex-direction: column; align-items: start; gap: 20px; font-size: 14px; margin-top: 25px; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 15px; background: var(--shop-paper); }
#shop-loading { display: none; margin: 50px 4vw; }
html.shop-direct #shop-loading, html.shop-error #shop-loading { display: block; }
html.shop-direct #shop-content { display: none; }
html.shop-error #shop-content { display: block; }
.no-script { margin: 50px 4vw; }
.product-panel.is-arriving { animation: shop-arrive 500ms ease both; }
@keyframes shop-arrive { from { opacity: .3; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (hover: hover) {
  .scatter-product:hover { translate: 0 -8px; }
  .buy-button:hover { background: #40533b; color: #fff; }
  .buy-block .buy-button:hover { border-color: var(--forest-deep); background: var(--forest-deep); color: #fff; }
  .buy-block .buy-button:hover > span[aria-hidden] { transform: translate(3px, -2px); }
  .wheel-controls button:hover { background: var(--shop-ink); color: var(--shop-paper); }
}
@media (min-width: 1500px) {
  .table-shop main { max-width: 1700px; margin-inline: auto; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .experience-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "scene" "product" "ingredients"; gap: 18px 0; }
  .product-panel { max-width: 720px; }
  .ingredient-panel { display: grid; grid-template-columns: 190px 1fr; column-gap: 25px; border-top: 1px solid var(--shop-line); padding: 25px 0; }
  .herb-basket { grid-column: 1; grid-row: 1 / 6; align-self: center; margin: 0; }
  .ingredient-panel > :not(.herb-basket) { grid-column: 2; }
  /* Sense herbari il·lustrat, la fitxa no ha de reservar la columna buida. */
  .ingredient-panel.no-herb { grid-template-columns: minmax(0, 1fr); }
  .ingredient-panel.no-herb > :not(.herb-basket) { grid-column: 1; }
  .overview-copy h1 { font-size: 64px; letter-spacing: -2px; }
}
@media (max-width: 760px) {
  .shop-kicker { padding-inline: 20px; font-size: 11px; letter-spacing: 1px; }
  .shop-kicker > span:last-child { display: none; }
  .table-overview { grid-template-columns: 1fr; padding: 34px 20px 0; gap: 20px; }
  .overview-copy { padding: 0; }
  .overview-copy h1 { font-size: clamp(60px, 15vw, 92px); margin: 16px 0 20px; letter-spacing: -2px; }
  .overview-copy > p:not(.shop-eyebrow) { font-size: 14px; }
  .handwritten { margin-top: 14px; font-size: 25px; }
  .overview-table { max-width: 580px; }
  .scatter-product span { font-size: 22px; padding: 5px 10px; }
  .overview-bottom { grid-column: 1; font-size: 12px; gap: 20px; }
  .overview-bottom a { max-width: 180px; }
  /* Barra pròpia damunt la taula: no tapa el gir ni el sobre. */
  .experience-top { position: static; padding: 12px 20px 0; gap: 10px; }
  .experience-top button { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; font-size: 16px; }
  .experience-top .back-label { display: none; }
  .experience-top > span { padding: 6px 10px; font-size: 11px; letter-spacing: .5px; }
  /* La meitat de taula ocupa l'amplada: la superior queda darrere la capçalera. */
  .experience-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "scene" "product" "ingredients"; gap: 0; padding: 0; overflow-x: clip; }
  .rotating-scene { width: 150vw; }
  .product-panel { padding: 18px 20px 0; }
  .wheel-controls { padding: 4px 20px 0; gap: 10px; }
  .wheel-controls span { font-size: 17px; line-height: 1.2; text-align: center; }
  .wheel-controls button { width: 40px; height: 40px; font-size: 21px; }
  .product-panel h1 { font-size: clamp(44px, 13vw, 60px); margin: 10px 0; }
  .product-panel .tasting-notes { margin: 12px 0 16px; }
  .product-panel .product-moment { margin-top: 20px; }
  .product-panel .shop-eyebrow { font-size: 11px; }
  .product-short { font-size: 14px; }
  .product-moment { font-size: 23px; }
  .ingredient-panel { display: grid; grid-template-columns: 150px 1fr; gap: 0 16px; padding: 24px 20px; border-top: 1px solid var(--shop-line); margin-top: 20px; }
  .herb-basket { grid-column: 1; grid-row: 1 / 6; width: 100%; align-self: center; margin: 0; }
  .ingredient-panel > :not(.herb-basket) { grid-column: 2; }
  .ingredient-panel.no-herb { grid-template-columns: minmax(0, 1fr); }
  .ingredient-panel.no-herb > :not(.herb-basket) { grid-column: 1; }
  .ingredient-panel h2 { font-size: 25px; }
  .ingredient-panel ul { font-size: 18px; }
  .product-caption { margin-inline: 20px; gap: 12px; }
  .product-caption p { font-size: 25px; }
  .product-caption > span:last-child { display: none; }
  .product-picker { gap: 6px; padding: 20px 16px 0; }
  .product-picker button { flex: 1; min-width: 0; padding: 12px 4px; gap: 5px; flex-direction: column; }
  .product-picker img { height: 65px; width: 45px; }
  .product-picker span { font-size: 22px; }
  .product-story { grid-template-columns: 1fr; gap: 20px; padding: 50px 0; margin-inline: 24px; }
  .pack-section { grid-template-columns: 1fr; padding: 40px 24px; gap: 20px; }
  .pack-section > img { max-height: 260px; }
  .pack-section h2 { font-size: 48px; }
  .pack-buy { align-items: stretch; }
}

.demo-note { display: none !important; }

@media (max-width: 380px) {
  .scatter-product span { font-size: 18px; padding: 4px 8px; }
}


/* === Taula 3D compartida i fitxa sense l'antiga mitja taula === */
.taula3d-shop-stage { aspect-ratio: 6 / 5; max-width: 780px; margin-inline: auto; }
.experience-stage {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas: "ingredients product";
  gap: 16px 7%;
  padding: 58px 4vw 0;
}
.experience-nav { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.experience-nav button {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
}
.experience-nav span { min-width: 74px; text-align: center; }
@media (max-width: 1100px) and (min-width: 761px) {
  .experience-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "product" "ingredients";
    gap: 18px 0;
    padding-top: 58px;
  }
}
@media (max-width: 760px) {
  .taula3d-shop-stage { aspect-ratio: 4 / 3; }
  .experience-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "product" "ingredients";
    gap: 0;
    padding: 0;
  }
  .experience-nav { gap: 4px; }
  .experience-nav button { width: 38px; min-height: 38px; }
  .experience-nav span { min-width: 58px; font-size: 11px; }
}
.shop-index--shop { margin-top: 14px; }
.product-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-bottom: 36px;
}
@media (max-width: 1000px) {
  .product-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.product-picker button { width: auto; min-width: 0; }
@media (max-width: 760px) {
  .product-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
.buy-now-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 20px;
  border: 1px solid var(--shop-ink);
  border-radius: 3px;
  background: transparent;
  color: var(--shop-ink);
  font-size: 14px;
  cursor: pointer;
}
.buy-now-button:hover { background: #ece7d6; }

/* === Botiga: taula giratòria a dalt a la dreta i guilla en una banda discreta === */
.table-overview { display: block; padding: 34px 4vw 0; }
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(18px, 3.5vw, 56px);
  max-width: 1280px;
  margin: 0 auto;
}
.overview-copy { padding-bottom: 0; padding-top: 16px; }
.overview-copy h1 { font-size: clamp(52px, 5.4vw, 92px); letter-spacing: -2.5px; margin: 18px 0 24px; }
.overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.overview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--shop-ink);
  border-radius: 3px;
  background: var(--shop-ink);
  color: var(--shop-paper);
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, translate 160ms ease;
}
.overview-cta--ghost { background: transparent; color: var(--shop-ink); }
.overview-cta:hover { translate: 0 -2px; }
.overview-cta--ghost:hover { background: #ece7d6; }
.shop-section-head { max-width: 780px; margin: 0 auto 22px; text-align: center; }
.shop-section-head h2 {
  margin: 8px 0 0;
  color: var(--shop-ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -1px;
}
.shop-section-head h2 em { font-weight: 400; }
.shop-section-head p:not(.shop-eyebrow) {
  max-width: 580px;
  margin: 10px auto 0;
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.8;
}
.overview-table {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  justify-self: stretch;
}
.shop-section-head--table { max-width: none; margin: 0 0 12px; text-align: left; }
.shop-section-head--table h2 { font-size: clamp(30px, 3.2vw, 46px); }
.shop-section-head--table p:not(.shop-eyebrow) { max-width: 44rem; margin-inline: 0; }
.table-ring { position: relative; width: 100%; }
.taula3d-shop-stage { max-width: 760px; margin-inline: auto; --taula3d-edge: var(--shop-paper, #f7f4ec); }
/* La guilla ja no és el hero: una banda baixa, sota la taula. */
.overview-fox-band {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 18px 0 0;
  padding: 20px 0 24px;
  border-block: 1px solid var(--shop-line);
}
.overview-fox-band img {
  flex: 0 0 auto;
  width: 160px;
  height: auto;
  filter: drop-shadow(0 14px 16px rgba(52, 32, 23, 0.18));
}
.overview-fox-band p { margin: 0; color: var(--shop-muted); font-size: 13px; line-height: 1.7; }
.overview-fox-band p strong { color: var(--shop-ink); font-weight: 500; }
.overview-fox-band a { display: inline-block; margin-top: 7px; color: var(--shop-ink); font-size: 13px; text-underline-offset: 4px; }
.overview-products {
  max-width: 1080px;
  margin: 70px auto 0;
  padding-top: 42px;
  border-top: 1px solid var(--shop-line);
}
.product-list { list-style: none; margin: 0; padding: 0; }
.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  padding: 36px 0;
  border-bottom: 1px solid var(--shop-line);
}
.product-card:first-child { border-top: 1px solid var(--shop-line); }
.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--shop-line);
  border-radius: 5px;
  background: #efe9da;
}
.product-card-photo { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.38) saturate(0.86) brightness(1.03); }
.product-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(247, 241, 228, 0.04), rgba(169, 124, 47, 0.14));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.product-card-pouch {
  position: absolute;
  left: 7%;
  bottom: 6%;
  width: 24%;
  height: auto;
  filter: drop-shadow(8px 16px 10px rgba(52, 32, 23, 0.42));
}
.product-card-body h3 {
  margin: 4px 0 10px;
  color: var(--shop-ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
}
.product-card-short { max-width: 470px; margin: 0; color: var(--shop-muted); font-size: 14px; line-height: 1.85; }
.product-card-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; padding: 0; list-style: none; }
.product-card-notes li { padding: 5px 11px; border: 1px solid var(--shop-line); border-radius: 999px; font-size: 12px; }
.product-card-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.product-card-price { display: flex; flex-direction: column; gap: 1px; margin: 0; }
.product-card-price strong { color: var(--shop-ink); font-size: 1.75rem; font-weight: 400; line-height: 1; }
.product-card-price small { color: var(--shop-muted); font-size: 11px; }
.product-card-add {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--shop-ink);
  border-radius: 3px;
  background: var(--shop-ink);
  color: var(--shop-paper);
  font-size: 13px;
}
.product-card-add:hover { background: var(--forest-deep); }
.product-card-link { color: var(--shop-ink); font-size: 13px; text-underline-offset: 4px; }
.overview-bottom { margin-top: 8px; }
@media (max-width: 900px) {
  .overview-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .overview-copy { text-align: left; }
  .overview-fox-band { max-width: 100%; }
  .product-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .product-card-media { aspect-ratio: 16 / 10; }
  .product-card-pouch { width: 24%; }
}
@media (max-width: 760px) {
  .table-overview { padding: 26px 20px 0; }
  .overview-copy h1 { font-size: clamp(54px, 15vw, 82px); }
  .overview-actions { margin-top: 20px; }
  .overview-cta { flex: 1; min-width: 0; justify-content: space-between; padding-inline: 14px; }
  .handwritten { margin-top: 18px; }
  .overview-fox-band { gap: 12px; padding: 16px 0 20px; }
  .overview-fox-band img { width: 110px; }
  .overview-table { margin-top: 8px; padding-top: 0; }
  .overview-products { margin-top: 50px; padding-top: 30px; }
  .shop-section-head { text-align: left; margin-bottom: 16px; }
  .shop-section-head h2 { font-size: clamp(34px, 10vw, 48px); }
  .shop-section-head p:not(.shop-eyebrow) { margin-inline: 0; }
  .product-card { padding: 28px 0; }
  .product-card-media { aspect-ratio: 4 / 3; }
  .product-card-pouch { width: 30%; }
  .product-card-body h3 { font-size: clamp(36px, 11vw, 48px); }
  .product-card-buy { gap: 10px 14px; }
  .product-card-add { flex: 1; }
}
.pack-buy { align-items: stretch; max-width: 460px; }
.pack-buy .buy-button, .pack-buy .buy-now-button { width: 100%; justify-content: space-between; }

/* Un packshot frontal es veu sencer i no es duplica amb el retall petit. */
.product-card-photo.is-packshot {
  object-fit: contain;
  padding: clamp(18px, 3vw, 34px);
  filter: none;
  background: #efe9da;
}
