/* FLAMA-06B.6 — carrito compacto, sin miniatura duplicada. */
body[data-scope="store"] #cartDrawer.store-cart-drawer {
  width: min(100vw, 440px);
}
body[data-scope="store"] #cartDrawer .store-cart-header {
  padding: 1.05rem 1.2rem .85rem;
}
body[data-scope="store"] #cartDrawer .store-cart-caption {
  font-size: .82rem;
  max-width: none;
}
body[data-scope="store"] #cartDrawer .store-cart-body {
  padding: .9rem 1rem 1rem;
}
body[data-scope="store"] #cartDrawer .store-cart-overview {
  padding: .72rem .9rem;
  gap: .05rem;
  border-radius: 15px;
}
body[data-scope="store"] #cartDrawer .store-cart-overview-count {
  font-size: 1.12rem;
}
body[data-scope="store"] #cartDrawer .store-cart-overview-note {
  display: none;
}
body[data-scope="store"] #cartDrawer .store-cart-items {
  gap: .55rem;
  min-height: 0;
  flex-grow: 0 !important;
  flex-shrink: 0;
  padding-top: .7rem;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact {
  display: block;
  border-radius: 16px;
  padding: .76rem .88rem .72rem;
  box-shadow: 0 5px 18px rgba(20,60,49,.045);
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-main { width: 100%; }
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-top { display: block; }
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-title {
  font-size: .92rem;
  line-height: 1.28;
  font-weight: 780;
  overflow-wrap: anywhere;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-meta {
  gap: .28rem;
  margin-top: .35rem;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-chip {
  padding: .19rem .48rem;
  font-size: .67rem;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .58rem;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-stepper {
  order: 0 !important;
  gap: .16rem;
  padding: .18rem;
  flex: none;
  border-radius: 12px;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-stepper .btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 9px;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-qty {
  min-width: 22px;
  font-size: .87rem;
}
body[data-scope="store"] #cartDrawer .store-cart-price-cluster {
  min-width: 0;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: .08rem;
  margin-left: auto;
}
body[data-scope="store"] #cartDrawer .store-cart-price-cluster .store-cart-unit-note {
  color: #64776c;
  font-size: .67rem;
  line-height: 1.25;
  white-space: nowrap;
}
body[data-scope="store"] #cartDrawer .store-cart-price-cluster .store-cart-line-total {
  font-size: .96rem;
  color: #173e32;
  font-weight: 800;
}
body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-remove {
  order: 2 !important;
  font-size: .75rem;
  line-height: 1.1;
  min-height: 36px;
  padding: .35rem .15rem;
  white-space: nowrap;
}
body[data-scope="store"] #cartDrawer .store-cart-footer-card {
  border-radius: 17px;
  margin-top: auto !important;
  padding: .82rem .95rem;
}
body[data-scope="store"] #cartDrawer .store-cart-checkout {
  background: #e96132;
  color: #fff;
  border-color: #e96132;
}
body[data-scope="store"] #cartDrawer .store-cart-checkout:hover,
body[data-scope="store"] #cartDrawer .store-cart-checkout:focus-visible {
  background: #c94c22;
  color: #fff;
  border-color: #c94c22;
}
/* Corrige la herencia de hover claro del btn-outline-secondary. */
body[data-scope="store"] #cartDrawer .store-cart-keep,
body[data-scope="store"] #cartDrawer .store-cart-keep:visited {
  background: #fff !important;
  color: #194936 !important;
  border-color: #7da696 !important;
}
body[data-scope="store"] #cartDrawer .store-cart-keep:hover,
body[data-scope="store"] #cartDrawer .store-cart-keep:focus-visible,
body[data-scope="store"] #cartDrawer .store-cart-keep:active {
  background: #dcece3 !important;
  color: #103e2d !important;
  border-color: #32785d !important;
  box-shadow: 0 0 0 3px rgba(50,120,93,.12);
}
@media (max-width: 390px) {
  body[data-scope="store"] #cartDrawer .store-cart-body { padding: .75rem .65rem .85rem; }
  body[data-scope="store"] #cartDrawer .store-cart-card--compact { padding: .68rem .7rem; }
  body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-actions { gap: .32rem; }
  body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-stepper .btn { width: 38px; min-width: 38px; height: 38px; }
  body[data-scope="store"] #cartDrawer .store-cart-price-cluster .store-cart-line-total { font-size: .88rem; }
  body[data-scope="store"] #cartDrawer .store-cart-card--compact .store-cart-remove { font-size: .69rem; }
}
