/* Product page - Knuspr-style layout */

/* ═══════ KNUSPR PDP - coluna esquerda ═══════ */
.pdp-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pdp-more-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .85rem;
  padding: .35rem .5rem;
  background: none;
  border: none;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
}
.pdp-more-link svg { color: #f57200; }
.pdp-more-link:hover { color: #f57200; }

.pdp-gallery__bestbuy {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: .25rem .6rem;
  background: #e0475a;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: .01em;
}

/* ═══════ KNUSPR PDP - preço grande + pill Xtra ═══════ */
.pdp-kn-pricewrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  margin: .25rem 0 1.1rem;
}

.pdp-kn-price {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
  color: #14181a;
  font-weight: 900;
}
.pdp-kn-price__int { font-size: 2.6rem; letter-spacing: -0.02em; }
.pdp-kn-price__cents {
  font-size: 1.35rem;
  font-weight: 900;
  margin-top: .18rem;
  margin-left: .1rem;
}
.pdp-kn-price__cur {
  font-size: 1.05rem;
  font-weight: 700;
  align-self: flex-end;
  margin-left: .3rem;
  margin-bottom: .2rem;
  color: #14181a;
}
.pdp-kn-price__old {
  font-size: .95rem;
  font-weight: 500;
  color: var(--c-text-muted);
}

.pdp-kn-price__vat {
  margin: 0;
  font-size: .8rem;
  font-weight: 500;
  color: var(--c-text-muted);
  line-height: 1.3;
}

.pdp-kn-xtra {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .7rem;
  background: #f2f7f2;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: #3d443e;
  text-decoration: none;
}
.pdp-kn-xtra em {
  font-style: normal;
  font-weight: 800;
  color: #f57200;
}
.pdp-kn-xtra:hover { background: #e8f0e8; text-decoration: none; }

/* ═══════ KNUSPR PDP - botão Comprar laranja ═══════ */
.btn-addcart--kn {
  background: #f57200;
  box-shadow: 0 6px 16px rgba(245, 114, 0, .25);
  border-radius: 10px;
}
.btn-addcart--kn:hover {
  background: #e05f00;
  box-shadow: 0 8px 20px rgba(245, 114, 0, .35);
}
.btn-addcart__plus {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  margin-top: -2px;
}

/* ═══════ KNUSPR PDP - nota do produto (como no carrinho) ═══════ */
.pdp-note {
  margin: -.35rem 0 1rem;
}
.pdp-note__btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: none;
  background: none;
  padding: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-primary, #82AD49);
  cursor: pointer;
  font-family: inherit;
  transition: color .15s;
}
.pdp-note__btn:hover {
  color: var(--c-primary-dark, #6A9238);
  text-decoration: underline;
}
.pdp-note__btn.has-note { color: var(--c-primary-dark, #6A9238); }
.pdp-note__preview {
  margin-top: .45rem;
  padding: .45rem .65rem;
  background: var(--c-bg, #f5f5f3);
  border-left: 3px solid var(--c-primary, #82AD49);
  border-radius: 6px;
  font-size: .78rem;
  color: var(--c-text, #1a1d1b);
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}
.pdp-note__form { margin-top: .5rem; }
.pdp-note__input {
  width: 100%;
  padding: .55rem .7rem;
  border: 1.5px solid var(--c-border, #e4e6e5);
  border-radius: 8px;
  font-size: .82rem;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
  background: #fff;
  color: var(--c-text, #1a1d1b);
}
.pdp-note__input:focus {
  outline: none;
  border-color: var(--c-primary, #82AD49);
}
.pdp-note__actions {
  display: flex;
  gap: .5rem;
  margin-top: .4rem;
}
.pdp-note__save {
  border: none;
  border-radius: 7px;
  padding: .4rem .9rem;
  background: var(--c-primary, #82AD49);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.pdp-note__save:hover { background: var(--c-primary-dark, #6A9238); }
.pdp-note__cancel {
  border: none;
  border-radius: 7px;
  padding: .4rem .9rem;
  background: var(--c-bg, #f5f5f3);
  color: var(--c-text-muted, #6b706d);
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.pdp-note__cancel:hover { background: var(--c-border, #e4e6e5); }
html[data-theme="dark"] .pdp-note__input {
  background: #1c1f1d;
  border-color: #3a3f3c;
  color: #e8ebe9;
}
html[data-theme="dark"] .pdp-note__preview {
  background: #252826;
  color: #e8ebe9;
}
html[data-theme="dark"] .pdp-note__cancel {
  background: #252826;
  color: #a8aea9;
}

/* ═══════ KNUSPR PDP - prova social ═══════ */
.pdp-social {
  display: grid;
  gap: .45rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--c-border);
}
.pdp-social__row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  color: var(--c-text-muted);
}
.pdp-social__row svg { flex-shrink: 0; }
.pdp-social__row strong { color: var(--c-text); font-weight: 700; }
.pdp-social__row--stock { color: #e8731a; }
.pdp-social__row--stock strong { color: #e8731a; }
.pdp-social__row--stock[hidden] { display: none; }

/* ═══════ KNUSPR PDP - cartão de entrega laranja ═══════ */
.pdp-delivery-kn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fdf1e7;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.pdp-delivery-kn__body { flex: 1; min-width: 0; }
.pdp-delivery-kn__body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1b8a4a;
  margin: 0 0 .25rem;
}
.pdp-delivery-kn__body > p {
  font-size: .84rem;
  color: var(--c-text);
  margin: 0 0 .75rem;
}
.pdp-delivery-kn__guarantee {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.pdp-delivery-kn__guarantee svg { flex-shrink: 0; }
.pdp-delivery-kn__guarantee strong {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--c-text);
}
.pdp-delivery-kn__guarantee span {
  font-size: .78rem;
  color: var(--c-text-muted);
}
.pdp-delivery-kn__bag {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
  transform: rotate(8deg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.12));
}

/* ═══════ KNUSPR PDP - bandeira no título + preço unitário ═══════ */
.pdp-info__name-flag {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.15em;
  margin-left: 0.2em;
  line-height: 1;
}
.pdp-info__name-flag .mim-flag,
.pdp-info__name-flag img {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.pdp-desc__origin-flag {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.15em;
  margin-right: 0.2em;
}
.pdp-desc__origin-flag .mim-flag,
.pdp-desc__origin-flag img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}
.pdp-info__size-sep { margin: 0 .35rem; color: var(--c-border-strong, #cfd4cf); }
.pdp-info__unitprice { color: var(--c-text-muted); }

/* ═══════ PDP - botão "Perguntar à BECCA" ═══════ */
.pdp__ai-maia {
  padding: 0 1rem 1rem;
}
.pdp__ai-maia button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1rem;
  background: #fff;
  border: 1.5px solid var(--c-primary);
  border-radius: 10px;
  color: var(--c-primary);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.pdp__ai-maia button:hover { background: var(--c-primary-light, #eaf5ee); }

/* ═══════ KNUSPR PDP - breadcrumb de categoria no fundo ═══════ */
.pdp-cat-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.pdp-cat-path a { color: var(--c-text); text-decoration: none; }
.pdp-cat-path a:hover { color: var(--c-primary); text-decoration: underline; }
.pdp-cat-path__sep { margin: 0 .4rem; color: var(--c-text-muted); font-weight: 400; }

/* ═══════ PRODUCT LAYOUT ═══════ */
.pdp {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.pdp__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .pdp__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ═══════ IMAGE COLUMN ═══════ */
.pdp__gallery {
  position: relative;
}

.pdp__image-main {
  width: 100%;
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp__image-main img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pdp__image-main--empty {
  font-size: 4rem;
  color: var(--c-text-muted);
}

.pdp__image-zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.pdp__image-zoom:hover { box-shadow: var(--shadow-md); }

/* ═══════ INFO COLUMN ═══════ */
.pdp__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pdp__name {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .35rem;
}

.pdp__weight {
  font-size: .9rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}

.pdp__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.pdp__badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  font-size: .7rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.pdp__badge--bio { background: #d4edda; color: #155724; }
.pdp__badge--new { background: var(--c-primary); color: #fff; }
.pdp__badge--supplier { background: var(--c-accent-light); color: var(--c-accent); }

/* ═══════ PRICING ═══════ */
.pdp__pricing {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.pdp__price-label {
  font-size: .8rem;
  color: var(--c-text-muted);
}

.pdp__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-text);
}

.pdp__price-per {
  font-size: .85rem;
  color: var(--c-text-muted);
}

.pdp__price-old {
  font-size: 1rem;
  color: var(--c-text-muted);
  text-decoration: line-through;
}

/* ═══════ BUY BUTTON ═══════ */
.pdp__buy-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  max-width: 400px;
}

.pdp__buy {
  flex: 1;
  min-width: 180px;
  padding: .85rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.pdp__buy:hover { background: var(--c-primary-dark); transform: translateY(-1px); }

.pdp-buy__icons {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.pdp__fav,
.pdp__share {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #fff;
  color: #8a8f94;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pdp__fav:hover { box-shadow: var(--shadow-md); color: #c41e3a; }
.pdp__fav--on {
  color: #c41e3a;
  background: #fff5f6;
  border-color: #f0c4cc;
}
.pdp__fav--on svg { fill: currentColor; }

.pdp__share:hover {
  box-shadow: var(--shadow-md);
  color: var(--c-primary, #1a8a4a);
  border-color: #c9e4d4;
  background: #f3faf6;
}
.pdp__share--done {
  color: var(--c-primary, #1a8a4a);
  background: #f3faf6;
  border-color: #c9e4d4;
}

/* ═══════ DELIVERY INFO ═══════ */
.pdp__delivery {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.pdp__delivery-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
}

.pdp__delivery-row svg { flex-shrink: 0; color: var(--c-primary); }

/* ═══════ XTRA BANNER ═══════ */
.pdp__xtra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.pdp__xtra-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.pdp__xtra-badge {
  font-size: .7rem;
  font-weight: 800;
  padding: .2rem .5rem;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.pdp__xtra-price {
  font-size: 1rem;
  font-weight: 700;
}

.pdp__xtra-label { font-size: .8rem; }

.pdp__xtra-btn {
  padding: .4rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  background: #fff;
  color: var(--c-accent);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.pdp__xtra-btn:hover { background: var(--c-accent-light); }

/* ═══════ CATEGORY + COUNTRY ═══════ */
.pdp__meta {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .85rem;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
}

.pdp__meta-label { font-weight: 600; color: var(--c-text); }
.pdp__meta a { color: var(--c-primary); }
.pdp__meta a:hover { text-decoration: underline; }

.pdp__meta--origin {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--c-border, #e8e8e6);
}
.pdp-desc__origin-flag { font-size: 1.1rem; line-height: 1; }

/* ═══════ ALLERGY WARNING ═══════ */
.pdp-allergy {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  margin: .5rem 0 1rem;
  background: #fff5f5;
  border: 1.5px solid #ff9a8d;
  border-left: 4px solid #d63828;
  border-radius: 10px;
  color: #6b1d15;
  font-size: .86rem;
  line-height: 1.45;
  position: relative;
}
.pdp-allergy__icon { color: #d63828; flex-shrink: 0; margin-top: 1px; }
.pdp-allergy__body { flex: 1; min-width: 0; }
.pdp-allergy__body strong { color: #6b1d15; font-weight: 700; display: block; margin-bottom: .1rem; }
.pdp-allergy__body p { margin: 0; font-size: .82rem; color: #7a2820; }
.pdp-allergy__body a { color: #6b1d15; text-decoration: underline; font-weight: 600; }
.pdp-allergy__close {
  background: none;
  border: none;
  color: #6b1d15;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0 .15rem;
  margin-top: -2px;
  opacity: .6;
  transition: opacity .15s;
}
.pdp-allergy__close:hover { opacity: 1; }
.pdp-allergy--minor {
  background: #fdecec;
  border-color: #e0594c;
  border-left-color: #b21f12;
}
.pdp-allergy--minor .pdp-allergy__icon { color: #b21f12; }

/* ═══════ AVISO +18 (ÁLCOOL) ═══════ */
.pdp-age-notice {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: .75rem 0 0;
  padding: .7rem .85rem;
  background: #fbf3e6;
  border: 1px solid #e8d3a8;
  border-left: 4px solid #b8860b;
  border-radius: 10px;
}
.pdp-age-notice__badge {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #b8860b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .3px;
}
.pdp-age-notice__text {
  font-size: .8rem;
  line-height: 1.4;
  color: #6b5310;
}
.pdp-age-notice__text strong { color: #4f3d0a; }

/* ═══════ ONE-CLICK BUNDLE ═══════ */
.pdp-bundle {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #f5faf7 0%, #fff 100%);
}
.pdp-bundle__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--c-text);
  margin-bottom: .85rem;
}
.pdp-bundle__head svg { color: var(--c-primary); flex-shrink: 0; }
.pdp-bundle__save {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: var(--c-primary);
  padding: .15rem .55rem;
  border-radius: 999px;
  letter-spacing: .01em;
}
.pdp-bundle__items {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.pdp-bundle__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex: 1 1 140px;
  min-width: 0;
  position: relative;
}
.pdp-bundle__item:hover { border-color: var(--c-primary); }
.pdp-bundle__check {
  appearance: none;
  width: 18px; height: 18px;
  border: 1.6px solid var(--c-border-strong);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.pdp-bundle__check:checked {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.pdp-bundle__check:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.pdp-bundle__check:disabled { opacity: .6; cursor: not-allowed; }
.pdp-bundle__img {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.pdp-bundle__img img {
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply;
}
.pdp-bundle__info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pdp-bundle__name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-bundle__price {
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-top: .15rem;
}
.pdp-bundle__plus {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-primary);
  padding: 0 .1rem;
}
.pdp-bundle__foot {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
  padding-top: .85rem;
  border-top: 1px dashed var(--c-border);
}
.pdp-bundle__total { font-size: .88rem; color: var(--c-text); }
.pdp-bundle__total strong { font-weight: 800; color: var(--c-text); }
.pdp-bundle__add {
  margin-left: auto;
  padding: .65rem 1.25rem;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.pdp-bundle__add:hover { background: #176530; }
.pdp-bundle__add:active { transform: scale(.98); }

/* ═══════ AI SUMMARY ACCORDION ═══════ */
.pdp__ai-summary {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.pdp__ai-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: var(--c-surface);
  border: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  text-align: left;
}

.pdp__ai-toggle svg { flex-shrink: 0; color: var(--c-primary); }
.pdp__ai-toggle .chevron {
  margin-left: auto;
  transition: transform var(--transition);
}
.pdp__ai-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.pdp__ai-body {
  display: none;
  padding: 0 1rem 1rem;
  font-size: .85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}
.pdp__ai-body.open { display: block; }
.pdp__ai-headline {
  color: var(--c-text);
  font-weight: 600;
  font-size: .88rem;
  margin: 0 0 .5rem;
  line-height: 1.45;
}
.pdp__ai-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 .5rem;
  display: grid;
  gap: .35rem;
}
.pdp__ai-bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .82rem;
}
.pdp__ai-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #82AD49;
  font-weight: 700;
}
.pdp__ai-source {
  font-size: .7rem;
  color: var(--c-text-muted);
  opacity: .7;
  margin: .5rem 0 0;
  font-style: italic;
}
.pdp__ai-loading {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: var(--c-text-muted);
}
.pdp__ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82AD49;
  animation: aiDotPulse 1.2s infinite ease-in-out;
}
.pdp__ai-dot:nth-child(2) { animation-delay: .2s; }
.pdp__ai-dot:nth-child(3) { animation-delay: .4s; margin-right: .5rem; }
@keyframes aiDotPulse {
  0%, 80%, 100% { opacity: .3; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* ═══════ RECIPES ═══════ */
.pdp__recipes {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.pdp__recipes-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: var(--c-surface);
  border: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  text-align: left;
}
.pdp__recipes-toggle svg { flex-shrink: 0; color: var(--c-primary); }
.pdp__recipes-toggle .chevron {
  margin-left: auto;
  transition: transform var(--transition);
}
.pdp__recipes-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.pdp__recipes-body {
  display: none;
  padding: 0 1rem 1rem;
}
.pdp__recipes-body.open { display: block; }
.pdp__recipe {
  padding: .85rem 0;
  border-top: 1px dashed var(--c-border);
}
.pdp__recipe:first-child { border-top: none; padding-top: .25rem; }
.pdp__recipe-title {
  margin: 0 0 .25rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text);
}
.pdp__recipe-meta {
  margin: 0 0 .5rem;
  font-size: .72rem;
  color: var(--c-text-muted);
}
.pdp__recipe-label {
  margin: .5rem 0 .25rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c-text-muted);
}
.pdp__recipe-ingredients {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .25rem;
}
.pdp__recipe-ingredients li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .82rem;
  color: var(--c-text);
}
.pdp__recipe-ingredients li::before {
  content: "•";
  position: absolute;
  left: .2rem;
  top: 0;
  color: var(--c-primary);
  font-weight: 700;
}
.pdp__recipe-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: .3rem;
}
.pdp__recipe-steps li {
  font-size: .82rem;
  color: var(--c-text);
  line-height: 1.5;
}

/* ═══════ TABS ═══════ */
.pdp__tabs {
  border-top: 1px solid var(--c-border);
  margin-top: 1rem;
}

.pdp__tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--c-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp__tabs-nav::-webkit-scrollbar { display: none; }

.pdp__tab-btn {
  flex-shrink: 0;
  padding: .85rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.pdp__tab-btn:hover { color: var(--c-text); }
.pdp__tab-btn.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

.pdp__tab-panel {
  display: none;
  padding: 1.5rem 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--c-text);
}
.pdp__tab-panel.active { display: block; }

.pdp__tab-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

/* Nutrition table */
.pdp__nutrition {
  width: 100%;
  max-width: 400px;
  border-collapse: collapse;
  font-size: .85rem;
}

.pdp__nutrition tr { border-bottom: 1px solid var(--c-border); }
.pdp__nutrition td { padding: .5rem 0; }
.pdp__nutrition td:last-child { text-align: right; font-weight: 600; }
.pdp__nutrition .indent { padding-left: 1.25rem; color: var(--c-text-muted); }

/* ═══════ NUTRI-SCORE - selo oficial Santé Publique France ═══════ */
.nutriscore {
  display: inline-flex;
  flex-direction: column;
  gap: .28em;
  padding: .5em .6em;
  background: #fff;
  border: .22em solid #6f7072;
  border-radius: .9em;
  font-size: 16px;
  line-height: 1;
  font-family: "Inter", system-ui, sans-serif;
  vertical-align: middle;
}

.nutriscore__title {
  color: #6f7072;
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.nutriscore__scale {
  display: inline-flex;
  align-items: center;
}

.nutriscore__cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9em;
  height: 1.9em;
  font-weight: 800;
  font-size: 1.15em;
  color: #fff;
  opacity: .45;
  transition: opacity .15s ease;
}
.nutriscore__cell:first-child { border-radius: .55em 0 0 .55em; }
.nutriscore__cell:last-child  { border-radius: 0 .55em .55em 0; }

.nutriscore__cell--a { background: #038141; }
.nutriscore__cell--b { background: #85bb2f; }
.nutriscore__cell--c { background: #fecb02; color: #4a3c00; }
.nutriscore__cell--d { background: #ee8100; }
.nutriscore__cell--e { background: #e63e11; }

/* Classificação ativa: maior, opaca e em destaque */
.nutriscore__cell.is-active {
  opacity: 1;
  width: 2.5em;
  height: 2.5em;
  font-size: 1.5em;
  border-radius: .55em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  z-index: 1;
}

.pdp-info__nutriscore {
  margin: .25rem 0 .85rem;
}
/* Na coluna de compra o selo aparece em versão compacta; o tamanho
   normal (16px) mantém-se no separador Composição. */
.pdp-info__nutriscore .nutriscore {
  font-size: 9px;
  border-width: .18em;
  padding: .4em .5em;
}

/* Bloco do Nutri-Score dentro do separador Composição */
.pdp__nutriscore-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pdp__nutriscore-block p {
  font-size: .8rem;
  color: var(--c-text-muted);
  max-width: 360px;
  line-height: 1.45;
  margin: 0;
}

/* ═══════ SIMILAR PRODUCTS ═══════ */
.pdp__similar {
  margin-top: .5rem;
}

.pdp__similar .product-row__scroll {
  padding-top: .5rem;
}

/* ═══════ BRAND / COLLECTION PRODUCTS ═══════ */
.pdp__brand-carousel-wrap {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
}

.pdp__brand-carousel {
  display: flex;
  gap: 1rem;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .35rem;
}
.pdp__brand-carousel::-webkit-scrollbar { display: none; }

.pdp__brand-carousel-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text);
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pdp__brand-carousel-nav:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.pdp__brand-card {
  flex: 0 0 170px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 768px) {
  .pdp__brand-card { flex-basis: 190px; }
}

.pdp__brand-card__img {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  overflow: hidden;
  background: transparent;
}

.pdp__brand-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .35rem;
  mix-blend-mode: multiply;
}

.pdp__brand-card__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.pdp__brand-card__name {
  font-size: .82rem;
  font-weight: 600;
  margin-top: .35rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp__brand-card__unit {
  font-size: .68rem;
  color: var(--c-text-muted);
  margin-top: .15rem;
  line-height: 1.25;
}

.pdp__brand-card__price {
  font-size: .8rem;
  font-weight: 700;
  color: #82AD49;
  margin-top: .15rem;
}

.pdp-recs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}

.pdp-rec {
  text-decoration: none;
  color: inherit;
}

.pdp-rec__name {
  font-size: .9rem;
  font-weight: 600;
  margin-top: .45rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp-rec__unit {
  font-size: .74rem;
  color: var(--c-text-muted);
  margin-top: .2rem;
  line-height: 1.25;
}

.pdp-rec__price {
  font-size: .9rem;
  font-weight: 700;
  color: #82AD49;
  margin-top: .2rem;
}

@media (max-width: 767px) {
  .pdp__brand-card { flex-basis: 150px; }
  .pdp__brand-carousel-nav { display: none; }
}

/* ═══════ BREADCRUMB ═══════ */
.pdp__breadcrumb {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--c-text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.pdp__breadcrumb a { color: var(--c-text-muted); }
.pdp__breadcrumb a:hover { color: var(--c-primary); }
.pdp__breadcrumb .sep { color: var(--c-border); }

/* ═══════ ALERGÉNIOS / CORANTES / OUTROS (separador Composição) ═══════ */
.pdp-dietary {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem 1.1rem;
  background: var(--c-surface, #fff);
  border: 1px solid var(--c-border);
  border-radius: 14px;
}
#tab-comp .pdp-dietary { max-width: 720px; }

.pdp-dietary__head {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: .9rem;
}

.pdp-dietary__title {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
}

.pdp-dietary__tabs {
  display: flex;
  gap: .3rem;
  padding: .25rem;
  background: var(--c-chip-bg, #f2f2ee);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-dietary__tabs::-webkit-scrollbar { display: none; }

.pdp-dietary__tab {
  border: none;
  background: transparent;
  padding: .42rem .95rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.pdp-dietary__tab:hover { color: var(--c-text); }
.pdp-dietary__tab.active {
  background: var(--c-primary);
  color: #fff;
}
.pdp-dietary__tab i {
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  opacity: .8;
  margin-left: .15rem;
}

.pdp-dietary__panel { display: none; }
.pdp-dietary__panel.active { display: block; }

.pdp-dietary__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: .55rem;
}

.pdp-dietary__item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .55rem .6rem;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg, #fafaf8);
}
.pdp-dietary__item--traces { border-style: dashed; opacity: .85; }

.pdp-dietary__item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1ec;
  border-radius: 9px;
  font-size: 1rem;
  letter-spacing: -3px;
}
html[data-theme="dark"] .pdp-dietary__item-icon { background: rgba(255, 255, 255, .08); }

.pdp-dietary__item-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.pdp-dietary__item-text strong {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
}
.pdp-dietary__item-text small {
  font-size: .7rem;
  line-height: 1.35;
  color: var(--c-text-muted);
}

.pdp-dietary__empty {
  margin: 0;
  font-size: .82rem;
  color: var(--c-text-muted);
}

.pdp-dietary__note {
  margin: .7rem 0 0;
  font-size: .72rem;
  line-height: 1.4;
  color: #9a6b00;
}
html[data-theme="dark"] .pdp-dietary__note { color: #d9a93f; }

.pdp-dietary__source {
  margin: .8rem 0 0;
  font-size: .7rem;
  color: var(--c-text-muted);
}

@media (max-width: 767px) {
  .pdp-dietary { padding: .85rem .8rem .95rem; }
  .pdp-dietary__grid { grid-template-columns: 1fr 1fr; }
  .pdp-dietary__item { flex-direction: column; gap: .4rem; }
}

/* ═══════ LOADING ═══════ */
.pdp__loading {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--c-text-muted);
}

.pdp__loading .spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: prow-spin .6s linear infinite;
  margin-bottom: .75rem;
}

/* ═══════ PDP - fotos sem fundo ═══════ */
.pdp-alts__img {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}
.pdp-alts__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pdp-rec__img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
}
.pdp-rec__ph {
  width: 100%;
  height: 160px;
  background: transparent;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

html[data-theme="dark"] .pdp-bundle__img img,
html[data-theme="dark"] .pdp__brand-card__img img,
html[data-theme="dark"] .pdp-alts__img img,
html[data-theme="dark"] .pdp-rec__img {
  mix-blend-mode: normal;
}

/* ── Dark · Knuspr tangerine-dark · PDP surfaces ── */
html[data-theme="dark"] .pdp__ai-maia button {
  background: #1c2529;
  border-color: #9dcb9a;
  color: #9dcb9a;
}
html[data-theme="dark"] .pdp__ai-maia button:hover {
  background: #164523;
}
html[data-theme="dark"] .pdp-gallery,
html[data-theme="dark"] .pdp-gallery__main,
html[data-theme="dark"] .pdp-gallery__thumb,
html[data-theme="dark"] .pdp-info,
html[data-theme="dark"] .pdp-aside,
html[data-theme="dark"] .pdp-card,
html[data-theme="dark"] .pdp-sticky,
html[data-theme="dark"] .pdp-dietary,
html[data-theme="dark"] .pdp-bundle,
html[data-theme="dark"] .pdp-rec__card,
html[data-theme="dark"] .pdp__brand-card {
  background: #252525;
  border-color: #374045;
  color: #f2f4f4;
}
html[data-theme="dark"] .pdp-gallery__main,
html[data-theme="dark"] .pdp-gallery__thumb,
html[data-theme="dark"] .pdp-alts__img,
html[data-theme="dark"] .pdp-rec__ph {
  background: linear-gradient(135deg, #1c2529 0%, #252525 100%);
}
html[data-theme="dark"] .pdp__title,
html[data-theme="dark"] .pdp__price,
html[data-theme="dark"] .pdp-sticky__price {
  color: #f2f4f4;
}
html[data-theme="dark"] .pdp__brand,
html[data-theme="dark"] .pdp__unit,
html[data-theme="dark"] .pdp__meta {
  color: #b6bdc0;
}
html[data-theme="dark"] .pdp-sticky__cta,
html[data-theme="dark"] .pdp__add {
  background: #9dcb9a;
  color: #0f351a;
}
html[data-theme="dark"] .pdp-sticky__cta:hover,
html[data-theme="dark"] .pdp__add:hover {
  background: #2a7337;
  color: #fff;
}
