/* =============================================================================================================
   WooCommerce base styling (the plugin's own stylesheets are not loaded). Tokens come from main.css.
   ============================================================================================================= */

/* ------------------------------------------------------------------ notices */
.woocommerce-notices-wrapper { margin-block-end: 20px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
	margin: 0 0 15px; padding: 14px 20px; list-style: none; border: 0; outline: 0;
	border-radius: var(--dm-r-pill); color: #fff; font-size: 14px; line-height: 1.6;
}
.woocommerce-message { background: var(--dm-orange); }
.woocommerce-info { background: #e0b252; }
.woocommerce-error { border-radius: var(--dm-r-md); background: #d9534f; }
.woocommerce-noreviews, p.no-comments { background: var(--dm-surface); color: #555; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: #fff; text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-inline-start: auto; min-block-size: 0; padding: 0; background: transparent; color: #fff; text-decoration: underline; font-size: 12px; }
.woocommerce-error li { margin: 0; }
.woocommerce-form-coupon-toggle .woocommerce-info { padding: 0; background: transparent; color: #555; border-radius: 0; }
.woocommerce-form-coupon-toggle .woocommerce-info a { color: var(--dm-orange); text-decoration: none; }

/* ------------------------------------------------------------------ buttons */
.button, button.button, input.button, a.button, .wp-element-button, input[type="submit"], .added_to_cart {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-block-size: 42px; padding: 5px 20px; border: 0; border-radius: var(--dm-r-pill);
	background: #f3f3f3; color: #3e3e3e; cursor: pointer;
	font: 600 13px/1.2 var(--dm-font-body); text-transform: uppercase; text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}
.button:hover, a.button:hover, input[type="submit"]:hover { background: #e8e8e8; color: #242424; }
.button.alt, button.button.alt, a.button.alt, .checkout-button, #place_order, button.woocommerce-form-login__submit, .woocommerce-Button.button {
	background: var(--dm-orange); color: #fff;
}
.button.alt:hover, a.button.alt:hover, .checkout-button:hover, #place_order:hover { background: var(--dm-orange-dark); color: #fff; }
.button.disabled, .button:disabled, button[disabled] { opacity: .55; cursor: not-allowed; }

/* ------------------------------------------------------------------ forms */
.woocommerce form .form-row { margin: 0 0 15px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-block-end: 6px; color: #333; font-size: 14px; font-weight: 600; line-height: 1.4; }
.woocommerce form .form-row .required { color: #dd3333; text-decoration: none; }
:where(.woocommerce) :where(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], select, textarea, .input-text) {
	inline-size: 100%; block-size: 42px; padding: 0 15px; border: 1px solid var(--dm-line); border-radius: var(--dm-r-pill);
	background: var(--dm-surface); color: #333; font: 400 14px/1.4 var(--dm-font-body); outline: 0; transition: border-color .2s ease, box-shadow .2s ease;
}
:where(.woocommerce) textarea { block-size: auto; min-block-size: 120px; padding: 12px 15px; border-radius: var(--dm-r-lg); resize: none; }
.woocommerce input:focus, .woocommerce select:focus, .woocommerce textarea:focus { border-color: var(--dm-orange); box-shadow: 0 0 0 3px rgba(253, 141, 31, .15); }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: #dd3333; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { inline-size: calc(50% - 10px); float: none; display: inline-block; vertical-align: top; }
.woocommerce form .form-row-first { margin-inline-end: 16px; }
@media (max-width: 767px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { inline-size: 100%; margin-inline-end: 0; } }
input[type="checkbox"], input[type="radio"] { accent-color: var(--dm-orange); }

/* ------------------------------------------------------------------ rating */
.star-rating {
	position: relative; display: inline-block; overflow: hidden; inline-size: 5.6em; block-size: 1em; font-size: 14px; line-height: 1;
	background: #d9d9d9;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='10' viewBox='0 0 56 10'><g fill='black'><path id='s' d='M5 0l1.5 3.300 3.500.4-2.600 2.400.7 3.500L5 7.700 1.900 9.600l.7-3.500L0 3.700l3.500-.4z'/><use href='%23s' x='11.200'/><use href='%23s' x='22.400'/><use href='%23s' x='33.600'/><use href='%23s' x='44.800'/></g></svg>") 0 0 / 100% 100% no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='10' viewBox='0 0 56 10'><g fill='black'><path id='s' d='M5 0l1.5 3.300 3.500.4-2.600 2.400.7 3.500L5 7.700 1.900 9.600l.7-3.500L0 3.700l3.500-.4z'/><use href='%23s' x='11.200'/><use href='%23s' x='22.400'/><use href='%23s' x='33.600'/><use href='%23s' x='44.800'/></g></svg>") 0 0 / 100% 100% no-repeat;
}
.star-rating span { position: absolute; inset-block: 0; inset-inline-start: 0; overflow: hidden; background: #ffb515; color: transparent; font-size: 0; }

/* ------------------------------------------------------------------ breadcrumb */
.woocommerce-breadcrumb { margin: 0 0 20px; color: #767676; font-size: 14px; line-height: 1.6; }
.woocommerce-breadcrumb a { color: #333; }
.woocommerce-breadcrumb a:hover { color: var(--dm-orange); }

/* ------------------------------------------------------------------ pagination */
.woocommerce-pagination { margin-block-start: 30px; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination .page-numbers li { margin: 0; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
	display: grid; place-items: center; min-inline-size: 42px; block-size: 42px; padding: 0 12px; border-radius: var(--dm-r-pill);
	background: var(--dm-surface); color: #333; font-size: 14px; font-weight: 600; transition: background-color .2s ease, color .2s ease;
}
.woocommerce-pagination .page-numbers a:hover { background: #f3f3f3; }
.woocommerce-pagination .page-numbers .current { background: var(--dm-orange); color: #fff; }
.woocommerce-pagination .page-numbers .dots { background: transparent; }

/* ------------------------------------------------------------------ tables */
.woocommerce table.shop_table { inline-size: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--dm-line); border-radius: var(--dm-r-md); overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 16px; border-block-end: 1px solid var(--dm-line); text-align: start; font-size: 14px; }
.woocommerce table.shop_table tr:last-child > * { border-block-end: 0; }
.woocommerce table.shop_table thead th { background: var(--dm-surface); color: #242424; font-weight: 600; }

/* ------------------------------------------------------------------ misc */
.woocommerce-result-count { margin: 0; color: #767676; font-size: 14px; }
.woocommerce-ordering select { block-size: 42px; min-inline-size: 190px; }
span.onsale, .product-label.onsale { background: var(--dm-orange); color: #fff; }
.screen-reader-text { position: absolute !important; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
.woocommerce-product-details__short-description { margin-block-end: 20px; }
.product_meta { display: grid; gap: 6px; margin-block-start: 20px; font-size: 14px; }
.product_meta > span { color: #767676; }
.product_meta a { color: #333; }

/* reviews */
#reviews #comments { margin-block-end: 30px; }
#reviews .meta { margin: 0 0 8px; font-size: 13px; color: #767676; }
#reviews .meta strong { color: #242424; }
#review_form #respond { display: grid; gap: 12px; }

/* ------------------------------------------------------------------ select2 (country / state pickers) wearing the field style */
.select2-container { inline-size: 100% !important; max-inline-size: 100%; font: 400 14px/1.4 var(--dm-font-body); }
.select2-container--default .select2-selection--single {
	display: flex; align-items: center; block-size: 42px; padding: 0 15px; border: 1px solid var(--dm-line); border-radius: var(--dm-r-pill);
	background: var(--dm-surface); transition: border-color .2s ease, box-shadow .2s ease;
}
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--dm-orange); box-shadow: 0 0 0 3px rgba(253, 141, 31, .15);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { flex: 1 1 auto; padding: 0; color: #333; line-height: 1.4; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--dm-placeholder); }
.select2-container--default .select2-selection--single .select2-selection__arrow { position: relative; flex: 0 0 20px; block-size: 100%; inline-size: 20px; inset: auto; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { inset-block-start: 50%; inset-inline-start: 50%; margin: -2px 0 0 -5px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: #767676 transparent transparent; }
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent #767676; }
.select2-dropdown { margin-block-start: 6px; border: 1px solid var(--dm-line); border-radius: var(--dm-r-md); background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); overflow: hidden; }
.select2-container--default .select2-search--dropdown { padding: 10px; }
.select2-container--default .select2-search--dropdown .select2-search__field { block-size: 38px; padding: 0 14px; border: 1px solid var(--dm-line); border-radius: var(--dm-r-pill); background: var(--dm-surface); outline: 0; font: inherit; }
.select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--dm-orange); }
.select2-results__option { padding: 9px 16px; font-size: 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--dm-orange); color: #fff; }
.select2-container--default .select2-results__option[aria-selected="true"], .select2-container--default .select2-results__option--selected { background: #fff3e6; color: #242424; }

/* ------------------------------------------------------------------ empty cart */
.dm-empty-cart { display: grid; justify-items: center; gap: 6px; padding-block: 30px 10px; text-align: center; }
.dm-empty-cart__icon { color: #d6d6d6; }
.dm-empty-cart .cart-empty { margin: 10px 0 0; color: var(--dm-text); font-size: 18px; font-weight: 600; }
.dm-empty-cart .return-to-shop { margin: 14px 0 0; }
.dm-empty-cart__products { margin-block: 40px 20px; }
.dm-empty-cart__title { margin: 0 0 24px; font-size: 24px; font-weight: 600; text-align: center; }

/* ------------------------------------------------------------------ reviews (summary, list, likes, form) */
.wd-rating-summary-wrap { margin: 0 0 30px; padding-inline: 20px; }
.wd-rating-summary-heading { display: grid; justify-items: center; gap: 2px; margin-block-end: 18px; text-align: center; }
.wd-rating-summary-main { color: #242424; font-family: var(--dm-font-strong); font-size: 48px; font-weight: 700; line-height: 1.1; }
.wd-rating-summary-total { color: var(--dm-muted); font-size: 15px; }
.wd-rating-summary .star-rating { font-size: 20.8px; }
.wd-rating-summary-cont { display: grid; gap: 8px; }
.wd-rating-summary-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) 30px; align-items: center; gap: 10px; }
.wd-rating-summary-item .star-rating { font-size: 14px; }
.wd-rating-progress-bar .progress-area { block-size: 12px; border-radius: 20px; background: rgba(0, 0, 0, .06); overflow: hidden; }
.wd-rating-progress-bar .progress-bar { display: block; block-size: 100%; border-radius: 20px; background: #eabe12; }
.wd-rating-count { color: var(--dm-muted); font-size: 14px; text-align: start; }
#reviews .woocommerce-Reviews-title { margin: 0 0 14px; font-size: 16px; font-weight: 600; }
#reviews .commentlist { margin: 0; padding: 0; list-style: none; }
#reviews .commentlist li { margin: 0; padding: 0; border: 0; }
#reviews .comment_container { display: block; padding: 15px 0; border-block-end: 1px solid var(--dm-line); }
#reviews .comment-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; margin: 0; padding: 0; border: 0; }
#reviews .comment-text .meta { grid-column: 1; grid-row: 1; margin: 0; font-size: 14px; color: var(--dm-muted); }
#reviews .woocommerce-review__author { color: #242424; font-weight: 600; font-size: 16px; }
#reviews .comment-text .star-rating { grid-column: 2; grid-row: 1; margin: 0; float: none; font-size: 16px; }
#reviews .comment-text .description { grid-column: 1 / -1; color: #4a4a4a; font-size: 15px; line-height: 1.9; }
#reviews .comment-text .description p { margin: 0; }
.wd-review-likes { grid-column: 1 / -1; display: flex; gap: 14px; margin-block-start: 6px; }
.dm-vote { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: transparent; color: var(--dm-muted); font: inherit; font-size: 13px; cursor: pointer; transition: color .2s ease; }
.dm-vote:hover, .dm-vote.is-on { color: var(--dm-orange); }
.dm-vote.is-on svg { fill: currentColor; fill-opacity: .15; }
#review_form_wrapper { margin-block-start: 28px; }
#review_form .comment-reply-title { display: block; margin-block-end: 6px; color: #242424; font-size: 16px; font-weight: 600; }
#review_form .comment-notes { margin: 0 0 14px; font-size: 14px; color: var(--dm-muted); }
#review_form .comment-form-rating { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
#review_form .comment-form-rating label { margin: 0; font-weight: 600; }
#review_form .comment-form-rating select { display: none; }
#review_form .comment-form-comment label, #review_form .comment-form-author label, #review_form .comment-form-email label { display: block; margin-block-end: 6px; font-size: 14px; font-weight: 600; color: #333; }
#review_form .comment-form-author, #review_form .comment-form-email { display: inline-block; inline-size: calc(50% - 10px); vertical-align: top; margin-inline-end: 16px; }
#review_form .comment-form-email { margin-inline-end: 0; }
@media (max-width: 767px) { #review_form .comment-form-author, #review_form .comment-form-email { inline-size: 100%; margin-inline-end: 0; } .wd-rating-summary-item { grid-template-columns: 80px minmax(0, 1fr) 28px; } }
#review_form .form-submit input#submit { min-block-size: 42px; padding: 5px 24px; border: 0; border-radius: var(--dm-r-pill); background: var(--dm-orange); color: #fff; font: 600 13px/1 var(--dm-font-body); cursor: pointer; }
#review_form .form-submit input#submit:hover { background: var(--dm-orange-dark); }
/* the rating picker: five outline stars that fill on hover / selection (WooCommerce's script builds p.stars) */
p.stars { margin: 0; }
p.stars > span { display: inline-flex; gap: 4px; }
p.stars a { position: relative; display: inline-block; inline-size: 24px; block-size: 24px; font-size: 0; background: #d6d6d6;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.500 9.400l6.600-.9z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.500 9.400l6.600-.9z'/></svg>") center / contain no-repeat; }
p.stars a::before { content: none; }
p.stars:hover a, p.stars.selected a { background: #eabe12; }
p.stars a:hover ~ a, p.stars.selected a.active ~ a { background: #d6d6d6; }
p.stars.selected a.active { background: #eabe12; }
