/*
 Theme Name:   Storefront Child
 Theme URI:    https://usgiftcodes.com/
 Description:  Child theme for Storefront
 Author:       Alexey Kosov
 Template:     storefront
 Version:      1.0.0
 Text Domain:  storefront-child
*/

:root{
    --sf-accent: #0d6efd;
}

.site-branding .site-description {
    font-size: 1em;
    font-weight: 600;
    margin-top: 7px;
}

@media(min-width: 768px) {
    .site-header .site-branding {
    }

    .site-header .site-branding img {
        height: 75px;
        max-width: 350px;
        max-height: none;
        margin-left: -20px;
    }
}

.home.post-type-archive-product .site-header {
    margin-bottom: 1em;
}

/** moves the shopping cart icon from the right to the left **/
@media (min-width: 768px) {
    .site-header-cart .cart-contents::after {
        float: left;
        margin-right: 7px;
    }
}

/** current user - show in header only on desktop **/
.site-header .col-full {
    position: relative;
}

.site-header .usgc-header-user {
    display: none;
}

@media (min-width: 768px) {
    .site-header .usgc-header-user {
        min-height: 101px;
        display: flex;
        align-items: flex-end;
    }

    .site-header .usgc-header-user-inner {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .site-header .usgc-header-user i {
        line-height: 1;
    }
}

/** makes the home page (and other pages with no sidebar) full-width **/
@media (min-width: 768px) {
    .none-sidebar .content-area {
        width: 100%;
        margin-right: 0;
    }
}

/** removes a huge margin under breadcrumbs */
@media (min-width: 768px) {
    .storefront-breadcrumb {
        margin-bottom: 1em !important;
    }
}

/** footer **/

.footer-widgets {
    --wp--preset--font-size--medium: 20px;
}

@media (min-width: 768px) {
    .footer-widgets {
        padding-top: 0;
    }
}

.footer-widgets .widget {
    margin-bottom: 0;
}

.footer-widgets .widget .wp-block-heading {
    font-weight: 500;
}

.copyright-links {
    padding-left: 20px;
}

.site-footer {
    padding-bottom: 1.618em;
}

.site-info {
    padding-bottom: 0;
}

/** simplify checkout **/

/* hides Proceed to Checkout button from Cart */
/*
.wc-block-cart__submit {
    display: none;
}
 */

/* hides "Or" from Cart (before the hidden Checkout button) */
/*
.wc-block-cart__payment-options .wc-block-components-express-payment-continue-rule {
    display: none;
}
 */

.wc-block-checkout__billing-fields > legend,
.wc-block-checkout__billing-fields > .wc-block-components-checkout-step__heading-container {
    display: none;
}

/* hides Checkout button from mini-cart popup */
/*
.widget_shopping_cart .buttons.woocommerce-mini-cart__buttons a.checkout {
    display: none;
}
 */

/** fixing margin & padding in mini-cart popup **/
/*
.widget_shopping_cart .buttons.woocommerce-mini-cart__buttons a {
    margin-bottom: 0;
}

.widget_shopping_cart .buttons.woocommerce-mini-cart__buttons + .woocommerce-mini-cart__buttons {
    padding-top: 0;
}
*/

.wp-block-woocommerce-checkout #ppcp-recaptcha-v2-container {
    margin: 0 !important;
}

.wp-block-woocommerce-checkout-contact-information-block {
    margin-bottom: 12px !important;
}
