/* Approved brand direction: complete catalogues, natural product photography,
   warm paper surfaces. Scoped to the category pages; no application styles. */
body.brand-site main.brand-category-page {
  --category-paper: #f8f4ed;
  --category-panel: #efe5d7;
  --category-ink: #352b23;
  --category-muted: #736452;
  --category-line: #daccb7;
  --category-amber: #8a512d;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  color: var(--category-ink);
}
body.brand-site .brand-category-page :is(h1,h2,h3),
body.brand-site .brand-category-page :is(h1,h2,h3) em {
  font-family: "Guadagni Serif",Georgia, 'Times New Roman', serif !important;
  font-weight: 400 !important;
  letter-spacing: -.035em !important;
  color: var(--category-ink);
}
body.brand-site .brand-category-page > .section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px 48px;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.brand-site .brand-category-page .brand-category-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 28px 48px;
  padding-block: 28px 45px;
  border: 0;
  background: transparent !important;
  isolation: auto;
  overflow: visible;
}
body.brand-site .brand-category-page .brand-category-hero > .category-tools {
  grid-column: 1 / -1;
  margin: 0;
  gap: 16px;
}
body.brand-site .brand-category-copy { min-width: 0; }
body.brand-site .brand-category-copy .category-title {
  display: block;
  margin: 0;
  min-height: 0;
}
body.brand-site .brand-category-copy .category-title > .crystal-icon { display: none; }
body.brand-site .brand-category-copy .category-title > div { max-width: 560px; }
body.brand-site .brand-category-page .brand-category-hero h1 {
  font-size: clamp(42px,4.8vw,62px);
  line-height: 1.06;
  margin: 14px 0 24px;
  max-width: 620px;
}
body.brand-site .brand-category-page .brand-category-hero h1 em { font-style: normal !important; }
body.brand-site .brand-category-page .eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--category-amber);
  margin: 0 0 12px;
  padding: 0;
}
body.brand-site .brand-category-page .brand-category-hero :is(.category-intro,p:not(.eyebrow):not(.cocoa-lead)) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--category-muted);
  margin: 0;
  max-width: 520px;
}
body.brand-site .brand-category-page .brand-category-hero .cocoa-lead {
  font-size: 25px;
  line-height: 1.3;
  margin: 0 0 20px;
}
body.brand-site .brand-category-page .brand-category-hero .back-link {
  font-size: 12px;
  line-height: 1.4;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--category-muted);
  gap: 9px;
  margin: 0 0 16px;
}
body.brand-site .brand-category-hero > .category-tools .back-link { margin: 0; }
body.brand-site .brand-category-page .brand-category-visual,
body.brand-site .brand-category-page .brand-category-hero > figure {
  margin: 0;
  width: 100%;
  min-width: 0;
}
body.brand-site .brand-category-page .brand-category-visual img,
body.brand-site .brand-category-page .brand-category-hero .cocoa-hero-photo {
  display: block;
  width: 100%;
  height: 420px;
  max-height: none;
  object-fit: contain;
  aspect-ratio: auto;
  background: var(--category-panel);
  border: 0;
  border-radius: 110px 8px 8px 8px;
  box-shadow: none;
  padding: 0;
  filter: none;
}
body.brand-site .brand-category-page .breakfast-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 16px;
}
body.brand-site .brand-category-page .text-link {
  font-size: 14px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 18px;
  color: var(--category-amber);
  border-bottom: 1px solid var(--category-line);
}
body.brand-site .brand-category-page .breakfast-links .text-link { margin: 0; }
body.brand-site .brand-category-page .torte-subcategory {
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.brand-site .brand-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  padding: 14px 48px;
  border-block: 1px solid var(--category-line);
  background: transparent;
}
body.brand-site .brand-category-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.4;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--category-muted);
  background: none;
  box-shadow: none;
}
body.brand-site .brand-category-nav a[aria-current="page"],
body.brand-site .brand-category-nav a[data-category-parent] {
  color: var(--category-amber);
  border-bottom-color: var(--category-amber);
}
body.brand-site .brand-category-nav a:focus-visible { outline: 2px solid var(--category-amber); outline-offset: 4px; }
body.brand-site .brand-category-page .food-heading { display: flex; padding: 0; margin-bottom: 26px; align-items: flex-end; }
body.brand-site .brand-category-page h2 { font-size: clamp(30px,3.2vw,43px); line-height: 1.14; }
body.brand-site .brand-category-page .food-heading p { font-size: 14px; color: var(--category-muted); line-height: 1.65; }
body.brand-site .brand-category-page .food-heading .reel-controls { display: none; }
body.brand-site .brand-category-page .food-collection .food-reel {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: start;
  gap: 32px 24px;
  overflow: visible;
  padding: 0;
  margin: 0;
  border: 0;
  scroll-snap-type: none;
}
body.brand-site .brand-category-page .food-reel > figure.real-food {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: none;
  background: none;
}
body.brand-site .brand-category-page .food-reel figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 7px;
  border: 0;
  padding: 0;
  box-shadow: none;
  background: var(--category-panel);
  transform: none;
}
body.brand-site .brand-category-page .photo-open {
  width: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  position: relative;
  cursor: zoom-in;
}
body.brand-site .brand-category-page .photo-open:after {
  content: '+';
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--category-line);
  border-radius: 50%;
  background: #fffdf9ed;
  color: var(--category-amber);
  font: 21px/1 Arial,sans-serif;
  pointer-events: none;
}
body.brand-site .brand-category-page .real-food figcaption {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  padding: 15px 2px 0;
  color: var(--category-ink);
  overflow-wrap: anywhere;
}
body.brand-site .brand-category-page .cocoa-product-name { font-size: 17px; }
body.brand-site .brand-category-page .cocoa-product-description { font-size: 13px; line-height: 1.65; color: var(--category-muted); }
body.brand-site .brand-category-page :is(.food-feature,.food-panorama,.aperitivo-setting,.cocoa-drink) {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 48px;
  border: 0;
  background: var(--category-panel);
}
body.brand-site .brand-category-page :is(.food-feature,.food-panorama,.aperitivo-setting) img {
  display: block;
  width: 100%;
  height: 410px;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  padding: 0;
  background: transparent;
}
body.brand-site .brand-category-page :is(.food-feature,.food-panorama,.aperitivo-setting) p:not(.eyebrow) { color: var(--category-muted); line-height: 1.75; }
body.brand-site .brand-category-page .aperitivo-copy { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.brand-site .brand-category-page :is(.torte-intro,.torte-next,.cocoa-bridge,.category-bridge) { background: var(--category-panel); border: 0; }
body.brand-site .brand-category-page .torte-intro { position: relative; padding-right: 290px; }
body.brand-site .brand-category-page .torte-intro:after { content: ''; position: absolute; right: 48px; top: 30px; bottom: 30px; width: 190px; background: url('assets/icone-realistiche-v2/atelier-640.webp') center / contain no-repeat; pointer-events: none; }
body.brand-site .brand-category-page .torte-intro p:not(.eyebrow) { max-width: 660px; margin-top: 16px; }
body.brand-site .brand-category-page .sunday-grid { background: none; border: 0; border-radius: 0; padding: 22px 0 0; }
body.brand-site .brand-category-page .sunday-grid article { padding: 0 25px; }
body.brand-site .brand-category-page .sunday-grid article:first-child { padding-left: 0; }
body.brand-site .brand-category-page .visit-ribbon { background: #352b23 !important; gap: 30px; }
body.brand-site .brand-category-page .visit-ribbon p { color: #f8f4ed; }
body.brand-site .brand-category-page .visit-ribbon .eyebrow { color: #dbaf7b; }
body.brand-site .brand-category-page .world-navigation { border-top: 1px solid var(--category-line); }
body.brand-site .brand-category-page .world-navigation nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
body.brand-site .brand-category-page .world-navigation nav a {
  font-size: 13px;
  padding: 8px 0;
  min-height: 44px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--category-muted) !important;
}
body.brand-site .brand-category-page .world-navigation nav a[aria-current="page"] { color: var(--category-amber) !important; text-decoration: underline; text-underline-offset: 7px; }
body.brand-site .brand-category-page .world-navigation nav a:after { display: none; }
@media (max-width:1000px) {
  body.brand-site .brand-category-page > .section { padding: 36px 30px; }
  body.brand-site .brand-category-page .brand-category-hero { gap: 24px 30px; }
  body.brand-site .brand-category-page .brand-category-hero h1 { font-size: 48px; }
  body.brand-site .brand-category-nav { padding: 12px 30px; gap: 8px 24px; }
  body.brand-site .brand-category-page .food-collection .food-reel { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 20px; }
  body.brand-site .brand-category-page .brand-category-visual img,
  body.brand-site .brand-category-page .brand-category-hero .cocoa-hero-photo { height: 360px; }
  body.brand-site .brand-category-page :is(.food-feature,.food-panorama,.aperitivo-setting,.cocoa-drink) { gap: 30px; }
}
@media (max-width:760px) {
  body.brand-site .brand-category-page .brand-category-hero { grid-template-columns: 1fr; }
  body.brand-site .brand-category-page .brand-category-hero > .category-tools { grid-column: auto; }
  body.brand-site .brand-category-page .brand-category-visual img,
  body.brand-site .brand-category-page .brand-category-hero .cocoa-hero-photo { height: min(400px,90vw); border-radius: 90px 6px 6px 6px; }
  body.brand-site .brand-category-page .food-collection .food-reel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.brand-site .brand-category-page :is(.food-feature,.food-panorama,.aperitivo-setting,.cocoa-drink) { grid-template-columns: 1fr; gap: 28px; }
  body.brand-site .brand-category-page :is(.food-feature,.food-panorama,.aperitivo-setting) img { height: auto; max-height: 430px; }
  body.brand-site .brand-category-page .torte-intro { padding-right: 150px; }
  body.brand-site .brand-category-page .torte-intro:after { width: 110px; right: 20px; }
  body.brand-site .brand-category-page .cocoa-drink img { max-width: 240px; }
  body.brand-site .brand-category-page .sunday-grid { grid-template-columns: 1fr; }
  body.brand-site .brand-category-page .sunday-grid article { padding: 20px 0; border-left: 0; }
}
@media (max-width:600px) {
  body.brand-site .brand-category-page > .section { padding: 32px 22px; }
  body.brand-site .brand-category-page .brand-category-hero { padding-block: 18px 30px; gap: 23px; }
  body.brand-site .brand-category-page .brand-category-hero h1 { font-size: clamp(37px,10.8vw,45px); line-height: 1.08; margin: 14px 0 19px; }
  body.brand-site .brand-category-page .brand-category-hero :is(.category-intro,p:not(.eyebrow):not(.cocoa-lead)) { font-size: 15px; line-height: 1.7; }
  body.brand-site .brand-category-page .brand-category-hero .back-link { font-size: 11px; margin: 0; }
  body.brand-site .brand-category-page .brand-category-hero .category-tools .page-share { max-width: none; }
  body.brand-site .brand-category-page .brand-category-hero .category-tools .page-share .button { font-size: 12px; padding: 9px 12px; }
  body.brand-site .brand-category-page .brand-category-hero .eyebrow { font-size: 10px; }
  body.brand-site .brand-category-page .brand-category-visual img,
  body.brand-site .brand-category-page .brand-category-hero .cocoa-hero-photo { height: min(320px,90vw); }
  body.brand-site .brand-category-nav { padding: 10px 22px; gap: 0 21px; }
  body.brand-site .brand-category-nav a { font-size: 12px; }
  body.brand-site .brand-category-page h2 { font-size: 31px; }
  body.brand-site .brand-category-page .food-heading { margin-bottom: 22px; }
  body.brand-site .brand-category-page .food-heading p { font-size: 13px; }
  body.brand-site .brand-category-page .food-collection .food-reel { gap: 22px 15px; }
  body.brand-site .brand-category-page .food-reel.mobile-collapsed > figure:nth-of-type(n+5) { display: none; }
  body.brand-site .brand-category-page .real-food figcaption { font-size: 12px; line-height: 1.55; padding-top: 12px; }
  body.brand-site .brand-category-page .photo-open:after { width: 28px; height: 28px; bottom: 7px; right: 7px; font-size: 18px; }
  body.brand-site .brand-category-page .cocoa-product-name { font-size: 15px; line-height: 1.4; }
  body.brand-site .brand-category-page .cocoa-product-description { font-size: 12px; line-height: 1.6; }
  body.brand-site .brand-category-page .reel-more {
    width: 100%; min-height: 48px; margin-top: 25px; padding: 12px 16px;
    font-size: 13px; color: var(--category-amber); border: 1px solid var(--category-line);
    border-radius: 5px; background: transparent; box-shadow: none; text-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body.brand-site .brand-category-page .torte-intro { padding-right: 22px; padding-top: 25px; }
  body.brand-site .brand-category-page .torte-intro:after { display: none; }
  body.brand-site .brand-category-page .category-bridge,
  body.brand-site .brand-category-page .cocoa-bridge { display: grid; grid-template-columns: 1fr; gap: 20px; }
  body.brand-site .brand-category-page .visit-ribbon { display: block; }
  body.brand-site .brand-category-page .visit-ribbon .button { white-space: normal; margin-top: 22px; }
  body.brand-site .brand-category-page .world-navigation nav { gap: 0 20px; }
  body.brand-site .brand-category-page .world-navigation nav a { font-size: 12px; }
}
