:root{
  --cream:#fef9f2; --dark:#3d201a; --sand:#d4a677; --warm:#904b2a; --line:#dca168; --white:#fff; --shell:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--dark)}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}.shell{width:min(var(--shell),calc(100% - 48px));margin-inline:auto}
.site-header{background:var(--cream);position:relative;z-index:20}.header-inner{display:flex;flex-direction:column;align-items:center;padding:20px 0 12px}.brand img{width:145px;height:auto}.main-nav{display:flex;gap:38px;align-items:center;justify-content:center;padding:12px 0 4px}.main-nav a{position:relative;padding:8px 0}.main-nav a:after{content:"";position:absolute;left:0;bottom:2px;width:0;height:2px;background:var(--sand);transition:width .3s ease}.main-nav a:hover:after,.main-nav a:focus-visible:after{width:100%}.nav-toggle{display:none}
.section{padding:72px 0}.page-main{padding-top:58px}.page-kicker{color:var(--sand);display:flex;align-items:center;gap:11px;margin:0 0 28px}.page-kicker:before{content:"";width:40px;height:2px;background:var(--sand)}
.line-title{display:table;position:relative;margin:0 0 34px;color:var(--warm);padding-bottom:16px}.line-title:after{content:"";position:absolute;left:0;bottom:0;width:62px;height:4px;background:var(--sand);transition:width .42s cubic-bezier(.2,.7,.2,1)}.line-title:hover:after,.line-title:focus-within:after{width:100%}.page-title{margin-bottom:32px}.line-title-light{color:var(--sand);margin-bottom:0}.line-title-light:after{background:var(--cream)}.body-copy p:first-child{margin-top:0}.body-copy p{margin:0 0 24px}.top-space{margin-top:36px}.media{margin:0;overflow:hidden}.media img{width:100%;height:auto}.two-col{display:grid;grid-template-columns:1.05fr .62fr;gap:78px;align-items:center}
.hero-home{min-height:520px;background:linear-gradient(90deg,rgba(24,25,20,.95) 0%,rgba(24,25,20,.78) 32%,rgba(24,25,20,0) 66%),url('../img/testata-home.jpg') center/cover no-repeat;color:var(--sand);display:flex;align-items:center}.hero-home-copy{padding:70px 0}.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 18px}.eyebrow:before{content:"";width:34px;height:2px;background:var(--sand)}.hero-home h1{margin:0}.home-story{grid-template-columns:1fr 330px}.portrait-home img{aspect-ratio:.78;object-fit:cover}.philosophy-home{background:var(--sand)}.philosophy-home-grid{grid-template-columns:290px 1fr}.sack-home img{width:100%;max-height:520px;object-fit:cover}.text-cta{display:inline-block;margin-top:12px;position:relative;padding:8px 0 13px}.text-cta:after{content:"";position:absolute;left:0;bottom:0;width:54px;height:3px;background:var(--sand);transition:width .35s ease}.philosophy-home .text-cta:after{background:var(--cream)}.text-cta:hover:after,.text-cta:focus-visible:after{width:100%}.home-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-product-card{border:1.5px solid var(--dark);border-radius:12px;min-height:350px;padding:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform .25s ease,box-shadow .25s ease;background:rgba(255,255,255,.05)}.home-product-card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(61,32,26,.12)}.home-product-card img{height:245px;width:auto;object-fit:contain}.home-product-card span{color:var(--warm);margin-top:12px}
.wide-cta{background:var(--dark);color:var(--cream);padding:56px 0}.wide-cta-inner{text-align:center}.wide-cta-inner .line-title{margin-inline:auto}.wide-cta-inner p{margin:4px 0 26px}.split-cta{display:flex;align-items:center;justify-content:space-between;gap:60px}.pill-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--cream);color:var(--dark);padding:12px 18px;transition:transform .2s ease,background .2s ease}.pill-btn:hover{transform:translateY(-2px);background:var(--sand)}.pill-btn.outline{border:1.5px solid var(--dark);background:transparent}.pill-btn.outline:hover{background:var(--dark);color:var(--cream)}
.events-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px}.event-card{display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:center}.event-card>img{width:180px;max-height:245px;object-fit:contain}.event-card h3{margin:3px 0}.event-card p{margin:2px 0 15px}
.bio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:52px;align-items:start}.bio-photo img{width:100%;max-height:680px;object-fit:cover}.bio-grid-second{grid-template-columns:1fr 320px;align-items:center;margin-top:42px}.round-illustration{margin:0}.round-illustration img{width:100%;border-radius:50%}.philo-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:start}.philo-photo img{width:100%;max-height:650px;object-fit:cover}.intro-copy{max-width:1000px}.quote-row{display:grid;grid-template-columns:300px 1fr;gap:58px;align-items:center;margin-top:68px}.quote-row blockquote{margin:0}.quote-row blockquote strong{color:var(--dark)}
.product-section+.product-section{margin-top:78px}.section-lead{margin:-8px 0 34px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{border:1.5px solid var(--dark);border-radius:12px;padding:22px;min-height:500px;background:rgba(255,255,255,.05);display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}.product-card:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(61,32,26,.10)}.product-image{height:340px;display:grid;place-items:center}.product-image img{max-height:100%;max-width:100%;width:auto;object-fit:contain}.product-card h3{margin:18px 0 4px}.product-card p{margin:0}.spread-card{min-height:410px}.spread-card .product-image{height:280px}.product-grid-3{grid-template-columns:repeat(3,1fr)}
.site-footer{background:var(--sand);padding:38px 0 44px}.footer-grid{display:grid;grid-template-columns:180px 1.2fr .8fr .55fr;gap:44px;align-items:start}.footer-logo img{width:150px}.footer-copy p{margin:0 0 12px}.footer-nav{display:flex;flex-direction:column;gap:2px}.footer-nav a:hover{text-decoration:underline}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.65,.3,1)}.reveal.is-visible{opacity:1;transform:none}
@media(max-width:900px){.shell{width:min(var(--shell),calc(100% - 32px))}.header-inner{align-items:flex-start;padding:14px 0}.brand img{width:118px}.nav-toggle{display:grid;gap:4px;place-content:center;position:absolute;right:18px;top:36px;border:0;background:transparent;width:42px;height:42px}.nav-toggle span{display:block;width:23px;height:2px;background:var(--dark)}.main-nav{position:absolute;left:0;right:0;top:100%;display:grid;gap:0;background:var(--cream);padding:12px 22px 20px;box-shadow:0 18px 28px rgba(61,32,26,.10);transform:scaleY(0);transform-origin:top;opacity:0;pointer-events:none;transition:.2s ease}.main-nav.open{transform:scaleY(1);opacity:1;pointer-events:auto}.main-nav a{padding:10px 0}.hero-home{min-height:480px;background-position:64% center}.two-col,.home-story,.philosophy-home-grid,.bio-grid,.bio-grid-second,.philo-grid,.quote-row{grid-template-columns:1fr}.portrait-home{max-width:360px}.sack-home{max-width:320px}.round-illustration{max-width:300px}.home-product-grid,.events-grid{grid-template-columns:1fr}.product-grid,.product-grid-3{grid-template-columns:repeat(2,1fr)}.split-cta{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.quote-row{gap:28px}.bio-grid-second .round-illustration{justify-self:start}}
@media(max-width:600px){.section{padding:52px 0}.page-main{padding-top:42px}.hero-home{min-height:450px}.home-product-grid,.product-grid,.product-grid-3{grid-template-columns:1fr}.home-product-card{min-height:300px}.event-card{grid-template-columns:120px 1fr;gap:18px}.event-card>img{width:120px}.product-card{min-height:auto}.product-image{height:300px}.footer-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}

/* WordPress integration */
.site-header{position:sticky;top:0;transition:box-shadow .25s ease;background:rgba(254,249,242,.97);backdrop-filter:blur(10px)}
.site-header.is-scrolled{box-shadow:0 8px 24px rgba(61,32,26,.08)}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:38px;align-items:center;justify-content:center}
.main-nav li{margin:0;padding:0}
.main-nav .current-menu-item>a:after,.main-nav .current_page_item>a:after{width:100%}
.wp-page-content{margin-top:48px}
.wp-page-content>*:first-child{margin-top:0}
.wp-page-content a{text-decoration:underline;text-underline-offset:3px}
.single-product-grid,.single-event-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:64px;align-items:start}
.single-product-image,.single-event-image{margin:0}
.single-product-image img,.single-event-image img{width:100%;height:auto;object-fit:contain}
.is-disabled{opacity:.65;pointer-events:none}
.product-card h3 a{transition:color .2s ease}.product-card h3 a:hover{color:var(--warm)}
@media(max-width:900px){.main-nav ul{display:grid;gap:0}.single-product-grid,.single-event-grid{grid-template-columns:1fr}}
.footer-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.footer-nav li{margin:0;padding:0}

/* ===== Malin 2.0 — ACF dynamic templates ===== */
.narrow-shell{max-width:900px}
.section-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:28px}.section-heading-row .line-title{margin-bottom:0}.section-heading-row .text-cta{margin:0 0 5px}

.internal-hero{display:block}.internal-hero.has-image{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.72fr);gap:64px;align-items:center}.internal-hero-copy{min-width:0}.internal-hero-media{margin:0;overflow:hidden}.internal-hero-media img{width:100%;height:auto;max-height:560px;object-fit:cover}.page-subtitle,.page-intro{max-width:820px}.page-subtitle p,.page-intro p{margin:0 0 18px}
.section-title-small{margin-bottom:26px;padding-bottom:12px}.section-title-small:after{height:3px;width:50px}
.content-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.72fr);gap:64px;align-items:center}.content-split-reverse{grid-template-columns:minmax(0,1fr) 320px}.content-split-media{margin:0}.content-split-media img{width:100%;height:auto;max-height:680px;object-fit:cover}.feature-quote{margin:72px auto 24px;max-width:930px;padding:34px 0;border-top:1px solid rgba(61,32,26,.25);border-bottom:1px solid rgba(61,32,26,.25);color:var(--warm)}
.dynamic-blocks{margin-top:70px}.dynamic-block{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:58px;align-items:center;padding:54px 0;border-top:1px solid rgba(61,32,26,.16)}.dynamic-block.image-right .dynamic-block-media{order:2}.dynamic-block.image-right .dynamic-block-copy{order:1}.dynamic-block-media{margin:0;overflow:hidden}.dynamic-block-media img{width:100%;height:auto;max-height:560px;object-fit:cover}.dynamic-block-copy>*:last-child{margin-bottom:0}
.philosophy-quote-row blockquote{color:var(--warm)}

.home-dynamic-products{grid-template-columns:repeat(2,minmax(0,1fr))}.home-featured-product{min-height:430px}.home-featured-product .product-image{height:280px}
.product-filters{display:flex;flex-wrap:wrap;gap:10px;margin:42px 0 28px}.filter-btn{appearance:none;border:1.5px solid var(--dark);border-radius:999px;background:transparent;color:var(--dark);padding:9px 16px;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.filter-btn:hover{transform:translateY(-1px)}.filter-btn.is-active{background:var(--dark);color:var(--cream)}.product-filter-item.is-hidden{display:none}.products-dynamic-grid>.product-filter-item{display:flex}.products-dynamic-grid>.product-filter-item>.product-card{width:100%}.product-excerpt p{margin:0}.page-closing{margin-top:54px;max-width:840px}.empty-state{border:1px dashed rgba(61,32,26,.35);border-radius:12px;padding:26px;max-width:720px}.empty-state p{margin:0}

.event-card-image{display:block;width:180px}.event-card-image img{width:180px;max-height:245px;object-fit:contain}.event-card h3 a:hover{color:var(--warm)}.events-list-grid{margin-top:44px}

.stores-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}.store-card{border:1.5px solid var(--dark);border-radius:12px;padding:24px;min-height:250px;background:rgba(255,255,255,.08);display:flex;flex-direction:column}.store-thumb{margin:-24px -24px 22px;overflow:hidden;border-radius:10px 10px 0 0}.store-thumb img{width:100%;height:180px;object-fit:cover}.store-type{color:var(--warm)}.store-card h3{margin:8px 0 12px}.store-card p{margin:0 0 16px}.store-links{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:auto}.store-links a{position:relative;padding-bottom:5px}.store-links a:after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--sand);transition:right .25s ease}.store-links a:hover:after{right:0}

.order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.order-card{border:1.5px solid var(--dark);border-radius:14px;padding:34px;display:flex;flex-direction:column;align-items:flex-start}.order-card .body-copy{flex:1}.order-card .pill-btn{margin-top:20px}

.contact-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.72fr);gap:70px;align-items:start}.contact-image{margin:0;position:sticky;top:150px}.contact-image img{width:100%;height:auto;max-height:720px;object-fit:cover}.contact-direct{display:flex;flex-wrap:wrap;gap:26px 54px;margin:30px 0}.contact-direct p{margin:0}.contact-direct a{text-decoration:underline;text-underline-offset:3px}.contact-form-wrap input:not([type=checkbox]):not([type=radio]):not([type=submit]),.contact-form-wrap textarea,.contact-form-wrap select{width:100%;border:1px solid rgba(61,32,26,.35);background:transparent;border-radius:6px;padding:12px 14px;color:var(--dark)}.contact-form-wrap input[type=submit],.contact-form-wrap button[type=submit]{border:0;border-radius:8px;background:var(--dark);color:var(--cream);padding:12px 18px;cursor:pointer}.contact-notes{margin-top:20px}

.single-product-media{position:sticky;top:150px}.single-product-image{background:rgba(255,255,255,.18);border:1px solid rgba(61,32,26,.14);border-radius:14px;padding:28px}.single-product-image img{max-height:680px;margin:auto}.product-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.gallery-thumb{appearance:none;border:1px solid rgba(61,32,26,.22);border-radius:8px;background:transparent;padding:6px;cursor:pointer}.gallery-thumb img{width:100%;height:90px;object-fit:contain}.gallery-thumb:hover{border-color:var(--warm)}.product-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0}.product-facts>div{border-top:1px solid rgba(61,32,26,.28);padding-top:12px}.product-facts dt{color:var(--warm)}.product-facts dd{margin:5px 0 0}.product-details{margin-top:30px}.product-details h2{margin:24px 0 7px}.product-order-btn{margin-top:24px}.event-meta-large{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;margin:26px 0}.event-meta-large p{margin:0;padding-top:10px;border-top:1px solid rgba(61,32,26,.25)}.event-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}

.footer-meta{display:flex;flex-direction:column;gap:14px}.social-links{display:flex;flex-wrap:wrap;gap:7px 13px}.social-links a:hover{text-decoration:underline}.copyright{margin:8px 0 0;opacity:.8}.footer-custom-text p{margin:0 0 8px}
.post-entry+.post-entry{margin-top:58px}

@media(max-width:900px){
  .section-heading-row{align-items:flex-start;flex-direction:column;gap:4px}.section-heading-row .text-cta{margin-bottom:18px}
  .internal-hero.has-image,.content-split,.content-split-reverse,.dynamic-block,.contact-layout{grid-template-columns:1fr}.internal-hero-media{max-width:620px}.content-split-media{max-width:520px}.dynamic-block.image-right .dynamic-block-media,.dynamic-block.image-right .dynamic-block-copy{order:initial}
  .home-dynamic-products,.order-grid{grid-template-columns:1fr}.stores-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-card-image,.event-card-image img{width:140px}.contact-image,.single-product-media{position:static}.contact-image{max-width:520px}.product-facts{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .internal-hero.has-image{gap:32px}.feature-quote{margin-top:48px;padding:25px 0}.dynamic-block{gap:26px;padding:40px 0}.stores-grid{grid-template-columns:1fr}.order-card{padding:24px}.event-card-image,.event-card-image img{width:120px}.product-facts{grid-template-columns:1fr}.product-gallery{grid-template-columns:repeat(3,1fr)}.gallery-thumb img{height:72px}.event-meta-large{grid-template-columns:1fr}.contact-layout{gap:40px}
}

/* Malin 2.1 — refinements for the supplied internal-page mockups */
.content-split-image-left{grid-template-columns:minmax(300px,.82fr) minmax(0,1fr)}
.content-split-image-left .content-split-media img{max-height:none;object-fit:contain}
.dynamic-block.image-right{grid-template-columns:minmax(0,1fr) minmax(240px,.55fr)}
.dynamic-block.image-right .dynamic-block-media img{object-fit:contain}
.products-page .product-image img{object-fit:contain}
@media(max-width:900px){.content-split-image-left,.dynamic-block.image-right{grid-template-columns:1fr}.content-split-image-left .content-split-media{max-width:520px}}

/* =========================================================
   v2.2 — Image sizing fixes
   WordPress adds intrinsic width/height attributes to media.
   Keep their aspect ratio responsive and prevent oversized
   product/footer images from overflowing their containers.
   ========================================================= */
img{
  height:auto}

/* Homepage featured products */
.products-home .home-dynamic-products{
  align-items:stretch}
.products-home .home-featured-product{
  min-height:340px;
  padding:24px 26px 22px;
  justify-content:flex-start;
  overflow:hidden}
.products-home .home-featured-product .product-image{
  width:100%;
  height:220px;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden}
.products-home .home-featured-product .product-image img{
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:78% !important;
  max-height:205px !important;
  object-fit:contain !important;
  margin:auto}
.products-home .home-featured-product h3{
  width:100%;
  margin-top:16px}
.products-home .home-featured-product .product-excerpt{
  width:100%}

/* Footer logo: WP image width/height attributes must never distort it */
.site-footer{
  overflow:hidden}
.footer-logo{
  display:block;
  width:140px;
  max-width:100%}
.footer-logo img,
.site-footer .footer-logo img{
  display:block;
  width:140px !important;
  max-width:100% !important;
  height:auto !important;
  max-height:120px !important;
  object-fit:contain !important;
  object-position:left top}

@media(max-width:900px){
  .products-home .home-featured-product{
    min-height:320px}
  .products-home .home-featured-product .product-image{
    height:200px;
    min-height:200px}
  .products-home .home-featured-product .product-image img{
    max-height:185px !important;
    max-width:72% !important}
  .footer-logo,
  .footer-logo img,
  .site-footer .footer-logo img{
    width:125px !important}
}

@media(max-width:600px){
  .products-home .home-featured-product{
    min-height:0;
    padding:20px}
  .products-home .home-featured-product .product-image{
    height:190px;
    min-height:190px}
  .products-home .home-featured-product .product-image img{
    max-height:175px !important;
    max-width:76% !important}
}


/* =========================================================
   v2.5 — Product archive image sizing
   Keep product packshots inside a dedicated visual area with
   generous whitespace, matching the supplied mockup.
   ========================================================= */
.hero-home h1{
  white-space:pre-line}

.products-page .products-dynamic-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:start}

.products-page .product-filter-item{
  min-width:0}

.products-page .product-card{
  width:100%;
  min-height:0;
  padding:20px 20px 22px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:stretch}

.products-page .product-card .product-image{
  width:100%;
  height:220px;
  min-height:220px;
  padding:10px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin:0 0 12px}

.products-page .product-card .product-image img,
.products-page .product-card .product-image .product-card-img{
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:64% !important;
  max-height:190px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:auto !important}

/* Vertical chocolate bars: narrower than the card, with more breathing room. */
.products-page .product-filter-item.barrette .product-image img,
.products-page .product-filter-item.barrette .product-image .product-card-img{
  max-width:52% !important;
  max-height:190px !important}

/* Jars: slightly wider but lower. */
.products-page .product-filter-item.spalmabili .product-image img,
.products-page .product-filter-item.spalmabili .product-image .product-card-img{
  max-width:62% !important;
  max-height:165px !important}

.products-page .product-card h3{
  margin:4px 0 6px}

.products-page .product-excerpt{
  margin-top:0}

.products-page .product-excerpt p{
  margin:0}

@media(max-width:900px){
  .products-page .products-dynamic-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))}
  .products-page .product-card .product-image{
    height:210px;
    min-height:210px}
  .products-page .product-card .product-image img,
  .products-page .product-card .product-image .product-card-img{
    max-height:180px !important}
  .products-page .product-filter-item.barrette .product-image img,
  .products-page .product-filter-item.barrette .product-image .product-card-img{
    max-width:50% !important}
  .products-page .product-filter-item.spalmabili .product-image img,
  .products-page .product-filter-item.spalmabili .product-image .product-card-img{
    max-width:58% !important;
    max-height:155px !important}
}

@media(max-width:600px){
  .products-page .products-dynamic-grid{
    grid-template-columns:1fr;
    gap:16px}
  .products-page .product-card{
    padding:18px 18px 20px}
  .products-page .product-card .product-image{
    height:220px;
    min-height:220px}
  .products-page .product-card .product-image img,
  .products-page .product-card .product-image .product-card-img{
    max-width:58% !important;
    max-height:185px !important}
  .products-page .product-filter-item.barrette .product-image img,
  .products-page .product-filter-item.barrette .product-image .product-card-img{
    max-width:46% !important}
  .products-page .product-filter-item.spalmabili .product-image img,
  .products-page .product-filter-item.spalmabili .product-image .product-card-img{
    max-width:56% !important;
    max-height:160px !important}
}


/* =========================================================
   v2.6 — Product filters
   `display:flex` on grid items previously overrode `.is-hidden`.
   Keep filtered products definitively out of the layout.
   ========================================================= */
.products-dynamic-grid > .product-filter-item.is-hidden,
.products-dynamic-grid > .product-filter-item[hidden]{
  display:none !important}

/* =========================================================
   v2.8 — Customizable block footer
   Footer columns are block-enabled widget areas. The same
   areas are available from Appearance > Widgets and from
   Customize > Widgets. Column count comes from the Customizer.
   ========================================================= */
.site-footer-blocks{
  background:var(--sand);
  padding:38px 0 44px;
  overflow:hidden}
.footer-block-grid{
  display:grid;
  gap:44px;
  align-items:start}
.footer-columns-1{grid-template-columns:minmax(0,1fr)}
.footer-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.footer-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.footer-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.footer-widget-area,
.footer-widget,
.footer-fallback{
  min-width:0}
.footer-widget + .footer-widget{
  margin-top:22px}
.footer-widget-title,
.site-footer-blocks .wp-block-heading{
  margin:0 0 12px;
  color:var(--dark)}
.site-footer-blocks p{
  margin:0 0 10px}
.site-footer-blocks ul,
.site-footer-blocks ol{
  margin:0;
  padding-left:18px}
.site-footer-blocks .wp-block-navigation__container{
  gap:4px 16px}
.site-footer-blocks .wp-block-navigation.is-vertical .wp-block-navigation__container{
  align-items:flex-start}
.site-footer-blocks .wp-block-image{
  margin:0 0 16px}
.site-footer-blocks .wp-block-image img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:150px;
  object-fit:contain}
.site-footer-blocks .wp-block-social-links{
  gap:8px;
  margin:12px 0}
.site-footer-blocks a:hover,
.site-footer-blocks a:focus-visible{
  text-decoration:underline;
  text-underline-offset:3px}
.footer-fallback > * + *{
  margin-top:20px}

@media(max-width:900px){
  .footer-columns-2,
  .footer-columns-3,
  .footer-columns-4{
    grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-columns-1{
    grid-template-columns:1fr}
}
@media(max-width:600px){
  .footer-block-grid,
  .footer-columns-1,
  .footer-columns-2,
  .footer-columns-3,
  .footer-columns-4{
    grid-template-columns:1fr;
    gap:30px}
}

@media(max-width:900px){
  .hero-home{
    width:min(var(--shell),calc(100% - 32px))}
}

@media(max-width:600px){
  .hero-home{
    width:calc(100% - 24px)}
}


/* =========================================================
   Malin 3.0 — Appuntamenti singoli, ricorrenti e archivio
   ========================================================= */
.event-schedule{
  display:block;
  margin:0 0 4px}
.appointments-section + .appointments-section{
  margin-top:78px;
  padding-top:58px;
  border-top:1px solid rgba(61,32,26,.16)}
.appointments-past .event-card{
  opacity:.82}
.appointments-past .event-card:hover{
  opacity:1}
@media(max-width:600px){
  .appointments-section + .appointments-section{
    margin-top:52px;
    padding-top:42px}
}

/* =========================================================
   Malin 3.3.6 — Event gallery
   Editorial responsive grid + native dialog lightbox.
   Typography remains controlled by the Customizer.
   ========================================================= */
.event-gallery-section{
  padding-top:24px;
}

.event-gallery-title{
  margin-bottom:34px;
}

.event-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-flow:row;
  grid-auto-rows:220px;
  gap:16px;
}

.event-gallery-item{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  min-width:0;
  overflow:hidden;
  background:transparent;
  color:inherit;
  cursor:zoom-in;
  position:relative;
  border-radius:12px;
  text-align:left;
  box-shadow:0 0 0 1px rgba(61,32,26,.08);
}

.event-gallery-image-wrap{
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  background:rgba(212,166,119,.10);
}

.event-gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s cubic-bezier(.2,.65,.3,1), filter .35s ease;
}

.event-gallery-item:hover img,
.event-gallery-item:focus-visible img{
  transform:scale(1.035);
}

.event-gallery-item:focus-visible{
  outline:3px solid var(--sand);
  outline-offset:3px;
}

.event-gallery-caption{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  display:inline-block;
  width:max-content;
  max-width:calc(100% - 28px);
  padding:7px 10px;
  border-radius:6px;
  background:rgba(61,32,26,.84);
  color:var(--cream);
  backdrop-filter:blur(6px);
}

.event-gallery-count-1{
  grid-template-columns:1fr;
  grid-auto-rows:min(62vw,620px);
}

.event-gallery-count-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:420px;
}

.event-gallery-count-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:300px;
}

/* From 4 images onward the gallery is a regular four-column grid. */
.event-gallery-many .event-gallery-item:first-child,
.event-gallery-many .event-gallery-item:nth-child(6n){
  grid-column:auto;
  grid-row:auto;
}

.event-gallery-lightbox{
  width:min(1180px,calc(100vw - 48px));
  height:min(860px,calc(100vh - 48px));
  max-width:none;
  max-height:none;
  margin:auto;
  padding:28px 68px;
  border:0;
  border-radius:16px;
  background:#17100d;
  color:var(--cream);
  overflow:hidden;
}

.event-gallery-lightbox::backdrop{
  background:rgba(20,10,7,.82);
  backdrop-filter:blur(4px);
}

.event-gallery-lightbox-figure{
  width:100%;
  height:100%;
  margin:0;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  place-items:center;
  gap:14px;
}

.event-gallery-lightbox-figure img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}

.event-gallery-lightbox-figure figcaption{
  min-height:1em;
  text-align:center;
  color:var(--cream);
  opacity:.88;
}

.event-gallery-close,
.event-gallery-prev,
.event-gallery-next{
  appearance:none;
  border:0;
  background:rgba(254,249,242,.10);
  color:var(--cream);
  cursor:pointer;
  position:absolute;
  z-index:2;
  display:grid;
  place-items:center;
  border-radius:999px;
  transition:background .2s ease,transform .2s ease;
}

.event-gallery-close:hover,
.event-gallery-prev:hover,
.event-gallery-next:hover,
.event-gallery-close:focus-visible,
.event-gallery-prev:focus-visible,
.event-gallery-next:focus-visible{
  background:rgba(254,249,242,.22);
}

.event-gallery-close{
  top:16px;
  right:16px;
  width:42px;
  height:42px;
}

.event-gallery-prev,
.event-gallery-next{
  top:50%;
  width:44px;
  height:44px;
  transform:translateY(-50%);
}

.event-gallery-prev{left:14px}
.event-gallery-next{right:14px}
.event-gallery-prev:hover,.event-gallery-next:hover{transform:translateY(-50%) scale(1.04)}

@media(max-width:900px){
  .event-gallery-grid,
  .event-gallery-count-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:240px;
  }
  .event-gallery-count-1{grid-template-columns:1fr;grid-auto-rows:min(72vw,520px)}
  .event-gallery-count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:300px}
  .event-gallery-many .event-gallery-item:first-child,
  .event-gallery-many .event-gallery-item:nth-child(6n){grid-column:auto;grid-row:auto}
  .event-gallery-lightbox{width:calc(100vw - 24px);height:calc(100vh - 24px);padding:56px 18px 24px}
}

@media(max-width:600px){
  .event-gallery-grid,
  .event-gallery-count-1,
  .event-gallery-count-2,
  .event-gallery-count-3{
    grid-template-columns:1fr;
    grid-auto-rows:260px;
    gap:12px;
  }
  .event-gallery-many .event-gallery-item:first-child,
  .event-gallery-many .event-gallery-item:nth-child(6n){grid-column:auto;grid-row:auto}
  .event-gallery-lightbox{border-radius:10px}
  .event-gallery-prev,.event-gallery-next{width:38px;height:38px}
  .event-gallery-prev{left:8px}.event-gallery-next{right:8px}
}


input.wpcf7-form-control.wpcf7-submit.has-spinner{
  color: rgba(254, 249, 242, .97) !important;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0em;
}

blockquote.feature-quote{
  font-family: "a-day-without-sun-text","A Day Without Sun Text",sans-serif !important;
  font-size: 54px;
  font-weight: 700;
  max-width:100% !important;
}

.dynamic-block {
    border-top: 0px solid rgba(61, 32, 26, .16);
}

/* =========================================================
   Malin 3.4.0 — Single product layout
   Reference: supplied product-detail mockup.
   ========================================================= */
.single-product-page .product-showcase{
  grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr);
  gap:68px;
  align-items:start;
}

.single-product-page .single-product-media{
  position:static;
}

.single-product-page .single-product-image{
  width:100%;
  min-height:620px;
  margin:0;
  padding:40px 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(61,32,26,.22);
  border-radius:12px;
  overflow:hidden;
}

.single-product-page .single-product-image img{
  display:block;
  width:auto;
  height:auto;
  max-width:78%;
  max-height:560px;
  margin:auto;
  object-fit:contain;
}

.single-product-page.spalmabili .single-product-image img{
  max-width:92%;
  max-height:470px;
}

.single-product-page .single-product-copy{
  padding-top:0;
}

.single-product-page .product-title{
  display:block;
  width:100%;
  margin-bottom:18px;
  padding-bottom:18px;
  border-bottom:3px solid var(--sand);
}

.single-product-page .product-title:after{
  display:none;
}

.single-product-page .product-description{
  margin:0 0 18px;
}

.single-product-page .product-specs{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:14px;
}

.single-product-page .product-specs p{
  margin:0;
}

.single-product-page .product-order-btn{
  margin-top:28px;
}

.related-products-section{
  margin-top:58px;
  padding-top:0;
}

.related-products-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:34px;
}

.related-products-title{
  margin:0;
  color:var(--warm);
}

.related-products-all{
  margin:0 0 4px;
}

.related-products-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:28px;
}

.related-product-card{
  min-width:0;
  margin:0;
  padding:22px 18px 20px;
  border:1px solid rgba(144,75,42,.58);
  border-radius:5px;
  background:rgba(255,255,255,.06);
  transition:transform .22s ease,box-shadow .22s ease;
}

.related-product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(61,32,26,.08);
}

.related-product-image{
  height:285px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.related-product-image img{
  display:block;
  width:auto;
  height:auto;
  max-width:88%;
  max-height:270px;
  object-fit:contain;
  transition:transform .35s ease;
}

.related-product-card:hover .related-product-image img{
  transform:scale(1.025);
}

.related-product-card h3{
  margin:18px 0 0;
}

.related-product-card h3 a{
  display:block;
}

@media(max-width:1100px){
  .related-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:900px){
  .single-product-page .product-showcase{
    grid-template-columns:1fr;
    gap:38px;
  }
  .single-product-page .single-product-image{
    min-height:0;
    max-width:620px;
  }
  .single-product-page .single-product-image img{
    max-height:520px;
  }
  .related-products-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
}

@media(max-width:700px){
  .related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .related-product-image{height:230px}
  .related-product-image img{max-height:215px}
}

@media(max-width:480px){
  .single-product-page .single-product-image{padding:26px 20px}
  .related-products-grid{grid-template-columns:1fr}
  .related-product-image{height:280px}
  .related-product-image img{max-height:265px}
}

/* =========================================================
   Malin 3.4.1 — Related products visibility
   ========================================================= */
.related-products-section.reveal{
  opacity:1 !important;
  transform:none !important;
}

.related-products-section{
  display:block;
  width:100%;
  visibility:visible;
}

blockquote.reveal{
  font-family: "a-day-without-sun-text","A Day Without Sun Text",sans-serif !important;
  font-size: 54px;
  font-weight: 800;
}

.private-order-form{
  margin-top:100px;
  padding-top:0;
  scroll-margin-top:140px;
}

/* =========================================================
   Malin — Form ordini privati + immagine
   Mantiene le modifiche esistenti e aggiunge solo il layout
   della foto accanto al form.
   ========================================================= */
.private-order-form-head{
  max-width:760px;
  margin-bottom:36px;
}

.private-order-form-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.8fr);
  gap:64px;
  align-items:start;
}

.private-order-form-wrap{
  max-width:none;
  width:100%;
}

.private-order-form-media{
  margin:0;
  overflow:hidden;
  border-radius:12px;
  position:sticky;
  top:150px;
}

.private-order-form-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
}

@media(max-width:900px){
  .private-order-form-grid{
    grid-template-columns:1fr;
    gap:44px;
  }

  .private-order-form-media{
    position:static;
    max-width:620px;
  }
}

@media(max-width:600px){
  .private-order-form-grid{
    gap:32px;
  }

  .private-order-form-media{
    border-radius:10px;
  }
}

.footer-widget-area-4{
    position: relative;
    top: -7px;
}