/* =========================================================
   BFS Pricelist — Best Foto Studio
   Semua warna & font dikendalikan lewat CSS variables.
   Default di bawah = palette design system BFS.
   Ubah lewat: Settings > BFS Pricelist (global) atau
   per-widget di tab Style Elementor.
   ========================================================= */

.bfs-pricelist {
  /* ---- Palette (boleh dioverride) ---- */
  --bfs-brass: #9e7b43;
  --bfs-espresso: #3a2e24;
  --bfs-label: #8a7355;
  --bfs-body: #6e6256;
  --bfs-muted: #a0978a;
  --bfs-card-bg: #fbf8f1;
  --bfs-card-bg-alt: #f2ebdd;
  --bfs-border: #e7ddcb;

  /* ---- Type ---- */
  --bfs-font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --bfs-font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* ---- Shape ---- */
  --bfs-radius: 16px;
  --bfs-radius-sm: 10px;

  font-family: var(--bfs-font-body);
  color: var(--bfs-body);
  line-height: 1.55;
  box-sizing: border-box;
}
.bfs-pricelist *,
.bfs-pricelist *::before,
.bfs-pricelist *::after { box-sizing: border-box; }

.bfs-pricelist p { margin: 0; }
.bfs-pricelist ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Shared row (label kiri / value kanan) ---------- */
.bfs-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--bfs-border);
}
.bfs-row:first-child { border-top: 0; }
.bfs-row .lbl { color: var(--bfs-body); font-size: 15px; }
.bfs-row .val {
  color: var(--bfs-espresso);
  font-weight: 600;
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.bfs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--bfs-font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}
.bfs-btn:hover { transform: translateY(-1px); }

.bfs-btn-outline {
  border: 1px solid var(--bfs-espresso);
  color: var(--bfs-espresso);
  background: transparent;
}
.bfs-btn-outline:hover {
  background: var(--bfs-espresso);
  color: #fff;
}
.bfs-btn-solid {
  border: 1px solid var(--bfs-brass);
  background: var(--bfs-brass);
  color: #fff;
}
.bfs-btn-solid:hover {
  background: color-mix(in srgb, var(--bfs-brass) 86%, #000);
  border-color: color-mix(in srgb, var(--bfs-brass) 86%, #000);
}
.bfs-btn-block { width: 100%; }

/* ---------- Pill badge ---------- */
.bfs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bfs-brass);
  color: #fff;
  font-family: var(--bfs-font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}

/* =========================================================
   1) PRICING TIERS
   ========================================================= */
.bfs-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  padding-top: 16px; /* ruang buat badge yang nongol */
}

.bfs-tier {
  position: relative;
  background: var(--bfs-card-bg);
  border: 1px solid var(--bfs-border);
  border-radius: var(--bfs-radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bfs-tier.is-featured {
  border-color: var(--bfs-brass);
  box-shadow: 0 18px 40px -28px rgba(58, 46, 36, .45);
}

.bfs-tier-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bfs-tier-name {
  font-family: var(--bfs-font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bfs-label);
  margin-bottom: 14px;
}
.bfs-tier-desc {
  color: var(--bfs-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 48px;
  margin-bottom: 22px;
}
.bfs-tier-price {
  font-family: var(--bfs-font-heading);
  font-weight: 600;
  font-size: 42px;
  line-height: 1;
  color: var(--bfs-espresso);
  letter-spacing: -.01em;
}
.bfs-tier-price-note {
  color: var(--bfs-muted);
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 8px;
}
.bfs-tier-features { margin: 16px 0 26px; }
.bfs-tier .bfs-btn { margin-top: auto; }

/* =========================================================
   2) ADD-ONS
   ========================================================= */
.bfs-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.bfs-addon {
  background: var(--bfs-card-bg);
  border: 1px solid var(--bfs-border);
  border-radius: var(--bfs-radius);
  padding: 30px 32px 28px;
}
.bfs-addon-num {
  font-family: var(--bfs-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--bfs-brass);
  margin-bottom: 14px;
}
.bfs-addon-title {
  font-family: var(--bfs-font-heading);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.15;
  color: var(--bfs-espresso);
  margin: 0 0 10px;
}
.bfs-addon-desc {
  color: var(--bfs-body);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.bfs-addon-rows { margin-bottom: 4px; }
.bfs-addon-note {
  color: var(--bfs-muted);
  font-size: 13.5px;
  font-style: italic;
  margin-top: 16px;
}

/* =========================================================
   3) BUNDLE EXTRAS
   ========================================================= */
.bfs-bundle-card {
  display: flex;
  background: var(--bfs-card-bg);
  border: 1px solid var(--bfs-border);
  border-radius: var(--bfs-radius);
  overflow: hidden;
}
.bfs-bundle-left {
  flex: 1 1 50%;
  padding: 38px 40px;
}
.bfs-bundle-right {
  flex: 1 1 50%;
  padding: 34px 40px;
  background: var(--bfs-card-bg-alt);
  border-left: 1px solid var(--bfs-border);
  display: flex;
  flex-direction: column;
}
.bfs-bundle-badge { margin-bottom: 18px; }
.bfs-bundle-title {
  font-family: var(--bfs-font-heading);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  color: var(--bfs-espresso);
  margin: 0 0 12px;
}
.bfs-bundle-desc {
  color: var(--bfs-body);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.bfs-bundle-includes li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--bfs-espresso);
  font-size: 15.5px;
}
.bfs-bundle-includes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bfs-brass);
}

.bfs-bundle-breakdown .bfs-row { padding: 11px 0; }
.bfs-bundle-breakdown .lbl { color: var(--bfs-body); }
.bfs-bundle-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 18px;
  border-top: 2px solid var(--bfs-espresso);
}
.bfs-bundle-total .lbl {
  color: var(--bfs-espresso);
  font-size: 16px;
  font-weight: 500;
}
.bfs-bundle-total .val {
  font-family: var(--bfs-font-heading);
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: var(--bfs-espresso);
  white-space: nowrap;
}

.bfs-bundle-bonus {
  border: 1px dashed var(--bfs-brass);
  border-radius: var(--bfs-radius-sm);
  padding: 16px 18px;
  margin: 6px 0 14px;
}
.bfs-bundle-bonus .bonus-label {
  font-family: var(--bfs-font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bfs-brass);
  margin-bottom: 8px;
}
.bfs-bundle-bonus .bonus-text {
  color: var(--bfs-espresso);
  font-size: 15.5px;
  font-weight: 500;
}
.bfs-bundle-note {
  color: var(--bfs-muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 22px;
}
.bfs-bundle-right .bfs-btn { margin-top: auto; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .bfs-tier { padding: 30px 24px 26px; }
  .bfs-tier-price { font-size: 38px; }
}
@media (max-width: 880px) {
  .bfs-tiers-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
  .bfs-addons-grid { grid-template-columns: 1fr; }
  .bfs-bundle-card { flex-direction: column; }
  .bfs-bundle-right { border-left: 0; border-top: 1px solid var(--bfs-border); }
  .bfs-tier-desc { min-height: 0; }
}
@media (max-width: 480px) {
  .bfs-bundle-left, .bfs-bundle-right { padding: 28px 24px; }
  .bfs-addon { padding: 26px 24px; }
  .bfs-bundle-title { font-size: 28px; }
  .bfs-tier-price { font-size: 36px; }
}

/* ---------- Editor Elementor: kasih sedikit ruang ---------- */
.elementor-editor-active .bfs-tiers-grid { padding-top: 18px; }
