/* ==========================================================================
   Enlightenly: WooCommerce styles (shop, product, cart, checkout, account)
   Loaded only on shop-related pages and the front page.
   ========================================================================== */

/* WooCommerce's own layout CSS floats the grid; use CSS grid instead. */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid; gap: 1.5rem 1.25rem; margin: 0 0 2rem; padding: 0; list-style: none;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none; width: auto; margin: 0; padding: 0; background: #fff;
	border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product a img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 0 0.75rem; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 { padding: 0 1rem; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.35; color: var(--Clr2); }
.woocommerce ul.products li.product .price { display: block; padding: 0 1rem 1rem; color: var(--ClrTxt1); margin-top: auto; }
.woocommerce ul.products li.product .enlightenly_store_info { padding: 0 1rem 0.5rem; font-size: 0.9rem; color: #666; }
.woocommerce ul.products li.product:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); }
.woocommerce span.onsale { background: var(--ClrPrim2); color: #fff; min-width: 0; min-height: 0; padding: 0.25em 0.7em; line-height: 1.4; border-radius: var(--radius); top: 0.5rem; left: 0.5rem; right: auto; }

.woocommerce-products-header { margin-bottom: 1rem; }
.woocommerce-result-count { margin: 0 0 1rem; color: #666; }
.woocommerce-ordering { margin: 0 0 1rem; }
.woocommerce-ordering select { width: auto; }

/* Breadcrumb bar: vendor's light colour on product pages (snippet 1377) */
.breadcrumb-bar { background: var(--vendor-light); padding-block: 0.6rem; font-size: 0.95rem; }
.breadcrumb-bar .woocommerce-breadcrumb { margin: 0; color: var(--ClrTxt1); }
.breadcrumb-bar a { color: inherit; }

/* Single product */
.woocommerce div.product { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.woocommerce div.product > * { min-width: 0; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product div.woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce div.product .up-sells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { margin-bottom: 0.25em; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { display: block; margin-bottom: 1rem; color: var(--Clr2); font-size: 1.5rem; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 1.25rem; }
.woocommerce div.product .enlightenly_store_info { margin-bottom: 0.75rem; color: #666; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.woocommerce div.product form.cart .quantity input { width: 5rem; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 auto; min-width: 12rem; font-size: 1.1rem; padding: 0.8em 1.6em; }
.woocommerce div.product form.cart .variations { width: 100%; margin: 0 0 1rem; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 0.35rem; text-align: left; }
.woocommerce div.product .product_meta { font-size: 0.9rem; color: #666; }
/* SKU hidden; category and tag share a line (wrapping on narrow screens) */
.woocommerce div.product .product_meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.woocommerce div.product .product_meta > span { display: inline; }
.woocommerce div.product .product_meta .sku_wrapper { display: none; }

.woocommerce-product-gallery__image img { border-radius: var(--radius); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.5rem; margin-top: 0.5rem; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0 0 1rem; padding: 0; list-style: none; border-bottom: 2px solid #e6e1d6; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 0.7rem 1rem; color: var(--ClrTxt1); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--Clr2); border-bottom-color: var(--ClrPrim2); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 2rem; padding: 0; }
.woocommerce div.product .woocommerce-tabs iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; }

.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { margin-top: 1rem; }

@media (max-width: 800px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}

/* Course products (Education category): the old template 79 used a coloured bar */
.EnlightCourseBar, .course-bar { background: var(--vendor-light); }

/* Store page header (snippet 1378) */
#Enlight_StoreHead, .store-head { background: var(--vendor-dark); color: #fff; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	margin: 0 0 1.5rem; padding: 1rem 1.25rem; list-style: none; background: #fff;
	border-left: 4px solid var(--ClrPrim1); border-radius: var(--radius); box-shadow: var(--shadow);
}
.woocommerce-error { border-left-color: #b3261e; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 1rem; }

/* Cart, checkout, account tables */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 0.8rem 1rem; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
.woocommerce-cart table.cart img { width: 72px; }
.woocommerce .cart-collaterals { margin-top: 2rem; }
.woocommerce .cart_totals { max-width: 480px; margin-left: auto; float: none; width: 100%; }
.woocommerce-checkout #payment { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.woocommerce-checkout #payment ul.payment_methods { padding: 1rem; border-bottom: 1px solid #eee; }
.woocommerce form .form-row { margin-bottom: 1rem; }
.woocommerce form .form-row label { display: block; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.woocommerce-MyAccount-navigation a { display: block; padding: 0.5rem 1rem; background: #fff; border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--Clr2); color: #fff; }
@media (min-width: 801px) {
	.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
	.woocommerce-MyAccount-navigation ul { flex-direction: column; }
}

/* Homepage shortcodes */
.woocommerce ul.products li.product-category { text-align: center; }
.woocommerce ul.products li.product-category h2 { padding: 0.5rem 1rem 1rem; }
.woocommerce ul.products li.product-category mark { background: transparent; color: #666; }

/* Share links */
.share-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1rem; font-size: 0.95rem; }
.share-links__label { font-family: var(--font-head); color: var(--Clr2); }
.share-links { gap: 0.5rem; }
.share-links__label { margin-right: 0.25rem; }
.share-links a.share-links__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; background: #fff; color: var(--Clr2); box-shadow: var(--shadow); text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.share-links a.share-links__icon:hover { background: var(--ClrPrim2); color: #fff; }
.share-links a.share-links__icon:focus-visible { outline: 3px solid rgba(25, 168, 123, 0.5); outline-offset: 2px; }

/* WooCommerce's layout CSS floats the gallery/summary at 48% using #content selectors; out-rank them. */
body.woocommerce #content div.product div.images,
body.woocommerce #content div.product div.summary,
body.woocommerce-page #content div.product div.images,
body.woocommerce-page #content div.product div.summary { float: none; width: auto; margin: 0; }

/* Breadcrumb links sit on the vendor colour: use the body text colour for contrast; store name was tiny */
.breadcrumb-bar a { color: var(--ClrTxt1); text-decoration: underline; }
.woocommerce div.product .enlightenly_store_info, .woocommerce div.product .enlightenly_store_info a { font-size: 1rem; }

/* Checkout / address fields: two-column grid instead of floats (the first/last classes from the child theme assume floats) */
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem;
}
[class*="-fields__field-wrapper"] .form-row { float: none; width: auto; margin: 0 0 1rem; padding: 0; }
.woocommerce-billing-fields__field-wrapper .form-row-wide, .woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
[class*="-fields__field-wrapper"] .form-row input.input-text, [class*="-fields__field-wrapper"] .form-row select, [class*="-fields__field-wrapper"] .form-row textarea { width: 100%; }
@media (max-width: 600px) {
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
}
.woocommerce-additional-fields:not(:has(*)) { display: none; }

/* Checkout: hide the shipping box when it has no fields (virtual items); style the gift-card Apply button */
#shipping_details.enl_checkout_group:not(:has(input, select, textarea)) { display: none; }
#wc_gc_cart_redeem_send { background: var(--btn-bg); color: var(--ClrTxt2); border: 0; border-radius: var(--radius); padding: 0.6em 1.2em; font-family: var(--font-btn); cursor: pointer; margin-top: 0.5rem; }
#wc_gc_cart_redeem_send:hover { background: var(--btn-bg-hover); }

/* ==========================================================================
   My Account: menu on the left, content on the right
   ========================================================================== */
/* WooCommerce's clearfix pseudo-elements become empty grid items and push the menu/content into the wrong columns */
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; content: none; }
@media (min-width: 801px) {
	.woocommerce-account .woocommerce { grid-template-columns: 240px minmax(0, 1fr); gap: 2rem 3rem; }
	.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; float: none; width: auto; }
	.woocommerce-account .woocommerce-MyAccount-content { grid-column: 2; grid-row: 1; float: none; width: auto; min-width: 0; }
	.woocommerce-account .woocommerce-notices-wrapper { grid-column: 1 / -1; }
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { gap: 0.25rem; }
.woocommerce-account .woocommerce-MyAccount-navigation a { box-shadow: none; background: transparent; padding: 0.65rem 1rem; border-radius: var(--radius); color: var(--ClrTxt1); }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--Clr3); color: var(--Clr2); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--Clr2); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
@media (max-width: 800px) {
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
	.woocommerce-account .woocommerce-MyAccount-navigation a { white-space: nowrap; background: #fff; box-shadow: var(--shadow); }
	.woocommerce-account .woocommerce-MyAccount-content { margin-top: 1rem; }
}

/* Something sets the account menu to 60px / float:left; take it back (desktop grid, mobile row) */
body.woocommerce-account .woocommerce-MyAccount-navigation { width: auto !important; max-width: none !important; float: none !important; }
body.woocommerce-account .woocommerce-MyAccount-content { width: auto !important; max-width: none !important; float: none !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; width: auto; }

/* Account menu: quiet list on desktop, white pills on mobile (the old styles were boxed and bright green) */
body.woocommerce-account .woocommerce-MyAccount-navigation ul { box-shadow: none; border: 0; background: transparent; padding: 0; margin: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { border: 0 !important; background: transparent !important; margin: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a { background: transparent !important; color: var(--ClrTxt1) !important; box-shadow: none; padding: 0.65rem 1rem; border-radius: var(--radius); }
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--Clr3) !important; color: var(--Clr2) !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--Clr2) !important; color: #fff !important; }
@media (max-width: 800px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 0.5rem; padding-bottom: 0.25rem; scrollbar-width: none; }
	body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.woocommerce-account .woocommerce-MyAccount-navigation li a { white-space: nowrap; background: #fff !important; box-shadow: var(--shadow); }
	body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--Clr2) !important; }
}

/* ==========================================================================
   Add to cart + cart page: light-touch polish
   ========================================================================== */
/* Product page buy box: quantity and button share one height and feel like one control */
.woocommerce div.product form.cart { gap: 0.75rem; }
.woocommerce div.product form.cart .quantity input.qty { height: 52px; width: 5.25rem; text-align: center; border-radius: var(--radius); }
.woocommerce div.product form.cart .single_add_to_cart_button {
	height: 52px; padding-block: 0; box-shadow: 0 2px 8px rgba(15, 122, 89, 0.25);
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(213, 44, 137, 0.28); }
.woocommerce div.product form.cart .single_add_to_cart_button:active { transform: translateY(0); }
.woocommerce div.product form.cart .single_add_to_cart_button.loading { opacity: 0.7; pointer-events: none; }
.woocommerce div.product form.cart .single_add_to_cart_button.added::after { content: " ✓"; }

/* Cart page */
.woocommerce-cart table.shop_table { border: 0; }
.woocommerce-cart table.cart td.product-remove { width: 3rem; text-align: center; }
.woocommerce-cart table.cart img { width: 72px; border-radius: var(--radius); }
.woocommerce-cart table.cart tr.cart_item:hover td { background: rgba(249, 243, 231, 0.5); }
.woocommerce-cart table.cart td.product-name a { font-family: var(--font-head); text-decoration: none; }
.woocommerce-cart table.cart td.product-name a:hover { color: var(--ClrPrim2); }
.woocommerce-cart table.cart .quantity input.qty { width: 4.5rem; text-align: center; min-height: 44px; }
/* Remove ×: same quiet grey circle as the mini-cart, red only on hover */
.woocommerce-cart table.cart a.remove {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
	font-size: 1.4rem; line-height: 1; font-weight: 400; color: #666 !important; background: var(--Clr3);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.woocommerce-cart table.cart a.remove:hover, .woocommerce-cart table.cart a.remove:focus-visible { color: #b3261e !important; background: #fde8e6; }
.woocommerce-cart .cart_totals { background: #fff; border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow); padding: 1.25rem 1.5rem; }
.woocommerce-cart .cart_totals h2 { margin-top: 0; font-size: 1.35rem; }
.woocommerce-cart .cart_totals table.shop_table { box-shadow: none; border-radius: 0; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { font-size: 1.15rem; padding-block: 0.9em; margin-bottom: 0; }
@media (max-width: 700px) {
	.woocommerce-cart table.cart td.product-remove { width: auto; }
	.woocommerce-cart .cart_totals { max-width: none; }
}

/* Cart actions: roomier coupon box, same accessible green as every other button */
.woocommerce-cart table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.woocommerce-cart table.cart td.actions .coupon input#coupon_code { width: 11rem; min-height: 44px; float: none; margin: 0; }
.woocommerce-cart table.cart td.actions .button { background: var(--btn-bg); color: var(--ClrTxt2); float: none; }
.woocommerce-cart table.cart td.actions .button:hover { background: var(--btn-bg-hover); }
.woocommerce-cart table.cart td.actions .button:disabled, .woocommerce-cart table.cart td.actions .button[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ==========================================================================
   Product page sections (Description, Reviews, More Offers): stacked, like the store page
   ========================================================================== */
.product-sections { margin-top: 2.5rem; clear: both; }
.product-nav {
	position: sticky; top: var(--site-header-h, 88px); z-index: 40; margin: 0 calc(var(--gutter) * -1); padding: 0.6rem var(--gutter);
	background: rgba(250, 253, 250, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.admin-bar .product-nav { top: calc(var(--site-header-h, 88px) + 32px); }
.product-nav ul { display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.product-nav ul::-webkit-scrollbar { display: none; }
.product-nav a {
	display: block; white-space: nowrap; padding: 0.45rem 1rem; border-radius: 999px; background: #fff; color: var(--ClrTxt1);
	box-shadow: var(--shadow); text-decoration: none; font-size: 0.95rem; transition: background-color 0.15s ease, color 0.15s ease;
}
.product-nav a:hover, .product-nav a:focus-visible { background: var(--Clr2); color: #fff; }

.product-section { margin-top: clamp(2rem, 4vw, 3rem); scroll-margin-top: calc(var(--site-header-h, 88px) + 4.5rem); }
.product-section__title { position: relative; margin: 0 0 1.25rem; padding-bottom: 0.6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.product-section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 4px; border-radius: 2px; background: var(--ClrPrim1); }
/* the title above replaces WooCommerce's own heading inside each panel */
.product-section .woocommerce-Tabs-panel > h2:first-child,
.product-section .woocommerce-Reviews-title { display: none; }
.product-section .woocommerce-Tabs-panel { padding: 0; margin: 0; border: 0; }
.product-section .woocommerce-Tabs-panel > :last-child { margin-bottom: 0; }

/* ---- Reviews ---------------------------------------------------------------------------------------- */
/* Section content lines up with its heading (the theme's page rule centres it in a narrow column) */
.product-section .entry-content > * { max-width: 52rem; margin-inline: 0; }

.product-section #reviews .woocommerce-noreviews {
	margin: 0 0 1.25rem; padding: 1rem 1.25rem; background: #fff; border-radius: calc(var(--radius) * 1.5);
	box-shadow: var(--shadow); color: #666;
}

/* The form: a white card instead of the old yellow box */
.woocommerce div.product #review_form #respond {
	padding: clamp(1.1rem, 2.5vw, 1.75rem); background: #fff; border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow);
}
.woocommerce div.product #review_form #respond .comment-reply-title {
	display: block; margin: 0 0 1rem; font-family: var(--font-head); font-size: 1.3rem; color: var(--Clr2);
}
#review_form .comment-notes { margin: 0 0 1rem; color: #666; font-size: 0.95rem; }
#review_form .required { color: #b3261e; }
#review_form label { display: block; margin-bottom: 0.3rem; color: var(--ClrTxt1); font-size: 0.95rem; }
#review_form .comment-form-comment, #review_form .comment-form-author, #review_form .comment-form-email, #review_form .comment-form-rating { margin: 0 0 1rem; }
#review_form textarea, #review_form input[type="text"], #review_form input[type="email"] {
	width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #cdd6d1; border-radius: var(--radius); background: #fff; font: inherit; color: var(--ClrTxt1); box-sizing: border-box;
}
#review_form textarea { min-height: 8rem; resize: vertical; }
#review_form textarea:focus, #review_form input[type="text"]:focus, #review_form input[type="email"]:focus {
	border-color: var(--ClrPrim1); outline: 3px solid rgba(25, 168, 123, 0.2); outline-offset: 0;
}
/* Name and email side by side on wider screens */
@media (min-width: 700px) {
	#review_form form.comment-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
	#review_form form.comment-form > * { grid-column: 1 / -1; }
	#review_form form.comment-form > .comment-form-author { grid-column: 1; }
	#review_form form.comment-form > .comment-form-email { grid-column: 2; }
}
#review_form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0 0 1.25rem; }
#review_form .comment-form-cookies-consent input { margin-top: 0.3rem; }
#review_form .comment-form-cookies-consent label { margin: 0; color: #666; font-size: 0.9rem; }
/* Rating stars: gold and larger */
.woocommerce #review_form p.stars a { color: #e0a100; font-size: 1.5rem; }
.woocommerce #review_form p.stars { margin: 0.25rem 0 0; }
#review_form .form-submit input#submit,
.woocommerce #review_form #respond input#submit {
	padding: 0.8em 2em; border: 0; border-radius: var(--radius); background: var(--btn-bg); color: #fff; font-family: var(--font-btn); font-weight: 500; cursor: pointer;
}
#review_form .form-submit input#submit:hover { background: var(--btn-bg-hover); }

/* Existing reviews, when there are some */
.product-section #reviews ol.commentlist { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.product-section #reviews ol.commentlist li { margin: 0 0 1rem; padding: 0; }
.product-section #reviews ol.commentlist li .comment_container { display: flex; gap: 1rem; align-items: flex-start; }
.product-section #reviews ol.commentlist li img.avatar { float: none; position: static; width: 3rem; height: 3rem; border: 0; border-radius: 50%; padding: 0; }
.product-section #reviews ol.commentlist li .comment-text { flex: 1; margin: 0; padding: 1rem 1.25rem; border: 0; border-radius: calc(var(--radius) * 1.5); background: #fff; box-shadow: var(--shadow); }
.product-section #reviews ol.commentlist li .comment-text p { margin: 0 0 0.5rem; }
.product-section #reviews ol.commentlist li .comment-text p.meta { margin: 0; color: #666; font-size: 0.9rem; }
