/* Curerative checkout — dark/gold skin (matches LP). DapurSunnah concept, Curerative style. */
:root{
  --cd:#0E0B0A; --cd2:#15100D; --cd3:#1A120E;
  --gold:#D9A583; --gold2:#B0765A; --cream:#F7EFE9; --cream2:#E4D5CA; --muted:#B7A79D;
  --card:#FAF7F5; --ink:#1C1614; --ink2:#4A3D35; --line:#E0D3C9; --linedk:#3A2B22;
  --ok:#3E7A44; --err:#A33B32;
}

/* hide block-theme header/footer for a distraction-free checkout */
.woocommerce-checkout header.wp-block-template-part,
.woocommerce-checkout footer.wp-block-template-part,
.woocommerce-cart header.wp-block-template-part,
.woocommerce-cart footer.wp-block-template-part,
.woocommerce-order-received header.wp-block-template-part,
.woocommerce-order-received footer.wp-block-template-part{ display:none !important; }

.woocommerce-checkout, .woocommerce-cart, .woocommerce-order-received{
  background:linear-gradient(180deg,var(--cd2) 0%,var(--cd) 100%) !important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--cream);
}
.woocommerce-checkout .wp-block-group.is-layout-constrained>*{ margin:0; }
.woocommerce-checkout .entry-header, .woocommerce-checkout .page-title, .woocommerce-checkout h1.entry-title{ display:none; }

/* shell */
.cure-checkout-shell{ max-width:720px; margin:0 auto; padding:20px 16px 60px; }

/* pakej hero */
.cure-pakej-hero{ background:var(--cd3); border:1px solid var(--linedk); border-radius:14px; padding:16px; margin:0 auto 18px; }
.cure-pakej-label{ font-family:'Archivo',sans-serif; font-size:12px; letter-spacing:2px; font-weight:800; color:var(--gold); margin-bottom:12px; }
.cure-pakej-card{ display:flex; align-items:center; gap:12px; }
.cure-pakej-img{ width:70px; height:70px; object-fit:cover; border-radius:10px; background:#fff; flex:0 0 auto; }
.cure-pakej-body{ flex:1 1 auto; min-width:0; }
.cure-pakej-name{ font-weight:700; font-size:15px; color:var(--cream); line-height:1.3; }
.cure-pakej-meta{ font-size:13px; color:var(--muted); margin-top:3px; }
.cure-pakej-price{ font-family:'Archivo',sans-serif; font-weight:900; font-size:20px; color:var(--gold); white-space:nowrap; }
.cure-pakej-switch{ display:inline-block; margin-top:12px; font-size:13px; font-weight:700; color:var(--cream2); text-decoration:none; border-bottom:1px dashed var(--gold2); }

/* two-column layout */
form.checkout.woocommerce-checkout{ display:flex; flex-wrap:wrap; gap:22px; align-items:flex-start; }
form.checkout #customer_details{ flex:1 1 340px; }
form.checkout #order_review, form.checkout #order_review_heading{ flex:1 1 300px; }
#order_review_heading{ font-family:'Archivo',sans-serif; font-size:16px; font-weight:800; color:var(--cream); margin:0 0 8px; }

/* form card (customer details) */
#customer_details .col-1, #customer_details .col-2, .woocommerce-billing-fields{
  background:var(--card); color:var(--ink); border-radius:16px; padding:22px 20px; box-shadow:0 8px 30px rgba(0,0,0,.35);
}
.woocommerce-billing-fields h3, #customer_details h3{ font-family:'Archivo',sans-serif; font-size:20px; font-weight:900; color:var(--ink); margin:0 0 16px; }
.woocommerce-checkout .form-row{ margin:0 0 14px; padding:0; }
.woocommerce-checkout label{ font-size:13px; font-weight:800; letter-spacing:.3px; color:var(--ink2); margin-bottom:6px; display:block; }
.woocommerce-checkout label .required{ color:var(--gold2); border:0; }
.woocommerce-checkout .input-text, .woocommerce-checkout input.input-text, .woocommerce-checkout textarea,
.woocommerce-checkout .select2-selection--single{
  width:100%; box-sizing:border-box; border:1.5px solid var(--line) !important; border-radius:10px !important;
  padding:14px !important; font-size:16px !important; background:#fff !important; color:var(--ink) !important;
  outline:none; height:auto !important; line-height:1.3 !important;
}
.woocommerce-checkout .input-text:focus, .woocommerce-checkout textarea:focus{ border-color:var(--gold2) !important; box-shadow:0 0 0 3px rgba(176,118,90,.15); }
.select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:1.3 !important; padding:0 !important; color:var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow{ top:12px; right:8px; }
.select2-dropdown{ border:1.5px solid var(--gold2); }
.select2-container--default .select2-results__option--highlighted[aria-selected]{ background:var(--gold2); }

/* inline hints */
.cure-inline-hint{ font-size:13px; font-weight:700; margin-top:6px; line-height:1.35; }
.cure-hint-ok{ color:var(--ok); }
.cure-hint-error{ color:var(--err); }
.cure-hint-info{ color:var(--ink2); }

/* order review table */
.woocommerce-checkout-review-order-table{ width:100%; background:var(--card); color:var(--ink); border-radius:16px; padding:8px 16px; box-shadow:0 8px 30px rgba(0,0,0,.35); border-collapse:collapse; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td{ padding:12px 4px; font-size:15px; border-top:1px solid var(--line); text-align:right; }
.woocommerce-checkout-review-order-table th{ text-align:left; font-weight:700; color:var(--ink2); }
.woocommerce-checkout-review-order-table .product-name{ text-align:left; font-weight:700; }
.woocommerce-checkout-review-order-table tr:first-child th, .woocommerce-checkout-review-order-table tr:first-child td{ border-top:0; }
.woocommerce-checkout-review-order-table .order-total .amount{ color:var(--gold2); font-family:'Archivo',sans-serif; font-weight:900; font-size:18px; }

/* JUMLAH BAYAR card */
.cure-total-card{ display:flex; justify-content:space-between; align-items:center; background:linear-gradient(135deg,var(--cd3),var(--cd)); border:1px solid var(--gold2); border-radius:14px; padding:16px 18px; margin:16px 0; }
.cure-total-label{ font-family:'Archivo',sans-serif; font-weight:800; letter-spacing:1px; font-size:14px; color:var(--cream); }
.cure-total-amount{ font-family:'Archivo',sans-serif; font-weight:900; font-size:26px; color:var(--gold); }

/* payment methods */
.woocommerce-checkout #payment{ background:transparent; border-radius:0; }
.woocommerce-checkout #payment ul.payment_methods{ background:var(--card); border-radius:14px; padding:14px 16px; border:0; margin-bottom:14px; list-style:none; }
.woocommerce-checkout #payment ul.payment_methods li{ margin:0 0 8px; color:var(--ink); font-weight:700; }
.woocommerce-checkout #payment ul.payment_methods li label{ display:inline; color:var(--ink); font-size:15px; font-weight:800; }
.woocommerce-checkout #payment div.payment_box{ background:#F1E9E3; color:var(--ink2); border-radius:10px; font-size:13.5px; }
.woocommerce-checkout #payment div.payment_box::before{ border-bottom-color:#F1E9E3; }

/* terms notice */
.cure-terms-notice{ font-size:12.5px; color:var(--muted); text-align:center; margin:6px 0 14px; line-height:1.5; }

/* place order button */
.woocommerce-checkout #place_order, .woocommerce #payment #place_order{
  width:100%; border:none; cursor:pointer; background:linear-gradient(135deg,var(--gold),var(--gold2)) !important;
  color:#1A120E !important; font-family:'Archivo',sans-serif; font-size:19px !important; font-weight:900 !important;
  letter-spacing:.3px; padding:20px !important; border-radius:12px !important; box-shadow:0 10px 26px rgba(176,118,90,.4);
  text-transform:none; float:none; margin-top:4px; transition:filter .15s;
}
.woocommerce-checkout #place_order:hover{ filter:brightness(1.07); }

/* mobile summary toggle */
.cure-summary-toggle{ display:none; width:100%; background:var(--cd3); color:var(--cream); border:1px solid var(--linedk); border-radius:12px; padding:14px 16px; font-weight:800; font-size:15px; cursor:pointer; justify-content:space-between; align-items:center; margin-bottom:12px; }
@media(max-width:900px){ .cure-summary-toggle{ display:flex; } .cure-summary-collapsed{ display:none !important; } }

/* notices */
.woocommerce-checkout .woocommerce-error, .woocommerce-checkout .woocommerce-message, .woocommerce-checkout .woocommerce-info{
  background:var(--card); color:var(--ink); border-top:3px solid var(--gold2); border-radius:10px; font-size:14.5px; font-weight:600;
}
.woocommerce-checkout .woocommerce-error{ border-top-color:var(--err); color:var(--err); }

/* footer */
.cure-checkout-footer{ max-width:720px; margin:24px auto 0; padding:20px 16px; text-align:center; }
.cure-pay-icons{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; font-size:13px; font-weight:700; color:var(--muted); margin-bottom:10px; }
.cure-copyright{ font-size:12px; color:#6D6058; }

/* thank you */
.cure-thankyou{ max-width:560px; margin:0 auto; font-family:'Inter',sans-serif; }
.cure-ty-banner{ text-align:center; background:linear-gradient(135deg,var(--gold),var(--gold2)); color:#1A120E; padding:28px 20px; border-radius:16px; margin-bottom:18px; }
.cure-ty-icon{ font-size:46px; margin-bottom:6px; }
.cure-ty-banner h2{ font-family:'Archivo',sans-serif; font-size:26px; font-weight:900; margin:0 0 8px; color:#1A120E; }
.cure-ty-banner p{ font-size:16px; font-weight:600; margin:0; color:#2A1D14; }
.cure-ty-box{ background:var(--card); color:var(--ink); border-radius:14px; padding:20px; margin-bottom:14px; }
.cure-ty-box h3{ font-family:'Archivo',sans-serif; font-size:18px; font-weight:900; margin:0 0 14px; color:var(--ink); }
.cure-ty-step{ display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; font-size:15px; font-weight:600; line-height:1.4; }
.cure-ty-step span{ background:var(--gold2); color:#fff; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:900; flex-shrink:0; }
.cure-ty-box ol{ padding-left:22px; margin:0; }
.cure-ty-box li{ font-size:15px; font-weight:600; margin-bottom:8px; line-height:1.45; }
.cure-ty-note{ font-size:13px; color:var(--ink2); margin-top:10px; }

@media(max-width:600px){
  .cure-checkout-shell{ padding:14px 12px 50px; }
  #customer_details .col-1, #customer_details .col-2, .woocommerce-billing-fields{ padding:18px 16px; }
}
