/** 
 * 
 * 
 * General WooCommerce Styles
 * 
 * */

.woocommerce-page h1 {
    color: var(--cta);
}

body.full-width-content .entry-content > .alignwide {
    margin-right: 0;
    margin-left: 0;
    max-width: 100%;
}

.woocommerce-page #main {
    max-width: 1400px;
    margin: 0 auto;
	padding: 90px 5%;
}

/* single product page */

button.single_add_to_cart_button {
    height: 100%;
    padding: 15px!important;
    background-color: var(--cta)!important;
    line-height: 1.15!important;
}

.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce div.product div.woocommerce-product-gallery {
    width: calc(40% - 50px);
    margin-right: 100px;
}

.woocommerce div.product div.summary.entry-summary {
    width: calc(60% - 50px);
}

.woocommerce .product_meta {
    display: flex;
    flex-direction: column;
    font-weight: 700;
}

.woocommerce .product_meta > span > span, .woocommerce .product_meta > span > a {
    font-weight: 400;
}

.woocommerce .product_meta > span > a {
    color: var(--cta);
    text-decoration: underline;
}

.woocommerce.woocommerce-list-view .related.products ul.products {
    flex-direction: row;
}

.woocommerce.woocommerce-list-view .related.products ul.products li.product.entry a.woocommerce-loop-product__link {
    flex-direction: column;
}

.woocommerce.woocommerce-list-view .related.products ul.products li.product.entry a.woocommerce-loop-product__link img {
    width: 25%;
}

@media only screen and (max-width: 768px) {
    .woocommerce div.product {
        flex-direction: column;
    }

    .woocommerce div.product div.woocommerce-product-gallery {
        width: 100%;
    }

    .woocommerce div.product div.summary.entry-summary {
        width: 100%;
    }
}

/* cart page */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: var(--cta);
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: var(--primary);
}

/* shop/archive page */
.woocommerce.woocommerce-shop ul.products li.product span.price {
    color: var(--cta);
}

/* "list view" styles */
.woocommerce.woocommerce-list-view ul.products li.product.entry a.woocommerce-loop-product__link {
    display: flex!important;
    width: 100%;
    column-gap: 50px;
    border: 1px solid var(--primary);
    align-items: center;
}

.woocommerce.woocommerce-list-view ul.products {
    display: flex;
    flex-direction: column;
}

.woocommerce.woocommerce-list-view ul.products li.product {
    width: 100%;
    margin-bottom: 0;
}

.woocommerce.woocommerce-list-view ul.products li.product a img {
    width: 10%;
    margin: 10px;
/* 	object-fit: contain; */
}

.woocommerce.woocommerce-list-view ul.products li.product a.button {
    display: none;
}

.woocommerce.woocommerce-list-view ul.products li.product.entry a.woocommerce-loop-product__link:hover {
    background-color: #efefef;
}
.woocommerce ul.products li.product .button {
	background-color: var(--cta);
	color: var(--app-white);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--primary);
	color: var(--app-white);
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--cta);
	color: var(--app-white);
}
details summary {
	font-weight: bold;
	cursor: pointer;
	background: #eee;
	padding: 10px;
	display: flex;
	justify-content: space-between;
	background-color: var(--app-blue-accord);
	color: var(--app-white);
}
details:nth-of-type(even) summary {
	background: var(--app-grey-accord);
	color: var(--app-white);
}
details summary:hover,
details summary:focus {
	background-color: var(--cta);
	color: var(--app-white);
}
}
details:nth-of-type(even) summary:hover,
details:nth-of-type(even) summary:focus {
	background: var(--app-grey-accord);
	color: var(--app-white);
}
details[open] summary {
	background: var(--app-brown-bkgrd);
}

details .product-details {
	padding: 10px;
	margin: 0;
	background: #d1d1d1;;
}
.woocommerce-message {
	border-top-color: var(--cta) !important;
}
.woocommerce-message::before {
	color: var(--cta) !important;
}
a.button.wc-forward,
a.button.wc-backward{
	background: var(--primary);
	color: var(--app-white);
}
a.button.wc-forward:hover,
a.button.wc-backward:hover {
	background: var(--app-grey);
	color: var(--app-white);
}
td.actions > button.button {
	background: var(--app-grey);
	color: var(--app-white) !important;
}
td.actions > button.button:hover { 
	background: var(--app-grey-accord) !important;
	color: var(--app-white) !important;
}
.woocommerce-info {
	border-top-color: var(--primary) !important;
}
.woocommerce-info::before {
	color: var(--primary) !important;
}
.added_to_cart.wc-forward {
	color: var(--app-blue-accord);
    padding-left: 15px;
}
.shop-hero-image {
    width: 100%;
    margin-top: -150px;
}
.shop-hero-image img {
    width: 100%;
    height: 750px;
    display: block;
}
div.woocommerce-checkout-review-order::before {
    content: 'Order Summary';
    color: var(--primaryalt);
    font-weight: 700;
    font-size: 32px;
}


table.shop_table.woocommerce-checkout-review-order-table {
    margin-top: 20px;
}

h3#order_review_heading {
    display: none !important;
}

form.checkout.woocommerce-checkout {
    display: flex;
}
@media only screen and (max-width:959px) {

    form.checkout.woocommerce-checkout {
        flex-direction: column;
    }
}
@media only screen and (max-width:768px) {
	.shop-hero-image img {
		display: none !important;
	}
	.woocommerce-shop #main  {
		margin-top: 150px;
	}
}
body.tax-product_cat .filter-item.facet-wrap {
    color: var(--cta);
}

/* Two column layout */
body.tax-product_cat .prod-list-filters-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

/* Left sidebar */
body.tax-product_cat .attribute-filters.prod-filters {
    width: 250px;
    min-width: 250px;
    flex-shrink: 0;
}

/* Right side - products */
body.tax-product_cat .filtered-product-list.facetwp-template {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Hide empty fwp-results div */
body.tax-product_cat .fwp-results {
    display: none !important;
}

/* Product grid - high specificity to beat woocommerce.css and woocommerce-layout.css */
.woocommerce body.tax-product_cat .filtered-product-list ul.products,
.woocommerce-page body.tax-product_cat .filtered-product-list ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

.woocommerce body.tax-product_cat .filtered-product-list ul.products li.product,
.woocommerce-page body.tax-product_cat .filtered-product-list ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

/* Responsive */
@media ( max-width: 1024px ) {
    .woocommerce body.tax-product_cat .filtered-product-list ul.products,
    .woocommerce-page body.tax-product_cat .filtered-product-list ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media ( max-width: 768px ) {
    body.tax-product_cat .prod-list-filters-wrap {
        flex-direction: column;
    }
    body.tax-product_cat .attribute-filters.prod-filters {
        width: 100%;
        min-width: unset;
    }
    .woocommerce body.tax-product_cat .filtered-product-list ul.products,
    .woocommerce-page body.tax-product_cat .filtered-product-list ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    width: 100%;
    padding: 0px 20px;
}
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    float: none !important;
    width: 100%;
    padding: 0px 10px;
}
body.tax-product_cat .site-inner .row:not(.title-row):not(.main-content):not(.style-light):not(.style-dark):not(.page-title):before {
    border-top: none !important;
}
details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	list-style: none;
}

details summary::-webkit-details-marker {
	display: none;
}

.rwm-accordion-icon {
	transition: transform 0.3s ease;
}

details[open] .rwm-accordion-icon {
	transform: rotate(180deg); 
}

#yith-ywraq-form .update-list-wrapper input[type="submit"] {
    background: var(--app-blue-accord);
    color: var(--app-white);
}

#yith-ywraq-form .update-list-wrapper .after-table-right .button.ywraq_clean_list {
    background: var(--app-yellow);
    color: var(--app-white);
}

#yith-ywraq-default-form input[type="submit"] {
    background: var(--cta);
    color: var(--app-white);
}

.yith_ywraq_add_item_browse_message.show.hide-when-removed > a {
	background-color: var(--app-yellow);
	color: var(--app-white);
	padding: 1rem 2rem;
}

.yith_ywraq_add_item_browse_message a,
ul.products li.product .yith_ywraq_add_item_browse-list a {
    background-color: var(--app-yellow);
    color: var(--app-white);
    padding: 1rem 2rem;
    display: inline-block !important;
    font-weight: 700;
    border-radius: 3px;
    line-height: 1;
    border: 1px solid var(--app-yellow) !important;
}

.yith_ywraq_add_item_product_message,
[class*="yith_ywraq_add_item_product-response"] {
    display: block !important;
}

.yith_ywraq_add_item_browse_message.show.hide-when-removed {
	margin-top: 20px;
}

/* "this item is already in your cart", "added to list" only on category pages */
.tax-product_cat .yith_ywraq_add_item_response_message.show.hide-when-removed,
.tax-product_cat .yith_ywraq_add_item_product_message.hide-when-removed {
    font-size: 12px;
    color: var(--app-grey-accord);
    font-style: italic;
}

ul.products li.product {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
}

ul.products.columns-3 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

ul.products.columns-3 li.product {
    width: 30.75% !important;
    float: none !important;
}

ul.products li.product a.woocommerce-LoopProduct-link {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

ul.products li.product .woocommerce-loop-product__title {
    flex: 1 !important;
}

ul.products li.product .yith-ywraq-add-to-quote {
    width: 100% !important;
    margin-top: auto !important;
}

ul.products li.product a.button.product_type_variable {
    display: inline-block !important;
    width: auto;
    /* box-sizing: border-box !important; */
    margin-top: auto !important;
    background-color: var(--cta);
    color: var(--app-white);
    padding: 1rem 2rem;
    line-height: 1;
    font-size: 1em;
    border-radius: 3px;
    border: 1px solid var(--cta);
    width: fit-content;
}

ul.products li.product .clear {
    display: none !important;
}

@media (max-width: 768px) {
    ul.products.columns-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

    ul.products.columns-3 li.product {
        width: 48% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    ul.products.columns-3 li.product {
        width: 100% !important;
        margin-right: 0 !important;
    }
}
/* Mobile Cart Button */
@media (min-width: 768px) {
    .cart-mobile {
	    display: none !important;
    }
}
@media (max-width: 768px) {
	.cart-mobile {
		display: block !important;
	}
}
/* PDF Embedder Attempt to style */
.woocommerce-Tabs-panel--mds .wppdfemb-frame-container-1,
.woocommerce-Tabs-panel--mds iframe.pdfembed-iframe {
    width: 100% !important;
    max-width: 100% !important;
}
#tab-mds {
    width: 100%;
}

.woocommerce-tabs.wc-tabs-wrapper {
    width: 100%;
}