/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.1
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * Home page edits - Hesham
 * */

body.home header.entry-header {
    display: none;
}

.hs_cat-container{
	margin-top: 3em;
	margin-bottom: 3em;
}

.cat-sec-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
	margin-bottom: 1rem;
    border-bottom: solid 2px #B38470;
}

.cat-sec-title h3 {
    margin: 0;
}

.hs_banners {
    display: grid;
    grid-gap: 20px;
}

.hs_banners a img {
    display: block;
    width: 100%;
    aspect-ratio: 1200/550;
    object-fit: cover;
    object-position: center center;
}

.hs_banners.count_1 {
    grid-template-columns: 100%;
}

.hs_banners.count_2, .hs_banners.count_4 {
    grid-template-columns: repeat(2, 1fr);
}

.hs_banners.count_3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width:767px){
	.hs_banners.count_1, .hs_banners.count_2, .hs_banners.count_3, .hs_banners.count_4{
		grid-template-columns: repeat(1, 1fr);
	}
}

/* Intl-Tel RTL FIX - Strat */

body.rtl .intl-tel-input.allow-dropdown .flag-container, body.rtl .intl-tel-input.separate-dial-code .flag-container {
    right: 0;
    left: auto;
}

body.rtl .intl-tel-input .country-list li {
    direction: ltr;
    display: flex;
    flex-flow: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

body.rtl .intl-tel-input .country-list .country-name, body.rtl .intl-tel-input .country-list .flag-box {
    margin-right: 0;
}

body.rtl .intl-tel-input .selected-flag {
    padding: 0 8px 0 0;
}

body.rtl .wc-pv-intl .intl-tel-input input {
    padding-left: 0px!important;
    padding-right: 55px!important;
    direction: ltr;
    text-align: right;
}

body.rtl .intl-tel-input .selected-flag .iti-arrow{
	right: auto;
	left: 6px
}
/* Intl-Tel RTL FIX - End */