/* Keep the product itself opaque; feather only this packshot’s empty outer margins. */
.product-image-button > img,
.category-product img,
.search-thumbnail img,
.product-zoom {
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
/* Pouch bounds in the square source: x 18–81%, y 6–94%.
   The fully opaque rectangle encloses those bounds with a safety margin. */
img[src*="katimama-csokolades-granola"] {
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent),
    linear-gradient(0deg, transparent, #000 4%, #000 95%, transparent);
  mask-image:
    linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent),
    linear-gradient(0deg, transparent, #000 4%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  padding: 28px 0 22px;
}
.product-breadcrumb a:hover {
  text-decoration: underline;
}
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
  align-items: start;
}
.product-gallery {
  min-width: 0;
}
.product-image-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.product-image-button > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.product-image-button > span {
  position: absolute;
  right: 8%;
  bottom: 4%;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: var(--green);
  background: #f6eddfdd;
  border-radius: 20px;
  padding: 7px 11px;
}
.product-image-button svg {
  width: 15px;
  height: 15px;
}
.product-image-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  max-width: 410px;
  margin: 16px auto 0;
}
.product-summary {
  padding-top: 35px;
}
.product-summary .eyebrow {
  margin-bottom: 17px;
}
.product-summary h1 {
  font-size: clamp(35px, 3.9vw, 53px);
  letter-spacing: -1.7px;
  margin-bottom: 20px;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 23px;
}
.product-tags span {
  font-size: 11px;
  background: #e5e4ce;
  padding: 4px 11px;
  border-radius: 20px;
  color: #536438;
}
.product-description {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #617341;
  font-size: 11px;
  margin: 20px 0 28px;
}
.product-highlights span:before {
  content: "·";
  margin-right: 7px;
}
.product-purchase {
  padding: 24px 0;
  background: radial-gradient(ellipse at 40% 50%, #ece0c8b0, transparent 75%);
}
.product-price-label {
  font: 25px var(--serif);
  color: var(--green);
}
.product-purchase > p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 20px;
}
.product-purchase > a {
  font-size: 11px;
  display: block;
  text-align: center;
  margin-top: 13px;
  color: var(--green);
}
.product-shipping {
  display: flex;
  gap: 13px;
  margin-top: 20px;
  align-items: start;
  color: #607643;
}
.product-shipping p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}
.product-shipping strong {
  display: block;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 4px;
}
.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 85px 0 50px;
}
.product-story h2 {
  font-size: 36px;
}
.product-story > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 430px;
}
.product-accordions details {
  border-bottom: 1px solid #dcd7c5;
  padding: 0 0 18px;
  margin-bottom: 20px;
}
.product-accordions summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  padding-block: 10px;
}
.product-accordions p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 15px 0 0;
}
.product-accordions strong {
  color: var(--text);
}
.product-accordions a {
  font-size: 12px;
  color: var(--green);
  display: inline-block;
  margin-top: 14px;
  text-decoration: underline;
}
.product-accordions .product-allergen-note {
  background: #ecdfcaba;
  border-radius: 10px;
  padding: 14px;
  color: #5a4930;
}
.product-accordions p.product-data-note {
  font-size: 10px;
}
.product-back {
  margin-bottom: 55px;
}
.product-zoom {
  max-width: 100%;
  height: auto;
  display: block;
}
.category-product {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #ede4d366;
  border-radius: 15px;
  padding: 12px;
  margin: 18px 0;
}
.category-product img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 8px;
}
.category-product strong {
  font-size: 13px;
  display: block;
  line-height: 1.4;
}
.category-product small {
  font-size: 10px;
  color: var(--muted);
}
.search-thumbnail img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 7px;
}
@media (max-width: 900px) {
  .product-layout {
    gap: 30px;
  }
  .product-summary {
    padding-top: 15px;
  }
  .product-details {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .product-breadcrumb {
    font-size: 10px;
    padding-top: 20px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .product-gallery {
    max-width: 450px;
    width: 100%;
    margin: auto;
  }
  .product-summary {
    padding: 0 7px;
  }
  .product-summary h1 {
    font-size: 40px;
  }
  .product-description {
    font-size: 13px;
  }
  .product-details {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 52px;
    padding-inline: 7px;
  }
  .product-story h2 {
    font-size: 31px;
  }
  .product-image-note {
    font-size: 9px;
  }
  .product-back {
    margin-bottom: 35px;
  }
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.nutrition-table caption {
  text-align: left;
  padding: 12px 0;
  font-weight: 600;
}
.nutrition-table th,
.nutrition-table td {
  padding: 9px 0;
  border-bottom: 1px solid #1c3c1c18;
}
.nutrition-table th {
  text-align: left;
  font-weight: 400;
}
.nutrition-table td {
  text-align: right;
  white-space: nowrap;
}
