#huntdad-side-cart[hidden] { display: none !important; }
/* Remove empty notice spacing; actual errors/info remain visible. */
html.huntdad-unified-cart .woocommerce-notices-wrapper:empty,
html.huntdad-unified-cart .hdsc-empty-notice { display: none !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
/* Activate only once the unified panel's JS is ready. Keep native cart links as
   a no-JavaScript fallback, and do not hide checkout/cart-page contents. */
html.huntdad-unified-cart #header .cart-item .nav-dropdown,
html.huntdad-unified-cart .header .cart-item .nav-dropdown,
html.huntdad-unified-cart #header .header-cart .nav-dropdown,
html.huntdad-unified-cart #cart-popup {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.huntdad-unified-cart .mfp-wrap:has(#cart-popup) { visibility: hidden !important; }
body.huntdad-cart-panel-open { overflow: hidden !important; }
#huntdad-side-cart { position: fixed !important; inset: 0 !important; z-index: 999999; color: #2F3B2F; font-family: 'Poppins', sans-serif; overflow: hidden; }
#huntdad-side-cart *, #huntdad-side-cart *::before, #huntdad-side-cart *::after { box-sizing: border-box; }
.huntdad-side-cart-backdrop { position: absolute; inset: 0; background: rgba(27,37,27,.45); touch-action: none; }
.huntdad-side-cart-panel { position: absolute; inset: 0 0 0 auto; width: min(600px, 100%); height: 100%; height: 100dvh; display: flex; flex-direction: column; background: #fff; box-shadow: -8px 0 28px rgb(0 0 0 / 12%); overflow: hidden; overscroll-behavior: none; animation: hdscEnter 220ms ease-out; }
#huntdad-side-cart .huntdad-side-cart-header { position: relative; display: flex; align-items: center; justify-content: center; min-height: 88px; padding: 20px 70px; border-bottom: 1px solid #e5e8e5; flex: 0 0 auto; }
#huntdad-side-cart h2 { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 800; color: #2F3B2F; text-align: center; }
#huntdad-side-cart .huntdad-side-cart-close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 48px; min-width: 48px; height: 48px; padding: 5px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #2F3B2F; box-shadow: none; cursor: pointer; }
#huntdad-side-cart .huntdad-side-cart-close svg { display: block; width: 100%; height: 100%; }
.huntdad-side-cart-status { padding: 12px 20px; font-size: 14px; }
.huntdad-side-cart-status:empty { display: none; }
.huntdad-side-cart-content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0; scrollbar-width: thin; }
#huntdad-side-cart .hdsc-items { padding: 0 20px; }
#huntdad-side-cart .hdsc-item { display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: start; gap: 16px; padding: 26px 0; margin: 0; border: 0; }
#huntdad-side-cart .hdsc-item + .hdsc-item { border-top: 1px solid #eef0ee; }
#huntdad-side-cart .hdsc-image img { display: block; width: 100px; height: 112px; max-width: 100%; object-fit: contain; border: 0; border-radius: 6px; margin: 0; }
#huntdad-side-cart .hdsc-info { min-width: 0; }
#huntdad-side-cart .hdsc-name-row { display: flex; gap: 10px; align-items: flex-start; }
#huntdad-side-cart .hdsc-name { display: block; flex: 1 1 auto; min-width: 0; font-size: 19px; font-weight: 750; line-height: 1.45; color: #2F3B2F; text-decoration: none; overflow-wrap: anywhere; }
#huntdad-side-cart .hdsc-remove { flex: 0 0 32px; width: 32px; height: 36px; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 5px; background: transparent; border: 0; color: #2F3B2F; box-shadow: none; }
#huntdad-side-cart .hdsc-remove svg { width: 22px; height: 22px; }
#huntdad-side-cart .hdsc-meta { margin: 12px 0 16px; font-size: 15px; line-height: 1.5; }
#huntdad-side-cart .hdsc-meta:empty { display: none; }
#huntdad-side-cart .hdsc-meta dl { margin: 0; padding: 0; border: 0; }
#huntdad-side-cart .hdsc-meta dt { font-weight: 500; }
#huntdad-side-cart .hdsc-meta dd { margin: 0 0 4px; padding: 0; border: 0; }
#huntdad-side-cart .hdsc-meta p { margin: 0; }
#huntdad-side-cart .hdsc-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
#huntdad-side-cart .hdsc-price { font-size: 18px !important; font-weight: 700 !important; line-height: 1.3; color: #2F3B2F; }
#huntdad-side-cart .hdsc-price :is(span,bdi) { color: inherit; font-size: inherit !important; font-weight: inherit !important; }
#huntdad-side-cart .hdsc-price .tax_label { font-size: 11px; font-weight: 500; }
#huntdad-side-cart .hdsc-quantity { display: flex; flex-flow: row nowrap; align-items: stretch; flex: 0 0 112px; width: 112px; height: 36px; border: 1px solid #858b85; border-radius: 8px; overflow: hidden; background: #f5f6f5; }
#huntdad-side-cart .hdsc-quantity button, #huntdad-side-cart .hdsc-quantity input { position: static !important; display: block; box-sizing: border-box; height: 34px !important; min-height: 0 !important; min-width: 0 !important; width: 42px; margin: 0 !important; padding: 0 !important; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #2F3B2F; text-align: center; font-family: inherit; font-size: 17px !important; font-weight: 600; line-height: 1; }
#huntdad-side-cart .hdsc-quantity button { flex: 0 0 34px; cursor: pointer; }
#huntdad-side-cart .hdsc-quantity input { flex: 1 1 auto; border-inline: 1px solid #cbd0cb; appearance: textfield; -moz-appearance: textfield; }
#huntdad-side-cart .hdsc-quantity input::-webkit-inner-spin-button, #huntdad-side-cart .hdsc-quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#huntdad-side-cart button:disabled { opacity: .45; cursor: not-allowed; }
#huntdad-side-cart .hdsc-bottom { margin-top: auto; border-top: 1px solid #e5e8e5; padding: 24px 20px; }
#huntdad-side-cart .hdsc-coupon { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 10px; width: 100%; margin: 0 0 24px; }
#huntdad-side-cart .hdsc-coupon input { min-width: 0 !important; width: 100% !important; height: 54px !important; min-height: 54px !important; margin: 0 !important; padding: 10px 12px; box-sizing: border-box !important; background: #fff; border: 2px solid #8a948a; border-radius: 10px; box-shadow: none; font-size: 16px; color: #2F3B2F; }
#huntdad-side-cart .hdsc-coupon button { min-width: 0 !important; width: 100% !important; height: 54px !important; min-height: 54px !important; margin: 0 !important; padding: 10px; box-sizing: border-box !important; border: 0; border-radius: 10px; background: #2F3B2F; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.2 !important; }
#huntdad-side-cart .hdsc-coupon > .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; }
#huntdad-side-cart .hdsc-meta dl.variation { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 8px; }
#huntdad-side-cart .hdsc-meta dl.variation :is(dt, dd) { float: none !important; margin: 0 !important; padding: 0 !important; font-size: 15px !important; line-height: 1.5 !important; overflow-wrap: anywhere; }
#huntdad-side-cart .hdsc-bottom { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
#huntdad-side-cart .hdsc-subtotal { display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 29px; line-height: 1.3; margin: 0 0 22px; }
#huntdad-side-cart .hdsc-subtotal strong, #huntdad-side-cart .hdsc-subtotal span { font-weight: 800; }
#huntdad-side-cart .hdsc-checkout { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 62px; margin: 0; padding: 14px; background: #2F3B2F; color: #fff; border-radius: 8px; text-decoration: none; font-size: 26px; font-weight: 800; }
#huntdad-side-cart .hdsc-discount-summary { margin: 0 0 18px; padding: 0; border: 0; background: transparent; }
#huntdad-side-cart .hdsc-coupon-codes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
#huntdad-side-cart .hdsc-coupon-code { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 0 2px 0 10px; border: 1px solid #cbd6cb; border-radius: 5px; background: #f1f5ee; color: #2F3B2F; font-size: 14px !important; line-height: 1.3; }
#huntdad-side-cart .hdsc-coupon-code > strong { min-width: 0; font-size: inherit !important; font-weight: 600 !important; overflow-wrap: anywhere; }
#huntdad-side-cart .hdsc-coupon-remove { display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px !important; min-width: 32px !important; height: 32px !important; min-height: 32px !important; margin: 0 !important; padding: 0 !important; border: 0; border-radius: 4px; background: transparent; box-shadow: none; color: #2F3B2F; font-size: 21px !important; line-height: 1 !important; cursor: pointer; }
#huntdad-side-cart .hdsc-coupon-remove:hover { background: #e3ecdf; }
#huntdad-side-cart .hdsc-discount-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-size: 18px !important; line-height: 1.4; }
#huntdad-side-cart .hdsc-discount-total > strong { font-size: inherit !important; font-weight: 700; }
#huntdad-side-cart .hdsc-discount-prices { display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-left: auto; }
#huntdad-side-cart .hdsc-discount-prices del { font-size: 15px !important; font-weight: 400; color: #7a827a; opacity: 1; }
#huntdad-side-cart .hdsc-discount-prices > strong { font-size: 20px !important; font-weight: 750; color: #2F3B2F; }
#huntdad-side-cart .hdsc-discount-prices :is(span,bdi) { font-size: inherit !important; font-weight: inherit; color: inherit; }
#huntdad-side-cart .hdsc-empty { padding: 24px; }
/* Native WooCommerce fallback remains readable if a custom item renderer fails. */
#huntdad-side-cart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 16px 20px; }
#huntdad-side-cart .woocommerce-mini-cart-item { position: relative; min-height: 106px; padding: 16px 28px 16px 96px; border-bottom: 1px solid #e5e8e5; }
#huntdad-side-cart .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 16px; width: 80px; height: 80px; object-fit: contain; }
#huntdad-side-cart .woocommerce-mini-cart-item > a:not(.remove) { font-size: 17px; font-weight: 700; color: #2F3B2F; }
#huntdad-side-cart .woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 16px; }
#huntdad-side-cart .woocommerce-mini-cart-item .quantity { display: block; margin-top: 8px; }
#huntdad-side-cart .woocommerce-mini-cart__total, #huntdad-side-cart .woocommerce-mini-cart__buttons { margin: 16px 20px; }
.huntdad-side-cart-footer { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #e5e8e5; background: #fff; font-size: 12px; }
#huntdad-side-cart .huntdad-side-cart-retry { padding: 6px 8px; margin: 0; min-height: 32px; background: #fff; color: #2F3B2F; border: 1px solid #b4bcb4; border-radius: 5px; font-size: 12px; }
#huntdad-side-cart .huntdad-side-cart-footer a { color: #2F3B2F; }
#huntdad-side-cart :is(button,a,input):focus-visible { outline: 2px solid #2F3B2F !important; outline-offset: -3px; }
@keyframes hdscEnter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .huntdad-side-cart-panel { animation: none; } }
@media (max-width: 549px) {
  #huntdad-side-cart .huntdad-side-cart-header { min-height: 76px; padding: 16px 62px; }
  #huntdad-side-cart h2 { font-size: 26px; }
  #huntdad-side-cart .hdsc-items { padding-inline: 16px; }
  #huntdad-side-cart .hdsc-item { grid-template-columns: 76px minmax(0,1fr); gap: 12px; padding-block: 20px; }
  #huntdad-side-cart .hdsc-image img { width: 76px; height: 90px; }
  #huntdad-side-cart .hdsc-name { font-size: 16px; }
  #huntdad-side-cart .hdsc-price { font-size: 17px !important; }
  #huntdad-side-cart .hdsc-price-row { gap: 8px; }
  #huntdad-side-cart .hdsc-quantity { width: 106px; flex-basis: 106px; }
  #huntdad-side-cart .hdsc-quantity button { flex-basis: 32px; }
  #huntdad-side-cart .hdsc-bottom { padding: 20px 16px; }
  #huntdad-side-cart .hdsc-subtotal { font-size: 25px; }
}
