/* ----------------------------------------------------- */
/* ROOT VARIABLES */
/* ----------------------------------------------------- */
:root {
--brown: #3f2b1f;
--gold: #b89245;
--cream: #f6efe6;
--light: #faf7f3;
}

/* ----------------------------------------------------- */
/* GLOBAL RESET */
/* ----------------------------------------------------- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "Cormorant Garamond", serif;
background: var(--light);
color: #35261c;
line-height: 1.8;
padding-top: 90px;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

img {
max-width: 100%;
height: auto;
display: block;
}

.container {
width: 90%;
max-width: 1100px;
margin: auto;
}

/* ----------------------------------------------------- */
/* SITE HEADER ONLY */
/* ----------------------------------------------------- */
body > header {
position: fixed;
top: 0;
width: 100%;
z-index: 9999;
background: rgba(246, 239, 230, 0.95);
backdrop-filter: blur(10px);
padding: 10px 0;
}

.nav {
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
}

.nav-links {
display: flex;
gap: 25px;
align-items: center;
}

.nav-links a {
text-decoration: none;
color: var(--gold);
font-weight: 500;
font-family: "Cormorant Garamond", serif;
font-size: 20px;
letter-spacing: 0.02em;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

.brand {
display: flex;
align-items: center;
text-decoration: none;
flex-shrink: 0;
}

.site-logo {
height: 70px;
transform: scale(1.90);
transform-origin: left center;
width: auto;
display: block;
transition: opacity 0.2s ease;
}

.brand:hover .site-logo {
opacity: 0.82;
}

/* HAMBURGER */
.hamburger {
display: none;
flex-direction: column;
background: none;
border: none;
cursor: pointer;
}

.hamburger span {
width: 26px;
height: 2px;
background: var(--gold);
margin: 5px 0;
}

/* MOBILE NAV */
@media (max-width: 900px) {
.hamburger {
display: flex;
}

.nav-links {
position: fixed;
top: 96px;
right: -100%;
width: 75%;
height: calc(100vh - 96px);
background: #fff;
flex-direction: column;
padding: 30px;
gap: 22px;
transition: 0.3s ease;
box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
right: 0;
}

body.no-scroll {
overflow: hidden;
}
}

/* ----------------------------------------------------- */
/* HERO */
/* ----------------------------------------------------- */
.hero {
padding: 180px 0 140px;
background: linear-gradient(to bottom, #f6efe6, #faf7f3);
text-align: center;
}

.hero-inner {
max-width: 680px;
margin: auto;
margin-top: 32px;
line-height: 1.3;
}

.hero-logo {
width: 650px;
max-width: 95%;
margin-bottom: 70px;
}

.hero h1 {
font-family: "Cormorant Garamond", serif;
font-size: 42px;
color: var(--brown);
}

.hero-subtitle {
color: #6d5747;
font-size: 18px;
margin-bottom: 10px;
}

.hero-description {
max-width: 640px;
margin: 0 auto 30px;
color: #6d5747;
}

.hero-cta {
margin-top: 30px;
display: flex;
gap: 16px;
justify-content: center;
}

.btn {
padding: 10px 18px;
border-radius: 100px;
text-decoration: none;
display: inline-block;
}

.btn-gold {
background: var(--gold);
color: #fff;
}

.btn-outline {
border: 1px solid var(--gold);
color: var(--gold);
}

/* ----------------------------------------------------- */
/* HOME SECTIONS */
/* ----------------------------------------------------- */
.section {
padding: 120px 0;
}

.home-two-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}

.home-block-image img {
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.h-like {
font-family: "Cormorant Garamond", serif;
font-size: 26px;
color: var(--brown);
}

.home-block-text p {
margin: 20px 0;
color: #6d5747;
}

/* ----------------------------------------------------- */
/* BISCUITS */
/* ----------------------------------------------------- */
.hero-static {
padding: 160px 0 120px;
text-align: center;
}

.biscuits-hero img {
width: 100%;
max-height: 420px;
border-radius: 14px;
object-fit: cover;
margin-bottom: 40px;
}

.biscuits-list {
display: flex;
flex-direction: column;
gap: 70px;
}

.biscuit-item {
display: grid;
grid-template-columns: 300px 1fr;
gap: 40px;
align-items: center;
}

.biscuit-item img {
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.biscuit-name {
font-family: "Cormorant Garamond", serif;
font-size: 32px;
color: var(--brown);
}

/* ----------------------------------------------------- */
/* ORDER */
/* ----------------------------------------------------- */
.order-hero {
background: var(--cream);
}

.order-steps {
display: flex;
flex-direction: column;
gap: 60px;
}

.order-step {
display: grid;
grid-template-columns: 420px 1fr;
gap: 40px;
align-items: center;
}

.order-step-media img {
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.order-contact {
background: #fff;
}

.contact-card {
max-width: 640px;
margin: 0 auto;
padding: 36px;
text-align: center;
border-radius: 14px;
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

/* ----------------------------------------------------- */
/* FOOTER */
/* ----------------------------------------------------- */
.footer {
background: var(--brown);
color: #f6efe6;
padding: 100px 0 40px;
margin-top: 120px;
}

.footer-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 60px;
align-items: start;
}

.footer a {
display: block;
color: #f6efe6;
text-decoration: none;
margin-bottom: 10px;
white-space: normal;
word-break: break-word;
}

.footer h3,
.footer h4 {
font-family: "Cormorant Garamond", serif;
color: var(--gold);
margin-bottom: 20px;
}

.footer-bottom {
text-align: center;
margin-top: 40px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
}

/* ----------------------------------------------------- */
/* COOKIE BANNER */
/* ----------------------------------------------------- */
.cookie-banner {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: #fff;
padding: 18px 26px;
border-radius: 16px;
display: flex;
align-items: center;
gap: 18px;
z-index: 10000;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
max-width: 90%;
width: auto;
border: 1px solid #eee;
}

.cookie-banner p {
margin: 0;
color: #3f2b1f;
font-size: 15px;
line-height: 1.5;
}

.cookie-banner a {
color: var(--gold);
text-decoration: underline;
}

.cookie-banner button {
padding: 10px 22px;
border-radius: 999px;
background: var(--gold);
color: #fff;
font-weight: 500;
border: none;
cursor: pointer;
}

/* ----------------------------------------------------- */
/* LEGAL */
/* ----------------------------------------------------- */
.legal-page ul {
margin-left: 40px;
list-style-position: outside;
}

.legal-page li {
margin-bottom: 10px;
}

/* === APPICA IL TEMA DFB ANCHE ALLA HOME === */

:root {
    --df-bg:#f8f4ee !important;
    --df-text:#2e241d !important;
}

/* Corpo pagina identico a Biscuits & Trays */
body {
    background: var(--df-bg) !important;
    color: var(--df-text) !important;
    font-family:"Cormorant Garamond", Georgia, serif !important;
    -webkit-font-smoothing:antialiased !important;
    text-rendering:optimizeLegibility !important;
}

/* Header identico */
body > header {
    background: rgba(248, 244, 238, 0.95) !important; /* stessa tinta beige */
    padding: 10px 0 !important;
}

header .nav-links a {
    font-family: "Cormorant Garamond", serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
}


/* === HEADER UNIFORMATO IN TUTTO IL SITO === */
header .nav-links a {
    font-family: "Cormorant Garamond", serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

header .nav-links {
    font-family: "Cormorant Garamond", serif !important;
}


/* ----------------------------------------------------- */
/* DESKTOP RESTORE */
/* ----------------------------------------------------- */
@media (min-width: 1100px) {
.section {
padding: 140px 0 120px;
}

.footer-grid {
gap: 80px;
}
}

/* ----------------------------------------------------- */
/* RESPONSIVE */
/* ----------------------------------------------------- */
@media (max-width: 900px) {
.home-two-columns {
grid-template-columns: 1fr;
text-align: center;
}
}

@media (max-width: 768px) {
body {
padding-top: 104px;
}

.hero-image {
height: 320px;
}

.hero-inner {
padding-top: 80px;
padding-bottom: 56px;
padding-left: 24px;
padding-right: 24px;
text-align: center;
}

.site-logo {
height: 72px;
}

.hero-static,
.hero {
padding: 100px 0 80px;
}

.hero-logo {
width: 260px;
margin-bottom: 40px;
}

.hero h1 {
font-size: 40px;
line-height: 1.08;
letter-spacing: -0.02em;
max-width: 9ch;
margin: 0 auto 14px;
text-wrap: balance;
}

.hero-subtitle {
font-size: 16px;
line-height: 1.4;
max-width: 28ch;
margin: 0 auto;
text-wrap: balance;
}

.section {
padding: 60px 0;
}

.biscuit-item {
grid-template-columns: 1fr !important;
text-align: center;
gap: 20px;
}

.biscuit-item img {
width: 240px;
margin: auto;
}

.order-step {
grid-template-columns: 1fr !important;
text-align: center;
}

.order-step-media img {
max-width: 300px;
margin: auto;
}

.oven-hero img {
max-height: 300px;
}

.oven-text {
text-align: center;
padding: 0 10px;
}

.journal-card {
grid-template-columns: 1fr !important;
text-align: center;
}

.journal-card img {
max-width: 340px;
margin: auto;
}

.footer-grid {
grid-template-columns: 1fr !important;
gap: 40px;
text-align: center;
}
}

@media (max-width: 600px) {
.cookie-banner {
flex-direction: column;
text-align: center;
gap: 14px;
padding: 20px;
max-width: 92%;
}

.cookie-banner button {
width: 100%;
max-width: 260px;
}
}


/* =========================================================
   DOLCE FORNO HOME — FINAL HOMEPAGE SYSTEM
   Scoped only to .df-home so header/footer remain unchanged
   ========================================================= */

:root {
  --df-font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --df-font-sans: "Inter", Arial, Helvetica, sans-serif;

  --df-cream: #F7F3EE;
  --df-warm-beige: #E8DDD0;
  --df-soft-orange: #E8B98A;
  --df-light-brown: #D8C7B5;
  --df-light-beige: #EFE6DC;
  --df-dark-brown: #3A2E26;
  --df-border: #DCCFC2;

  --df-container: 1120px;
  --df-content: 720px;

  --df-hero-size: 56px;
  --df-section-title-size: 40px;
  --df-bridge-size: 22px;
  --df-body-size: 18px;
  --df-micro-size: 16px;
  --df-cta-size: 14px;
  --df-closing-size: 32px;

  --df-section-pad-y: 120px;
  --df-section-gap-title-text: 24px;
  --df-section-gap-text-cta: 32px;
  --df-hero-pad-top: 160px;
  --df-hero-pad-bottom: 120px;
  --df-transition: 0.3s ease;
}

.df-home {
  color: var(--df-dark-brown);
  background: var(--df-cream);
}

.df-home *,
.df-home *::before,
.df-home *::after {
  box-sizing: border-box;
}

.df-home img {
  max-width: 100%;
  display: block;
  height: auto;
}

.df-home .df-container {
  width: min(var(--df-container), calc(100% - 48px));
  margin: 0 auto;
}

.df-home .df-text-center {
  text-align: center;
}

.df-home .df-section {
  padding-top: var(--df-section-pad-y);
  padding-bottom: var(--df-section-pad-y);
}

.df-home .df-bg-cream { background: var(--df-cream); }
.df-home .df-bg-warm-beige { background: var(--df-warm-beige); }
.df-home .df-bg-soft-orange { background: var(--df-soft-orange); }
.df-home .df-bg-light-brown { background: var(--df-light-brown); }
.df-home .df-bg-light-beige { background: var(--df-light-beige); }

.df-home .df-hero-title,
.df-home .df-section-title,
.df-home .df-bridge,
.df-home .df-closing-text,
.df-home .df-card-title,
.df-home .df-journal-title,
.df-home .df-tray-name {
  font-family: var(--df-font-serif);
  color: var(--df-dark-brown);
  letter-spacing: -0.01em;
}

.df-home .df-hero-title {
  font-size: var(--df-hero-size);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 12px;
}

.df-home .df-section-title {
  font-size: var(--df-section-title-size);
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 var(--df-section-gap-title-text);
  text-align: center;
}

.df-home .df-bridge {
  font-size: var(--df-bridge-size);
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
  color: #5A473B;
  margin: 0;
}

.df-home .df-body,
.df-home .df-intro {
  font-family: var(--df-font-sans);
  font-size: var(--df-body-size);
  line-height: 1.65;
  color: var(--df-dark-brown);
  margin: 0 0 var(--df-section-gap-text-cta);
}

.df-home .df-microtext {
  font-family: var(--df-font-sans);
  font-size: var(--df-micro-size);
  line-height: 1.65;
  color: var(--df-dark-brown);
  margin: 0 0 var(--df-section-gap-text-cta);
}

.df-home .df-card-title,
.df-home .df-journal-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 400;
  margin: 14px 0 0;
}

.df-home .df-tray-name {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
}

.df-home .df-cta {
  display: inline-block;
  font-family: var(--df-font-sans);
  font-size: var(--df-cta-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--df-dark-brown);
  border: 1px solid #C7B29C;
  padding: 14px 22px;
  transition: opacity var(--df-transition), transform var(--df-transition), background-color var(--df-transition);
}

.df-home .df-cta:hover { opacity: 0.85; }

.df-home .df-closing-text {
  font-size: var(--df-closing-size);
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.df-home .df-hero {
  background: var(--df-cream);
}

.df-home .df-hero-media {
  min-height: 520px;
  overflow: hidden;
}

.df-home .df-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-home .df-hero-content {
  padding-top: var(--df-hero-pad-top);
  padding-bottom: var(--df-hero-pad-bottom);
  text-align: center;
}

.df-home .df-hero .df-bridge {
  max-width: 560px;
  margin: 0 auto;
}

.df-home .df-rule {
  height: 1px;
  width: 100%;
  background: var(--df-border);
  margin: 0 0 36px;
}

.df-home .df-biscuits-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.df-home .df-cards-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px 0 28px;
}

.df-home .df-card {
  background: rgba(255,255,255,0.42);
}

.df-home .df-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.df-home .df-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-home .df-card-body {
  padding: 0 10px 14px;
  text-align: center;
}

.df-home .df-biscuits-cta-wrap,
.df-home .df-trays-cta-wrap,
.df-home .df-values-cta-wrap,
.df-home .df-journal-cta-wrap {
  text-align: center;
}

.df-home .df-bridge-band {
  padding: 42px 0;
}

.df-home .df-bridge-band .df-bridge {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.df-home .df-trays {
  padding-top: 0;
  padding-bottom: 96px;
}

.df-home .df-trays-panel {
  background: rgba(249,245,240,0.95);
  padding: 40px 24px 42px;
}

.df-home .df-trays-micro {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.df-home .df-tray-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 24px 0 28px;
}

.df-home .df-tray-card {
  text-align: center;
}

.df-home .df-tray-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 14px;
}

.df-home .df-tray-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-home .df-tray-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.df-home .df-tray-link {
  font-family: var(--df-font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--df-dark-brown);
  text-decoration: none;
  border-bottom: 1px solid rgba(58,46,38,0.35);
  padding-bottom: 2px;
}

.df-home .df-bridge-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.df-home .df-values-copy {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.df-home .df-journal {
  text-align: center;
}

.df-home .df-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 30px;
}

.df-home .df-journal-card {
  text-align: left;
}

.df-home .df-journal-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 12px;
}

.df-home .df-journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-home .df-journal-media-link {
  text-decoration: none;
}

.df-home .df-closing {
  padding-top: 140px;
  padding-bottom: 140px;
}

@media (max-width: 1024px) {
  :root {
    --df-hero-size: 46px;
    --df-section-title-size: 34px;
    --df-bridge-size: 20px;
    --df-body-size: 17px;
  }

  .df-home .df-hero-media {
    min-height: 420px;
  }

  .df-home .df-cards-scroll {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-home .df-journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --df-hero-size: 34px;
    --df-section-title-size: 28px;
    --df-bridge-size: 18px;
    --df-body-size: 16px;
    --df-micro-size: 15px;
    --df-closing-size: 26px;
    --df-section-pad-y: 80px;
    --df-hero-pad-top: 120px;
    --df-hero-pad-bottom: 100px;
  }

  .df-home .df-container {
    width: min(var(--df-container), calc(100% - 36px));
  }

  .df-home .df-hero-media {
    min-height: 300px;
  }

  .df-home .df-hero-content {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .df-home .df-hero-title {
    font-size: 30px;
    line-height: 1.16;
    max-width: 22ch;
    margin: 0 auto 12px;
    text-align: center;
    text-wrap: normal;
	letter-spacing: -0.01em;
  }

  .df-home .df-hero .df-bridge {
    max-width: 24ch;
    font-size: 18px;
    line-height: 1.45;
    margin: 0 auto;
    text-wrap: balance;
  }

  .df-home .df-cards-scroll {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 4px;
    grid-template-columns: none;
  }

  .df-home .df-card {
    scroll-snap-align: start;
  }

  .df-home .df-tray-grid,
  .df-home .df-journal-grid {
    grid-template-columns: 1fr;
  }

  .df-home .df-trays-panel {
    padding: 28px 18px 32px;
  }

  .df-home .df-closing {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}



/* =========================================================
   ADDON_DF_VALUES_MEDIA_FULLBLEED_MOBILE_V1
   Goal: On mobile, Dolce Forno Way image must be full-bleed (edge-to-edge)
         with no side bars. We keep object-fit: cover to avoid bars.
   ========================================================= */
@media (max-width: 768px){
  /* Make the wrapper break out of the container padding */
  .df-home .df-values-media{
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  /* Ensure the image fills the full width (no bars). Crop is acceptable. */
  .df-home .df-values-media img{
    width: 100% !important;
    height: 240px !important; /* hero-ish on mobile */
    object-fit: cover !important;
    object-position: center !important;
  }
}


/* =========================================================
   ADDON_DF_HOME_CAROUSEL_DOTS_V3
   Added without modifying existing rules.
   - Restores Dolce Forno Way image styling
   - Enables horizontal Journal carousel on mobile
   - Adds dots styling for both carousels
   ========================================================= */

/* Dolce Forno Way image (desktop/tablet hero look) */
.df-home .df-values-media{
  max-width: 1120px;
  margin: 0 auto 34px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(0,0,0,0.10);
}
.df-home .df-values-media img{
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 1024px){
  .df-home .df-values-media img{ height: 420px; }
}

/* Dots */
.df-home .df-scroll-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 0;
}
.df-home .df-dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  background: rgba(58,46,38,0.22);
  cursor: pointer;
  padding: 0;
}
.df-home .df-dot.is-active{
  background: rgba(58,46,38,0.65);
}
.df-home .df-dot:focus-visible{
  outline: 2px solid rgba(184,146,69,0.65);
  outline-offset: 3px;
}

/* Journal: horizontal carousel on mobile (does not affect desktop grid) */
@media (max-width: 768px){
  .df-home .df-journal-grid{
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 14px !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-x: contain;
    padding-bottom: 6px;
  }
  .df-home .df-journal-card{
    flex: 0 0 86% !important;
    scroll-snap-align: start;
  }
}

/* Scrollbar cosmetics */
.df-home .df-cards-scroll::-webkit-scrollbar,
.df-home .df-journal-grid::-webkit-scrollbar{ height: 8px; }
.df-home .df-cards-scroll::-webkit-scrollbar-thumb,
.df-home .df-journal-grid::-webkit-scrollbar-thumb{ background: rgba(0,0,0,0.12); border-radius: 99px; }
.df-home .df-cards-scroll::-webkit-scrollbar-track,
.df-home .df-journal-grid::-webkit-scrollbar-track{ background: transparent; }


/* =========================================================
   ADDON_HEADER_TRANSPARENT_AND_DOTS_POSITION_V1
   Requirements:
   - Make header bar transparent (no background fill)
   - Move carousel dots closer to images (higher)
   Added without modifying existing rules.
   ========================================================= */

/* Header: transparent bar (keep blur if supported) */
body > header{
  background: transparent !important;
  backdrop-filter: blur(10px);
}

/* Optional: keep header readable by adding subtle text shadow on nav links */
header .nav-links a{
  text-shadow: 0 1px 10px rgba(248,244,238,0.35);
}

/* Dots: closer to the carousel/images */
.df-home .df-scroll-dots{
  margin-top: 6px !important;  /* was 14px */
}

/* If you want dots even closer on mobile */
@media (max-width: 768px){
  .df-home .df-scroll-dots{
    margin-top: 4px !important;
  }
}


/* =========================================================
   ADDON_CARDS_RADIUS_CTA_BOOST_V1
   Added without modifying existing rules.
   - Rounded corners on cards (biscuits + journal + trays)
   - Push CTAs down to avoid overlap with carousel dots
   - Make CTA buttons more visually obvious
   ========================================================= */

/* --- 1) Rounded cards --- */
.df-home .df-card,
.df-home .df-journal-card,
.df-home .df-tray-card{
  border-radius: 16px;
  overflow: hidden;
}

/* Ensure media corners match (no square media inside rounded card) */
.df-home .df-card-media,
.df-home .df-journal-media,
.df-home .df-tray-media{
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}

/* Slightly softer corners on mobile */
@media (max-width: 768px){
  .df-home .df-card,
  .df-home .df-journal-card,
  .df-home .df-tray-card{ border-radius: 14px; }

  .df-home .df-card-media,
  .df-home .df-journal-media,
  .df-home .df-tray-media{ border-top-left-radius: 14px; border-top-right-radius: 14px; }
}

/* --- 2) Move CTAs down so dots never overlap --- */
.df-home .df-biscuits-cta-wrap,
.df-home .df-journal-cta-wrap{
  margin-top: 18px !important;
}
@media (max-width: 768px){
  .df-home .df-biscuits-cta-wrap,
  .df-home .df-journal-cta-wrap{ margin-top: 22px !important; }
}

/* --- 3) CTA buttons more obvious --- */
.df-home .df-cta{
  background: var(--gold);
  color: #fff;
  border: 1px solid rgba(0,0,0,0);
  box-shadow: 0 10px 26px rgba(63,43,31,0.18);
  border-radius: 999px;
}
.df-home .df-cta:hover{
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(63,43,31,0.22);
}
.df-home .df-cta:focus-visible{
  outline: 2px solid rgba(184,146,69,0.55);
  outline-offset: 3px;
}

/* Header Order CTA more "button" */
header .cta-order{
  background: var(--gold);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(63,43,31,0.18);
}
header .cta-order:hover{
  opacity: 1;
  transform: translateY(-1px);
}

/* Make existing generic buttons a bit stronger too */
.btn,
.btn-gold{
  box-shadow: 0 10px 26px rgba(63,43,31,0.18);
}


/* =========================================================
   ADDON_MOBILE_CAROUSEL_SINGLECARD_NO_DESKTOP_DOTS_CLOSING_FIX_V1
   Added without modifying existing rules.
   Goals:
   1) Dots hidden on desktop (mobile-only dots)
   2) Mobile carousel shows 1 card per view (no "1.5 cards")
   3) Closing band refined + remove white gap before footer
   ========================================================= */

/* 1) Hide dots on desktop */
@media (min-width: 769px){
  .df-home .df-scroll-dots{ display: none !important; }
}

/* 2) One card per view on mobile */
@media (max-width: 768px){
  /* Biscuits carousel: make each card take full viewport width inside the scroller */
  .df-home .df-cards-scroll{
    grid-auto-columns: 100% !important;
  }

  /* Journal carousel: make each card take full viewport width */
  .df-home .df-journal-card{
    flex: 0 0 100% !important;
  }

  /* Optional: prevent tiny side peek caused by container padding */
  .df-home .df-cards-scroll,
  .df-home .df-journal-grid{
    scroll-padding-left: 0 !important;
  }
}

/* 3) Closing band + remove white gap above footer */
.df-home .df-closing{
  padding-top: 110px;
  padding-bottom: 110px;
}
@media (max-width: 768px){
  .df-home .df-closing{
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

/* The white band is caused by footer margin-top. Remove it for seamless transition */
footer.footer{
  margin-top: 0 !important;
}


/* =========================================================
   ADDON_MOBILE_ROUND_CARDS_CLOSING_MATCH_TRAYS_FIX_TOPBTN_V1
   Added without modifying existing rules.
   Mobile goals:
   - Cards rounded on all 4 corners
   - Closing band matches the bridge band style
   - Remove beige strip above Dolce Way image
   - Remove orange strip below "See the Trays" so next bridge starts immediately
   - Back-to-top button
   ========================================================= */

/* --- Back to top button --- */
.df-back-to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--gold);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(63,43,31,0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10001;
}
.df-back-to-top.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.df-back-to-top:focus-visible{
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 3px;
}

/* --- Mobile: rounded cards on all 4 corners --- */
@media (max-width: 768px){
  .df-home .df-card,
  .df-home .df-journal-card,
  .df-home .df-tray-card{
    border-radius: 16px !important;
    overflow: hidden;
    background: rgba(255,255,255,0.42);
  }
  .df-home .df-card-media,
  .df-home .df-journal-media,
  .df-home .df-tray-media{
    border-radius: inherit !important;
    overflow: hidden;
  }
}

/* --- Closing band matches "Stories continue beyond the kitchen..." bridge band --- */
.df-home .df-closing{
  background: var(--df-cream) !important;
  padding-top: 54px !important;
  padding-bottom: 54px !important;
}
.df-home .df-closing-text{
  font-family: var(--df-font-serif) !important;
  font-size: var(--df-bridge-size) !important;
  line-height: 1.35 !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #5A473B !important;
}

/* --- Remove beige strip above Dolce Way image (reduce top padding of the section on mobile) --- */
@media (max-width: 768px){
  .df-home .df-values{ padding-top: 0 !important; }
  .df-home .df-values-media{ margin-top: 0 !important; }
}

/* --- Remove orange strip under "See the Trays" (remove bottom padding of trays section on mobile) --- */
@media (max-width: 768px){
  .df-home .df-trays{ padding-bottom: 0 !important; }
}


/* =========================================================
   ADDON_MATCH_AROUND_OVEN_AND_UI_V2
   Added without modifying existing rules.
   - Match Around the Oven prose typography for specific Home texts
   - Elegant Top button
   - Warm-beige bridge color alignment
   - Journal cards bottom rounding visible on mobile
   - Closing text size equals "From the journal" title
   - Footer accordions styling with elegant chevron icon
   ========================================================= */

/* 1) Match Around the Oven prose typography */
.df-home .df-trays-micro,
.df-home .df-values-copy{
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1rem, 4.6vw, 1.22rem);
  line-height: 1.55;
}

/* 2) "Behind every tray..." band uses same color as warm-beige band */
.df-home .df-trays + .df-section.df-bridge-section{
  background: var(--df-warm-beige) !important;
}

/* 3) Journal cards: ensure 4-corner rounding is visible (mobile) */
@media (max-width: 768px){
  .df-home .df-journal-card{
    border-radius: 16px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.42);
    padding-bottom: 12px;
  }
  .df-home .df-journal-title{ padding: 0 12px; }
  .df-home .df-journal-media{ border-radius: 16px !important; overflow: hidden; margin-bottom: 10px; }
}

/* 4) Closing text size equals section title size */
.df-home .df-closing-text{
  font-size: var(--df-section-title-size) !important;
}

/* 5) Elegant Back-to-top button */
.df-back-to-top{
  width: 46px;
  height: 46px;
  background: rgba(184,146,69,0.92);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(63,43,31,0.22);
  color: transparent; /* hide any text */
}
.df-back-to-top::before{
  content: "⌃"; /* chevron */
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: block;
  transform: translateY(-1px);
}
.df-back-to-top:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(63,43,31,0.26);
}

/* 6) Footer accordions: mobile-only + elegant chevron */
.df-footer-acc-toggle{
  width: 100%;
  background: none;
  border: 0;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  text-align: left;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.df-footer-acc-icon{
  width: 22px;
  height: 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  background: rgba(184,146,69,0.14);
}
.df-footer-acc-icon::before{
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .25s ease;
  display: inline-block;
}
.footer-grid > div.is-open .df-footer-acc-icon::before{
  transform: rotate(-135deg);
}

.df-footer-acc-content{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.footer-grid > div.is-open .df-footer-acc-content{
  max-height: 600px;
}

@media (min-width: 769px){
  .df-footer-acc-toggle{ display: none; }
  .df-footer-acc-content{ max-height: none; overflow: visible; }
}
@media (max-width: 768px){
  .footer-grid{ gap: 24px !important; }
  .footer-grid > div{ text-align: left !important; }
}


/* ADDON_DESKTOP_ORDER_LINK_RESET_V2 */
/* Render "Order" as a normal nav link (no pill highlight) on all viewports */
header .cta-order{
  background: none !important;
  color: var(--gold) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
header .cta-order:hover{
  opacity: 0.8 !important;
  transform: none !important;
}


/* ADDON_HEADER_MOBILE_CENTER_LOGO_CART_FINAL */
@media (max-width:900px){
  header .nav{
    position:relative!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    height:80px!important;
  }
  header .hamburger{
    position:absolute!important;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    z-index:10;
  }
  header .brand{
    position:relative;
    margin:0 auto;
    z-index:5;
  }
  header .site-logo{
    transform:scale(1.9);
    transform-origin:center center!important;
  }
  header .df-cart{
    position:absolute!important;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border-radius:999px;
    background:rgba(248,244,238,0.88);
    border:1px solid rgba(184,146,69,0.35);
    display:flex!important;
    justify-content:center;
    align-items:center;
    z-index:10;
  }
  header .df-cart svg{
    width:20px;
    height:20px;
  }
}


/* ADDON_MOBILE_NAV_FROM_LEFT_GLOBAL_V1 */
@media (max-width: 900px){
  header .nav-links{
    right: auto !important;
    left: -100% !important;
  }
  header .nav-links.active{
    left: 0 !important;
    right: auto !important;
  }
}

/* =========================================================
   ADDON_MOBILE_HEADER_GLOBAL_CART_V1
   - Mobile header all pages:
     hamburger left, logo centered, cart right
   - Mobile nav drawer from LEFT
   ========================================================= */

@media (max-width: 900px){

  /* Header container: centrato, con elementi assoluti ai lati */
  header .nav{
    position:relative !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    height:80px !important;
  }

  /* Hamburger a sinistra */
  header .hamburger{
    position:absolute !important;
    left:16px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    z-index:20;
  }

  /* Brand/logo centrato (mantiene il tuo logo grande) */
  header .brand{
    position:relative !important;
    margin:0 auto !important;
    z-index:10;
  }
  header .site-logo{
    transform:scale(1.9) !important;
    transform-origin:center center !important;
  }

  /* Cart trigger a destra (creata via JS) */
  header .df-cart-trigger{
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border-radius:999px;
    border:1px solid rgba(184,146,69,0.35);
    background:rgba(248,244,238,0.92);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    cursor:pointer;
    z-index:20;
  }
  header .df-cart-trigger svg{
    width:20px;
    height:20px;
  }

  /* Nav mobile: da SINISTRA, background var(--df-cream) */
  header .nav-links{
    left:-100% !important;
    right:auto !important;
    background:var(--df-cream, #F7F3EE) !important;
  }
  header .nav-links.active{
    left:0 !important;
    right:auto !important;
  }
}

/* =========================================================
   ADDON_DF_CART_DRAWER_V1
   - Drawer carrello da sinistra (tutte le pagine)
   - Stato vuoto / Stato con prodotti
   ========================================================= */

/* Overlay scuro dietro il drawer */
.df-cart-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:10000;
}

/* Drawer carrello */
.df-cart-drawer{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  max-width:480px;
  height:100%;
  background:var(--df-cream, #F7F3EE);
  box-shadow:0 0 40px rgba(0,0,0,0.16);
  transform:translateX(-100%);
  transition:transform .25s ease;
  z-index:10001;
  display:flex;
  flex-direction:column;
}

/* Header del drawer */
.df-cart-drawer-header{
  padding:18px 20px;
  border-bottom:1px solid rgba(0,0,0,0.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:14px;
  color:#3a2e26;
}
/* Cart close button — same style as hamburger menu close */

.df-cart-drawer-close{
display:inline-flex;
align-items:center;
justify-content:center;

width:40px;
height:40px;
padding:0;

border:1px solid rgba(184,146,69,0.35);
border-radius:999px;

background:rgba(255,255,255,0.42);

color:#b89245;

font-family:"Cormorant Garamond", Georgia, serif;
font-size:28px;
line-height:1;

cursor:pointer;

appearance:none;
-webkit-appearance:none;
}

/* Corpo */
.df-cart-drawer-body{
  padding:26px 22px;
  flex:1;
  overflow-y:auto;
  font-family:Georgia, "Times New Roman", serif;
  color:#3a2e26;
}

/* Stato vuoto */
.df-cart-empty{
  text-align:center;
  margin-top:40px;
}
.df-cart-empty-title{
  font-size:18px;
  margin-bottom:40px;
}
.df-cart-empty-circle{
  width:90px;
  height:90px;
  border-radius:999px;
  margin:0 auto 18px;
  background:#f0e7dc;
  display:flex;
  align-items:center;
  justify-content:center;
}
.df-cart-empty-circle svg{
  width:26px;
  height:26px;
  opacity:.5;
}
.df-cart-empty-cta{
  font-family:"Inter", Arial, sans-serif;
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#3a2e26;
}

/* Lista prodotti */
.df-cart-items{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.df-cart-item{
  display:grid;
  grid-template-columns:80px 1fr;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,0.06);
}
.df-cart-item img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:8px;
}
.df-cart-item-title{
  font-size:16px;
  margin-bottom:4px;
}
.df-cart-item-meta{
  font-size:14px;
  opacity:.8;
}

/* Footer con summary */
.df-cart-drawer-footer{
  padding:14px 18px 18px;
  border-top:1px solid rgba(0,0,0,0.06);
}
.df-cart-summary-line{
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
  font-family:"Inter", Arial, sans-serif;
  font-size:14px;
}
.df-cart-checkout-btn{
  width:100%;
  border-radius:999px;
  border:0;
  padding:12px 18px;
  background:var(--gold);
  color:#fff;
  font-family:"Inter", Arial, sans-serif;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
}

/* Stato aperto */
body.df-cart-open .df-cart-overlay{
  opacity:1;
  pointer-events:auto;
}
body.df-cart-open .df-cart-drawer{
  transform:translateX(0);
}
body.df-cart-open{
  overflow:hidden;
}

/* ADDON_DF_CART_DRAWER_EDITABLE_STYLE */
.df-cart-item-main{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}
.df-cart-item-remove{
  background:none;
  border:0;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.df-cart-item-controls{
  display:flex;
  align-items:center;
  gap:8px;
  font-family: "Inter", Arial, sans-serif;
  font-size:14px;
}
.df-cart-qty-btn{
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid rgba(184,146,69,0.4);
  background:transparent;
  cursor:pointer;
}
.df-cart-qty{
  min-width:20px;
  text-align:center;
  font-weight:600;
}
.df-cart-item-line{
  margin-left:auto;
  font-weight:600;
}



/* FIX HEADER GOLD */
header .nav-links a,
header .cta-order{
  color: #b89245 !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

body > header{
  background: transparent !important;
  backdrop-filter: blur(10px);
}

/* ADDON_HOME_HERO_SPACING_V1 */
.df-home .df-hero-content{
  transform: translateY(-20px);
}

.df-home .df-hero-content .df-bridge{
  margin-top: 6px;
}

.df-home .df-hero-content .df-cta{
  margin-top: 18px;
}


/* FIX DESKTOP CART ICON */
@media (min-width: 901px){
  header .nav{
    position: relative !important;
  }

  header .df-cart{
    display: none !important;
  }

  header .df-cart-trigger{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin-left: 10px !important;
    border: 1px solid rgba(184,146,69,0.35) !important;
    border-radius: 999px !important;
    background: rgba(248,244,238,0.92) !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  header .df-cart-trigger svg{
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }
}

/* =========================================================
   CART ICON — UNIFIED GOLD BRAND COLOR
   Works on ALL pages
   ========================================================= */

header .df-cart-trigger{
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(184,146,69,0.35);
  background: rgba(248,244,238,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

header .df-cart-trigger svg g{
  stroke: #B89245 !important;
}

header .df-cart-trigger.is-filled svg g{
  fill: #B89245 !important;
  stroke: #B89245 !important;
}

header .df-cart-trigger.is-filled{
  background: rgba(184,146,69,0.12);
  transform: scale(1.05);
  transition: all .18s ease;
}

header svg{
  opacity: 1 !important;
  filter: none !important;
}



/* =========================================================
   CART BADGE — QUANTITY
   ========================================================= */

header .df-cart-trigger{
  position: relative !important;
}

header .df-cart-badge{
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2d231a;
  color: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}

header .df-cart-badge.is-hidden{
  display: none !important;
}




/* =========================================================
   FINAL STABLE CART SYSTEM — ICON + BADGE + BUMP V2
   ========================================================= */

header .df-cart-trigger{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  margin-left: 10px !important;
  border: 1px solid rgba(184,146,69,0.35) !important;
  border-radius: 999px !important;
  background: rgba(248,244,238,0.96) !important;
  cursor: pointer !important;
  flex: 0 0 auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 20 !important;
  transform-origin: center !important;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

header .df-cart-trigger svg{
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  overflow: visible !important;
  transform-origin: center !important;
}

header .df-cart-trigger svg g{
  stroke: #B89245 !important;
}

header .df-cart-trigger.has-items{
  background: rgba(184,146,69,0.18) !important;
  box-shadow: 0 0 0 1px rgba(184,146,69,0.12) inset !important;
}

header .df-cart-badge{
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #B89245 !important;
  color: #fff !important;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(63,43,31,0.18);
}

header .df-cart-badge.is-hidden{
  display: none !important;
}

header .df-cart-trigger.is-bump{
  animation: dfCartGlow .65s cubic-bezier(.22,1,.36,1) !important;
}

header .df-cart-trigger.is-bump svg{
  animation: dfCartIconPop .65s cubic-bezier(.22,1,.36,1) !important;
}

header .df-cart-trigger.is-bump .df-cart-badge{
  animation: dfCartBadgePop .65s cubic-bezier(.22,1,.36,1) !important;
}

@keyframes dfCartGlow{
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(184,146,69,0); }
  25%  { transform: scale(1.10); box-shadow: 0 0 0 10px rgba(184,146,69,0.22); }
  55%  { transform: scale(.97); box-shadow: 0 0 0 4px rgba(184,146,69,0.10); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(184,146,69,0); }
}

@keyframes dfCartIconPop{
  0%   { transform: scale(1); }
  25%  { transform: scale(1.34); }
  55%  { transform: scale(.90); }
  100% { transform: scale(1); }
}

@keyframes dfCartBadgePop{
  0%   { transform: scale(1); }
  25%  { transform: scale(1.22); }
  55%  { transform: scale(.94); }
  100% { transform: scale(1); }
}

.df-cart-item-remove{
  background: none !important;
  border: 0 !important;
  cursor: pointer !important;
  padding: 4px !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

.df-trash-icon{
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

.df-trash-icon g,
.df-trash-icon path,
.df-trash-icon rect{
  stroke: #2d231a !important;
  fill: none !important;
}

@media (min-width: 901px){
  header .nav{
    position: relative !important;
  }

  header .df-cart{
    display: none !important;
  }

  header .df-cart-trigger{
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
  }

  header .df-cart-trigger.is-bump{
    animation: dfCartGlow .65s cubic-bezier(.22,1,.36,1) !important;
  }
}

@media (max-width: 900px){
  header .df-cart-trigger{
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-left: 0 !important;
  }

  header .df-cart-trigger.is-bump{
    animation: dfCartGlowMobile .65s cubic-bezier(.22,1,.36,1) !important;
  }

  @keyframes dfCartGlowMobile{
    0%   { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(184,146,69,0); }
    25%  { transform: translateY(-50%) scale(1.10); box-shadow: 0 0 0 10px rgba(184,146,69,0.22); }
    55%  { transform: translateY(-50%) scale(.97); box-shadow: 0 0 0 4px rgba(184,146,69,0.10); }
    100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(184,146,69,0); }
  }
}


/* =========================================================
   HOME MOBILE MENU — EDITORIAL REFINEMENT V2
   ========================================================= */
@media (max-width: 900px){
  header .nav-links{
    width: min(78vw, 420px) !important;
    height: calc(100vh - 96px);
    top: 96px;
    padding: 84px 28px 26px !important;
    gap: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: rgba(248, 244, 238, 0.98) !important;
    box-shadow: 18px 0 42px rgba(46,36,29,0.08) !important;
    border-right: 1px solid rgba(46,36,29,0.08);
  }

  header .nav-links a{
    display: block;
    width: 100%;
    padding: 20px 0 18px !important;
    margin: 0 !important;
    text-align: left !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    color: #3a2e26 !important;
    text-shadow: none !important;
    border-bottom: 1px solid rgba(46,36,29,0.10);
  }

  header .nav-links a:first-of-type{
    border-top: 1px solid rgba(46,36,29,0.10);
  }

  header .nav-links a[aria-current="page"]{
    color: var(--gold) !important;
  }

  .menu-close{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 1px solid rgba(184,146,69,0.28);
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    color: var(--gold);
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 6;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
  }

  .menu-close:hover,
  .menu-close:active{
    transform: scale(0.98);
    background: rgba(255,255,255,0.62);
    border-color: rgba(184,146,69,0.42);
  }

  .menu-overlay{
    background: rgba(46,36,29,0.16) !important;
    backdrop-filter: blur(2px);
  }
}



/* =========================================================
   GLOBAL MENU CLOSE — FINAL CONSISTENT BEHAVIOR
   Hide close button everywhere unless mobile menu is active
   ========================================================= */

.menu-close{
  display: none !important;
}

@media (max-width: 900px){
  #primary-nav.active .menu-close,
  .nav-links.active .menu-close{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 1px solid rgba(184,146,69,0.28);
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    color: #b89245;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 10000;
    appearance: none !important;
    -webkit-appearance: none !important;
  }
}



/* =========================================================
   HOME CART ICON + BADGE — FINAL FIX
   Ensures Home shows cart trigger and updated item badge
   ========================================================= */
header .df-cart-trigger{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
header .df-cart-trigger svg{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
}
header .df-cart-badge{
  opacity:1 !important;
  visibility:visible !important;
  z-index:30 !important;
}
header .df-cart-badge.is-hidden{
  display:none !important;
}
@media (max-width: 900px){
  header .df-cart-trigger{
    position:absolute !important;
    right:16px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    margin-left:0 !important;
    z-index:30 !important;
  }
}
@media (min-width: 901px){
  header .df-cart-trigger{
    position:relative !important;
    right:auto !important;
    top:auto !important;
    transform:none !important;
    z-index:30 !important;
  }
}


/* =========================================================
   HOME REFINEMENT — LATEST DIRECTIVES
   ========================================================= */

/* SEO-facing homepage layout refinements */
.df-home .df-hero-media{
  position: relative;
  min-height: 70vh !important;
  max-height: 80vh;
}
.df-home .df-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.08);
  pointer-events:none;
}
.df-home .df-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.df-home .df-hero-content{
  padding-top: 12px !important;
  padding-bottom: 40px !important;
}

.df-home .df-hero-title{
  font-size: 42px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

.df-home .df-hero .df-bridge{
  font-size: 18px !important;
  line-height: 1.5 !important;
  color: #6B5E54 !important;
  max-width: 520px !important;
  margin: 12px auto 0 !important;
}

.df-home .df-hero .df-cta{
  margin-top: 20px !important;
}

.df-home .df-cta{
  padding: 16px 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  background-color: #C9972B !important;
  color: #fff !important;
  min-width: auto;
}
.df-home .df-cta:hover{
  transform: translateY(-1px);
}

.df-home .df-bridge-band{
  background-color: #E8DCCF !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.df-home .df-bridge-band .df-bridge{
  font-size: 20px !important;
  font-style: italic !important;
  line-height: 1.6 !important;
  letter-spacing: 0.2px !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Trays section adjustments */
.df-home .df-trays{
  background: transparent !important;
  padding-top: 40px !important;
  padding-bottom: 48px !important;
}
.df-home .df-trays-panel{
  background: transparent !important;
  padding: 0 !important;
}
.df-home .df-trays-micro{
  max-width: 520px !important;
  margin: 0 auto !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.df-home .df-tray-grid{
  margin-top: 24px !important;
}
.df-home .df-tray-card{
  max-width: 520px;
  margin: 0 auto;
}
.df-home .df-tray-media{
  border-radius: 16px !important;
  margin-top: 24px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08) !important;
}
.df-home .df-tray-name{
  font-size: 26px;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 12px;
}
.df-home .df-trays-cta-wrap{
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

/* Dolce Forno Way section */
.df-home .df-values{
  background-color: #E3A008 !important;
  color: #FFF8E8 !important;
  padding-top: 48px !important;
  padding-bottom: 56px !important;
  margin-top: 64px !important;
}
.df-home .df-values-media{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.df-home .df-values-media img{
  width: 100% !important;
  height: 45vh !important;
  object-fit: cover !important;
  border-bottom-left-radius: 24px !important;
  border-bottom-right-radius: 24px !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
.df-home .df-values .df-section-title,
.df-home .df-values .df-body,
.df-home .df-values .df-cta{
  color: #FFF8E8 !important;
}
.df-home .df-values .df-section-title{
  font-size: 30px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
  margin-top: 48px !important;
  margin-bottom: 24px !important;
}
.df-home .df-values-copy{
  font-size: 17px !important;
  line-height: 1.7 !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.df-home .df-values .df-cta{
  border-color: rgba(255,248,232,0.4) !important;
}

/* middle bridge after values */
.df-home .df-section.df-bridge-section{
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.df-home .df-section.df-bridge-section .df-bridge{
  font-size: 19px !important;
  line-height: 1.6 !important;
  font-style: italic !important;
  text-align: center !important;
  max-width: 320px !important;
  margin: 0 auto !important;
}

/* Journal */
.df-home .df-journal .df-section-title{
  font-size: 30px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.4px !important;
  font-weight: 500 !important;
  text-align: center !important;
  margin-bottom: 28px !important;
}
.df-home .df-journal-card{
  max-width: 520px !important;
  margin: 0 auto 32px auto !important;
}
.df-home .df-journal-title{
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.2px !important;
  font-weight: 500 !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
.df-home .df-dot{
  width: 8px !important;
  height: 8px !important;
  margin: 0 6px !important;
}
.df-home .df-journal-cta-wrap .df-cta{
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  padding: 14px 26px !important;
  min-width: 200px !important;
  margin-top: 24px !important;
  margin-bottom: 56px !important;
}

/* Closing */
.df-home .df-closing{
  background-color: #F8F6F2 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.df-home .df-closing-text{
  font-size: 22px !important;
  line-height: 1.5 !important;
  font-style: italic !important;
  max-width: 420px !important;
  margin: 64px auto 80px auto !important;
  color: var(--df-dark-brown) !important;
}

/* spacing between sections */
.df-home .df-section,
.df-home .df-bridge-band,
.df-home .df-trays{
  margin-top: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px){
  .df-home .df-hero-media{
    min-height: 60vh !important;
    max-height: 65vh;
  }
  .df-home .df-hero-title{
    font-size: 28px !important;
  }
  .df-home .df-hero .df-bridge{
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  .df-home .df-bridge-band .df-bridge{
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
  .df-home .df-trays-micro{
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
  .df-home .df-tray-name{
    font-size: 26px !important;
    font-weight: 500 !important;
  }
  .df-home .df-values .df-section-title{
    font-size: 30px !important;
  }
}



/* =========================================================
   HERO FINAL FIX — REMOVE GAP + TRUE TWO-LINE TITLE
   ========================================================= */

/* Remove visual gap between image and title */
.df-home .df-hero-content{
  padding-top: 8px !important;
  margin-top: 0 !important;
  transform: none !important;
  background: var(--df-cream) !important;
}

/* Ensure image touches content visually */
.df-home .df-hero-media{
  margin-bottom: 0 !important;
}

/* Title exactly two logical lines:
   break after Dolce Forno, no width constraint */
.df-home .df-hero-title{
  font-size: 30px !important;
  line-height: 1.18 !important;
  letter-spacing: -0.01em !important;
  max-width: none !important;
  margin: 0 auto 10px !important;
  text-align: center !important;
}

/* Subtitle slightly larger and darker */
.df-home .df-hero .df-bridge{
  font-size: 18px !important;
  line-height: 1.45 !important;
  color: #4f4137 !important;
  margin: 0 auto !important;
}

@media (max-width: 768px){
  .df-home .df-hero-content{
    padding-top: 6px !important;
  }

  .df-home .df-hero-title{
    font-size: 30px !important;
    line-height: 1.18 !important;
    max-width: none !important;
    margin: 0 auto 10px !important;
  }

  .df-home .df-hero .df-bridge{
    font-size: 18px !important;
    line-height: 1.45 !important;
    color: #4f4137 !important;
  }
}

/* =========================================================
MOBILE HERO — REMOVE GAP UNDER IMAGE (FINAL)
========================================================= */

@media (max-width: 768px){

/* Remove any spacing from hero wrapper */
.df-home .df-hero{
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}

/* Ensure image container has no gap */
.df-home .df-hero-media{
margin-bottom: 0 !important;
padding-bottom: 0 !important;
line-height: 0 !important;
}

/* Remove spacing from content block */
.df-home .df-hero-content{
margin-top: 0 !important;
padding-top: 8px !important;
}

/* Safety: remove spacing from image itself */
.df-home .df-hero-media img{
display: block !important;
margin-bottom: 0 !important;
}

}



/* =========================================================
   MOBILE HERO — DEFINITIVE GAP + TITLE FIX
   Reason: the gray band was caused by min-height on .df-hero-media
   without a real height, so the image did not fill the container.
   ========================================================= */
@media (max-width: 768px){

  /* Make the hero image container a real fixed-height block */
  .df-home .df-hero-media{
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  /* Force the image to fully fill the container */
  .df-home .df-hero-media img{
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
  }

  /* Remove any leftover spacing from the hero wrapper */
  .df-home .df-hero{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Bring title immediately under image */
  .df-home .df-hero-content{
    padding-top: 12px !important;
    padding-bottom: 24px !important;
    margin-top: 0 !important;
    transform: none !important;
    background: var(--df-cream) !important;
  }

  /* Keep line break after Dolce Forno and make title fit in two rows */
  .df-home .df-hero-title{
    font-size: 24px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.02em !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 8px !important;
    margin: 0 auto 10px !important;
    text-align: center !important;
  }

  /* Slightly bigger + darker subtitle */
  .df-home .df-hero .df-bridge{
    font-size: 19px !important;
    line-height: 1.42 !important;
    color: #463930 !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .df-home .df-hero .df-cta{
    margin-top: 18px !important;
  }
}



/* =========================================================
   MOBILE HOME — BISCUITS SECTION SPACING REFINEMENT
   - reduce gap between previous CTA and "The Biscuits"
   - remove horizontal rule on mobile
   ========================================================= */
@media (max-width: 768px){

  /* tighten top spacing of first section after hero */
  .df-home .df-section.df-bg-cream:first-of-type{
    margin-top: 0 !important;
    padding-top: 28px !important;
  }

  /* remove the drawn horizontal line */
  .df-home .df-rule{
    display: none !important;
    margin: 0 !important;
    height: 0 !important;
  }

  /* reduce distance between CTA above and title */
  .df-home .df-section.df-bg-cream:first-of-type .df-section-title{
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }

  /* slightly tighten hero bottom so transition feels cleaner */
  .df-home .df-hero-content{
    padding-bottom: 18px !important;
  }
}

/* =========================================================
MOBILE — VALUES IMAGE FULL HERO (NO CROP)
Goal: behave like hero image, not cropped
========================================================= */
@media (max-width: 768px){

/* container full-bleed */
.df-home .df-values-media{
width: 100vw !important;
max-width: 100vw !important;

margin-left: calc(50% - 50vw) !important;
margin-right: calc(50% - 50vw) !important;

border-radius: 0 !important;
box-shadow: none !important;
overflow: visible !important;
}

/* image: natural height, no crop */
.df-home .df-values-media img{
width: 100% !important;
height: auto !important; /* CRITICO */
object-fit: contain !important; /* evita crop */
display: block !important;

border-radius: 0 !important;
}

}

/* =========================================================
FIX — IMAGE MUST START IMMEDIATELY AFTER BEIGE BAND
Remove white and orange strips before Dolce Forno Way image
========================================================= */

/* Remove spacing from the bridge before the image */
.df-home .df-section.df-bridge-section{
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}

/* Remove spacing above the values section */
.df-home .df-values{
margin-top: 0 !important;
padding-top: 0 !important;
}

/* Ensure image touches the beige band */
.df-home .df-values-media{
margin-top: 0 !important;
}

/* =========================================================
HERO TITLE — BIGGER + MORE SPACE FROM IMAGE
========================================================= */

.df-home .df-hero-content{
padding-top: 28px !important; /* spazio tra immagine e titolo */
}

.df-home .df-hero-title{
font-size: 34px !important; /* titolo più grande */
line-height: 1.18 !important;
letter-spacing: -0.02em !important;
margin-bottom: 14px !important;
}

/* Mobile refinement */
@media (max-width: 768px){

.df-home .df-hero-content{
padding-top: 32px !important; /* più respiro sotto immagine */
}

.df-home .df-hero-title{
font-size: 32px !important; /* dimensione elegante mobile */
line-height: 1.18 !important;
}

}

/* =========================================================
BISCUITS — REMOVE TITLE SPACE + PULL CARDS UP
========================================================= */

/* Remove top spacing of the first section after hero */
.df-home .df-section.df-bg-cream:first-of-type{
padding-top: 12px !important;
margin-top: 0 !important;
}

/* Pull cards closer to CTA */
.df-home .df-cards-scroll{
margin-top: 8px !important;
}

/* =========================================================
BISCUITS — ULTRA TIGHT SPACING AFTER HERO CTA
========================================================= */

/* Riduce lo spazio sotto il blocco hero */
.df-home .df-hero-content{
padding-bottom: 8px !important;
}

/* Riduce lo spazio sopra la prima sezione */
.df-home .df-section.df-bg-cream:first-of-type{
padding-top: 0 !important;
margin-top: 0 !important;
}

/* Riduce lo spazio sopra le cards */
.df-home .df-cards-scroll{
margin-top: 0 !important;
}

/* Riduce eventuale spazio sotto CTA */
.df-home .df-biscuits-cta-wrap{
margin-bottom: 6px !important;
}

/* =========================================================
BRIDGE TEXT — BIGGER FONT + ALWAYS ONE LINE
========================================================= */

.df-home .df-bridge-band .df-bridge{

font-size: 22px !important; /* più grande */
line-height: 1.4 !important;

white-space: nowrap !important; /* sempre su una linea */
text-align: center;

}

/* Mobile: leggermente più piccolo per sicurezza */
@media (max-width: 768px){

.df-home .df-bridge-band .df-bridge{

font-size: 20px !important;
white-space: nowrap !important;

}

}

/* =========================================================
BRIDGE TEXT — BIGGER BUT ALWAYS FITS SCREEN
========================================================= */

.df-home .df-bridge-band .df-bridge{

font-size: clamp(18px, 4.8vw, 26px);
line-height: 1.4;

white-space: nowrap;
text-align: center;

max-width: 100%;
overflow: hidden;

}

/* =========================================================
BRIDGE TEXT — SAFE SINGLE LINE WITHOUT CUTTING
========================================================= */

.df-home .df-bridge-band .df-bridge{

font-size: clamp(18px, 5vw, 26px);
line-height: 1.4;

white-space: normal !important; /* permette adattamento */
text-align: center;

max-width: 100%;
padding-left: 16px;
padding-right: 16px;

}

/* =========================================================
   SELECTION NARRATIVE BRIDGE
   Replaces the simple bridge block with a stronger narrative section
   ========================================================= */
.df-home .df-selection-bridge{
  background: #E0D0BE !important;
  padding: 40px 20px !important;
  margin: 24px 0 !important;
  text-align: center;
}

.df-home .df-selection-kicker{
  font-family: var(--df-font-sans) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #6a5748 !important;
  margin: 0 0 16px 0 !important;
}

.df-home .df-selection-bridge-text{
  font-family: var(--df-font-serif) !important;
  font-size: 36px !important;
  line-height: 1.08 !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  color: #4f4137 !important;
  margin: 0 !important;
}

.df-home .df-selection-intro{
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
  color: #5A473B !important;
  max-width: 760px !important;
  margin: 24px auto 0 auto !important;
}

@media (max-width: 768px){
  .df-home .df-selection-bridge{
    padding: 40px 20px !important;
  }

  .df-home .df-selection-bridge-text{
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  .df-home .df-selection-intro{
    font-size: 18px !important;
    line-height: 1.6 !important;
    max-width: 32ch !important;
    margin-top: 24px !important;
  }
}

/* =========================================================
MOBILE — BEHIND EVERY TRAY BRIDGE FIX
========================================================= */
@media (max-width: 768px){

.df-home .df-section.df-bridge-section{
padding-top: 36px !important;
padding-bottom: 36px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
background: var(--df-warm-beige) !important;
}

.df-home .df-section.df-bridge-section .df-container{
width: min(var(--df-container), calc(100% - 32px)) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}

.df-home .df-section.df-bridge-section .df-bridge{
font-size: 28px !important;
line-height: 1.16 !important;
text-align: center !important;
max-width: 18ch !important;
margin: 0 auto !important;
padding: 0 !important;
color: #5a473b !important;
}
}

/* VALUES SECTION — better CTA vertical balance */
@media (max-width: 768px){

.df-home .df-values{
display: flex;
flex-direction: column;
justify-content: space-between;
padding-top: 40px !important;
padding-bottom: 44px !important;
}

.df-home .df-values-copy{
margin-bottom: 0 !important;
}

.df-home .df-values-cta-wrap{
margin-top: 28px !important;
margin-bottom: 0 !important;
display: flex;
justify-content: center;
}

}



/* Remove white bars around Stories continue */
@media (max-width: 768px){

.df-home .df-section.df-bridge-section{
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 34px !important;
padding-bottom: 34px !important;
}

.df-home .df-values{
margin-bottom: 0 !important;
}

.df-home .df-journal{
margin-top: 0 !important;
}

}

/* Remove orange strip above image — mobile */
@media (max-width: 768px){

.df-home .df-values{
padding-top: 0 !important;
margin-top: 0 !important;
}

.df-home .df-values-media{
margin-top: 0 !important;
}

}

/* =========================================================
TRAY CARDS — title overlay on image (mobile)
========================================================= */
@media (max-width: 768px){

/* Card container */
.df-home .df-tray-card{
position: relative;
overflow: hidden;
padding-bottom: 0 !important;
}

/* Image container */
.df-home .df-tray-media{
position: relative;
margin-bottom: 0 !important;
}

/* Soft gradient overlay for readability */
.df-home .df-tray-media::after{
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(0,0,0,0.35),
rgba(0,0,0,0.05)
);
pointer-events: none;
}

/* Title on image */
.df-home .df-tray-name{
position: absolute;
bottom: 18px;
left: 18px;
right: 18px;

margin: 0 !important;

color: #ffffff !important;
font-size: 24px !important;
line-height: 1.15 !important;

z-index: 2;
}

}

/* =========================================================
TRAY CARDS — stronger title visibility inside biscuits
========================================================= */
@media (max-width: 768px){

.df-home .df-tray-card{
position: relative;
overflow: hidden;
}

.df-home .df-tray-media{
position: relative;
}

/* Gradient più forte per contrasto */
.df-home .df-tray-media::after{
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(0,0,0,0.55) 0%,
rgba(0,0,0,0.25) 40%,
rgba(0,0,0,0.05) 70%
);
pointer-events: none;
}

/* Titolo dentro i biscotti */
.df-home .df-tray-name{
position: absolute;

bottom: 28px; /* più dentro l'immagine */
left: 20px;
right: 20px;

margin: 0 !important;

color: #ffffff !important;

font-weight: 600 !important; /* grassetto elegante */
font-size: 26px !important;
line-height: 1.1 !important;

text-align: center;

z-index: 2;

/* Ombra per leggibilità */
text-shadow:
0 2px 8px rgba(0,0,0,0.45),
0 1px 2px rgba(0,0,0,0.35);
}

}

/* =========================================================
TRAY CARDS — center titles inside cards
========================================================= */
@media (max-width: 768px){

.df-home .df-tray-card{
position: relative;
overflow: hidden;
}

/* Manteniamo il gradient per leggibilità */
.df-home .df-tray-media::after{
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(0,0,0,0.45),
rgba(0,0,0,0.15)
);
pointer-events: none;
}

/* Titolo centrato nella card */
.df-home .df-tray-name{
position: absolute;

bottom: 50%;
transform: translateY(50%);

left: 0;
right: 0;

margin: 0;

text-align: center;

color: #ffffff;

font-weight: 600; /* leggero grassetto */
font-size: 28px;
line-height: 1.15;

z-index: 2;

text-shadow:
0 2px 8px rgba(0,0,0,0.4),
0 1px 2px rgba(0,0,0,0.3);
}

}
