/* Indego Fresh Store v1.2.5 — only Classic WooCommerce Checkout.
   This layer follows the existing tested checkout grid and does not affect the rest of the site. */
body:has(.idn-checkout-steps) .idn-page > h1 {display:none!important}
body .idn-page .idn-checkout-steps,
body .idn-page .idn-co-intro {
  box-sizing:border-box;width:100%;max-width:100%;
}
body .idn-page .idn-checkout-steps {
  padding:25px 28px 22px;margin:10px 0 0;
  border-radius:9px 9px 0 0;
  background:var(--idn-co-progress-bg,#2c292a);
  color:var(--idn-co-progress-text,#fff);
  text-align:center;
}
body .idn-page .idn-checkout-steps h2{
  color:inherit!important;font-size:clamp(21px,2.2vw,29px)!important;
  font-weight:800!important;letter-spacing:.035em;
  line-height:1.2!important;margin:0 0 19px!important;
}
body .idn-page .idn-checkout-steps-line {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  justify-items:center;gap:6px;position:relative;max-width:920px;margin:0 auto;
  isolation:isolate;
}
body .idn-page .idn-checkout-steps-line:before {
  content:"";position:absolute;z-index:-1;left:16.6667%;right:16.6667%;
  top:31px;height:2px;background:rgba(255,255,255,.66);
}
body .idn-page .idn-co-step {
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:9px;width:100%;min-width:0;color:var(--idn-co-progress-text,#fff);
  text-decoration:none!important;font-weight:750;line-height:1.25;
}
body .idn-page .idn-co-step-icon {
  border-radius:50%;width:62px;height:62px;display:grid;place-items:center;
  background:var(--idn-co-progress-muted,#8498a6);color:#fff;
  font-size:27px;font-weight:800;line-height:1;
  border:5px solid var(--idn-co-progress-bg,#2c292a);
  box-sizing:border-box;
}
body .idn-page .idn-co-step-completed .idn-co-step-icon,
body .idn-page .idn-co-step-current .idn-co-step-icon{
  background:var(--idn-co-progress-active,#00a65b);
}
body .idn-page .idn-co-step-current .idn-co-step-icon {width:74px;height:74px;margin-top:-6px;margin-bottom:-6px;font-size:32px}
body .idn-page .idn-co-step-icon svg{width:55%;height:55%;stroke:currentColor;display:block}
body .idn-page .idn-co-step-name {display:block;font-size:14px;color:inherit;text-align:center;overflow-wrap:anywhere}
body .idn-page .idn-co-intro {
  background:#fff;border:1px solid #e7e7e7;border-top:0;
  margin:0 0 18px!important;padding:16px 20px;
  border-radius:0 0 9px 9px;text-align:center;
  color:#182d4e;font-size:16px;line-height:1.55;font-weight:700;
  box-shadow:0 2px 12px rgba(20,31,56,.05);
}
body .idn-page .idn-checkout-steps + .woocommerce,
body .idn-page .idn-co-intro + .woocommerce {max-width:100%}

/* Woo's three real visible billing fields; other checkout data remains in WooCommerce. */
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper {
  display:flex!important;flex-direction:column!important;gap:12px!important;overflow:visible;
}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .idn-co-three-field,
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details #billing_first_name_field,
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details #billing_phone_field,
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details #billing_address_1_field {
  display:block!important;float:none!important;clear:both!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;
}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .idn-co-three-field label {
  font-size:14px!important;font-weight:700!important;margin:0 0 7px!important;
}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .idn-co-three-field input.input-text{
  background:#f0fbf6!important;min-height:48px!important;
  padding:11px 14px!important;
}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .idn-co-three-field input.input-text:focus {
  outline:2px solid var(--idn-co-accent,#303f78);outline-offset:1px;
}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .woocommerce-additional-fields {
  display:none!important;
}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details > .col-2{display:none!important}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #idn-checkout-delivery{margin-top:0!important}
body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout .idn-checkout-left{gap:13px!important}

/* Preserve actual WooCommerce order totals, shipping selection and payment. */
@media(max-width:900px){
 body .idn-page .idn-checkout-steps{padding:20px 18px 17px}
 body .idn-page .idn-co-intro{font-size:14px;padding:13px 14px}
}
@media(max-width:600px){
 body .idn-page .idn-checkout-steps{padding:18px 9px 16px;margin-top:4px;border-radius:7px 7px 0 0}
 body .idn-page .idn-checkout-steps h2{font-size:21px!important;margin:0 0 16px!important}
 body .idn-page .idn-checkout-steps-line:before{top:24px}
 body .idn-page .idn-co-step{gap:7px}
 body .idn-page .idn-co-step-icon{width:48px;height:48px;font-size:20px;border-width:4px}
 body .idn-page .idn-co-step-current .idn-co-step-icon{width:58px;height:58px;font-size:24px;margin-top:-5px;margin-bottom:-5px}
 body .idn-page .idn-co-step-name{font-size:12px}
 body .idn-page .idn-co-intro{padding:11px 12px;font-size:12px;line-height:1.55}
 body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .woocommerce-billing-fields{padding:15px!important}
 body.idn-checkout-compact .idn-page form.checkout.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper{gap:10px!important}
}
