:root {
  --bg: #f6f7fb;
  --panel: rgba(255, 255, 255, 0.88);
  --text: #0b1220;
  --muted: #5f6b78;
  --navy: #0b1220;
  --navy-2: #172235;
  --mint: #7ee7c1;
  --violet: #a78bfa;
  --green: #1d7d5d;
  --green-dark: #166347;
  --line: rgba(11, 18, 32, 0.08);
  --shadow: 0 24px 60px rgba(11, 18, 32, 0.1);
  --shadow-strong: 0 32px 100px rgba(11, 18, 32, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Sarabun, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 231, 193, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.13), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── NAV ─── */
.shop-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(246, 247, 251, 0.72);
  border-bottom: 1px solid var(--line);
}

.shop-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.shop-brand span {
  color: var(--green);
}

.shop-nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.shop-nav-links a {
  color: inherit;
  text-decoration: none;
}

.shop-nav-links a:hover {
  color: var(--text);
}

/* ─── SHELL ─── */
.shop-shell {
  max-width: 1180px;
  margin: 0 auto;
}

/* ─── HEADER ─── */
.shop-header {
  padding: 48px 20px 24px;
}

.shop-header__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.shop-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}

.shop-subtitle {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

/* ─── MAIN ─── */
.shop-main {
  padding: 0 20px 110px;
}

/* ─── FLOW HERO ─── */
.shop-flow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: 20px;
  align-items: stretch;
  margin: 0 0 40px;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at top right, rgba(126, 231, 193, 0.22), transparent 42%),
    radial-gradient(circle at bottom left, rgba(167, 139, 250, 0.14), transparent 36%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.shop-flow-hero__copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.shop-flow-hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}

.shop-flow-hero__subtitle {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.shop-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.shop-flow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  align-items: start;
  justify-content: flex-start;
  padding: 8px 0;
}

.shop-flow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.shop-flow-chip.is-active {
  color: var(--text);
  border-color: rgba(126, 231, 193, 0.8);
  background: linear-gradient(135deg, rgba(126, 231, 193, 0.18), rgba(167, 139, 250, 0.12));
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.08);
}

/* ─── BUNDLE SECTION ─── */
.bundle-section {
  margin-bottom: 48px;
}

.bundle-section__header,
.single-products-section__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.shop-section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}

.bundle-section__subtitle {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: right;
  font-size: 15px;
}

.single-products-section {
  display: grid;
  gap: 22px;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ─── BUNDLE CARD ─── */
.bundle-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.bundle-card.is-flow-priority,
.shop-card.is-flow-priority {
  border-color: rgba(126, 231, 193, 0.7);
  box-shadow: 0 0 0 4px rgba(126, 231, 193, 0.14), var(--shadow-strong);
}

.bundle-card.is-flow-priority {
  background:
    radial-gradient(circle at top right, rgba(126, 231, 193, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.88);
}

.shop-card.is-flow-priority {
  transform: translateY(-4px);
}

.bundle-card.is-flow-secondary,
.shop-card.is-flow-secondary {
  opacity: 0.88;
}

.bundle-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.bundle-card__label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bundle-card__title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bundle-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(29, 125, 93, 0.1);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.bundle-card__description {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.bundle-card__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.bundle-card__items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.bundle-card__item-name {
  font-weight: 600;
  color: var(--text);
}

.bundle-card__item-qty {
  color: var(--muted);
}

.bundle-card__pricing {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.bundle-card__original {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.bundle-card__original-value {
  text-decoration: line-through;
}

.bundle-card__price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.bundle-card__price {
  display: grid;
  gap: 4px;
}

.bundle-card__price-label {
  color: var(--muted);
  font-size: 13px;
}

.bundle-card__price-value {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1;
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bundle-card__actions {
  margin-top: 4px;
}

.bundle-card__actions .button-primary {
  width: 100%;
}

/* ─── SHOP GRID ─── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ─── SHOP CARD ─── */
.shop-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-margin-top: 28px;
  backdrop-filter: blur(12px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.shop-card.is-target {
  border-color: rgba(126, 231, 193, 0.8);
  box-shadow: 0 0 0 4px rgba(126, 231, 193, 0.18), var(--shadow-strong);
  transform: translateY(-2px);
}

.shop-card__image-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(246, 247, 251, 0.9), rgba(240, 253, 247, 0.8));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shop-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 26px;
}

.shop-card__category {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shop-card__title {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-card__promise {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
}

.shop-card__description {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.shop-card__highlights {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.shop-card__divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.shop-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
}

.shop-card__purchase {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: end;
}

.shop-card__footer .button-primary {
  min-width: 160px;
}

/* ─── PRICE ─── */
.shop-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.shop-price__value {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1;
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-price__label {
  color: var(--muted);
  font-size: 14px;
}

/* ─── QTY CONTROL ─── */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 160px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
}

.qty-control button {
  width: 48px;
  height: 56px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  color: var(--green);
  cursor: pointer;
  transition: background 0.15s;
}

.qty-control button:hover {
  background: rgba(29, 125, 93, 0.06);
}

.qty-control span {
  flex: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ─── BUTTONS ─── */
.button-primary {
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, #1d7d5d 0%, #16a379 100%);
  color: #fff;
  border-radius: 999px;
  min-height: 56px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(29, 125, 93, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button-primary:hover {
  box-shadow: 0 12px 32px rgba(29, 125, 93, 0.42);
  transform: translateY(-1px);
}

.button-primary.is-adding {
  background: linear-gradient(135deg, #7ee7c1, #a78bfa);
  color: #0b1220;
  box-shadow: 0 12px 32px rgba(126, 231, 193, 0.32);
}

.button-secondary {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  min-height: 56px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button-ghost {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
}

.button-full {
  width: 100%;
}

/* ─── CART BUTTON ─── */
.cart-button,
.mobile-cart-button {
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.cart-button {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.18);
}

.cart-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.cart-button.is-bouncing,
.mobile-cart-button.is-bouncing {
  animation: shopCartBounce 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cart-badge.is-popping,
#cartSubtotal.is-popping,
#mobileCartSubtotal.is-popping {
  animation: shopCartPulse 0.52s ease;
}

.mobile-cart-button {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: 58px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  z-index: 50;
  box-shadow: 0 16px 48px rgba(11, 18, 32, 0.22);
  font-weight: 600;
  font-size: 15px;
}

/* ─── CART OVERLAY ─── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.36);
  z-index: 60;
  backdrop-filter: blur(2px);
}

/* ─── ANIMATIONS ─── */
@keyframes shopCartBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-3px) scale(1.035); }
  70% { transform: translateY(0) scale(0.985); }
}

@keyframes shopCartPulse {
  0% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.08); filter: saturate(1.18); }
  100% { transform: scale(1); filter: saturate(1); }
}

/* ─── PAYMENT MODAL ─── */
.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.payment-modal[hidden],
.payment-qr-panel[hidden],
.cart-overlay[hidden] {
  display: none !important;
}

.payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.48);
  backdrop-filter: blur(6px);
}

.payment-modal__dialog {
  position: relative;
  width: min(520px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: 1rem auto;
  overflow: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(11, 18, 32, 0.2);
  backdrop-filter: blur(18px);
}

.payment-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 20px 20px 0;
}

.payment-modal__title {
  margin: 6px 0 0;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
}

.payment-modal__body {
  padding: 20px;
}

.checkout-section {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.checkout-section__header {
  display: grid;
  gap: 4px;
}

.checkout-section__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
}

.checkout-review {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.checkout-review__item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checkout-review__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-review__name {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

.checkout-review__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-review__total {
  margin: 0;
  white-space: nowrap;
  color: var(--green);
  font-weight: 700;
}

.payment-form {
  display: grid;
  gap: 18px;
}

.payment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.payment-field {
  display: grid;
  gap: 8px;
}

.payment-field--full {
  grid-column: 1 / -1;
}

.payment-field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.payment-field__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.payment-field__input:focus {
  outline: 0;
  border-color: rgba(29, 125, 93, 0.5);
  box-shadow: 0 0 0 4px rgba(29, 125, 93, 0.08);
}

.payment-field__input--textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.payment-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.payment-summary__label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.payment-summary__value {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--green);
  font-weight: 800;
}

.payment-qr-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.payment-order-ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(29, 125, 93, 0.24);
  background: rgba(29, 125, 93, 0.06);
}

.payment-order-ref__label {
  color: var(--muted);
  font-size: 13px;
}

.payment-order-ref__value {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.payment-track-link-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.payment-track-link-wrap .button-ghost {
  min-height: 44px;
  padding: 0 18px;
}

.payment-qr-panel__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.payment-notify-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(29, 125, 93, 0.06);
  color: var(--text);
  line-height: 1.7;
  font-size: 14px;
}

.payment-qr-frame {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.payment-qr-actions {
  display: flex;
  justify-content: center;
}

.payment-transfer-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.payment-transfer-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.payment-transfer-card__kicker {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-transfer-card__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
}

.payment-copy-button {
  min-height: 2.6rem;
  padding: 0.6rem 1rem;
  white-space: nowrap;
}

.payment-transfer-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.payment-transfer-list__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: start;
}

.payment-transfer-list dt {
  color: var(--muted);
  font-size: 14px;
}

.payment-transfer-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
  font-size: 14px;
}

.payment-transfer-status {
  margin: 0;
  color: var(--green);
  line-height: 1.6;
  font-size: 14px;
}

.payment-slip-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.payment-slip-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.payment-slip-card__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.payment-proof-form {
  display: grid;
  gap: 16px;
}

.payment-field__input--file {
  min-height: auto;
  padding: 14px 16px;
}

.payment-field__hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.payment-submission-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(29, 125, 93, 0.06);
  color: var(--text);
  line-height: 1.7;
  font-size: 14px;
}

.payment-modal__image {
  width: min(100%, 300px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.payment-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ─── CART DRAWER ─── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100dvh;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 40px rgba(11, 18, 32, 0.12);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(18px);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header,
.cart-drawer__footer {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.cart-drawer__title {
  margin: 6px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.cart-drawer__body {
  padding: 16px 20px;
  overflow: auto;
  display: grid;
  gap: 12px;
}

/* ─── CART ITEMS ─── */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
}

.cart-item--bundle {
  grid-template-columns: 92px 1fr;
}

.cart-item__image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(126, 231, 193, 0.1);
}

.cart-item__bundle-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  min-height: 92px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 125, 93, 0.1), rgba(126, 231, 193, 0.12));
  color: var(--green-dark);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-item__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.cart-item__subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-item__price,
.cart-item__line-total {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.cart-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--green);
  font-size: 16px;
}

.cart-qty span {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #c06060;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  align-items: center;
}

.cart-summary strong {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
  font-weight: 800;
}

.cart-bundle-details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.cart-bundle-details summary {
  cursor: pointer;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.cart-bundle-details summary::-webkit-details-marker {
  display: none;
}

.cart-bundle-list {
  margin: 10px 0 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
  font-size: 13px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: background 0.15s;
}

.icon-button:hover {
  background: #fff;
  color: var(--text);
}

.empty-cart,
.cart-empty {
  padding: 32px 8px;
  color: var(--muted);
  text-align: center;
}

.cart-empty h3 {
  margin: 0 0 0.65rem;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cart-empty p {
  margin: 0;
  font-size: 14px;
}

.cart-status {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

body.shop-cart-open {
  overflow: hidden;
}

body.shop-modal-open {
  overflow: hidden;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 920px) {
  .bundle-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-header__inner,
  .bundle-section__header,
  .single-products-section__header {
    flex-direction: column;
  }

  .shop-flow-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .shop-flow-actions {
    flex-direction: column;
  }

  .shop-flow-actions .button-primary,
  .shop-flow-actions .button-secondary {
    width: 100%;
  }

  .bundle-section__subtitle {
    max-width: none;
    text-align: left;
  }

  .payment-form__grid {
    grid-template-columns: 1fr;
  }

  .payment-transfer-card__header,
  .payment-transfer-list__row {
    grid-template-columns: 1fr;
  }

  .checkout-review__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-transfer-card__header,
  .payment-slip-card__header {
    flex-direction: column;
  }

  .proof-form .payment-form__grid {
    grid-template-columns: 1fr;
  }

  .shop-card__footer,
  .shop-card__purchase {
    align-items: stretch;
  }

  .shop-card__footer .button-primary {
    width: 100%;
  }

  .mobile-cart-button {
    display: flex;
  }

  .cart-button {
    display: none;
  }

  .shop-nav-links {
    display: none;
  }
}
