/* === Nexo — mini-carrinho (drawer) + swatch de cor === */

.nexo-drawer-overlay {
  position: fixed; inset: 0; background: rgba(30,25,20,.42); z-index: 99998;
  opacity: 0; transition: opacity .25s ease;
}
.nexo-drawer-overlay.is-open { opacity: 1; }

.nexo-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 410px; max-width: 92vw;
  background: #fff; z-index: 99999; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.7,.2,1);
  box-shadow: -12px 0 44px rgba(30,25,20,.16); font-family: 'DM Sans', sans-serif;
}
.nexo-drawer.is-open { transform: none; }

.nexo-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; border-bottom: 1px solid #efe7da;
}
.nexo-drawer__title { font-size: 18px; color: #2e2521; }
.nexo-drawer__close { background: none; border: 0; font-size: 28px; line-height: 1; color: #6B6357; cursor: pointer; padding: 0; }
.nexo-drawer__close:hover { color: #AD5D3A; }

.nexo-drawer__body { flex: 1; overflow-y: auto; padding: 6px 26px 26px; }

/* lista do mini-cart — imagem absoluta à esquerda, textos empilhados */
.nexo-drawer .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.nexo-drawer .woocommerce-mini-cart-item {
  position: relative; padding: 18px 30px 18px 82px !important; min-height: 84px;
  border-bottom: 1px solid #f1ece2; list-style: none; margin: 0 !important;
}
.nexo-drawer .woocommerce-mini-cart-item::before { display: none; }
.nexo-drawer .woocommerce-mini-cart-item img {
  position: absolute !important; left: 0 !important; top: 18px !important;
  width: 64px !important; height: 80px !important; max-width: 64px !important;
  object-fit: cover; border-radius: 2px; margin: 0 !important; float: none !important;
}
.nexo-drawer .woocommerce-mini-cart-item a:not(.remove) {
  display: block; color: #2e2521; text-decoration: none; font-size: 15px; font-weight: 400; line-height: 1.35; padding: 0 !important;
}
.nexo-drawer .woocommerce-mini-cart-item a:not(.remove):hover { color: #AD5D3A; }
.nexo-drawer .woocommerce-mini-cart-item dl.variation { margin: 6px 0 0; font-size: 12.5px; color: #6B6357; line-height: 1.5; }
.nexo-drawer .woocommerce-mini-cart-item dl.variation dt,
.nexo-drawer .woocommerce-mini-cart-item dl.variation dd { display: inline; margin: 0; font-weight: 400; }
.nexo-drawer .woocommerce-mini-cart-item dl.variation dt { margin-right: 3px; }
.nexo-drawer .woocommerce-mini-cart-item .quantity { display: block; color: #6B6357; font-size: 13px; margin-top: 6px; }
.nexo-drawer .woocommerce-mini-cart-item .quantity .amount { color: #2e2521; }
.nexo-drawer .woocommerce-mini-cart-item .remove_from_cart_button {
  position: absolute; right: 0; top: 18px;
  color: #c2b6a4 !important; font-size: 18px; line-height: 1; text-decoration: none;
}
.nexo-drawer .woocommerce-mini-cart-item .remove_from_cart_button:hover { color: #AD5D3A !important; }

.nexo-drawer .woocommerce-mini-cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 0 16px; font-size: 16px; color: #2e2521; border-bottom: 1px solid #efe7da; margin-bottom: 20px;
}
.nexo-drawer .woocommerce-mini-cart__total strong { font-weight: 500; }
.nexo-drawer .woocommerce-mini-cart__total .amount { color: #AD5D3A; font-weight: 600; }

.nexo-drawer .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.nexo-drawer .woocommerce-mini-cart__buttons a {
  display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 2px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: all .2s;
}
.nexo-drawer .woocommerce-mini-cart__buttons a.button { background: transparent; border: 1px solid #d8cdbb; color: #493725; }
.nexo-drawer .woocommerce-mini-cart__buttons a.button:hover { border-color: #2e2521; color: #2e2521; }
.nexo-drawer .woocommerce-mini-cart__buttons a.checkout { background: #2e2521; color: #fff; border: 1px solid #2e2521; }
.nexo-drawer .woocommerce-mini-cart__buttons a.checkout:hover { background: #AD5D3A; border-color: #AD5D3A; }
.nexo-drawer .woocommerce-mini-cart__empty-message { color: #6B6357; padding: 28px 0; text-align: center; }

/* swatch da cor (drawer + página do carrinho) */
.nexo-cart-swatch {
  display: inline-block; width: 14px; height: 14px; border-radius: 3px;
  border: 1px solid rgba(0,0,0,.12); vertical-align: middle; margin-right: 7px;
}

@media (max-width: 480px){ .nexo-drawer { width: 100%; } }
