/*
Theme Name: Office Royal
Author: Kat Happens
Version: 1.0
Text Domain: leos
*/

span.woocommerce-input-wrapper select {
	border: none;
}

.woocommerce-shipping-methods {
	margin-bottom: 0.7em;
}

.client-slider-wrap {
	overflow: hidden;
	max-height: 148px;
	align-items: flex-start;
	align-content: flex-start;
}

.h-clients-slider {
	display: flex;
}

.h-slider-item {
	aspect-ratio: 5 / 4;
}

.h-slider-item img {
	height: 97px;
	width: auto;
	object-fit: contain;
}

.product-card-wrapper a.add_to_cart_button,
div.product .product-card-wrapper a.button.product_type_simple {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 37px;
	padding: 4px 10px;
	border-radius: 30px;
	margin-bottom: 19px;
	width: 180px;
	white-space: nowrap;
	background-color: #ffffff;
	/*border: 1px solid #D8B15A;*/
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
	/*color: #D8B15A;*/
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	transition: color, background-color ease-in-out 0.5s;
}

.wc-pao-addon-container {
	width: 100%;
}

a.remove {
	display: inline-block;
	font-size: 40px;
	line-height: 1;
	color: #D8B15A;
}

.woocommerce table.shop_table {
	border: unset !important;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
	border: unset !important;
	padding: 0 !important;
}

p#billing_country_field {
	display: none;
}

.woocommerce form .form-row label {
	display: none;
}

.rtwpvg-thumbnail-slider {
	display: block !important;
	grid: unset;
	grid-template-columns: unset !important;
}


.rtwpvg-single-image-container img {
	height: 50vh !important;
	object-fit: contain;
	background-color: #FFF;
}

.rtwpvg-slider-wrapper {
	box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 13%);
	margin-bottom: 16px !important;
}

/*.product-gallery {*/
/*	max-height: 74vh;*/
/*	overflow: hidden;*/
/*}*/

.wpgs-for i {
	display: none !important;
}

.wpgs-for .slick-arrow::before,
.wpgs-nav .slick-prev::before,
.wpgs-nav .slick-next::before {
	content: unset !important;
}

.woo-product-gallery-slider,
.woocommerce-product-gallery {
	min-width: 100%;
}

.woocommerce div.product div.images img {
	max-height: 30vh;
	object-fit: contain;
	background-color: #fff;
}

.wpgs-nav img {
	height: 10vh !important;
	background-color: #fff;
}

p.nota_vr {
	background-color: red;
	width: fit-content;
	color: #fff;
	padding: 0 14px;
	font-size: 12px;
	margin: 7px 0;
}

h3 {
}

.bapf_head h3 {
	font-size: 22px;
	line-height: normal;
	font-weight: 400;
	color: #000000;
	text-align: right;
	font-weight: 400;
	margin-bottom: 15px;
}

.bapf_body input {
	margin-left: 10px;
}

body.single .product-card-wrapper span.price:has(> span.woocommerce-Price-amount + span.woocommerce-Price-amount) .woocommerce-Price-amount {
	font-size: 25px;
}

[lang="he-IL"] .wp-gr .grw-btns {
	transform: rotate(180deg);
}

.product-img-card-ins img {
	object-fit: scale-down;
}

@media screen and (width < 768px) {
	nav#MainNav .head-menu-desktop {
		display: none;
	}

	.slick-prev,
	.slick-next,
	.arrows-slider .slick-prev:before,
	.arrows-slider .slick-next:before {
		z-index: 1 !important;
	}

	.header-middle {
		position: fixed !important;
		width: 100%;
		width: -webkit-fill-available;
	}

	.h-main-content,
	.woocommerce-notices-wrapper,
	.wishlist-title-container,
	div.woocommerce {
		padding-top: 5rem;
	}
}

.tip-fixed,
.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist,
.prod-shop-col .product-item-col .yith-wcwl-add-to-wishlist {
	z-index: 2 !important;
}


a.button.product_type_variable:hover, a.button.product_type_simple:hover {
	color: #282828 !important;
	background-color: #D8B15A !important;
}

a.button.product_type_variable.add_to_cart_button.wcpa_add_to_cart_button,
.product-type-variable a.button.product_type_variable {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 37px !important;
	padding: 4px 10px;
	border-radius: 30px !important;
	margin-bottom: 19px;
	width: 180px !important;
	white-space: nowrap;
	background-color: #ffffff;
	border: 1px solid #D8B15A;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
	color: #D8B15A;
	font-size: 18px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	transition: color, background-color ease-in-out 0.5s;
}

/* Toast Styles */
#message-toast {
	display: none;
	z-index: 9999;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.7);
	max-width: 450px;
	text-align: center;
	color: #505050;
}

.toast-timer {
	height: 8px;
	width: 100%;
	margin: 0;
	border-radius: 4px;
}

.toast-content {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 10px;
	font-size: clamp(18px, 1.5vw, 28px);
}

.toast-icon {
	margin-inline: 10px;
	font-size: clamp(20px, 1.5vw, 35px);
}

@media screen and (width < 768px) {
	#message-toast {
		max-width: 90%;
	}
}

/* End Toast Styles */

span#mini-cart-count {
	background-color: white !important;
	left: 5px;
	bottom: 5px;
	font-size: 12px;
	border: 1.5px solid #D8B15A;
}

.slider-base-output ol {
	margin-top: -0.5em;
	margin-right: -0.5em;
}

.slider-base-output ol li {
	margin-bottom: 0.5em;
}

.slider-base-output ul {
	margin-top: -0.5em;
	margin-right: 1.5rem;
}

.slider-base-output ul li {
	margin-bottom: 0.5em;
}

/* CSS */
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.34); /* שחור עם שקיפות */
	z-index: 99999999999999;
	justify-content: center;
	align-items: center;
}

.popup-content {
	position: relative;
	background: white;
	padding: 0;
	text-align: center;
	width: 40%;
	border-radius: 20px;
	overflow: hidden;
}

.close-button {
	position: absolute;
	top: 5px;
	right: 10px;
	cursor: pointer;
	color: #FFF;
	font-size: 43px;
	height: auto;
	line-height: 1;
}

.buy_now {
	position: absolute;
	z-index: 999;
	bottom: 7%;
	right: 12%;
}

@media (max-width: 950px) {
	.popup-content {
		width: 85%;
	}
	.buy_now {
		width: max-content !important;
		min-width: auto;
		bottom: 6%;
		padding: 1px 15px;
		height: auto;
		right: 14%;
		font-size: 18px;
	}
}
@media screen and (width < 768px) {
    nav#MainNav div.main_menu > ul > li.active > ul.sub-menu.chekd {
        overflow: auto;
    }
  section.bannerTop {
    margin-top: 4rem;
}
}

.search-col {
  justify-content: flex-end;
}
.search-col .aws-container {
      width: 65%;
}
.client-slider-title {
    width: auto;
    font-size: 28px;
    line-height: unset;
    font-weight: 700;
    margin-bottom: 0;
    color: #D8B15A;
    text-align: center;
}
a.whatsappSite {
    position: fixed;
    bottom: 100px;
    z-index: 999;
    left: 20px;
    background-color: #48c857;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 0 5px 3px #CCC;
}

a.whatsappSite svg * {
    fill: #FFF;
}
.qty-wrap .plus, .qty-wrap .minus {
	width: 30px;
	height: 30px;
	align-items: center;
	border-radius: 50%;
	cursor: pointer;
	border: 1px solid #CCC;
	text-align: center;
	line-height: 27px;
}

.qty-wrap .quantity {
	width: 30px;
}

.wc-checkout-cart .product-quantity .quantity input.qty {
	text-align: center;
	width: 30px;
	border: 1px solid #CCC;
	border-radius: 50%;
	padding: 0;
	height: 30px;
}

.qty-wrap .plus:hover, .qty-wrap .minus:hover {
	background-color: #CCC;
	color: #000;
}

.btn-whatsapp {
  margin-block: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  background-color: #25D366;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  transform: translateY(-2px);
  background-color: #1da851;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}

.btn-whatsapp:active {
  transform: translateY(0);
  transition-duration: 0.05s;
}

.btn-whatsapp__icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  background-color: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91c0-5.46-4.45-9.91-9.91-9.91m0 1.82c4.47 0 8.09 3.63 8.09 8.09c0 4.47-3.63 8.09-8.09 8.09c-1.55 0-3.06-.45-4.33-1.28l-.3-.18l-3.12.82l.83-3.04l-.2-.32a8.14 8.14 0 0 1-1.26-4.19c0-4.47 3.64-8.09 8.1-8.09M8.53 7.33c-.16 0-.43.06-.66.31c-.22.25-.87.86-.87 2.07c0 1.22.89 2.39 1 2.56c.14.17 1.76 2.67 4.25 3.73c.59.27 1.05.42 1.41.53c.59.19 1.13.16 1.56.1c.48-.07 1.46-.6 1.67-1.18c.21-.58.21-1.07.15-1.18c-.05-.1-.22-.16-.47-.27c-.25-.13-1.47-.74-1.69-.82c-.23-.08-.37-.12-.53.12c-.16.25-.64.81-.78.97c-.14.16-.29.18-.53.06c-.25-.12-1.05-.39-2-1.23c-.74-.66-1.23-1.47-1.38-1.72c-.14-.25-.02-.38.11-.51c.11-.11.25-.29.37-.43c.13-.14.17-.25.25-.41c.08-.17.04-.31-.02-.43c-.06-.13-.56-1.38-.77-1.89c-.2-.51-.41-.48-.56-.48c-.14 0-.31-.01-.47-.01Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91c0-5.46-4.45-9.91-9.91-9.91m0 1.82c4.47 0 8.09 3.63 8.09 8.09c0 4.47-3.63 8.09-8.09 8.09c-1.55 0-3.06-.45-4.33-1.28l-.3-.18l-3.12.82l.83-3.04l-.2-.32a8.14 8.14 0 0 1-1.26-4.19c0-4.47 3.64-8.09 8.1-8.09M8.53 7.33c-.16 0-.43.06-.66.31c-.22.25-.87.86-.87 2.07c0 1.22.89 2.39 1 2.56c.14.17 1.76 2.67 4.25 3.73c.59.27 1.05.42 1.41.53c.59.19 1.13.16 1.56.1c.48-.07 1.46-.6 1.67-1.18c.21-.58.21-1.07.15-1.18c-.05-.1-.22-.16-.47-.27c-.25-.13-1.47-.74-1.69-.82c-.23-.08-.37-.12-.53.12c-.16.25-.64.81-.78.97c-.14.16-.29.18-.53.06c-.25-.12-1.05-.39-2-1.23c-.74-.66-1.23-1.47-1.38-1.72c-.14-.25-.02-.38.11-.51c.11-.11.25-.29.37-.43c.13-.14.17-.25.25-.41c.08-.17.04-.31-.02-.43c-.06-.13-.56-1.38-.77-1.89c-.2-.51-.41-.48-.56-.48c-.14 0-.31-.01-.47-.01Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.btn-whatsapp:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .btn-whatsapp {
    padding: 14px 16px;
    font-size: 17px;
    border-radius: 14px;
  }

  .btn-whatsapp__icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .btn-whatsapp {
    padding: 15px 18px;
    border-radius: 16px;
  }
}

@media (max-width: 767.98px) {
    .sidebar-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: min(320px, 86vw);
        height: auto;
        overflow: auto;
        background: #fff;
        z-index: 9999;
        box-shadow: 0 0 20px rgba(0,0,0,.15);
        transform: translateX(-100%);
        transition: transform .3s ease;
        display: block !important;
    }

    body.filters-open .sidebar-wrap {
        transform: translateX(0);
    }
  	footer .whatsappSite {
      display: none;
  }
}

.sliderBanner .slick-slide img{
	width: 100%;
	object-fit: cover;
	height: max(500px, 55vh);
}

.woocommerce-error::before {
	top: 0;
	right: 0;
}
.woocommerce-error li {
	padding-inline-start: 1.25rem !important;
}

.woocommerce .woocommerce-ordering select {
  color: black;
}

@media screen and (width < 768px) {
  .container-categories {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
  }
}
  .container-categories {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
  }

.container-categories > :is([class*="col-cat-"]) {
    grid-area: unset !important;
}

.banner-slide {
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);

    width: min(900px, 90%);

  	display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-title {

    text-align: center;
    color: #fff;

    font-size: clamp(36px, 3.5vw, 72px);
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: .02em;

    pointer-events: none;

    text-shadow:
        0 2px 6px rgba(0,0,0,.45),
        0 6px 20px rgba(0,0,0,.35),
        0 14px 40px rgba(0,0,0,.25);
}
.banner-btn{
    display:inline-block;
    padding:8px 30px;
    background:linear-gradient(135deg, #D8B15A, #ffa82e);
    color:#fff;
    font-weight:700;
    border-radius:10px;
    text-decoration:none;
    transition:.3s;
}

.banner-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,.3);
  	color: #1a1a1a;
}
picture{
    width: 100%;
    height: 100%;
}
.image-about {
    width: 100%;
    height: 100%;
}

@media screen and (width > 769px) {
  .logo img {
      max-height: 100px;
    max-width: 350px;
    object-fit: contain;
  }
}



.payment_method_cardcom::before, .payment_method_cardcom::after{
  display: none !important;
}

/* CARD PAYMENT BLOCK */

:not(.wc_payment_method).payment_method_cardcom {

	background: #ffffff !important;
    border: 1px solid #e5e5e5;
    border-radius: 12px !important;
    padding: 18px !important;
}

/* remove ugly inline layout */

:not(.wc_payment_method).payment_method_cardcom br{
    display:none;
}

:not(.wc_payment_method).payment_method_cardcom > div,
:not(.wc_payment_method).payment_method_cardcom > p{
    margin-bottom:14px;
}

/* labels */

:not(.wc_payment_method).payment_method_cardcom label{
    display:block !important;
    font-size:13px;
    font-weight:600;
    color:#333;
    margin-bottom:6px;
}

/* inputs */

:not(.wc_payment_method).payment_method_cardcom input,
:not(.wc_payment_method).payment_method_cardcom select{

    width:100% !important;
    height:42px;

    border-radius:8px;
    border:1px solid #dcdcdc;

    padding:0 12px;

    background:#fff;

    font-size:14px;

    transition:all .2s ease;
}

/* focus */

:not(.wc_payment_method).payment_method_cardcom input:focus,
:not(.wc_payment_method).payment_method_cardcom select:focus{

    border-color:#FF6B00;
    box-shadow:0 0 0 2px rgba(255,107,0,.15);
    outline:none;
}

/* card number */

#cardcom-card-number{
    font-family:monospace;
    letter-spacing:2px;
}

/* expire row */

:not(.wc_payment_method).payment_method_cardcom .wc-payment-form{

    display:flex !important;
    gap:10px;
}

/* month year */

#cardcom-expire-month,
#cardcom-expire-year{

    flex:1;
}

/* id */

#cardcom-citizen-id{
    max-width:220px;
}

/* payments */

#cardcom-num-payments{
    max-width:120px;
}

/* helper text */

:not(.wc_payment_method).payment_method_cardcom p{
    font-size:12px;
    color:#777;
}

/* required */

:not(.wc_payment_method).payment_method_cardcom .required{
    color:#ff3b30;
}

/* select arrow */

:not(.wc_payment_method).payment_method_cardcom select{

    appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");

    background-repeat:no-repeat;
    background-position:left 12px center;
    padding-left:28px;
}

/* =========================
   MOBILE MENU FINAL FIX
========================= */

@media (max-width: 768px) {

    nav#MainNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 390px;
        height: calc(100vh - 60px) !important;

        background: #fff;
        z-index: 9999999;

        display: flex;
        flex-direction: column;

        transition: right 0.4s ease;
        overflow: hidden;

        padding: 20px 16px 20px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    nav#MainNav.active {
        right: 0;
    }

    nav#MainNav .head-menu-desktop {
        display: none !important;
    }

    nav#MainNav .menu-line-bottom {
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        padding: 10px 0;
    }

    nav#MainNav .main_menu,
    nav#MainNav .mobile-menu {
        flex: 1;
        overflow-y: auto;
        width: 100%;
    }

    nav#MainNav .mobile-menu {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    /* === RESET UL === */
    nav#MainNav ul {
        display: flex !important;
        flex-direction: column;
        gap: 4px;

        padding: 0;
        margin: 0;
        list-style: none;
    }

    /* === LI FIX (CRITICAL) === */
    nav#MainNav ul li {
        display: block !important;
        width: 100%;
        border-bottom: 1px solid #eee;
        position: relative;
        height: auto;
    }

    /* === LINKS === */
    nav#MainNav li a {
        display: block;
        padding: 14px 16px;
        font-size: 20px;
        line-height: 1.4;
        color: #222;
        text-decoration: none;
        border-radius: 8px;
        transition: background 0.2s ease;
    }

    nav#MainNav li a:hover {
        background: #f5f5f5;
    }

    /* === ACTIVE ITEM === */
    nav#MainNav .current-menu-item > a {
        background: #D8B15A;
        color: #fff !important;
        font-weight: 600;
    }

    /* === SUBMENU === */
    nav#MainNav .sub-menu {
        display: none;
        background: #fafafa;
        padding-right: 10px;
    }

    nav#MainNav li.open > .sub-menu {
        display: block;
    }

    nav#MainNav .sub-menu li {
        border-bottom: none;
    }

    nav#MainNav .sub-menu a {
        font-size: 14px;
        padding: 10px 16px;
        color: #555;
    }
}

.top-menu-icon img {
	height: 86px;
    width: 86px;
    object-fit: contain;
}
