/* ══════════════════════════════════════════
   VOUCHERS — Gift Card & Voucher Page
   MP Skin & SPA — Brand System
══════════════════════════════════════════ */

/* ── HERO ── */
.voucher-hero {
  min-height: 50vh;
  background: linear-gradient(160deg, #00534c 0%, #003d38 40%, #00534c 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 80px;
  position: relative;
  overflow: hidden;
}
.voucher-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(111,162,135,0.08);
  top: -200px; right: -200px;
}
.voucher-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(111,162,135,0.05);
  bottom: -150px; left: -100px;
}
.vh-tag {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 1;
}
.vh-tag::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}
.vh-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.vh-title em { font-style: italic; color: var(--gold-light); }
.vh-sub {
  font-size: 0.95rem; font-weight: 300;
  line-height: 1.8;
  color: rgba(247,243,238,0.5);
  max-width: 540px;
  position: relative; z-index: 1;
}

/* ── CATEGORY FILTER ── */
.voucher-filters {
  padding: 0 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.voucher-filters::-webkit-scrollbar { display: none; }
.vf-btn {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brown-light);
  background: none; border: none;
  padding: 20px 28px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s;
}
.vf-btn:hover { color: var(--dark); }
.vf-btn.active { color: var(--dark); font-weight: 500; }
.vf-btn.active::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
}

/* ── SERVICE GRID ── */
.voucher-grid-section {
  padding: 60px;
  background: var(--cream);
}
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── SERVICE CARD ── */
.vc-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.vc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.vc-card:hover {
  border-color: rgba(0,83,76,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,83,76,0.06);
}
.vc-card:hover::after { width: 100%; }
.vc-card[hidden] { display: none; }

.vc-cat {
  font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.vc-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.vc-dur {
  font-size: 0.72rem; font-weight: 300;
  color: var(--brown-light);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.vc-desc {
    font-size: 0.78rem; font-weight: 300;
    color: var(--brown-light);
    line-height: 1.6;
    margin-bottom: 12px;
}
.vc-spacer { flex: 1; }
.vc-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0,83,76,0.06);
}
.vc-price {
  font-family: 'Prompt', sans-serif;
  font-size: 1.4rem; font-weight: 400;
  color: var(--dark);
}
.vc-price small {
  font-size: 0.7rem;
  color: var(--brown-light);
  font-weight: 300;
}
.vc-buy-btn {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  border: none;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
}
.vc-buy-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── CHECKOUT MODAL ── */
.vc-overlay {
  position: fixed; inset: 0;
  background: rgba(0,83,76,0.65);
  backdrop-filter: blur(6px);
  z-index: 800;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.vc-overlay.open { opacity: 1; pointer-events: all; }

.vc-modal {
  position: fixed; inset: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 320px 1fr;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
  overflow: hidden;
}
.vc-modal.open { transform: translateY(0); }

/* Modal left panel */
.vc-panel {
  background: linear-gradient(160deg, #00534c 0%, #003d38 50%, #00534c 100%);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.vc-panel-logo {
  font-family: 'Prompt', sans-serif;
  font-size: 1.3rem; font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 6px;
}
.vc-panel-tagline {
  font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,243,238,0.35);
}
.vc-panel-summary {
  margin-top: 60px;
  display: flex; flex-direction: column; gap: 24px;
}
.vc-ps-item { display: flex; flex-direction: column; gap: 5px; }
.vc-ps-label {
  font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
}
.vc-ps-value {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; font-weight: 300;
  color: rgba(247,243,238,0.8);
  line-height: 1.4;
}
.vc-panel-deco {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(111,162,135,0.12);
}
.vc-deco-1 { width: 280px; height: 280px; bottom: -100px; left: -80px; }
.vc-deco-2 { width: 180px; height: 180px; bottom: -40px; left: -20px; }

/* Modal right content */
.vc-content {
  background: var(--warm-white);
  display: flex; flex-direction: column;
  overflow-y: auto;
  position: relative;
}
.vc-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 32px 48px 0;
  flex-shrink: 0;
}
.vc-close {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,83,76,0.6);
  background: none; border: 1px solid rgba(0,83,76,0.2);
  padding: 9px 18px; cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.vc-close:hover { color: var(--dark); border-color: rgba(0,83,76,0.5); }

/* Form area */
.vc-form-area {
  padding: 36px 48px 48px;
  flex: 1;
  animation: vcFadeIn 0.35s ease forwards;
}
@keyframes vcFadeIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.vc-form-label {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.vc-form-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300; line-height: 1.1;
  color: var(--dark);
  margin-bottom: 32px;
}
.vc-form-title em { font-style: italic; color: var(--brown-mid); }

.vc-form { display: flex; flex-direction: column; gap: 20px; max-width: 440px; }
.vc-field { display: flex; flex-direction: column; gap: 7px; }
.vc-field-label {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brown-light);
}
.vc-input {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.88rem; font-weight: 300;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}
.vc-input:focus { border-color: var(--gold); background: var(--warm-white); }
.vc-input::placeholder { color: rgba(0,83,76,0.3); }
.vc-textarea { resize: vertical; min-height: 80px; }

/* Gift toggle */
.vc-gift-toggle {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0;
  cursor: pointer;
}
.vc-toggle-switch {
  position: relative;
  width: 44px; height: 24px;
  background: rgba(0,83,76,0.12);
  border-radius: 12px;
  transition: background 0.3s;
  flex-shrink: 0;
}
.vc-toggle-switch::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--warm-white);
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.vc-gift-toggle.active .vc-toggle-switch {
  background: var(--gold);
}
.vc-gift-toggle.active .vc-toggle-switch::after {
  transform: translateX(20px);
}
.vc-toggle-label {
  font-size: 0.78rem; font-weight: 300;
  color: var(--dark);
}
.vc-gift-fields {
  display: none;
  flex-direction: column; gap: 16px;
  padding-top: 4px;
}
.vc-gift-fields.visible { display: flex; }
.vc-coupon-fields {
    display: none;
    flex-direction: column; gap: 12px;
}

/* Submit button */
.vc-submit {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
  width: 100%;
  text-align: center;
}
.vc-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.vc-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.vc-secure-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.65rem; font-weight: 300;
  color: rgba(0,83,76,0.4);
  margin-top: 4px;
}

/* ── SUCCESS STATE ── */
.vc-success {
  display: none;
  padding: 60px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: var(--cream);
}
.vc-success.visible { display: flex; }

.vc-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(0,83,76,0.08);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  animation: confirmPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes confirmPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.vc-success-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 12px;
}
.vc-success-sub {
  font-size: 0.88rem; font-weight: 300;
  color: var(--brown-mid);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 32px;
}
.vc-success-code {
  padding: 20px 40px;
  border: 1px dashed var(--border);
  background: var(--warm-white);
  margin-bottom: 32px;
}
.vc-success-code-label {
  font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.vc-success-code-value {
  font-family: 'Prompt', sans-serif;
  font-size: 1.8rem; font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--dark);
}
.vc-success-cta {
  display: inline-block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  background: var(--gold);
  padding: 16px 48px;
  transition: background 0.3s;
}
.vc-success-cta:hover { background: var(--gold-light); }

/* ── TRUST STRIP ── */
.voucher-trust {
  padding: 48px 60px;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.vt-item {}
.vt-icon {
  margin-bottom: 12px;
  color: var(--gold);
}
.vt-title {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}
.vt-text {
  font-size: 0.75rem; font-weight: 300;
  color: var(--brown-light);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .voucher-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .vc-modal { grid-template-columns: 1fr; }
  .vc-panel { display: none; }
  .vc-form-area { padding: 28px 24px 48px; }
  .vc-header { padding: 24px 24px 0; }
  .voucher-hero { padding: 120px 28px 60px; }
  .voucher-filters { padding: 0 28px; }
  .voucher-grid-section { padding: 40px 28px; }
  .voucher-trust { padding: 40px 28px; grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .voucher-grid { grid-template-columns: 1fr; }
  .voucher-hero { padding: 100px 20px 48px; }
  .voucher-filters { padding: 0 20px; }
  .voucher-grid-section { padding: 32px 20px; }
  .vc-form-area { padding: 24px 20px 40px; }
  .vc-header { padding: 20px 20px 0; }
}
