/*
Theme Name: Supro Child
Theme URI: http://drfuri.com/supro
Author: DrFuri
Author URI: http://drfuri.com
Description: Supro Child Theme.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supro
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: supro
*/
@font-face {
    font-family: 'SilverSouthScript';
    src: url('SilverSouthScript.woff2') format('woff2'),
        font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/*
Customization Start
Delivery date for the single product page
[110325]
*/
.woocommerce div.product .header-summary:has(~ .supro-estimated-delivery-date) {
    margin-bottom: 14px;
}

.supro-estimated-delivery-date {
    color: #222222;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.supro-estimated-delivery-date img {
    height: 28px;
    margin-right: 10px;
}


/*
Cart and Checkout page overrides
[110325]
*/

/*
Customization Start
Hiding price for variable products that have price altering required Add ons
[100824]
*/
.product-has-addons .single_variation_wrap .woocommerce-variation-add-to-cart .woocommerce-variation-price {
    display: none;
}

/* Cart and Checkout page overrides */
body .supro-child-cart-layout,
body .we-woocommerce-checkout {
    font-family: "Quicksand", Arial, sans-serif;
}

.we-woocommerce-checkout,
.supro-child-cart-layout {
    width: auto !important;
    max-width: 1000%;
    margin-right: calc(25% - 25vw);
    margin-left: calc(25% - 25vw);
}

.woocommerce-cart .woocommerce .supro-child-cart-layout .cart-collaterals {
    margin-top: 0;
}

.woocommerce-cart .woocommerce .supro-child-cart-layout .cart-collaterals .cart_totals table.shop_table {
    background-color: #f5f5f5;
    padding: 24px 29px 21px;
    border: none;
    border-bottom: 1px solid hsla(0, 0%, 7%, .11);
    margin-bottom: 16px;
}

@container (min-width: 700px) {
    .wc-block-cart__main .wc-block-cart-items td:last-child {
        padding-right: 16px;
    }
}

.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr .variation-group,
.woocommerce-cart .woocommerce .supro-child-cart-layout .variation-group {
    display: flex;
    align-items: center;
    font-size: 11px;
    text-transform: capitalize !important;
    line-height: 1.2;
    gap: 5px;
}

.woocommerce .woocommerce-checkout.we-woocommerce-checkout table.shop_table tr td.product-name dl.variation dt,
.woocommerce .woocommerce-checkout.we-woocommerce-checkout table.shop_table tbody td.product-name dl.variation dt {
    color: #000;
}

.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr .variation-group p,
.woocommerce-cart .woocommerce .supro-child-cart-layout .variation-group p {
    margin: 0;
    font-size: 11px;
}


.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr dt,
.woocommerce-cart .woocommerce .supro-child-cart-layout dt {
    font-size: 11px;
    font-weight: bold;
}
.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr dd,
.woocommerce-cart .woocommerce .supro-child-cart-layout dd {
    margin-left: 0;
}

.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr dd.variation-PrintSize,
.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr dd.variation-EXPERTFRAMING,
.woocommerce-cart .woocommerce .supro-child-cart-layout dd.variation-PrintSize,
.woocommerce-cart .woocommerce .supro-child-cart-layout dd.variation-EXPERTFRAMING {
    margin-left: 0;
}

.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr dt.variation-PrintSize,
.woocommerce-cart .woocommerce .supro-child-cart-layout dt.variation-PrintSize {
    font-size: 11px;
    font-weight: bold;
}

.woocommerce-cart .woocommerce .supro-child-cart-layout .ssgwwo-edit-cart-item {
    text-decoration: underline;
    margin-right: 10px;
}

.woocommerce-cart .woocommerce .supro-child-cart-layout .ssgwwo-edit-cart-item:hover {
    text-decoration: none;
}

.woocommerce-cart .woocommerce .supro-child-cart-layout span.increase,
span.decrease {
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    color: #929292;
}

.woocommerce .supro-child-cart-layout .quantity {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.woocommerce-cart .woocommerce .supro-child-cart-layout .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
    padding-inline: 5px;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table .supro-cart-shipping-title,
.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-toggle-coupons-form,
.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table th {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 0;
    color: #555;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table td {
    padding: 8px 0;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-toggle-coupons-form {
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding-right: 0;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-coupons-form {
    border: none;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-coupons-form-inner {
    padding-top: 8px;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-coupons-form>td {
    padding: 0;
    border: none;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-coupons-form>td .input-text {
    width: calc(100% - 124px) !important;
    height: 52px;
    padding-block: 16px;
    min-width: unset;
    vertical-align: middle;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-coupons-form>td button {
    width: 120px;
    padding: 0;
    font-size: 9px;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-toggle-coupons-form svg {
    fill: currentColor;
    transition: transform 0.25s ease;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals.we-shop-table table.shop_table #ssgwwo-toggle-coupons-form.active svg {
    transform: scale(-1);
}

@media screen and (max-width: 715px) {
    .woocommerce-cart .woocommerce .supro-child-cart-layout .wc-block-cart table.wc-block-cart-items tr {
        border-top: 1px solid #efefef;
    }

    .woocommerce-cart .woocommerce .supro-child-cart-layout .wc-block-cart table.wc-block-cart-items tr.wc-block-cart-items__row td {
        padding-top: 0;
    }
}

/* //Checkout page */

.woocommerce-checkout {
    background-color: #fff;
}

.we-woocommerce-checkout {
    display: flex;
    gap: 40px;
}

.we-woocommerce-checkout .checkout-fields {
    flex: 1;
}

.we-woocommerce-checkout .checkout-sidebar {
    flex: 0 0 30%;
}

.we-woocommerce-checkout .woocommerce-billing-fields,
.we-woocommerce-checkout .woocommerce-shipping-fields,
.we-woocommerce-checkout .woocommerce-additional-fields {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
}

.woocommerce-checkout form.we-woocommerce-checkout .woocommerce-form__label>span:before {
    top: 4px;
    color: #000;
}

.woocommerce-checkout form.we-woocommerce-checkout h3 {
    margin-bottom: 0;
}

.woocommerce-checkout form.we-woocommerce-checkout h3+.shipping_address {
    padding-top: 30px;
}

.woocommerce-checkout.we-woocommerce-checkout .checkout-sidebar .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.we-woocommerce-checkout .woocommerce-checkout-review-order {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
}

.woocommerce-checkout form.we-woocommerce-checkout .woocommerce-checkout-review-order table {
    border: 1px solid #222;
    padding: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.woocommerce-checkout.we-woocommerce-checkout table.shop_table tr {
    font-size: 12px;
}

.woocommerce-checkout.we-woocommerce-checkout .checkout-sidebar #payment ul.payment_methods {
    padding: 15px;
}

.we-checkout-wrapper .woocommerce-form-coupon-toggle {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 50%;
    max-width: 400px;
    padding: 20px;
    border-radius: 8px;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Show popup */
.we-checkout-wrapper .woocommerce-form-coupon-toggle.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Overlay */
#coupon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Show overlay */
#coupon-overlay.active {
    opacity: 1;
    visibility: visible;
}

#coupon-code-wrap td {
    width: 100%;
    text-align: left;
}

button#trigger-coupon {
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    color: #000;
    box-shadow: none;
    padding: 0;
    outline: none !important;
}

button#trigger-coupon:hover {
    text-decoration: none;
}

.woocommerce-checkout form.we-woocommerce-checkout .checkout-sidebar table.shop_table thead tr th {
    padding-top: 0;
}

.woocommerce-checkout form.we-woocommerce-checkout .checkout-sidebar .cart_item:not(:last-child) td {
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #eaeaea;
}

.woocommerce-checkout form.we-woocommerce-checkout .checkout-sidebar .cart_item:last-child td {
    padding-top: 20px;
}

.woocommerce-checkout form.we-woocommerce-checkout .checkout-sidebar td.product-name {
    display: flex;
}

.woocommerce-checkout form.checkout h3 {
    font-size: 22px;
}

.woocommerce-checkout form.we-woocommerce-checkout .checkout-sidebar h3.supro-cart-shipping-title {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}


.woocommerce-checkout form.we-woocommerce-checkout .form-row .select2-container .select2-selection--single {
    border: 1px solid #222;
    border-radius: 4px;
}

.woocommerce-checkout form.we-woocommerce-checkout .form-row .select2-container .select2-selection--single .select2-selection__arrow {
    top: 54%;
    transform: translateY(-50%);
}

.woocommerce form .checkout-fields .form-row textarea.input-text{
    resize: none;
}

.woocommerce-checkout .checkout-sidebar table.shop_table .order-total .woocommerce-Price-amount {
    font-size: 16px;
    color: #000 !important;
}

.woocommerce-checkout .checkout-sidebar #payment div.payment_box {
    padding: 10px 0;
}

.woocommerce-checkout .checkout-sidebar #payment {
    border: 1px solid #222;
    border-bottom: none;
}

.woocommerce-checkout .checkout-sidebar #payment .payment_box .form-row input {
    height: auto
}

.woocommerce-checkout .checkout-sidebar #payment .payment_box .form-row label {
    font-size: 14px;
    color: #000;
}

.woocommerce-checkout .checkout-sidebar .wc-block-components-product-details {
    padding: 0;
}

.woocommerce-checkout .checkout-sidebar .wc-block-components-product-details li {
    list-style-type: none;
    padding: 0;
}

@media screen and (max-width: 991px) {
    .we-woocommerce-checkout {
        flex-direction: column;
    }

    .we-woocommerce-checkout .checkout-fields {
        flex: unset;
    }

    .we-woocommerce-checkout .checkout-sidebar {
        flex: 0 0 100%;
    }

    .we-checkout-wrapper .woocommerce-form-coupon-toggle {
        width: 90%;
    }
}