/**
Theme Name: East Coast Throwdown Merch
Author: GamingGen
Author URI: https://gaminggenerations.com
Description: Astra child theme for East Coast Throwdown event merchandise. 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gaming-gen-event-merch
Template: astra
*/

.home .woocommerce-no-products-found {
	display: none;
}

#masthead .ast-container {
    max-width: 1600px;
    padding-left: 0;
    padding-right: 0;
}

.home .home-banner {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
} 


.home #primary {
    margin-top: 0;
}

.home-free-shipping-notice,
.home .home-banner {
    margin-bottom: 40px;
}

.home .cfvsw-swatches-container {
    margin: 0 auto;
    justify-content: center;
    grid-gap: 5px;
}

.single-product form.cart {
    margin-bottom: 25px;
}

.single-product .custom-notice-wc-meta {
    margin-bottom: 15px;
    font-size: 14px;
}

.variations_form .cfvsw-swatches-option {
    color: #fff;
    background-color: var(--ast-global-color-1);
}

.variations_form .cfvsw-swatches-option:hover,
.variations_form .cfvsw-swatches-option.cfvsw-selected-swatch {
    border: 1px solid var(--ast-global-color-0) !important;
}

.cfvsw-swatches-option .cfvsw-swatch-inner {
    align-items: unset;
}

.back-to-shop-link-wrap {
    margin-bottom: 20px;
}

.back-to-shop-link-wrap .back-to-shop-link {
    display: flex;
    width: fit-content;
    color: #fff;
}

.back-to-shop-link-wrap .back-to-shop-link:hover {
    color: #ff0000;
}

.back-to-shop-link-wrap .back-to-shop-link span {
    transition: margin-right .4s;
}

.back-to-shop-link-wrap .back-to-shop-link:hover span {
    margin-right: 7px;
}

.woocommerce-cart .cart-collaterals .cart_totals>h2 {
    color: var(--ast-global-color-0);
    font-weight: 500;
}

.astra-cart-drawer .astra-cart-drawer-header .astra-cart-drawer-title,
.astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__total.total strong {
    color: var(--ast-global-color-2);
}

.astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__total.total .amount {
    color: #fff;
}

.woocommerce-loop-product__title {
    color: var(--ast-global-color-0);
}

.woocommerce-message::before, .woocommerce-info::before {
    color: var(--ast-global-color-0);
}

.ast-site-header-cart .ast-site-header-cart-data .widget_shopping_cart_content a:not(.button),
.astra-cart-drawer .widget_shopping_cart_content a:not(.button),
.ast-site-header-cart .ast-site-header-cart-data .widget_shopping_cart_content a:not(.button):hover, 
.astra-cart-drawer .widget_shopping_cart_content a:not(.button):hover {
    color: var(--ast-global-color-0);
}

.woocommerce .widget_shopping_cart .cart_list li a.remove, .woocommerce.widget_shopping_cart .cart_list li a.remove,
.woocommerce .widget_shopping_cart .cart_list li a.remove:hover, .woocommerce.widget_shopping_cart .cart_list li a.remove:hover {
    color: white;
}

.woocommerce-js a.remove:before {
    border: 1px solid white;
}

.woocommerce-js a.remove:hover:before {
    border: 1px solid #ff0000;
}

.woocommerce-cart svg.ast-close-svg {
    fill: white;
}

.woocommerce-cart a.remove:hover svg.ast-close-svg {
    fill: #ff0000;
}

.woocommerce .widget_shopping_cart .cart_list li a.remove, .woocommerce.widget_shopping_cart .cart_list li a.remove,
.woocommerce-js a.remove {
    opacity: 1;
}

.woocommerce .widget_shopping_cart .cart_list li a.remove:hover, .woocommerce.widget_shopping_cart .cart_list li a.remove:hover {
    opacity: 1;
    color: #ff0000;
}

.astra-cart-drawer .astra-cart-drawer-content .widget_shopping_cart_content ul li {
    border-bottom: none;
}

.astra-cart-drawer-close svg {
    fill: #fff;
}

.single-product .summary h1.product_title{
    color: #ff0000;
}

.single-product table.variations {
    border: 3px solid;
    border-image-source: 
        linear-gradient(
            90deg,
            var(--ast-global-color-1),
            #FF0000 25%,
            #FF0000 75%,
            var(--ast-global-color-1)
        );
    border-image-slice: 1;
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

.tp-image-hover {
	transition: opacity 0.1s;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
    display: flex;
    gap: 1em;
}

.woocommerce div.product div.images .flex-control-thumbs {
    order: 1;
    display: flex;
    flex-basis: 35%;
    flex-direction: column;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1em;
}

.woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport {
    order: 2;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
   border: 1px solid var(--ast-global-color-1);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before {
    border-color: var(--ast-global-color-1);
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
    background: var(--ast-global-color-1);
}

.woocommerce-js table.shop_table td, .woocommerce-page table.shop_table td {
    border-top: none;
}

.woocommerce-js table.shop_table, .woocommerce-page table.shop_table {
    border-top: 0;
}

.woocommerce-cart .select2-results__option,
.woocommerce-checkout .select2-results__option {
    color: #000;
}

.site-footer {
    margin-top: 4em;
}

.custom-notice-shop {
    text-align: center;
    font-size: 14px;
    padding: 0 20px;
}

.single-product .custom-notice-wc-meta .ship-time-notice,
.custom-notice-shop {
    color: #ff0000;
}

.woocommerce-message .reprint-alert {
    margin-bottom: 0;
}

@media screen and (min-width: 1921px) { 
    .home .home-banner {
        background-size: 1920px !important;
    }
}

@media screen and (max-width: 1920px) { 
    .home .home-banner {
        background-size: contain !important;
        min-height: unset !important;
        aspect-ratio: 16/5 !important;
    }
}

@media screen and (max-width: 1600px) {
    #masthead .ast-container {
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media screen and (min-width: 921px) {

    .woocommerce-cart .woocommerce .shop_table.cart th {
        color: var(--ast-global-color-0);
    }

    .woocommerce-cart .woocommerce .shop_table.cart tr td:first-child {
        border-left: 1px solid var(--ast-global-color-3);
    }

    .woocommerce-cart .woocommerce .shop_table.cart tr td:last-child {
        border-right: 1px solid var(--ast-global-color-3);
    }
}

@media screen and (max-width: 921px) {

    .home .home-banner {
        background-size: cover !important;
        min-height: 500px !important;
        aspect-ratio: unset !important;
    }

    .woocommerce-js table.shop_table, .woocommerce-page table.shop_table {
        border-top: 1px solid var(--ast-global-color-0);
    }

    #primary {
        padding-top: 0;
    }

    .single-product.ast-plain-container.ast-no-sidebar #primary {
        margin-top: 2em;
    }

    .single-product .woocommerce-product-gallery, 
    .single-product .summary.entry-summary,
    .back-to-shop-link-wrap {
        max-width: 600px;
    }

    .single-product .ast-woocommerce-container .tablet-align-center.mobile-align-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .single-product .summary.entry-summary,
    .woocommerce-js div.product form.cart .variations td 
    {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .woocommerce.single-product .woocommerce-variation-add-to-cart {
        display: flex;
        justify-content: center;
    }

    .single-product form.cart {
        width: 100%;
    }

    .single-product form.cart:not( .variations_form ) {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .back-to-shop-link-wrap {
        margin-right: auto;
    }

    footer.site-footer {
        margin-top: 4em;
    }
}

@media screen and (max-width: 782px) {
    .home .cfvsw-swatches-container {
        grid-gap: 4px;
    }
} 

@media screen and (max-width: 700px) { 
    .woocommerce div.product div.images.woocommerce-product-gallery {
        flex-direction: column;
        gap: 0.5em;
    }

    .woocommerce-js div.product div.images.woocommerce-product-gallery .flex-viewport {
        margin-bottom: 0;
    }

    .woocommerce div.product div.images .flex-control-thumbs {
        order: 2;
        flex-direction: row;
    }
    
    .woocommerce div.product div.images .flex-control-thumbs li {
        width: calc(25% - 0.75em);
        max-width: 100px;
        margin-right: 0.5em;
        margin-bottom: 0;
    }
    
    .woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport {
        order: 1;
    }
}

@media screen and (max-width: 600px) {
    .home .home-banner {
        min-height: 300px !important;
    }
}