/*
Theme Name:   Storefront-Child
Author:       Make Noise
Template:     storefront
Version:      1.0.0
Tested up to: 6.2.2
Requires PHP: 5.6.0
*/

/* Body */

body,button,input,textarea {
    font-family: 'Source Code Pro', monospace;
} 

img {
    border-radius: 0px;
}

/* ul {
    list-style: none;
} */

/* Header */

.site-header::before {
    display: none;
}

div.site-branding {
    width: 100% !important;
}

.woocommerce-active .site-header .site-branding {
    margin: 0;
    text-align: center;
}

.custom-logo-link {
    display: inline !important;
    text-align: center;
}

@media(min-width: 768px) {
    .site-branding {
        text-align: center;
    }
}

.site-branding a img {
    display: inline;
}

#masthead {
    margin-bottom: 0px;
}

.header-widget-region {
    border-bottom: 1px solid #666;
}

/* Header nav bar */

.primary-navigation {
    text-align: center;
    font-size: 12px;
}

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

.main-navigation ul.menu, .main-navigation ul.nav-menu {
    margin: 0;
}

li.current_page_item a {
    text-decoration: underline;
}


/* Main content */

body .is-layout-grid {
    justify-items: center;
}

.entry-content {
    text-align: left;
}

@media (max-width: 600px) {
    .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
        margin-left: 0;
    }
}

/* ul {
    margin-left: 0;
} */

ul.wp-block-post-template-is-layout-grid li {
    position: relative;
}

.wp-block-post-title {
    position: absolute;
    text-align: left;
    top: 20px;
    left: 20px;
    width: 260px;
    opacity: 0;
    z-index: 10;
}

.hentry .entry-content a {
    text-decoration: none;
}

.wp-block-post-featured-image a {
    width: 300px;
    height: 300px;
    padding: 24px;
    border: 1px solid #666;
}

figure.wp-block-post-featured-image img {
    object-fit: contain !important;
    vertical-align: middle;
    max-width: 250px;
    height: 100%;
}

ul.wp-block-post-template-is-layout-grid li:hover a img {
    opacity: .25;
}

ul.wp-block-post-template-is-layout-grid li:hover h2 {
    opacity: 1;
}

ul.wp-block-post-template-is-layout-grid li {
    pointer-events: none;
}
ul.wp-block-post-template-is-layout-grid li a {
    pointer-events: all;
}

@media (min-width: 66.4989378333em) {
 .storefront-align-wide.page-template-template-fullwidth-php .hentry .entry-content .alignwide, .storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide {
    margin-left: 0px;
    margin-right: 0px;
 }
}


/* details ul {
    list-style: disc !important;
} */

/* Woocommerce */

.stock.in-stock::before {
    display: none;
}

.stock.out-of-stock::before {
    display: none;
}

ul.columns-3 {
    text-align: center;
    margin-left: 0;
}

ul.products li.product {
    display: inline-block;
}

a.woocommerce-LoopProduct-link {
    width: 300px;
    height: 300px;
    padding: 24px;
    border: 1px solid #666;
}

.woocommerce-loop-product__title {
    text-align: left;
    font-size: 2em !important;
    font-weight: 300 !important;
    position: relative;
    top: -250px;
    z-index: 10;
    opacity: 0;
}

ul.products li.product img {
    margin: 0;
    object-fit: contain !important;
    vertical-align: middle;
    max-width: 250px;
    height: 100%;
}

ul.products li.product:hover img {
    opacity: .25;
}

ul.products li.product:hover .woocommerce-loop-product__title {
    opacity: 1;
}

span.select2-results {
    color: #000;
}

.wp-block-heading {
    text-align: center;
    margin: 20px 0;
}

#primary {
    margin-top: 20px;
    margin-bottom: 0;
}

footer {
    border-top: 1px solid #666;
}

footer .has-small-font-size {
    font-size: 12px !important;
}

@media (max-width: 1000px) {
    .wp-container-1.wp-container-1, .wp-container-3.wp-container-3, .wp-container-5.wp-container-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body .is-layout-grid > * {
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .wp-container-1.wp-container-1, .wp-container-3.wp-container-3, .wp-container-5.wp-container-5 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    body .is-layout-grid > * {
        margin: 0 auto;
    }
}