/* ================================================
   CHECKOUT
   – Diselaraskan dengan nav: Open Sans, navy #0b1a52
   – Ukuran teks proporsional, padding nav-aware
   ================================================ */

/* ── Section wrapper ── */
.sf-checkout {
  background: #020617;
  padding: clamp(96px, 11vw, 112px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  font-family: "Open Sans", sans-serif;
}

/* ── Background image ── */
.sf-checkout-bg {
  position: absolute;
  inset: 0;
  background: url("../img/story-stage.jpg") center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.sf-checkout-container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */
.sf-checkout-head {
  text-align: center;
  margin-bottom: 36px;
}

.sf-eyebrow {
  font-family: "Open Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  color: #d4af37;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sf-checkout-event {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.sf-checkout-info {
  font-family: "Open Sans", sans-serif;
  font-size: 0.83rem;
  color: #a0aec0;
  letter-spacing: 0.3px;
}

.sf-checkout-info span:nth-child(2) {
  margin: 0 7px;
  color: #d4af37;
}

/* ── Body grid ── */
.sf-checkout-body {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px) {
  .sf-checkout-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── Section labels ── */
.sf-label {
  font-family: "Open Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 1.8px;
  color: #d4af37;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── Selected tier card ── */
.sf-selected {
  background: rgba(11, 26, 82, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sf-selected-info {
  flex: 1;
  min-width: 0;
}

.sf-tier-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin-bottom: 4px;
  line-height: 1.3;
  color: #f1f5f9;
}

.sf-tier-text {
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  color: #c7d2fe;
  line-height: 1.5;
}

.sf-selected-price {
  text-align: right;
  flex-shrink: 0;
  min-width: 100px;
}

.sf-price-strike {
  font-family: "Open Sans", sans-serif;
  font-size: 0.76rem;
  color: #f87171;
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}

.sf-price-now {
  font-family: "Open Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

/* ── Form ── */
.sf-form {
  margin-top: 22px;
}

/* ── Form section (Customer Info) ── */
.sf-form-section {
  background: rgba(11, 26, 82, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sf-form-section .sf-label {
  margin-bottom: 14px;
}

.sf-form-section .sf-form-row {
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}

.sf-form-section .sf-form-row:last-child {
  margin-bottom: 0;
}

/* ── Field wrapper ── */
.sf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-field label {
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #94a3b8;
}

/* ── Input text / email / tel ── */
.sf-field input[type="text"],
.sf-field input[type="email"],
.sf-field input[type="tel"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.88rem;
  color: #f1f5f9;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.sf-field input[type="text"]::placeholder,
.sf-field input[type="email"]::placeholder,
.sf-field input[type="tel"]::placeholder {
  color: rgba(148, 163, 184, 0.45);
}

.sf-field input[type="text"]:hover,
.sf-field input[type="email"]:hover,
.sf-field input[type="tel"]:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.sf-field input[type="text"]:focus,
.sf-field input[type="email"]:focus,
.sf-field input[type="tel"]:focus {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.06);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.sf-field input:invalid:not(:placeholder-shown) {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

/* ── Form row (qty + total) ── */
.sf-form-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  margin-bottom: 20px;
  align-items: flex-end;
}

@media (max-width: 500px) {
  .sf-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.sf-qty-field label,
.sf-total-field label,
.sf-total-field .sf-field-caption {
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  color: #94a3b8;
  margin-bottom: 7px;
  display: block;
}

/* ── Qty stepper ── */
.sf-qty {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.sf-qty button {
  background: none;
  border: none;
  color: #d4af37;
  font-size: 1.05rem;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.sf-qty button:hover {
  background: rgba(212, 175, 55, 0.12);
}

.sf-qty input {
  width: 44px;
  text-align: center;
  background: transparent;
  border: none;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── Total display ── */
.sf-total {
  font-family: "Open Sans", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

/* ── Tax breakdown ── */
.sf-tax-breakdown {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.sf-tax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
  padding: 4px 0;
}

.sf-tax-total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 6px;
  padding-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f1f5f9;
}

/* note harga per tiket */
.sf-price-note {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
  font-weight: 400;
}

/* breakdown di payment summary */
.sfp-summary-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 8px 0;
}

.sfp-summary-sub {
  font-size: 0.78rem;
  color: #64748b;
}

/* ── CTA button ── */
.sf-btn-cta {
  width: 100%;
  padding: 12px 0;
  font-family: "Open Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #f97316);
  color: #020617;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.sf-btn-cta:hover {
  background: #fff;
  transform: scale(1.025);
}

/* ── Sidebar ── */
@media (min-width: 961px) {
  .sf-sidebar {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 28px;
  }
}

/* ── Tier Lainnya grid ── */
.sf-other-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 1025px) {
  .sf-other-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 960px) {
  .sf-other-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .sf-other-grid {
    grid-template-columns: 1fr;
  }
}

.sf-tier-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(11, 26, 82, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  min-height: 78px;
  transition: all 0.2s ease;
}

.sf-tier-item:hover {
  background: rgba(11, 26, 82, 0.65);
  border-color: #d4af37;
  transform: translateY(-2px);
}

.sf-tier-info h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.3;
  color: #e5e7f2;
}

.sf-tier-info span {
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  color: #d4af37;
  font-weight: 700;
}

.sf-pick {
  font-family: "Open Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  align-self: flex-start;
  margin-top: 7px;
  transition: all 0.2s;
}

.sf-tier-item:hover .sf-pick {
  background: #f97316;
  color: #020617;
}

.sf-no-tier {
    padding: 1rem;
    text-align: center;
    border: 1px dashed #334155;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    font-size: 0.9rem;
    line-height: 1.5;
    color: #94a3b8;
}

/* Tablet */
@media (max-width: 1024px) {
    .sf-no-tier {
        padding: 0.9rem;
        font-size: 0.85rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sf-no-tier {
        padding: 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .sf-no-tier {
        padding: 0.75rem;
        font-size: 0.75rem;
        border-radius: 5px;
    }
}

.sf-form-row {
    margin-bottom: 15px;
}

/* Membuat grid untuk input yang berpasangan */
@media (min-width: 600px) {
    .sf-form-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

.sf-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.sf-field input, .sf-field textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background: #1e293b; /* sesuaikan warna dengan tema symforest */
    border: 1px solid #334155;
    color: #fff;
}

