/* ==========================================================================
   Marmaduke Pets — Gifts & Combos
   ========================================================================== */

/* ---------- Gift wrap option (product page) ---------- */
.mp-gift-option { flex-basis: 100%; margin: 0 0 14px; border: 2px dashed #f2c7d4; border-radius: 18px; background: #fff8fa; transition: border-color .15s, background .15s; }
.mp-gift-option.is-on { border-style: solid; border-color: #e46a8d; background: #fff0f4; }
.mp-gift-option__toggle { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; margin: 0; }
.mp-gift-option__toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mp-gift-option__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #e9a3b8; background: #fff; }
.mp-gift-option.is-on .mp-gift-option__box { background: #e46a8d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: #e46a8d; }
.mp-gift-option__toggle input:focus-visible ~ .mp-gift-option__box { outline: 3px solid #e46a8d; outline-offset: 2px; }
.mp-gift-option__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #ffe1ea; color: #c23d66; }
.mp-gift-option__text { display: grid; gap: 2px; }
.mp-gift-option__text strong { font-family: var(--mp-font-head); font-weight: 700; color: var(--mp-ink); font-size: 15.5px; }
.mp-gift-option__price { color: #b8325b; font-weight: 800; }
.mp-gift-option__text small { color: var(--mp-muted); font-size: 13.5px; }
.mp-gift-option__message { padding: 0 16px 14px; }
.mp-gift-option__message label { display: block; font-family: var(--mp-font-head); font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--mp-ink); }
.mp-gift-option__message textarea { width: 100%; min-height: 84px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #f0c4d1; background: #fff; font-size: 15px; resize: vertical; }
.mp-gift-option__message textarea:focus { outline: 0; border-color: #e46a8d; box-shadow: 0 0 0 4px rgba(228, 106, 141, .15); }

/* ---------- Combo box (product page) ---------- */
.mp-combo-box { margin: 4px 0 18px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #fff7e6, #fff1d6); border: 1px solid #f6dfa8; }
.mp-combo-box__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.mp-combo-box__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: #f59e0b; color: #3b2300; font-family: var(--mp-font-head); font-weight: 700; font-size: 13px; }
.mp-combo-box__save { font-family: var(--mp-font-head); font-weight: 800; color: #9a4507; }
.mp-combo-box__title { font-size: 16px; margin: 0 0 8px; }
.mp-combo-box__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mp-combo-box__items a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: #fff; color: var(--mp-ink); font-size: 14.5px; }
.mp-combo-box__items a:hover { box-shadow: var(--mp-shadow-sm); color: var(--mp-ink); }
.mp-combo-box__items img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--mp-bg); }
.mp-combo-box__name strong { color: #9a4507; }
.mp-combo-box__price { font-weight: 700; color: var(--mp-muted); }
.mp-combo-box__total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed #e9c97e; font-size: 14.5px; }
.mp-combo-box__total strong { font-family: var(--mp-font-head); font-size: 18px; color: var(--mp-ink); }
.mp-badge--combo { background: #f59e0b; color: #3b2300; }

/* ---------- Combos band (homepage) ---------- */
.mp-combos-band__inner { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--mp-r-xl); background: linear-gradient(120deg, #fff7e6 0%, #ffefcc 100%); border: 1px solid #f6dfa8; }
.mp-combos-band__intro .mp-tag-pill { background: #f59e0b; color: #3b2300; }
.mp-combos-band__intro .mp-section-title { margin: 14px 0 8px; }
.mp-combos-band__intro p { color: var(--mp-text); margin: 0 0 18px; }
.mp-combos-band__slider .mp-carousel__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }

/* ---------- Gifts band (homepage) ---------- */
.mp-gifts-band__hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 300px; padding: clamp(24px, 4vw, 48px); border-radius: var(--mp-r-xl); background: linear-gradient(110deg, #7d2846 0%, #b53f66 45%, #e98aa6 100%); margin-bottom: 20px; }
.mp-gifts-band__hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 58%; background: var(--mp-hero-img) center 35% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.mp-gifts-band__content { max-width: 520px; color: #fff; }
.mp-gifts-band__title { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 14px 0 8px; }
.mp-gifts-band__content p { color: rgba(255, 255, 255, .96); margin: 0 0 14px; }
.mp-gifts-band__content .mp-checklist { margin-bottom: 20px; }
.mp-gifts-band__content .mp-checklist .mp-icon { background: #fff; color: #b53f66; }
.mp-tag-pill--light { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px); }

/* ---------- Gift shop page ---------- */
.mp-giftwrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 28px; margin-bottom: 10px; border-radius: 24px; background: #fff0f4; border: 1px solid #f6cbd8; }
.mp-giftwrap__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: #e46a8d; color: #fff; }
.mp-giftwrap h2 { font-size: 24px; margin: 0 0 4px; }
.mp-giftwrap p { margin: 0; }
.mp-giftwrap__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.mp-giftwrap__steps li { display: grid; justify-items: center; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #fff; font-weight: 700; font-size: 13px; text-align: center; min-width: 96px; }
.mp-giftwrap__steps strong { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e46a8d; color: #fff; font-family: var(--mp-font-head); }

/* ---------- "Save with a combo" (product pages) ---------- */
.mp-in-combo { margin: 0 0 18px; padding: 14px; border-radius: 18px; background: #fff7e6; border: 1px solid #f6dfa8; }
.mp-in-combo__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--mp-font-head); font-weight: 700; color: #7a3f04; }
.mp-in-combo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mp-in-combo a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: #fff; color: var(--mp-ink); }
.mp-in-combo a:hover { box-shadow: var(--mp-shadow-sm); color: var(--mp-ink); }
.mp-in-combo img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.mp-in-combo strong { display: block; font-size: 14.5px; line-height: 1.3; }
.mp-in-combo small { color: #7a3f04; font-weight: 700; }

/* ---------- Mix & Match ---------- */
.mp-mix-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 14px; border-radius: 999px; background: #ede9fe; color: #4c1d95; font-size: 14px; }
.mp-mix-pill:hover { background: #ddd6fe; color: #4c1d95; }
.mp-badge--mix { background: #ede9fe; color: #4c1d95; }
.mp-mix-msgs { display: grid; gap: 8px; margin: 0 0 16px; }
.mp-mix-msg { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 14px; font-weight: 600; font-size: 14.5px; }
.mp-mix-msg--todo { background: #ede9fe; color: #4c1d95; }
.mp-mix-msg--ok { background: var(--mp-ok-bg); color: var(--mp-ok); }
.mp-mix-msg a { margin-left: auto; font-weight: 800; color: inherit; text-decoration: underline; }
.mp-minicart .mp-mix-msgs { margin: 0 0 10px; }

.mp-mix-cards { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mp-mix-card { display: grid; gap: 6px; height: 100%; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #f5f3ff, #ede9fe); border: 1px solid #ddd6fe; color: #2e1065; transition: transform .2s, box-shadow .2s; }
.mp-mix-card:hover { transform: translateY(-3px); box-shadow: var(--mp-shadow); color: #2e1065; }
.mp-mix-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #7c3aed; color: #fff; }
.mp-mix-card strong { font-family: var(--mp-font-head); font-size: 19px; line-height: 1.25; }
.mp-mix-card small { color: #5b21b6; font-weight: 700; }
.mp-mix-card .mp-link-arrow { color: #5b21b6; }

/* ---------- Combo deals page ---------- */
.mp-usps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.mp-combos-page__filter { margin-bottom: 18px; }
.mp-product-grid--combos li[hidden] { display: none !important; }

@media (max-width: 980px) {
	.mp-combos-band__inner { grid-template-columns: 1fr; }
	.mp-combos-band__slider .mp-carousel__track { grid-auto-columns: calc((100% - 12px) / 2.1); }
	.mp-gifts-band__hero::before { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
	.mp-giftwrap { grid-template-columns: 1fr; }
	.mp-usps--3 { grid-template-columns: 1fr; }
}
