/*
 Theme Name:   Storefront Child
 Theme URI:    
 Description:  Storefront Child Theme
 Author:       Camille Mai
 Author URI:   http://camilledavis.com
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  storefront-child
*/

.site-header {
    padding-top: 1rem;
    background: rgb(170,0,0);
    background: linear-gradient(74deg, rgb(170, 0, 0) 0%, rgb(244, 99, 99) 100%);
    border-bottom: 0;
    padding-bottom: 0;
}

.site-header, .home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-header, .home.post-type-archive-product .site-header {
    margin-bottom: 1.7rem;
}

.woocommerce-active .site-branding,
.site-branding {
    width: 100%;
    float: none;
}

.site-branding, .site-search, .site-header-cart, .site-logo-anchor, .site-logo-link, .custom-logo-link {
    margin-bottom: -.3rem;
}

.site-branding h1.site-title {
    color: #fff;
    font-size: 2.6em;
}

.site-branding h1.site-title a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-weight: normal;
}

.primary-navigation {
    display: block;
}

.storefront-primary-navigation {
    background: #861509;
    padding: .9em 0;
}

.site-title img {
    width: 2.4em;
    margin-right: .4em;
}

h1.site-title a:hover span,
h1.site-title a:focus span {
    text-decoration: underline;
}

.main-navigation ul li a {
    font-size: 1.2em;
}

.main-navigation ul li a:hover,
.main-navigation ul li a:focus {
    text-decoration: underline;
}

.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
    padding: .1em 1em;
}

#secondary h2 {
    padding: 1rem;
    background: #a00;
    color: #fff;
    margin: -1rem -1rem 1rem;
    font-size: 1.6em;
    font-weight: normal;
}

#secondary .textwidget {
    background: #e8e8e8;
    padding: 1rem;
    font-size: 1rem;
}

.custom-product-loop-left img {
    width: 100%;
}

.custom-product-loop-left a.button {
    width: 100%;
    text-align: center;
}

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

    .storefront-sorting {
        margin-bottom: 1.7rem;
    }

    .left-sidebar .widget-area {
        width: 26%;
        margin-right: 3%;
    }

    .left-sidebar .content-area {
        width: 71%;
    }

    .woocommerce-active .site-header .site-header-cart {
        margin-top: 2.6rem;
    }

    .custom-product-loop-left {
        width: 25%;
        float: right;
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

}

@media screen and (max-width: 767px) {
    
    .site-title img {
        width: 5.6rem;
    }

    .site-branding h1.site-title {
        font-size: 2em;
    }

    .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
        padding: .1em 0;
    }

    .custom-product-loop-left {
        margin-bottom: 1.7rem;
    }

    .single-product div.product .woocommerce-product-gallery img {
        width: 100%;
    }
/*
    .site-footer {
        margin-bottom: 3.1rem;
    }*/

}

.widget-area .widget a, .hentry .entry-header .posted-on a, .hentry .entry-header .post-author a, .hentry .entry-header .post-comments a, .hentry .entry-header .byline a {
    color: #a00;
}

p {
    margin: 0 0 1em;
}

.widget {
    margin: 0 0 1.7rem;
}

.widget p:last-child {
    margin-bottom: 0;
}

.widget-area {
    margin-bottom: 0;
}

.content-area {
    margin-bottom: 1.7rem;
}

.site-footer {
    padding: 0;
    text-align: center;
    margin-top: auto;
}

.storefront-breadcrumb {
    padding: 0 0 1.7rem;
    margin: 0;
}

.site-header-cart .cart-contents {
    padding: 0;
}

.woocommerce-tabs ul.tabs {
    display: none;
}

.woocommerce-tabs .panel {
    width: 100%;
    float: none;
}

.woocommerce-tabs {
    padding: 0;
}

.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 2.4rem;
}

.single-product div.product .images, .single-product div.product .summary, .single-product div.product .woocommerce-product-gallery {
    margin-bottom: 2.4rem;
}

.edit-link {
    display: none;    
}

img {
    border-radius: 0;
}

.site-content > .col-full > .woocommerce > .woocommerce-message:first-child, .site-content > .col-full > .woocommerce > .woocommerce-info:first-child, .site-content > .col-full > .woocommerce > .woocommerce-error:first-child {
    margin-top: 0;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
    margin-bottom: 1.7rem;
}

ul.custom-products {
    margin-left: 0;
    list-style: none;
}

.custom-products li {
    margin-bottom: 2rem;
}

.hentry {
    margin: 0;
}

.site-main {
    margin-bottom: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: normal;
}

.storefront-handheld-footer-bar {
    display: none;
}

/*
.site-header, .secondary-navigation ul ul, .main-navigation ul.menu > li.menu-item-has-children::after, .secondary-navigation ul.menu ul, .storefront-handheld-footer-bar, .storefront-handheld-footer-bar ul li > a, .storefront-handheld-footer-bar ul li.search .site-search, button.menu-toggle, button.menu-toggle:hover {
    background-color: #a00;
    box-shadow: none;
    border: 0;
}

.storefront-handheld-footer-bar ul li > a {
    border: 0;
    height: 3.1rem;
}

.storefront-handheld-footer-bar ul li > a::before {
    font-size: 1.2rem;
}*/

.woocommerce-active .site-header .main-navigation {
    width: 100%;
}

.site-search {
    display: block;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pagination {
    font-size: 1.2rem;
}

.pagination .page-numbers {
    padding: 0 .2rem;
}

/* reviews */

#tab-reviews,
#tab-additional_information {
    display: block !important;
}

/* widgets */

.widget-area .widget {
    font-size: 1rem;
}

/* login widget */

.logged-in .widget_login_widget {
    display: none;
}

.widget_login_widget .login-username,
.widget_login_widget .login-password {
    display: flex;
    flex-direction: column;
}

.woocommerce-form-login__rememberme {
    margin-bottom: 1em;
}

/* filter by */

.category-list {
    display: flex;
    align-items: baseline;
}

.category-list p {
    font-size: 1rem;
    margin-right: .4em;
}

/* sorting */

.storefront-sorting {
    font-size: 1rem;
}

.storefront-sorting p {
    margin-bottom: .6em;
}

/* search */

.aws-container .aws-search-field {
    font-size: 1rem;
}

.aws-search-result {
    font-size: 1rem;
    line-height: 1.6;
}

/* shipping */

.woocommerce-cart .woocommerce-shipping-destination {
    display: none;
}
