/* WORDSTORE v358 — Interactive Checkout styling for the native WooCommerce Cart Block. */
body.woocommerce-cart .wp-block-woocommerce-cart {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 72px;
  color: #f6f3ec;
}
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 52%, rgba(0,0,0,.32));
  box-shadow: 0 22px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
body.woocommerce-cart .wc-block-cart-items {
  padding: 22px 26px 12px;
}
body.woocommerce-cart .wc-block-cart-items__header {
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(246,243,236,.68);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.woocommerce-cart .wc-block-cart-items__row {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: background .2s ease, transform .2s ease;
}
body.woocommerce-cart .wc-block-cart-items__row:hover {
  background: rgba(255,255,255,.035);
}
body.woocommerce-cart .wc-block-cart-item__image img {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255,255,255,.05);
}
body.woocommerce-cart .wc-block-components-product-name {
  color: #f6f3ec;
  font-size: 15px;
  font-weight: 700;
}
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-price {
  color: rgba(246,243,236,.62);
  font-size: 12px;
}
body.woocommerce-cart .wc-block-components-quantity-selector {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  background: rgba(255,255,255,.055);
  color: #f6f3ec;
  overflow: hidden;
}
body.woocommerce-cart .wc-block-components-quantity-selector button {
  color: #f6f3ec;
  transition: background .2s ease, color .2s ease;
}
body.woocommerce-cart .wc-block-components-quantity-selector button:hover {
  background: #8224E3;
  color: #fff;
}
body.woocommerce-cart .wc-block-cart-item__remove-link {
  color: rgba(246,243,236,.58);
  font-size: 11px;
  text-decoration: none;
  transition: color .2s ease;
}
body.woocommerce-cart .wc-block-cart-item__remove-link:hover { color: #f87171; }
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
  margin: 18px 22px 22px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background: rgba(12,12,12,.46);
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
  color: #f6f3ec;
  font-size: 16px;
  font-weight: 800;
}
body.woocommerce-cart .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-totals-footer-item {
  border-color: rgba(255,255,255,.1);
  color: rgba(246,243,236,.72);
}
body.woocommerce-cart .wc-block-components-totals-footer-item {
  color: #f6f3ec;
  font-weight: 800;
}
body.woocommerce-cart .wc-block-components-button.wp-element-button,
body.woocommerce-cart .wc-block-components-checkout-place-order-button {
  min-height: 46px;
  border: 1px solid #8224E3;
  border-radius: 12px;
  background: #8224E3;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(130,36,227,.22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
body.woocommerce-cart .wc-block-components-button.wp-element-button:hover,
body.woocommerce-cart .wc-block-components-checkout-place-order-button:hover {
  background: #9d4be9;
  box-shadow: 0 16px 32px rgba(130,36,227,.32);
  transform: translateY(-2px);
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  padding: 64px 28px;
  text-align: center;
}
body.woocommerce-cart .wc-block-cart__empty-cart__title {
  color: #f6f3ec;
  font-size: clamp(22px, 3vw, 34px);
}
body.woocommerce-cart .wc-block-grid__products {
  gap: 14px;
}
body.woocommerce-cart .wc-block-grid__product {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  padding: 12px;
}
@media (max-width: 720px) {
  body.woocommerce-cart .wp-block-woocommerce-cart { width: min(100% - 20px, 620px); margin-top: 24px; }
  body.woocommerce-cart .wc-block-cart-items { padding: 14px 12px 6px; }
  body.woocommerce-cart .wc-block-cart-item__image img { width: 58px; height: 58px; }
  body.woocommerce-cart .wp-block-woocommerce-cart-totals-block { margin: 12px; padding: 16px; }
}


/* v367 — Spectrum-inspired Vanilla QuantityStepper for the custom cart drawer. */
.wordstore-cart-drawer .wordstore-quantity-stepper { display:inline-flex; align-items:center; gap:4px; height:40px; padding:4px; border:1px solid rgba(255,255,255,.16); border-radius:999px; background:#fff; color:#171717; box-shadow:0 2px 7px rgba(0,0,0,.16),inset 0 0 0 1px rgba(0,0,0,.035); user-select:none; touch-action:manipulation; }
.wordstore-cart-drawer .wordstore-quantity-stepper__button { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0; border:0; border-radius:999px; background:transparent; color:#525252; font:600 20px/1 Arial,sans-serif; cursor:pointer; transition:background .18s ease,color .18s ease,transform .18s ease; }
.wordstore-cart-drawer .wordstore-quantity-stepper__button:hover,.wordstore-cart-drawer .wordstore-quantity-stepper__button:focus-visible { background:#f1f1f1; color:#111; outline:none; }
.wordstore-cart-drawer .wordstore-quantity-stepper__button:active { transform:scale(.84); }
.wordstore-cart-drawer .wordstore-quantity-stepper__value { display:inline-flex; align-items:center; justify-content:center; width:30px; height:32px; overflow:hidden; color:#171717; font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; cursor:default; }
.wordstore-cart-drawer .wordstore-quantity-stepper.is-rolling .wordstore-quantity-stepper__value { animation:wordstore-quantity-roll .15s ease-out; }
.wordstore-cart-drawer .wordstore-quantity-stepper.is-boundary { animation:wordstore-quantity-shake .3s ease-in-out; background:#fff1f2; border-color:#fda4af; }
@keyframes wordstore-quantity-roll { 0% { transform:translateY(9px); opacity:.15; } 100% { transform:translateY(0); opacity:1; } }
@keyframes wordstore-quantity-shake { 0%,100% { transform:translateX(0); } 25% { transform:translateX(-4px); } 50% { transform:translateX(4px); } 75% { transform:translateX(-2px); } }
@media (prefers-reduced-motion:reduce) { .wordstore-cart-drawer .wordstore-quantity-stepper.is-rolling,.wordstore-cart-drawer .wordstore-quantity-stepper.is-boundary { animation:none; } }
