/**
 * Mini-panier #subcart — parité AngarTheme black.css (bg_black) / shop-listenable.net.
 * Panneau sombre, texte blanc (pas le panneau blanc de angartheme.css seul).
 */

body.listenable-dark #header div#_desktop_cart .blockcart .header {
  overflow: visible !important;
}

#header #subcart,
body.listenable-dark #header #subcart,
body.listenable-dark #_desktop_cart #subcart {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #2d2d2d !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

#subcart ul.cart_products,
body.listenable-dark #header #subcart ul.cart_products {
  background: #1c1c1c !important;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

#subcart ul.cart_products > li,
body.listenable-dark #header #subcart ul.cart_products > li {
  font-weight: normal;
  padding: 14px 16px 14px 18px;
  border-bottom: 1px solid #2d2d2d !important;
  color: #fff !important;
  background: transparent !important;
}

#subcart ul.cart_products li .cart_left {
  float: left;
  width: 40%;
  padding-right: 18px;
}

#subcart ul.cart_products li .cart_left img {
  border: 1px solid #2d2d2d !important;
  max-width: 100%;
  height: auto;
}

#subcart ul.cart_products li .cart_right {
  float: left;
  width: 60%;
  line-height: 18px;
  text-align: left;
  color: #fff !important;
}

#subcart ul.cart_products li .cart_right a,
#subcart ul.cart_products li .cart_right .product-name,
#subcart ul.cart_products li .cart_right .product-name a,
#subcart ul.cart_products li .cart_right .product-quantity,
#subcart ul.cart_products li .cart_right .product-price,
body.listenable-dark #subcart ul.cart_products a {
  color: #fff !important;
}

#subcart ul.cart_products li .cart_right a:hover,
body.listenable-dark #subcart ul.cart_products a:hover {
  color: var(--listenable-accent, #f17b00) !important;
}

#subcart ul.cart_products li .cart_right .product-price {
  display: block;
  font-weight: bold;
  margin-top: 14px;
}

#subcart ul.cart_products li a.remove-from-cart {
  float: right;
  margin-right: -2px;
  color: #fff !important;
}

#subcart ul.cart_products li a.remove-from-cart i {
  font-size: 16px;
  line-height: 14px;
}

#subcart ul.cart-subtotals,
body.listenable-dark #header #subcart ul.cart-subtotals {
  margin: 0;
  padding: 10px 18px;
  list-style: none;
  background: #111 !important;
}

#subcart ul.cart-subtotals li,
body.listenable-dark #header #subcart ul.cart-subtotals li {
  width: 100%;
  border-bottom: 1px solid #2d2d2d !important;
  line-height: 30px;
  font-weight: bold;
  color: #fff !important;
  background: #111 !important;
}

#subcart ul.cart-subtotals li:last-child {
  border-bottom: 0;
}

#subcart ul.cart-subtotals li .text,
#subcart ul.cart-subtotals li .value {
  color: #fff !important;
}

#subcart ul.cart-subtotals li .text {
  float: left;
}

#subcart ul.cart-subtotals li .value {
  float: right;
}

#subcart .cart-buttons,
body.listenable-dark #header #subcart .cart-buttons {
  padding: 0 18px 10px;
  background: #111 !important;
}

#subcart .cart-buttons .viewcart,
body.listenable-dark #header #subcart .cart-buttons .viewcart,
body.listenable-dark #subcart .cart-buttons a.viewcart {
  display: block;
  position: relative;
  width: 100%;
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  padding: 8px 12px;
  text-transform: uppercase;
  text-decoration: none;
  background: #6b6b6b !important;
  color: #fff !important;
  border: 1px solid #c4a574 !important;
  border-radius: 0;
  box-shadow: none;
}

#subcart .cart-buttons .viewcart:hover,
#subcart .cart-buttons .viewcart:focus,
body.listenable-dark #subcart .cart-buttons .viewcart:hover {
  background: #1b82d6 !important;
  color: #fff !important;
  border-color: #1b82d6 !important;
}

#subcart .cart-buttons .viewcart i {
  position: absolute;
  margin: 0 0 0 2px;
  font-size: 18px;
  line-height: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  body.listenable-dark.stickycart_yes.sticky_cart #header #subcart,
  body.listenable-dark.stickycart_yes.sticky_cart #_desktop_cart #subcart {
    top: 50px;
    right: 0;
    background: #111 !important;
    color: #fff !important;
  }

  body.listenable-dark.stickycart_yes.sticky_cart #header #subcart ul.cart_products {
    max-height: 420px;
    overflow: auto;
    background: #1c1c1c !important;
  }
}

/* --- Page panier (/cart) — voir aussi listenable-cart-page.css --- */
@import url("listenable-cart-page.css");
