/*
   Theme Name:   Storefront Child
   Description:  Storefront Child Theme
   Author:       Workman
   Author URI:   http://workman.se
   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:           e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options
   Text Domain:  storefront-child
*/

#customer_details {
    line-height: 1em;
    /* font-size: medium; */
    font-size: 90%;
}

#customer_details > div {
    margin-bottom: 0px;
}

div.woocommerce-billing-fields > div > p,
div.woocommerce-additional-fields > div > p,
div.woocommerce-additional-fields > div > div > p {
    margin-bottom: 0.8em;
}

div.woocommerce-billing-fields > div > p > input,
div.woocommerce-additional-fields > div > p > input,
div.woocommerce-additional-fields > div > div > p > textarea {
    padding: 0.1em 0.1em 0.1em 0.5em;
}

div.woocommerce-billing-fields > div > p > label,
div.woocommerce-additional-fields > div > p > label,
div.woocommerce-additional-fields > div > div > p > label {
    margin-bottom: 0.2em;
}

/* Change color on the link back to the category when viewing a product */
span.posted_in, span.posted_in > a {
    font-size: large;
    color: #3d9cd2;
}

/* Make header margin smaller  */
#masthead {
    margin-bottom: 0.5em;
}

/* Don't display sort on the bottom */
/* div.columns-3 > div.storefront-sorting { */
/*     display: none; */
/* } */
/* div.columns-4 > div.storefront-sorting { */
/*     display: none; */
/* } */
/* div.columns-5 > div.storefront-sorting { */
/*     display: none; */
/* } */
/* div.columns-6 > div.storefront-sorting { */
/*     display: none; */
/* } */
/* div.columns-7 > div.storefront-sorting { */
/*     display: none; */
/* } */

/* Add possibility to have unshaded table */
table.unshaded tbody td {
    background-color: unset;
    padding: unset;
}

/* Add possibility to have unshaded table */
table.unshaded tbody tr:nth-child(2n) td {
    background-color: unset;
    padding: unset;
}

/* Don't display a header text for pages */
.entry-header {
    display: none;
}

ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
    font-size: 0.8rem;
}

h1.woocommerce-products-header__title {
    font-size: 2em;
}

/* Make footer smaller */
#colophon, div.site-info {
    padding: unset;
}

/* Don't show payment input radioboxes in the "link" color */
#payment .payment_methods li input[type="radio"]:first-child:checked + label::before {
    color: #6d6d6d;
}

/* Revert Storefront - Fix logo image overlap on small screens */
/* commit 447fa745adf1c6ee0c6255407c6d97292cdb75bf */
.site-header .custom-logo-link img {
    width: initial;
}
