/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/*************GLOBALS************/
:root{
    --gold-deep:#a67c5c;
    --gold:#bf9a7a;
    --ease:cubic-bezier(.22,.61,.36,1);
    --shadow-soft: 0 24px 60px -28px rgba(60, 44, 28, .34);
    --lunasima:'Lunasima';
    --heebo:'Heebo';
    
}


::selection {
    background-color: var(--gold, #bf9a7a); 
    color: var(--paper, #ffffff); 
}

::-moz-selection {
    background-color: var(--gold, #bf9a7a);
    color: var(--paper, #ffffff);
}

h2 span{
   color: var(--gold-deep);
}

.icon-slide .elementor-button-icon svg{
    transition: transform .45s ease-in-out;
}
.icon-slide a:hover .elementor-button-icon svg{
    transform: translateX(-5px);
}

.single-page-img img{
    object-fit: cover;
    aspect-ratio: 5 / 4.6;
}

.single .jet-listing-dynamic-terms__link{
    background-color: #ece0d0;
    border-radius: 2px;
    letter-spacing: .1em;
    padding: .35em .8em;
}

.golden-btn a{
    background-image: linear-gradient(120deg, #d8bd9f 0%, #bf9a7a 38%, #a67c5c 100%);
}

.golden-btn a:hover{
    filter: brightness(1.04);
    transform: translateY(-2px);
}
.golden-btn a:hover .elementor-button-icon svg{
    transform: translateX(-5px);
   
}
.golden-btn .elementor-button-icon svg{
    transition: transform .45s ease-in-out;
}

/***FORM BUTTON***/
#golden-btn {
    background-image: linear-gradient(120deg, #d8bd9f 0%, #bf9a7a 38%, #a67c5c 100%);
    transition: transform .3s ease, filter .3s ease;
}

#golden-btn:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
}

#golden-btn:hover .elementor-button-icon svg {
    transform: translateX(-5px);
}

#golden-btn .elementor-button-icon svg {
    transition: transform .45s ease-in-out;
}

/*************END OF GLOBALS*************/

.about-video{
    box-shadow: var(--shadow-soft);
}

.fcard{
    backdrop-filter: blur(12px) saturate(1.05);
    transition: .45s var(--ease);
}

.fcard-badge{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border:1px solid var(--gold);
    transition: .45s var(--ease);
    display: grid;
    place-items: center;

}

.fcard:hover .fcard-badge{
    background: var(--gold);
    border-color: var(--gold);
}
.fcard:hover .fcard-badge span{
    color: #fff !important;
}


.cat-cell{
    backdrop-filter: blur(8px) saturate(1.1);
}


.cat-cell-btn a.elementor-button{
    transition: .45s ease-in-out;
    opacity: 0;
    
}
.cat-cell-btn a.elementor-button{
    transition: .45s ease-in-out;
    opacity: 0;
    transform: translateY(6px);
    
}
.cat-cell:hover .cat-cell-btn a.elementor-button{
    opacity: 1;
    transform: none;
    
}



.header-container {
    transition: background .5s var(--ease), backdrop-filter .5s var(--ease), box-shadow .5s var(--ease);
    background: linear-gradient(to bottom, rgba(28, 24, 20, .62), rgba(28, 24, 20, 0));
}


.header-container.scrolled {
    background: #514a42;
    backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(191, 154, 122, .4), 0 18px 40px -30px rgba(0, 0, 0, .6);
}


.hero-container {
    background: linear-gradient(to top, rgba(24, 19, 15, .78) 0%, rgba(24, 19, 15, .18) 42%, rgba(24, 19, 15, .32) 100%) !important;
}

.single-stones-type .header-container ,.single-projects .header-container, .page-id-23 .header-container {
    background: #514a42 !important;
    backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(191, 154, 122, .4), 0 18px 40px -30px rgba(0, 0, 0, .6);
}

.page-id-15 h1{
    text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}

.listing-card-img, 
.listing-card-img .elementor-widget-container, 
.listing-card-img .elementor-image {
    overflow: hidden !important;
    display: block !important;
    transform: translateZ(0);
}

.listing-card-img img {
    transition: transform 1s ease-in-out !important; 
}

.slider-bleed .jet-listing-grid__item:hover .listing-card-img img {
    transform: scale(1.08) !important;
}


.slider-bleed .jet-engine-listing-overlay-wrap:hover .cards-numbers .elementor-shortcode {
    color: #a67c5c !important;
}
.slider-bleed .jet-engine-listing-overlay-wrap:hover span.jet-listing-dynamic-terms__link{
    background: #a67c5c!important;
    transition: color 0.3s ease;
}


.slider-bleed .jet-engine-listing-overlay-wrap:hover .prod-name .elementor-heading-title{
    color: #a67c5c !important;
    transition: color 0.3s ease;
}

.cards-numbers .elementor-shortcode{
    font-family: var(--heebo);
    color:#8c8276;
    font-size:14.4px;
    font-weight: 300;
    letter-spacing: .06em;
    transition: color 0.3s ease;
}


.slider-bleed .jet-listing-grid__slider-icon.next-arrow , .jet-listing-grid__slider-icon.prev-arrow{
    border-radius: 100px;
    border:1px solid #bf9a7a;
}
.slider-bleed .jet-listing-grid__slider-icon.swiper-button-disabled{
    opacity: 0.3;
    cursor: not-allowed;   
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.posts-card-img,
.posts-card-img .elementor-widget-container,
.posts-card-img .elementor-image {
    overflow: hidden !important;
    display: block !important;
    transform: translateZ(0);
}

.posts-card-img {
    aspect-ratio: 16 / 11;
}

.posts-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 1s ease-in-out !important;
}

.jet-listing-grid__item:hover .posts-card-img img {
    transform: scale(1.06) !important;
}

.posts-card-arrow span{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    transition: .4s var(--ease);
}

.jet-listing-grid__item:hover .posts-card-arrow span{
    background: var(--gold);
    color: #fff !important;;
}


/***JET CHECKBOX FILTERS***/

/* ===== פריסה ===== */
.jet-checkboxes-list-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border: none;
    padding: 0;
    margin: 0;
}

.jet-checkboxes-list__row {
    margin: 0 !important;
}

/* היפוך סדר — שיש טבעי מימין, גרניט פורצלן משמאל */
.jet-checkboxes-list__row:has(input[value="6"]) {
    order: 1;
}

.jet-checkboxes-list__row:has(input[value="7"]) {
    order: 2;
}

/* ===== הסתרת הצ'קבוקס הנייטיבי ===== */
.jet-checkboxes-list__item .jet-checkboxes-list__input,
.jet-checkboxes-list__item input[type="checkbox"] {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    clip: rect(0 0 0 0) !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ===== הכרטיס ===== */
.jet-checkboxes-list__item {
    position: relative;
    display: block !important;
    min-height: 155px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: filter .4s ease;
    filter: grayscale(.7) brightness(.55);
    margin: 0 !important;
}

/* תמונות רקע לפי ערך הטקסונומיה */
.jet-checkboxes-list__item:has(input[value="7"]) {
    background-image: url('/wp-content/uploads/2026/07/cat-porcelain-scaled.jpg');
}

.jet-checkboxes-list__item:has(input[value="6"]) {
    background-image: url('/wp-content/uploads/2026/07/cat-natural-scaled.jpg');
}

/* מצב פעיל */
.jet-checkboxes-list__item:has(input:checked) {
    filter: grayscale(0) brightness(.8);
}

/* ===== תוכן הכרטיס — טקסט + לוגו בשורה ===== */
.jet-checkboxes-list__button {
    position: absolute;
    inset: 0;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    color: #fff;
    gap:10px;
}

.jet-checkboxes-list__label {
    font-size: 27px;
    line-height: 1.35;
    text-align: right;
}

.jet-checkboxes-list__item:has(input[value="6"]) .jet-checkboxes-list__label::after {
    content: 'קולקציית APOLLO';
    display: block;
    font-size: 13px;
    opacity: .75;
    margin-top: 4px;
}

.jet-checkboxes-list__item:has(input[value="7"]) .jet-checkboxes-list__label::after {
    content: 'קולקציית PRIMO TOP';
    display: block;
    font-size: 13px;
    opacity: .75;
    margin-top: 4px;
}

.jet-checkboxes-list__item:has(input[value="6"]) .jet-checkboxes-list__button::before {
    content: '';
    flex-shrink: 0;
    width: 150px;
    height: 50px;
    background-image: url('/wp-content/uploads/2026/07/apollo-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
}

.jet-checkboxes-list__item:has(input[value="7"]) .jet-checkboxes-list__button::before {
    content: '';
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-image: url('/wp-content/uploads/2026/07/primotop-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
}

/* ===== תג הווי ===== */
.jet-checkboxes-list__decorator {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #BF9A7A;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 2;
}

.jet-checkboxes-list__item:has(input:checked) .jet-checkboxes-list__decorator {
    opacity: 1;
}

.jet-checkboxes-list__checked-icon svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}


.jet-checkboxes-list__item .jet-checkboxes-list__decorator,
.jet-checkboxes-list__button > .jet-checkboxes-list__decorator {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    background: #BF9A7A !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity .3s ease !important;
    z-index: 5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jet-checkboxes-list__item:has(input:checked) .jet-checkboxes-list__decorator {
    opacity: 1 !important;
}

/* האייקון בפנים */
.jet-checkboxes-list__item .jet-checkboxes-list__checked-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
}

.jet-checkboxes-list__item .jet-checkboxes-list__checked-icon svg {
    width: 15px !important;
    height: 15px !important;
    fill: #fff !important;
    display: block !important;
}



/***END OF JET CHECKBOX FILTERS***/

.stones-filter-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    direction: rtl;
    margin: 40px 0 24px;
}

.stones-filter-bar__count {
    font-size: 34px;
    font-weight: 400;
    color: #1a1a1a;
    font-family: var(--lunasima);
}

.stones-filter-bar__status {
    font-size: 14.72px;
    color: #8c8276;
    font-family: var(--heebo);
    font-weight: 300;

}

.stones-filter-bar__term {
    color: #8c8276;
    font-family: var(--heebo);
    font-weight: 300;
   
}

.card-gradient-bg{
    background:linear-gradient(to top, rgba(20, 16, 12, .66), rgba(20, 16, 12, .04) 58%) ;
}

.stf-card-img:hover .elementor-image-box-wrapper img{
    transform: scale(1.03);
}



/* ==========================================================================
   Custom Project Gallery Grid - Smart Dynamic Layout
   ========================================================================== */

   .gallery-grid {
    --ease: cubic-bezier(.22,.61,.36,1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(180px, 18vw, 260px);
    gap: 16px;
    direction: rtl;
    width: 100%;
}

.gallery-grid .gal {
    display: block;
    position: relative;
    overflow: hidden;
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-grid .gal img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.6s var(--ease); 
}

.gallery-grid .gal:hover img {
    transform: scale(1.05);
}


.gallery-grid .gal.big {
    grid-column: span 2;
    grid-row: span 2;
}


.gallery-grid .gal.wide {
    grid-column: span 2;
    grid-row: span 1;
}


.gallery-grid .gal.half {
    grid-column: span 2;
    grid-row: span 2;
}


.gallery-grid .gal.full {
    grid-column: span 4;
    grid-row: span 2;
}


/***JET SLIDER HOME PAGE QUERY CONTROL****/

@media (min-width: 1025px) {
    .slider-bleed {
        width: calc(50vw + 650px) !important; 
        max-width: 100vw !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }
    .slider-bleed .swiper-slide {
        width: calc(1136px / 4.2) !important; 
    }
}

@media (max-width: 1024px) {
    .slider-bleed {
        width: 100% !important;
        margin: 0 !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
   
}
/*** END OF JET SLIDER HOME PAGE QUERY CONTROL****/


.e-n-tabs-heading{
    background: #f6f1e9eb;
    padding-right: 22em;
}

.e-n-tab-title {

    position: relative; 
}


.e-n-tab-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .35s var(--ease);
}


.e-n-tab-title[aria-selected="true"] {
    font-weight: 600 !important;
}

.e-n-tab-title[aria-selected="true"]::after {
    transform: scaleX(1);
}


 /*** Tablet ומטה ***/
@media (max-width: 1024px) {

    .e-n-tabs-heading{
        background: #f6f1e9eb;
        padding-right: 0;
    }
    
    .posts-card-arrow span{
        width: 30px;
        height: 30px;
  
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); 
        grid-auto-rows: 25vw; 
    }
    
    .gallery-grid .gal.big,
    .gallery-grid .gal.half {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-grid .gal.full {
        grid-column: span 2;
        grid-row: span 2;
    }

}

/* ===== מובייל ===== */
@media (max-width: 767px) {
    .jet-checkboxes-list-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jet-checkboxes-list__button {
        gap: 14px;
        padding: 0 18px;
    }

    .jet-checkboxes-list__label {
        font-size: 17px;
    }

    .jet-checkboxes-list__item:has(input[value="6"]) .jet-checkboxes-list__button::after,
    .jet-checkboxes-list__item:has(input[value="7"]) .jet-checkboxes-list__button::after {
        width: 105px;
        height: 38px;
    }

    .stones-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .stones-filter-bar__count {
        font-size: 18px;
        color:#2a2521;
        font-family: var(--lunasima);
        font-weight: 500;
    }

    .gallery-grid {
        display: flex; /* מעבר מגריד לפלקס עבור הסליידר */
        flex-wrap: nowrap; /* שומר על התמונות בשורה אחת אופקית */
        overflow-x: auto; /* מאפשר גלילה אופקית */
        overflow-y: hidden;
        scroll-snap-type: x mandatory; /* הפעלת מנגנון "נעילת גלילה" */
        gap: 12px;
        padding-bottom: 10px;
        
        /* הסתרת פס הגלילה המכוער לקבלת מראה של אפליקציה */
        scrollbar-width: none; /* פיירפוקס */
        -ms-overflow-style: none; /* אקספלורר/אדג' */
    }
    
    /* הסתרת פס הגלילה בכרום וספארי */
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-grid .gal {
        /* כל תמונה תתפוס 85% מהמסך כדי שהתמונה הבאה "תציץ" מהצד ותרמוז על גלילה */
        flex: 0 0 85%;
        height: 300px; /* גובה קבוע לסליידר במובייל */
        scroll-snap-align: center; /* התמונה תמיד תינעל למרכז המסך בסיום ההחלקה */
    }
    
    /* ביטול הפריסות השונות כדי שכל התמונות יהיו באותו גודל בדיוק בסליידר */
    .gallery-grid .gal.big,
    .gallery-grid .gal.wide,
    .gallery-grid .gal.half,
    .gallery-grid .gal.full {
        grid-column: auto;
        grid-row: auto;
    }

}
