.cart-panel {
  width:100%!important;
  max-width:480px!important;
  height:100dvh!important;
  display:flex!important;
  flex-direction:column;
  padding:0!important;
  gap:0!important;
  background:#101112!important;
  color:#f5f5f5;
  border-left:1px solid #292b2f!important;
  box-shadow:-24px 0 80px #0009
}

.cart-panel>button {
  top:26px;
  right:24px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#222428;
  opacity:1
}

.cart-heading {
  padding:28px 28px 24px;
  border-bottom:1px solid #2b2d30
}

.cart-title-row {
  display:flex;
  gap:12px;
  align-items:center
}
.cart-title {
  font-size:25px;
  font-weight:700;
  letter-spacing:-.7px
}
.cart-count {
  font:12px monospace;
  background:#292c30;
  border-radius:50%;
  width:24px;
  height:24px;
  display:grid;
  place-items:center
}
.cart-subtitle {
  color:#a6a9b0;
  font-size:14px;
  margin-top:6px
}

.cart-empty {
  flex:1;
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:32px 28px;
  text-align:center
}
.cart-empty-icon {
  background:#222428;
  border:1px solid #303238;
  width:88px;
  height:88px;
  border-radius:50%;
  display:grid;
  place-items:center;
  margin-bottom:24px
}
.cart-empty-icon img {
  filter:invert(1)
}
.cart-empty h3 {
  font-size:23px;
  font-weight:650;
  letter-spacing:-.5px
}
.cart-empty p {
  font-size:15px;
  color:#a6a9b0;
  max-width:260px;
  margin:10px 0 25px
}
.cart-empty .cart-primary {
  max-width:280px
}

.cart-items {
  flex:1;
  min-height:0;
  overflow:auto;
  padding:20px 28px 28px
}
.cart-delivery {
  background:#18241f;
  color:#acddc2;
  padding:12px 16px;
  font-size:13px;
  border:1px solid #294335;
  border-radius:8px;
  margin-bottom:24px
}
.cart-delivery span {
  margin-right:8px
}
.cart-item {
  display:flex;
  gap:20px;
  padding:0 0 24px;
  margin-bottom:24px;
  border-bottom:1px solid #292b30
}
.cart-product-image {
  width:108px;
  height:108px;
  background:#f0f1f3;
  border-radius:10px;
  display:grid;
  place-items:center;
  flex-shrink:0
}
.cart-product-image img {
  width:95px;
  object-fit:contain
}
.cart-product-info {
  flex:1;
  min-width:0
}
.cart-product-info h3 {
  font-size:17px;
  font-weight:650
}
.cart-product-info>p {
  font-size:12px;
  color:#a6a9b0;
  margin:6px 0 10px;
  line-height:1.6
}
.cart-product-info strong {
  font-size:17px;
  letter-spacing:-.3px
}
.cart-item-controls {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-top:16px
}
.cart-quantity {
  display:flex;
  align-items:center;
  border:1px solid #3c3e43;
  border-radius:6px;
  overflow:hidden
}
.cart-quantity button {
  width:32px;
  height:32px;
  font-size:19px
}
.cart-quantity span {
  width:26px;
  text-align:center;
  font-size:13px;
  font-variant-numeric:tabular-nums
}
.cart-remove {
  font-size:12px;
  color:#aaa;
  text-decoration:underline;
  text-underline-offset:3px
}

.cart-footer {
  padding:24px 28px max(24px,env(safe-area-inset-bottom));
  border-top:1px solid #2b2d30;
  background:#151618
}
.cart-summary>div {
  display:flex;
  justify-content:space-between;
  margin-bottom:12px;
  font-size:14px;
  color:#b6b8bd
}
.cart-summary .cart-free {
  color:#acddc2
}
.cart-summary .cart-total {
  border-top:1px solid #303238;
  padding-top:18px;
  margin-top:18px;
  margin-bottom:22px;
  font-size:20px;
  color:#fff
}
.cart-total small {
  font-size:11px;
  font-weight:400;
  color:#a6a9b0;
  margin-left:4px
}
.cart-primary {
  width:100%;
  background:#f5f5f5;
  color:#101112;
  padding:16px 20px;
  border-radius:7px;
  font-size:15px;
  font-weight:700;
  transition:background .2s
}
.cart-primary:hover {
  background:#dce6ef
}
.cart-panel button:focus-visible {
  outline:2px solid #81b5ef;
  outline-offset:3px
}
.cart-payment-logos {
  display:flex;
  justify-content:center;
  gap:9px;
  margin:20px 0 14px
}
.cart-payment-logos img {
  width:50px;
  height:32px;
  object-fit:contain;
  background:#fff;
  border:1px solid #dadce0;
  border-radius:4px
}
.cart-guarantee {
  text-align:center;
  font-size:12px;
  color:#9b9ea5
}
.cart-notice {
  font-size:13px;
  color:#e5c699;
  margin-top:12px
}
.cart-bag-icon {
  width:23px;
  height:23px;
  filter:invert(1)
}

@media(max-width:480px) {
  .cart-heading {
  padding:24px 20px 20px
}
.cart-items {
  padding:16px 20px
}
.cart-footer {
  padding:20px 20px max(20px,env(safe-area-inset-bottom))
}
.cart-item {
  gap:14px
}
.cart-product-image {
  width:90px;
  height:100px
}
.cart-product-image img {
  width:80px
}
.cart-title {
  font-size:23px
}

}


.cart-panel button:disabled { cursor: wait; opacity: .6; }
