/* DKA IMPORT V31.56.45 — formulario de pedido compacto. Solo la tienda pública.
   Sin alterar IDs, validaciones, lógica comercial ni el control de acceso. */
.dka-store #checkoutView .section-head {
  align-items:center;
  margin-bottom:10px;
  gap:12px;
}
.dka-store #checkoutView .section-head h2 {
  font-size:clamp(21px,2.1vw,26px);
  line-height:1.2;
  margin:0;
}
.dka-store #checkoutView .section-head .link-back {
  margin:0 0 2px;
  padding:2px 0;
  font-size:13px;
}
.dka-store #checkoutView .section-head p {
  font-size:12px;
  line-height:1.3;
  margin:0;
}
.dka-store #checkoutView .checkout-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:9px;
  max-width:1100px;
  margin:0 auto;
}
.dka-store #checkoutView #checkoutForm {
  display:grid;
  grid-template-columns:minmax(0,0.9fr) minmax(0,1.25fr);
  align-items:start;
  gap:10px;
  min-width:0;
}
.dka-store #checkoutView #checkoutForm > .panel {
  min-width:0;
  padding:13px 16px;
  border-radius:12px;
}
.dka-store #checkoutView #checkoutForm > .panel:nth-child(3) {
  grid-column:1 / -1;
  padding:11px 16px;
}
.dka-store #checkoutView .panel-head {
  gap:8px;
  margin:0 0 7px;
  align-items:center;
}
.dka-store #checkoutView .panel-head h3 {
  font-size:15px;
  line-height:1.25;
}
.dka-store #checkoutView .panel-head p {
  font-size:11px;
  line-height:1.3;
  margin:0;
}
.dka-store #checkoutView .step-dot {
  width:26px;
  height:26px;
  flex:0 0 26px;
  font-size:12px;
}
.dka-store #checkoutView #checkoutForm label:not(.check) {
  font-size:12px;
  line-height:1.25;
  margin:6px 0 3px;
}
.dka-store #checkoutView #checkoutForm input:not([type=checkbox]),
.dka-store #checkoutView #checkoutForm textarea {
  font-size:16px;
  line-height:1.25;
  min-height:40px;
  padding:8px 11px;
  border-radius:9px;
}
.dka-store #checkoutView #checkoutForm #clientAddress {
  height:42px;
  min-height:42px;
  resize:vertical;
}
.dka-store #checkoutView #checkoutForm #lookupState:empty,
.dka-store #checkoutView #checkoutForm #v19MaskedPreview:empty {display:none}
.dka-store #checkoutView #checkoutForm .small-muted {line-height:1.3;margin:5px 0 0}
.dka-store #checkoutView .checkout-bottom {gap:12px;flex-wrap:nowrap}
.dka-store #checkoutView .checkout-bottom strong {font-size:18px;line-height:1.3}
.dka-store #checkoutView .checkout-bottom span {font-size:12px}
.dka-store #checkoutView .checkout-bottom .primary-btn {
  padding:10px 13px;
  min-height:43px;
  font-size:13px;
  flex:0 1 auto;
}
.dka-store #checkoutView .checkout-side {
  padding:0;
  box-shadow:none;
  border:0;
  background:transparent;
  font-size:12px;
}
.dka-store #checkoutView .checkout-side details {
  padding:6px 9px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
}
.dka-store #checkoutView .checkout-side summary {
  color:var(--muted);
  cursor:pointer;
  font-size:12px;
  font-weight:650;
}
.dka-store #checkoutView .checkout-side ul {line-height:1.45;margin:6px 0 3px}
.dka-store:has(#checkoutView:not([hidden])) .route-bar {margin:5px 0 9px}
.dka-store:has(#checkoutView:not([hidden])) .main-wrap {padding-top:7px}
@media (max-width:800px) {
  .dka-store #checkoutView #checkoutForm {grid-template-columns:minmax(0,1fr);gap:8px}
  .dka-store #checkoutView #checkoutForm > .panel:nth-child(3) {grid-column:1}
  .dka-store #checkoutView #checkoutForm > .panel {padding:11px 12px}
  .dka-store #checkoutView #checkoutForm > .panel:nth-child(3) {padding:10px 12px}
  .dka-store #checkoutView .panel-head {margin-bottom:5px}
  .dka-store #checkoutView #checkoutForm label:not(.check) {margin:5px 0 2px}
  .dka-store #checkoutView #checkoutForm input:not([type=checkbox]),
  .dka-store #checkoutView #checkoutForm textarea {min-height:44px}
  .dka-store #checkoutView #checkoutForm #clientAddress {height:44px;min-height:44px}
}
@media (max-width:520px) {
  .dka-store #checkoutView .section-head {display:block;margin-bottom:7px}
  .dka-store #checkoutView .section-head h2 {font-size:22px;letter-spacing:-.3px}
  .dka-store #checkoutView .section-head > p {display:none}
  .dka-store #checkoutView .panel-head p {display:none}
  .dka-store #checkoutView #checkoutForm > .panel {padding:9px 12px}
  .dka-store #checkoutView #checkoutForm > .panel:nth-child(3) {padding:9px 12px}
  .dka-store #checkoutView .checkout-bottom {gap:9px;flex-direction:column;align-items:stretch}
  .dka-store #checkoutView .checkout-bottom > div {display:flex;justify-content:space-between;align-items:center}
  .dka-store #checkoutView .checkout-bottom .primary-btn {width:100%;min-height:46px}
  .dka-store #checkoutView .checkout-bottom strong {font-size:18px}
}
@media (max-width:350px) {
  .dka-store #checkoutView #checkoutForm > .panel {padding:9px}
  .dka-store #checkoutView .section-head h2 {font-size:20px}
}
/* En teléfonos pequeños, el botón de regreso sustituye las barras informativas
   redundantes; se conserva el encabezado principal y el acceso al carrito. */
@media (max-width:520px) {
  .dka-store:has(#checkoutView:not([hidden])) .store-info-strip,
  .dka-store:has(#checkoutView:not([hidden])) .route-bar,
  .dka-store:has(#checkoutView:not([hidden])) .head-btn {display:none}
  .dka-store:has(#checkoutView:not([hidden])) .header-in {
    flex-wrap:nowrap;
    gap:8px;
    padding:7px 10px;
    min-height:57px;
  }
  .dka-store:has(#checkoutView:not([hidden])) .main-wrap {padding-top:8px}
}
