/* Combo offers (/combos, /combos/[slug]) - layout mirrors the MyPinacle-Ecom sweet_crave
   combo pages (deal cards, detail + "What's included"); colours/fonts use epetzo tokens. */

.combo-section { padding: 2.2rem 0 3rem; }
.page-combo .combo-section { padding-top: 1.1rem; padding-bottom: 2rem; }

.combo-panel { padding: 0.35rem 0 0.5rem; text-align: center; }
.combo-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--action-border);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.combo-eyebrow::before,
.combo-eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--action-border); }
.combo-panel-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  color: var(--text);
  margin: 0 0 0.6rem;
}
.combo-page-lead { color: var(--muted); max-width: 42rem; margin: 0 auto 1.35rem; }
.combo-empty { margin: 1rem 0 0; }

/* grid: 3 per row, centred when fewer (reference .combo-grid) */
.combo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.35rem; text-align: left; }
.combo-grid > .combo-card { width: calc((100% - 2.7rem) / 3); min-width: 0; }
.combo-grid[data-cols="2"] > .combo-card { width: min(420px, calc((100% - 1.35rem) / 2)); }
.combo-grid[data-cols="1"] > .combo-card { width: min(440px, 100%); }

/* card (reference .deal-card) */
.combo-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.combo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.combo-card-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.combo-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.combo-card:hover .combo-card-media img { transform: scale(1.04); }
.combo-card-body { padding: 1.05rem 1.25rem 1.15rem; display: flex; flex-direction: column; flex: 1; background: #fff; }
.combo-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--action-border);
  margin-bottom: 0.28rem;
}
.combo-card h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--text); margin: 0; line-height: 1.2; }
.combo-card h3 a { color: inherit; text-decoration: none; }
.combo-card h3 a:hover { color: var(--teal); }
.combo-card-desc { font-size: 0.9rem; line-height: 1.5; color: var(--muted); margin: 0.4rem 0 0; }
.combo-card-foot {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.combo-price { font-weight: 800; color: var(--text); font-size: 1.28rem; margin: 0; }

/* cart icon + Buy (reference combo-buttons), epetzo action buttons */
.combo-atc { display: inline-flex; align-items: center; gap: 0.5rem; }
.combo-btn-cart,
.combo-btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--action-border);
  background: linear-gradient(180deg, var(--action) 0%, var(--action-deep) 100%);
  color: var(--action-text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 14px -6px rgba(190, 150, 50, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.combo-btn-cart { width: 2.5rem; padding: 0; }
.combo-btn-buy { padding: 0.45rem 1rem; font-size: 0.92rem; }
.combo-btn-cart:hover,
.combo-btn-buy:hover { transform: translateY(-1px); filter: brightness(1.03); }
.combo-btn-buy svg { transition: transform 0.25s ease; }
.combo-btn-buy:hover svg { transform: translateX(3px); }
.combo-btn-cart:focus-visible,
.combo-btn-buy:focus-visible { outline: 3px solid rgba(24, 119, 242, 0.45); outline-offset: 2px; }

/* pager */
.combo-pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.combo-pager a,
.combo-pager span { color: var(--text); font-weight: 700; }
.combo-pager a:hover { color: var(--teal); }
.combo-pager .is-disabled { opacity: 0.4; }

/* detail */
.combo-back { display: inline-flex; align-items: center; gap: 0.25rem; margin-bottom: 0.7rem; font-size: 0.82rem; font-weight: 700; color: var(--teal); }
.combo-back:hover { color: var(--teal-deep); }
.combo-detail {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 0.85rem 1.15rem;
  align-items: stretch;
  padding: 0.55rem;
  background: linear-gradient(180deg, #fff, var(--surface));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}
.combo-detail-media { border-radius: 20px; overflow: hidden; background: var(--surface-2); min-height: 100%; height: 100%; }
.combo-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.combo-detail-copy { display: flex; flex-direction: column; min-width: 0; padding: 0.45rem 0.55rem 0.4rem 0.15rem; justify-content: center; }
.combo-detail-eyebrow { color: var(--action-border); font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; }
.combo-detail-copy h1 { font-family: var(--display); color: var(--text); margin: 0.15rem 0 0.35rem; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 0.95; }
.combo-detail-copy > p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; max-width: 36rem; }
.combo-detail-copy > .combo-detail-price { color: var(--text); font-size: 2.45rem; font-weight: 800; letter-spacing: -0.03em; margin: 0.65rem 0 0.55rem; line-height: 1; }
.combo-buy-row { display: flex; align-items: center; margin: 0 0 0.85rem; }
.combo-buy-row .combo-atc { gap: 0.7rem; }
.combo-buy-row .combo-btn-cart { width: 2.85rem; height: 2.85rem; }
.combo-buy-row .combo-btn-cart svg { width: 18px; height: 18px; }
.combo-buy-row .combo-btn-buy { height: 2.85rem; padding: 0.5rem 1.2rem; font-size: 1rem; }
.combo-includes { margin-top: 0.15rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.combo-includes-label { display: block; margin-bottom: 0.45rem; color: var(--text); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.combo-include-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.combo-include-list[data-count="1"] { grid-template-columns: minmax(0, 280px); }
.combo-include {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.35rem 0.35rem 0.45rem;
  background: #fff;
  border: 1px solid rgba(24, 119, 242, 0.12);
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.combo-include:hover { transform: translateY(-2px); border-color: var(--action-border); box-shadow: var(--shadow-sm); }
.combo-include-link { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 0.55rem; align-items: center; color: inherit; text-decoration: none; }
.combo-include-link img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 10px rgba(42, 54, 66, 0.08); background: var(--surface-2); }
.combo-include-copy { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.combo-include-title { display: flex; align-items: center; gap: 0.4rem; min-width: 0; }
.combo-include-copy strong { color: var(--text); font-size: 0.86rem; line-height: 1.2; min-width: 0; }
.combo-include-qty {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.35rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
.combo-include-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.combo-include-meta { display: flex; flex-wrap: wrap; gap: 0.28rem; margin: 0.4rem 0.15rem 0; }
.combo-include-meta span,
.combo-include-meta a {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}
.combo-include-meta a:hover { background: var(--teal); color: #fff; }

@media (max-width: 900px) {
  .combo-grid > .combo-card { width: calc((100% - 1rem) / 2) !important; }
  .combo-grid { gap: 1rem; }
  .combo-grid[data-count="1"] > .combo-card { width: min(440px, 100%) !important; }
  .combo-detail,
  .combo-include-list { grid-template-columns: 1fr; }
  .combo-detail-media { aspect-ratio: 16 / 10; max-height: 240px; }
  .combo-detail-copy { padding-right: 0.15rem; }
}
@media (max-width: 560px) {
  .combo-grid > .combo-card { width: 100% !important; }
}

/* "Combo Offers" entry in the header category bar */
.catbar-nav .catbar-combo { display: inline-flex; align-items: center; gap: 0.3rem; }
.catbar-combo-ico { font-size: 0.95em; line-height: 1; }

/* "Combo Offers" chip in the feed category bar (sits with Bestsellers / Pet Parents) */
.cat-quick-chip--combo .cat-quick-ico { background: #fff4d6; }
