/************************/
/** WOOCOMMERCE STYLES **/
/************************/

body.woocommerce,
body.woocommerce-page {
	font-family: var(--wp--preset--font-family--urbanist);
	color: #000;
}

/* Optional: if Woo/theme sidebar is still showing on shop/product pages */
body.woocommerce-page .widget-area,
body.woocommerce-page aside.sidebar {
	display: none;
}

body.woocommerce-page #primary,
body.woocommerce-page .content-area,
body.woocommerce-page main {
	width: 100%;
}


.woocommerce .woocommerce-breadcrumb {
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--medium-blue);
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--wp--preset--color--medium-blue);
	text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--wp--preset--color--orange);
	text-decoration: underline;
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3 {
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--dark-blue);
}

.woocommerce .page-title {
	margin-bottom: 1.5rem;
}

/* Result count / sorting */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-ordering select {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: .55rem .75rem;
	font-family: var(--wp--preset--font-family--urbanist);
	background: #fff;
}

/************************/
/** PRODUCT GRID       **/
/************************/

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	margin: 0 0 2rem;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	overflow: hidden;
	transition: .3s;
	text-align: center;
}

.woocommerce ul.products li.product:hover {
	border-color: var(--wp--preset--color--orange);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product a {
	text-decoration: none;
}

.woocommerce ul.products li.product a img {
	width: 100%;
	margin: 0;
	display: block;
	background: #f7f7f7;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--wp--preset--font-family--jost);
	font-size: var(--wp--preset--font-size--lead);
	color: var(--wp--preset--color--dark-blue);
	padding: 1rem 1rem .35rem;
	margin: 0;
}

.woocommerce ul.products li.product .price {
	display: block;
	color: var(--wp--preset--color--medium-blue);
	font-family: var(--wp--preset--font-family--jost);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	margin: 0 1rem 1rem;
}

.woocommerce ul.products li.product .price del {
	color: #777;
	font-weight: 400;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--wp--preset--color--orange);
}

.woocommerce span.onsale {
	background: var(--wp--preset--color--orange);
	color: #fff;
	border-radius: 4px;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: .45rem .6rem;
	font-family: var(--wp--preset--font-family--jost);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

/************************/
/** BUTTONS            **/
/************************/

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
	background: var(--wp--preset--color--orange);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: .75rem 1.1rem;
	font-family: var(--wp--preset--font-family--jost);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: .3s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
	background: var(--wp--preset--color--dark-blue);
	color: #fff;
	text-decoration: none;
}

.woocommerce ul.products li.product .button {
	margin: 0 1rem 1.25rem;
}

/************************/
/** SINGLE PRODUCT     **/
/************************/

.woocommerce div.product {
	margin-bottom: 3rem;
}

.woocommerce div.product div.images img {
	border-radius: 8px;
	border: 1px solid #e6e6e6;
}

.woocommerce div.product .product_title {
	margin-bottom: .75rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--jost);
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 700;
}

.woocommerce div.product form.cart {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.woocommerce .quantity .qty {
	width: 5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: .65rem;
	font-family: var(--wp--preset--font-family--urbanist);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 2rem 0 0;
	border-bottom: 1px solid #ddd;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 0;
	background: transparent;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: .85rem 1.1rem;
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--dark-blue);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--wp--preset--color--orange);
}

.woocommerce div.product .woocommerce-tabs .panel {
	padding: 1.5rem 0;
}

/************************/
/** FORMS              **/
/************************/

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce textarea,
.woocommerce select,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: .75rem;
	font-family: var(--wp--preset--font-family--urbanist);
	font-size: var(--wp--preset--font-size--base);
	background: #fff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce input:focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
.wc-block-components-text-input input:focus {
	outline: 2px solid var(--wp--preset--color--orange);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--orange);
}

.woocommerce form .form-row label {
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--dark-blue);
	font-weight: 500;
}

/************************/
/** NOTICES            **/
/************************/

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 0;
	border-left: 5px solid var(--wp--preset--color--orange);
	background: #f7f7f7;
	color: #000;
	padding: 1rem 1.25rem 1rem 3.25rem;
	border-radius: 4px;
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--wp--preset--color--orange);
}

.woocommerce-error {
	border-left-color: #b00020;
}

.woocommerce-error::before {
	color: #b00020;
}

/************************/
/** CART / CHECKOUT    **/
/************************/

.woocommerce table.shop_table {
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	overflow: hidden;
}

.woocommerce table.shop_table th {
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--dark-blue);
	background: #f7f7f7;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
	padding: 1rem;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details,
.wc-block-cart,
.wc-block-checkout {
	background: #fff;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	padding: 1.5rem;
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 {
	margin-top: 0;
}

.woocommerce-checkout-review-order-table {
	background: #fff;
}

/* Block cart/checkout polish */
.wc-block-components-sidebar,
.wc-block-cart-items,
.wc-block-components-totals-wrapper {
	border-color: #e6e6e6;
}

.wc-block-components-product-name,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--dark-blue);
}

.wc-block-components-notice-banner {
	border-radius: 4px;
}

/************************/
/** ACCOUNT PAGE       **/
/************************/

.woocommerce-MyAccount-navigation ul {
	margin: 0 0 2rem;
	padding: 0;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	overflow: hidden;
}

.woocommerce-MyAccount-navigation li {
	list-style: none;
	border-bottom: 1px solid #e6e6e6;
}

.woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: .85rem 1rem;
	color: var(--wp--preset--color--dark-blue);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--jost);
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
	background: var(--wp--preset--color--dark-blue);
	color: #fff;
	text-decoration: none;
}

/************************/
/** RESPONSIVE         **/
/************************/

@media (max-width: 1199px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.woocommerce ul.products {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering {
		float: none;
		width: 100%;
	}

	.woocommerce .woocommerce-ordering select {
		width: 100%;
	}

	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		margin-bottom: 1rem;
		border: 1px solid #e6e6e6;
		border-radius: 8px;
		overflow: hidden;
	}

	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td {
		padding: .85rem 1rem;
	}
}