/* ==========================================================================
   WooCommerce on a dark site – matches the Gazzoleen look.
   ========================================================================== */

.gazz.woocommerce,
.gazz.woocommerce-page { color: #fff; }

.gazz .woocommerce-breadcrumb { margin: 0 0 24px; color: rgba(255, 255, 255, .6); font-size: 13px; text-align: center; }
.gazz .woocommerce-breadcrumb a { color: rgba(255, 255, 255, .8); }
.gazz .woocommerce-result-count { color: rgba(255, 255, 255, .6); font-size: 14px; }
.gazz .woocommerce-ordering select { width: auto; }

/* ----- Product grid -------------------------------------------------------- */
.gazz ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 30px 0 0 !important; }
.gazz ul.products::before, .gazz ul.products::after { display: none !important; }
.gazz ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: center; }
.gazz ul.products li.product a img {
	margin: 0 0 14px; aspect-ratio: 1; object-fit: cover;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .35s, box-shadow .35s;
}
.gazz ul.products li.product a:hover img { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .6), 0 0 0 3px var(--gazz-accent); }
.gazz ul.products li.product .woocommerce-loop-product__title { padding: 0; color: #fff; font: italic 900 17px/1.3 var(--gazz-font); }
.gazz ul.products li.product .price { display: block; margin: 6px 0 14px; color: var(--gazz-muted) !important; font: 600 15px var(--gazz-font-alt); }
.gazz ul.products li.product .button { margin-top: 0; }

@media (max-width: 767px) {
	.gazz ul.products { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
}

/* ----- Buttons ------------------------------------------------------------- */
.gazz.woocommerce a.button,
.gazz.woocommerce button.button,
.gazz.woocommerce input.button,
.gazz.woocommerce #respond input#submit,
.gazz .woocommerce a.button,
.gazz .woocommerce button.button,
.gazz .woocommerce a.button.alt,
.gazz .woocommerce button.button.alt,
.gazz .wc-block-components-button:not(.is-link) {
	padding: 12px 24px; border: 0; border-radius: 3px;
	background: var(--gazz-accent) !important; color: #fff !important;
	font: 700 15px/1 var(--gazz-font); text-transform: uppercase; letter-spacing: .02em;
	transition: background-color .25s;
}
.gazz.woocommerce a.button:hover,
.gazz.woocommerce button.button:hover,
.gazz .woocommerce a.button:hover,
.gazz .woocommerce button.button:hover,
.gazz .woocommerce a.button.alt:hover,
.gazz .woocommerce button.button.alt:hover,
.gazz .wc-block-components-button:not(.is-link):hover { background: var(--gazz-secondary) !important; }
.gazz .woocommerce .button:disabled, .gazz .woocommerce .button.disabled { opacity: .5; }

/* ----- Single product ------------------------------------------------------ */
.gazz div.product { margin-top: 10px; }
.gazz div.product .woocommerce-product-gallery { box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.gazz div.product p.price, .gazz div.product span.price { color: var(--gazz-accent) !important; font: 700 24px var(--gazz-font); }
.gazz div.product .woocommerce-product-details__short-description { color: rgba(255, 255, 255, .85); }
.gazz div.product form.cart .quantity input.qty { width: 4.5em; padding: 10px 6px; text-align: center; }
.gazz div.product .product_meta { margin-top: 24px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.gazz div.product .product_meta a { color: rgba(255, 255, 255, .85); }
.gazz .woocommerce-tabs ul.tabs { padding: 0 !important; }
.gazz .woocommerce-tabs ul.tabs::before { border-color: rgba(255, 255, 255, .15) !important; }
.gazz .woocommerce-tabs ul.tabs li { background: transparent !important; border-color: rgba(255, 255, 255, .15) !important; border-radius: 3px 3px 0 0 !important; }
.gazz .woocommerce-tabs ul.tabs li::before, .gazz .woocommerce-tabs ul.tabs li::after { display: none !important; }
.gazz .woocommerce-tabs ul.tabs li a { color: rgba(255, 255, 255, .7) !important; font-weight: 700; }
.gazz .woocommerce-tabs ul.tabs li.active { background: #111 !important; border-bottom-color: #111 !important; }
.gazz .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.gazz .woocommerce-tabs .panel { color: rgba(255, 255, 255, .85); }
.gazz .woocommerce-tabs .panel h2, .gazz .related > h2, .gazz .upsells > h2 { font: 900 24px var(--gazz-font); color: #fff; }
.gazz .related, .gazz .upsells { margin-top: 60px; }
.gazz span.onsale { min-width: 0; min-height: 0; padding: 6px 12px; border-radius: 3px; background: var(--gazz-accent); line-height: 1.2; }
.gazz .star-rating span::before { color: var(--gazz-accent); }

/* ----- Tables (cart, checkout, account) ------------------------------------ */
.gazz .woocommerce table.shop_table,
.gazz table.shop_table { border-color: rgba(255, 255, 255, .15); border-radius: 3px; color: #fff; }
.gazz table.shop_table th, .gazz table.shop_table td { border-color: rgba(255, 255, 255, .12) !important; }
.gazz table.shop_table a { color: #fff; }
.gazz .woocommerce a.remove { color: #ff6b6b !important; }
.gazz .woocommerce a.remove:hover { background: #ff6b6b; color: #fff !important; }
.gazz .cart-collaterals .cart_totals h2, .gazz .woocommerce-checkout h3, .gazz .woocommerce-billing-fields h3 { font: 900 22px var(--gazz-font); color: #fff; }
.gazz #add_payment_method #payment,
.gazz.woocommerce-checkout #payment { background: #111; border-radius: 3px; color: #fff; }
.gazz.woocommerce-checkout #payment div.payment_box { background: #1c1c1c; color: rgba(255, 255, 255, .85); }
.gazz.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #1c1c1c; }
.gazz .select2-container--default .select2-selection--single { height: 42px; border-color: #666; border-radius: 3px; }
.gazz .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; padding-left: 16px; }
.gazz .select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }

/* ----- Notices ------------------------------------------------------------- */
.gazz .woocommerce-message, .gazz .woocommerce-info, .gazz .woocommerce-error,
.gazz .wc-block-components-notice-banner {
	background: #111 !important; color: #fff !important; border-top-color: var(--gazz-accent) !important;
}
.gazz .woocommerce-message::before, .gazz .woocommerce-info::before { color: var(--gazz-accent) !important; }
.gazz .woocommerce-error { border-top-color: #ff6b6b !important; }
.gazz .woocommerce-error::before { color: #ff6b6b !important; }

/* ----- Block-based cart & checkout ----------------------------------------- */
.gazz .wp-block-woocommerce-cart,
.gazz .wp-block-woocommerce-checkout { color: #fff; }
.gazz .wc-block-components-text-input input,
.gazz .wc-block-components-combobox .wc-block-components-combobox-control input,
.gazz .wc-blocks-components-select .wc-blocks-components-select__select { background: #fff !important; color: #000 !important; }
.gazz .wc-block-components-totals-wrapper,
.gazz .wc-block-components-order-summary-item,
.gazz .wc-block-cart-items td, .gazz .wc-block-cart-items th { border-color: rgba(255, 255, 255, .15) !important; }
.gazz .wc-block-components-product-name { color: #fff !important; }
.gazz .wc-block-components-panel__button { color: #fff; }
.gazz .wc-block-components-radio-control__option,
.gazz .wc-block-components-checkbox__label { color: #fff; }

/* ----- My account ---------------------------------------------------------- */
.gazz .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.gazz .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 700; text-decoration: none; }
.gazz .woocommerce-MyAccount-navigation li.is-active a { color: var(--gazz-accent); }

/* ----- Store: category filter under the title ------------------------------ */
.gazz .woocommerce-products-header { margin-bottom: 30px; }
.gazz-store-filter ul {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
	margin: 0; padding: 0; list-style: none;
}
.gazz-store-filter a {
	/* same look as the shop's Buy / Add to cart buttons */
	display: inline-block;
	padding: 12px 24px;
	border: 0; border-radius: 3px;
	background: var(--gazz-accent);
	color: #fff !important;
	font: 700 15px/1 var(--gazz-font); text-transform: uppercase; letter-spacing: .02em;
	text-decoration: none;
	transition: background-color .25s;
}
.gazz-store-filter a:hover,
.gazz-store-filter a:focus-visible { background: var(--gazz-secondary); }
/* current category: the button's hover colour, so it reads as "selected" */
.gazz-store-filter a.is-active { background: var(--gazz-secondary); }
@media (max-width: 767px) {
	.gazz-store-filter a { padding: 10px 18px; font-size: 14px; }
}
