/*
    7 - WooCommerce styling file.

    NOTE: '.woocommerce' can affect any wc section - do not use unless it is a global style

    7.01 - wc global fixes

    7.10 - single product styles
        7.11 - single product image gallery styles
        7.12 - single product summary styles
        7.15 - single product description
    7.20 - brand summary
    7.30 - related products
    7.40 - testimonials
    7.50 - archive product styles
        7.51 - archive brand callout
        7.52 - archive product filters
        7.53 - pagination
    7.60 - on sale
    7.70 - cart and checkout
 */


/* 7.01 - WC global fixes */
ul.products::after,
ul.products::before {
    display: none !important;
}
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background: var(--color-bravo);
    border: 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    color: var(--color-charlie);
    display: grid;
    grid-template-columns: 40px 1fr;
    margin: 0 auto 1em;
    max-width: min(90%, var(--page-width-extra));
    padding: 1em 2em;
}
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.woocommerce-error:before,
.woocommerce-info:before,
.woocommerce-message:before {
    align-self: center;
    color: var(--color-charlie);
    left: unset;
    position: relative;
    top: unset;
}
.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message .button {
    background: var(--color-charlie) !important;
    border-radius: var(--border-radius) !important;
    color: var(--white) !important;
    font-weight: normal !important;
    text-transform: uppercase;
    white-space: nowrap;
}


/* 7.10 - single product styles */
.single-product .product {
    --gap: var(--padding);
    --wp--style--global--content-size: min(90%, var(--page-width-extra));
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap) var(--gap);
    justify-content: stretch;
    margin: 0 auto;
    max-width: min(90%, var(--page-width-extra));
    width: 100%;
}
.single-product .product #payment-method-message {
    height: auto;
}
.single-product .product #payment-method-message:has(> div) {
    margin: 1.5em 0;
}
.single-product .product .product-columns {
    --gap: 40px;
}
.single-product .product .product-columns button {
    width: 100%;
}
.single-product .product .product-columns .wcpay-express-checkout-wrapper:before {
    color: var(--gray-medium);
    content: 'OR BUY NOW';
    font-family: var(--font-family);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-h);
    letter-spacing: 2px;
    line-height: 1.3;
    margin: 0 0 var(--spacing-h) 0;
}
.single-product .product .product-columns .wcpay-express-checkout-wrapper button,
.single-product .product .product-columns .wcpay-express-checkout-wrapper iframe {
    border-radius: var(--border-radius) !important;
}
@media (min-width: 1080px) {
    .single-product .product .product-columns .col-left {
        border-right: 1px solid var(--color-bravo);
        padding-right: var(--gap);
    }
}


/* removing legacy float styles */
.woocommerce div.product div.summary {
    clear: both;
    float: none;
}


/* 7.11 - single product image gallery styles */
.woocommerce-product-gallery {
    opacity: 0;
    transition: opacity 250ms ease-in-out;
}
.woocommerce-product-gallery .theme-featured-image {
    position: relative;
}
.woocommerce-product-gallery .theme-featured-image img:not(.attachment-full),
.woocommerce-product-gallery .theme-image-gallery img.attachment-full {
    display: none !important;
}
.woocommerce-product-gallery .zoom-cursor {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    position: absolute;
    z-index: 2000;
}
@media (min-width: 768px) {
    .woocommerce-product-gallery {
        width: 49%;
    }
}
@media (min-width: 1080px) {
    .woocommerce-product-gallery .theme-featured-image {
        width: calc(100% - 122px);
    }
    .woocommerce-product-gallery .theme-image-gallery {
        order: -1;
    }
}
@media (min-width: 768px) and (hover: hover) {
    .woocommerce-product-gallery .zoom-lens {
        background: rgba(0, 0, 0, 0.3);
        position: absolute;
        height: 100px;
        width: 100px;
    }
    .woocommerce-product-gallery .zoom-lens::before {
        background: rgba(255, 255, 255, 0.2);
        bottom: 2px;
        content: '';
        left: 2px;
        position: absolute;
        right: 2px;
        top: 2px;
    }
    .woocommerce-product-gallery .zoom-image {
        background-repeat: no-repeat;
        border: 1px solid #ce9d1f;
        bottom: 10px;
        left: calc(100% + 20px);
        overflow: hidden;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
    .woocommerce-product-gallery .zoom-lens.show,
    .woocommerce-product-gallery .zoom-image.show {
        --has-display: block;
    }
}


/* 7.12 - single product summary styles */
.single-product .summary .single-product-brand a {
    --color-link: var(--color-charlie);
    --font-weight: var(--weight-light);
    --font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
}
.single-product .summary .product_title {
    color: var(--color-charlie);
}
.single-product .summary .woocommerce-Price-amount,
.single-product .summary .woocommerce-Price-currencySymbol {
    font-size: 34px;
    font-weight: var(--weight-normal);
}
.single-product .summary .single-product-sku {
    font-family: var(--font-family);
}
.single-product .summary .price {
    margin: 0;
}
.single-product .affirm-as-low-as {
    font-size: 14px;
}
.single-product .affirm-as-low-as .affirm-ala-price {
    font-size: 16px;
}
.single-product .affirm-as-low-as a.affirm-modal-trigger {
    font-size: 14px;
}
.single-product .single_add_to_cart_button, .make-appointment .button {
    background-color: var(--color-bravo) !important;
    border-radius: 30px !important;
    color: var(--color-charlie) !important;
    font-weight: var(--weight-medium) !important;
    font-size: 15px !important;
    padding: 15px 30px !important;
}

/* 7.13 - single product summary contact styles */
.share-contact-links {
    --color-link: var(--color-bravo);
    display: inline;
    padding: 0;
}

.share-contact-links a {
    display: block;
    font-size: 14px;
    font-weight: var(--weight-medium);
    text-decoration: none;
    letter-spacing: .5px;
    padding: 0.75em 0;
}

.drop-hint-button {
    display: inline;
    --color-link: var(--color-bravo);
}

.drop-hint-button a {
    display: block;
    font-size: 14px;
    font-weight: var(--weight-medium);
    text-decoration: none;
    letter-spacing: .5px;
    padding: 0.75em 0;    
}

.social-title {
    padding-top: 30px;
}

@media screen and (min-width: 992px) {
    .share-contact-links a,
    .drop-hint-button a {
        display: inline-block;
        margin-right: var(--spacing-text);
        padding: 0;
    }
}

/* 7.15 - single product description */
.single-product .product-description-wrapper {
    clear: both;
    background-color: var(--color-delta);
    padding: 70px var(--padding);
    margin-top: 40px;
}

.single-product .product-description-wrapper .accordion .item {
    padding: var(--padding) 0;
}

.single-product .product-description-wrapper .accordion .trigger {
    padding: var(--padding) 0 0 0;
    border-top: 1px solid var(--gray-light);
    letter-spacing: normal;
    font-weight: var(--weight-bold);
    cursor: pointer;
}

.single-product .product-description-wrapper .accordion .trigger i {
    font-size: 20px;
    float: right;
    padding-top: 4px;
}

.single-product .product-description-wrapper .product-description p {
    font-size: 20px;
}

.product-attributes {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 5px 1.25%;
    padding: 20px 15px;
    margin: 10px 0 20px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    color: var(--color-charlie);
}

.single-product .product-attributes .product-spec {
    padding: 30px 0 0 0;
}

.single-product .product-attributes .spec-heading {
    display: block;
    text-transform: uppercase;
}

.single-product .product-attributes .spec-label {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
}

.single-product .product-attributes .spec-value {
    font-size: 20px;
    font-weight: var(--weight-light);
}


/* 7.20 - brand summary */
.taxonomy-product_brand {
    max-width: min(90%, var(--page-width-extra));
    width: 100%;
    margin: 0 auto;
}
.taxonomy-product_brand .image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media screen and (max-width:767px) {
    .taxonomy-product_brand .image {
        width:100%;
        margin: var(--padding) 0;
        height: 300px;
    }
}
@media screen and (min-width:768px) {
    .taxonomy-product_brand {
        margin: 0 auto 50px auto;
        display: flex;
        flex-direction: row-reverse;
    }
}
/* Brand Single Product Header */
@media screen and (max-width:767px) {
    .single-product .taxonomy-product_brand {
        margin: 60px auto 0 auto;
    }
    .single-product .taxonomy-product_brand .image {
        width:100%;
        margin: var(--padding) 0;
        height: 300px;
        margin: 0;
    }
    .single-product .taxonomy-product_brand .content {
        padding: 80px 50px;
    }
}
@media screen and (min-width:768px) {
    .single-product .taxonomy-product_brand {
        padding: 50px 0;
    }
    .single-product .taxonomy-product_brand .image {
        position: relative;
        width: 70%;
    }
    .single-product .taxonomy-product_brand .content {
        width: 45%;
        padding: 80px 50px;
        box-sizing: border-box;
    }   
}
.single-product .taxonomy-product_brand .content .preheader h5::before {
    content: 'About the Brand';
    color: var(--color-charlie);
    font-family: var(--font-family-h);
    font-size: 24px;
    font-weight: bold;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    bottom: -1em;
}
.single-product .taxonomy-product_brand .content .preheader h5{
    color: var(--color-charlie);
}
.single-product .taxonomy-product_brand .content .header h3{
    color: var(--color-charlie);
    font-size: var(--font-size-h1);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}
.single-product .taxonomy-product_brand .content .body {
    font-family: var(--font-family-h);
    font-size: 20px;
    color: var(--color-charlie);
}
/* Brand Archive Header */
@media screen and (max-width:767px) {
    .archive .taxonomy-product_brand .content {
        padding-bottom: 30px;
    }
    .archive .taxonomy-product_brand .image {
        width:100%;
        margin: 0 auto;
        height: 300px;
        margin: 0;
    }
    .archive .taxonomy-product_brand .content .preheader h5{
        margin-bottom: 20px;
    }
}
@media screen and (min-width:768px) {
    .archive .taxonomy-product_brand .image {
        width: 100%;
        margin-bottom: -80px;
        margin: 0 0 -80px 30px;
    }
    .archive .taxonomy-product_brand .content {
        width: 45%;
        padding: 80px 50px;
        box-sizing: border-box;
    }    
    .archive .taxonomy-product_brand .content .preheader h5{
        margin-bottom: 50px;
    }
}
.archive .taxonomy-product_brand .content .preheader h5::before {
    color: var(--white);
    content: 'SHOP OUR SELECTION OF';
    font-weight: var(--weight-light);
    font-size: 20px;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    bottom: -1em;
}
.archive .taxonomy-product_brand .content .preheader h5{
    color: var(--white);
}
.archive .taxonomy-product_brand .content .header h3{
    color: var(--white);
    font-size: 50px;
    font-family: 'Playfair Display', serif;
}
.archive .taxonomy-product_brand .content .body{
    color: var(--white);
    font-size: 18px;
    font-weight: var(--weight-light);
}


/* 7.30 - related/archive products */
.up-sells {
    border-top: 1px solid var(--gray-light);
    padding: 70px var(--padding);
    --wp--style--global--content-size: min(90%, var(--page-width-extra));
    margin: 0 auto;
    max-width: min(90%, var(--page-width-extra));
    width: 100%;  
}
.up-sells .affirm-as-low-as {
    display:none;
}
.related-product-wrapper {
    padding: 70px var(--padding);
}

.related-product-wrapper h2 {
    letter-spacing: normal;
    padding: var(--padding) 0;
    margin: 0 0 1em 0;
}
.related-products {
    padding: 0;
}

@media screen and (min-width: 768px) {
    .related-products {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 0;
        grid-gap: 20px;
    }
}

.woocommerce ul.products li.product {
    list-style: none;
    padding: 0;
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce .archive-products-wrap ul.products {
    grid-gap: 25px;
}

.woocommerce .archive-products-wrap ul.products li.product {
    width: initial;
    margin: 0;
    max-width: 600px;
}

.woocommerce ul.products li.product .product-thumb-wrapper {
    box-sizing: border-box;
    width: 100%;
    height: 0;
    padding-bottom: calc(100% - 2px);
    text-align: center;
    border: 1px solid #bababa;
    overflow: hidden;
    margin-bottom: 25px;
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    border: 1px solid var(--gray-medium);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s;
}
.woocommerce ul.products li.product .woocommerce-placeholder {
    border: 1px solid var(--gray-medium);
}

.woocommerce ul.products li.product .woocommerce-loop-product__brand {
    color: var(--color-charlie);
    text-transform: uppercase;
    font-size: 15px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--color-charlie);
    letter-spacing: normal;
    margin: 0 0 .5rem 0;
    padding: 0;
    font-size: 22px;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price bdi {
    color: var(--color-charlie);
    font-size: 20px;
    font-weight: var(--weight-light);
}

.woocommerce ul.products li.product .learn-more {
    color: var(--color-bravo);
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
}

.woocommerce ul.products li.product .grid-brand {
    color: #ccc;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: var(--weight-medium);
}


/* 7.40 - testimonials */
.testimonial-wrapper {
    clear: both;
    color: var(--white);
    background-color: var(--color-alpha);
    padding: 70px var(--padding);
}

.testimonial-wrapper h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.testimonial-wrapper p {
    color: var(--white);
}

.testimonial-wrapper .mp-wc-button {
    display: block;
    margin: 0.5em auto;
}

.testimonial-grid {
    margin: 40px 0;
}

@media screen and (min-width: 768px) {
    .testimonial-grid {
        display: grid;
        grid-column-gap: 20px;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.new-testimonial {
    color: var(--white);
    border: 1px solid var(--color-bravo);
    padding: 55px 30px;
}

@media screen and (max-width: 767px) {
    .new-testimonial {
        margin: 0 0 var(--padding) 0;
    }
}

.new-testimonial p {
    font-size: 16px;
    color: var(--white);
}

.new-testimonial h5 {
    color: var(--color-bravo);
}

.new-testimonial strong {
    font-weight: var(--weight-bold);
}

.new-testimonial span {
    display: block;
    margin-bottom: 10px;
}

.new-testimonial span i {
    color: var(--color-bravo);
    display: inline-block;
    font-size: 30px;
}


/* 7.50 - archive product styles */
.taxonomy-product_cat {
    max-width: min(90%, var(--page-width-extra));
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}
.taxonomy-product_cat .image {
    background-repeat: no-repeat;
    background-size: contain;
}
@media screen and (max-width:767px) {
    .taxonomy-product_cat .image {
        width:100%;
        margin: var(--padding) 0;
        min-height: 300px;
    }
}
@media screen and (min-width:768px) {
    .taxonomy-product_cat {
        margin: 0 auto 50px auto;
        display: flex;
        flex-direction: row-reverse;
    }
    .taxonomy-product_cat .image {
        width: calc(69% - 30px);
        min-height: 557px;
        margin: 0 0 -80px 30px;
    }
    .taxonomy-product_cat .content {
        width: 31%;
    }    
}
.taxonomy-product_cat .content .preheader h5{
    margin-bottom: 50px;
}
.taxonomy-product_cat .content .preheader h5::before {
    color: var(--white);
    content: 'SHOP OUR SELECTION OF';
    font-weight: var(--weight-light);
    font-size: 20px;
    text-transform: none;
    letter-spacing: normal;
    position: relative;
    bottom: -1em;
}
.taxonomy-product_cat .content .header h3{
    color: var(--white);
    font-size: 50px;
}
.taxonomy-product_cat .content .body{
    font-size: 18px;
    font-weight: var(--weight-light);
}
.archive.woocommerce main .archive-products-wrap {
}
.archive.woocommerce main .woocommerce-ordering {
    justify-self: end;
}
.archive.woocommerce main ul.products {
    --grid-columns: 1;
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), 1fr);
}

@media (min-width: 768px) {
    .archive.woocommerce main .archive-products-wrap:has(div.product-filters-wrap) {
        grid-template-columns: 280px 1fr;
    }
    .archive.woocommerce main .breadcrumbs,
    .archive.woocommerce main .woocommerce-notices-wrapper,
    .archive.woocommerce main .woocommerce-ordering {
        grid-column: 1/3;
    }
    .archive.woocommerce main ul.products {
        --grid-columns: 2;
    }
}
@media (min-width: 992px) {
    .archive.woocommerce main ul.products {
        --grid-columns: 3;
    }
}


.archive .woocommerce-products-header {
    background: var(--color-alpha);
    color: var(--white);
    margin-bottom: var(--padding);
}

@media screen and (min-width: 768px) {
    .archive .woocommerce-products-header {
        margin-bottom: 100px;
    }
    .archive .brand-product-summary {
        width: 25%;
        margin-right: 70px;
    }
}

.archive .brand-product-summary .brand-pre-title {
    color: var(--white);
    font-size: 18px;
    font-weight: var(--weight-light);
}

.archive .brand-product-summary .page-title {
    color: var(--white);
    margin: 60px 0 40px 0;
}

.archive .brand-product-summary .term-description p {
    color: var(--white);
    font-size: 18px;
}

@media screen and (min-width: 768px) {
    .brand-page .brand-product-image .brand-thumbnail {
        position: absolute;
        width: calc((var(--page-width-extra) * .75) - 70px);
        max-width: 992px;
        max-height: 577px;
    }

    .archive-grid.brand-page {
        padding-top: 100px;
    }
}

.archive .affirm-as-low-as {
    display:none;
}

/* 7.51 - archive brand callout */
.brand-callout {
    background: var(--color-alpha);
    color: var(--white);
    padding-top: var(--padding);
    margin-bottom: 100px;
}

.brand-callout .callout {
    margin: 0 0 30px;
    display: flex;
}

.brand-callout .image {
    width: 100%;
    margin-bottom: -80px;
    position: relative;
    background-size: cover;
    background-position: center;
    order: 2;
}

.brand-callout .content {
    background: transparent;
    text-align: left;
    width: 45%;
    padding: 20px 50px 80px 0;
    box-sizing: border-box;
}

.brand-callout .preheader {
    font-weight: var(--weight-light);
    font-size: 20px;
    color: var(--white);
    text-transform: uppercase;
}

.brand-callout .header h1 {
    color: var(--white);
}

.brand-callout .header {
    margin: 40px 0 27px 0;
}

.brand-callout .content .body {
    font-weight: var(--weight-light);
}

.woocommerce .woocommerce-ordering::before {
    content: 'Sort by:';
    line-height: 0;
    height: 0;
    position: relative;
    padding: 0;
    display: block;
    margin: 0 0 -17px -60px;
    color: var(--color-charlie);
    font-weight: var(--weight-medium);
    font-size: 14px;
}

.woocommerce .woocommerce-ordering select.orderby {
    border: 1px solid var(--black) !important;
    border-radius: unset;
    background: transparent;
    color: var(--color-charlie);
    cursor: pointer;
    font-size: 14px;
    font-weight: var(--weight-medium);
    padding: 5px 10px;
}

.woocommerce .woocommerce-ordering select.orderby:focus {
    border: 0;
    background: transparent;
    outline: none;
}


/* 7.52 - archive product filters */
.product-filters-wrap {
    padding-right: 1em;
}
form.selected-filters {
    gap: 5px var(--gap);
    border-bottom: 1px solid var(--black);
    margin-bottom: var(--padding);    
}
form.selected-filters .selected-filter:last-child {
    padding-bottom: var(--padding);
}
.selected-filters input[type=checkbox] {
    --size: 1em;
}
.selected-filters label {
    --font-weight: var(--weight-light);
    display:inline-block;
    font-size: var(--font-size-sm);
    padding-left: 5px;
}
form.selected-filters button.clear-all {
    width: 100%;
}
.product-filters {
    --color-text: var(--color-charlie);
    color: var(--color-text);
    text-transform: uppercase;
}
.product-filters .filter-set .filter-label {
    cursor: pointer;
    font-weight: var(--weight-medium);
    font-size: 15px;
    letter-spacing: 1px;
}
.product-filters .filter-set {
    --padding: 6px;
}
.product-filters .filter input {
    display: none;
}
.product-filters .filter label {
    --font-weight: var(--weight-light);
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
}
.product-filters .filter input:checked + label {
    --font-weight: var(--weight-bold);
}

/* 7.53 - pagination */
nav.woocommerce-pagination {
    margin-bottom: 2em;
}
@media all and (min-width: 768px) {
    nav.woocommerce-pagination {
        grid-column: 1/3;
    }
}

/* 7.60 - on sale */
.woocommerce span.onsale {
    min-height: 3em;
    min-width: 3.5em;
    background-color: var(--color-bravo);
}
.product .price del .woocommerce-Price-amount {
    text-decoration: line-through;
}

/* 7.70 - cart and checkout */
a.checkout-button {
    background-color: var(--color-bravo) !important;
    color: var(--color-charlie) !important;
}
.ywgc_enter_code {
    border: none;
    margin: 0 0 2em 0;
    padding: 0 10px;
}
.woocommerce form.checkout_coupon {
    border: none;
    margin: 0;
    padding: 0 10px;
}
.ywgc_enter_code input[type=text],
.checkout_coupon input[type=text] {
    border-radius: 0;
    padding: 5px;
}
.ywgc_enter_code button.ywgc_apply_gift_card_button,
.checkout_coupon button {
    background-color: var(--color-bravo) !important;
    color: var(--color-charlie) !important;
}
.woocommerce-cart-form .quantity input[type=number] {
    border-radius: 0;
    padding: 5px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text  {
    min-width: 300px;
    padding: 5px 20px;
}
.woocommerce-shipping-methods input[type=radio] {
    width:auto;
}
.woocommerce-checkout-payment input[type=radio] {
    width:auto;
}
.woocommerce-checkout-payment li.wc_payment_method > label {
    display: inline-block;
}
form.checkout,
form.woocommerce-cart-form,
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
    --wp--style--global--content-size: min(90%, var(--page-width));
    margin: 0 auto;
    max-width: min(90%, var(--page-width));
    width: 100%;
}
form.checkout input,
form.checkout select,
form.checkout text-area {
    --border-radius: 0;
    padding: 5px var(--padding);
}
form.checkout #customer_details .col-1,
form.checkout #customer_details .col-2 {
    width: 100%;
    float: unset;
}
form.checkout #customer_details .col-2 {
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    margin: 2rem 0;
    padding: 2rem 0;
}
h3#ship-to-different-address input#ship-to-different-address-checkbox {
    --size: .7em;
}
h3#ship-to-different-address span {
    --font-size: 22px;
}
button#place_order {
    background-color: var(--color-bravo);
    color: var(--color-charlie);
}
.woocommerce-order-pay .woocommerce-notices-wrapper {
    margin-top:50px;
}
