:root {
  color-scheme: light;
  --bg: #f7f3ec;
  --panel: #fffaf3;
  --ink: #211d17;
  --muted: #635b4f;
  --line: #dcd2c2;
  --accent: #a7522a;
  --accent-light: #e6a673;
  --green: #29382d;
  --serif: Georgia, "Times New Roman", serif;
  --shadow: 0 22px 70px #251a1226;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.3vw, 4rem); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 0; }
p { margin-bottom: 1rem; }
em { font-weight: 400; }
:focus-visible { outline: 2px solid #a7522a; outline-offset: 4px; }
::selection { background: #efd3b7; color: #2b2016; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 40; top: 12px; left: 12px; padding: 12px; background: var(--panel); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; z-index: 30; inset: 0 0 auto; height: 3px; background: var(--accent-light); transform: scaleX(0); transform-origin: left; }

.site-header {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 44px));
  min-height: 66px;
  transform: translateX(-50%);
  border: 1px solid #fffaf385;
  border-radius: 8px;
  padding: 11px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #fffaf3ec;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 34px #1d160d16;
}
.brand { display: inline-flex; width: fit-content; gap: 12px; align-items: center; font: 23px/1 var(--serif); letter-spacing: .11em; }
.brand img { width: 32px; height: 32px; }
.primary-nav { display: flex; gap: clamp(16px, 3vw, 42px); align-items: center; }
.primary-nav a, .cart-trigger { font-size: .75rem; font-weight: 650; letter-spacing: .065em; }
.primary-nav a { text-transform: uppercase; transition: color .2s; }
.primary-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.languages { display: inline-flex; align-items: center; gap: 1px; border: 1px solid #d5c9b9; border-radius: 5px; padding: 2px; }
.languages a { display: grid; place-items: center; min-width: 28px; min-height: 29px; border-radius: 3px; font-size: .67rem; font-weight: 720; }
.languages a:hover { color: var(--accent); }
.languages a[aria-current], html[lang="it"] .languages a[hreflang="it"], html[lang="en"] .languages a[hreflang="en"], html[lang="de"] .languages a[hreflang="de"] { background: #efe3d5; color: #773a1d; }
.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  border: 1px solid #d5c9b9;
  border-radius: 5px;
  padding: 8px 9px 8px 11px;
  background: #fffaf3a0;
  transition: background .2s, border-color .2s;
}
.cart-trigger:hover { background: #fffaf3; border-color: #a7522a; }
.cart-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 50%; background: #efe3d5; color: #773a1d; font-size: .68rem; font-variant-numeric: tabular-nums; }

.hero { position: relative; isolation: isolate; overflow: clip; min-height: clamp(610px, 82svh, 860px); display: grid; align-items: center; background: #273225; color: var(--panel); }
.hero-image, .hero-wash { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 54% 52%; animation: hero-drift 16s ease-in-out infinite alternate; }
.hero-wash { z-index: -1; background: linear-gradient(90deg, #181b12cc, #181b1263 51%, #181b1208 85%), linear-gradient(0deg, #191b1580, transparent 36%); }
.hero-inner { position: relative; padding: 136px 0 98px; }
.hero-copy { max-width: 766px; animation: copy-in .78s cubic-bezier(.2,.65,.26,1) both; }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: .73rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow { color: #ffca99; }
.hero h1 { margin: 0 0 25px; font-size: clamp(4.1rem, 8vw, 8rem); line-height: .9; letter-spacing: -.07em; }
.hero h1 em { color: #ffe2bd; }
html[lang="de"] .hero h1 { font-size: clamp(3.75rem, 7.4vw, 7rem); }
.hero-copy > p:not(.eyebrow) { margin-bottom: 29px; color: #fff6e9; line-height: 1.7; font-size: clamp(.96rem, 1.25vw, 1.14rem); }
.hero-emblem { position: absolute; z-index: -1; right: max(-62px, calc((100% - 1180px) / 2 - 115px)); top: 22%; width: min(26vw, 340px); aspect-ratio: 1; transform: rotate(45deg); border: 1px solid #fffaf34a; opacity: .75; animation: emblem-drift 10s ease-in-out infinite alternate; pointer-events: none; }
.hero-emblem i { position: absolute; display: block; border: 1px solid #fffaf34d; }
.hero-emblem i:nth-child(1) { inset: 10%; border-color: #f0c09778; }
.hero-emblem i:nth-child(2) { inset: 29%; background: #fffaf30a; animation: emblem-pulse 3.2s ease-in-out infinite alternate; }
.hero-emblem i:nth-child(3) { width: 22%; height: 22%; left: 9%; bottom: 13%; border-color: #a4bc9a86; }
.hero-emblem i:nth-child(4) { width: 9%; height: 9%; right: 15%; top: 18%; border-radius: 50%; background: #f0c09755; }
.hero-scroll { position: absolute; right: 0; bottom: 28px; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #fffaf374; border-radius: 5px; color: var(--panel); transition: background .2s; }
.hero-scroll:hover { background: #fffaf329; }
@keyframes hero-drift { from { transform: scale(1.035); } to { transform: translate(-1.05%, .3%) scale(1.095); } }
@keyframes emblem-drift { from { transform: translateY(0) rotate(45deg); } to { transform: translateY(20px) rotate(52deg); } }
@keyframes emblem-pulse { from { scale: .88; opacity: .42; } to { scale: 1.13; opacity: 1; } }
@keyframes copy-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; border: 1px solid transparent; border-radius: 5px; padding: 11px 17px; font-size: .89rem; font-weight: 650; line-height: 1.3; transition: background .2s, color .2s, transform .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: #fffaf3; }
.button.primary:hover:not(:disabled) { background: #87421f; }
.hero .button.primary { background: #e8b387; color: #24190f; }
.hero .button.primary:hover { background: #f7c79f; }
.button.outline { background: transparent; border-color: #c9b9a5; }
.button.outline:hover:not(:disabled) { background: #efe4d5; }
.button.full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 2px 0 5px; color: var(--accent); font-size: .88rem; font-weight: 700; border-bottom: 1px solid #a7522a55; }
.text-link:hover { border-color: var(--accent); }

.catalogue { padding: 78px 0 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 31px; }
.section-heading > p { max-width: 318px; margin: 0 0 4px; color: var(--muted); }
.catalogue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product { display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); transition: box-shadow .3s, border-color .3s; }
.product:hover { box-shadow: var(--shadow); border-color: #c8b6a0; }
.product-media { position: relative; aspect-ratio: 1.95; overflow: hidden; background: #e5d6be; }
.product-media img { height: 100%; object-fit: cover; object-position: center; transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.product[data-product="spremuta"] img { object-position: center 56%; }
.product:hover img { transform: scale(1.035); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.product h3 { margin: 0 0 6px; font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.035em; line-height: 1.12; }
.product-description { flex: 1; color: var(--muted); font-size: .92rem; }
.product-variants { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; border: 0; margin: 20px 0 0; }
.product-variants legend { margin: 0 0 8px; padding: 0; color: var(--muted); font-size: .75rem; font-weight: 700; }
.variant { position: relative; display: inline-flex; }
.variant input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.variant span { display: inline-grid; min-height: 39px; min-width: 58px; place-items: center; padding: 6px 9px; cursor: pointer; border: 1px solid var(--line); border-radius: 5px; font-size: .83rem; }
.variant input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.variant input:checked + span { border-color: #ad663e; color: #773a1d; background: #efe5d6; font-weight: 700; }
.variant input:disabled + span { cursor: default; text-decoration: line-through; opacity: .58; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.product-price { margin: 0; font: 400 1.65rem/1 var(--serif); white-space: nowrap; }
.product-price small { display: block; font: 400 .73rem/1.3 system-ui, sans-serif; color: var(--muted); margin-top: 5px; }
.motion .reveal { opacity: 0; transform: translateY(24px); transition: transform .7s cubic-bezier(.2,.65,.26,1), opacity .7s ease; }
.motion .reveal.visible, .motion .reveal:focus-within, .motion .reveal:target { opacity: 1; transform: none; }
.motion .visible .product { animation: copy-in .55s .08s both; }
.motion .visible .product + .product { animation-delay: .19s; }

.story { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 389px; overflow: hidden; background: #eee6d8; border: 1px solid var(--line); border-radius: 8px; }
.story-media { min-height: 100%; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: grid; align-content: center; justify-items: start; padding: clamp(26px, 5vw, 72px); }
.story-copy > p:not(.eyebrow) { margin: 22px 0; max-width: 440px; color: var(--muted); }
.assistance { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 92px 0; }
.assistance h2 { max-width: 490px; }
.assistance p:not(.eyebrow) { color: var(--muted); margin-top: 15px; }
.faq details { border-top: 1px solid var(--line); padding: 15px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; justify-content: space-between; list-style: none; cursor: pointer; font-size: .92rem; font-weight: 650; }
.faq summary::after { content: '+'; font-size: 1.18rem; color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-bottom: 0; font-size: .88rem; }
.site-footer { background: var(--green); color: #fff7ea; padding: 29px 0 25px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: .82rem; }
.footer-inner nav button { border: 0; background: transparent; padding: 0; text-align: left; }
.footer-inner nav :is(a, button):hover { text-decoration: underline; }
.preview-note { color: #ded4c6; font-size: .75rem; margin-top: 14px; margin-bottom: 0; }

.panel { position: fixed; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); width: min(560px, 100% - 28px); max-height: calc(100dvh - 28px); padding: 0; box-shadow: var(--shadow); }
.panel[open] { display: flex; flex-direction: column; animation: panel-in .32s ease-out both; }
.panel::backdrop { background: #201a14a0; backdrop-filter: blur(3px); }
.panel.drawer { inset: 0 0 0 auto; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 8px 0 0 8px; }
.panel.drawer[open] { animation: drawer-in .3s cubic-bezier(.24,.75,.26,1) both; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel-header h2 { font-size: clamp(1.7rem, 4vw, 2.25rem); }
.panel-scroll { min-height: 0; padding: 21px 24px 25px; overflow: auto; overscroll-behavior: contain; }
.icon-button { display: grid; flex: 0 0 auto; place-items: center; min-width: 39px; min-height: 38px; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 5px; font-size: 1.4rem; line-height: 1; }
.icon-button:hover { background: #efe5d6; }
.panel-notice { padding: 10px 12px; border-radius: 5px; background: #f1e6d7; color: #63462f; font-size: .83rem; }
.cart-line { display: grid; grid-template-columns: 58px 1fr auto; align-items: start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 58px; height: 58px; object-fit: cover; border-radius: 4px; }
.cart-line strong { font-size: .91rem; }
.cart-line p { color: var(--muted); font-size: .81rem; margin: 2px 0 6px; }
.cart-line-cost { white-space: nowrap; font-weight: 680; font-size: .9rem; }
.cart-line-actions { display: flex; gap: 6px; align-items: center; }
.cart-line-actions .icon-button { min-width: 32px; min-height: 32px; font-size: 1rem; }
.cart-quantity { min-width: 22px; text-align: center; font-size: .84rem; }
.delete-line { border: 0; padding: 7px 0 7px 4px; text-decoration: underline; font-size: .74rem; color: var(--muted); background: none; }
.panel fieldset { border: 0; padding: 0; margin: 20px 0 0; }
.panel fieldset legend { font: 1.3rem var(--serif); margin-bottom: 9px; padding: 0; }
.panel label { display: grid; gap: 5px; margin-bottom: 11px; font-size: .83rem; font-weight: 650; }
.panel :is(input:not([type="checkbox"]), textarea, select) { width: 100%; border: 1px solid #c9bdad; border-radius: 5px; min-height: 42px; padding: 7px 9px; background: #fffdf8; font-size: 1rem; font-weight: 400; }
.panel textarea { resize: vertical; }
.panel .checkbox-label { display: flex; align-items: flex-start; font-weight: 400; gap: 8px; }
.checkbox-label a, .credit-list a { text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.cart-totals { margin: 13px 0 17px; }
.cart-totals div { display: flex; justify-content: space-between; margin: 4px 0; }
.cart-totals dd { margin: 0; }
.cart-totals .cart-grand-total { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 9px; font-weight: 750; }
.form-status { margin: 12px 0 0; color: #783a22; font-size: .88rem; }
.form-status:empty { display: none; }
.form-help { color: var(--muted); font-size: .8rem; }
.credit-list { padding-inline-start: 20px; }
.toast { position: fixed; z-index: 12; bottom: 20px; right: max(16px, calc((100% - 1180px) / 2)); max-width: calc(100% - 32px); padding: 11px 16px; margin: 0; border-radius: 5px; border: 1px solid #546753; color: #fffaf3; background: var(--green); box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; font-size: .88rem; }
.toast.active { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 28px); top: 12px; min-height: 55px; padding: 7px 11px; }
  .primary-nav { gap: 13px; }
  .primary-nav a { font-size: .64rem; }
  .header-actions { gap: 5px; }
  .brand { gap: 7px; font-size: 20px; }
  .brand img { width: 27px; height: 27px; }
  .cart-trigger { gap: 4px; padding: 6px; }
  .cart-label { display: none; }
  .hero { min-height: 615px; }
  .hero-inner { padding-block: 135px 90px; }
  .hero-image { object-position: 59% center; }
  .hero-wash { background: linear-gradient(90deg, #161b12c9, #161b126c 75%, #161b1240), linear-gradient(0deg, #181b1270, transparent 55%); }
  .hero-emblem { width: 45vw; top: 25%; opacity: .55; }
  .catalogue { padding: 58px 0 64px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 24px; }
  .catalogue-grid { gap: 13px; }
  .product-body { padding: 17px; }
  .product-bottom { align-items: start; flex-direction: column; }
  .product-bottom .button { width: 100%; }
  .story { grid-template-columns: 1fr 1fr; min-height: 330px; }
  .assistance { gap: 25px; padding: 62px 0; }
}
@media (max-width: 520px) {
  .desktop-only, .primary-nav a:nth-child(n+2) { display: none; }
  .primary-nav a { font-size: .63rem; }
  .hero { min-height: min(680px, max(575px, 86svh)); }
  .hero h1 { font-size: clamp(3.65rem, 15vw, 5.4rem); }
  html[lang="de"] .hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-scroll { bottom: 16px; width: 40px; height: 40px; }
  .catalogue-grid, .story, .assistance { grid-template-columns: 1fr; }
  .catalogue-grid { gap: 16px; }
  .product-bottom { align-items: center; flex-direction: row; }
  .product-bottom .button { width: auto; }
  .story-media { aspect-ratio: 1.55; }
  .story-copy { padding: 26px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .panel-header, .panel-scroll { padding-inline: 15px; }
  .panel.drawer { width: 100%; border-radius: 0; }
}
@media (max-width: 420px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
}
@media (max-width: 360px) {
  html[lang="en"] .hero h1 { font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .motion .reveal { opacity: 1; transform: none; }
}
