/* Mamma Mia add-on shelf — shop.mammamia.ph
 *
 * The four 1.5 L soft drinks shown in the cart and at checkout. The palette is the
 * shop's own: dark red #870a08, warm cream #fdf8f0, a little gold for the price.
 */

.mm-addons {
  margin: 18px 0 22px;
  padding: 16px 18px 18px;
  border: 1px solid #ead9c8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8 0%, #fdf5e9 100%);
  box-shadow: 0 8px 24px rgba(135, 10, 8, .06);
}

.mm-addons__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mm-addons__head h2 {
  margin: 0;
  color: #870a08;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.mm-addons__head p {
  margin: 0;
  color: #7a6257;
  font-size: .92rem;
}

.mm-addons__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mm-addon {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #eee1d2;
  border-radius: 14px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.mm-addon:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(135, 10, 8, .10);
}

.mm-addon__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 138px;
  padding: 8px;
  background: #fff;
}

.mm-addon__photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mm-addon__bottle {
  font-size: 3rem;
  line-height: 1;
}

.mm-addon__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 12px 12px;
}

.mm-addon__name {
  margin: 0 0 4px;
  color: #870a08;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.2;
}

.mm-addon__copy {
  flex: 1;
  margin: 0 0 10px;
  color: #7a6257;
  font-size: .82rem;
  line-height: 1.35;
}

.mm-addon__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mm-addon__price {
  color: #870a08;
  font-size: 1.12rem;
  font-weight: 800;
  white-space: nowrap;
}

.mm-addon__button {
  min-width: 66px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: #870a08;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.mm-addon__button:hover {
  background: #a51210;
}

.mm-addon__button:active {
  transform: scale(.97);
}

.mm-addon__button.is-added {
  background: #1B7F4B;
}

.mm-addons__note {
  min-height: 1.1em;
  margin: 10px 0 0;
  color: #B3122E;
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .mm-addons__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .mm-addons {
    padding: 13px;
  }
  .mm-addons__grid {
    gap: 9px;
  }
  .mm-addon__photo {
    height: 112px;
  }
  .mm-addon__name {
    font-size: .9rem;
  }
  .mm-addon__copy {
    display: none;
  }
  .mm-addon__button {
    min-width: 54px;
    padding: 6px 10px;
  }
}

/* ── Add-on product page ─────────────────────────────────────────────────────
 * The four cold drinks are bottles, not plates: the transparent PNG gets a warm
 * cream stage so it reads as a product shot, and the Description tab becomes a
 * short sales page instead of a plain paragraph.
 */
body.mm-is-addon #product-info .image {
  padding: 18px;
  border: 1px solid #f0e2d0;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, #fffdf8 0%, #fdf3e3 70%, #f8e8d2 100%);
}

body.mm-is-addon #product-info .image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

body.mm-is-addon #product-info h1 {
  color: #870a08;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 800;
}

.mm-addon-pitch {
  padding: 18px 20px 20px;
  border: 1px solid #ead9c8;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf8 0%, #fdf5e9 100%);
}

.mm-addon-pitch__kicker {
  margin: 0 0 8px;
  color: #870a08;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mm-addon-pitch__lead {
  margin: 0 0 10px;
  color: #3c211b;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
}

.mm-addon-pitch__body {
  margin: 0 0 14px;
  color: #5c4a41;
  font-size: .96rem;
  line-height: 1.55;
}

.mm-addon-pitch__points {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.mm-addon-pitch__points li {
  position: relative;
  margin: 0 0 7px;
  padding-left: 24px;
  color: #5c4a41;
  font-size: .92rem;
  line-height: 1.45;
}

.mm-addon-pitch__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1B7F4B;
  font-weight: 900;
}

.mm-addon-pitch__cta {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #870a08;
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  text-align: center;
}

/* The category card is a bottle, not a plate: give the photo room to breathe. */
body.mm-addon-category #product-list .product-thumb .image {
  padding: 12px;
  background: radial-gradient(circle at 50% 35%, #fffdf8 0%, #fdf3e3 75%, #f8e8d2 100%);
}

body.mm-addon-category #product-list .product-thumb .image img {
  height: 230px;
  object-fit: contain;
}

@media (max-width: 575px) {
  body.mm-is-addon #product-info .image {
    padding: 12px;
  }
  body.mm-is-addon #product-info .image img {
    max-height: 330px;
  }
  .mm-addon-pitch {
    padding: 14px 15px 16px;
  }
  .mm-addon-pitch__lead {
    font-size: 1.05rem;
  }
  body.mm-addon-category #product-list .product-thumb .image img {
    height: 180px;
  }
}
