/* 
Theme Name:		 storefront-child
Theme URI:		 http://childtheme-generator.com/
Description:	 storefront-child is a child theme of Storefront, created by ChildTheme-Generator.com
Author:			 dudib
Author URI:		 http://childtheme-generator.com/
Template:		 storefront
Version:		 1.0.0
Text Domain:	 storefront-child
*/


/*
    Add your custom styles here
*/
.main-navigation ul.menu ul a{border: 0.5px solid #000; border-bottom: 0;}
.main-navigation ul.menu ul li:last-child a{border: 0.5px solid #000;}
.main-navigation ul.menu ul a{background: #fff;}
.main-navigation ul.menu ul a:hover, .main-navigation ul.menu ul li:hover>a, .main-navigation ul.menu ul li.focus, .main-navigation ul.nav-menu ul a:hover, .main-navigation ul.nav-menu ul li:hover>a, .main-navigation ul.nav-menu ul li.focus{background: #F5F5F5;}
.site-header {padding-top: 0;}
.col-full {max-width: 98%;}
.woocommerce-active .site-header .site-branding{width: 35%;}
.woocommerce-active .site-header .site-search {position: relative; top: 84px;}
.page-template-template-homepage .entry-header h1 {margin-bottom: 0px;}
#main{padding-top: 18px;}
#post-106 {margin-bottom: 0px;}
.handheld-navigation {padding: 0px 18px 0px 0px;}

.home .storefront-product-categories {
	position: relative;
    top: -32px;
	margin-bottom: 0;
}
.not_first_new_title {
	margin-top: 18px;
}
.site-info {
	text-align: center;
}
#block-9 .wc-block-product-categories-list-item {
	font-size: 1.4em;
	padding-bottom: 4px;
	margin-right: 14px;
	list-style: square;
	
}
.header-widget-region .WpfWoofiltersWidget {
	display: list-item;
    list-style: none;
    float: right;
}
.header-widget-region .widget {margin:0; padding:0;}

.header-widget-region .wpfFilterWrapper {
	margin-top: 6px;
	margin-bottom: 8px;
}
.storefront-wc-brands-single-product:first-child {display: none;}
.header-widget-region .brand-thumbnails {margin-top: 4px;}
.header-widget-region .wc-brand-dropdown-layered-nav-product_brand {margin-top: 8px;}
.wpfFilterWrapper {min-width: 80px !important;}
#wc_brands_brand_thumbnails-7{float: none; clear: both; margin-right: 4% margin: 0 auto;}
.header-widget-region .widget-title {margin: 0; padding: 4px; }
.product-template-default .header-widget-region{display: none;}
.storefront-wc-brands-single-product img {margin: 0 auto;}
#woocommerce_brand_nav-10{/*display: inline-block; float: right;*/ margin-right: 20%;}
.header-widget-region .gamma {display: inline-block;}
.storefront-breadcrumb {
	margin: 0;
}
.page-template-template-homepage.has-post-thumbnail .type-page.has-post-thumbnail {
	margin: 0;
}
.single-product .single_add_to_cart_button {
	width: 76%;
}
p+h2, p+header h2, p+h3, p+h4, ul+h2, ul+header h2, ul+h3, ul+h4, ol+h2, ol+header h2, ol+h3, ol+h4, table+h2, table+header h2, table+h3, table+h4, blockquote+h2, blockquote+header h2, blockquote+h3, blockquote+h4, form+h2, form+header h2, form+h3, form+h4 {
	margin-top: 0;
}
.tax-product_cat .woocommerce-products-header {
	text-align: center;
}
ul.products li.product .button, ul.products .wc-block-grid__product .button, .wc-block-grid__products li.product .button, .wc-block-grid__products .wc-block-grid__product .button {
	width: 100%;
	margin-bottom: 0;
}
.site-main ul.products.columns-4 li.product {
	border: 1px solid #ccc;
	box-shadow: 0px 0px 8px #CCC;
	margin-bottom: 8px;
}
ul.products li.product .woocommerce-loop-product__title {
	min-height: 39px;
}
.products .product-category {
	border: 1px solid #000;
	background: #00d4ff;
}
.new-section-title {
	margin-bottom: 8px;

}
ul.products li.product.product-category img {
	width: 100%;
	margin-bottom: 1em;
	border-radius: 0;
	padding: 0;
}
.woocommerce-products-header .woocommerce-ordering {
	margin-bottom: 0;
}
.storefront-sorting {
	margin-bottom: 0.8em;
}
.new_section {
	text-align: center;
}
.new-section-title a {
	color: #000;
}
.page-template-template-homepage-php .site-main ul.products.columns-3 li.product {
	margin-bottom: 12px;
}
.onsale {
    background-color: #FF0000;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}
ul.products li.product .onsale {
    position: absolute;
    top: -18px;
    left: -8px;
    border-radius: 50%;
    padding: 8px;
    font-size: 1em;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	margin-left: 2%;
	width: 22.5%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li img {
	width: 100%;
}
.homepage_content {text-align: center;}
/* Container - מיכל המחשבון הראשי */
#block-calculator {
    /* הוספת שוליים פנימיים ורקע בהיר */
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 500px; /* הגבלת רוחב המחשבון */
    margin: 20px auto; /* מרכוז המחשבון */
    direction: rtl; /* יישור מימין לשמאל */
    font-family: Arial, sans-serif;
}

/* כותרות */
#block-calculator h2 {
    color: #333;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* תוויות קלט (Labels) */
#block-calculator label {
    display: block; /* כל תוויות בשורה נפרדת */
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
    margin-top: 15px;
}

/* שדות קלט */
#block-calculator input[type="number"] {
    width: 60%; /* רוחב של שדה הקלט */
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box; /* לוודא שהפדינג לא מרחיב את הרוחב מעבר ל-60% */
    text-align: right;
    font-size: 16px;
}

/* כפתור חישוב */
#block-calculator button {
    width: 100%;
    padding: 12px 20px;
    margin-top: 25px;
    background-color: #007bff; /* כחול בנייה סטנדרטי */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

#block-calculator button:hover {
    background-color: #0056b3; /* כהה יותר בריחוף */
}

/* קו מפריד */
#block-calculator hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

/* תוצאות */
#block-calculator h3 {
    color: #333;
    margin-top: 15px;
}

/* עיצוב התוצאות הסופיות */
#blocks-final {
    font-size: 24px;
    font-weight: 900;
    color: #28a745; /* צבע ירוק לבולטות */
    display: inline-block;
    padding: 5px 10px;
    background-color: #e9ffe9;
    border-radius: 5px;
}
@media screen and (max-width: 767px) {
	.home .col-full {
		margin: 0;
		padding: 0;
	}
	.site-main ul.products li.product {
	  width: 49%;
	  margin: 0 0.5% 0 0.5%;
	  clear: none;
	  float: right;
	}

	.site-main ul.products li.product:nth-of-type(2n+1) {
	  clear: both;
	  /*margin: 0;*/
	}
	#home-page-titlenew {
		text-align: center;
		position: relative;
		font-size: 1.6em
	}
	.col-full .term-description, .col-full #secondary {
		margin-right: 1.41575em;
		margin-left: 1.41575em;
		padding: 0;
	}
	.col-full {
		margin: 0;
	}
	.site-footer .col-full {
		margin-right: 1.41575em;
		margin-left: 1.41575em;
	}
	.single-product .col-full #main {
		margin-right: 1.41575em;
		margin-left: 1.41575em;
	}
	.storefront-product-categories ul.products li.product{
		width: 48%;
		margin: 0 auto;
	}
	.storefront-product-categories ul.products li.product:nth-child(odd) {
		margin-right: 3%;
		margin-left: 1%;
	}
	.storefront-product-categories ul.products li.product:nth-of-type(2n+1) {
		clear: none;
	}
	.new-section-title {
		font-size: 1.6em;
	}
	.p-new-section-title {
		font-size: 1em;
		font-weight: 600;
	}
	.woobt-before-text, .woobt-after-text {
		font-size: 20px;
		font-weight: 700;
	}
}
.form-row.form-row-wide.address-field.update_totals_on_change.validate-required {
	display: none;
}

.soldout {
	padding: 4px 12px;
	text-align: center;
	background: #222;
	color: white;
	font-weight: bold;
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 16px;
}

.main-navigation ul ul{display: none;}
@media screen and (min-width: 768px) {
	.storefront-breadcrumb{padding: 0;}
	.header-widget-region .widget_brand_thumbnails ul.brand-thumbnails li img {max-height: 28px !important;}
	.left-sidebar .content-area{width: 78%;}
	.left-sidebar .widget-area {width: 12%;}
	.footer-widgets.col-4 .block {width: 20.73913%; float: right; margin-left: 0;}
	.page-template-template-homepage #primary {width: 94%; float: none;}
	.storefront-secondary-navigation.woocommerce-active .site-header .site-branding {margin-bottom: 0;}
	.woocommerce-active .site-header .main-navigation{width: 76%; margin: 0;}
	.site-header-cart .cart-contents{padding: 0;}
	.main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {padding: 1.4em 0.8em;}
	.storefront-secondary-navigation.woocommerce-active .site-header .secondary-navigation {width: 38%; position: relative; top: 94px; margin: 0;}
	.secondary-navigation .menu{float: right;}
	#wpfwoofilterswidget-3 {
		margin-right: 28%;
	}
}
@media screen and (max-width: 768px) {
	.handheld-navigation ul.menu .sub-menu.toggled-on {display: block !important;}
	.woocommerce-active .site-header .main-navigation{margin-top: 20px;}
	.header-widget-region .widget_brand_thumbnails ul.brand-thumbnails li img {max-height: 20px !important;}
	#wpfwoofilterswidget-3 {
		margin-right: 20%;
	}
	#woocommerce_brand_nav-10 {margin-right: 1%;}
	.header-widget-region .wpfFilterWrapper {margin-top: 5px; margin-bottom: 4px;}

}
@media only screen and (min-width: 767px)  {
	.page-template-template-homepage-php .site-main ul.products.columns-3 li.product {
		width: 33.333%;
		margin-left: 0;
		margin-bottom: 0;
	}
	.col-full {
		 max-width: 88%; 
	}
	.tax-product_cat #secondary {
		margin-left: 8px; 
	}
	.tax-product_cat #primary {
		width: 77%; 
	}
	#home-page-titlenew {
		text-align: center;
		position: relative;
	}
	.page-template-template-fullwidth-php .site-main ul.products.columns-4 li.product, .page-template-template-fullwidth-php .header-widget-region ul.products.columns-4 li.product, .page-template-template-homepage-php .site-main ul.products.columns-4 li.product, .page-template-template-homepage-php .header-widget-region ul.products.columns-4 li.product, .storefront-full-width-content .site-main ul.products.columns-4 li.product, .storefront-full-width-content .header-widget-region ul.products.columns-4 li.product {
		width: 23.98%;
		float: right;
		margin-left: 1.347826087%;
		background: #fff;
	}
	.site-main ul.products.columns-4 li.product, .site-main ul.subcategories li.product {
		width: 23.95%;
		float: right;
		margin-left: 1.347826087%;
		margin-bottom: 28px !important;
	}
	.site-main ul.products.columns-4 li.product {
		width: 23.98%;
		float: right;
		margin-left: 1.347826087%;
	}
	.woocommerce-shop .site-main ul.products.columns-4 li.product {
		width: 22.98%;
	}
	.p-new-section-title {
		font-size: 1.2em;
		font-weight: 600;
	}
	.page-template-template-homepage ul.products li.product img {
		min-height: 320px;
	}
	.woobt-before-text, .woobt-after-text {
		font-size: 22px;
		font-weight: 700;
	}
}

