/* Pawon Nusantara storefront refinements v7.1.2 */

/* Compact checkout ------------------------------------------------------- */
.checkout-hero{padding-top:32px;padding-bottom:24px}
.checkout-hero h1{margin-bottom:8px}
.checkout-hero p{max-width:720px;margin-bottom:0}
.checkout-layout--v71{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:20px;padding-top:26px;padding-bottom:64px}
.checkout-form-v71{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  padding:0;
  overflow:visible;
  border:0;
  background:transparent;
}
.checkout-form-v71>.checkout-account-prompt,
.checkout-section--customer,
.checkout-section--notes,
.checkout-submit-v71,
.checkout-submit-note{grid-column:1/-1}
.checkout-form-v71>.checkout-account-prompt{
  margin:0;
  min-height:64px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 28px rgba(16,24,40,.05)
}
.checkout-section{
  min-width:0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 10px 30px rgba(16,24,40,.045)
}
.checkout-section:last-of-type{border-bottom:1px solid var(--line)}
.checkout-section__heading{gap:10px;margin-bottom:14px}
.checkout-section__heading>span{width:27px;height:27px;border-radius:9px;font-size:11px}
.checkout-section__heading h2{font-size:16px}
.checkout-section__heading p{margin-top:2px;font-size:10px;line-height:1.45}
.checkout-section .form-grid{gap:12px}
.checkout-section .field{gap:5px}
.checkout-section .field label{font-size:11px}
.checkout-section .field input,
.checkout-section .field select{height:41px;border-radius:9px}
.checkout-section .field textarea{min-height:72px;border-radius:9px}
.checkout-section .field small{font-size:9px;line-height:1.45}
.field-marker{transform:translateY(-1px)}
.choice-grid{gap:8px}
.checkout-section--schedule .choice-grid,
.checkout-section--payment .choice-grid{grid-template-columns:1fr}
.choice-card{min-height:62px;padding:11px;border-radius:12px;gap:9px}
.choice-card__icon{width:30px;height:30px;border-radius:9px;font-size:14px}
.choice-card strong{font-size:11px}
.choice-card small{margin-top:2px;font-size:9px;line-height:1.35}
.schedule-now-note{margin-top:9px;padding:9px 10px;font-size:10px}
.schedule-fields,.ewallet-fields{gap:10px;margin-top:9px;padding:11px;border-radius:11px}
.checkout-section--notes textarea{min-height:64px}
.checkout-submit-v71{width:100%;margin:0;min-height:51px;border-radius:14px}
.checkout-submit-note{margin:-4px 0 0;font-size:10px}
.summary-card--v71{top:102px;padding:18px;border-radius:18px}
.summary-card__heading{margin-bottom:10px}
.summary-card__heading h2{font-size:18px}
.checkout-item--v71{grid-template-columns:46px minmax(0,1fr);gap:9px;padding:11px 0}
.checkout-item--v71>img{width:46px;height:42px}
.checkout-item__main>strong,.checkout-item__price{font-size:11px}
.checkout-item__main>small{font-size:9px}
.checkout-item__note-toggle{margin-top:5px;font-size:9px}
.checkout-item__note{padding:8px;margin-top:6px}
.checkout-item__note textarea{min-height:50px;font-size:10px}
.summary-total{margin-top:13px;padding-top:13px}
.summary-total strong{font-size:17px}
.summary-disclaimer{font-size:9px}

/* Digital receipt -------------------------------------------------------- */
.order-receipt-section{margin-top:28px;padding-top:24px;border-top:1px solid #e7e9ee;text-align:left}
.order-receipt-section__header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.order-receipt-section__header h2{margin:3px 0 0;font-size:22px;letter-spacing:-.03em}
.order-receipt-section__header p{max-width:470px;margin:0;color:var(--muted);font-size:11px;line-height:1.55;text-align:right}
.receipt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.receipt-actions .button{min-height:39px;padding:0 14px;border-radius:10px;font-size:11px}
.order-receipt{
  width:min(430px,100%);
  margin:0 auto;
  padding:24px 22px;
  border:1px solid #e3e7e2;
  background:#fff;
  color:#111;
  box-shadow:0 16px 45px rgba(16,24,40,.10);
  font-family:"Courier New",Courier,monospace;
  font-size:11px;
  line-height:1.38;
}
.order-receipt__brand h3{margin:0;font:800 18px/1.15 "Courier New",Courier,monospace;letter-spacing:.02em}
.order-receipt__brand p{margin:2px 0 0;font-size:9px}
.order-receipt__rule{margin:12px 0;border-top:1px dashed #111}
.order-receipt__meta{display:grid;grid-template-columns:1.35fr 1fr .8fr;gap:10px}
.order-receipt__meta small{display:block;margin-bottom:2px;font-size:8px;font-weight:700;text-transform:uppercase}
.order-receipt__meta strong{font-size:9px;overflow-wrap:anywhere}
.order-receipt__customer p,.order-receipt__notes p{margin:2px 0;overflow-wrap:anywhere}
.order-receipt__items{display:grid;gap:9px}
.order-receipt__item-name{display:flex;justify-content:space-between;gap:12px;font-weight:700}
.order-receipt__item-name span:first-child{min-width:0;overflow-wrap:anywhere}
.order-receipt__item-detail{display:flex;justify-content:space-between;gap:12px;font-size:9px}
.order-receipt__item-note{margin-top:2px;font-size:8px;font-style:italic}
.order-receipt__totals{display:grid;gap:3px}
.order-receipt__totals p{display:flex;justify-content:space-between;gap:14px;margin:0}
.order-receipt__totals .is-total{margin-top:4px;padding-top:5px;border-top:1px solid #111;font-size:13px;font-weight:800}
.order-receipt__payment{display:flex;justify-content:space-between;gap:12px;margin:0}
.order-receipt__payment strong{text-align:right}
.order-receipt__footer{margin-top:14px;text-align:center}
.order-receipt__footer strong{display:block}
.order-receipt__footer small{display:block;margin-top:3px;font-size:8px}
.receipt-private-note{max-width:560px;margin:14px auto 0;color:var(--muted);font-size:10px;line-height:1.5;text-align:center}

@media(max-width:980px){
  .checkout-layout--v71{grid-template-columns:1fr}
  .summary-card--v71{position:static;order:-1}
}
@media(max-width:760px){
  .checkout-hero{padding-top:25px;padding-bottom:18px}
  .checkout-layout--v71{padding-top:18px;padding-bottom:48px}
  .checkout-form-v71{grid-template-columns:1fr;gap:11px}
  .checkout-form-v71>.checkout-account-prompt,
  .checkout-section--customer,
  .checkout-section--notes,
  .checkout-submit-v71,
  .checkout-submit-note{grid-column:auto}
  .checkout-section{padding:15px}
  .checkout-section .form-grid{grid-template-columns:1fr}
  .checkout-section .field--full{grid-column:auto}
  .checkout-form-v71>.checkout-account-prompt{margin:0}
  .checkout-submit-v71{width:100%;margin:0}
  .checkout-submit-note{margin:-3px 0 0}
  .order-receipt-section__header{align-items:flex-start;flex-direction:column}
  .order-receipt-section__header p{text-align:left}
  .receipt-actions{display:grid;grid-template-columns:1fr 1fr}
  .receipt-actions .button{width:100%}
}
@media(max-width:480px){
  .order-receipt{padding:19px 16px;font-size:10px}
  .order-receipt__meta{grid-template-columns:1fr 1fr}
  .order-receipt__meta>div:last-child{grid-column:1/-1}
  .receipt-actions{grid-template-columns:1fr}
}

@media print{
  @page{size:auto;margin:5mm}
  body *{visibility:hidden!important}
  .order-receipt,.order-receipt *{visibility:visible!important}
  .order-receipt{
    position:absolute;
    top:0;
    left:0;
    width:70mm;
    max-width:none;
    margin:0;
    padding:0;
    border:0;
    box-shadow:none;
    font-size:9pt;
  }
  .order-receipt__brand h3{font-size:14pt}
  .order-receipt__rule{margin:8pt 0}
}
