/*
 * FUNPUNCH Whop storefront styles — W1 Money lane
 * Owns only fpw-* classes. The theme's fp-* classes are untouched.
 * Injected by prepare.py into every snapshot page alongside fp-runtime.js.
 */

/* ── Kaching bundle block ──────────────────────────────────────────────────── */
.fpw-kaching-block {
  margin: 20px 0;
  font-family: inherit;
}
.fpw-kaching-block-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 10px;
}
.fpw-kaching-bar {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  background: rgba(0,0,0,0.04);
  transition: border-color 0.15s, background 0.15s;
  outline: none;
}
.fpw-kaching-bar:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.fpw-kaching-bar--selected {
  border-color: #000;
  background: rgba(246,239,255,1);
}
.fpw-kaching-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fpw-kaching-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #bbb;
  flex-shrink: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fpw-kaching-bar--selected .fpw-kaching-radio {
  border: 6px solid #000;
  background: #fff;
}
.fpw-kaching-bar-content {
  flex: 1;
  min-width: 0;
}
.fpw-kaching-bar-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.fpw-kaching-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.fpw-kaching-qty-label {
  font-size: 13px;
  color: #555;
}
.fpw-kaching-badge {
  font-size: 11px;
  font-weight: 700;
  background: #000;
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.fpw-kaching-label {
  font-size: 12px;
  font-weight: 600;
  background: #d9d9d9;
  color: #333;
  border-radius: 4px;
  padding: 2px 7px;
}
.fpw-kaching-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.fpw-kaching-new-price {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}
.fpw-kaching-old-price {
  font-size: 13px;
  color: #888;
  text-decoration: line-through;
}
.fpw-kaching-sub {
  font-size: 13px;
  color: #555;
}
.fpw-kaching-slots {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fpw-kaching-slot-picker {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fpw-kaching-slot-label {
  font-size: 11px;
  color: #666;
}
.fpw-kaching-slot-select {
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px 8px;
  background: #fff;
  cursor: pointer;
  min-width: 130px;
}

/* ── Cart line rows (inside theme's fp-cart-body) ─────────────────────────── */
.fp-cart-line {
  display: grid;
  grid-template-columns: 80px minmax(0,1fr);
  gap: 10px 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.fp-cart-line:last-child {
  border-bottom: none;
}
.fp-cart-line__media {
  width: 80px;
}
.fp-cart-line__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  background: #f8f8f8;
}
.fp-cart-line__img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background: #f0f0f0;
}
.fpw-gift-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.fp-cart-line__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fp-cart-line__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.fp-cart-line__title {
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
}
.fp-cart-line__title:hover {
  text-decoration: underline;
}
.fp-cart-line__prices {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.fp-cart-line__price {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.fp-cart-line__price--free {
  color: #2a7a2a;
}
.fp-cart-line__original-price {
  font-size: 12px;
  color: #888;
  text-decoration: line-through;
}
.fp-cart-line__variant {
  font-size: 12px;
  color: #666;
}
.fp-cart-line__unit-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.fp-cart-line__unit {
  font-size: 12px;
  color: #555;
}
.fp-cart-line__unit-original {
  font-size: 11px;
  color: #aaa;
  text-decoration: line-through;
}
.fp-cart-line__save {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: #bf470e;
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.03em;
}
.fp-cart-line__qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.fp-cart-line__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: #111;
  padding: 0;
  transition: border-color 0.1s;
}
.fp-cart-line__qty-btn:hover { border-color: #888; }
.fp-cart-line__qty-btn:focus-visible { outline: 2px solid #000; }
.fp-cart-line__qty-val {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.fp-cart-line__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  color: #888;
  margin-left: 2px;
  padding: 0;
}
.fp-cart-line__remove:hover { color: #c00; }
.fp-cart-line__remove:focus-visible { outline: 2px solid #000; }

/* gift row */
.fp-cart-line--gift .fp-cart-line__title {
  font-size: 13px;
  font-weight: 600;
}

/* ── Empty cart ──────────────────────────────────────────────────────────── */
.fp-cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 14px;
}

/* ── Form status messages ────────────────────────────────────────────────── */
.fpw-form-status {
  font-size: 14px;
  padding: 8px 0;
  margin: 0;
}
