/* ════════════════════════════════════════════════════════════════════
   COMBO PACKS — Dedicated card + grid styles
   Used on: index.php homepage section, shop.php promo strip,
            shop.php dedicated combo grid (?cat=combo-packs)
   ════════════════════════════════════════════════════════════════════ */

/* ─── GRID CONTAINERS ──────────────────────────────────────────── */

/* Homepage combo section — full width on mobile, 2-up on desktop */
.combo-grid-v8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 16px 24px;
}

/* Shop page promo strip (when not filtering by combo-packs) */
.combo-strip-v8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 8px 16px 18px;
  margin-bottom: 8px;
}
.combo-strip-v8-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 10px;
  margin-bottom: 4px;
}
.combo-strip-v8-header h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  margin: 0;
  color: #1A1A1A;
}
.combo-strip-v8-header h3 em {
  color: #C9A24A;
  font-style: italic;
}
.combo-strip-v8-header a {
  font-size: 11px;
  color: #0B4F2F;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Shop dedicated combo grid (?cat=combo-packs) */
.combo-shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 8px 16px 24px;
}

/* Shop hero header for combo category */
.combo-shop-hero {
  background: linear-gradient(135deg, #0B4F2F 0%, #06351F 100%);
  color: #FAF7EF;
  padding: 28px 20px 32px;
  border-radius: 0;
  margin: 0 0 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.combo-shop-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(172, 147, 98, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.combo-shop-hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(172, 147, 98, 0.18);
  border: 1px solid rgba(172, 147, 98, 0.4);
  color: #C9A24A;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.combo-shop-hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 28px;
  margin: 0 0 8px;
  line-height: 1.15;
  font-weight: 600;
  color: #FAF7EF;
  position: relative;
  z-index: 1;
}
.combo-shop-hero h1 em {
  color: #C9A24A;
  font-style: italic;
}
.combo-shop-hero p {
  font-size: 13px;
  margin: 0;
  color: rgba(250, 247, 239, 0.85);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.combo-shop-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  margin: 12px 16px 0;
  font-size: 12px;
  color: #0B4F2F;
  text-decoration: none;
  font-weight: 600;
}

/* ─── COMBO CARD ───────────────────────────────────────────────── */

.combo-pcard {
  position: relative;
  background: #fff;
  border: 1px solid rgba(172, 147, 98, 0.28);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.22s;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.combo-pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(11, 79, 47, 0.12);
  border-color: rgba(172, 147, 98, 0.5);
}
.combo-pcard:focus-visible {
  outline: 2px solid #C9A24A;
  outline-offset: 2px;
}
.combo-pcard.is-oos { opacity: 0.6; }

/* Media area */
.combo-pcard-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #F3E8D0 0%, #E8DBB8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.combo-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.combo-pcard-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #AC9362;
  opacity: 0.5;
}

.combo-pcard-badge {
  position: absolute;
  top: 14px;
  left: 0;
  padding: 6px 14px 6px 12px;
  background: #C9A24A;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%);
  z-index: 2;
}

.combo-pcard-save {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  background: #C44;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.combo-pcard-wish {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
  z-index: 2;
  transition: transform 0.15s, color 0.15s;
}
.combo-pcard-wish:hover { transform: scale(1.08); color: #C44; }
.combo-pcard-wish.on { color: #C44; fill: #C44; }
.combo-pcard-wish.on svg { fill: #C44; }

/* Body */
.combo-pcard-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.combo-pcard-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #AC9362;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.combo-pcard-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C9A24A;
}

.combo-pcard-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #0B4F2F;
  margin: 0 0 6px;
  line-height: 1.2;
}

.combo-pcard-tagline {
  font-size: 13px;
  color: #6f6760;
  line-height: 1.5;
  margin: 0 0 14px;
}

/* Item thumbnails strip */
.combo-pcard-thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.combo-pcard-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #FAF7EF;
  border: 1px solid rgba(172, 147, 98, 0.22);
  overflow: hidden;
  flex-shrink: 0;
}
.combo-pcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.combo-pcard-thumb-fb {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #AC9362;
  opacity: 0.5;
}
.combo-pcard-thumb-qty {
  position: absolute;
  bottom: -3px;
  right: -3px;
  padding: 2px 5px;
  background: #0B4F2F;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 100px;
  border: 2px solid #fff;
  line-height: 1;
}
.combo-pcard-thumb-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #AC9362;
  background: rgba(172, 147, 98, 0.1);
  border-style: dashed;
}

/* Items list (text-detailed) */
.combo-pcard-items {
  list-style: none;
  padding: 12px 0 0;
  margin: 0 0 14px;
  border-top: 1px dashed rgba(172, 147, 98, 0.3);
  font-size: 12.5px;
  color: #1A1A1A;
}
.combo-pcard-items li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  line-height: 1.4;
}
.combo-pcard-item-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(11, 79, 47, 0.1);
  color: #0B4F2F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.combo-pcard-item-name {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  color: #1A1A1A;
}
.combo-pcard-item-size {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}
.combo-pcard-item-qty {
  font-size: 11.5px;
  font-weight: 700;
  color: #0B4F2F;
  margin-left: auto;
  flex-shrink: 0;
}

/* Rating row */
.combo-pcard-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
}
.combo-pcard-stars {
  display: inline-flex;
  align-items: center;
  letter-spacing: -1px;
  font-size: 14px;
}
.combo-pcard-stars .star.full { color: #C9A24A; }
.combo-pcard-stars .star.empty { color: #DDD3BD; }
.combo-pcard-stars .star.half {
  color: #C9A24A;
  background: linear-gradient(90deg, #C9A24A 50%, #DDD3BD 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.combo-pcard-rating-num {
  font-weight: 700;
  color: #1A1A1A;
}
.combo-pcard-rating-count {
  color: #888;
  font-size: 11.5px;
}

/* Footer (price + CTA) */
.combo-pcard-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(172, 147, 98, 0.18);
}
.combo-pcard-price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.combo-pcard-price {
  font-family: 'Lora', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #0B4F2F;
  line-height: 1;
}
.combo-pcard-mrp {
  font-size: 14px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 500;
}
.combo-pcard-saved {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #C44;
  letter-spacing: 0.02em;
}

.combo-pcard-cta {
  width: 100%;
  height: 48px;
  background: #0B4F2F;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}
.combo-pcard-cta:hover { background: #06351F; }
.combo-pcard-cta:active { transform: scale(0.98); }
.combo-pcard-cta:disabled {
  background: #ccc;
  color: #fff;
  cursor: not-allowed;
}
.combo-pcard-cta.added {
  background: #2D7A3F;
}

/* ─── DESKTOP — 2 per row + bigger spacing ─────────────────── */
@media (min-width: 768px) {
  .combo-grid-v8 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 28px;
  }
  .combo-strip-v8 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 8px 24px 20px;
  }
  .combo-strip-v8-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 10px;
  }
  .combo-shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 36px;
  }
  .combo-shop-hero {
    border-radius: 20px;
    margin: 16px 24px 24px;
    padding: 56px 40px 56px;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
  }
  .combo-shop-hero h1 { font-size: 40px; }
  .combo-shop-hero p { font-size: 15px; max-width: 600px; }

  .combo-pcard-name { font-size: 22px; }
  .combo-pcard-tagline { font-size: 14px; }
  .combo-pcard-items { font-size: 13.5px; }
  .combo-pcard-price { font-size: 30px; }
  .combo-pcard-thumb { width: 60px; height: 60px; }
  .combo-pcard-body { padding: 22px 22px 24px; }
}

/* ─── ON SHOP DEDICATED COMBO PAGE — hide regular product grid ──── */
.shop-combo-mode .prod-grid,
.shop-combo-mode .filter-row,
.shop-combo-mode .sort-row {
  display: none !important;
}