/* Hello Healthy Enhancements — shared front-end styles */

.hh-stars { white-space: nowrap; letter-spacing: 1px; }
.hh-star-filled, .hh-star-half { color: #f5a623; }
.hh-star-empty { color: #d8d8d8; }

/* ---------- Reviews ---------- */
.hh-reviews-section { padding: 48px 0; }
.hh-reviews-section .container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.hh-rating-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 24px; }
.hh-rating-number { font-weight: 700; font-size: 20px; }
.hh-rating-count { color: #6b6b6b; }
.hh-review-item { border-top: 1px solid #ececec; padding: 16px 0; }
.hh-review-item-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.hh-verified-badge { background: #e8f6ec; color: #1e7d32; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 12px; }
.hh-review-date { color: #9a9a9a; font-size: 13px; margin-left: auto; }
.hh-review-text { margin: 4px 0 0; color: #333; }
.hh-review-cta { margin-top: 20px; font-weight: 600; }
.hh-star-input { display: inline-flex; flex-direction: row-reverse; font-size: 26px; }
.hh-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.hh-star-input label { color: #d8d8d8; cursor: pointer; padding: 0 2px; }
.hh-star-input input:checked ~ label,
.hh-star-input label:hover,
.hh-star-input label:hover ~ label { color: #f5a623; }

/* ---------- Recipes ---------- */
.hh-recipes-section { padding: 48px 0; background: #fafaf7; }
.hh-recipes-section .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.hh-recipe-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.hh-recipes-section .container h2{color: #470904;
    font-family: 'Zen Old Mincho', sans-serif;
    font-weight: bold;}
.hh-recipe-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.hh-recipe-card__img img { width: 100%; height: 150px; object-fit: cover; display: block; }
.hh-recipe-card__body { padding: 14px 16px; }
.hh-recipe-card__body h3 { font-size: 16px; margin: 0 0 6px; }
.hh-recipe-card__body h3 a { color: inherit; text-decoration: none; }
.hh-recipe-card__meta { display: flex; gap: 12px; font-size: 13px; color: #6b6b6b; margin: 0 0 10px; }
.hh-recipe-card__cta { font-weight: 600; text-decoration: none; }

/* ---------- Promo popup ---------- */
.hh-promo-popup { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.hh-promo-popup.is-visible { display: flex; }
.hh-promo-popup__overlay { position: absolute; inset: 0; background: rgba(20,20,20,.55); }
.hh-promo-popup__box { position: relative; background: #fff; border-radius: 14px; max-width: 380px; width: 90%; padding: 34px 28px 28px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.25); animation: hhPopIn .25s ease; }
@keyframes hhPopIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.hh-promo-popup__close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 16px; cursor: pointer; color: #888; }
.hh-promo-popup__eyebrow { font-weight: 700; letter-spacing: .5px; margin: 0 0 6px; }
.hh-promo-popup__desc { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.hh-promo-popup__code { margin: 0 0 18px; color: #444; }
.hh-promo-popup__cta { display: inline-block;
    background: #FFF0F0;
    color: #470904;
    text-decoration: none;
    padding: 12px 36px;
    border-radius: 30px;
    font-weight: 700;
    border: 1px solid #470904;
    box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, 0.3);
	letter-spacing: 0.69px;
	transition: all 0.2s ease-in-out; }

/* ---------- Cross-sell popup ---------- */
.hh-cross-sell-popup { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.hh-cross-sell-popup.is-visible { display: flex; }
.hh-cross-sell-popup__overlay { position: absolute; inset: 0; background: rgba(20,20,20,.5); }
.hh-cross-sell-popup__box { position: relative; background: #fff; border-radius: 14px; max-width: 460px; width: 92%; max-height: 85vh; overflow-y: auto; padding: 26px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.hh-cross-sell-popup__close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 16px; cursor: pointer; color: #888; }
.hh-cross-sell-popup__subtitle { color: #6b6b6b; margin: 0 0 14px; }
.hh-cross-sell-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f0f0f0; }
.hh-cross-sell-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.hh-cross-sell-item__info { flex: 1; }
.hh-cross-sell-item__name { font-weight: 600; font-size: 14px; }
.hh-cross-sell-item__price { color: #6b6b6b; font-size: 13px; }
.hh-cross-sell-item__add { border: 1px solid #1e7d32; color: #1e7d32; background: #fff; border-radius: 20px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.hh-cross-sell-item__add.is-added { background: #1e7d32; color: #fff; }
.hh-cross-sell-popup__actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hh-cross-sell-popup__actions .button { flex: 1; text-align: center; }

@media (max-width: 480px) {
	.hh-promo-popup__box, .hh-cross-sell-popup__box { padding: 22px 16px; }
}
