/* Tipografia sem requisições a terceiros; fontes locais de sistema são usadas como fallback. */

:root {
  color-scheme: light;
  --ink: #251810;
  --ink-soft: #59483d;
  --cream: #faf7f0;
  --paper: #fffdf8;
  --gold: #d4a52c;
  --gold-light: #f3df9d;
  --tomato: #9d3d1d;
  --muted: #887b70;
  --line: #e8e0d3;
  --shadow: 0 18px 50px rgba(50, 30, 18, .12);
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.prototype-banner {
  min-height: 36px;
  padding: 7px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #f6ebd7;
  background: #28170f;
  font-size: 11px;
  letter-spacing: .02em;
}
.prototype-badge {
  padding: 4px 8px;
  border-radius: 3px;
  color: #24170e;
  background: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}
.prototype-banner a { margin-left: 8px; color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-header {
  position: relative;
  z-index: 2;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: var(--paper);
  border-bottom: 1px solid rgba(37, 24, 16, .08);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-size: 21px; letter-spacing: -.04em; }
.brand-name strong { font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: 36px; }
.desktop-nav a { color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 600; }
.desktop-nav a:hover { color: var(--tomato); }
.header-cta, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 4px; text-decoration: none; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.header-cta { padding: 13px 16px; color: #fff8ec; background: var(--tomato); }
.header-cta:hover, .primary-button:hover { transform: translateY(-2px); background: #702a15; }

.hero { position: relative; min-height: 520px; overflow: hidden; isolation: isolate; background: #27160d; }
.hero-image, .hero-overlay { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; opacity: .8; }
.hero-overlay { background: linear-gradient(90deg, rgba(25, 15, 9, .92) 0%, rgba(34, 19, 11, .72) 47%, rgba(33, 17, 10, .18) 100%), linear-gradient(0deg, rgba(21, 12, 7, .25), transparent 35%); }
.hero-copy { width: min(640px, 66vw); padding: 88px 0 68px 8vw; color: #fffaf1; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 1px; display: inline-block; background: currentColor; }
.hero h1, .section-heading h2, .story-copy h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(46px, 6vw, 78px); line-height: .99; }
.hero h1 em, .section-heading h2 em, .story-copy h2 em { color: var(--gold-light); font-weight: 500; }
.hero-description { max-width: 440px; margin: 24px 0 25px; color: rgba(255, 250, 241, .8); font-size: 14px; line-height: 1.8; }
.primary-button { padding: 15px 19px; color: #26170e; background: var(--gold-light); }
.primary-button:hover { color: #fff; }
.hero-footnote { max-width: 390px; margin: 20px 0 0; color: rgba(255, 250, 241, .68); font-size: 10px; line-height: 1.6; }
.hero-seal { position: absolute; right: 7vw; bottom: 48px; display: flex; width: 122px; height: 122px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(243, 223, 157, .68); border-radius: 50%; color: #fff6df; background: rgba(31, 18, 11, .28); text-align: center; transform: rotate(-8deg); }
.hero-seal span { font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.hero-seal strong { margin: 2px 0; color: var(--gold-light); font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 500; }

.status-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 26px 8vw; background: #f1e8d7; border-bottom: 1px solid #e9dcc5; }
.status-item { display: flex; align-items: center; gap: 13px; }
.status-item > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.status-item strong { font-size: 12px; }
.status-item small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #6a8c4e; box-shadow: 0 0 0 4px rgba(106, 140, 78, .12); }
.status-icon { width: 25px; color: var(--tomato); font-size: 20px; text-align: center; }

.feature-shelves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 28px 7vw 0; }
.feature-shelf { min-height: 208px; padding: 22px 24px; border: 1px solid var(--line); background: var(--paper); }
.feature-shelf--highlight { background: linear-gradient(135deg, #fffdf8, #f5ebd8); }
.feature-shelf--promotion { background: linear-gradient(135deg, #fffdf8, #f5e7df); }
.feature-shelf .eyebrow { margin-bottom: 10px; font-size: 8px; }
.feature-shelf h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 600; }
.feature-shelf > p:not(.eyebrow) { max-width: 510px; margin: 9px 0; color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.feature-shelf .feature-shelf-status { color: var(--muted); }
.shelf-filter-button { margin-top: 4px; padding: 8px 11px; border: 1px solid var(--tomato); border-radius: 3px; color: var(--tomato); background: transparent; font-size: 9px; font-weight: 700; }
.shelf-filter-button:hover { color: white; background: var(--tomato); }
.shelf-filter-button:focus-visible, .product-visual:focus-visible, .product-info-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.menu-section { padding: 80px 7vw 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 35px; }
.eyebrow-dark { color: var(--tomato); }
.section-heading h2, .story-copy h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.section-heading h2 em { color: var(--tomato); }
.section-description { max-width: 580px; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.text-link, .story-link, .current-store-link { color: var(--tomato); font-size: 11px; font-weight: 700; text-decoration: none; }
.text-link { padding-bottom: 7px; white-space: nowrap; }
.text-link:hover, .story-link:hover, .current-store-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: transparent; font-size: 11px; font-weight: 600; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); color: var(--cream); background: var(--ink); }
.search-box { display: flex; width: min(250px, 100%); align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--muted); }
.search-box span { font-size: 20px; }
.search-box input { width: 100%; min-width: 0; padding: 11px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.search-box:focus-within { border-color: var(--tomato); box-shadow: 0 0 0 3px rgba(157, 61, 29, .1); }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { display: grid; grid-template-columns: 122px minmax(0, 1fr); min-height: 170px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(52, 31, 17, .08); }
.product-visual { position: relative; display: grid; min-height: 100%; place-items: center; overflow: hidden; background: #e8d7b8; }
.product-visual { color: inherit; text-decoration: none; }
.product-info-link { display: block; margin-bottom: 14px; color: inherit; text-decoration: none; }
.product-info-link:hover h3 { color: var(--tomato); }
.product-visual--photo::before, .product-visual--photo::after { display: none; }
.product-photo { width: 100%; height: 100%; min-height: 155px; object-fit: cover; }
.product-visual::before { content: ''; position: absolute; width: 118px; height: 118px; border: 7px solid rgba(255, 238, 199, .8); border-radius: 50%; background: radial-gradient(circle at 34% 31%, #a03f1f 0 4px, transparent 5px), radial-gradient(circle at 66% 43%, #57764a 0 4px, transparent 5px), radial-gradient(circle at 48% 68%, #8e2d18 0 4px, transparent 5px), radial-gradient(circle at 69% 72%, #57764a 0 3px, transparent 4px), radial-gradient(circle at 50% 50%, #f4cf6d 0 43%, #d46d36 44% 56%, #b8844d 57% 62%, #e4c999 63%); box-shadow: 0 10px 24px rgba(52, 31, 17, .2); transform: rotate(-13deg); }
.product-visual--piegata { background: linear-gradient(135deg, #ded9bb, #bcb185); }
.product-visual--piegata::before { width: 105px; height: 65px; border: 5px solid #f7e6bd; border-radius: 45% 22% 36% 23%; background: radial-gradient(ellipse at 45% 50%, #4d713a 0 12%, transparent 13%), radial-gradient(ellipse at 75% 57%, #9b2d1c 0 10%, transparent 11%), radial-gradient(ellipse at 30% 34%, #e6c871 0 13%, transparent 14%), linear-gradient(135deg, #b86d3c, #efd195 45%, #b76c3c 48%); transform: rotate(-14deg); }
.product-visual--combo { background: linear-gradient(135deg, #e5c08d, #a05b35); }
.product-visual--combo::before { width: 92px; height: 92px; border-width: 6px; background: radial-gradient(circle at 30% 35%, #9d3d1d 0 5px, transparent 6px), radial-gradient(circle at 62% 30%, #57764a 0 4px, transparent 5px), radial-gradient(circle at 61% 65%, #9d3d1d 0 5px, transparent 6px), radial-gradient(circle at 36% 64%, #57764a 0 3px, transparent 4px), radial-gradient(circle, #f3cf76 0 43%, #c8522a 44% 54%, #e4c999 55%); transform: rotate(15deg); }
.product-visual--pizza { background: linear-gradient(135deg, #dfc7a2, #8d5834); }
.product-visual--piegata::after, .product-visual--combo::after, .product-visual--pizza::after { content: ''; position: absolute; width: 100%; height: 100%; background: linear-gradient(145deg, transparent 44%, rgba(255, 255, 255, .14) 45%, transparent 60%); }
.product-info { display: flex; min-width: 0; flex-direction: column; padding: 17px 16px 14px; }
.product-category { margin: 0 0 8px; color: var(--tomato); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.product-info h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.product-description { display: -webkit-box; min-height: 34px; margin: 8px 0 14px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-price { color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.product-price small { display: block; margin-bottom: 3px; color: #aa9a8c; font-size: 8px; font-weight: 500; }
.add-button { min-width: 74px; padding: 9px 10px; border: 0; border-radius: 3px; color: #fff8ef; background: var(--tomato); font-size: 9px; font-weight: 700; }
.add-button:hover { background: #702a15; }
.no-results { grid-column: 1 / -1; padding: 40px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

.bag-card { position: sticky; top: 18px; padding: 20px; border: 1px solid #dfd4c3; border-radius: 5px; background: #f4ede0; }
.bag-heading { display: flex; align-items: center; gap: 12px; }
.bag-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--gold-light); background: var(--ink); font-size: 18px; }
.bag-heading .eyebrow { margin: 0 0 3px; font-size: 8px; }
.bag-heading h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; }
.bag-count { display: grid; width: 24px; height: 24px; margin-left: auto; place-items: center; border-radius: 50%; color: var(--paper); background: var(--tomato); font-size: 10px; font-weight: 700; }
.bag-notice { margin: 17px 0; padding: 11px; border-left: 2px solid var(--gold); color: #776a5d; background: rgba(255, 255, 255, .5); font-size: 9px; line-height: 1.55; }
.empty-bag { display: flex; min-height: 132px; flex-direction: column; align-items: center; justify-content: center; color: #968879; text-align: center; }
.empty-bag > span { margin-bottom: 8px; color: #c5b7a4; font-size: 27px; }
.empty-bag p { margin: 0 0 5px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.empty-bag small { max-width: 190px; font-size: 9px; line-height: 1.5; }
.bag-items { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bag-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 10px 0; border-bottom: 1px solid #ddd2c1; }
.bag-line-name { display: block; font-size: 10px; font-weight: 700; }
.bag-line-price { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.bag-line-actions { display: flex; align-items: center; gap: 6px; }
.qty-button { width: 23px; height: 23px; border: 1px solid #c9bba7; border-radius: 50%; color: var(--ink); background: transparent; font-size: 14px; line-height: 1; }
.qty-button:hover { border-color: var(--tomato); color: var(--tomato); }
.qty-value { min-width: 12px; font-size: 10px; font-weight: 700; text-align: center; }
.bag-total { display: flex; justify-content: space-between; margin: 17px 0; padding-top: 12px; border-top: 1px solid #d9cebe; font-size: 10px; }
.bag-total strong { font-size: 13px; }
.checkout-button { width: 100%; padding: 13px; border: 0; border-radius: 3px; color: #fff8ee; background: #82766a; font-size: 10px; font-weight: 700; cursor: not-allowed; }
.current-store-link { display: block; margin-top: 14px; color: var(--tomato); font-size: 9px; text-align: center; }
.catalog-footnote { margin: 21px 0 0; color: #897d70; font-size: 9px; line-height: 1.6; }

.story-section { display: grid; grid-template-columns: 100px minmax(0, 1.1fr) minmax(240px, .9fr); align-items: center; gap: 42px; padding: 75px 8vw; color: #fff6e8; background: #291a12; }
.story-mark { display: grid; width: 86px; height: 86px; place-items: center; border: 1px solid rgba(243, 223, 157, .7); border-radius: 50%; color: var(--gold-light); font-family: 'Playfair Display', Georgia, serif; font-size: 22px; }
.story-copy .eyebrow { margin-bottom: 15px; }
.story-copy h2 { font-size: clamp(30px, 3.7vw, 46px); }
.story-copy h2 em { color: var(--gold-light); }
.story-copy > p:not(.eyebrow) { max-width: 520px; margin: 17px 0; color: rgba(255, 246, 232, .72); font-size: 11px; line-height: 1.8; }
.story-link { display: inline-block; margin-top: 8px; color: var(--gold-light); }
.story-image { min-height: 190px; background: linear-gradient(90deg, rgba(41, 26, 18, .05), rgba(41, 26, 18, .1)), url('assets/grano-vivo-banner.jpg') center / cover; border: 1px solid rgba(243, 223, 157, .35); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 7vw; color: #c9bcaa; background: #1d130e; font-size: 9px; }
.site-footer a { color: #e4ce92; text-decoration: none; }
.footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; letter-spacing: .12em; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: min(380px, calc(100vw - 44px)); padding: 13px 17px; border: 1px solid rgba(243, 223, 157, .45); border-radius: 4px; color: #fff7e6; background: #291a12; box-shadow: var(--shadow); font-size: 11px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; }
  .product-card { grid-template-columns: 100px minmax(0, 1fr); }
  .product-info { padding: 14px 12px; }
  .product-info h3 { font-size: 16px; }
  .story-section { grid-template-columns: 70px minmax(0, 1fr) minmax(200px, .8fr); gap: 25px; }
  .story-mark { width: 66px; height: 66px; }
}
@media (max-width: 760px) {
  .prototype-banner { flex-wrap: wrap; gap: 7px 10px; padding: 8px 12px; font-size: 9px; text-align: center; }
  .prototype-banner a { margin-left: 0; }
  .site-header { height: 72px; padding: 0 18px; }
  .brand img { width: 44px; height: 44px; border-radius: 9px; }
  .brand-name { font-size: 18px; }
  .desktop-nav { display: none; }
  .header-cta { padding: 11px 12px; font-size: 10px; }
  .hero { min-height: 540px; }
  .hero-image { object-position: 53% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(25, 15, 9, .88), rgba(34, 19, 11, .48)), linear-gradient(0deg, rgba(21, 12, 7, .25), transparent 60%); }
  .hero-copy { width: 100%; padding: 82px 24px 54px; }
  .hero h1 { font-size: clamp(45px, 12vw, 64px); }
  .hero-description { max-width: 370px; font-size: 12px; }
  .hero-seal { right: 22px; bottom: 20px; width: 80px; height: 80px; }
  .hero-seal span { font-size: 6px; }
  .hero-seal strong { font-size: 17px; }
  .status-strip { grid-template-columns: 1fr; gap: 17px; padding: 22px 24px; }
  .feature-shelves { grid-template-columns: 1fr; gap: 12px; padding: 18px 18px 0; }
  .feature-shelf { min-height: auto; padding: 19px; }
  .menu-section { padding: 56px 18px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 38px; }
  .section-description { font-size: 11px; }
  .menu-controls { align-items: stretch; flex-direction: column; }
  .filter-list { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .filter-button { flex: 0 0 auto; }
  .search-box { width: 100%; }
  .catalog-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 112px minmax(0, 1fr); min-height: 155px; }
  .product-visual::before { width: 100px; height: 100px; }
  .product-visual--piegata::before { width: 88px; height: 58px; }
  .bag-card { position: static; }
  .story-section { grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 48px 22px; }
  .story-mark { width: 50px; height: 50px; font-size: 16px; }
  .story-copy h2 { font-size: 34px; }
  .story-image { grid-column: 1 / -1; min-height: 155px; }
  .site-footer { align-items: start; flex-direction: column; padding: 22px; }
}
@media (max-width: 390px) {
  .header-cta { padding: 10px; font-size: 9px; }
  .product-card { grid-template-columns: 92px minmax(0, 1fr); }
  .product-info h3 { font-size: 15px; }
  .add-button { min-width: 66px; padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


.flavor-dialog {
  width: min(620px, calc(100vw - 28px));
  max-width: 620px;
  max-height: min(88vh, 760px);
  padding: 24px;
  overflow: hidden;
  border: 1px solid #d8cbb8;
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 90px rgba(20, 10, 4, .35);
}
.flavor-dialog::backdrop { background: rgba(24, 15, 10, .68); backdrop-filter: blur(2px); }
.flavor-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.flavor-dialog-header .eyebrow { margin-bottom: 7px; font-size: 8px; }
.flavor-dialog-header h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 27px; font-weight: 600; }
.flavor-selection-count { flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; color: #6e2f1a; background: #f2e3d4; font-size: 9px; font-weight: 700; }
.flavor-dialog-intro { margin: 14px 0 7px; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.flavor-source-note { margin: 0 0 14px; padding: 9px 11px; border-left: 2px solid var(--gold); color: #74685c; background: #f7f1e6; font-size: 9px; line-height: 1.5; }
.flavor-options { max-height: min(50vh, 420px); overflow-y: auto; border-top: 1px solid var(--line); }
.flavor-option { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 78px; padding: 9px 3px; border-bottom: 1px solid var(--line); }
.flavor-photo { width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 4px; object-fit: cover; background: #f1e8d7; }
.flavor-option > div:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.flavor-option strong { font-size: 11px; line-height: 1.4; }
.flavor-option small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.flavor-description { color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.flavor-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.flavor-quantity-button { width: 27px; height: 27px; border: 1px solid #cbbda8; border-radius: 50%; color: var(--ink); background: transparent; font-size: 15px; line-height: 1; }
.flavor-quantity-button:hover:not(:disabled) { border-color: var(--tomato); color: var(--tomato); }
.flavor-quantity-button:disabled { opacity: .35; cursor: not-allowed; }
.flavor-quantity { min-width: 14px; font-size: 10px; font-weight: 700; text-align: center; }
.flavor-selection-help { min-height: 17px; margin: 11px 0; color: var(--muted); font-size: 9px; }
.flavor-dialog-actions { display: flex; justify-content: end; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
.flavor-cancel-button, .flavor-add-button { padding: 12px 15px; border: 1px solid var(--line); border-radius: 3px; font-size: 10px; font-weight: 700; }
.flavor-cancel-button { color: var(--ink-soft); background: transparent; }
.flavor-add-button { border-color: var(--tomato); color: white; background: var(--tomato); }
.flavor-add-button:hover:not(:disabled) { background: #702a15; }
.flavor-add-button:disabled { border-color: #bcb2a8; background: #bcb2a8; cursor: not-allowed; }

@media (max-width: 520px) {
  .flavor-dialog { padding: 17px; }
  .flavor-dialog-header h2 { font-size: 23px; }
  .flavor-option { grid-template-columns: 42px minmax(0, 1fr) auto; align-items: start; gap: 7px; }
  .flavor-photo { width: 40px; height: 40px; }
  .flavor-option small { max-width: 210px; }
  .flavor-description { font-size: 8px; }
  .flavor-dialog-actions > button { flex: 1; padding: 11px 8px; }
}


/* Grupo opcional de adicionais para o produto individual. */
.flavor-dialog { overflow-y: auto; }
.add-button:disabled { opacity: .58; cursor: wait; }
.addon-group { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.addon-group[hidden] { display: none !important; }
.addon-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.addon-group-heading h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 17px; font-weight: 600; }
.addon-group-summary { margin: 7px 0 9px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.addon-options { max-height: min(25vh, 210px); }
.flavor-dialog.has-addons .flavor-options:not(.addon-options) { max-height: min(24vh, 190px); }
.flavor-dialog.has-addons .addon-options { max-height: min(18vh, 145px); }

@media (max-width: 520px) {
  .addon-group-heading h3 { font-size: 15px; }
  .flavor-dialog.has-addons .flavor-options:not(.addon-options) { max-height: min(22vh, 165px); }
  .flavor-dialog.has-addons .addon-options { max-height: min(16vh, 120px); }
}


/* Andamento público da homologação. */
.progress-section { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.7fr); gap: 28px; margin-top: 34px; padding: 25px; border: 1px solid var(--line); background: #f8f3e9; }
.progress-heading h3 { margin: 0 0 10px; font-family: 'Playfair Display', Georgia, serif; font-size: 27px; font-weight: 600; }
.progress-heading > p:last-child { max-width: 360px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.progress-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.progress-card { min-height: 125px; padding: 15px; border: 1px solid var(--line); background: var(--paper); }
.progress-status { display: inline-block; margin-bottom: 8px; color: var(--tomato); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.progress-card h4 { margin: 0 0 7px; font-family: 'Playfair Display', Georgia, serif; font-size: 15px; font-weight: 600; }
.progress-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

@media (max-width: 760px) {
  .progress-section { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .progress-heading h3 { font-size: 24px; }
}
@media (max-width: 520px) {
  .progress-grid { grid-template-columns: 1fr; }
  .progress-card { min-height: auto; }
}
