/*
 * Chroma Chaos — WooCommerce styles (classic templates + Cart/Checkout blocks).
 */

/* ---------- Shared ---------- */
.woocommerce .price,
.woocommerce-page .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.wc-block-components-product-price,
.wc-block-grid__product-price,
.amount { color: var(--cc-green); }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-size: 1.4rem; font-weight: 700; }
.woocommerce .price del, .woocommerce .price del .amount { color: #888; opacity: 0.8; font-weight: 400; font-size: 0.85em; }
.woocommerce .price ins { text-decoration: none; }

.woocommerce .cc-breadcrumb,
.woocommerce .woocommerce-breadcrumb { color: var(--cc-dim); font-size: 0.85rem; margin: 0 0 15px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--cc-cyan); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--cc-pink); }

.woocommerce-products-header { margin-bottom: 10px; }
.woocommerce-products-header .term-description,
.woocommerce-products-header .page-description { background: var(--cc-panel); padding: 18px 22px; border-radius: var(--cc-radius); border-left: 5px solid var(--cc-pink-warm); margin-bottom: 20px; }

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page a.button,
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-mini-cart-footer-block .wc-block-components-button {
	background: var(--cc-pink) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px !important;
	padding: 10px 18px;
	font-family: var(--cc-font) !important;
	font-weight: 600 !important;
	font-size: 0.95rem;
	line-height: 1.4;
	text-shadow: none !important;
	transition: background 0.2s, color 0.2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page a.button:hover,
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: var(--cc-cyan) !important;
	color: #000 !important;
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled {
	background: #444 !important;
	color: #aaa !important;
	opacity: 0.8;
	cursor: not-allowed;
}
.woocommerce a.added_to_cart { display: block; margin-top: 8px; color: var(--cc-cyan); font-weight: 600; font-size: 0.85rem; }
.woocommerce a.added_to_cart:hover { color: var(--cc-pink); }
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after { color: inherit; }

/* Sale badge */
.woocommerce span.onsale,
.wc-block-components-product-sale-badge,
.wc-block-grid__product-onsale {
	background: var(--cc-pink) !important;
	color: #fff !important;
	font-family: var(--cc-display);
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: 1px;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 8px 12px;
	border-radius: 999px;
	border: 2px solid #000 !important;
	box-shadow: 0 0 12px rgba(255, 0, 170, 0.6);
	top: 10px;
	left: 10px;
	right: auto;
	margin: 0;
}
.woocommerce ul.products li.product .onsale { top: 10px; left: 10px; right: auto; margin: 0; }

/* Result count & ordering */
.woocommerce .woocommerce-result-count { color: var(--cc-dim); font-size: 0.9rem; margin: 8px 0 20px; }
.woocommerce .woocommerce-ordering { margin: 0 0 20px; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; }

/* ---------- Product grid (classic loop + shortcodes) ---------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	float: none;
	width: auto;
	margin: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 18px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	border-color: var(--cc-pink);
	box-shadow: 0 8px 25px rgba(255, 45, 149, 0.3);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; width: 100%; color: inherit; }
.woocommerce ul.products li.product a img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 8px;
	margin: 0 0 12px;
	box-shadow: none;
	background: #0a0a0a;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	font-family: var(--cc-font);
	font-size: 1.25rem !important;
	font-weight: 600;
	letter-spacing: 0;
	color: #fff !important;
	-webkit-text-stroke: 0;
	text-shadow: none;
	border: 0;
	margin: 0 0 8px;
	padding: 0;
}
.woocommerce ul.products li.product .item-no { margin: -4px 0 10px; }
.woocommerce ul.products li.product .cc-loop-excerpt { color: var(--cc-muted); font-size: 0.95rem; margin-bottom: 12px; }
.woocommerce ul.products li.product .price { margin: 8px 0 12px; display: block; }
.woocommerce ul.products li.product .star-rating { margin: 0 auto 8px; }
.woocommerce ul.products li.product .button { margin-top: auto; }
.woocommerce ul.products li.product.outofstock img { opacity: 0.55; }

/* Category tiles */
.woocommerce ul.products li.product-category a { color: #fff; }
.woocommerce ul.products li.product-category h2 mark { background: transparent; color: var(--cc-green); }

/* Star ratings */
.woocommerce .star-rating span::before,
.woocommerce p.stars a,
.woocommerce p.stars a::before { color: #ffd400; }
.woocommerce .star-rating::before { color: #555; }

/* ---------- Single product ---------- */
.woocommerce div.product {
	background: var(--cc-panel);
	border-radius: var(--cc-radius);
	padding: 25px;
	border-left: 5px solid var(--cc-pink-warm);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.woocommerce div.product::after { content: ""; display: table; clear: both; }
.woocommerce div.product .product_title {
	font-size: 2.4rem;
	margin: 0 0 10px;
	border: 0;
	padding: 0;
}
.woocommerce div.product div.images img { border-radius: 10px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: 10px; overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 10px; display: flex; gap: 8px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; flex: 0 0 72px; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 6px; border: 2px solid transparent; opacity: 0.6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--cc-pink); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	background: var(--cc-pink);
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(255, 0, 170, 0.6);
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before { border-color: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after { background: #fff; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #ddd; margin-bottom: 18px; }
.woocommerce div.product form.cart { margin: 20px 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 12px; border: 0; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { border: 0; background: transparent; padding: 6px 8px 6px 0; vertical-align: middle; }
.woocommerce div.product form.cart .variations label { color: var(--cc-cyan); font-family: var(--cc-display); font-weight: 400; font-size: 1.2rem; letter-spacing: 1px; }
.woocommerce div.product form.cart .variations select { min-width: 180px; width: 100%; margin-right: 0; }
.woocommerce div.product form.cart .reset_variations { color: var(--cc-pink); font-size: 0.85rem; margin-left: 8px; }
.woocommerce div.product .woocommerce-variation-price .price { display: block; margin: 8px 0; }
.woocommerce div.product .woocommerce-variation-availability p,
.woocommerce div.product .stock { color: var(--cc-green); font-weight: 600; }
.woocommerce div.product .out-of-stock { color: #ff5577; }
.woocommerce div.product form.cart div.quantity { margin-right: 10px; }
.woocommerce .quantity .qty {
	width: 4.5em;
	text-align: center;
	padding: 9px 6px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid var(--cc-border);
	border-radius: 6px;
}
.woocommerce div.product form.cart .button { padding: 11px 26px; font-size: 1rem; }
.woocommerce div.product .product_meta { color: var(--cc-dim); font-size: 0.9rem; border-top: 1px solid var(--cc-line); padding-top: 12px; }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 30px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	margin: 0 0 20px;
	overflow: visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; border: 0; box-shadow: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--cc-card);
	border: 2px solid var(--cc-border);
	border-radius: 8px;
	margin: 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: var(--cc-display);
	font-weight: 400;
	font-size: 1.2rem;
	letter-spacing: 1px;
	color: var(--cc-cyan);
	padding: 6px 18px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover { border-color: var(--cc-pink-warm); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--cc-pink); border-color: var(--cc-pink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 20px; color: #ddd; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.7rem; margin-top: 0; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td { border: 1px solid var(--cc-line); background: transparent !important; color: #ddd; padding: 8px 12px; font-style: normal; }
.woocommerce table.shop_attributes th { color: #fff; width: 160px; }

/* Related / upsells */
.woocommerce .related.products,
.woocommerce .upsells.products { clear: both; padding-top: 20px; }
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 { font-size: 2rem; }

/* Reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--cc-line); border-radius: 8px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { background: #222; border-color: #333; }
.woocommerce #review_form #respond textarea { background: rgba(0, 0, 0, 0.6); }

/* ---------- Notices ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.wc-block-components-notice-banner {
	background: rgba(10, 10, 10, 0.92) !important;
	color: var(--cc-text) !important;
	border: 1px solid var(--cc-border) !important;
	border-left: 5px solid var(--cc-cyan) !important;
	border-radius: 10px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
	padding: 14px 18px 14px 3.2em;
	margin: 0 0 20px;
	list-style: none;
}
.woocommerce-message { border-left-color: var(--cc-green) !important; }
.woocommerce-message::before { color: var(--cc-green); }
.woocommerce-info { border-left-color: var(--cc-cyan) !important; }
.woocommerce-info::before { color: var(--cc-cyan); }
.woocommerce-error,
.wc-block-components-notice-banner.is-error { border-left-color: #ff3366 !important; }
.woocommerce-error::before { color: #ff3366; }
.wc-block-components-notice-banner.is-success { border-left-color: var(--cc-green) !important; }
.wc-block-components-notice-banner > svg { fill: currentColor; background: transparent !important; color: var(--cc-cyan); }
.wc-block-components-notice-banner.is-success > svg { color: var(--cc-green); }
.wc-block-components-notice-banner.is-error > svg { color: #ff3366; }
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button { float: right; margin-left: 12px; }
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) { color: var(--cc-cyan); }
.woocommerce-store-notice,
p.demo_store {
	background: var(--cc-pink) !important;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.6);
}
.woocommerce-store-notice a { color: #000; }

/* ---------- Pagination ---------- */
.woocommerce nav.woocommerce-pagination { margin: 30px 0 10px; }
.woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 42px;
	padding: 8px 14px;
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: 8px;
	color: var(--cc-cyan);
	font-weight: 600;
	line-height: 1.4;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus { background: var(--cc-card); border-color: var(--cc-pink); color: var(--cc-pink); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--cc-pink); border-color: var(--cc-pink); color: #fff; }

/* ---------- Forms (classic cart/checkout/account) ---------- */
.woocommerce form .form-row label { color: #ddd; font-weight: 600; }
.woocommerce form .form-row .required { color: var(--cc-pink); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text {
	background: rgba(0, 0, 0, 0.6);
	color: var(--cc-text);
	border: 1px solid var(--cc-border);
	border-radius: 6px;
	padding: 10px 12px;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select { border-color: #ff3366; }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--cc-green); }
.select2-container--default .select2-selection--single {
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid var(--cc-border);
	border-radius: 6px;
	height: 44px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--cc-text); line-height: 42px; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color: var(--cc-cyan); }
.select2-dropdown { background: #111; border-color: var(--cc-pink); color: var(--cc-text); }
.select2-search--dropdown .select2-search__field { background: #000; color: #fff; border-color: var(--cc-border); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--cc-pink); color: #fff; }
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] { background: #222; color: var(--cc-cyan); }

/* ---------- Classic cart ---------- */
.woocommerce table.shop_table {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	border-collapse: separate;
	overflow: hidden;
	color: var(--cc-text);
	margin-bottom: 24px;
}
.woocommerce table.shop_table th {
	background: rgba(0, 0, 0, 0.6);
	color: var(--cc-cyan);
	font-family: var(--cc-display);
	font-weight: 400;
	letter-spacing: 1px;
	font-size: 1.1rem;
	text-transform: none;
	border: 0;
	border-bottom: 1px solid var(--cc-line);
}
.woocommerce table.shop_table td { border: 0; border-top: 1px solid #222; padding: 12px; }
.woocommerce table.shop_table tbody tr:first-child td { border-top: 0; }
.woocommerce table.shop_table img { width: 72px; border-radius: 6px; }
.woocommerce table.shop_table td.product-name a { color: #fff; font-weight: 600; }
.woocommerce table.shop_table td.product-name a:hover { color: var(--cc-pink); }
.woocommerce table.shop_table td.product-name dl.variation { color: var(--cc-dim); font-size: 0.85rem; }
.woocommerce a.remove {
	color: var(--cc-pink) !important;
	border: 1px solid var(--cc-pink);
	width: 1.4em;
	height: 1.4em;
	line-height: 1.25em;
}
.woocommerce a.remove:hover { background: var(--cc-pink); color: #fff !important; }
.woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce table.cart td.actions .coupon .input-text {
	width: 200px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid var(--cc-border);
	border-radius: 6px;
	padding: 9px 12px;
	margin: 0;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	background: var(--cc-panel);
	border-radius: var(--cc-radius);
	padding: 20px;
	border-left: 5px solid var(--cc-pink-warm);
}
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.8rem; margin-top: 0; }
.woocommerce .cart_totals table.shop_table { background: transparent; border: 0; }
.woocommerce .cart_totals .order-total .amount { font-size: 1.4rem; font-weight: 700; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font-size: 1.1rem; padding: 14px; }
.woocommerce ul#shipping_method li label { color: #ddd; font-weight: 400; }
.woocommerce .cart-empty.woocommerce-info { font-size: 1.1rem; }
.woocommerce .return-to-shop { margin-top: 10px; }

/* ---------- Classic checkout ---------- */
.woocommerce-checkout #customer_details,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
	background: var(--cc-panel);
	border: 1px solid var(--cc-line) !important;
	border-radius: var(--cc-radius) !important;
	padding: 22px !important;
	margin-bottom: 24px;
}
.woocommerce-checkout h3,
#order_review_heading { font-family: var(--cc-display); font-weight: 400; letter-spacing: 1px; font-size: 1.6rem; color: var(--cc-cyan); }
.woocommerce-checkout #payment,
.woocommerce #payment {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--cc-line); }
.woocommerce-checkout #payment div.payment_box {
	background: rgba(255, 0, 170, 0.12);
	color: #ddd;
	border-radius: 8px;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: rgba(255, 0, 170, 0.12); }
.woocommerce-checkout #payment ul.payment_methods li label { color: #fff; }
.woocommerce-checkout #payment #place_order { width: 100%; font-size: 1.15rem; padding: 14px; float: none; }
.woocommerce-terms-and-conditions-wrapper { color: var(--cc-muted); font-size: 0.9rem; }
.woocommerce-privacy-policy-text { color: var(--cc-muted); }

/* ---------- Order received ---------- */
.woocommerce ul.order_details {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 18px;
	margin: 0 0 24px;
}
.woocommerce ul.order_details li { border-right-color: var(--cc-line); color: var(--cc-dim); }
.woocommerce ul.order_details li strong { color: #fff; }
.woocommerce-thankyou-order-received { color: var(--cc-green); font-size: 1.2rem; font-weight: 700; }
.woocommerce .woocommerce-customer-details address {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 15px;
	color: #ddd;
}

/* ---------- My Account ---------- */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 24px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation { flex: 0 0 230px; float: none; width: auto; }
.woocommerce-account .woocommerce-MyAccount-content { flex: 1 1 400px; float: none; width: auto; }
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
}
.woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--cc-cyan);
	font-weight: 600;
}
.woocommerce-MyAccount-navigation ul li a:hover { color: var(--cc-pink); background: rgba(255, 255, 255, 0.04); }
.woocommerce-MyAccount-navigation ul li.is-active a { background: var(--cc-pink); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content mark { background: transparent; color: var(--cc-green); font-weight: 700; }
.woocommerce-account .addresses .title h2,
.woocommerce-account .addresses .title h3 { font-size: 1.5rem; }
.woocommerce-account .woocommerce-Address address { color: #ddd; }
/* Logged-out account page: login/register side by side */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce .u-columns.col2-set::before,
.woocommerce .u-columns.col2-set::after { display: none; }
.woocommerce .u-columns.col2-set .u-column1,
.woocommerce .u-columns.col2-set .u-column2 { width: auto; float: none; }
.woocommerce form .show-password-input::after { color: var(--cc-cyan); }

/* ---------- Cart & Checkout blocks (WooCommerce 8+ default pages) ---------- */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { color: var(--cc-text); }
.wc-block-cart,
.wc-block-checkout { color: var(--cc-text); }
.wc-block-cart .wc-block-cart__main,
.wc-block-checkout__main,
.wc-block-components-sidebar.wc-block-cart__sidebar > *,
.wc-block-checkout__sidebar .wc-block-components-order-summary,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--cc-card);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 18px;
}
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { border-color: var(--cc-pink) !important; }
.wc-block-cart-items,
.wc-block-cart-items th,
.wc-block-cart-items td,
.wc-block-cart-items__header { border-color: var(--cc-line) !important; }
.wc-block-cart-items__header,
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-components-checkout-step__title,
.wc-block-components-title,
.wc-block-components-order-summary .wc-block-components-panel__button {
	font-family: var(--cc-display) !important;
	font-weight: 400 !important;
	letter-spacing: 1px !important;
	color: var(--cc-cyan) !important;
	text-transform: none !important;
	font-size: 1.3rem !important;
}
.wc-block-components-product-name,
.wc-block-cart-item__product .wc-block-components-product-name { color: #fff !important; font-weight: 600; }
.wc-block-components-product-name:hover { color: var(--cc-pink) !important; }
.wc-block-components-product-metadata,
.wc-block-components-product-details { color: var(--cc-dim) !important; }
.wc-block-cart-item__image img { border-radius: 6px; }
.wc-block-components-totals-item,
.wc-block-components-totals-wrapper { border-color: var(--cc-line) !important; color: var(--cc-text); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount { color: var(--cc-green); font-weight: 700; font-size: 1.3rem; }
.wc-block-components-quantity-selector {
	background: rgba(0, 0, 0, 0.6) !important;
	border: 1px solid var(--cc-border) !important;
	border-radius: 6px !important;
}
.wc-block-components-quantity-selector::after { border: 0 !important; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { color: #fff !important; background: transparent !important; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--cc-cyan) !important; background: transparent !important; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover { color: var(--cc-pink) !important; }
.wc-block-cart-item__remove-link { color: var(--cc-pink) !important; }
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-textarea {
	background: rgba(0, 0, 0, 0.6) !important;
	color: var(--cc-text) !important;
	border: 1px solid var(--cc-border) !important;
	border-radius: 6px !important;
}
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-components-combobox .wc-block-components-combobox-control .components-form-token-field__input-container {
	background: rgba(0, 0, 0, 0.6) !important;
	border-radius: 6px !important;
}
.wc-blocks-components-select .wc-blocks-components-select__select { background: transparent !important; color: var(--cc-text) !important; }
.wc-block-components-order-summary .wc-block-components-order-summary__button-text,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--cc-display);
	font-weight: 400;
	letter-spacing: 1px;
	font-size: 1.3rem;
	color: var(--cc-cyan);
}
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-textarea:focus { border-color: var(--cc-pink) !important; box-shadow: 0 0 0 1px var(--cc-pink) !important; }
.wc-block-components-text-input label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--cc-dim) !important; }
.wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--cc-cyan) !important; }
.wc-block-components-validation-error p,
.wc-block-components-text-input.has-error label { color: #ff3366 !important; }
.wc-block-components-text-input.has-error input { border-color: #ff3366 !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.wc-block-components-radio-control .wc-block-components-radio-control__input {
	background: #000 !important;
	border-color: var(--cc-border) !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--cc-pink) !important; border-color: var(--cc-pink) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--cc-pink) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option,
.wc-block-checkout__shipping-method-option {
	border-color: var(--cc-border) !important;
	background: rgba(0, 0, 0, 0.35);
}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-checkout__shipping-method-option--selected { box-shadow: inset 0 0 0 2px var(--cc-pink) !important; }
.wc-block-components-radio-control-accordion-content,
.wc-block-components-checkout-step__description { color: var(--cc-muted) !important; }
.wc-block-components-address-card { background: rgba(0, 0, 0, 0.4); border-color: var(--cc-border) !important; }
.wc-block-components-address-card__edit { color: var(--cc-cyan) !important; }
.wc-block-components-panel__button,
.wc-block-components-totals-coupon-link,
.wc-block-components-checkout-return-to-cart-button { color: var(--cc-cyan) !important; }
.wc-block-components-panel__button:hover,
.wc-block-components-checkout-return-to-cart-button:hover { color: var(--cc-pink) !important; }
.wc-block-components-panel__button svg { fill: currentColor; }
.wc-block-components-order-summary-item__quantity {
	background: var(--cc-pink) !important;
	color: #fff !important;
	border: 2px solid #000 !important;
	box-shadow: none !important;
}
.wc-block-components-order-summary-item__image img { border-radius: 6px; }
.wc-block-components-checkout-step__container::after,
.wc-block-checkout__form .wc-block-components-checkout-step::after { border-color: var(--cc-line) !important; }
.wc-block-components-checkout-step__heading-container .wc-block-components-checkout-step__heading-content a { color: var(--cc-cyan); }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 4%; }
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after,
.wc-block-components-express-payment-continue-rule::before,
.wc-block-components-express-payment-continue-rule::after { border-color: var(--cc-line) !important; }
.wc-block-components-express-payment__title,
.wc-block-components-express-payment-continue-rule { color: var(--cc-dim) !important; }
.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block h2 { color: #fff !important; }
.wc-block-checkout__terms,
.wc-block-components-checkout-policies { color: var(--cc-muted); }
.wc-block-components-loading-mask::after { background: rgba(0, 0, 0, 0.6) !important; }
.wc-block-components-skeleton__element { background: #222 !important; }
.wc-block-components-spinner::after { border-color: var(--cc-pink) transparent transparent !important; }

/* Product collection / product blocks (if used on pages) */
.wc-block-grid__products,
.wp-block-woocommerce-product-template { gap: 20px !important; }
.wc-block-grid__product,
.wp-block-woocommerce-product-template > li {
	background: var(--cc-card);
	border: 1px solid var(--cc-border) !important;
	border-radius: var(--cc-radius);
	padding: 18px !important;
	text-align: center;
	transition: transform 0.2s, border-color 0.2s;
}
.wc-block-grid__product:hover,
.wp-block-woocommerce-product-template > li:hover { transform: translateY(-4px); border-color: var(--cc-pink) !important; }
.wc-block-grid__product-title,
.wp-block-post-title a { color: #fff !important; }

/* ---------- Shop sidebar ---------- */
.cc-woo.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.cc-woo.has-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.woocommerce div.product { padding: 18px; }
	.woocommerce div.product .product_title { font-size: 2rem; }
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary { width: 100%; float: none; }
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
	.woocommerce .u-columns.col2-set { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce-MyAccount-navigation { flex-basis: 100%; }
	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr { border-top: 1px solid var(--cc-line); }
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td { background: transparent !important; }
	.woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: rgba(255, 255, 255, 0.02) !important; }
	.woocommerce table.cart td.actions .coupon .input-text { width: 100%; }
	.woocommerce .woocommerce-ordering,
	.woocommerce .woocommerce-result-count { float: none; }
	.woocommerce .woocommerce-ordering select { width: 100%; }
	.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0; }
	.woocommerce-message .button,
	.woocommerce-info .button,
	.woocommerce-error .button { float: none; display: block; margin: 10px 0 0; text-align: center; }
}
@media (max-width: 480px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
	.woocommerce ul.products li.product { padding: 10px; }
	.woocommerce ul.products li.product a img { height: 150px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem !important; }
	.woocommerce ul.products li.product .cc-loop-excerpt { display: none; }
	.woocommerce ul.products li.product .price { font-size: 1.15rem; }
	.woocommerce ul.products li.product .button { font-size: 0.8rem; padding: 8px 10px; }
}
