/*
Theme Name: Storefront (litfarms.com)
Theme URI: https://litfarms.com
Description: A custom child theme for the Storefront theme on litfarms.com
Author: info@litfarms.com
Author URI: https://litfarms.com
Template: storefront
Version: 1.0.32
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: storefront-child
*/

/* Add your custom CSS here */

@font-face {
    font-family: "HelveticaNeue";
    src: url('/wp-content/themes/helvetica.ttf');
}

@font-face {
    font-family: "HelveticaNeueThin";
    src: url('/wp-content/themes/helveticathin.ttf');
}

@font-face {
    font-family: "Akira";
    src: url('/wp-content/themes/akira.otf');
}

@font-face {
    font-family: "Acumin";
    src: url('/wp-content/themes/acumin.otf');
}

.font-acumin {
	font-family: "Acumin" !important;
}

.font-akira {
	font-family: "Akira" !important;
}

h1,
h2,
h3,
a,
select,
option,
span,
h4,
h5,
nav,
button.button {
    font-family: "HelveticaNeue";
}

p+h2 {
	margin-top: 0;
}


/* Hide element on Desktop */
@media only screen and (min-width: 981px) {
    .hide-on-desktop {
        display: none !important;
    }
}

/* Hide element on Tablet/Phone */
@media only screen and (max-width: 980px) {
    .hide-on-mobile-tablet {
        display: none !important;
    }
	#post-7 header {
		display: none;
	}
	.wc-block-product-categories select, .wc-block-product-categories__dropdown {
		width: 100%;
	}
	.wc-block-product-categories__dropdown select, .wc-block-product-categories__dropdown button {
		padding: 20px !important;
	}
}

	p+h2 {
		margin-top: 0;
	}

.site-description,
p,
.search-field,
label,
input#coupon_code,
.wp-block-search__inside-wrapper,
li {
    font-size: 1.25em;
}

select {
    padding: 7px 8px !important;
}

header {
    margin-bottom: 0 !important;
}

.header-widget-region {
    display: none;
}

.storefront-breadcrumb {
    /* margin-bottom: 0 !important; */
    display: none;
}

a.wp-block-button__link.add_to_cart_button.ajax_add_to_cart,
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    background: #ED1C24;
    color: white !important;
}

.woocommerce-input-wrapper input,
.select2-selection__rendered,
textarea,
.shop_table.woocommerce-checkout-review-order-table * {
    font-family: 'Courier New', monospace !important;
}

#menu-main,
nav,
.woocommerce-store-notice__dismiss-link,
.wc-block-grid__product-title,
a.wp-block-button__link.add_to_cart_button.ajax_add_to_cart,
h2.woocommerce-loop-product__title,
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    text-transform: uppercase;
    font-weight: bold;
}

/* product titles */
.wc-block-grid__product-title {
    font-size: 1.5em !important;
    margin-bottom: 0 !important;
}

.demo_store,
.woocommerce-info {
    background: #ED1C24;
}

.woocommerce-info a,
.site-header-cart .cart-contents::after {
    color: white !important;
}

#page header.site-header {
	background: black !important;
}

select.orderby {
    padding: 6px;
    text-transform: uppercase;
}

.storefront-primary-navigation {
    background: #ED1C24;
}

ul#menu-main li.menu-item a,
.cart-contents span {
    color: white;
}

li.current-menu-item a {
    background: white !important;
    color: #ED1C24 !important;
}

.menu-item a:hover {
    text-decoration: underline;
}

.woocommerce-mini-cart-item span.quantity,
.total {
    color: black !important;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    color: white !important;
}

/* ------------- */
/* ------------- */
/* DESKTOP FIXES */
/* ------------- */
/* ------------- */

@media only screen and (min-width: 768px) {
    .main-navigation ul.menu>li>a,.main-navigation ul.nav-menu>li>a, .site-header-cart .cart-contents {
        padding: 10px 15px !important;
    }

    .woocommerce-active .site-header .main-navigation {
        width: 75%;
        margin-right: 0 !important;
    }

    .woocommerce-active .site-header .site-header-cart {
        width: 25%;
    }

    #site-header-cart li a span.amount, #site-header-cart li a .woocommerce-Price-currencySymbol {
        color: white !important;
    }

    .site-header, .site-branding {
        margin-bottom: 0 !important;
    }

    .woocommerce-product-search {
        margin-top: 8px;
    }

    .site-search {
        margin-top: 9px !important;
        margin-bottom: 0 !important;
    }
}

/* ------------ */
/* ------------ */
/* MOBILE FIXES */
/* ------------ */
/* ------------ */

@media only screen and (max-width: 768px) {
    .site-title a {
        color: white;
        font-size: 18pt;
        line-height: 23.5pt;
    }

    .main-navigation ul li a,
    .site-title a,
    ul.menu li a,
    .site-branding h1 a,
    button.menu-toggle,
    button.menu-toggle:hover,
    .handheld-navigation .dropdown-toggle {
        color: white;
    }


    button#site-navigation-menu-toggle {
        margin-top: 10px;
        border-color: #fff !important;
    }
    .current-menu-item.current_page_item a {
        padding: 10px;
    }

    .storefront-breadcrumb {
        display: none;
    }
    
    form.woocommerce-ordering {
        margin-bottom: 0;
        display: inline;
        width: 100% !important;
    }
    
    p.woocommerce-result-count {
        font-size: 8pt;
        display: inline;
        margin: 0;
        color: white !important;
    }
    
    .storefront-sorting {
        margin-bottom: 10px;    
    }
    
    .add_to_cart_button, a.button.product_type_variable {
        margin: 0 !important;
        width: 100% !important;
    }
    
    span.price {
        margin-bottom: 5px !important;
    }

    span.woocommerce-Price-amount.amount bdi *, span.woocommerce-Price-amount.amount bdi {
        color: white !important;
    }
}

input#woocommerce-product-search-field-0 {
    padding-top: 18px;
    font-family: 'HelveticaNeueThin';
}

li.woocommerce-mini-cart-item.mini_cart_item span.quantity,
.woocommerce-Price-amount.amount bdi,
.woocommerce-mini-cart__total.total {
    color: #555 !important;
}

a.cart-contents span,
.woocommerce-cart-form__cart-item.cart_item .product-price *,
.woocommerce-cart-form__cart-item.cart_item .product-subtotal *,
.cart_totals table tbody tr.cart-subtotal span.amount * {
    color: black !important;
}

a.cart-contents {
    text-align: center;
}

tr.woocommerce-shipping-totals.shipping *,
.shop_table.woocommerce-checkout-review-order-table * {
    color: black !important;
}

.wc-block-grid__product {
    margin-bottom: 0 !important;
}

 #content   .col-full {
        margin-top: 1.41em;
}	

.product-template-default div div div.right-sidebar .content-area {
    width: 100% !important;
}


/* error messages in the cart */
.woocommerce-message, ul.woocommerce-error {
    margin-bottom: 5px !important;
}

a.button, .single_add_to_cart_button.button.alt.wp-element-button {
    text-transform: uppercase !important;
}

/* Homepage Slider CSS Clean-Up - April 15th, 2024 - dmanexe */
.litfarms-products-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scrollbar-color: #323232 #000 !important;
}

.litfarms-product {
    min-width: 275px;
}

.litfarms-product h2 {
    margin-top:12px;
    font-size: 1.25em;
    margin-bottom:0;
}

.litfarms-product h2 a {
    text-decoration: none !important;
    color: #fff !important;
}

.litfarms-product h2 a:hover {
    text-decoration: underline !important;
}

.litfarms-product-category-title {
    color: #fefefe;
    font-size: 10px;
    margin-top: 0;
    text-transform: uppercase;
    font-family: 'Acumin';
    margin-bottom: 0;
}

img.custom-logo {
	max-width: 100px !important;
}

.elementor-18867 .elementor-element.elementor-element-5f57b2d .elementor-icon-list-text {
    color: #000000;
    transition: color .3s;
    text-decoration: underline;
}

span.elementor-icon-list-text {
    text-decoration: underline;
}

.site-info { 
    display: none; 
}

header#masthead {
    padding-top: 0;
    padding-bottom: 0;
}

#wp-admin-bar-wpforms-menu, #wp-admin-bar-wpseo-menu, #wp-admin-bar-afwc-admin-bar-button, #wp-admin-bar-elementor_notes, #wp-admin-bar-wpcode-admin-bar-info {
    display: none;
}