/**
 * Style of WooCommerce pages and common elements
 */

.woocommerce div.product form.cart .woocommerce-variation-description p {
	margin: 0;
}
.woocommerce div.product form.cart .woocommerce-variation-description p:last-child {
	margin-bottom: 1rem;
}
/* .woocommerce a, */
.woocommerce-product-attributes.shop_attributes a {
	display: inline;
}

section[id^=yc_woo] .woocommerce-info,
section[id^=yc_woo] .woocommerce-message {
	background-color: lightgrey;
	color: black;
	align-items: center;
}
section[id^=yc_woo] .woocommerce-info::before,
section[id^=yc_woo] .woocommerce-message::before {
	top: 50%;
	transform: translateY(-50%);
}
/* WOOCOMMERCE DEFAULT SIDEBAR NAV */
#sidebar[role="complementary"],
#sidebar ul[role="navigation"] {
    display: none;
}
/* COMING SOON PAGE */
.wp-block-woocommerce-coming-soon.woocommerce-coming-soon-store-only {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* ALL PAGES */
body.woocommerce-page section[id^=yc_] {
    padding-top: 80px !important;
}
body.woocommerce-page section[id^=yc_] {
    min-height: 90vh;
    justify-content: center;
    padding: 1rem;
}
section[id^=yc_woo] .woocommerce-info,
section[id^=yc_woo] .woocommerce-message {
    border-top-color: black;
    display: flex;
    flex-flow: row wrap;
    gap: .5rem;
    padding: 1rem 1rem 1rem 3.5rem;
}
section[id^=yc_woo] .woocommerce-info::before,
section[id^=yc_woo] .woocommerce-message::before {
    color: black;
}
section[id^=yc_woo] .woocommerce-info .button {
    margin: 0 auto;
}
section[id^=yc_woo] .woocommerce {
    width: 100%;
}
section[id^=yc_woo] button[type=submit],
section[id^=yc_woo] button.button.alt:disabled[disabled],
section[id^=yc_woo] button.button:disabled[disabled],
section[id^=yc_woo] a[class*=button],
section[id^=yc_woo] a[class*=button].alt,
/* section[id^=yc_woo] a[class*=button]:not(.shipping-calculator-button), */
section[id^=yc_woo] button.button,
section[id^=yc_woo] button.button.alt,
section[id^=yc_woo] ul.products li.product a.button,
section[id^=yc_woo] .woocommerce button.button,
section[id^=yc_woo] .woocommerce button.button.alt,
section[id^=yc_woo] button.button.alt.disabled {
    background-color: black;
    max-width: 50%;
    transition: all .5s ease;
    max-width: max-content;
    min-width: min-content;
    width: 100%;
    display: block;
    max-width: max-content;
    margin: 1em auto;
    font-size: 1rem;
    padding: .7rem 1rem;
    font-weight: 500;
    color: white;
    border: none;
}
/* VARIATIONS BUTTON - PRODUCT PAGE */
section[id^=yc_woo] .woocommerce-variation-add-to-cart.variations_button {
    display: flex;
}
/* section[id^=yc_woo] .woocommerce-page .woocommerce-message .button, */
section[id^=yc_woo] .woocommerce-message a[class*=button] {
    margin: 0 1rem;
}
/* SHIPPING CALCULATOR */
section[id^=yc_woo] button[type=submit].button.alt {
    margin: unset;
    float: right;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover,
section[id^=yc_woo] a[class*=button]:hover,
section[id^=yc_woo] button.button:hover,
section[id^=yc_woo] a.button.alt:hover,
section[id^=yc_woo] button.button.alt:hover {
    background-color: black;
    box-shadow: rgba(94, 94, 94, 0.9) 50px 40px 24px -22px inset, rgba(94, 94, 94, 0.9) -50px -40px 24px -22px inset;
    color: white;
}
section[id^=yc_woo] select,
section[id^=yc_woo] input {
    padding: .5rem .2rem;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 1rem;
}
section[id^=yc_woo] h1 {
    line-height: 1;
}
section[id^=yc_woo] h2 {
    font-size: 1.2rem;
}
section[id^=yc_woo] li[class*=navigation] a {
    text-align: left;
}
section[id^=yc_woo] span.show-password-input {
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
}
/* CART */
button[type=submit].button.button:disabled[disabled],
button[type=submit].button.alt,
section[id^=yc_woo] .woocommerce button.button {
    display: inline-block !important;
}
#yc_woo_account .woocommerce-order .woocommerce-order-details,
#yc_woo_account .woocommerce-order .woocommerce-customer-details,
#yc_woo_account .woocommerce-order .woocommerce-customer-details .addresses {
	padding-top: 0 !important;
}
#yc_woo_account .woocommerce-order .woocommerce-customer-details .addresses {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    gap: 1rem;
}
#yc_woo_account .woocommerce-order .woocommerce-customer-details .addresses::before {
    display: none;
}
/* SIDEBAR */
section[id^=yc_woo] .woocommerce-products-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}
section[id^=yc_woo] .yc_woo_sidebar {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
	align-items: flex-start;
	margin-bottom: 1rem;
}
section[id^=yc_woo] .yc_woo_sidebar span {
    font-size: 1rem;
}
/* section[id^=yc_woo] .yc_woo_sidebar .select2-container.select2-container--default {
    margin: 1rem 0;
} */
section[id^=yc_woo] .select2-selection__placeholder {
    padding: 0 1rem;
}
/* PRODUCTS SEARCHFORM */
#yc_woo_shop div.yc_before_loop_products, 
.yc_woo_sidebar form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .2rem;
	
	width: 100%;
}
#yc_woo_shop div.yc_before_loop_products ul.products {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
#yc_woo_shop .yc_woo_sidebar form {
    flex-direction: row;
}
#yc_woo_shop .yc_woo_sidebar form input {
    height: fit-content;
    padding: .6rem 1rem;
}
#yc_woo_shop .yc_woo_sidebar form button.button.alt {
    margin: 0;
}
#yc_woo_shop .yc_woo_sidebar h2.widgettitle {
    width: 100%;
    font-size: .9rem;
    color: #acaaaa;
    float: left;
/*     line-height: 0; */
    font-weight: 500;   
}
/* RESPONSIVE */
@media all and (max-width: 500px) {
    #yc_woo_shop .woocommerce-breadcrumb,
    #yc_woo_shop .woocommerce-breadcrumb a {
        font-size: .8rem;
    }
}