:root {
  --ink: #34241b;
  --brown: #4b2e1b;
  --cream: #e2be8e;
  --paper: #dcb583;
  --gold: #896137;
  --line: #b78f60;
  --muted: #725132;
  --green: #326346;
  --public-copy-size: 1.0625rem;
  --public-action-size: 0.9375rem;
  --public-detail-size: 0.875rem;
  --public-note-size: 0.8125rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b18850;
  outline-offset: 4px;
}
img,
svg {
  display: block;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
a {
  transition: color 0.2s;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.preview-strip {
  height: 27px;
  background: #2d1c14;
  color: #e5cfac;
  text-align: center;
  font-size: calc(9px * var(--site-font-scale));
  letter-spacing: 0.23em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.preview-strip span {
  opacity: 0.5;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: calc(1rem * var(--site-font-scale));
}
.site-header nav a {
  padding-block: 10px;
}
.site-header nav a.active {
  color: #9a6d34;
}
.eyebrow {
  font-size: calc(10px * var(--site-font-scale));
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: #987242;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 15px;
}
.home-intro {
  padding-top: 54px;
  padding-bottom: 45px;
}
.home-intro h1 {
  font-size: calc(clamp(36px, 5vw, 63px) * var(--site-font-scale));
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 27px;
}
.home-intro h1 em {
  font-weight: 400;
  color: #9a7142;
}
.home-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: calc(13px * var(--site-font-scale));
}
.home-actions > a:last-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-size: calc(12px * var(--site-font-scale));
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  line-height: 1.4;
  white-space: normal;
}
.button.dark {
  background: var(--brown);
  color: #fff8e9;
}
.button.outline,
.button.subtle {
  border-color: #d8cebf;
  background: transparent;
}
.button.dark:hover {
  background: #593a26;
}
.button.outline:hover,
.button.subtle:hover {
  background: #eee6d9;
}
.gallery {
  margin-bottom: 75px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  gap: 15px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
.section-heading h2 {
  font-size: calc(33px * var(--site-font-scale));
  letter-spacing: -0.025em;
  margin: 0;
}
.section-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  font-size: calc(13px * var(--site-font-scale));
  color: var(--muted);
}
.gallery-count {
  font-family: Georgia, serif;
  font-size: calc(23px * var(--site-font-scale));
  flex-shrink: 0;
}
.gallery-count span {
  font-size: calc(15px * var(--site-font-scale));
  color: #9b8a76;
}
.gallery-stage {
  height: 560px;
  position: relative;
  overflow: hidden;
  background: #261b14;
  border-radius: 3px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid #e0d1b54d;
  color: white;
  border-radius: 50%;
  background: #251811b3;
  z-index: 2;
}
.gallery-arrow:hover {
  background: #543926;
}
.gallery-arrow.prev {
  left: 20px;
}
.gallery-arrow.next {
  right: 20px;
}
.gallery-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  min-height: 60px;
  gap: 12px;
}
.gallery-bottom p {
  font-size: calc(12px * var(--site-font-scale));
  color: #80715f;
  margin: 0;
}
.gallery-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.dots {
  display: flex;
  gap: 3px;
  align-items: center;
}
.dots button {
  width: 26px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
}
.dots button:before {
  content: '';
  width: 5px;
  height: 5px;
  background: #c7b8a1;
  border-radius: 50%;
}
.dots button.selected:before {
  background: #493124;
  width: 17px;
  border-radius: 3px;
}
.pause {
  border: 1px solid #d7cab7;
  background: none;
  border-radius: 50%;
  width: 31px;
  height: 31px;
}
.catalogue {
  margin-bottom: 80px;
}
.catalogue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.product-card {
  background: #e7c79e;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 3px;
}
.product-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.product-icon {
  color: #f0ddbd;
  background: #58351f;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
}
.product-icon svg {
  width: 28px;
  height: 28px;
}
.product-heading h3 {
  font-size: calc(20px * var(--site-font-scale));
  margin: 0 0 4px;
}
.product-heading p {
  font-size: calc(10px * var(--site-font-scale));
  color: var(--muted);
  margin: 0;
}
.cart {
  position: sticky;
  top: 20px;
  background: var(--paper);
  padding: 25px;
  border: 1px solid #ded0ba;
}
.cart-empty {
  font-size: calc(13px * var(--site-font-scale));
  line-height: 1.7;
  color: #8c7c68;
  padding: 20px 0;
}
.cart-entry {
  border-bottom: 1px solid #d6c7af;
  padding: 13px 0;
  font-size: calc(12px * var(--site-font-scale));
}
.cart-entry > span {
  display: block;
  font-size: calc(11px * var(--site-font-scale));
  color: #837561;
  margin-top: 4px;
}
.cart-entry > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.cart-steps button {
  width: 44px;
  height: 44px;
  border: 1px solid #b28a59;
  border-radius: 4px;
  background: #f0d3ab;
  color: #4b2e1b;
  font-size: calc(18px * var(--site-font-scale));
  padding: 0;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.total {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: calc(12px * var(--site-font-scale));
  margin: 25px 0 18px;
}
.whatsapp {
  background: var(--green);
  color: #fff;
  width: 100%;
  padding-inline: 10px;
  font-size: calc(11px * var(--site-font-scale));
}
.fine {
  font-size: calc(10px * var(--site-font-scale));
  color: #897a65;
  line-height: 1.7;
  margin: 12px 0 0;
}
.site-footer {
  background: #3e2819;
  color: #ecdcc5;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 40px;
}
.site-footer h2 {
  font-size: calc(31px * var(--site-font-scale));
  line-height: 1.25;
  margin-bottom: 25px;
}
.site-footer .eyebrow {
  color: #b2946d;
}
.site-footer p,
.site-footer a {
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #6b5037;
  padding-bottom: 12px;
}
.footer-end {
  display: grid;
  gap: 7px;
  border-top: 1px solid #624a35;
  margin-top: 45px;
  padding: 21px 0;
  color: #e2c9a8;
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.footer-copyright,
.footer-legal-details {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.footer-copyright > span + span::before {
  content: '-';
  margin-inline-end: 10px;
  font-weight: 400;
}
.footer-vat {
  color: #f5dbb7;
  font-weight: 700;
  white-space: nowrap;
}
.footer-legal-details {
  padding: 0;
  margin: 0;
  list-style: none;
}
.about-page {
  padding-block: 80px;
}
.about-page.placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56vh;
}
.about-page h1 {
  font-size: calc(clamp(34px, 5vw, 64px) * var(--site-font-scale));
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 25px;
}
.about-page.placeholder h1 {
  margin: 0;
}
.about-intro {
  max-width: 760px;
  font-size: calc(18px * var(--site-font-scale));
  line-height: 1.8;
  color: var(--muted);
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.about-image {
  max-width: 100%;
  max-height: 650px;
  object-fit: contain;
  margin-block: 35px;
}
.about-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-block: 55px;
}
.about-block > div {
  flex: 1;
  min-width: 0;
}
.about-block h2 {
  font-size: calc(32px * var(--site-font-scale));
  overflow-wrap: anywhere;
}
.about-block p {
  line-height: 1.9;
  font-size: calc(15px * var(--site-font-scale));
}
.about-block-photo {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.about-block--image-right {
  justify-content: flex-end;
}
:is(.about-block--image-left, .about-block--image-right) .about-block-photo {
  width: 40%;
  flex-shrink: 0;
}
.about-block--photo-center .about-block-photo {
  width: min(100%, 680px);
  margin-inline: auto;
}
.about-block-photo img {
  display: block;
  width: 100%;
  height: auto;
}
:is(.about-block--image-left, .about-block--image-right) .about-block-photo img {
  max-height: 450px;
  object-fit: contain;
}
.about-block-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: calc(var(--public-detail-size) * var(--site-font-scale));
  line-height: 1.6;
}
.about-page > .button {
  margin-top: 35px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  border: 0;
  white-space: nowrap;
}
/* Editing workspace */
.admin-app {
  background: #d6b07e;
  min-height: 100vh;
  font-size: calc(13px * var(--site-font-scale));
  color: #3d3931;
}
.admin-top {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e7c89f;
  border-bottom: 1px solid #e5dfd5;
  padding: 0 30px;
  gap: 20px;
}
.back-home {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: calc(12px * var(--site-font-scale));
  color: #817968;
}
.admin-brand {
  font-family: Georgia, serif;
  font-size: calc(23px * var(--site-font-scale));
}
.admin-brand i {
  font-style: normal;
  color: #af8854;
  padding-inline: 7px;
}
.private-pill {
  font-size: calc(10px * var(--site-font-scale));
  color: #95754c;
  border: 1px solid #dfd2bc;
  background: #e3bf8c;
  padding: 7px 10px;
  border-radius: 50px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  max-width: 1500px;
  margin: auto;
  min-height: calc(100vh - 70px);
}
.admin-sidebar {
  padding: 40px 20px;
  border-right: 1px solid #e3ded5;
  background: #ddba88;
}
.admin-sidebar > p {
  font-size: calc(9px * var(--site-font-scale));
  letter-spacing: 0.14em;
  color: #9a9183;
  margin-bottom: 22px;
}
.admin-sidebar > button {
  width: 100%;
  justify-content: flex-start;
  gap: 13px;
  padding: 14px;
  border: none;
  background: none;
  font-size: calc(12px * var(--site-font-scale));
  border-radius: 5px;
  margin-bottom: 7px;
}
.admin-sidebar > button.selected {
  background: #ede5d8;
  color: #664622;
  font-weight: 600;
}
.sidebar-tip {
  margin-top: 70px;
  padding: 17px;
  border-top: 1px solid #e5dcd0;
}
.sidebar-tip p {
  font-size: calc(12px * var(--site-font-scale));
  font-weight: 600;
  margin-bottom: 8px;
}
.sidebar-tip span {
  font-size: calc(11px * var(--site-font-scale));
  color: #8d8375;
  line-height: 1.8;
}
.admin-main {
  width: 100%;
  max-width: 1060px;
  padding: 40px 50px 55px;
  margin: auto;
}
.editor-title {
  margin-bottom: 28px;
}
.editor-title .eyebrow {
  font-size: calc(9px * var(--site-font-scale));
  margin-bottom: 10px;
}
.editor-title h1 {
  font-size: calc(36px * var(--site-font-scale));
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}
.editor-title p:last-child {
  color: #8a8071;
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.7;
  margin-bottom: 0;
}
.save-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 11px 13px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ebcca3;
  border: 1px solid #a67b49;
  border-radius: 6px;
  margin-bottom: 20px;
}
.save-toolbar > span {
  font-size: calc(15px * var(--site-font-scale));
  font-weight: 700;
  line-height: 1.4;
  color: #45301f;
}
.save-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-inline-start: auto;
}
.save-toolbar .button {
  min-height: 44px;
  font-size: calc(13px * var(--site-font-scale));
  padding: 9px 13px;
}
.save-toolbar #save:disabled {
  background: #d7b287;
  border-color: #ad865c;
  color: #60432c;
  opacity: 1;
}
.add-product-button {
  margin-block-end: 20px;
}
.editor-card {
  background: #e7c89f;
  border: 1px solid #e5ded2;
  border-radius: 8px;
  padding: 27px 30px;
  margin-bottom: 23px;
  box-shadow: 0 2px 4px #45341c03;
}
.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 25px;
}
.step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #e7ddcd;
  background: #faf6ed;
  color: #a18359;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: calc(10px * var(--site-font-scale));
}
.card-heading h2 {
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: calc(15px * var(--site-font-scale));
  margin: 5px 0 8px;
}
.card-heading p {
  font-size: calc(11px * var(--site-font-scale));
  color: #908575;
  line-height: 1.8;
  margin: 0;
}
.field {
  display: block;
  margin-bottom: 20px;
}
.field > span {
  display: block;
  font-size: calc(11px * var(--site-font-scale));
  font-weight: 600;
  margin-bottom: 8px;
}
.field input:not([type='checkbox']),
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dcd4c7;
  border-radius: 4px;
  background: #f1d6af;
  min-height: 41px;
  padding: 11px 12px;
  color: #3c352a;
  font-size: calc(12px * var(--site-font-scale));
  resize: vertical;
}
.field textarea {
  line-height: 1.8;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b4a999;
}
.field small,
.photo-upload small {
  display: block;
  font-size: calc(10px * var(--site-font-scale));
  color: #958a79;
  line-height: 1.7;
  margin-top: 7px;
}
.photo-upload {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.photo-upload > img {
  width: 160px;
  height: 132px;
  object-fit: contain;
  background: #f0e9dd;
  border: 1px solid #e0d7ca;
  border-radius: 5px;
  flex-shrink: 0;
}
.photo-upload > div {
  min-width: 0;
}
.upload-button {
  background: #e5c398;
  border: 1px solid #d6c7b2;
  font-weight: 400;
  font-size: calc(11px * var(--site-font-scale));
  cursor: pointer;
}
.upload-button.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: calc(12px * var(--site-font-scale));
  margin: 0 0 18px;
  line-height: 1.6;
}
.check-field input {
  accent-color: #866139;
  cursor: pointer;
  width: 16px;
  height: 16px;
}
.speed-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.speed-presets button {
  display: flex;
  flex-direction: column;
  border: 1px solid #dfd6c8;
  border-radius: 5px;
  background: #f1d6af;
  padding: 14px 8px;
  font-size: calc(12px * var(--site-font-scale));
  gap: 6px;
}
.speed-presets button span {
  font-size: calc(10px * var(--site-font-scale));
  color: #9f9382;
}
.speed-presets button.selected {
  background: #f5eddf;
  border-color: #b79870;
  color: #77502a;
}
.seconds-field {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8f8272;
  font-size: calc(12px * var(--site-font-scale));
}
.seconds-field input {
  max-width: 85px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.image-editor {
  border: 1px solid #e5ddd1;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 18px;
}
.image-row-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.image-row-heading .check-field {
  font-size: calc(11px * var(--site-font-scale));
  margin: 0;
}
.image-number {
  font-size: calc(11px * var(--site-font-scale));
  color: #aa8c65;
}
.order-controls {
  display: flex;
  gap: 7px;
  margin-left: auto;
}
.order-controls button,
.icon-button {
  background: #fffcf7;
  border: 1px solid #e1d7c8;
  border-radius: 4px;
  width: 31px;
  height: 31px;
  padding: 0;
}
.danger {
  color: #a15643 !important;
}
.count-tag {
  display: inline-block;
  font-size: calc(10px * var(--site-font-scale));
  color: #9a815e;
  background: #f5ede1;
  padding: 4px 7px;
  border-radius: 4px;
  margin-left: 6px;
}
.image-editor .field:last-child {
  margin: 0;
}
.hidden-image .photo-upload img {
  opacity: 0.45;
}
.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.content-section-editor {
  border-top: 1px solid #e3dacc;
  padding-top: 25px;
  margin-top: 25px;
  margin-bottom: 25px;
}
.about-block-editor-heading {
  flex-wrap: wrap;
  gap: 8px;
}
.about-block-editor-heading h3 {
  margin: 0 auto 0 0;
}
.about-block-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  font-size: calc(11px * var(--site-font-scale));
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #80735f;
}
.editor-end {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: calc(10px * var(--site-font-scale));
  color: #9a8b75;
  margin-top: 25px;
  line-height: 1.7;
}
.info-banner,
.error-banner,
.success-banner {
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.7;
  padding: 15px 18px;
  border: 1px solid #ded0b7;
  background: #fff5e2;
  margin-bottom: 20px;
  border-radius: 5px;
}
.info-banner a {
  text-decoration: underline;
}
.success-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #edf5e9;
  border-color: #cdddc3;
  color: #54704b;
}
.error-banner,
.error-inline {
  color: #a04c39;
}
.error-banner {
  background: #fff2ed;
  border-color: #e2c4b8;
}
.error-inline {
  font-size: calc(11px * var(--site-font-scale));
  margin-top: 7px;
  line-height: 1.7;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #261c15a3;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.preview-modal {
  width: min(1100px, 100%);
  background: var(--cream);
  height: 88vh;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 100px #1b100750;
}
.preview-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
  background: #fffcf6;
  gap: 20px;
}
.preview-modal header strong {
  font-size: calc(13px * var(--site-font-scale));
}
.preview-modal header p {
  font-size: calc(10px * var(--site-font-scale));
  color: #95866e;
  margin: 6px 0 0;
}
.preview-scroll {
  overflow: auto;
  flex: 1;
}
.preview-scroll > .gallery {
  padding-block: 30px;
  margin-bottom: 0;
}
.preview-scroll .gallery-stage {
  height: 420px;
}
.preview-scroll .about-page {
  width: calc(100% - 65px);
}
.empty-preview {
  padding: 50px;
  text-align: center;
}
.confirm-modal {
  background: #e7c79e;
  border-radius: 8px;
  padding: 35px;
  width: min(440px, 100%);
}
.confirm-modal h2 {
  font-size: calc(28px * var(--site-font-scale));
  line-height: 1.2;
}
.confirm-modal p {
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.8;
  color: #8d7c63;
}
.confirm-modal > div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1440px) {
  .home-intro {
    padding-block: 60px 50px;
  }
  .gallery-stage {
    height: 600px;
  }
}
@media (max-width: 1000px) {
  .catalogue-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .gallery-stage {
    height: 510px;
  }
  .admin-main {
    padding: 30px;
  }
  .admin-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .admin-sidebar {
    padding: 30px 12px;
  }
  .editor-card {
    padding: 23px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .preview-strip {
    font-size: calc(8px * var(--site-font-scale));
    letter-spacing: 0.16em;
  }
  .site-header {
    padding-block: 15px;
    flex-direction: column;
    gap: 10px;
  }
  .site-header nav {
    flex-wrap: wrap;
    gap: 4px clamp(8px, 2.5vw, 15px);
    font-size: calc(1.0625rem * var(--site-font-scale));
    font-weight: 600;
    justify-content: center;
    width: 100%;
  }
  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .home-intro {
    padding-block: 35px;
  }
  .home-intro h1 {
    font-size: calc(42px * var(--site-font-scale));
    max-width: 330px;
  }
  .home-actions {
    gap: 20px;
    font-size: calc(12px * var(--site-font-scale));
  }
  .section-heading h2 {
    font-size: calc(29px * var(--site-font-scale));
  }
  .section-heading .eyebrow {
    font-size: calc(9px * var(--site-font-scale));
  }
  .gallery-stage {
    height: 440px;
  }
  .gallery-arrow {
    width: 34px;
    height: 34px;
    top: auto;
    bottom: 12px;
    transform: none;
  }
  .gallery-arrow.prev {
    left: 12px;
  }
  .gallery-arrow.next {
    right: 12px;
  }
  .gallery-bottom p {
    font-size: calc(10px * var(--site-font-scale));
    max-width: 50%;
  }
  .gallery-controls {
    gap: 8px;
  }
  .dots {
    gap: 0;
  }
  .dots button {
    width: 22px;
  }
  .gallery {
    margin-bottom: 45px;
  }
  .catalogue-layout {
    grid-template-columns: 1fr;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 21px;
  }
  .product-heading h3 {
    font-size: calc(22px * var(--site-font-scale));
  }
  .cart {
    position: static;
  }
  .catalogue {
    margin-bottom: 45px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links {
    max-width: 300px;
    gap: 10px;
  }
  .site-footer {
    padding-top: 35px;
  }
  .site-footer h2 {
    font-size: calc(29px * var(--site-font-scale));
  }
  .footer-end {
    margin-top: 30px;
  }
  .about-page {
    padding-block: 45px;
  }
  .about-page.placeholder {
    min-height: 45vh;
  }
  .about-block {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  :is(.about-block--image-left, .about-block--image-right) .about-block-photo {
    width: 100%;
  }
  .admin-top {
    height: 62px;
    padding-inline: 16px;
    gap: 12px;
  }
  .admin-brand {
    font-size: calc(18px * var(--site-font-scale));
  }
  .back-home {
    font-size: 0;
    gap: 0;
  }
  .back-home svg {
    width: 20px;
  }
  .private-pill {
    font-size: calc(8px * var(--site-font-scale));
    padding: 5px 8px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid #e3ded5;
    position: sticky;
    top: 0;
    z-index: 8;
  }
  .admin-sidebar > p,
  .sidebar-tip {
    display: none;
  }
  .admin-sidebar > button {
    margin: 0;
    width: auto;
    justify-content: center;
    flex: 1;
    font-size: calc(11px * var(--site-font-scale));
    padding: 12px;
    gap: 8px;
  }
  .admin-main {
    padding: 25px 16px 35px;
  }
  .editor-title h1 {
    font-size: calc(30px * var(--site-font-scale));
  }
  .editor-title {
    margin-bottom: 15px;
  }
  .editor-card {
    padding: 20px 16px;
    margin-bottom: 17px;
  }
  .card-heading {
    gap: 9px;
  }
  .card-heading h2 {
    font-size: calc(14px * var(--site-font-scale));
  }
  .card-heading p {
    font-size: calc(10px * var(--site-font-scale));
  }
  .photo-upload {
    gap: 14px;
    align-items: flex-start;
  }
  .photo-upload > img {
    width: 110px;
    height: 110px;
  }
  .photo-upload small {
    font-size: calc(9px * var(--site-font-scale));
  }
  .upload-button {
    font-size: calc(10px * var(--site-font-scale));
    padding: 10px;
  }
  .image-editor {
    padding: 14px;
  }
  .two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .image-row-heading {
    gap: 10px;
    flex-wrap: wrap;
  }
  .order-controls {
    gap: 5px;
  }
  .order-controls button {
    width: 30px;
    height: 30px;
  }
  .editor-end {
    flex-direction: column;
    gap: 15px;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .preview-modal {
    height: 92vh;
  }
  .preview-modal > header {
    padding: 15px;
  }
  .preview-scroll .gallery-stage {
    height: 380px;
  }
  .preview-scroll .wrap {
    width: calc(100% - 28px);
  }
  .speed-presets button {
    font-size: calc(11px * var(--site-font-scale));
  }
  .about-page h1 {
    font-size: calc(36px * var(--site-font-scale));
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.speed-field {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.speed-field legend {
  font-size: calc(11px * var(--site-font-scale));
  font-weight: 600;
  margin-bottom: 8px;
}
.speed-field small {
  display: block;
  font-size: calc(10px * var(--site-font-scale));
  color: #958a79;
  line-height: 1.7;
  margin-top: 7px;
}
/* Carta e colori del logo, su tutte le pagine. */
body {
  background: #c69e6a url('/assets/carta-kraft.svg') repeat;
  background-size: 256px;
  color: #362212;
}
html {
  background: #c69e6a;
}
.brand {
  display: block;
  width: 130px;
  flex-shrink: 0;
}
.brand img {
  width: 100%;
  height: auto;
}
.site-header {
  border-bottom-color: #936e4370;
}
.site-header nav a[aria-current='page'] {
  color: #70451d;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.nav-contact {
  border: 1px solid #987247;
  padding-inline: 18px;
}
.intro-copy {
  color: #67462c;
  max-width: 600px;
  line-height: 1.8;
  font-size: calc(14px * var(--site-font-scale));
  margin-bottom: 25px;
}
.product-card,
.cart,
.editor-card,
.login-card {
  background-image: url('/assets/carta-kraft.svg');
  background-blend-mode: soft-light;
  background-size: 256px;
}
.product-card {
  border-color: #a9835366;
  box-shadow: 0 3px 14px #4b2e1b0b;
}
.product-icon {
  border-radius: 50%;
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: none;
}
.price strong {
  margin-left: 0;
  font-size: calc(14px * var(--site-font-scale));
}
.price del {
  color: #85613d;
  font-size: calc(11px * var(--site-font-scale));
}
.offer-tag {
  font:
    700 calc(9px * var(--site-font-scale)) Arial,
    sans-serif;
  background: #6a3f24;
  color: #fff0d6;
  padding: 4px 5px;
  border-radius: 3px;
}
.offer-expiry {
  font-size: calc(9px * var(--site-font-scale));
  color: #78502d;
  line-height: 1.5;
  margin: 0 0 9px;
}
.cart > img {
  margin-bottom: 16px;
}
.cart #cart-title {
  font-size: calc(29px * var(--site-font-scale));
}
.cart-steps {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-steps b {
  margin-left: auto;
  font-size: calc(11px * var(--site-font-scale));
}
.socials {
  justify-content: flex-start;
  margin-top: 22px;
  gap: 10px;
}
.socials a {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #b9946470;
  padding: 11px 12px;
  border-radius: 5px;
  font-size: calc(12px * var(--site-font-scale));
  background: #f2dbb512;
}
.socials img {
  width: 24px;
  height: 24px;
}
.site-footer {
  background-image: url('/assets/carta-kraft.svg');
  background-blend-mode: multiply;
  background-size: 256px;
}
.site-footer .socials {
  flex-direction: column;
  align-items: stretch;
  max-width: 245px;
}
.site-footer .socials a {
  font-size: calc(12px * var(--site-font-scale));
}
.site-footer .eyebrow {
  color: #d8b482;
}
.loading {
  padding: 80px;
  text-align: center;
}
.notice {
  padding: 14px 18px;
  border: 1px solid #ad8359;
  border-radius: 5px;
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.8;
  margin-bottom: 20px;
}
.notice.warning {
  background: #efce99;
  color: #5d3a1b;
}
.notice.error {
  background: #f6d9c5;
  color: #8b3124;
  border-color: #bc7b61;
}
.notice.success {
  background: #d9dfb3;
  color: #38512b;
  border-color: #8d9c61;
}
.error-inline a {
  text-decoration: underline;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  background: #fff0d2;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.cart-toast,
.cart-shortcut {
  position: fixed;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 10;
  box-shadow: 0 5px 18px #2f1e1240;
}
.cart-toast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: 4px;
  max-width: min(255px, calc(100% - 32px));
  padding: 5px 5px 5px 11px;
  border: 1px solid #a68053;
  border-radius: 7px;
  background: #f4debb;
  color: var(--ink);
  font-size: calc(13px * var(--site-font-scale));
  font-weight: 700;
  line-height: 1.35;
}
.cart-toast > div {
  align-self: center;
}
.cart-toast [role='status'] {
  display: block;
}
.cart-toast a {
  align-items: center;
  min-height: 44px;
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#close-cart-toast {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--brown);
  font-size: calc(22px * var(--site-font-scale));
  line-height: 1;
}
#close-cart-toast:hover {
  background: #e8cca5;
}
.cart-toast a,
.cart-shortcut {
  display: none;
}
.cart-shortcut {
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 54px;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid #8d6641;
  border-radius: 24px;
  background: var(--brown);
  color: #fff1d8;
}
.cart-shortcut span {
  min-width: 22px;
  padding: 2px 5px;
  border-radius: 12px;
  background: #f1d7ae;
  color: var(--brown);
  font-size: calc(13px * var(--site-font-scale));
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 680px) {
  .cart-shortcut,
  .cart-toast a {
    display: inline-flex;
  }
  .cart-toast {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body:has(.cart-shortcut:not([hidden])) #app > .site-footer {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 520px) {
  .save-toolbar > span {
    flex-basis: 100%;
  }
  .save-toolbar > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
    width: 100%;
    gap: 6px;
  }
  .save-toolbar .button {
    padding-inline: 5px;
    font-size: calc(12px * var(--site-font-scale));
    overflow-wrap: anywhere;
  }
}
.admin-body {
  background: #c69e6a url('/assets/carta-kraft.svg') repeat;
}
.admin-top {
  background: #caa472 url('/assets/carta-kraft.svg');
  border-color: #97734766;
}
.admin-top strong {
  font-family: Georgia, serif;
  font-size: calc(23px * var(--site-font-scale));
  font-weight: 400;
}
.admin-top strong span {
  color: #775132;
  font-size: calc(20px * var(--site-font-scale));
}
.admin-sidebar {
  background: #d3ae7e url('/assets/carta-kraft.svg');
  border-color: #9c774f66;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-sidebar nav button {
  background: transparent;
  border: 0;
  text-align: left;
  justify-content: flex-start;
  padding: 14px 12px;
  border-radius: 5px;
  font-size: calc(12px * var(--site-font-scale));
}
.admin-sidebar nav button[aria-current='page'] {
  background: #4b2e1b;
  color: #f2dbb5;
}
.admin-sidebar > p {
  color: #6a482b;
}
.sidebar-tip {
  border-color: #a88253;
  color: #624226;
}
.sidebar-tip p {
  font-size: calc(11px * var(--site-font-scale));
  font-weight: 400;
  line-height: 1.8;
  margin-top: 10px;
}
.admin-main {
  margin: 0 auto;
}
.editor-title p:last-child {
  color: #6f4d30;
}
.editor-card {
  border-color: #b38b5a80;
  background-color: #e2bf93;
}
.card-heading {
  display: block;
}
.card-heading h2 {
  font-size: calc(16px * var(--site-font-scale));
  margin-top: 0;
}
.card-heading p {
  color: #755335;
}
.field > span {
  font-size: calc(12px * var(--site-font-scale));
  color: #4e341e;
}
.field small,
.photo-editor small,
.fine {
  color: #775433;
}
.field input:not([type='checkbox']),
.field textarea,
.field select {
  background: #f0d5b0;
  border-color: #b18a5a;
  color: #3c2918;
  font-size: calc(13px * var(--site-font-scale));
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a4825c;
}
.editor-end {
  color: #715033;
}
.text-button {
  color: #62452b;
}
.photo-editor {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.photo-editor > img {
  width: 155px;
  height: 125px;
  object-fit: contain;
  flex-shrink: 0;
  background: #d2ad7d;
  border: 1px solid #bc945f;
  border-radius: 5px;
}
.photo-editor > div {
  min-width: 0;
}
.photo-editor small {
  display: block;
  font-size: calc(10px * var(--site-font-scale));
  line-height: 1.7;
  margin-top: 10px;
  max-width: 280px;
}
.photo-editor .text-button {
  display: flex;
  margin-top: 10px;
}
.upload {
  position: relative;
  cursor: pointer;
}
.upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  inset: 0;
}
.upload:has(input:focus-visible) {
  outline: 3px solid #8c592a;
  outline-offset: 3px;
}
.upload:has(input:disabled) {
  opacity: 0.4;
  pointer-events: none;
}
.button.outline {
  background: #e9cba1;
  border-color: #a47a49;
}
.button.outline:hover {
  background: #f1d8b6;
}
.product-editor {
  padding: 24px;
}
.product-editor-title {
  display: flex;
  gap: 16px;
  align-items: center;
}
.product-editor-title > img {
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}
.product-editor-title > div {
  flex: 1;
}
.product-editor-title h2 {
  font-family: Georgia, serif;
  font-size: calc(23px * var(--site-font-scale));
  margin: 0 0 8px;
}
.product-editor-title p {
  font-size: calc(11px * var(--site-font-scale));
  color: #765131;
  margin: 0;
  line-height: 1.8;
}
.product-editor-fields {
  padding-top: 25px;
}
.product-editor-fields h3 {
  font-family: Arial, sans-serif;
  font-size: calc(13px * var(--site-font-scale));
  margin-top: 28px;
}
.icon-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: calc(12px * var(--site-font-scale));
  margin-block: 20px;
}
.icon-choice img {
  border-radius: 50%;
}
.variant-editor {
  border: 1px solid #b58e5d;
  padding: 18px 18px 5px;
  border-radius: 5px;
  margin-bottom: 15px;
  background: #d8b17e55;
}
.variant-actions,
.product-editor-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.offer-status {
  font-size: calc(11px * var(--site-font-scale));
  line-height: 1.8;
  color: #5d3d1e;
}
.offer-status .text-button {
  margin-left: 12px;
}
.product-editor-bottom {
  margin-top: 25px;
}
.order-controls {
  justify-content: flex-end;
}
.icon-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.library-icon {
  padding: 20px 14px;
  border: 1px solid #b28b5b;
  border-radius: 5px;
  min-width: 0;
}
.library-icon > img {
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: contain;
}
.library-icon .fine {
  font-size: calc(10px * var(--site-font-scale));
  margin-top: -5px;
}
.library-icon .field input {
  font-size: calc(11px * var(--site-font-scale));
}
.image-editor {
  border-color: #b18a58;
}
.content-section-editor {
  border-color: #b18a58;
}
.image-row-heading .check-field {
  margin: 0;
}
.image-row-heading {
  flex-wrap: wrap;
}
.image-row-heading strong {
  font-size: calc(11px * var(--site-font-scale));
  color: #8b633c;
}
.speed-field small {
  color: #795433;
}
.speed-presets button {
  background: #e8cba1;
  border-color: #b08a5b;
}
.speed-presets button.selected {
  background: #4b2e1b;
  color: #f2dbb5;
  border-color: #4b2e1b;
}
.speed-presets button span,
.speed-presets button small {
  color: inherit;
}
.check-field input {
  accent-color: #4b2e1b;
}
.check-field {
  color: #543920;
}
.backup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #ba9566;
  font-size: calc(11px * var(--site-font-scale));
}
.login-card {
  max-width: 440px;
  margin: 55px auto;
  padding: 35px;
  border: 1px solid #a98255;
  border-radius: 8px;
}
.login-card h1 {
  font-size: calc(38px * var(--site-font-scale));
  margin-bottom: 10px;
}
.login-card > p {
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.8;
  color: #6e4c2d;
}
.login-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 25px;
}
.login-card form .button {
  width: 100%;
}
.login-card .notice {
  margin-top: 15px;
}
.login-card > p.eyebrow {
  font-size: calc(10px * var(--site-font-scale));
}
.admin-main #editor-content {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.admin-main #editor-content:disabled {
  opacity: 0.7;
}
dialog {
  padding: 25px;
  border: 1px solid #a67b49;
  border-radius: 8px;
  width: min(760px, calc(100% - 30px));
  max-height: 90vh;
  overflow: auto;
  background: #e0bb8a url('/assets/carta-kraft.svg');
  color: #3b2818;
  box-shadow: 0 30px 100px #26150660;
}
dialog::backdrop {
  background: #2f1e12a0;
  backdrop-filter: blur(3px);
}
dialog:has(.public-preview) {
  width: min(1100px, calc(100% - 30px));
  max-height: 90dvh;
  padding: 0;
  overflow: hidden;
}
.admin-preview {
  display: flex;
  flex-direction: column;
  max-height: calc(90vh - 2px);
  max-height: calc(90dvh - 2px);
}
.admin-preview > .modal-head {
  flex: none;
  align-items: center;
  margin: 0;
  padding: 14px clamp(13px, 3vw, 25px);
}
.admin-preview > .modal-head .icon-button {
  width: 44px;
  height: 44px;
  font-size: calc(25px * var(--site-font-scale));
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #b58c58;
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.modal-head h2 {
  font-size: calc(29px * var(--site-font-scale));
  line-height: 1.2;
  margin: 0;
}
.modal-head p {
  font-size: calc(11px * var(--site-font-scale));
  color: #765333;
  margin: 10px 0 0;
}
.modal-head .eyebrow {
  font-size: calc(9px * var(--site-font-scale));
  margin: 0 0 8px;
}
.icon-button {
  background: #ead0a7;
  border-color: #aa804e;
}
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
#modal-content > p {
  font-size: calc(13px * var(--site-font-scale));
  line-height: 1.8;
}
.public-preview {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(10px, 2.4vw, 24px);
}
.public-preview:focus-visible {
  outline: 2px solid #896137;
  outline-offset: -2px;
}
.public-preview .gallery {
  width: 100%;
  margin: 0;
}
.public-preview .gallery-stage {
  height: 470px;
}
.public-preview .about-page {
  padding-block: 30px;
}
.preview-products {
  padding: 10px;
}
.preview-home {
  padding: 20px;
}
.preview-home h1 {
  font-size: calc(42px * var(--site-font-scale));
  margin-top: 25px;
}
.preview-home > img {
  object-fit: contain;
}
.icon-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.icon-picker button {
  background: #e8c79a;
  border: 1px solid #b38d5f;
  border-radius: 6px;
  padding: 20px 10px;
  flex-direction: column;
  font-size: calc(11px * var(--site-font-scale));
  gap: 12px;
}
.icon-picker button img {
  border-radius: 50%;
  object-fit: contain;
}
.icon-picker button.selected {
  outline: 3px solid #634122;
  background: #f1d5ac;
}
.duration-presets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.reference-box {
  margin-top: 25px;
  border: 1px solid #ac8150;
  padding: 20px;
  border-radius: 5px;
  background: #edcfa366;
}
.reference-box h3 {
  font-size: calc(23px * var(--site-font-scale));
  margin-bottom: 12px;
}
.reference-box > p {
  font-size: calc(11px * var(--site-font-scale));
  line-height: 1.8;
  color: #745333;
}
.reference-box .check-field {
  font-size: calc(11px * var(--site-font-scale));
}
.modal-head .icon-button {
  flex-shrink: 0;
}
.about-page.placeholder {
  min-height: 55vh;
}
.price {
  color: #4d301a;
}
.editor-end small {
  font-size: calc(10px * var(--site-font-scale));
}
@media (max-width: 1000px) {
  .icon-library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-editor-title h2 {
    font-size: calc(21px * var(--site-font-scale));
  }
}
@media (max-width: 680px) {
  .brand {
    width: 120px;
  }
  .site-header nav .nav-contact {
    padding-inline: 10px;
  }
  .home-intro h1 {
    font-size: calc(42px * var(--site-font-scale));
  }
  .intro-copy {
    font-size: calc(13px * var(--site-font-scale));
  }
  .site-footer .socials {
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .site-footer .socials a {
    font-size: calc(11px * var(--site-font-scale));
  }
  .admin-top strong {
    font-size: calc(19px * var(--site-font-scale));
  }
  .admin-top strong span {
    font-size: calc(14px * var(--site-font-scale));
  }
  .admin-top > a {
    font-size: calc(10px * var(--site-font-scale));
  }
  .admin-sidebar {
    display: block;
    position: static;
    padding: 12px 16px;
  }
  .admin-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .admin-sidebar nav button {
    font-size: calc(11px * var(--site-font-scale));
    padding: 10px;
  }
  .editor-card {
    padding: 20px 16px;
  }
  .product-editor-title {
    gap: 11px;
  }
  .product-editor-title > img {
    width: 40px;
    height: 40px;
  }
  .product-editor-title h2 {
    font-size: calc(20px * var(--site-font-scale));
  }
  .product-editor-title > button {
    font-size: calc(10px * var(--site-font-scale));
    padding: 9px;
  }
  .variant-editor {
    padding: 16px 12px 2px;
  }
  .product-editor-bottom .button {
    font-size: calc(10px * var(--site-font-scale));
    padding: 10px;
  }
  .photo-editor {
    gap: 13px;
    align-items: flex-start;
  }
  .photo-editor > img {
    width: 110px;
    height: 110px;
  }
  .photo-editor small {
    font-size: calc(9px * var(--site-font-scale));
  }
  .photo-editor .button {
    font-size: calc(10px * var(--site-font-scale));
    padding: 9px;
  }
  .icon-library {
    gap: 10px;
  }
  .library-icon {
    padding: 16px 10px;
  }
  .library-icon > img {
    width: 65px;
    height: 65px;
  }
  .library-icon .text-button {
    font-size: calc(10px * var(--site-font-scale));
  }
  .icon-choice {
    flex-direction: column;
    align-items: flex-start;
  }
  .image-row-heading {
    gap: 9px;
  }
  .history-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .history-row .button {
    font-size: calc(10px * var(--site-font-scale));
  }
  .login-card {
    margin: 25px 16px;
    padding: 25px;
  }
  .admin-top .text-button {
    font-size: calc(10px * var(--site-font-scale));
  }
  .icon-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .icon-picker button img {
    width: 60px;
    height: 60px;
  }
  .public-preview .gallery-stage {
    height: 340px;
  }
  dialog {
    padding: 18px;
    width: calc(100% - 20px);
    max-height: 92vh;
  }
  .modal-head h2 {
    font-size: calc(25px * var(--site-font-scale));
  }
  .reference-box {
    padding: 15px;
  }
  .modal-actions .button {
    font-size: calc(11px * var(--site-font-scale));
  }
  .offer-expiry {
    font-size: calc(9px * var(--site-font-scale));
  }
  .about-page.placeholder {
    min-height: 45vh;
  }
  .gallery-stage {
    height: 430px;
  }
  .product-card .price {
    gap: 5px;
  }
}
/* Contrasto dei testi sulla carta colorata. */
.eyebrow,
.section-heading p:not(.eyebrow),
.intro-copy,
.gallery-bottom p,
.gallery-count small {
  color: #52341e;
}
.gallery-count [data-count] {
  font-size: calc(23px * var(--site-font-scale));
  color: #4b2e1b;
}
.product-heading p,
.cart-empty,
.cart .fine,
.offer-expiry {
  color: #5b3a21;
}
.admin-main .editor-title > p,
.card-heading p,
.field small,
.photo-editor small,
.editor-end,
.editor-end small,
.library-icon .fine,
.product-editor-title p,
.reference-box > p {
  color: #5c3c23;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #87633d;
}
.site-footer .eyebrow {
  color: #e4c39a;
}
/* Acquisto per confezioni e stato dei prodotti. */
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 17px;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  font:
    700 calc(11px * var(--site-font-scale)) Arial,
    sans-serif;
  letter-spacing: 0.02em;
}
.product-badge.novelty {
  color: #fff3d9;
  background: #5b6b36;
  border: 1px solid #455125;
}
.product-badge.unavailable {
  color: #65351f;
  background: #e3bb91;
  border: 1px solid #ac7652;
}
.purchase-title {
  font:
    400 calc(22px * var(--site-font-scale)) Georgia,
    serif;
  margin: 0 0 8px;
  padding: 0;
  color: #4b2e1b;
}
.purchase-controls {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.purchase-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.quantity-label {
  font:
    600 calc(12px * var(--site-font-scale)) Arial,
    sans-serif;
}
.quantity-label small {
  display: block;
  font-weight: 400;
  font-size: calc(10px * var(--site-font-scale));
  color: #785331;
  margin-top: 5px;
}
.quantity-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #ac8052;
  border-radius: 5px;
  overflow: hidden;
  background: #f0d3ab;
}
.quantity-stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: #e4bf8e;
  color: #4b2e1b;
  font:
    400 calc(22px * var(--site-font-scale)) Arial,
    sans-serif;
  padding: 0;
  flex-shrink: 0;
}
.quantity-stepper button:hover:not(:disabled) {
  background: #d7ad78;
}
.quantity-stepper output {
  display: block;
  min-width: 40px;
  text-align: center;
  font:
    600 calc(14px * var(--site-font-scale)) Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
}
.add-to-cart {
  width: 100%;
  min-height: 44px;
  padding: 13px 12px;
  justify-content: center;
  font-size: calc(12px * var(--site-font-scale));
}
.quantity-stepper button:disabled,
.add-to-cart:disabled,
.cart-steps button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.sold-out .purchase-title {
  color: #77583e;
}
.cart-stock {
  font-weight: 700;
  color: #8b3d23 !important;
  margin-top: 6px;
}
.cart-stock-note {
  font-size: calc(11px * var(--site-font-scale));
  line-height: 1.7;
  color: #7d3722;
  background: #e9c39c;
  padding: 12px;
  border: 1px solid #b78359;
  border-radius: 4px;
}
.cart-remove {
  font-size: calc(10px * var(--site-font-scale));
  margin-top: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stock-editor {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid #b28a59;
  border-radius: 5px;
  margin: 20px 0;
  background: #d9b48255;
}
.stock-editor strong {
  font-size: calc(13px * var(--site-font-scale));
}
.stock-editor p {
  font-size: calc(11px * var(--site-font-scale));
  line-height: 1.7;
  margin: 7px 0 0;
  color: #735030;
}
.stock-editor .button {
  flex-shrink: 0;
}
.product-editor-title .product-badges {
  margin: 0 0 9px;
}
.product-editor-fields > .fine {
  font-size: calc(11px * var(--site-font-scale));
  line-height: 1.7;
  margin: -5px 0 18px;
}
.product-editor-title > div {
  min-width: 0;
}
.product-editor-title h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  .stock-editor {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }
  .stock-editor .button {
    width: 100%;
  }
  .purchase-title {
    font-size: calc(21px * var(--site-font-scale));
  }
  .purchase-quantity {
    gap: 8px;
  }
  .quantity-stepper output {
    min-width: 36px;
  }
}
/* Disponibilità per formato e richiesta via email. */
.format-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.format-info .product-badge {
  font-size: calc(10px * var(--site-font-scale));
  padding: 5px 7px;
}
.format-sold-out .quantity-label {
  color: #7b593c;
}
.email-order {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  gap: 9px;
}
.email-order .contact-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0;
}
.email-recipient {
  font-size: calc(13px * var(--site-font-scale));
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.email-actions {
  justify-content: flex-start;
}
.email-actions .button {
  font-size: calc(11px * var(--site-font-scale));
}
.email-actions a {
  min-height: 44px;
}
#email-body {
  white-space: pre-wrap;
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.7;
  min-height: 240px;
}
#email-copy-status {
  font-size: calc(12px * var(--site-font-scale));
  color: #455125;
}
.variant-editor .stock-editor {
  margin: 4px 0 18px;
  padding: 13px;
}
.variant-editor .stock-editor p {
  margin: 5px 0 0;
}
.variant-editor .stock-editor button {
  font-size: calc(11px * var(--site-font-scale));
  padding: 12px;
}
.cart .button:disabled {
  cursor: not-allowed;
}
@media (max-width: 680px) {
  .email-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .email-actions .button {
    width: 100%;
    justify-content: center;
  }
  .email-recipient {
    font-size: calc(12px * var(--site-font-scale));
  }
  .variant-editor .stock-editor {
    gap: 10px;
  }
}

/* Azioni del carrello: il tasto Rimuovi ha dimensioni proprie. */
.cart-entry-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px !important;
}
.cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: auto;
  min-height: 40px;
  max-width: 100%;
  padding: 10px 13px;
  margin: 0;
  border: 1px solid #a77d50;
  border-radius: 5px;
  background: #f0d3ab;
  color: #5b3520;
  font:
    600 calc(11px * var(--site-font-scale)) / 1.3 Arial,
    sans-serif;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}
.cart-remove svg {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}
.cart-remove:hover {
  background: #f8e3c3;
  border-color: #794c2b;
}
.cart-remove:focus-visible,
.cart-steps button:focus-visible {
  outline: 3px solid #6a4328;
  outline-offset: 3px;
}
.cart-remove:active {
  background: #e5bb88;
}
.cart-steps {
  gap: 10px;
}
.cart-steps > span {
  min-width: 18px;
  text-align: center;
  font-size: calc(13px * var(--site-font-scale));
  font-variant-numeric: tabular-nums;
}
.cart-steps b {
  white-space: nowrap;
  font-size: calc(12px * var(--site-font-scale));
}
.cart-entry > strong {
  display: block;
  overflow-wrap: anywhere;
}
.cart-entry > span {
  line-height: 1.6;
}
.brand img,
.login-logo {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.cart-remove:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 680px) {
  .cart-remove {
    min-height: 44px;
    padding: 11px 14px;
  }
  .cart-steps {
    gap: 12px;
  }
}

/* Testi personalizzabili della home. */
.home-intro .eyebrow,
.home-intro h1,
.gallery .section-heading .eyebrow,
.gallery .section-heading h2 {
  overflow-wrap: anywhere;
}
.home-actions {
  flex-wrap: wrap;
}
.home-actions a {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}
.home-actions a span {
  flex-shrink: 0;
}
.public-preview .home-intro {
  padding-top: 20px;
  padding-bottom: 25px;
}
.public-preview .home-actions a[aria-disabled='true'] {
  cursor: default;
}
.public-preview .home-intro h1 {
  font-size: calc(42px * var(--site-font-scale));
}
.public-preview .gallery {
  margin-top: 15px;
}
@media (max-width: 680px) {
  .public-preview .home-intro h1 {
    font-size: calc(34px * var(--site-font-scale));
  }
}

/* Bassini Caffe 2.2: home, social condivisi e piè di pagina. */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
}
.header-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  gap: 8px;
}
.header-socials a {
  width: 44px;
  height: 44px;
  padding: 10px;
  justify-content: center;
  border-color: #94704780;
  background: #e9c89d55;
}
.header-socials a:hover {
  background: #f1d9b7;
}
.header-socials img {
  width: 24px;
  height: 24px;
}
.home-intro h1 {
  font-size: calc(clamp(36px, 4.4vw, 58px) * var(--site-font-scale));
  line-height: 1.13;
  text-wrap: balance;
  max-width: 1120px;
  margin-bottom: 18px;
}
.home-quality {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: calc(16px * var(--site-font-scale));
  font-weight: 600;
  letter-spacing: 0.07em;
  color: #5a371e;
  margin: 0 0 23px;
  overflow-wrap: anywhere;
}
.home-quality img {
  display: block;
  width: 30px;
  height: 20px;
}
.quality-surprise {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.quality-surprise::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  content: '';
}
.quality-rain {
  position: fixed;
  z-index: 12;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.quality-rain img {
  position: absolute;
  top: -64px;
  height: auto;
  animation: quality-rain-fall linear both;
}
@keyframes quality-rain-fall {
  from {
    transform: translateX(-50%) rotate(0);
  }
  to {
    transform: translate(calc(-50% + var(--rain-drift)), calc(100vh + 65px))
      rotate(var(--rain-spin));
  }
}
@media (prefers-reduced-motion: reduce) {
  .quality-rain {
    display: none;
  }
}
.site-footer .footer-brand {
  font-size: calc(19px * var(--site-font-scale));
  letter-spacing: 0.04em;
  font-weight: 600;
  margin: 0 0 12px;
  color: #f0d5b0;
}
.site-footer h2 {
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
.site-footer .footer-contact-heading {
  margin-bottom: 18px;
}
.footer-grid {
  grid-template-columns: minmax(0, 1fr) 245px;
}
.social-editor-row {
  padding: 20px 0 5px;
  border-bottom: 1px solid #b08b5d;
}
.social-editor-row:last-child {
  border-bottom: 0;
}
.social-editor-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.social-editor-heading h3 {
  font:
    600 calc(16px * var(--site-font-scale)) Arial,
    sans-serif;
  margin: 0;
}
.social-editor-heading img {
  object-fit: contain;
  flex-shrink: 0;
}
.social-editor-row .fine {
  font-size: calc(11px * var(--site-font-scale));
  line-height: 1.8;
}
.release-badge,
.admin-top strong .release-badge {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 6px;
  border: 1px solid #947047;
  border-radius: 4px;
  font:
    600 calc(10px * var(--site-font-scale)) Arial,
    sans-serif;
  color: #684425;
}
.public-preview > .site-footer {
  padding-inline: 20px;
}
.public-preview .site-footer .wrap {
  width: 100%;
}
@media (max-width: 680px) {
  .header-right {
    align-items: center;
    width: 100%;
    gap: 9px;
  }
  .header-socials {
    justify-content: center;
  }
  .site-header {
    gap: 10px;
    padding-bottom: 17px;
  }
  .brand {
    width: 120px;
  }
  .home-intro h1 {
    font-size: calc(37px * var(--site-font-scale));
    max-width: none;
    line-height: 1.15;
  }
  .home-quality {
    font-size: calc(14px * var(--site-font-scale));
    gap: 10px;
    letter-spacing: 0.04em;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer .footer-brand {
    font-size: calc(18px * var(--site-font-scale));
  }
  .site-footer .socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .site-footer .socials a {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 10px 9px;
    min-height: 44px;
  }
  .site-footer .socials img {
    flex-shrink: 0;
  }
  .site-footer .socials span {
    min-width: 0;
  }
  .public-preview > .site-footer {
    padding-inline: 12px;
  }
  .release-badge,
  .admin-top strong .release-badge {
    font-size: calc(9px * var(--site-font-scale));
    padding: 2px 4px;
  }
  .home-intro {
    padding-top: 32px;
  }
}

/* 2.3 · Home e pagina Contatti */
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-title {
  position: relative;
}
.home-intro .hero-title {
  text-wrap: wrap;
}
.hero-title[data-split] .hero-divider {
  display: none;
}
.hero-title[data-split] :is(.hero-brand, .hero-slogan) {
  display: block;
  font-size: var(--hero-fit-size, 1em);
}
.hero-measure {
  position: absolute;
  inset-inline-end: 100%;
  inset-block-start: 0;
  visibility: hidden;
  width: max-content;
  white-space: pre;
  pointer-events: none;
}
.home-quality img.quality-italy {
  width: 27px;
  height: 32px;
  object-fit: contain;
}
.button.about-action,
.button.cart-continue {
  min-height: 46px;
  border: 1px solid var(--brown);
  color: var(--brown);
  background: transparent;
  padding: 12px 18px;
  border-radius: 5px;
  font-weight: 700;
}
.button.about-action:hover,
.button.cart-continue:hover {
  background: #4b2e1b12;
}
.link-arrow {
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-action .link-arrow {
  width: 21px;
  height: 21px;
}
.contacts-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(25px, 6vw, 80px);
  max-width: 1020px;
  padding-block: clamp(30px, 6vw, 85px);
}
.contacts-brand {
  display: grid;
  place-items: center;
}
.contacts-brand img {
  width: min(100%, 350px);
  height: auto;
}
.contacts-card {
  padding: clamp(23px, 4vw, 44px);
  border: 1px solid #a77d4a;
  border-radius: 8px;
  background: #f1d0a288;
}
.contacts-card h1 {
  font-size: calc(clamp(36px, 5vw, 58px) * var(--site-font-scale));
  margin-bottom: 22px;
}
.contact-details {
  display: grid;
  gap: 11px;
  font-style: normal;
  overflow-wrap: anywhere;
}
.contacts-card .contact-details {
  margin-bottom: 28px;
}
.contact-details p {
  margin: 0;
}
.contacts-card address a {
  width: fit-content;
  max-width: 100%;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}
.contact-icon {
  margin-block-start: 0.12em;
}
.extra-contacts-editor {
  margin-block: 14px;
}
.extra-contact-row {
  margin-block: 10px;
}
.contact-person {
  font-weight: 700;
}
.contacts-card .socials {
  margin-top: 12px;
}
.contacts-card .socials a {
  color: var(--brown);
  background: #f5dbb766;
  border-color: #a77d4a;
}

/* 2.3 · Caroselli, video e novità */
.carousel-media,
.carousel-media > a {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-media :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.carousel-media:has(video) {
  background: radial-gradient(ellipse at center, #51321f, #201610 68%);
}
.gallery-stage:has(video) {
  height: clamp(440px, 46vw, 610px);
}
.gallery-arrow:focus-visible {
  outline-offset: 0;
}
.gallery-bottom > p {
  overflow-wrap: anywhere;
}
.gallery-controls,
.dots {
  flex-wrap: wrap;
}
.video-audio {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.video-audio .button.outline {
  width: 44px;
  height: 44px;
  padding: 0;
  background: #f4debb;
}
.video-audio .button.outline:hover {
  background: #f9ead0;
}
.video-volume {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: scale(0.85);
  transform-origin: top right;
  transition:
    grid-template-rows 240ms cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.video-volume[data-open] {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: scale(1);
}
.video-volume > div {
  min-height: 0;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .video-volume {
    transition: none;
  }
}
.video-audio label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f4debb;
  color: var(--brown);
  font-size: calc(13px * var(--site-font-scale));
}
.video-audio input {
  accent-color: var(--brown);
  width: 106px;
}
.gallery-message {
  margin: 4px 0 12px;
}
.instagram-news {
  margin-block: 46px 0;
}
.instagram-news .gallery-stage {
  height: clamp(240px, 36vw, 420px);
  background: #47301f;
}
.instagram-news [data-caption] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--brown);
  line-height: 1.55;
}
.post-placeholder img {
  width: 42px;
  height: 42px;
}

/* 2.3 · Formati, quantità e conclusione ordine */
.products {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.catalogue-trademark-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.6;
  color: #55341d;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.format-list {
  border: 0;
  padding: 0;
  min-width: 0;
  margin: 18px 0 12px;
}
.format-help {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: calc(13px * var(--site-font-scale));
  font-weight: 700;
}
.format-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 10px;
  margin-bottom: 6px;
  border: 1px solid #aa805347;
  border-radius: 5px;
  background: #fff6e12b;
  cursor: pointer;
}
.format-choice:has(input:checked) {
  border-color: #785333;
  background: #f6dfbba8;
}
.format-choice input,
.quality-choice input {
  accent-color: var(--brown);
  width: 16px;
  height: 16px;
  margin: 0;
}
.format-choice .format-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 7px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.format-choice .format {
  font-size: calc(13px * var(--site-font-scale));
  font-weight: 700;
}
.format-choice .offer-expiry {
  flex-basis: 100%;
  margin: 0;
}
.format-choice .price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 126px;
  justify-content: flex-end;
  gap: 4px 6px;
}
.format-choice.format-sold-out {
  background: #dfbd8e55;
  cursor: default;
}
.purchase-limit,
.purchase-error {
  margin: 2px 0 0;
  color: #644220;
  font-size: calc(11px * var(--site-font-scale));
  line-height: 1.5;
}
.purchase-error {
  color: #862719;
}
.manual-quantity {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: calc(12px * var(--site-font-scale));
  font-weight: 700;
}
.manual-quantity input {
  width: 76px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #9d7649;
  border-radius: 4px;
  background: #f7dfb9;
  color: var(--ink);
  font-size: calc(16px * var(--site-font-scale));
  text-align: center;
}
.cart {
  border-radius: 7px;
  border-color: #9b7448;
  box-shadow: 0 8px 25px #4b2e1b16;
}
.cart #cart-title {
  margin: 0 0 23px;
  line-height: 1.08;
  font-size: calc(clamp(26px, 2.7vw, 37px) * var(--site-font-scale));
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.cart-title-phrase {
  display: inline-block;
  max-width: 100%;
}
.cart .total {
  align-items: center;
  gap: 12px;
}
.cart .total > div {
  text-align: right;
}
.cart #total-value {
  display: block;
  font-size: calc(22px * var(--site-font-scale));
  font-variant-numeric: tabular-nums;
}
.vat-label {
  display: block;
  color: #644220;
  font-size: calc(11px * var(--site-font-scale));
  margin-top: 3px;
}
.order-notice {
  border-inline-start: 3px solid #85552b;
  border-radius: 4px;
  background: #f9e5c577;
  padding: 12px 13px 12px 28px;
  margin: 14px 0;
  list-style: disc outside;
}
.order-notice > .order-notice-title {
  font-size: calc(16px * var(--site-font-scale));
  color: #4d2c18;
  margin-bottom: 4px;
}
.order-notice-details {
  display: block;
}
.order-guide-link {
  margin-top: 14px;
}
.cart-page {
  max-width: 540px;
  margin-block: 25px 55px;
}
.cart-continue {
  margin-bottom: 18px;
}
.cart-page .cart {
  position: static;
}
.order-guide {
  margin-top: 28px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #a67b49;
  border-radius: 6px;
  background: #f9e5c577;
  scroll-margin-top: 18px;
}
.order-guide h3 {
  margin: 0 0 14px;
}
.order-guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 12px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.order-guide-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-guide-steps svg {
  flex: 0 0 24px;
}
.order-guide-payment {
  margin: 16px 0 8px;
  color: var(--brown);
}
.order-guide details {
  border-top: 1px solid #a67b4970;
}
.order-guide summary {
  cursor: pointer;
  padding: 11px 0;
  font-weight: 700;
}
.order-guide details p {
  margin: 0 0 12px;
  line-height: 1.6;
}
.order-notice li,
.order-reference-hint,
.order-verification p {
  margin: 0;
  font-size: calc(12px * var(--site-font-scale));
  line-height: 1.6;
  color: #55341d;
  overflow-wrap: anywhere;
}
.order-reference {
  margin-bottom: 12px;
}
.order-reference > span {
  font-size: calc(13px * var(--site-font-scale));
  margin-bottom: 0;
}
.order-reference small {
  font-size: calc(12px * var(--site-font-scale));
  margin: 2px 0 6px;
  color: #55341d;
}
.order-reference input:not([type='checkbox']) {
  min-height: 44px;
  font-size: calc(16px * var(--site-font-scale));
}
.order-reference input[aria-invalid='true'] {
  border-color: #a12d28;
  outline: 2px solid #a12d28;
  outline-offset: 1px;
  box-shadow: 0 0 10px #a12d2859;
}
.order-reference-hint {
  margin-top: 7px;
}
.order-verification {
  margin-bottom: 10px;
}
.order-verification [data-turnstile] {
  display: flex;
  justify-content: center;
}
.order-verification .text-button {
  min-height: 38px;
}
.cart .whatsapp img {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}
.order-whatsapp-ready a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.email-download {
  display: inline-block;
  margin-top: 14px;
  font-size: calc(13px * var(--site-font-scale));
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 2.3 · Pannello */
.quality-picker,
.order-limits {
  min-width: 0;
  margin: 14px 0 18px;
  padding: 13px 14px;
  border: 1px solid #a98353;
  border-radius: 6px;
}
.quality-picker legend,
.order-limits legend {
  color: var(--brown);
  font-size: calc(13px * var(--site-font-scale));
  font-weight: 700;
  padding-inline: 6px;
}
.quality-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quality-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #ae8859;
  border-radius: 5px;
  cursor: pointer;
}
.quality-choice:has(input:checked) {
  border-color: var(--brown);
  background: #fae0b9;
}
.quality-choice img {
  display: block;
  object-fit: contain;
  max-height: 27px;
  width: auto;
}
.limit-control input:disabled {
  opacity: 0.55;
}
.bulk-stock select {
  min-height: 40px;
  max-width: 100%;
  padding-inline: 9px;
  border: 1px solid #aa8355;
  border-radius: 4px;
  background: #f2d6ac;
  color: var(--brown);
}
.named-order-controls button {
  min-height: 38px;
  width: auto;
  padding-inline: 9px;
  font-size: calc(12px * var(--site-font-scale));
}
.variant-heading {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.offer-price-preview {
  display: grid;
  gap: 7px;
  margin: 12px 0 20px;
}
.offer-price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 15px;
  border: 1px solid #ad8451;
  border-radius: 6px;
  padding: 10px 13px;
  background: #f9e3bd73;
}
.offer-price-row > strong,
.offer-price-row > small {
  grid-column: 1 / -1;
}
.offer-price-row > div {
  display: grid;
  gap: 5px;
}
.offer-price-row span,
.offer-price-row small {
  font-size: calc(12px * var(--site-font-scale));
  color: #624121;
}
.offer-price-row output {
  font-weight: 700;
  font-size: calc(18px * var(--site-font-scale));
  color: #244e37;
}
.video-editor {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.video-editor video {
  display: block;
  width: 100%;
  max-height: 300px;
  background: #2b1e14;
  border-radius: 5px;
}
.video-editor .fine {
  margin: 9px 0 0;
}

@media (max-width: 1000px) {
  .products {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 680px) {
  .offer-price-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contacts-page,
  .video-editor {
    grid-template-columns: minmax(0, 1fr);
  }
  .contacts-brand img {
    width: min(58%, 210px);
  }
  .gallery-stage:has(video) {
    height: clamp(400px, 145vw, 590px);
  }
  .gallery-bottom {
    flex-wrap: wrap;
  }
  .gallery-bottom > p {
    flex: 1 0 100%;
  }
  .gallery-controls {
    gap: 7px;
  }
  .dots button {
    width: 22px;
  }
  .format-choice .price {
    max-width: 106px;
  }
  .cart .button {
    min-height: 46px;
  }
  .named-order-controls button {
    min-height: 43px;
  }
}

/* Gerarchia dei testi pubblici su schermi grandi e piccoli. */
@media (max-width: 680px) {
  :root {
    --public-copy-size: 1.09375rem;
    --public-action-size: 0.96875rem;
    --public-detail-size: 0.90625rem;
    --public-note-size: 0.84375rem;
  }
}

.home-intro .intro-copy,
.section-heading p:not(.eyebrow),
.about-block p,
.contacts-card .contact-details,
.order-guide details p {
  font-size: calc(var(--public-copy-size) * var(--site-font-scale));
}
.home-actions .button,
.order-guide-link,
.cart-continue,
.add-to-cart,
.format-help,
.format-choice .format,
.quantity-label,
.quantity-stepper output,
.cart .button,
.cart .total,
.cart-entry > strong,
.order-reference > span,
.order-guide summary {
  font-size: calc(var(--public-action-size) * var(--site-font-scale));
}
.product-heading p,
.gallery-bottom > p,
.gallery-message,
.video-audio label,
.cart-empty,
.cart .fine,
.cart-entry > span,
.cart-steps b,
.cart-steps > span,
.cart-remove,
.order-notice li,
.order-reference small,
.order-reference-hint,
.order-verification p,
.manual-quantity,
.site-footer :is(p, a) {
  font-size: calc(var(--public-detail-size) * var(--site-font-scale));
}
.catalogue-trademark-note,
.quantity-label small,
.purchase-limit,
.purchase-error,
.vat-label,
.cart-stock-note,
.format-choice .offer-expiry,
.format-choice .price del,
.format-choice .offer-tag,
.format-choice .product-badge,
.footer-end,
:is(.gallery, .catalogue, .about-page, .contacts-card, .site-footer) .eyebrow {
  font-size: calc(var(--public-note-size) * var(--site-font-scale));
}
.format-choice .price strong {
  font-size: calc(var(--public-copy-size) * var(--site-font-scale));
}
.cart-entry > .cart-stock {
  font-size: calc(var(--public-note-size) * var(--site-font-scale));
}

:root,
.public-preview {
  --site-font-scale: var(--font-scale-desktop, 1);
}
@media (max-width: 1000px) {
  :root,
  .public-preview {
    --site-font-scale: var(--font-scale-tablet, 1);
  }
}
@media (max-width: 680px) {
  :root,
  .public-preview {
    --site-font-scale: var(--font-scale-mobile, 1);
  }
}
body:not(.admin-body),
.public-preview {
  font-size: calc(1rem * var(--site-font-scale));
}
.order-guide {
  overflow-wrap: anywhere;
}
.font-scale-row,
.font-scale-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.font-scale-row {
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.font-scale-controls output {
  min-width: 4ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.font-scale-controls .button {
  min-height: 44px;
  min-width: 44px;
  padding: 6px 9px;
}
