/* Custom Elementor Addons — WooCommerce widget styles (structural). */

.cea-wc { max-width: 100%; }
.cea-wc .price { font-weight: 600; }

/* Stock */
.cea-wc-stock { font-weight: 600; margin: 0; }
.cea-wc-stock--instock { color: #1a7f37; }
.cea-wc-stock--outofstock { color: #d63638; }
.cea-wc-stock--onbackorder { color: #bf6a02; }

/* Custom Add To Cart */
.cea-wc-atc { display: inline-block; padding: 12px 26px; border-radius: 6px; background: #6c63ff; color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; }
.cea-wc-atc:hover { filter: brightness(1.06); }

/* Breadcrumb separator */
.cea-wc .woocommerce-breadcrumb { font-size: .9em; opacity: .85; }
.cea-wc-bc-sep { opacity: .5; }

/* Menu Cart */
.cea-wc-cart { position: relative; display: inline-block; }
.cea-wc-cart__btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; cursor: pointer; }
.cea-wc-cart__icon { font-size: 1.2em; }
.cea-wc-cart__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #6c63ff; color: #fff; font-size: 12px; font-weight: 700; }
.cea-wc-cart__subtotal { font-weight: 600; }
.cea-wc-cart__dropdown { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; max-width: 90vw; background: #fff; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.16); padding: 16px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; z-index: 999; }
.cea-wc-cart.is-open .cea-wc-cart__dropdown { opacity: 1; visibility: visible; transform: none; }
.cea-wc-cart__dropdown ul.cart_list { list-style: none; margin: 0 0 12px; padding: 0; max-height: 300px; overflow: auto; }
.cea-wc-cart__dropdown .woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #e2e8f0; }
.cea-wc-cart__dropdown .woocommerce-mini-cart__buttons { display: flex; gap: 8px; }
.cea-wc-cart__dropdown .woocommerce-mini-cart__buttons .button { flex: 1; text-align: center; }
