.store-cart,
.store-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.store-cart {
  right: 0;
  left: auto;
  display: flex;
  width: min(440px, 100%);
  height: 100dvh;
  padding: 24px;
  overflow: hidden;
  flex-direction: column;
  color: #11100e;
  border-left: 2px solid #11100e;
  background: #f6f0e6;
  transform: translateX(100%);
}

.store-cart-backdrop {
  background: rgb(17 16 14 / 0.42);
}

.store-cart.is-open,
.store-cart-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.store-cart.is-open { transform: translateX(0); }
body.cart-open { overflow: hidden; }

.store-cart__header,
.store-cart__subtotal,
.store-cart-item,
.store-cart-item__actions,
.store-cart-item__quantity {
  display: flex;
  align-items: center;
}

.store-cart__header {
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid #11100e;
}

.store-cart__header span,
.store-cart__header h2,
.store-cart__subtotal,
.store-cart__checkout,
.store-cart-item strong {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.store-cart__header span {
  font: 700 0.68rem/1 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.store-cart__header h2 {
  margin: 5px 0 0;
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
}

.store-cart__close {
  width: 40px;
  height: 40px;
  padding: 0;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  font-size: 1.65rem;
  cursor: pointer;
}

.store-cart__body {
  min-height: 0;
  padding: 10px 0;
  overflow-y: auto;
}

.store-cart__empty { margin-top: 24px; }
.store-cart__items { display: grid; }

.store-cart-item {
  align-items: stretch;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(17 16 14 / 0.35);
}

.store-cart-item > a {
  display: grid;
  width: 92px;
  height: 108px;
  flex: 0 0 92px;
  place-items: center;
  background: #fffdfa;
}

.store-cart-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-cart-item__details {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  font: 0.78rem/1.35 Arial, Helvetica, sans-serif;
}

.store-cart-item__details a { color: inherit; text-decoration: none; }
.store-cart-item strong { font-size: 0.86rem; text-transform: uppercase; }
.store-cart-item__actions { justify-content: space-between; margin-top: auto; }
.store-cart-item__quantity { border: 1px solid #11100e; }

.store-cart-item__quantity button {
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.store-cart-item__quantity span { min-width: 24px; text-align: center; }
.store-cart-item__remove { padding: 4px 0; border: 0; border-bottom: 1px solid; background: transparent; font-size: 0.68rem; cursor: pointer; }

.store-cart__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid #11100e;
}

.store-cart__footer[hidden] { display: none; }
.store-cart__subtotal { justify-content: space-between; font-size: 1.15rem; text-transform: uppercase; }
.store-cart__shipping { margin: 12px 0; font: 0.74rem/1.45 Arial, Helvetica, sans-serif; }

.store-cart__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  margin: 14px 0;
  font: 0.72rem/1.4 Arial, Helvetica, sans-serif;
}

.store-cart__consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #11100e; }
.store-cart__checkout { width: 100%; min-height: 52px; color: #fff; border: 0; border-radius: 0; background: #11100e; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.store-cart__checkout:disabled { cursor: not-allowed; opacity: 0.45; }
.store-cart__message { min-height: 1.3em; margin: 8px 0 0; color: #9f2f1d; font: 0.72rem/1.4 Arial, Helvetica, sans-serif; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 40px;
  padding: 48px clamp(24px, 5vw, 76px);
  color: #f8f4ec;
  background: #11100e;
}

.site-footer img { width: min(210px, 100%); filter: invert(1); }
.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 12px 36px; align-content: start; }
.site-footer a { color: inherit; font: 700 0.75rem/1.2 Arial, Helvetica, sans-serif; text-decoration: none; text-transform: uppercase; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__meta { grid-column: 1 / -1; margin: 10px 0 0; color: rgb(248 244 236 / 0.62); font: 0.68rem/1.4 Arial, Helvetica, sans-serif; }

.checkout-banner {
  position: fixed;
  top: 76px;
  left: 50%;
  z-index: 900;
  width: min(520px, calc(100% - 32px));
  padding: 14px 44px 14px 16px;
  border: 2px solid #11100e;
  background: #f5bf28;
  box-shadow: 4px 4px 0 #11100e;
  transform: translateX(-50%);
  font: 700 0.78rem/1.4 Arial, Helvetica, sans-serif;
}

.checkout-banner button { position: absolute; top: 7px; right: 8px; padding: 4px 8px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; }

@media (max-width: 620px) {
  .store-cart { border-left: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__links { grid-template-columns: 1fr; }
  .site-footer__meta { grid-column: auto; }
}

