/* =========================================================
   Seed City Mini Cart Pro — compact, tidy, professional (FULL REPLACEMENT)
   Adds: styled in-offcanvas notices (.sc-mc-notices) to show stock/limit errors.
   ========================================================= */

:root{
  --c-leaf:#AFEA80;
  --c-forest:#1C3A2A;
  --c-gold:#FFD600;
  --c-ink:#111827;

  --mc-border: rgba(28,58,42,.14);
  --mc-shadow: 0 18px 46px rgba(0,0,0,.14);
  --mc-radius-sm: 14px;
  --mc-radius-pop: 18px;

  /* Compact tuning */
  --mc-pad: 10px;
  --mc-gap: 8px;
  --mc-thumb: 64px;

  /* Regular-seeds tint (warm brown that still fits your palette) */
  --mc-regular-bg: rgba(178,123,78,.14);
  --mc-regular-border: rgba(178,123,78,.28);

  /* Pill height lock for PERFECT vertical centering */
  --mc-pill-h: 26px;
}

/* =========================================================
   Offcanvas shell radius (the overall popout)
   ========================================================= */
.bde-mini-cart-offcanvas{
  overflow: hidden !important;
}

/* Left sidebar popout (round the exposed right edge) */
.bde-mini-cart-offcanvas.bde-mini-cart-offcanvas--left{
  border-top-right-radius: var(--mc-radius-pop) !important;
  border-bottom-right-radius: var(--mc-radius-pop) !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.bde-mini-cart-offcanvas.bde-mini-cart-offcanvas--left .bde-mini-cart-offcanvas-body{
  border-radius:15px !important;
}

/* Right sidebar popout (round the exposed left edge) */
.bde-mini-cart-offcanvas.bde-mini-cart-offcanvas--right{
  border-top-left-radius: var(--mc-radius-pop) !important;
  border-bottom-left-radius: var(--mc-radius-pop) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.bde-mini-cart-offcanvas.bde-mini-cart-offcanvas--right .bde-mini-cart-offcanvas-body{
  border-top-left-radius: var(--mc-radius-pop) !important;
  border-bottom-left-radius: var(--mc-radius-pop) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Panel vibe (doesn't mess with z-index/positioning) */
.bde-mini-cart-offcanvas-body{
  background:
    radial-gradient(900px 340px at 18% 0%, rgba(175,234,128,.12), transparent 55%),
    radial-gradient(650px 320px at 82% 8%, rgba(255,214,0,.10), transparent 55%),
    #fff !important;
  box-shadow: var(--mc-shadow) !important;
  overflow: hidden !important;
  border-radius: 15px !important;
}

/* Tighter topbar / close button (stable positioning) */
.bde-mini-cart-offcanvas-topbar{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 12px 12px 8px !important;
  border-bottom: 1px solid rgba(28,58,42,.10) !important;
}
.bde-mini-cart-offcanvas-title{
  margin: 0 !important;
  color: var(--c-forest) !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
}
.bde-mini-cart-offcanvas__close-button{
  flex: 0 0 auto !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(17,24,39,.12) !important;
  background: #fff !important;
  color: rgba(17,24,39,.70) !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 18px !important;
}
.bde-mini-cart-offcanvas__close-button:hover{
  background: rgba(255,214,0,.14) !important;
  border-color: rgba(255,214,0,.45) !important;
  box-shadow: 0 0 0 2px rgba(255,214,0,.14) !important;
}

/* =========================================================
   NEW: Notices container (matches your mini-cart aesthetic)
   ========================================================= */
.bde-mini-cart-offcanvas-body .sc-mc-notices{
  margin: 10px 10px 0 !important;
}

.bde-mini-cart-offcanvas-body .sc-mc-notices:empty{
  display: none !important;
}

/* Woo prints a wrapper sometimes */
.bde-mini-cart-offcanvas-body .sc-mc-notices .woocommerce-notices-wrapper{
  margin: 0 !important;
}

/* Base notice blocks (Woo can output ul.woocommerce-error or div.woocommerce-message etc.) */
.bde-mini-cart-offcanvas-body .sc-mc-notices .woocommerce-error,
.bde-mini-cart-offcanvas-body .sc-mc-notices .woocommerce-message,
.bde-mini-cart-offcanvas-body .sc-mc-notices .woocommerce-info{
  margin: 0 0 10px 0 !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;

  border: 1px solid rgba(28,58,42,.16) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(238,241,244,.60)) !important;

  color: rgba(17,24,39,.90) !important;
  font-weight: 900 !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;

  box-shadow: 0 10px 18px rgba(0,0,0,.08) !important;
}

/* Error (stock limits etc.) */
.bde-mini-cart-offcanvas-body .sc-mc-notices .woocommerce-error{
  border-color: rgba(255,122,122,.38) !important;
  background: linear-gradient(180deg, rgba(255,122,122,.14), rgba(255,255,255,.92)) !important;
}

/* Success */
.bde-mini-cart-offcanvas-body .sc-mc-notices .woocommerce-message{
  border-color: rgba(175,234,128,.40) !important;
  background: linear-gradient(180deg, rgba(175,234,128,.16), rgba(255,255,255,.92)) !important;
}

/* Info */
.bde-mini-cart-offcanvas-body .sc-mc-notices .woocommerce-info{
  border-color: rgba(255,214,0,.36) !important;
  background: linear-gradient(180deg, rgba(255,214,0,.18), rgba(255,255,255,.92)) !important;
}

/* Clean list styling when Woo uses <ul class="woocommerce-error"> */
.bde-mini-cart-offcanvas-body .sc-mc-notices ul{
  list-style: none !important;
  padding: 0 !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-notices li{
  margin: 0 !important;
}

/* Links in notices */
.bde-mini-cart-offcanvas-body .sc-mc-notices a{
  color: var(--c-forest) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* List spacing */
.bde-mini-cart-offcanvas-body ul.woocommerce-mini-cart{
  list-style: none !important;
  margin: 0 !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--mc-gap) !important;
}

/* Item card */
.bde-mini-cart-offcanvas-body .bde-mini-cart-item.woocommerce-mini-cart-item{
  position: relative !important;
  display: grid !important;
  grid-template-columns: var(--mc-thumb) 1fr !important;
  grid-template-rows: auto !important;
  gap: 8px 10px !important;
  padding: var(--mc-pad) !important;
  border-radius: var(--mc-radius-sm) !important;
  border: 1px solid var(--mc-border) !important;
  background:
    linear-gradient(180deg, rgba(175,234,128,.09), rgba(255,255,255,.98) 62%),
    #fff !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) !important;
  transition: box-shadow .15s ease, border-color .15s ease, transform .12s ease !important;
}
.bde-mini-cart-offcanvas-body .bde-mini-cart-item.woocommerce-mini-cart-item:hover{
  border-color: rgba(255,214,0,.30) !important;
  box-shadow: 0 9px 18px rgba(0,0,0,.09) !important;
  transform: translateY(-1px) !important;
}

/* Thumb (anchor acts as crop mask for hover zoom) */
.bde-mini-cart-offcanvas-body .bde-mini-cart-item-thumbnail{
  display: block !important;
  overflow: hidden !important;
  border-radius: 14px !important;
}
.bde-mini-cart-offcanvas-body .bde-mini-cart-item-thumbnail img{
  width: var(--mc-thumb) !important;
  height: var(--mc-thumb) !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  border: 1px solid rgba(17,24,39,.10) !important;
  background: rgba(238,241,244,.7) !important;
  display: block !important;
  transition: transform .22s ease !important;
  will-change: transform !important;
}
/* Card hover -> eye-catching zoom */
.bde-mini-cart-offcanvas-body .bde-mini-cart-item.woocommerce-mini-cart-item:hover .bde-mini-cart-item-thumbnail img{
  transform: scale(1.22) !important;
}

/* Remove X top-right (pinned, wins against Breakdance grid rules) */
.bde-mini-cart-offcanvas-body .bde-mini-cart-item > a.remove,
.bde-mini-cart-offcanvas-body .bde-mini-cart-item .remove.remove_from_cart_button{
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  inset: 8px 8px auto auto !important;
  margin: 0 !important;

  /* neutralise Breakdance grid placement */
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;
  align-self: auto !important;

  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(17,24,39,.12) !important;
  background: #fff !important;

  color: rgba(17,24,39,.70) !important;
  text-decoration: none !important;

  display: grid !important;
  place-items: center !important;

  padding: 0 !important;
  line-height: 1 !important;
  font-size: 18px !important;
  text-align: center !important;

  z-index: 50 !important;

  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease !important;
}
.bde-mini-cart-offcanvas-body .bde-mini-cart-item > a.remove:hover,
.bde-mini-cart-offcanvas-body .bde-mini-cart-item .remove.remove_from_cart_button:hover{
  background: rgba(255,214,0,.14) !important;
  border-color: rgba(255,214,0,.45) !important;
  box-shadow: 0 0 0 2px rgba(255,214,0,.14) !important;
}

/* Main column */
.bde-mini-cart-offcanvas-body .sc-mc-main{
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding-right: 0 !important; /* let Total go flush-right */
}

/* Keep ONLY text/meta clear of the X */
.bde-mini-cart-offcanvas-body .bde-mini-cart-item-title,
.bde-mini-cart-offcanvas-body .sc-mc-brand,
.bde-mini-cart-offcanvas-body .sc-mc-meta{
  padding-right: 34px !important;
}

/* Title (own line) */
.bde-mini-cart-offcanvas-body .bde-mini-cart-item-title{
  display: block !important;
  margin: 0 !important;
  color: var(--c-forest) !important;
  font-weight: 950 !important;
  font-size: 13.5px !important;
  line-height: 1.12 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
.bde-mini-cart-offcanvas-body a.bde-mini-cart-item-title:hover{
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Brand line */
.bde-mini-cart-offcanvas-body .sc-mc-brand{
  font-size: 11.5px !important;
  font-weight: 900 !important;
  color: rgba(17,24,39,.60) !important;
  line-height: 1.05 !important;
}

/* Pack + Unit row */
.bde-mini-cart-offcanvas-body .sc-mc-meta{
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  max-width: 100% !important;
}

/* Pills (shared) */
.bde-mini-cart-offcanvas-body .sc-mc-pill{
  box-sizing: border-box !important;
  height: var(--mc-pill-h) !important;
  padding: 0 10px !important;
  padding-top: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  white-space: nowrap !important;
  border: 1px solid rgba(28,58,42,.15) !important;
  background: rgba(175,234,128,.11) !important;
  color: rgba(17,24,39,.92) !important;
  font-weight: 950 !important;
  font-size: 11.5px !important;

  line-height: 1 !important;
}

/* Joined effect */
.bde-mini-cart-offcanvas-body .sc-mc-pack{
  border-top-left-radius: 999px !important;
  border-bottom-left-radius: 999px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: 0 !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-unit{
  border-top-right-radius: 999px !important;
  border-bottom-right-radius: 999px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-meta[data-no-pack="1"] .sc-mc-unit{
  border-radius: 999px !important;
  border-left: 1px solid rgba(28,58,42,.15) !important;
}

/* Dash + price inside unit pill */
.bde-mini-cart-offcanvas-body .sc-mc-unit-dash{
  margin-right: 6px !important;
  color: rgba(17,24,39,.55) !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-unit .amount{
  font-weight: 950 !important;
  color: rgba(17,24,39,.92) !important;
  line-height: 1 !important;
}

/* Hard reset for ANY nested Woo spans inside the pill */
.bde-mini-cart-offcanvas-body .sc-mc-pill *{
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Regular seeds tint */
.bde-mini-cart-offcanvas-body .bde-mini-cart-item.woocommerce-mini-cart-item.sc-mc-is-reg .sc-mc-pill{
  background: var(--mc-regular-bg) !important;
  border-color: var(--mc-regular-border) !important;
}
.bde-mini-cart-offcanvas-body .bde-mini-cart-item.woocommerce-mini-cart-item.sc-mc-is-reg .sc-mc-qty{
  background: var(--mc-regular-bg) !important;
  border-color: var(--mc-regular-border) !important;
}

/* Controls row */
.bde-mini-cart-offcanvas-body .sc-mc-controls{
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 2px !important;
}

/* Wide qty box */
.bde-mini-cart-offcanvas-body .sc-mc-qty{
  display: grid !important;
  grid-template-columns: 32px minmax(52px, 1fr) 32px !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(28,58,42,.17) !important;
  background: rgba(175,234,128,.11) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

/* +/- buttons */
.bde-mini-cart-offcanvas-body .sc-mc-qty-btn{
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(28,58,42,.14) !important;
  background: #fff !important;
  cursor: pointer !important;

  display: grid !important;
  place-items: center !important;

  font-weight: 950 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: var(--c-forest) !important;

  padding: 0 !important;
  margin: 0 !important;

  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-qty-btn:hover{
  background: rgba(255,214,0,.12) !important;
  border-color: rgba(255,214,0,.42) !important;
  box-shadow: 0 0 0 2px rgba(255,214,0,.12) !important;
}

/* qty input */
.bde-mini-cart-offcanvas-body .sc-mc-qty-input{
  width: 100% !important;
  height: 32px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(28,58,42,.14) !important;
  background: #fff !important;
  text-align: center !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  color: var(--c-ink) !important;
  outline: none !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-qty-input:focus{
  border-color: rgba(255,214,0,.60) !important;
  box-shadow: 0 0 0 2px rgba(255,214,0,.14) !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-qty-input::-webkit-outer-spin-button,
.bde-mini-cart-offcanvas-body .sc-mc-qty-input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.bde-mini-cart-offcanvas-body .sc-mc-qty-input{ -moz-appearance:textfield; }

/* Total pill */
.bde-mini-cart-offcanvas-body .sc-mc-total{
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-self: end !important;
  text-align: right !important;
  gap: 1px !important;

  padding: 6px 8px !important;
  border-radius: 12px !important;
  background: rgba(255,214,0,.13) !important;
  border: 1px solid rgba(255,214,0,.30) !important;

  white-space: nowrap !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-total-label{
  font-size: 9px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: rgba(17,24,39,.52) !important;
}
.bde-mini-cart-offcanvas-body .sc-mc-total .amount{
  font-weight: 950 !important;
  font-size: 13px !important;
  color: var(--c-ink) !important;
}

/* Hide the default “qty × unit” line */
.bde-mini-cart-offcanvas-body .bde-mini-cart-quantity-simple{
  display: none !important;
}

/* Footer subtotal */
.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__total{
  margin: 2px 12px 10px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(28,58,42,.10) !important;

  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  text-align: left !important;
}
.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__total strong{
  color: rgba(17,24,39,.62) !important;
  font-weight: 950 !important;
  margin: 0 !important;
}
.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__total .amount{
  font-weight: 950 !important;
  color: var(--c-ink) !important;
  margin: 0 !important;
}

/* Footer buttons */
.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__buttons{
  display: flex !important;
  gap: 10px !important;
  margin: 0 12px 12px !important;
}
.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__buttons .button{
  flex: 1 1 0 !important;
  height: 42px !important;
  border-radius: 999px !important;
  padding: 10px 14px !important;
  font-weight: 950 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* View Cart */
.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout){
  background: linear-gradient(90deg, rgba(175,234,128,.42), rgba(255,214,0,.34)) !important;
  border: 1px solid rgba(28,58,42,.26) !important;
  color: var(--c-forest) !important;
  box-shadow: 0 10px 16px rgba(0,0,0,.07) !important;
}

/* Checkout */
.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__buttons .button.checkout{
  background: linear-gradient(90deg, rgba(255,214,0,.44), rgba(175,234,128,.28)) !important;
  border: 1px solid rgba(28,58,42,.32) !important;
  color: var(--c-forest) !important;
  box-shadow: 0 10px 16px rgba(0,0,0,.07) !important;

  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bde-mini-cart-offcanvas-body .woocommerce-mini-cart__buttons .button:focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255,214,0,.32), 0 14px 22px rgba(0,0,0,.10) !important;
}

/* Mobile tweaks */
@media (max-width: 520px){
  :root{
    --mc-thumb: 58px;
    --mc-pill-h: 26px;
  }

  .bde-mini-cart-offcanvas-body .bde-mini-cart-item.woocommerce-mini-cart-item{
    grid-template-columns: var(--mc-thumb) 1fr !important;
    padding: 9px !important;
    gap: 7px 9px !important;
  }
  .bde-mini-cart-offcanvas-body .bde-mini-cart-item-thumbnail img{
    width: var(--mc-thumb) !important;
    height: var(--mc-thumb) !important;
  }
  .bde-mini-cart-offcanvas-body .sc-mc-qty{
    grid-template-columns: 30px minmax(48px, 1fr) 30px !important;
    gap: 6px !important;
  }
  .bde-mini-cart-offcanvas-body .sc-mc-qty-btn{
    width: 30px !important;
    height: 30px !important;
    font-size: 15px !important;
  }
  .bde-mini-cart-offcanvas-body .sc-mc-qty-input{
    height: 30px !important;
  }
}

/* =========================================================
   BREAKDANCE FIGHT CLUB (hard overrides)
   ========================================================= */
.bde-mini-cart-offcanvas .widget_shopping_cart_content
ul.woocommerce-mini-cart[data-scmc-pro="1"] > li.bde-mini-cart-item.woocommerce-mini-cart-item{
  position: relative !important;
  display: grid !important;
  grid-template-columns: var(--mc-thumb, 64px) 1fr !important;
  grid-template-rows: auto !important;
  column-gap: 10px !important;
  row-gap: 8px !important;
  align-items: start !important;

  padding: var(--mc-pad, 10px) !important;
  padding-left: var(--mc-pad, 10px) !important;
  padding-right: var(--mc-pad, 10px) !important;
}

.bde-mini-cart-offcanvas .widget_shopping_cart_content
ul.woocommerce-mini-cart[data-scmc-pro="1"] > li.woocommerce-mini-cart-item + li.woocommerce-mini-cart-item{
  border-top: none !important;
}

.bde-mini-cart-offcanvas .widget_shopping_cart_content
ul.woocommerce-mini-cart[data-scmc-pro="1"] .bde-mini-cart-item-thumbnail{
  grid-area: auto !important;
  grid-column: 1 !important;
  grid-row: 1 / -1 !important;
}

.bde-mini-cart-offcanvas .widget_shopping_cart_content
ul.woocommerce-mini-cart[data-scmc-pro="1"] > li.woocommerce-mini-cart-item > a.remove,
.bde-mini-cart-offcanvas .widget_shopping_cart_content
ul.woocommerce-mini-cart[data-scmc-pro="1"] > li.woocommerce-mini-cart-item .remove.remove_from_cart_button{
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  inset: 8px 8px auto auto !important;
  margin: 0 !important;

  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;
  align-self: auto !important;

  z-index: 999 !important;
}

.bde-mini-cart-offcanvas .widget_shopping_cart_content
ul.woocommerce-mini-cart[data-scmc-pro="1"] .sc-mc-controls{
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}
.bde-mini-cart-offcanvas .widget_shopping_cart_content
ul.woocommerce-mini-cart[data-scmc-pro="1"] .sc-mc-total{
  justify-self: end !important;
  text-align: right !important;
}
/* =========================================================
   SCMC PRO — Notices (fix Breakdance icon overlay + clean style)
   ========================================================= */

.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices{
  padding: 0 10px 8px !important;
}

.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices .woocommerce-notices-wrapper{
  margin: 0 !important;
}

/* Reset lists so nothing "sits on" the text */
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-error,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-message,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-info{
  list-style: none !important;
  margin: 0 !important;
  padding: 10px 12px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(28,58,42,.16) !important;
  background: rgba(175,234,128,.10) !important;
  color: rgba(17,24,39,.92) !important;

  font-weight: 900 !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;

  position: relative !important;
  overflow: hidden !important;
}

/* Kill Breakdance/Woo pseudo-icons that overlap the first characters */
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-error::before,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-message::before,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-info::before,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-error li::before,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-message li::before,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-info li::before{
  content: none !important;
  display: none !important;
}

/* Make LI not add its own spacing */
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-error li,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-message li,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-info li{
  margin: 0 !important;
  padding: 0 !important;
}

/* Slightly different tints per type (still on-brand) */
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-error{
  background: rgba(255,122,122,.14) !important;
  border-color: rgba(255,122,122,.30) !important;
}
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-message{
  background: rgba(175,234,128,.14) !important;
  border-color: rgba(175,234,128,.30) !important;
}
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices ul.woocommerce-info{
  background: rgba(255,214,0,.13) !important;
  border-color: rgba(255,214,0,.28) !important;
}
/* =========================================================
   SCMC PRO — Micro-animations (notice in + qty shake)
   ========================================================= */

@keyframes scmcNoticeIn{
  from{ opacity: 0; transform: translateY(-6px); }
  to{ opacity: 1; transform: translateY(0); }
}

@keyframes scmcQtyShake{
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-4px); }
  40%  { transform: translateX(4px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

/* Animate the notice container in (scoped) */
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices
ul.woocommerce-error,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices
ul.woocommerce-message,
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices
ul.woocommerce-info{
  animation: scmcNoticeIn .18s ease-out both;
}

/* Shake the qty pill when max hit */
.bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-qty.sc-mc-qty--shake{
  animation: scmcQtyShake .28s ease-in-out;
  border-color: rgba(255,122,122,.40) !important;
  box-shadow: 0 0 0 2px rgba(255,122,122,.12) !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices
  ul.woocommerce-error,
  .bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices
  ul.woocommerce-message,
  .bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-notices
  ul.woocommerce-info{
    animation: none !important;
  }

  .bde-mini-cart-offcanvas .widget_shopping_cart_content .sc-mc-qty.sc-mc-qty--shake{
    animation: none !important;
  }
}
.scmc-cart-trigger{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.scmc-cart-trigger__count{
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 900;
  line-height: 1;

  background: var(--c-gold, #FFD600);
  color: #111;
  border: 1px solid rgba(0,0,0,.08);
}

.scmc-cart-trigger__count.is-zero{
  display: none;
}

/* Mobile-optimized trigger enhancements */
.scmc-cart-trigger {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.scmc-cart-trigger:hover {
  background-color: rgba(175, 234, 128, 0.1);
}

.scmc-cart-trigger:active {
  transform: scale(0.95);
}

.scmc-cart-trigger:focus {
  outline: 2px solid var(--c-leaf, #AFEA80);
  outline-offset: 2px;
}

.scmc-cart-trigger:focus:not(:focus-visible) {
  outline: none;
}

.scmc-cart-trigger__icon {
  width: 24px;
  height: 24px;
  color: var(--c-forest, #1C3A2A);
  pointer-events: none;
}

.scmc-cart-trigger__count {
  top: 4px;
  right: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.scmc-cart-trigger__count[data-cart-count="0"] {
  display: none;
}

@keyframes scmc-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.scmc-cart-trigger__count.scmc-pulse {
  animation: scmc-badge-pulse 0.3s ease;
}
