/* Woocommerce style overrides */

ul.products {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}
.woocommerce ul.products li.product a img {
    max-height: 240px;
    width: auto;
    margin: 0 auto 16px;
}
.woocommerce ul.products li.product a.add_to_cart_button {
    background-color: var(--acaBlue);
    color: #fff;
}
body.archive #messages,
body.wp-singular #messages {
    background: rgba(118,118,118,0.1);
    border-bottom: 1px solid rgba(118,118,118,0.3);
}
#jcs_wc_header {
    padding-top: 20px;
}
@media only screen and (min-width:1200px) {
    #jcs_wc_header {
        padding-top: 40px;
    }
}
div.archive-header h1 {
    color: var(--acaBlue);
    font-weight: 700;
    letter-spacing: -.4px;
    font-size: 3.2rem;
    line-height: 3.6rem;
}
div.archive-header div.page-description p,
div.archive-header div.term-description p {
    font-weight: 500;
    font-style: italic;
}
#jcs_wc_content {
    margin-top: 20px;
}
#jcs_wc_content div.nav-wrapper {
    padding-left: 0;
}
div.nav-wrapper > div.cat-nav {
    border: 1px solid rgba(118,118,118,0.3);
    border-radius: 3px;
    padding: 5px 5px 0 10px;
    background: rgba(118,118,118,0.1);
    margin-bottom: 10px;
}
div.cat-nav h3 {
    display: none;
}
div.cat-nav ul.product-categories {
    padding-left: 0;
    list-style: none;
}
div.cat-nav ul.product-categories > li {
    margin-bottom: 5px;
}
/* Hide the uncategorized category */
div.cat-nav ul.product-categories > li.cat-item-15 {
    display: none;
}
div.cat-nav ul.product-categories ul.children {
    padding-left: 20px;
    list-style: disclosure-closed;
}
/* My Account, Cart links */
div.cat-nav ul.product-categories div.support {
    display: flex;
    flex-wrap:nowrap;
}
div.cat-nav ul.product-categories div.support > div.icon {
    margin-right: 5px;
}
div.header-search {
    width: 100%;
    padding: 0 15px;
    text-align: right;
}
#searchform input[type="text"] {
    font-size:1.4rem;
}
#searchform input[type="submit"] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--acaBlue);
    border: 2px solid var(--acaBlue);
    border-radius: 2px;
    padding: 1px 10px;
}
@media only screen and (min-width:1200px) {
    #searchform input[type="text"] {
        width: 35%;
    }
}
div.jcs-p-image img.primary-img {
    width: auto !important;
    margin: 0 auto;
}
@media only screen and (min-width: 1200px) {
    div.jcs-p-image img.primary-img {
        max-height: 400px;
    }
}
div.woocommerce-product-gallery__image--placeholder {
    border: none !important;
}
div.woocommerce-product-gallery__image--placeholder img {
    max-width: 80%;
    margin: 0 auto;
}
/* On-sale tag styling */
body.archive span.onsale {
    width: 100%;
    border-radius: unset !important;
    background: var(--acaRed) !important;
    padding: 5px 0 !important;
    font-size: 1.4rem !important;
    line-height: 1.4rem !important;
    height: unset;
    min-height: unset !important;
    min-width: unset !important;
    left: 0 !important;
    top: 110px !important;
}
body.wp-singular.theme-jcs-acamerica span.onsale {
    width: 100%;
    border-radius: 2px !important;
    background: var(--acaRed) !important;
    padding: 5px 0 !important;
    font-size: 1.4rem !important;
    line-height: 1.4rem !important;
    height: unset;
    min-height: unset !important;
    min-width: unset !important;
    left: 0 !important;
}
body.wp-singular.theme-jcs-acamerica div.product.sale {
    padding-top: 28px;
}
body.archive.theme-jcs-acamerica li.product span.price,
body.wp-singular.theme-jcs-acamerica div.product p.price {
    color: #000;
    font-size: 16px;
    font-weight: 500;
}
body.archive.theme-jcs-acamerica li.product.sale span.price ins,
body.wp-singular.theme-jcs-acamerica div.product.sale p.price ins {
    font-weight: 700;
    letter-spacing: -.4px;
    text-decoration: none;
    color: #fff;
    background: var(--acaRed);
    padding: 0 12px;
    border-radius: 2px;
}
body.archive.theme-jcs-acamerica li.product.sale span.price ins {
    text-align: center;
}
body.wp-singular.theme-jcs-acamerica div.product.sale p.price ins {
    margin-left: 10px;
}
body.wp-singular.theme-jcs-acamerica div.product p.sku-no {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -.4px;
    margin-top: -10px;
}
body.wp-singular.theme-jcs-acamerica div.product p.sku-no > span {
    font-weight: 400;
    color: #767676;
}
/* Custom quantity button styling */
form.cart {
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom:12px !important;
}
div.quantity .minus, div.quantity .plus {
    position: relative;
    width: 3rem;
    height: 40px;
    line-height: 1;
    border: 1px solid #e7e7e7;
    padding: 0;
    outline: 0;
    text-indent: -9999px;
    background: 0 0;
    color: #222529;
}
.single-product .product-summary-wrap .quantity .minus, .single-product .product-summary-wrap .quantity .plus {
    width: 30px;
    height: 3rem;
    border-radius: 0;
}
div.quantity {
    display: flex;
}
div.quantity .minus::before, div.quantity .plus::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    border-top: 1px solid;
    margin-top: -.5px;
    margin-left: -4.5px;
}
div.quantity .plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    height: 9px;
    border-left: 1px solid;
    margin-top: -4.5px;
    margin-left: -.5px;
}
div.quantity .qty {
    -moz-appearance: textfield;
    width: 36px !important;
    height: 40px;
    font-weight: 700;
}
button.single_add_to_cart_button {
    line-height: 16px !important;
    padding: 12px 24px !important;
    border-radius: 0 !important;
    background-color: var(--acaBlue) !important;
    text-transform: uppercase;
}
div.summary span.posted_in {
    font-size: 12px;
    font-weight: 500;
    display: block;
    letter-spacing: -.4px;
}
div.summary span.posted_in a {
    font-weight: 400;
    color: #222529;
}
/* Product Tabs Styling */
div.woocommerce-tabs.jcs-aca {
    margin-top: 20px;
    border-top: 1px solid #e7e7e7;
}
.woocommerce div.product .woocommerce-tabs.jcs-aca ul.tabs {
    padding: 0;
}
ul.tabs.jcs-aca-tabs li.jcs-aca-tab {
    border: unset !important;
    background-color: #fff !important;
    border-radius: unset !important;
    font-size: 13px;
    text-transform: uppercase;
    padding: 4px 13px !important;
}
ul.tabs.jcs-aca-tabs li.jcs-aca-tab a {
    color: #818692 !important;
}
ul.tabs.jcs-aca-tabs li.jcs-aca-tab.active {
    z-index: 0 !important;
}
ul.tabs.jcs-aca-tabs li.jcs-aca-tab.active a {
    color: #000 !important;
}
ul.tabs.jcs-aca-tabs li.jcs-aca-tab::before {
    border: unset !important;
    width: unset !important;
    height: unset !important;
    border-bottom-right-radius: unset !important;
}
ul.tabs.jcs-aca-tabs li.jcs-aca-tab::after {
    width: unset !important;
    height: unset !important;
}
div.woocommerce-Tabs-panel {
    padding: 0 12px !important;
}
div.woocommerce-Tabs-panel h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--acaBlue);
}
div.spec-line {
    display: flex;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    line-height: 16px;
    padding: 8px 4px;
}
div.spec-line.odd {
    background: #f5f5f5;
}
div.spec-line > div {
    width: 50%;
}
div.spec-line > div.spec-label {
    font-weight: 500;
}