.layout-minimal .cart-drawer {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(540px, 100vw);
  background:
    radial-gradient(circle at 100% 0, rgba(13, 159, 150, 0.08), transparent 26%),
    #f5f7fa;
}

.layout-minimal .cart-progress {
  display: grid;
  grid-template-columns: auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
  gap: 10px;
  padding: 13px 28px 18px;
}

.layout-minimal .cart-progress button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0;
  color: #9aa2b0;
  border: 0;
  background: transparent;
  font-size: 0.61rem;
  font-weight: 750;
}

.layout-minimal .cart-progress button:disabled {
  cursor: default;
}

.layout-minimal .cart-progress button.active {
  color: #123068;
}

.layout-minimal .cart-progress button.complete {
  color: #13877f;
}

.layout-minimal .cart-progress button b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #8b94a5;
  border: 1px solid rgba(11, 31, 70, 0.11);
  border-radius: 50%;
  background: #ffffff;
  font-size: 0.58rem;
}

.layout-minimal .cart-progress button.active b {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(145deg, #14aaa0, #087b76);
  box-shadow: 0 7px 16px rgba(13, 159, 150, 0.22);
}

.layout-minimal .cart-progress button.complete b {
  color: #087b76;
  border-color: rgba(13, 159, 150, 0.18);
  background: #e9f8f6;
}

.layout-minimal .cart-stage-host {
  min-height: 0;
  overflow: hidden;
}

.layout-minimal .cart-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}

.layout-minimal .cart-stage[data-cart-stage="2"] {
  grid-template-rows: auto minmax(0, 1fr);
}

.layout-minimal .cart-stage[hidden] {
  display: none !important;
}

.layout-minimal .cart-stage-heading {
  padding: 18px 26px 13px;
  outline: 0;
}

.layout-minimal .cart-stage-heading > span {
  color: #13877f;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.layout-minimal .cart-stage-heading h3 {
  margin: 5px 0 3px;
  color: #102653;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.layout-minimal .cart-stage-heading p {
  margin: 0;
  color: #7e8899;
  font-size: 0.66rem;
  line-height: 1.45;
}

.layout-minimal .cart-stage-scroll,
.layout-minimal .delivery-stage-scroll {
  min-height: 0;
  overflow: auto;
  scrollbar-color: rgba(11, 31, 70, 0.16) transparent;
}

.layout-minimal .cart-items {
  max-height: none;
  overflow: visible;
  padding: 5px 22px 12px;
}

.layout-minimal .cart-benefit-tools {
  margin: 0 22px 16px;
  padding: 16px;
  border: 1px solid rgba(11, 31, 70, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(9, 26, 60, 0.05);
}

.layout-minimal .cart-stage-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 26px;
  border-top: 1px solid rgba(11, 31, 70, 0.07);
  background: rgba(255, 255, 255, 0.94);
}

.layout-minimal .cart-stage-subtotal span {
  color: #707b8e;
  font-size: 0.68rem;
  font-weight: 700;
}

.layout-minimal .cart-stage-subtotal strong {
  color: #102653;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.layout-minimal .delivery-stage-scroll {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 5px 24px 22px;
}

.layout-minimal .checkout-customer-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(13, 159, 150, 0.12);
  border-radius: 19px;
  background: linear-gradient(135deg, #edf9f7, #ffffff);
  box-shadow: 0 12px 30px rgba(9, 26, 60, 0.05);
}

.layout-minimal .checkout-customer-card.needs-login {
  border-color: rgba(201, 166, 107, 0.2);
  background: linear-gradient(135deg, #fff9ef, #ffffff);
}

.layout-minimal .checkout-customer-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(145deg, #14aaa0, #087b76);
  box-shadow: 0 9px 18px rgba(13, 159, 150, 0.2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.layout-minimal .checkout-customer-card > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.layout-minimal .checkout-customer-card span {
  color: #13877f;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.layout-minimal .checkout-customer-card strong {
  color: #173064;
  font-size: 0.76rem;
}

.layout-minimal .checkout-customer-card small {
  color: #758096;
  font-size: 0.59rem;
  line-height: 1.45;
}

.layout-minimal .checkout-customer-card button {
  min-height: 34px;
  padding: 0 11px;
  color: #116c66;
  border: 1px solid rgba(13, 159, 150, 0.16);
  border-radius: 11px;
  background: #ffffff;
  font-size: 0.58rem;
  font-weight: 750;
}

.layout-minimal .delivery-choice {
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
}

.layout-minimal .delivery-choice label {
  min-height: 72px;
  padding: 13px 14px;
  border-radius: 17px;
}

.layout-minimal .delivery-choice label > span {
  display: grid;
  gap: 4px;
}

.layout-minimal .delivery-choice label strong {
  color: #173064;
  font-size: 0.7rem;
}

.layout-minimal .delivery-choice label small {
  color: #7d8798;
  font-size: 0.58rem;
  font-weight: 550;
  line-height: 1.4;
}

.layout-minimal .delivery-choice label:has(input:checked) strong {
  color: #125f59;
}

.layout-minimal .cart-assurance {
  margin: 0;
}

.layout-minimal .cart-summary {
  padding: 3px 16px 13px;
  border: 1px solid rgba(11, 31, 70, 0.07);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(9, 26, 60, 0.05);
}

.layout-minimal .cart-summary dl {
  margin: 8px 0 0;
  border-top: 0;
  border-bottom: 0;
}

.layout-minimal .cart-checkout-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  padding: 15px 22px calc(17px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(11, 31, 70, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -16px 42px rgba(9, 26, 60, 0.08);
}

.layout-minimal .cart-next-button,
.layout-minimal .cart-back-button {
  min-height: 51px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 0.68rem;
  font-weight: 800;
}

.layout-minimal .cart-next-button {
  grid-column: 1 / -1;
  color: #ffffff;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 42%),
    linear-gradient(145deg, #173879, #081e4a);
  box-shadow: 0 16px 32px rgba(11, 31, 70, 0.22);
}

.layout-minimal .cart-next-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  box-shadow: none;
}

.layout-minimal .cart-next-button::after {
  margin-left: 10px;
  content: "→";
}

.layout-minimal .cart-back-button {
  color: #526079;
  border: 1px solid rgba(11, 31, 70, 0.09);
  background: #f7f9fb;
}

.layout-minimal .cart-checkout-actions .checkout-button {
  min-width: 0;
}

.layout-minimal .checkout-alternative {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9aa2b0;
  font-size: 0.55rem;
  text-transform: uppercase;
}

.layout-minimal .checkout-alternative::before,
.layout-minimal .checkout-alternative::after {
  height: 1px;
  flex: 1;
  background: rgba(11, 31, 70, 0.08);
  content: "";
}

.layout-minimal .cart-checkout-actions .whatsapp-checkout {
  grid-column: 1 / -1;
  margin-top: 0;
}

.layout-minimal .cart-checkout-actions > [hidden] {
  display: none !important;
}

.layout-minimal .payment-modal {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.layout-minimal .payment-progress {
  display: grid;
  grid-template-columns: auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-bottom: 1px solid rgba(11, 31, 70, 0.07);
  background: #ffffff;
}

.layout-minimal .payment-progress span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8f99aa;
  font-size: 0.58rem;
  font-weight: 750;
}

.layout-minimal .payment-progress b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #f2f4f7;
  font-size: 0.55rem;
}

.layout-minimal .payment-progress .complete {
  color: #13877f;
}

.layout-minimal .payment-progress .complete b {
  color: #087b76;
  background: #e8f8f5;
}

.layout-minimal .payment-progress .active {
  color: #173064;
}

.layout-minimal .payment-progress .active b {
  color: #ffffff;
  background: linear-gradient(145deg, #173879, #081e4a);
}

.layout-minimal .payment-progress i {
  height: 1px;
  background: rgba(11, 31, 70, 0.1);
}

@media (max-width: 600px) {
  .layout-minimal .cart-progress {
    gap: 6px;
    padding: 9px 16px 12px;
  }

  .layout-minimal .cart-progress button {
    gap: 4px;
    font-size: 0.55rem;
  }

  .layout-minimal .cart-progress button b {
    width: 21px;
    height: 21px;
  }

  .layout-minimal .cart-stage-heading {
    padding: 13px 17px 10px;
  }

  .layout-minimal .cart-stage-heading h3 {
    font-size: 1.05rem;
  }

  .layout-minimal .cart-items {
    padding: 4px 12px 8px;
  }

  .layout-minimal .cart-benefit-tools {
    margin: 0 12px 12px;
    padding: 13px;
    border-radius: 17px;
  }

  .layout-minimal .cart-stage-subtotal {
    padding: 12px 17px;
  }

  .layout-minimal .delivery-stage-scroll {
    gap: 10px;
    padding: 3px 14px 16px;
  }

  .layout-minimal .delivery-stage-scroll .cart-summary {
    height: max-content;
    min-height: max-content;
    max-height: none;
    overflow: visible;
  }

  .layout-minimal .checkout-customer-card {
    grid-template-columns: 38px 1fr;
    padding: 12px;
    border-radius: 16px;
  }

  .layout-minimal .checkout-customer-icon {
    width: 38px;
    height: 38px;
  }

  .layout-minimal .checkout-customer-card button {
    grid-column: 2;
    justify-self: start;
  }

  .layout-minimal .delivery-choice label {
    min-height: 65px;
  }

  .layout-minimal .cart-checkout-actions {
    grid-template-columns: 1fr;
    padding: 11px 14px calc(13px + env(safe-area-inset-bottom));
  }

  .layout-minimal .cart-back-button,
  .layout-minimal .cart-checkout-actions .checkout-button {
    grid-column: 1;
  }

  .layout-minimal .cart-back-button {
    min-height: 42px;
  }

  .layout-minimal .payment-progress {
    gap: 6px;
    padding: 10px 18px;
  }

  .layout-minimal .payment-progress span {
    gap: 4px;
    font-size: 0.52rem;
  }
}
.layout-minimal .delivery-coverage-notice {
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid #f0c16b;
  border-radius: 14px;
  background: #fff8e8;
  color: #764a00;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
}
.layout-minimal .delivery-coverage-notice.is-covered {
  border-color: #b9dfc5;
  background: #eefaf2;
  color: #21663a;
}
