/* Muzzy cart drawer — branded slide-out + header count bubble. */
:root {
  --muzzy-purple: #c247ff;
  --muzzy-purple-dark: #9b1fd4;
  --muzzy-ink: #11151c;
  --muzzy-grad: linear-gradient(135deg, #c247ff, #9b1fd4);
}

/* count bubble on the header cart icon */
#cart-icon-bubble { position: relative; }
/* Selector is scoped to #cart-icon-bubble (not just .muzzy-cart-count) so its
   specificity beats the mirror CSS's ".header__icon span { height: 100% }",
   which otherwise stretches this badge into a tall pill. */
#cart-icon-bubble .muzzy-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--muzzy-ink);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
/* Keep the count hidden when empty — mirror CSS forces display:flex, which
   otherwise overrides the [hidden] attribute and leaves a stray "0". */
.muzzy-cart-count[hidden] { display: none !important; }

.muzzy-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}
.muzzy-cart-drawer.is-open { visibility: visible; pointer-events: auto; }

.muzzy-cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 21, 28, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.muzzy-cart-drawer.is-open .muzzy-cart-drawer__overlay { opacity: 1; }

.muzzy-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px;
  max-width: 92vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(17, 21, 28, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.muzzy-cart-drawer.is-open .muzzy-cart-drawer__panel { transform: translateX(0); }

.muzzy-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(194, 71, 255, 0.16);
}
.muzzy-cart-drawer__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muzzy-ink);
}
.muzzy-cart-drawer__close {
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muzzy-ink);
  cursor: pointer;
  padding: 0 4px;
}
.muzzy-cart-drawer__close:hover { color: var(--muzzy-purple); }

.muzzy-cart-drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.muzzy-cart-drawer__empty {
  text-align: center;
  color: #777;
  font-family: 'Quicksand', sans-serif;
  padding: 48px 0;
}
body.muzzy-cart-open { overflow: hidden; }

/* WooCommerce mini-cart inside the drawer */
.muzzy-cart-drawer .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.muzzy-cart-drawer .woocommerce-mini-cart__total,
.muzzy-cart-drawer .cart_list li { font-family: 'Quicksand', sans-serif; }
.muzzy-cart-drawer .cart_list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(194, 71, 255, 0.12);
  position: relative;
}
.muzzy-cart-drawer .cart_list li img {
  width: 56px !important;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--muzzy-purple);
  margin: 0 !important;
  float: none !important;
}
.muzzy-cart-drawer .cart_list li a.remove {
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--muzzy-purple) !important;
}
.muzzy-cart-drawer .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 2px solid rgba(194, 71, 255, 0.16);
  margin-top: 8px;
  font-weight: 800;
}
.muzzy-cart-drawer .woocommerce-mini-cart__total .amount { color: var(--muzzy-purple-dark); }
.muzzy-cart-drawer .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
}
.muzzy-cart-drawer .woocommerce-mini-cart__buttons a {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.muzzy-cart-drawer .woocommerce-mini-cart__buttons a.checkout {
  background: var(--muzzy-grad);
  color: #fff;
}
.muzzy-cart-drawer .woocommerce-mini-cart__buttons a:not(.checkout) {
  background: #fff;
  color: var(--muzzy-purple);
  border: 2px solid rgba(194, 71, 255, 0.25);
}

/* SlideCart parity layer. The selectors below intentionally supersede the
   original mini-cart rules while keeping older cached markup readable. */
.muzzy-cart-drawer__panel {
  width: 440px;
  max-width: 100vw;
  font-family: 'Quicksand', system-ui, sans-serif;
}
.muzzy-cart-drawer__head {
  min-height: 64px;
  padding: 16px 20px;
  border-bottom: 1px solid #ece7ef;
}
.muzzy-cart-drawer__title {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  display: inline-flex;
  align-items: center;
}
.muzzy-cart-drawer__logo {
  display: block;
  height: 22px !important;
  width: 55px !important;
  max-width: 55px !important;
  max-height: 22px !important;
  flex-shrink: 0;
}
.muzzy-cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.muzzy-cart-drawer__close:hover { background: #f7f2f9; }
.muzzy-cart-announcement {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 11px 18px;
  color: #11151c;
  background: #e5f6f1;
  border-bottom: 1px solid rgba(99, 88, 106, .35);
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  font-weight: 800;
}
.muzzy-cart-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0;
  background: #fff;
  overscroll-behavior: contain;
}
.muzzy-cart-empty {
  min-height: calc(100vh - 106px);
  padding: 72px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.muzzy-cart-empty__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f3e9ff;
  color: #9b22d3;
  font: 700 38px/1 sans-serif;
}
.muzzy-cart-empty h3 { margin: 0 0 24px; font: 800 22px/1.3 'Quicksand', sans-serif; color: #363035; }
.muzzy-cart-empty__button,
.muzzy-cart-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid #c247ff;
  color: #fff;
  background: linear-gradient(135deg, #c247ff, #9b22d3);
  box-shadow: 0 6px 18px rgba(194, 71, 255, .22);
  font: 800 14px/1.2 'Quicksand', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.muzzy-cart-empty__button:hover,
.muzzy-cart-button:hover { color: #fff; background: #000; border-color: #000; }
.muzzy-cart-progress { padding: 14px 20px 16px; border-bottom: 1px solid #eee8f1; }
.muzzy-cart-progress p { margin: 0 0 9px; text-align: center; color: #363035; font-size: 12px; line-height: 1.45; }
.muzzy-cart-progress__track { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(0, 0, 0, .1); }
.muzzy-cart-progress__track span { display: block; height: 100%; border-radius: inherit; background: #c247ff; transition: width .35s ease; }
.muzzy-cart-items { list-style: none; margin: 0; padding: 0 20px; }
.muzzy-cart-item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid #eee8f1; transition: opacity .2s; }
.muzzy-cart-item.is-loading,
.muzzy-cart-rec.is-loading { opacity: .5; pointer-events: none; }
.muzzy-cart-item__image { display: block; width: 82px; height: 82px; overflow: hidden; border-radius: 8px; background: #f7f7f7; }
.muzzy-cart-item__image img { width: 100% !important; height: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; float: none !important; object-fit: cover; }
.muzzy-cart-item__content { min-width: 0; }
.muzzy-cart-item__top { display: flex; align-items: flex-start; gap: 8px; }
.muzzy-cart-item__name { flex: 1; color: #11151c; font-size: 14px; line-height: 1.35; font-weight: 800; text-decoration: none; }
.muzzy-cart-item__remove { flex: 0 0 28px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; color: #63586a; background: transparent; font-size: 22px; line-height: 28px; cursor: pointer; }
.muzzy-cart-item__remove:hover { color: #c247ff; background: #f3e9ff; }
.muzzy-cart-item .variation { margin: 4px 0 0; color: #716675; font-size: 11px; }
.muzzy-cart-item .variation dt,
.muzzy-cart-item .variation dd,
.muzzy-cart-item .variation p { display: inline; float: none; margin: 0; padding: 0; }
.muzzy-cart-item .variation dd::after { content: " "; }
.muzzy-cart-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.muzzy-cart-qty { display: grid; grid-template-columns: 30px 38px 30px; height: 34px; border: 1px solid #d7d0da; border-radius: 6px; overflow: hidden; }
.muzzy-cart-qty button,
.muzzy-cart-qty input { width: 100%; min-width: 0; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; color: #11151c; text-align: center; font: 700 14px/32px 'Quicksand', sans-serif; }
.muzzy-cart-qty button { cursor: pointer; font-size: 18px; }
.muzzy-cart-qty button:hover { color: #c247ff; background: #f7f2f9; }
.muzzy-cart-qty input { appearance: textfield; }
.muzzy-cart-qty input::-webkit-outer-spin-button,
.muzzy-cart-qty input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.muzzy-cart-item__price { color: #11151c; font-size: 13px; font-weight: 800; white-space: nowrap; }
.muzzy-cart-recs { padding: 22px 20px 18px; border-top: 1px solid #eee8f1; }
.muzzy-cart-recs h3 { margin: 0 0 14px; color: #11151c; font: 800 14px/1.35 'Quicksand', sans-serif; }
.muzzy-cart-recs__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.muzzy-cart-rec { display: flex; min-width: 0; flex-direction: column; padding: 8px; border: 1px solid rgba(0,0,0,.06); border-radius: 8px; background: rgba(0,0,0,.03); transition: opacity .2s; }
.muzzy-cart-rec__image { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #fff; }
.muzzy-cart-rec__image img { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; }
.muzzy-cart-rec__content { display: flex; min-height: 78px; flex-direction: column; padding: 8px 0; text-align: center; }
.muzzy-cart-rec__name { display: -webkit-box; overflow: hidden; color: #11151c; font-size: 12px; line-height: 1.35; font-weight: 800; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.muzzy-cart-rec__price { margin-top: auto; padding-top: 5px; color: #11151c; font-size: 12px; font-weight: 700; }
.muzzy-cart-rec__price del { color: #918795; font-size: 10px; }
.muzzy-cart-rec__price ins { text-decoration: none; }
.muzzy-cart-rec__select { width: 100%; min-height: 34px; margin-top: 7px; padding: 4px 26px 4px 7px; border: 1px solid #d7d0da; border-radius: 5px; background: #fff; color: #11151c; font: 600 10px/1.2 'Quicksand', sans-serif; }
.muzzy-cart-rec__add { width: 100%; min-height: 36px; border: 0; border-radius: 999px; color: #fff; background: #c247ff; font: 800 12px/1 'Quicksand', sans-serif; cursor: pointer; }
.muzzy-cart-rec__add:hover { background: #000; }
/* The summary is a <footer>. Some mirrored Shopify Dawn pages (e.g. the collection
   page's captured 00-head-inline.css) ship a footer-flash guard that hides every
   footer: `footer:not(cart-drawer footer){display:none!important}`. Our drawer is a
   <div id="muzzy-cart-drawer">, not a <cart-drawer> element, so that rule clipped the
   Subtotal / View cart / Checkout footer when adding from the collection page (it
   worked from product pages, whose head CSS lacks the rule). Force it back — a single
   class + !important outranks the leaked (0,0,3) selector. See mirror-css-specificity. */
#muzzy-cart-drawer .muzzy-cart-summary { display: block !important; }
.muzzy-cart-summary { position: sticky; bottom: 0; z-index: 3; padding: 18px 20px 20px; border-top: 1px solid #e4dce7; background: #fff; box-shadow: 0 -8px 24px rgba(17,21,28,.08); }
.muzzy-cart-summary__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #11151c; font-size: 16px; }
.muzzy-cart-summary p { margin: 6px 0 14px; color: #716675; font-size: 11px; text-align: center; }

/* "Subscribe to unlock $X off" banner, sits just above the Checkout button. */
.muzzy-cart-klaviyo { margin: 0 0 12px; }
.muzzy-cart-klaviyo__cta {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbeeff 0%, #f3e0ff 100%);
  box-shadow: inset 0 0 0 1.5px rgba(194, 71, 255, .4), 0 3px 10px rgba(155, 34, 211, .12);
  cursor: pointer;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease;
}
.muzzy-cart-klaviyo__cta:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px rgba(155, 34, 211, .65), 0 5px 16px rgba(155, 34, 211, .22); }
.muzzy-cart-klaviyo__cta:active { transform: translateY(0); }
.muzzy-cart-klaviyo__icon { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(155, 34, 211, .18); font-size: 17px; }
.muzzy-cart-klaviyo__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.muzzy-cart-klaviyo__amount { color: #7226aa; font: 800 14px/1.3 'Quicksand', sans-serif; }
.muzzy-cart-klaviyo__amount .woocommerce-Price-amount { font-weight: 800; color: inherit; }
.muzzy-cart-klaviyo__sub { color: #6b5f72; font-size: 10.5px; font-weight: 600; line-height: 1.3; }
.muzzy-cart-klaviyo__arrow { flex: 0 0 auto; color: #9b22d3; font-size: 22px; line-height: 1; }
.muzzy-cart-klaviyo--applied { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(135deg, #e5f6f1 0%, #d8f2ea 100%); box-shadow: inset 0 0 0 1.5px rgba(28, 138, 76, .25); }
.muzzy-cart-klaviyo--applied .muzzy-cart-klaviyo__icon { background: #fff; box-shadow: 0 2px 6px rgba(28, 138, 76, .18); }
.muzzy-cart-klaviyo--applied p { margin: 0; color: #11151c; font: 800 13px/1.3 'Quicksand', sans-serif; }

/* Full cart page. The live page is forced to the native Woo shortcode so this
   layout remains functional without depending on Cart Block hydration. */
body.woocommerce-cart .site-main {
  display: block !important;
  width: 100% !important;
  max-width: 1240px !important;
  min-height: 60vh;
  margin: 0 auto !important;
  padding: 64px 28px 104px !important;
  float: none !important;
}
body.woocommerce-cart .page-content {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.woocommerce-cart .page-content__body { width: 100%; }
body.woocommerce-cart .page-content__header h1 {
  margin: 0 0 40px;
  color: #11151c;
  text-align: left;
  font: 800 clamp(36px, 5vw, 54px)/1.05 'Quicksand', system-ui, sans-serif;
  letter-spacing: -.035em;
}
body.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px 42px;
  width: 100% !important;
  margin: 0;
  color: #11151c;
  font-family: 'Quicksand', system-ui, sans-serif;
}
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .muzzy-full-cart-progress,
body.woocommerce-cart .muzzy-full-cart-recs,
body.woocommerce-cart .muzzy-full-cart-empty,
body.woocommerce-cart .return-to-shop { grid-column: 1 / -1; }
body.woocommerce-cart form.woocommerce-cart-form {
  grid-column: 1;
  display: block !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  float: none !important;
}
body.woocommerce-cart .cart-collaterals { grid-column: 2; width: 100% !important; }

.muzzy-full-cart-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid #dfeee9;
  border-radius: 14px;
  background: #effaf6;
}
.muzzy-full-cart-progress__icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #11151c;
  font-weight: 800;
}
.muzzy-full-cart-progress__content { flex: 1; min-width: 0; }
.muzzy-full-cart-progress p { margin: 0 0 9px; color: #252b31; font-size: 13px; }
.muzzy-full-cart-progress__track { height: 7px; overflow: hidden; border-radius: 99px; background: #d8e8e2; }
.muzzy-full-cart-progress__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c247ff, #8f20c4); transition: width .3s ease; }

body.woocommerce-cart table.shop_table.cart {
  width: 100% !important;
  margin: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
}
body.woocommerce-cart table.shop_table.cart thead th {
  padding: 0 12px 13px;
  border: 0;
  border-bottom: 1px solid #ddd8df;
  color: #716875;
  background: transparent;
  font: 800 11px/1.3 'Quicksand', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.woocommerce-cart table.shop_table.cart td { padding: 22px 12px; border: 0; border-bottom: 1px solid #ebe6ed; vertical-align: middle; }
body.woocommerce-cart table.shop_table.cart .product-remove { width: 34px; padding-left: 0; }
body.woocommerce-cart table.shop_table.cart .product-thumbnail { width: 104px; }
body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
  display: block;
  width: 86px !important;
  height: 86px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f3f6;
}
body.woocommerce-cart table.shop_table.cart .product-name a { color: #11151c; font-size: 14px; line-height: 1.4; font-weight: 800; text-decoration: none; }
body.woocommerce-cart table.shop_table.cart .product-name a:hover { color: #9b22d3; }
body.woocommerce-cart table.shop_table.cart .product-name .variation { margin: 6px 0 0; color: #716875; font-size: 11px; }
body.woocommerce-cart table.shop_table.cart .product-name .variation dt,
body.woocommerce-cart table.shop_table.cart .product-name .variation dd,
body.woocommerce-cart table.shop_table.cart .product-name .variation p { display: inline; float: none; margin: 0; }
body.woocommerce-cart table.shop_table.cart .product-price,
body.woocommerce-cart table.shop_table.cart .product-subtotal { color: #11151c; font-size: 13px; font-weight: 800; white-space: nowrap; }
body.woocommerce-cart table.shop_table.cart a.remove {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #716875 !important;
  background: transparent;
  font-size: 21px;
  line-height: 1;
}
body.woocommerce-cart table.shop_table.cart a.remove:hover { color: #fff !important; background: #9b22d3 !important; }

body.woocommerce-cart .quantity.muzzy-cart-page-quantity {
  display: flex;
  align-items: stretch;
  gap: 1px;
  width: 120px;
  height: 44px;
  border: 1.5px solid #d0c9d5;
  border-radius: 8px;
  background: #d0c9d5; /* shows as divider lines through the gap */
  overflow: hidden;
  box-shadow: none !important;
}
body.woocommerce-cart .muzzy-cart-page-quantity .muzzy-cart-page-qty-button {
  flex: 0 0 38px;
  width: 38px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7f3fa !important;
  color: #4a3355;
  box-shadow: none !important;
  text-align: center;
  font: 500 20px/44px 'Quicksand', sans-serif !important;
  cursor: pointer;
  transition: background .12s, color .12s;
}
body.woocommerce-cart .muzzy-cart-page-quantity .muzzy-cart-page-qty-button:hover { background: #eddff8 !important; color: #9b22d3 !important; }
body.woocommerce-cart .muzzy-cart-page-quantity .qty {
  flex: 1 !important;
  min-width: 0 !important;
  width: auto !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #11151c !important;
  box-shadow: none !important;
  text-align: center !important;
  font: 700 14px/44px 'Quicksand', sans-serif !important;
  appearance: textfield;
  -moz-appearance: textfield;
}
body.woocommerce-cart .muzzy-cart-page-quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart .muzzy-cart-page-quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

body.woocommerce-cart table.shop_table.cart td.actions { padding: 24px 0 0; border: 0; }
body.woocommerce-cart table.shop_table.cart .coupon { display: flex; gap: 8px; }
body.woocommerce-cart table.shop_table.cart .coupon .input-text {
  width: 168px !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid #d3ccd6 !important;
  border-radius: 999px;
  font: 600 12px/1 'Quicksand', sans-serif;
}
body.woocommerce-cart table.shop_table.cart .coupon button,
body.woocommerce-cart table.shop_table.cart button[name="update_cart"] { min-height: 44px; padding: 10px 18px; font-size: 11px; box-shadow: none; }

body.woocommerce-cart .cart-collaterals .cart_totals {
  position: sticky;
  top: 24px;
  width: 100% !important;
  margin: 0 !important;
  padding: 26px !important;
  border: 1px solid #e2dce5;
  border-radius: 16px;
  background: #faf8fb;
  box-shadow: 0 16px 40px rgba(32, 20, 37, .07);
  float: none !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals h2 { margin: 0 0 18px; color: #11151c; font: 800 23px/1.2 'Quicksand', sans-serif; }
body.woocommerce-cart .cart-collaterals .cart_totals table { width: 100%; margin: 0 0 18px; border: 0; border-radius: 0; background: transparent; }
body.woocommerce-cart .cart-collaterals .cart_totals th,
body.woocommerce-cart .cart-collaterals .cart_totals td { padding: 12px 0; border: 0; border-bottom: 1px solid #e5dfe7; background: transparent; font-size: 13px; }
body.woocommerce-cart .cart-collaterals .cart_totals td { text-align: right; }
body.woocommerce-cart .cart-collaterals .order-total th,
body.woocommerce-cart .cart-collaterals .order-total td { padding-top: 17px; border-bottom: 0; font-size: 17px; }
body.woocommerce-cart .cart-collaterals .order-total .amount { color: #11151c; }
body.woocommerce-cart .wc-proceed-to-checkout { padding: 8px 0 0; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c247ff, #8f20c4) !important;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(155, 34, 211, .24);
}
.muzzy-cart-reassurance > p { margin: 13px 0 17px; color: #716875; font-size: 11px; line-height: 1.5; text-align: center; }
.muzzy-cart-reassurance ul { display: grid; gap: 8px; margin: 0; padding: 15px 0 0; border-top: 1px solid #e5dfe7; list-style: none; }
.muzzy-cart-reassurance li { display: flex; align-items: center; gap: 8px; color: #4f4752; font-size: 11px; font-weight: 700; }
.muzzy-cart-reassurance li span { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; color: #fff; background: #11151c; font-size: 9px; }

.muzzy-full-cart-recs { padding-top: 42px; border-top: 1px solid #ebe6ed; }
.muzzy-full-cart-recs__heading { margin-bottom: 20px; }
.muzzy-full-cart-recs__heading p { margin: 0 0 5px; color: #9b22d3; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.muzzy-full-cart-recs__heading h2 { margin: 0; color: #11151c; font: 800 clamp(25px, 3vw, 34px)/1.15 'Quicksand', sans-serif; letter-spacing: -.025em; }
.muzzy-full-cart-recs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.muzzy-full-cart-rec { min-width: 0; overflow: hidden; border: 1px solid #e5dfe7; border-radius: 13px; background: #fff; transition: transform .2s, box-shadow .2s, opacity .2s; }
.muzzy-full-cart-rec:hover { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(32, 20, 37, .08); }
.muzzy-full-cart-rec.is-loading { opacity: .55; pointer-events: none; }
.muzzy-full-cart-rec__image { display: block; aspect-ratio: 1; overflow: hidden; background: #f6f3f7; }
.muzzy-full-cart-rec__image img { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; transition: transform .3s; }
.muzzy-full-cart-rec:hover .muzzy-full-cart-rec__image img { transform: scale(1.025); }
.muzzy-full-cart-rec__content { display: flex; min-height: 164px; flex-direction: column; padding: 14px; }
.muzzy-full-cart-rec__name { display: -webkit-box; overflow: hidden; color: #11151c; font-size: 13px; line-height: 1.4; font-weight: 800; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.muzzy-full-cart-rec__price { margin: 7px 0 10px; color: #11151c; font-size: 12px; font-weight: 800; }
.muzzy-full-cart-rec__price del { color: #8c838f; font-size: 10px; }
.muzzy-full-cart-rec__price ins { text-decoration: none; }
.muzzy-full-cart-rec .muzzy-cart-rec__select { min-height: 38px; margin: auto 0 9px; font-size: 11px; }
.muzzy-full-cart-rec__add {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border: 1px solid #9b22d3;
  border-radius: 999px;
  color: #9b22d3;
  background: #fff;
  font: 800 11px/1 'Quicksand', sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
}
.muzzy-full-cart-rec__add:hover { color: #fff; background: #9b22d3; }
.muzzy-full-cart-rec__status { min-height: 0; margin: 5px 0 0; color: #8c1f54; font-size: 10px; text-align: center; }
.muzzy-full-cart-rec__status:empty { display: none; }

.muzzy-full-cart-empty { max-width: 620px; margin: 10px auto 0; text-align: center; }
.muzzy-full-cart-empty__icon { display: grid; width: 92px; height: 92px; margin: 0 auto 24px; place-items: center; border-radius: 50%; color: #9b22d3; background: #f4e8fa; }
.muzzy-full-cart-empty__icon svg { width: 50px; height: 50px; }
.muzzy-full-cart-empty h2 { margin: 0 0 10px; color: #11151c; font: 800 clamp(26px, 4vw, 38px)/1.15 'Quicksand', sans-serif; }
.muzzy-full-cart-empty p { margin: 0; color: #716875; font-size: 14px; line-height: 1.65; }
body.woocommerce-cart .return-to-shop { margin: -10px 0 0; text-align: center; }
body.woocommerce-cart .return-to-shop .button { min-width: 220px; min-height: 50px; }

/* ---- Shipping method options (custom-styled radios) ---- */
body.woocommerce-cart .cart-collaterals .cart_totals .woocommerce-shipping-totals td {
  text-align: left !important;
  padding-top: 14px;
  vertical-align: top;
}
body.woocommerce-cart .cart-collaterals #shipping_method {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.woocommerce-cart .cart-collaterals #shipping_method > li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #e5dfe7;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
body.woocommerce-cart .cart-collaterals #shipping_method > li:has(input:checked) {
  border-color: #c247ff;
  background: #faf4ff;
}
body.woocommerce-cart .cart-collaterals #shipping_method input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 2px solid #cac3cd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
  box-shadow: none !important;
}
body.woocommerce-cart .cart-collaterals #shipping_method input[type="radio"]:checked {
  border-color: #9b22d3;
  background: #9b22d3;
  box-shadow: inset 0 0 0 3px #fff !important;
}
body.woocommerce-cart .cart-collaterals #shipping_method label {
  flex: 1;
  margin: 0;
  cursor: pointer;
  font: 600 12px/1.35 'Quicksand', system-ui, sans-serif;
  color: #11151c;
}
body.woocommerce-cart .cart-collaterals .woocommerce-shipping-destination {
  margin: 10px 0 0;
  color: #716875;
  font-size: 11px;
  font-family: 'Quicksand', system-ui, sans-serif;
}
body.woocommerce-cart .cart-collaterals .woocommerce-shipping-destination a {
  color: #9b22d3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- "Cart" page title — brand treatment ---- */
body.woocommerce-cart .page-content__header h1 {
  font-family: 'Baloo 2', 'Quicksand', system-ui, sans-serif !important;
  background: linear-gradient(135deg, #c247ff, #7226aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Coupon row: apply button uses brand fill ---- */
body.woocommerce-cart table.shop_table.cart .coupon button {
  background: linear-gradient(135deg, #c247ff, #8f20c4) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(194, 71, 255, .25) !important;
  border: 0 !important;
}
body.woocommerce-cart table.shop_table.cart .coupon button:hover {
  filter: brightness(1.08);
}

/* ---- Update cart: subtle ghost link ---- */
body.woocommerce-cart table.shop_table.cart button[name="update_cart"] {
  background: transparent !important;
  color: #716875 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 11px !important;
  padding: 10px 4px !important;
  letter-spacing: .03em;
}
body.woocommerce-cart table.shop_table.cart button[name="update_cart"]:hover {
  color: #9b22d3 !important;
}

/* ---- Cart totals "Cart totals" heading with decorative underline ---- */
body.woocommerce-cart .cart-collaterals .cart_totals h2 {
  padding-bottom: 16px;
  border-bottom: 2px solid #ede8f0;
  font: 800 20px/1.2 'Baloo 2', 'Quicksand', system-ui, sans-serif !important;
  letter-spacing: -.01em;
}

/* ---- Order total row — purple amount ---- */
body.woocommerce-cart .cart-collaterals .order-total .amount {
  color: #7226aa !important;
}

/* ---- Reassurance badges — upgrade icons ---- */
.muzzy-cart-reassurance li span {
  background: linear-gradient(135deg, #c247ff, #8f20c4);
}

@media (max-width: 920px) {
  body.woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr); }
  body.woocommerce-cart form.woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals { grid-column: 1; }
  body.woocommerce-cart .cart-collaterals .cart_totals { position: static; }
  .muzzy-full-cart-recs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .muzzy-cart-drawer__panel { width: 100vw; }
  .muzzy-cart-recs__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.woocommerce-cart .site-main { padding: 40px 16px 72px !important; }
  body.woocommerce-cart .page-content__header h1 { margin-bottom: 28px; font-size: 38px; }
  body.woocommerce-cart .woocommerce { gap: 26px; }
  .muzzy-full-cart-progress { gap: 12px; padding: 15px; }
  .muzzy-full-cart-progress__icon { flex-basis: 32px; width: 32px; height: 32px; }
  body.woocommerce-cart table.shop_table.cart,
  body.woocommerce-cart table.shop_table.cart tbody { display: block; }
  body.woocommerce-cart table.shop_table.cart thead { display: none; }
  body.woocommerce-cart table.shop_table.cart tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-areas: "image name" "image price" "image qty" "image total";
    gap: 3px 14px;
    padding: 18px 34px 18px 0;
    border-bottom: 1px solid #e5dfe7;
  }
  body.woocommerce-cart table.shop_table.cart tr.cart_item td { display: block; width: auto !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
  body.woocommerce-cart table.shop_table.cart tr.cart_item td::before { display: none !important; }
  body.woocommerce-cart table.shop_table.cart .product-remove { position: absolute; top: 16px; right: 0; }
  body.woocommerce-cart table.shop_table.cart .product-thumbnail { grid-area: image; display: block !important; }
  body.woocommerce-cart table.shop_table.cart .product-thumbnail img { width: 86px !important; height: 86px; }
  body.woocommerce-cart table.shop_table.cart .product-name { grid-area: name; padding-right: 5px !important; }
  body.woocommerce-cart table.shop_table.cart .product-price { grid-area: price; }
  body.woocommerce-cart table.shop_table.cart .product-quantity { grid-area: qty; margin-top: 7px; }
  body.woocommerce-cart table.shop_table.cart .product-subtotal { grid-area: total; margin-top: 5px; }
  body.woocommerce-cart table.shop_table.cart td.actions { display: flex !important; flex-direction: column; padding-top: 20px !important; }
  body.woocommerce-cart table.shop_table.cart .coupon { width: 100%; }
  body.woocommerce-cart table.shop_table.cart .coupon .input-text { flex: 1; width: auto !important; min-width: 0; }
  body.woocommerce-cart table.shop_table.cart button[name="update_cart"] { width: 100%; margin-top: 10px; }
  body.woocommerce-cart .cart-collaterals .cart_totals { padding: 22px !important; }
  .muzzy-full-cart-recs { padding-top: 30px; }
  .muzzy-full-cart-recs__grid { gap: 12px; }
  .muzzy-full-cart-rec__content { min-height: 158px; padding: 11px; }
}
