/* =========================================================================
   TEMA SCRIVANO — foglio di stile principale
   Tema figlio di "classic". Questo file ridisegna i selettori del tema
   classic: non sostituisce nessun template, quindi non puo' rompere il sito.
   Palette: cobalto, giallo Etna, pistacchio, terracotta, avorio.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,600&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --scr-cobalt: #15326B;
  --scr-cobalt-deep: #0D1E44;
  --scr-cobalt-soft: #2A4E96;
  --scr-cobalt-l: #E7ECF5;
  --scr-yellow: #E9A826;
  --scr-yellow-l: #FBF0D6;
  --scr-pistachio: #5D8A3F;
  --scr-pistachio-l: #EDF2E6;
  --scr-terra: #B4451F;
  --scr-terra-l: #F9EAE3;
  --scr-ivory: #F6F1E4;
  --scr-ivory-2: #EDE4D0;
  --scr-ink: #1D1A16;
  --scr-ink-60: #514A41;
  --scr-ink-40: #6F675C;
  --scr-line: rgba(21, 50, 107, .16);
  --scr-line-2: rgba(21, 50, 107, .28);
  --scr-dsp: 'Fraunces', Georgia, serif;
  --scr-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --scr-rad: 16px;
  --scr-rad-s: 12px;
  --scr-max: 1280px;
  --scr-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Crect width='56' height='56' fill='%2315326B'/%3E%3Cpath d='M28 6 46 28 28 50 10 28Z' fill='none' stroke='%23E9A826' stroke-width='2'/%3E%3Cpath d='M28 16 40 28 28 40 16 28Z' fill='%23F6F1E4'/%3E%3Ccircle cx='28' cy='28' r='4.5' fill='%23B4451F'/%3E%3Ccircle cx='28' cy='3' r='2.4' fill='%23E9A826'/%3E%3Ccircle cx='28' cy='53' r='2.4' fill='%23E9A826'/%3E%3Ccircle cx='3' cy='28' r='2.4' fill='%23E9A826'/%3E%3Ccircle cx='53' cy='28' r='2.4' fill='%23E9A826'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
body {
  background: var(--scr-ivory);
  color: var(--scr-ink);
  font-family: var(--scr-sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .h1, .h2, .page-header h1 {
  font-family: var(--scr-dsp);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -.018em;
  color: var(--scr-ink);
}

h3, h4, h5, .h3, .h4, .h5 {
  font-family: var(--scr-sans);
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--scr-ink);
}

a { color: var(--scr-cobalt); }
a:hover, a:focus { color: var(--scr-cobalt-soft); text-decoration: none; }
::selection { background: var(--scr-yellow); color: var(--scr-ink); }

#wrapper { background: var(--scr-ivory); }

/* ---------- barra di servizio e header ---------- */
.header-nav {
  background: var(--scr-cobalt-deep);
  color: #D8DFEA;
  border-bottom: 0;
  font-size: .85rem;
}
.header-nav a,
.header-nav .expand-more,
.header-nav .currency-selector,
.header-nav .language-selector { color: #D8DFEA; }
.header-nav a:hover { color: var(--scr-yellow); }

#header {
  background: var(--scr-ivory);
  box-shadow: none;
  border-bottom: 1px solid var(--scr-line);
  color: var(--scr-ink);
}
#header .logo { max-height: 62px; width: auto; }

/* menu principale */
#header .top-menu { font-family: var(--scr-sans); }
#header .top-menu a[data-depth="0"] {
  color: var(--scr-ink);
  font-weight: 600;
  font-size: .98rem;
  padding: 6px 2px;
  margin: 0 12px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
#header .top-menu a[data-depth="0"]:hover {
  color: var(--scr-cobalt);
  border-bottom-color: var(--scr-yellow);
}
.top-menu .sub-menu {
  border: 1px solid var(--scr-line);
  border-top: 2px solid var(--scr-yellow);
  border-radius: 0 0 var(--scr-rad-s) var(--scr-rad-s);
  box-shadow: 0 22px 48px -26px rgba(13, 30, 68, .45);
}

/* ricerca */
#search_widget form input[type="text"] {
  border: 1.5px solid var(--scr-line-2);
  border-radius: 999px;
  background: #fff;
  padding: 10px 44px 10px 18px;
  color: var(--scr-ink);
}
#search_widget form input[type="text"]:focus { border-color: var(--scr-cobalt); outline: none; }
#search_widget form button[type="submit"] .search,
#search_widget form button[type="submit"] i { color: var(--scr-cobalt); }

/* carrello e account in testata */
.blockcart, .blockcart.active { background: transparent; }
.blockcart a, .user-info a { color: var(--scr-ink); font-weight: 600; }
.blockcart .cart-products-count {
  background: var(--scr-terra);
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: .72rem;
  font-weight: 700;
}

/* ---------- pulsanti ---------- */
.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary,
button.btn {
  font-family: var(--scr-sans);
  font-weight: 600;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  box-shadow: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary,
.add-to-cart,
#checkout .btn-primary {
  background: var(--scr-yellow);
  color: #38280A;
  border-color: var(--scr-yellow);
}
.btn-primary:hover,
.btn-primary:focus,
.add-to-cart:hover {
  background: #F2B63D;
  color: #38280A;
  border-color: #F2B63D;
}
.btn-secondary,
.btn-tertiary {
  background: transparent;
  color: var(--scr-cobalt);
  border-color: var(--scr-cobalt);
}
.btn-secondary:hover,
.btn-tertiary:hover {
  background: var(--scr-cobalt);
  color: var(--scr-ivory);
}
.btn-unstyle { border: 0; }

/* ---------- schede prodotto in miniatura ---------- */
.product-miniature .thumbnail-container,
.js-product-miniature .thumbnail-container {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 30, 68, .04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: auto;
}
.product-miniature .thumbnail-container:hover {
  transform: translateY(-3px);
  border-color: var(--scr-cobalt);
  box-shadow: 0 22px 48px -26px rgba(13, 30, 68, .42);
}
.product-miniature .thumbnail-container .product-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.product-miniature .product-description {
  padding: 14px 16px 16px;
  border-top: 0;
  background: #fff;
}
.product-miniature .product-title,
.product-miniature .product-title a {
  font-family: var(--scr-sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--scr-ink);
  text-transform: none;
}
.product-miniature .product-title a:hover { color: var(--scr-cobalt); }
.product-miniature .product-price-and-shipping,
.product-miniature .price {
  font-family: var(--scr-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--scr-ink);
}
.product-miniature .regular-price {
  font-size: .9rem;
  font-weight: 500;
  color: var(--scr-ink-40);
}
.product-miniature .highlighted-informations { border-top: 0; }

/* etichette sulle miniature */
.product-flags li.product-flag {
  background: var(--scr-terra);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: 0 0 var(--scr-rad-s) 0;
  box-shadow: 0 2px 10px -4px rgba(13, 30, 68, .5);
  text-transform: none;
}
.product-flags li.product-flag.new { background: var(--scr-pistachio); }
.product-flags li.product-flag.on-sale,
.product-flags li.product-flag.discount { background: var(--scr-yellow); color: #38280A; }

/* ---------- elenco categoria e filtri ---------- */
#category #content-wrapper, #search #content-wrapper { background: transparent; }

#js-product-list-header,
.block-category {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  padding: 22px 24px;
}
.block-category h1 { margin-bottom: 6px; }

#search_filters,
#search_filters_brands,
#search_filters_suppliers,
.block-categories {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  padding: 18px 20px;
  box-shadow: none;
}
#search_filters .facet-title,
#search_filters .h6,
.block-categories .category-top-menu > li > a {
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--scr-cobalt);
}
#search_filters .facet {
  border-bottom: 1px solid var(--scr-line);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
#search_filters .facet:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
#search_filters .custom-checkbox input[type="checkbox"] + span { border-color: var(--scr-line-2); border-radius: 4px; }
#search_filters .custom-checkbox input[type="checkbox"]:checked + span { background: var(--scr-cobalt); border-color: var(--scr-cobalt); }

/* filtri attivi */
.active_filters {
  background: var(--scr-yellow-l);
  border: 1px solid var(--scr-yellow);
  border-radius: var(--scr-rad);
  padding: 12px 16px;
}
.active_filters .filter-block {
  background: var(--scr-yellow);
  color: #38280A;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600;
  box-shadow: none;
}

/* la barra dei filtri va a capo invece di essere tagliata */
.products-selection,
#js-product-list-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  row-gap: 10px;
}
.products-selection .sort-by-row,
.products-selection .col-md-6 { flex-wrap: wrap; }
.products-sort-order .select-title,
.products-selection select {
  border: 1.5px solid var(--scr-line-2);
  border-radius: var(--scr-rad-s);
  background: #fff;
  color: var(--scr-ink);
  box-shadow: none;
}

/* ---------- scheda prodotto ---------- */
#product #content-wrapper { background: transparent; }
#product .product-container,
#product #main .images-container,
#product .product-information {
  background: transparent;
}
#product .page-content.page-content--product img { border-radius: var(--scr-rad); }
#product h1.h1 { font-family: var(--scr-dsp); font-weight: 600; }

#product .current-price,
#product .product-price,
.product-prices .current-price span {
  font-family: var(--scr-sans);
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -.03em;
  color: var(--scr-ink);
}
.product-prices { border-top: 0; }
.product-prices .tax-shipping-delivery-label { color: var(--scr-ink-40); font-size: .85rem; }

#product .product-quantity .qty .input-group,
#product .product-quantity #quantity_wanted {
  border-radius: 999px;
  border: 1.5px solid var(--scr-cobalt);
  overflow: hidden;
}
#product .product-add-to-cart .add-to-cart { min-width: 220px; }

#product .product-availability.product-available,
#product .product-available { color: var(--scr-pistachio); font-weight: 600; }

/* schede descrizione / dettagli */
.tabs {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  box-shadow: none;
  padding: 10px 24px 24px;
}
.tabs .nav-tabs { border-bottom: 2px solid var(--scr-line); }
.tabs .nav-tabs .nav-link {
  color: var(--scr-ink-60);
  font-weight: 700;
  font-size: .95rem;
  text-transform: none;
  border: 0;
  padding: 14px 4px;
  margin-right: 26px;
}
.tabs .nav-tabs .nav-link.active {
  color: var(--scr-cobalt);
  border-bottom: 2px solid var(--scr-yellow);
  margin-bottom: -2px;
}

/* blocchi rassicurazione nativi */
#block-reassurance {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  padding: 6px 4px;
}
#block-reassurance li { border-bottom: 1px solid var(--scr-line); }
#block-reassurance li:last-child { border-bottom: 0; }
#block-reassurance img { opacity: .85; }

/* ---------- carrello e cassa ---------- */
.cart-grid-body .card,
.cart-grid-right .card,
#checkout .card,
#checkout .cart-summary,
.card {
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  box-shadow: none;
}
.cart-summary-line .value,
.cart-total .value { font-weight: 700; color: var(--scr-ink); }
.cart-total {
  border-top: 1.5px solid var(--scr-cobalt);
  padding-top: 12px;
  font-family: var(--scr-sans);
  font-size: 1.2rem;
}
#checkout .checkout-step .step-title {
  font-family: var(--scr-sans);
  font-weight: 700;
  color: var(--scr-ink);
}
#checkout .checkout-step.-current .step-title { color: var(--scr-cobalt); }
#checkout .delivery-option,
#checkout .payment-option {
  background: #fff;
  border: 1.5px solid var(--scr-line-2);
  border-radius: var(--scr-rad-s);
  padding: 14px 16px;
  margin-bottom: 10px;
}
#checkout .delivery-option:hover,
#checkout .payment-option:hover { border-color: var(--scr-cobalt); background: var(--scr-cobalt-l); }

.form-control,
input.form-control,
select.form-control,
textarea.form-control {
  border: 1.5px solid var(--scr-line-2);
  border-radius: var(--scr-rad-s);
  box-shadow: none;
  color: var(--scr-ink);
  background: #fff;
}
.form-control:focus { border-color: var(--scr-cobalt); box-shadow: none; outline: none; }

/* ---------- newsletter ---------- */
.block_newsletter {
  background: var(--scr-ivory-2);
  border-radius: var(--scr-rad);
  padding: 26px 28px;
  margin-bottom: 0;
  box-shadow: none;
}
.block_newsletter p { color: var(--scr-ink-60); }
.block_newsletter form input[type="email"] {
  border: 1.5px solid var(--scr-cobalt);
  border-right: 0;
  border-radius: var(--scr-rad-s) 0 0 var(--scr-rad-s);
  background: #fff;
}
.block_newsletter form .btn,
.block_newsletter form input[type="submit"] {
  border-radius: 0 999px 999px 0;
  background: var(--scr-yellow);
  color: #38280A;
}

/* ---------- footer ---------- */
.footer-container {
  background: var(--scr-cobalt-deep);
  color: #C6D2E1;
  border-top: 0;
  box-shadow: none;
  margin-top: 0;
  padding-top: 0;
}
.footer-container .h3,
.footer-container h3,
.footer-container .myaccount-title,
.footer-container .block-contact-title {
  color: var(--scr-ivory);
  font-family: var(--scr-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(246, 241, 228, .18);
  margin-bottom: 14px;
}
.footer-container li a,
.footer-container a { color: #C6D2E1; }
.footer-container li a:hover,
.footer-container a:hover { color: var(--scr-yellow); }
.footer-container .links .collapse { display: block; }
.footer-container .block-social ul li {
  background-color: rgba(246, 241, 228, .08);
  border-radius: 999px;
}
.footer-container .block-social ul li:hover { background-color: var(--scr-yellow); }
#footer .copyright,
.footer-container .bottom-footer {
  border-top: 1px solid rgba(246, 241, 228, .16);
  color: #9FAEC2;
  font-size: .85rem;
}

/* fascia a maiolica sopra il footer */
.footer-container::before {
  content: '';
  display: block;
  height: 16px;
  background-image: var(--scr-tile);
  background-size: 56px 56px;
}

/* ---------- elementi iniettati da custom.js ---------- */
/* fascia scorrevole */
.scr-marquee {
  background: var(--scr-cobalt-deep);
  color: #E8EDF4;
  overflow: hidden;
  white-space: nowrap;
  font-size: .88rem;
  padding: 10px 0;
  position: relative;
}
.scr-marquee__track {
  display: inline-flex;
  animation: scr-marquee 46s linear infinite;
  will-change: transform;
}
.scr-marquee:hover .scr-marquee__track { animation-play-state: paused; }
.scr-marquee i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 26px;
}
.scr-marquee b { color: var(--scr-yellow); font-weight: 600; }
.scr-marquee em { font-style: normal; color: var(--scr-yellow); }
@keyframes scr-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .scr-marquee__track { animation: none; }
}

/* striscia rassicurazioni sotto la testata */
.scr-reassurance {
  background: var(--scr-cobalt);
  color: #EAEFF6;
  font-size: .86rem;
}
.scr-reassurance__inner {
  max-width: var(--scr-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.scr-reassurance__inner::-webkit-scrollbar { display: none; }
.scr-reassurance i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 11px 22px;
  border-left: 1px solid rgba(246, 241, 228, .18);
  flex: 1;
  justify-content: center;
}
.scr-reassurance i:first-child { border-left: 0; }
.scr-reassurance svg { width: 16px; height: 16px; stroke: var(--scr-yellow); fill: none; stroke-width: 2; flex-shrink: 0; }

/* riquadro informativo nella scheda prodotto */
.scr-productinfo {
  border: 1px solid var(--scr-line);
  background: #fff;
  border-radius: var(--scr-rad);
  padding: 15px 17px;
  margin: 18px 0;
  font-size: .94rem;
  line-height: 1.5;
}
.scr-productinfo div { display: flex; gap: 10px; padding: 5px 0; }
.scr-productinfo svg { width: 17px; height: 17px; stroke: var(--scr-cobalt); fill: none; stroke-width: 1.9; flex-shrink: 0; margin-top: 4px; }
.scr-productinfo b { font-weight: 700; }

/* barra acquisto fissa su telefono */
.scr-buybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--scr-ivory);
  border-top: 1.5px solid var(--scr-cobalt);
  padding: 10px 16px;
  display: none;
  gap: 10px;
  align-items: center;
  box-shadow: 0 -8px 28px -18px rgba(13, 30, 68, .5);
}
.scr-buybar__price { font-family: var(--scr-sans); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.scr-buybar .btn { flex: 1; }

/* avviso spedizione nel carrello */
.scr-cartnote {
  background: var(--scr-yellow-l);
  border: 1px solid var(--scr-yellow);
  border-radius: var(--scr-rad-s);
  padding: 12px 15px;
  font-size: .9rem;
  margin-bottom: 14px;
}
.scr-cartnote b { font-weight: 700; }

/* loghi pagamento nel footer */
.scr-pay { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 0 4px; }
.scr-pay span {
  border: 1px solid rgba(246, 241, 228, .24);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: #CBD6E5;
  background: rgba(246, 241, 228, .05);
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .scr-reassurance i { flex: none; padding: 10px 16px; }
}
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  #product .scr-buybar { display: flex; }
  #product { padding-bottom: 74px; }
  .product-miniature .product-title a { font-size: .94rem; }
  .product-miniature .product-price-and-shipping { font-size: 1.15rem; }
  .tabs { padding: 8px 16px 18px; }
  .block_newsletter { padding: 20px 18px; }
}

/* =========================================================================
   HOME — sezioni disegnate da templates/index.tpl
   ========================================================================= */
.scr-home { overflow: hidden; }
.scr-wrap { max-width: var(--scr-max); margin: 0 auto; padding: 0 20px; }
.scr-section { padding: clamp(40px, 5vw, 76px) 0 0; }

.scr-h1 {
  font-family: var(--scr-dsp);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.8vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 14px 0 16px;
  max-width: 15ch;
}
.scr-h1 em { font-style: italic; color: var(--scr-cobalt); }
.scr-h2 {
  font-family: var(--scr-dsp);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  margin: 6px 0 0;
}
.scr-lead {
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--scr-ink-60);
  max-width: 54ch;
}
.scr-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--scr-cobalt);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.scr-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--scr-yellow); }

.scr-head { position: relative; margin-bottom: 26px; padding-bottom: 6px; }
.scr-head::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, var(--scr-cobalt) 0 72px, var(--scr-line) 72px);
}

/* apertura */
.scr-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 58px) 0 0;
}
.scr-hero__cta { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 24px; }
.scr-hero__art { display: grid; place-items: center; }
.scr-vassoio { width: 100%; max-width: 430px; height: auto; }

.scr-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--scr-cobalt);
  color: var(--scr-ivory);
  margin-top: 32px;
  border-radius: var(--scr-rad);
  overflow: hidden;
}
.scr-facts div {
  padding: 16px 18px;
  border-left: 1px solid rgba(246, 241, 228, .18);
  border-top: 1px solid rgba(246, 241, 228, .18);
  font-size: .87rem;
  line-height: 1.42;
  color: #CBD8E8;
}
.scr-facts div:nth-child(-n+2) { border-top: 0; }
.scr-facts div:nth-child(odd) { border-left: 0; }
.scr-facts b { display: block; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 3px; }

/* i gusti */
.scr-gusti { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.scr-gusto {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  padding: 16px 8px;
  text-align: center;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  color: var(--scr-ink);
}
.scr-gusto:hover {
  border-color: var(--scr-cobalt);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -20px rgba(13, 30, 68, .4);
  color: var(--scr-ink);
}
.scr-gusto svg { width: 46px; height: 46px; margin: 0 auto; display: block; }
.scr-gusto span { display: block; margin-top: 8px; font-size: .88rem; font-weight: 600; }

/* prodotti: i moduli nativi rendono qui dentro */
.scr-prodotti .featured-products,
.scr-prodotti .products-section-title { margin: 0; }
.scr-prodotti h2,
.scr-prodotti .products-section-title {
  font-family: var(--scr-dsp);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -.015em;
  font-size: 1.5rem;
  text-align: left;
  border: 0;
}
.scr-prodotti .all-product-link {
  font-weight: 600;
  color: var(--scr-cobalt);
  border-bottom: 1.5px solid var(--scr-yellow);
  padding-bottom: 2px;
  float: none;
  display: inline-block;
  margin-top: 14px;
}

/* i tre extra */
.scr-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scr-card {
  border: 1.5px solid var(--scr-cobalt);
  border-radius: var(--scr-rad);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background-color .25s, color .25s, box-shadow .25s;
  color: var(--scr-ink);
}
.scr-card:hover { background: var(--scr-cobalt); color: var(--scr-ivory); box-shadow: 0 22px 48px -26px rgba(13, 30, 68, .45); }
.scr-card:hover .scr-card__art { background: rgba(246, 241, 228, .12); }
.scr-card:hover .scr-more { color: var(--scr-yellow); }
.scr-card:hover h3 { color: var(--scr-ivory); }
.scr-card__art { background: var(--scr-ivory-2); display: grid; place-items: center; padding: 24px; transition: background-color .25s; }
.scr-card__art svg { width: 100%; max-width: 160px; height: auto; }
.scr-card__txt { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.scr-card__txt h3 { font-family: var(--scr-dsp); font-weight: 600; font-size: 1.35rem; margin-bottom: 8px; }
.scr-card__txt p { font-size: .94rem; line-height: 1.5; opacity: .85; flex: 1; margin-bottom: 14px; }
.scr-more { font-size: .92rem; font-weight: 700; color: var(--scr-cobalt); }

/* fascia a maiolica */
.scr-tilestrip {
  height: 16px;
  background-image: var(--scr-tile);
  background-size: 56px 56px;
  margin-top: clamp(40px, 5vw, 76px);
}

/* la storia */
.scr-storia {
  background: var(--scr-cobalt);
  color: var(--scr-ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--scr-rad);
  overflow: hidden;
}
.scr-storia__txt { padding: clamp(26px, 4vw, 54px); }
.scr-storia__anno {
  font-family: var(--scr-dsp);
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--scr-yellow);
  margin-bottom: 6px;
}
.scr-storia .scr-h2 { color: var(--scr-ivory); margin-bottom: 14px; }
.scr-storia p { color: #D3DEEC; max-width: 48ch; margin-bottom: 14px; font-size: 1.02rem; line-height: 1.6; }
.scr-storia__art { background: var(--scr-cobalt-deep); display: grid; place-items: center; padding: 24px; }
.scr-storia__art svg { width: 100%; max-width: 420px; height: auto; }

@media (max-width: 1080px) {
  .scr-gusti { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 940px) {
  .scr-hero, .scr-storia, .scr-extra { grid-template-columns: 1fr; }
  .scr-hero__art { order: -1; }
  .scr-vassoio { max-width: 320px; }
}
@media (max-width: 540px) {
  .scr-gusti { grid-template-columns: repeat(2, 1fr); }
  .scr-facts { grid-template-columns: 1fr; }
  .scr-facts div { border-left: 0; border-top: 1px solid rgba(246, 241, 228, .18); }
  .scr-facts div:first-child { border-top: 0; }
  .scr-storia__anno { font-size: 2.6rem; }
}

/* schede categoria in home */
.scr-catgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.scr-catcard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  padding: 14px 16px;
  color: var(--scr-ink);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.scr-catcard:hover {
  transform: translateY(-3px);
  border-color: var(--scr-cobalt);
  box-shadow: 0 18px 38px -24px rgba(13, 30, 68, .42);
  color: var(--scr-ink);
}
.scr-catcard__art {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.scr-catcard__art svg { width: 40px; height: 40px; }
.scr-catcard__txt { display: flex; flex-direction: column; min-width: 0; }
.scr-catcard__txt b { font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.scr-catcard__txt i {
  font-style: normal;
  font-size: .84rem;
  font-weight: 600;
  color: var(--scr-cobalt);
  margin-top: 3px;
}
@media (max-width: 1080px) { .scr-catgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .scr-catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .scr-catgrid { grid-template-columns: 1fr; } }

/* =========================================================================
   SCHEDA PRODOTTO — rifiniture
   ========================================================================= */
#product h1,
#product .product-title,
#product .page-content h1 {
  font-family: var(--scr-dsp);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  text-transform: none;
  margin-bottom: 10px;
}

/* la colonna immagini segue lo scorrimento, cosi' non resta il vuoto
   bianco a sinistra quando la descrizione e' lunga */
@media (min-width: 992px) {
  #product .product-container > .col-md-6:first-child,
  #product .images-container {
    position: sticky;
    top: 92px;
  }
}

/* galleria */
#product .product-cover img,
#product .images-container .product-cover {
  border-radius: var(--scr-rad);
  border: 1px solid var(--scr-line);
  background: #fff;
}
#product .product-images > li.thumb-container > .thumb,
#product .js-qv-product-images .thumb {
  border-radius: var(--scr-rad-s);
  border: 1.5px solid var(--scr-line);
  transition: border-color .2s;
}
#product .product-images > li.thumb-container > .thumb.selected,
#product .product-images > li.thumb-container > .thumb:hover {
  border-color: var(--scr-cobalt);
}

/* quantita' e pulsante acquisto sulla stessa riga, piu' presenti */
#product .product-add-to-cart .product-quantity { align-items: center; gap: 12px; flex-wrap: wrap; }
#product .product-add-to-cart .add-to-cart {
  font-size: 1rem;
  padding: 14px 30px;
  box-shadow: 0 14px 30px -18px rgba(233, 168, 38, .9);
}
#product .product-quantity .qty { margin-right: 0; }

/* condivisione */
#product .social-sharing { align-items: center; }
#product .social-sharing li {
  background-color: var(--scr-ivory-2);
  border-radius: 999px;
  transition: background-color .2s;
}
#product .social-sharing li:hover { background-color: var(--scr-yellow); }

/* blocco rassicurazioni nativo: piu' arioso */
#block-reassurance { margin-top: 18px; }
#block-reassurance li .block-reassurance-item { padding: 12px 14px; }
#block-reassurance span { font-weight: 600; font-size: .93rem; }

/* descrizione prodotto */
#product .product-description { font-size: 1rem; line-height: 1.68; color: var(--scr-ink-60); }
#product .product-description strong,
#product .product-description b { color: var(--scr-ink); }

/* prodotti correlati in fondo */
.product-accessories .products,
#product .featured-products { margin-top: 10px; }

/* =========================================================================
   PAGINA CATEGORIA — rifiniture
   ========================================================================= */
#category #js-product-list-top,
#search #js-product-list-top {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  padding: 12px 18px;
  margin-bottom: 18px;
}
#category .block-category .category-cover,
#category .block-category img { border-radius: var(--scr-rad); }
#category #left-column,
#search #left-column { padding-right: 24px; }
#category .pagination,
#search .pagination {
  background: #fff;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-rad);
  padding: 12px 18px;
  margin-top: 22px;
}
#category .pagination .current a,
#search .pagination .current a {
  background: var(--scr-cobalt);
  color: var(--scr-ivory);
  border-radius: 999px;
  padding: 4px 12px;
}
.category-cover { display: none; }

/* griglia prodotti piu' ariosa */
#products .products,
.products.row { row-gap: 22px; }
