/* =========================
   Pakej Combo (Premium)
   ========================= */

/* ---- Base reset (ringkas) ---- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.45;
  color: #0f172a;
  background: #ffffff;
}

header {
  background-color: #e0f2f1;
  padding: 0 20px;
  position: static;
  top: 0;
  z-index: 999;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 80px;
  margin-right: 15px;
  object-fit: contain;
}

.nama-bisnes {
  font-size: 24px;
  color: #00695c;
  margin: 0;
  text-transform: uppercase; /* ✅ ini yang buat semua huruf besar */
}

/*Susunan Logo dan search bar */
.header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #e0f2f1;
  min-height: 80px; /* untuk stabilkan tinggi walaupun scroll */
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 20px;
  flex-wrap: wrap; /* ❗ penting */
}

.inner-header {
display: flex;
align-items: center;
gap: 40px; 
}

/*Search-form styling*/
.search-form {
  flex-grow: 1;
  max-width: 1000px;
  margin-left: auto;
  position: relative; /* untuk pastikan ikon dalam input kekal betul */
}

.search-form input[type="text"] {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #b0bec5;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  color: #004d40;
  background-color: white;
}

.search-form input[type="text"]::placeholder {
  color: #90a4ae;
  font-style: italic;
}

.search-form input[type="text"]:hover {
  border-color: #00796b;
  box-shadow: 0 0 3px #b2dfdb;
}

/* Ikon search dalam input */
.search-form .search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #00796b;
  font-size: 14px;
}

.search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #00796b;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.search-button:hover {
  color: #004d40;
}

.troli-link {
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0px;
  transition: transform 0.3s ease;
}

.troli-link:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.troli-text {
  text-decoration: none !important;
  font-weight: 600;
  font-size: 15px;
  color: #2e7d32;
}

.troli-count {
  font-size: 15px;
  font-weight: 600;
  color: #2e7d32;
  margin-left: 4px; /* Jarak rapat sikit dengan ikon */
}

.menu-bar {
  background-color: #e0f2f1;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid #ccc;
  position: static;
  top: 90px; /* ikut tinggi header */
  z-index: 998;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.menu-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 30px;
}

/* Paksa submenu susun menegak */
.menu-bar ul li a {
  text-decoration: none;
  font-size: 15px;
  color: #004d40;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-bar ul li a:hover {
  color: #00796b;
  background-color: transparent;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
}

.blink-icon {
  animation: blink 1s infinite;
  color: red;
  margin-right: 1px;
  font-size: 14px;
  position: relative;
  top: -1px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Container ---- */
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  display: flex;
  align-items: center;
  color: #2e7d32;
  font-size: 22px;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.icon-link:hover {
  transform: scale(1.1);
}

.wishlist-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.wishlist-icon:hover {
  transform: scale(1.1);
}

.login-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.troli-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header-icons a {
  color: #2e7d32;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-icons a:hover {
  opacity: 0.8;
}

.login-icon:hover {
  transform: scale(1.1);
}

.welcome-msg {
  font-size: 14px;
  color: #2e7d32;
  margin-left: 10px;
}

.suggestion-box div:hover {
  background-color: #f1f1f1;
}

/* ---- Buttons (premium) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 650;
  letter-spacing: 0.2px;
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: #0f766e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.28);
}

.btn-outline {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
}

.btn-outline:hover {
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: rgba(15, 23, 42, 0.78);
}

.btn-lg { padding: 14px 18px; border-radius: 16px; }

/* ---- Section spacing ---- */
.combo-section {
  padding: 56px 0;
}

.combo-section--soft {
  background: #f6faf9;
}

/* ---- Section headings ---- */
.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px 0;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: rgba(15, 23, 42, 0.74);
}

/* ✅ Ruang bawah supaya content tak kena lindung dengan bar sticky */
.combo-page #selection{
  padding-bottom: 120px;
}

@media (max-width: 768px){
  .combo-page #selection{
    padding-bottom: calc(130px + env(safe-area-inset-bottom));
  }
  .combo-summary{
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* =========================
   HERO
   ========================= */
.combo-hero {
  position: relative;
  padding: 34px 0 44px;
  overflow: hidden;
}

.combo-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 500px at 15% 10%, rgba(15, 118, 110, 0.16), transparent 60%),
              radial-gradient(900px 500px at 85% 30%, rgba(2, 132, 199, 0.12), transparent 60%),
              linear-gradient(180deg, #ffffff, #f6faf9);
}

.combo-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

/* ---- Collage 5 image ---- */
.combo-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 160px;
  gap: 12px;
}

.combo-collage__item {
  border-radius: 18px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.combo-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.combo-collage__item.is-big {
  grid-row: span 2;
}

/* ---- Hero content ---- */
.combo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.10);
  border: 1px solid rgba(15, 118, 110, 0.18);
  color: #0f766e;
  font-weight: 700;
  font-size: 13px;
}

.combo-title {
  margin: 0 0 10px 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.combo-subtitle {
  margin: 0 0 16px 0;
  color: rgba(15, 23, 42, 0.78);
  font-size: 16px;
}

.combo-highlights {
  margin: 0 0 18px 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.88);
}

.combo-highlights li { margin: 8px 0; }

/* ---- Rule box ---- */
.combo-rulebox {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.combo-rulebox__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.combo-rulebox__label {
  color: rgba(15, 23, 42, 0.70);
  font-weight: 650;
}

.combo-rulebox__value {
  font-weight: 800;
}

/* progress */
.combo-progress__text {
  display: block;
  font-weight: 650;
  margin-bottom: 10px;
}

.combo-progress__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.combo-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #0284c7);
  transition: width 180ms ease;
}

.combo-progress__hint {
  display: block;
  margin-top: 8px;
  color: rgba(15, 23, 42, 0.62);
}

.combo-note {
  margin: 12px 0 0 0;
  color: rgba(15, 23, 42, 0.62);
  font-size: 13px;
}

/* trust pills */
.combo-trust {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  font-weight: 650;
  font-size: 13px;
}

/* =========================
   PRODUCT GRID (cards akan datang)
   ========================= */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.combo-mini-note {
  margin: 18px 0 0 0;
  color: rgba(15, 23, 42, 0.66);
}

/* Summary bar */
.combo-summary{
  position: sticky;
  bottom: 14px;
  margin-top: 18px;

  /* ✅ Jangan tembus (ini punca “tindih”) */
  background: #fff;                 /* solid */
  backdrop-filter: none;            /* optional: buang blur supaya lagi jelas */

  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 18px 44px rgba(15,23,42,.12);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  /* ✅ Sentiasa atas content yang lalu */
  z-index: 50;
  isolation: isolate;               /* elak effect layer pelik */
}

.combo-summary__left strong { display: block; }
.combo-summary__left span { color: rgba(15, 23, 42, 0.70); }

.combo-summary__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.combo-summary__total small {
  display: block;
  color: rgba(15, 23, 42, 0.70);
  font-weight: 650;
}
.combo-summary__total strong {
  font-size: 18px;
}

/* =========================
   STEPS / FAQ / FINAL CTA (basic)
   ========================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq { display: grid; gap: 10px; }

/* Final CTA */
.final-cta {
  position: relative;
  padding: 52px 0;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 20% 30%, rgba(15, 118, 110, 0.18), transparent 60%),
              radial-gradient(900px 420px at 80% 30%, rgba(2, 132, 199, 0.14), transparent 60%),
              linear-gradient(180deg, #f6faf9, #ffffff);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.final-cta__inner h2 {
  margin: 0 0 6px 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.final-cta__inner p {
  margin: 0;
  color: rgba(15, 23, 42, 0.74);
}

.final-cta__note {
  margin-top: 8px !important;
  font-size: 13px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px) {
  .combo-hero__inner {
    grid-template-columns: 1fr;
  }
  .combo-collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .combo-collage__item.is-big { grid-row: span 1; }
  .combo-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .final-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .combo-section { padding: 44px 0; }
  .combo-grid { grid-template-columns: 1fr; }
  .combo-summary { flex-direction: column; align-items: stretch; }
  .combo-summary__right { justify-content: space-between; }
}

/* Product Card */
.combo-card{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
  display: grid;
  grid-template-rows: auto 1fr;
}

.combo-card__media{
  position: relative;
  display:block;
  aspect-ratio: 4/3;
  overflow:hidden;
  background: #fff;                 /* nampak lebih clean */
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.combo-card__img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 180ms ease;
  background: #fff;
}
.combo-card__media:hover .combo-card__img{ transform: scale(1.03); }

.combo-card__pill{
  position:absolute;
  left:12px;
  top:12px;
  padding: 6px 10px;
  border-radius:999px;
  background: rgba(15,118,110,.92);
  color:#fff;
  font-weight:700;
  font-size:12px;
}

.combo-card__body{ padding: 14px; }
.combo-card__title{ margin:0; font-size:18px; letter-spacing:-0.02em; }
.combo-card__subtitle{ margin:6px 0 0; color: rgba(15,23,42,.72); font-size:13px; }

.combo-card__meta{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.combo-card__price .price-now{ font-weight:800; }
.combo-card__price .price-was{
  margin-left:10px;
  color: rgba(15,23,42,.45);
  text-decoration: line-through;
  font-weight:650;
  font-size:13px;
}

.qty{
  display:flex;
  align-items:center;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  overflow:hidden;
  background:#fff;
}
.qty__btn{
  width: 40px;
  height: 38px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor:pointer;
}
.qty__input{
  width: 56px;
  height: 38px;
  border: none;
  text-align:center;
  outline:none;
  font-weight:700;
}

.combo-card__actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Single CTA button: center + nampak premium ===== */
.combo-card__actions{
  justify-content: center;
}

.combo-card__actions .btn-add{
  width: 100%;
  max-width: 420px;   /* boleh ubah: 360-480 ikut taste */
}

@media (max-width: 560px){
  .combo-card__actions .btn-add{
    max-width: 100%;
  }
}

.combo-card__note{
  display:block;
  margin-top: 10px;
  color: rgba(15,23,42,.62);

  text-align: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.step-card{
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}
.step-icon{font-size:22px;margin-bottom:8px}
.step-title{margin:0 0 6px 0;font-size:16px}
.step-desc{margin:0;color:rgba(15,23,42,.72);font-size:13px}

.faq-item{
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.86);
}
.faq-q{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  background:transparent;
  border:0;
  font-weight:700;
  cursor:pointer;
}
.faq-a{
  padding:0 14px 12px 14px;
  color:rgba(15,23,42,.72);
  font-size:13px;
}
.faq-chevron{opacity:.7}

/* default */
.combo-progress__fill { width: 0%; }

/* preset widths (CSP-safe) */
.combo-progress__fill.pct-0   { width: 0%; }
.combo-progress__fill.pct-25  { width: 25%; }
.combo-progress__fill.pct-50  { width: 50%; }
.combo-progress__fill.pct-75  { width: 75%; }
.combo-progress__fill.pct-100 { width: 100%; }

/* checkout disabled look (CSP-safe) */
#checkoutBtn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =========================
   Product Detail Modal (Dialog)
   ========================= */
.combo-dialog {
  width: min(920px, 92vw);
  border: none;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
}

.combo-dialog::backdrop {
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(3px);
}

.combo-dialog__panel {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  padding: 16px;
  background: #fff;
}

.combo-dialog__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.combo-dialog__media {
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
  aspect-ratio: 4/3;
}

.combo-dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.combo-dialog__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.combo-dialog__subtitle {
  margin: 6px 0 0;
  color: rgba(15, 23, 42, 0.72);
  font-size: 14px;
}

.combo-dialog__priceRow {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.combo-dialog__price {
  font-weight: 900;
}

.combo-dialog__was {
  color: rgba(15, 23, 42, 0.45);
  text-decoration: line-through;
  font-weight: 650;
  font-size: 13px;
}

.combo-dialog__desc {
  margin-top: 12px;
  color: rgba(15, 23, 42, 0.82);
}

.combo-dialog__points {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.78);
}

@media (max-width: 720px) {
  .combo-dialog__panel {
    grid-template-columns: 1fr;
  }
}

/* ===== Price (2-tier: pokok vs pokok+baja) ===== */
.price-lines{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.price-line{
  display:flex;
  align-items:baseline;
  gap:10px;
  line-height:1.1;
}

.price-tag{
  font-size:12px;
  color:rgba(15,23,42,.65);
  background:rgba(15,23,42,.06);
  padding:4px 8px;
  border-radius:999px;
  font-weight:600;
}

.price-val{
  font-weight:900;
}

/* ===== Variant picker (Pokok vs Pokok+Baja) ===== */
.variant{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 6px;
}
.variant__opt{
  flex:1 1 160px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(15,23,42,.04);
  cursor:pointer;
  user-select:none;
}
.variant__opt.is-active{
  border-color: rgba(15,118,110,.35);
  box-shadow: 0 10px 22px rgba(15,118,110,.12);
  background: rgba(15,118,110,.06);
}
.variant__radio{
  margin:0;
}
.variant__label{
  font-size:12px;
  color: rgba(15,23,42,.80);
  font-weight:700;
}
.variant__price{
  font-size:12px;
  font-weight:900;
}

/* ===== Detail Drawer (CSP-safe) ===== */
.combo-detail-overlay{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.48);
  backdrop-filter:blur(2px);
  z-index:9998
}
.combo-detail-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100%;
  width:min(420px,92vw);
  background:#fff;
  z-index:9999;
  transform:translateX(110%);
  transition:transform .22s ease;
  box-shadow:-20px 0 60px rgba(0,0,0,.18);
  display:flex;
  flex-direction:column
}
.combo-detail-drawer.is-open{transform:translateX(0)}
.combo-detail-close{
  position:absolute;
  top:10px;
  right:10px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  width:38px;
  height:38px;
  border-radius:12px;
  cursor:pointer;
  font-size:20px;
  line-height:1
}
.combo-detail-media{
  background:#fff;
  border-bottom:1px solid rgba(15,23,42,.08);
  overflow:hidden;
  max-height: 56vh;       /* elak gambar jadi terlalu tinggi */
}

.combo-detail-media img{
  width:100%;
  height:auto;            /* ikut ratio asal */
  max-height: 56vh;
  object-fit: contain;    /* pastikan tak crop */
  display:block;
}

/* ===== Slider controls (Detail Drawer) ===== */
.combo-detail-media{
  position:relative;
}

.combo-detail-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 26px rgba(15,23,42,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}

.combo-detail-prev{ left:10px; }
.combo-detail-next{ right:10px; }

.combo-detail-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  display:flex;
  gap:7px;
  justify-content:center;
  pointer-events:auto;
}

.combo-detail-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.55);
  cursor:pointer;
}

.combo-detail-dot.is-active{
  background:#0f766e;
  border-color:rgba(15,118,110,.35);
}

.combo-detail-body{
  padding:14px 14px 18px;
  overflow:auto
}
.combo-detail-title{
  margin:0;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.02em
}
.combo-detail-sub{
  margin:6px 0 0;
  color:rgba(15,23,42,.72);
  font-size:13px
}
.combo-detail-price{margin:12px 0 0}
.combo-detail-desc{
  margin:12px 0 0;
  color:rgba(15,23,42,.82)
}
.combo-detail-points{
  margin:10px 0 0;
  padding-left:18px;
  color:rgba(15,23,42,.78)
}
.combo-detail-price .price-lines{gap:8px}

/* =========================
   MOBILE: fokus section PILIHAN sahaja
   (hide header + nav + hero + section lain)
   ========================= */
@media (max-width: 768px) {

  /* 1) Hide header + menu */
  .combo-page > header { 
    display: none !important; 
  }
  .combo-page > nav.menu-bar { 
    display: none !important; 
  }

  /* 2) Hide HERO + section info lain */
  .combo-page .combo-hero { 
    display: none !important; 
  }
  .combo-page .combo-section--soft { 
    display: none !important; 
  }
  .combo-page section[aria-labelledby="faqTitle"] { 
    display: none !important; 
  }
  .combo-page .final-cta { 
    display: none !important; 
  }

  /* 3) Kemas: tinggal selection sahaja */
  .combo-page main { 
    padding-top: 0 !important; 
  }
  .combo-page #selection { 
    padding-top: 14px; 
  }
}

/* =========================================
   Susunan 1 (Platform Besar) - Premium CSS
   Harga besar kiri + Qty kanan
   Variasi chips bawah (pill / segmented)
   ========================================= */

.combo-card__meta{
  align-items: flex-end;            /* harga nampak “grounded” */
  gap: 14px;
}

/* Harga utama */
.combo-card__priceMain{
  display:flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.1;
}

.combo-card__priceMain .price-now{
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.combo-card__priceMain .price-was{
  color: rgba(15,23,42,.45);
  text-decoration: line-through;
  font-weight: 650;
  font-size: 13px;
}

/* Stepper Qty nampak premium */
.qty{
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.qty__btn{
  transition: background 120ms ease, transform 120ms ease;
}

.qty__btn:hover{
  background: rgba(15,23,42,.04);
}

.qty__btn:active{
  transform: scale(0.98);
}

/* ===== Variants (chips) bawah ===== */
.combo-card__variants{
  margin-top: 10px;
}

.combo-card__variants .variant{
  margin-top: 0;                 /* buang margin asal */
  gap: 10px;
}

.combo-card__variants .variant__opt{
  position: relative;
  flex: 1 1 0;
  justify-content: center;       /* center macam Shopee */
  padding: 10px 12px;
  border-radius: 999px;          /* pill */
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

/* Sorok radio bulat (jadi chips betul) */
.combo-card__variants .variant__radio{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Hover & active chips */
.combo-card__variants .variant__opt:hover{
  border-color: rgba(15,23,42,.22);
  box-shadow: 0 14px 32px rgba(15,23,42,.08);
  transform: translateY(-1px);
}

.combo-card__variants .variant__opt.is-active{
  border-color: rgba(15,118,110,.35);
  background: rgba(15,118,110,.06);
  box-shadow: 0 16px 36px rgba(15,118,110,.12);
}

/* Fokus (keyboard/tab) nampak kemas */
.combo-card__variants .variant__opt:focus-within{
  outline: none;
  box-shadow: 0 0 0 3px rgba(15,118,110,.18), 0 16px 36px rgba(15,118,110,.10);
}

/* Label dalam chips */
.combo-card__variants .variant__label{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,.84);
}

/* ===== Mobile polish ===== */
@media (max-width: 560px){
  .combo-card__meta{
    align-items: stretch;
    flex-wrap: wrap;
  }
  .combo-card__priceMain{
    width: 100%;
    justify-content: space-between;
  }
  .qty{
    width: 100%;
    justify-content: space-between;
  }
  .combo-card__actions{
    flex-direction: row;   /* jadi sebelah-sebelah */
    flex-wrap: nowrap;     /* jangan turun line */
    gap: 8px;              /* rapatkan sikit */
  }

  .combo-card__actions .btn{
    width: auto;           /* buang paksa 100% */
    flex: 1 1 0;           /* 2 butang bahagi ruang sama */
    padding: 10px 10px;    /* kecilkan ruang dalam butang */
    font-size: 13px;       /* kecilkan teks sikit */
    border-radius: 12px;
    white-space: nowrap;   /* elak pecah jadi 2 baris */
  }
}

.combo-price-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:800;
  padding:4px 10px;
  border-radius:999px;

  /* NEW: vibe "jimat" */
  color:#065f46; /* emerald gelap (teks) */
  border:1px solid rgba(16,185,129,.35);
  background: linear-gradient(180deg, rgba(16,185,129,.18), rgba(16,185,129,.10));
  box-shadow: 0 10px 22px rgba(16,185,129,.12);

  white-space:nowrap;
  margin-left:8px;
}

.combo-price-badge.pulse{
  animation:comboPulse 1.6s ease-in-out infinite;
}

@keyframes comboPulse{
  0%,100%{ transform:scale(1); opacity:1; }
  50%{ transform:scale(1.04); opacity:.85; }
}

/* Buang badge "Harga Combo" pada card list sahaja (gambar pertama) */
.combo-card .combo-price-badge{
  display: none !important;
}

/* Note box untuk ayat desc dalam detail drawer */
.combo-detail-desc{
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
  color: rgba(15,23,42,.86);
  font-size: 13px;
  line-height: 1.45;
}

/* ===== SOLD OUT overlay (Shopee-style) ===== */
.combo-card__media{ position: relative; overflow: hidden; }

.combo-card.is-soldout .combo-card__img{
  filter: none;
  opacity: 1;
}

.soldout-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.soldout-overlay span{
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .3px;
}

/* disable feel */
.combo-card.is-soldout .btn-add{
  opacity: .7;
  cursor: not-allowed;
}

/* ===== Gift Highlight ===== */
.combo-card.is-gift{
  border: 2px solid rgba(0, 140, 120, .55);
  box-shadow:
    0 10px 24px rgba(0,0,0,.06),
    0 0 0 6px rgba(0, 140, 120, .10);
  transform: translateY(-2px);
}

.combo-card.is-gift .combo-card__title{
  letter-spacing: .2px;
}

.combo-card.is-gift .combo-card__media{
  position: relative;
  overflow: hidden;
}

.combo-card.is-gift .combo-card__media::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 25%, rgba(0,140,120,.16), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(255,200,0,.12), transparent 46%),
    radial-gradient(circle at 35% 85%, rgba(0,140,120,.10), transparent 52%);
  pointer-events:none;
  z-index:1;
}

.combo-card.is-gift .combo-card__img{
  position: relative;
  z-index: 0;
}

/* Ribbon */
.gift-ribbon{
  position:absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .6px;
  color: #0a2b22;
  background: rgba(255, 220, 90, .95);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}



/* Bagi susunan dalam body jadi konsisten */
.combo-card__body{
  display: flex;
  flex-direction: column;
  gap: 12px;                 /* jarak menegak sekata antara blok */
}

/* Buang “double margin” yang kadang-kadang buat card nampak tinggi tak sama */
.combo-card__meta{ margin-top: 0 !important; }
.combo-card__variants{ margin-top: 0 !important; }

/* Pastikan button area sentiasa “turun ke bawah” (ini yang buat tinggi card nampak sama) */
.combo-card__actions{
  margin-top: auto !important; /* push CTA ke bawah */
  padding-top: 6px;
}

/* Note kekal bawah butang dengan jarak kemas */
.combo-card__note{
  margin-top: 10px;
}

/* Samakan lebar butang walaupun bukan class .btn-add (gift card guna .btn) */
.combo-card__actions .btn{
  width: 100%;
  max-width: 420px;
}
@media (max-width: 560px){
  .combo-card__actions .btn{ max-width: 100%; }
}

/* Styling untuk state disabled yang awak buat dalam JS (is-disabled) */
.variant__opt.is-disabled{
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}
.variant__opt.is-disabled:hover{
  border-color: rgba(15,23,42,.12) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Kalau awak guna class "muted" dalam gift card */
.muted{
  color: rgba(15,23,42,.62);
  font-size: 12px;
}

/* CSP-safe helpers */
.combo-gift-meta { margin-top: 6px; }
.combo-gift-hint { display: block; margin-top: 6px; }

.search-suggest-wrap { position: relative; }

.search-suggestions{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  z-index: 999;
  max-height: 200px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.search-suggestion-item{
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.search-suggestion-item + .search-suggestion-item{
  border-top: 1px solid rgba(0,0,0,.08);
}

.search-suggestion-item:hover{
  background: rgba(0,0,0,.04);
}

.search-suggestion-empty{
  padding: 8px 10px;
  opacity: .75;
}

/* Gift: harga kiri, qty kanan (kekal kemas) */
.combo-card--gift .combo-gift-priceRow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.combo-card--gift .combo-gift-priceRow .qty--gift{
  margin-left:auto;
}

.combo-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.combo-card--gift .combo-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* ===== Gift style (ikut design yang awak suka) ===== */
.combo-card--gift{
  border: 2px solid rgba(59,130,246,.55) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.06),
    0 0 0 6px rgba(59,130,246,.12) !important;
}

.combo-card--gift .combo-card__pill{
  background: rgba(255, 220, 90, .95) !important;
  color: #0a2b22 !important;
}

/* === FORCE FIX: elak nampak bertindih === */
.combo-summary{
  background: #fff !important;              /* tak tembus */
  backdrop-filter: none !important;         /* optional */
  -webkit-backdrop-filter: none !important;
  z-index: 9999 !important;
  isolation: isolate !important;
}

.combo-page #selection{
  padding-bottom: 180px !important;
}

/* =========================
   MOBILE: Besarkan Summary Bar (sebaris & mesra orang tua)
   Letak paling bawah sekali
   ========================= */
@media (max-width: 768px){

  /* kekalkan SEBARIS (jangan column) */
  .combo-summary{
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 14px !important;
  }

  /* kiri (Pilihan anda) */
  .combo-summary__left strong{
    font-size: clamp(20px, 5.8vw, 26px) !important;
    line-height: 1.1 !important;
  }
  .combo-summary__left span{
    font-size: clamp(16px, 4.8vw, 20px) !important;
    line-height: 1.1 !important;
  }

  /* kanan (Jumlah + button checkout) */
  .combo-summary__total small{
    font-size: clamp(16px, 4.8vw, 20px) !important;
    line-height: 1.05 !important;
  }
  .combo-summary__total strong{
    font-size: clamp(20px, 5.8vw, 26px) !important;
    line-height: 1.1 !important;
  }

  /* button checkout: besar sikit tapi masih muat sebaris */
  #checkoutBtn{
    font-size: clamp(18px, 5.4vw, 22px) !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    white-space: nowrap !important;
  }

  .combo-page #selection{
    padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 360px){
  #checkoutBtn{
    padding: 11px 12px !important;
    font-size: 13px !important;
  }
}

/* Bila collage dah dibuang, hero jadi 1 kolum utama */
.combo-hero__inner{
  display: block;
}

/* Pecahkan content kepada kiri + kanan */
.combo-hero__content{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

/* Pastikan kedua-dua side kemas */
.combo-copy-left,
.combo-copy-right{
  min-width: 0;
}

/* Mobile: stack semula (atas bawah) */
@media (max-width: 900px){
  .combo-hero__content{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
