@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//www.ag-m.co.il/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.2.2") format("woff2");
	font-display:swap;
}

:root {
	--wd-text-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(53,53,53);
	--wd-text-font-size: 15px;
	--wd-title-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgba(71, 173, 254, 0.72);
	--wd-alternative-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(28,97,231);
	--wd-alternative-color: rgba(28,97,231,0.2);
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgb(30,115,190);
	--btn-default-font-family: "Rubik", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(225,235,255);
	--btn-default-bgcolor-hover: rgb(219,227,249);
	--btn-default-color: rgb(28,97,231);
	--btn-default-color-hover: rgb(28,97,231);
	--btn-accented-font-family: "Rubik", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(28,97,231);
	--btn-accented-bgcolor-hover: rgb(28,97,231);
	--btn-font-family: "Rubik", Arial, Helvetica, sans-serif;
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.wd-page-title {
	background-color: rgb(28,97,231);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav-mobile > li > a {
	font-family: "Rubik", Arial, Helvetica, sans-serif;
	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-family: "Rubik", Arial, Helvetica, sans-serif;
	font-size: 18px;
}
html .product.wd-product del, html .product.wd-product del .amount, html .product-image-summary-wrap .summary-inner > .price del, html .product-image-summary-wrap .summary-inner > .price del .amount, html .wd-single-price .price del .amount, html .product-quick-view  .summary-inner > .price del, html .product-quick-view  .summary-inner > .price del .amount {
	color: rgba(255,0,34,0.99);
}
.page .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
html .wd-buy-now-btn {
	font-family: "Rubik", Arial, Helvetica, sans-serif;
	background: rgb(107,163,49);
}
html .wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(75,237,0);
}
.product-labels .product-label.new {
	background-color: rgb(129,215,66);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(44,212,38);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 17px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1400px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.product-grid-item .product-image-link img,
.product-grid-item .product-image-link .image-hover img,
.product-grid-item .product-image-link .secondary-image img {
    object-fit: contain !important; /* שומר על כל התמונה ללא חיתוך, עם פרופורציות מקוריות */
    height: 250px !important; /* גובה אחיד – התאם את הערך הזה לפי הצרכים שלך */
    width: 100% !important; /* רוחב מלא של הקונטיינר */
    display: block; /* מבטיח התנהגות כבלוק */
    margin: 0 auto; /* ממרכז את התמונה אופקית */
    transition: opacity 0.3s ease; /* אפקט חלק להחלפת התמונות */
}

/* מרכוז התמונה בתוך הקונטיינר */
.product-grid-item .product-image-link {
    position: relative;
    display: flex;
    justify-content: center; /* מרכוז אופקי */
    align-items: center; /* מרכוז אנכי */
    overflow: hidden; /* מבטיח שהתמונה לא תבלוט מחוץ לקונטיינר */
}

/* הגבלת רוחב הקונטיינר של התמונה */
.product-grid-item {
    max-width: 320px; /* מגביל את הרוחב של כל פריט בגריד – התאם לפי העיצוב */
}














.elementor-element.elementor-element-64be5d3 {
    display: flex;
    justify-content: flex-start; /* מתחיל את התמונה מההתחלה */
    align-items: center; /* ממקם את התמונה אנכית */
    width: auto; /* מונע מהקונטיינר להימתח לרוחב מלא */
    max-width: 400px; /* מגביל את הרוחב */
    padding: 0; /* מסיר ריווח פנימי */
    margin: 0 auto; /* ממרכז את הקונטיינר */
}

.elementor-element.elementor-element-64be5d3 img {
    max-width: 400px;
    max-height: 400px;
    height: auto;
    width: auto; /* מונע מתיחה */
    display: block;
}
/* ריווח בין התמונות הממוזערות */
.wd-carousel-container.wd-gallery-thumb {
    margin-top: 20px; /* יוצר ריווח בין התמונה הראשית לבין התמונות הממוזערות */
}

/* מגדיר גודל אחיד לכל התמונות הממוזערות */
.wd-carousel-container.wd-gallery-thumb .wd-carousel-item {
    width: 90px !important; /* רוחב אחיד */
    height: 90px !important; /* גובה אחיד */
    margin: 5px; /* רווח בין התמונות */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* התאמת גודל התמונות למיכל */
.wd-carousel-container.wd-gallery-thumb .wd-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* מונע עיוות ושומר על פרופורציות */
    border-radius: 5px; /* קצוות מעוגלים */
}

/* ממרכז את כל הגלריה */
.wd-carousel-container.wd-gallery-thumb .wd-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* התאמה לכפתורי הניווט של התמונות */
.wd-nav-arrows.wd-thumb-nav {
    margin-top: 10px; /* ריווח נוסף בין הכפתורים לתמונות */
}







/* עיצוב כללי לטאבים */
.wd-nav-tabs-wrapper .wd-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 2px solid #ddd;
}

.wd-nav-tabs-wrapper .wd-nav-tabs li {
    margin: 0;
    position: relative;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.wd-nav-tabs-wrapper .wd-nav-tabs li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* עיצוב טאב פעיל */
.wd-nav-tabs-wrapper .wd-nav-tabs li.active {
    background-color: #0073aa !important;
    border-color: #0073aa !important;
}

.wd-nav-tabs-wrapper .wd-nav-tabs li.active a {
    color: #fff !important;
}

/* עיצוב טאב בעת hover */
.wd-nav-tabs-wrapper .wd-nav-tabs li:hover {
    background-color: #0073aa !important;
    border-color: #0073aa !important;
}

.wd-nav-tabs-wrapper .wd-nav-tabs li:hover a {
    color: #fff !important;
}



/* עיצוב כותרת הטבלה */
.table-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
    padding: 15px;
    background: white;
    border-bottom: 2px solid #0073e6;
    border-radius: 12px 12px 0 0;
}

/* עיצוב של הטבלה */
.wb_cptb_content table, .product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    background-color: white;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

/* עיצוב של תאים */
.wb_cptb_content th, .wb_cptb_content td,
.product-specs-table th, .product-specs-table td {
    padding: 14px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

/* עיצוב כותרת טבלה */
.wb_cptb_content th, .product-specs-table th {
    background-color: #0073e6;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
}

/* אפקט מעבר עכבר */
.wb_cptb_content tr:hover, .product-specs-table tr:hover {
    background: linear-gradient(to right, #d9edff, #c0e4ff);
    transition: background 0.3s ease-in-out;
}

/* עיצוב כפתור הורדה */
.download-link {
    text-align: right;
    font-weight: bold;
    padding: 14px;
    background-color: #f0f8ff;
}

.download-link a {
    color: #0073e6;
    text-decoration: none;
}

.download-link a:hover {
    text-decoration: underline;
}

/* התאמות מובייל */
@media (max-width: 600px) {
    .table-title {
        font-size: 18px;
        padding: 10px;
    }
    .wb_cptb_content th, .wb_cptb_content td,
    .product-specs-table th, .product-specs-table td {
        font-size: 14px;
        padding: 8px;
    }
}


**************************************88

/* הפיכת ה-placeholder ל-RTL */
input::placeholder,
textarea::placeholder {
    text-align: right;
    direction: rtl;
}

/* הפיכת כל השדות עצמם ל-RTL */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    text-align: right;
    direction: rtl;
}

/* כפתור שליחת ההודעה */
button.elementor-button,
input[type="submit"] {
    text-align: center;
    direction: rtl;
}

/* יישור כותרות ומסגרות ה-inputים */
.wpcf7-form-control,
.elementor-field-textual {
    text-align: right;
    direction: rtl;
}

/* כותרת הראשית של הטופס */
.woodmart-title-container {
    text-align: right;
}

/* יישור הכפתור שליחת הודעה */
.e-form__buttons {
    text-align: center;
}

/* הזזת כפתור שליחת ההודעה לצד ימין */
.e-form__buttons,
button.elementor-button,
input[type="submit"] {
    text-align: center;
    direction: rtl;
    display: block;
    margin-right: 0; /* מבטיח שהכפתור יהיה צמוד לימין */
    margin-left: auto; /* מסיר מרווח משמאל */
}

/* טיפול בריווח אם הכפתור לא מיושר */
.elementor-field-group.elementor-field-type-submit {
    display: flex;
    justify-content: flex-end; /* מצמיד את הכפתור לצד ימין */
}

/* הסרת הקרדיט של Leaflet ו-OpenStreetMap */
.leaflet-control-attribution {
    display: none !important;
}

/* הסרת הדגל של אוקראינה */
.leaflet-control-attribution svg {
    display: none !important;
}

*****************************************************************
/* עיצוב כללי למחיר אילת */
.eilat-price {
    display: block !important;
    text-align: right !important; /* יישור לימין */
    direction: rtl !important; /* תומך בעברית */
    width: 100% !important; /* מבטיח שהמחיר יוצג על שורה נפרדת */
}

/* התאמת מחיר אילת בגריד (קטגוריות ומוצרים מומלצים) */
.wd-products .eilat-price {
    font-size: 14px !important; /* טקסט קטן יותר */
    color: #777 !important; /* צבע אפור כהה */
    font-weight: normal !important; /* לא מודגש */
    margin-top: 2px !important; /* מרווח קטן מהמחיר הרגיל */
    display: block !important; /* מבטיח שהמחיר יוצג בשורה נפרדת */
    text-align: right !important; /* מיושר לימין */
    width: 100% !important; /* מבטיח שהמחיר יוצג בצורה תקינה */
}

/* חיזוק היישור לקרוסלות */
.wd-carousel .eilat-price {
    text-align: right !important; /* יישור לימין */
    width: 100% !important; /* הבטחת הרוחב */
    display: block !important;
}

/* עיצוב מחיר אילת בדף מוצר */
.single-product .eilat-price {
    font-size: 16px !important; /* טקסט גדול יותר */
    font-weight: normal !important; /* לא מודגש */
    color: #777 !important; /* צבע אפור כהה */
    margin-top: 5px !important;
    display: block !important;
    text-align: right !important; /* מיושר לימין */
    width: 100% !important;
}

.wd-product-stock.stock.in-stock.wd-style-default {
  display: none !important;
}

****************************************************************************

@media (max-width: 576px) {
	.whb-main-header .btn-size-small {
    --btn-padding: 0px 0px !important;
}
.whb-main-header .whb-column>.info-box-wrapper, .wd-header-text, .whb-column>.wd-button-wrapper, .whb-column>.wd-social-icons, .wd-header-html {
    padding: 5px !important;
}
.whb-main-header .btn-size-small {
    --btn-padding: 0px 0px !important;
}
.whb-main-header .whb-column>.info-box-wrapper, .wd-header-text, .whb-column>.wd-button-wrapper, .whb-column>.wd-social-icons, .wd-header-html {
    padding: 5px !important;
}
}

