/* ==========================================================================
   Eco Vape – WooCommerce overrides (loaded only when WooCommerce is active)
   ========================================================================== */

.woo-layout--sidebar { display: grid; grid-template-columns: 26rem 1fr; gap: 4rem; }
.shop-sidebar .widget { margin-bottom: 3.2rem; }
.shop-sidebar .widget-title { font-size: 1.6rem; }

.woocommerce-products-header__title { font-size: clamp(2.8rem, 4vw, 4rem); }
.woocommerce .woocommerce-breadcrumb { font-size: 1.3rem; color: var(--muted); margin-bottom: 2.4rem; }
.woocommerce .woocommerce-breadcrumb a { color: inherit; }
.woocommerce .woocommerce-result-count { font-size: 1.4rem; color: var(--muted); }
.woocommerce .woocommerce-ordering select { width: auto; min-height: 4rem; }

/* Product cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	text-align: center;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 1; object-fit: contain; background: var(--paper);
	margin-bottom: 1.2rem;
	transition: transform .25s ease;
}
.woocommerce ul.products li.product a:hover img { transform: scale(1.03); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.4rem; font-weight: 300; padding: 0; margin-bottom: .6rem; letter-spacing: .04rem;
}
.woocommerce ul.products li.product .price { color: var(--ink); font-weight: 600; font-size: 1.6rem; }
.woocommerce ul.products li.product .button { margin-top: auto; }

.woocommerce span.onsale {
	top: .8rem; left: .8rem; right: auto;
	min-width: 0; min-height: 0; padding: .2rem .8rem;
	border-radius: 2px; line-height: 1.6;
	background: var(--blue); color: var(--ink);
	font-size: 1.1rem; font-weight: 600; letter-spacing: .06rem; text-transform: uppercase;
}

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--ink); color: #fff;
	border: 1px solid var(--ink); border-radius: var(--radius-btn);
	font: 600 1.4rem/1.2 var(--font); letter-spacing: .08rem;
	padding: 1.2rem 2.4rem;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: #2b2b2b; color: #fff;
}
.woocommerce a.added_to_cart { display: block; font-size: 1.3rem; margin-top: .6rem; }

/* Single product */
.woocommerce div.product .product_title { font-size: clamp(2.4rem, 3vw, 3.2rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 2.2rem; font-weight: 600; }
.woocommerce div.product form.cart .variations select { min-width: 20rem; }
.woocommerce div.product form.cart div.quantity .qty { width: 7rem; min-height: 4.6rem; text-align: center; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--grey); border-color: var(--grey-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--paper); }

/* Notices */
.woocommerce-message, .woocommerce-info { border-top-color: var(--blue-deep); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--blue-deep); }

/* Cart / checkout */
.woocommerce table.shop_table { border-radius: 0; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--grey); padding: 2.4rem; }

@media (max-width: 989px) {
	.woo-layout--sidebar { grid-template-columns: 1fr; }
	.shop-sidebar { order: 2; }
}
