/* ==========================================================
   HOME PAGE - hero slider, products, experience, testimonials
   ========================================================== */

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
}
.hero-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    z-index: 20;
}
.hero-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transition: width 0.1s linear;
}
.hero-progress-bar.running { animation: progressRun 6s linear forwards; }
@keyframes progressRun { from { width: 0; } to { width: 100%; } }

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, transparent 30%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    max-width: 550px;
    z-index: 10;
    text-align: right;
}
.hero-subtitle {
    font-family: var(--font-handwritten);
    font-size: 1.6rem;
    color: var(--color-gold-light);
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.hero-slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.hero-slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}
.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.hero-slide.active .hero-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.hero-slide.active .hero-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: all 0.3s ease;
}
.hero-nav:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}
.hero-nav svg { width: 24px; height: 24px; stroke: white; stroke-width: 2; fill: none; rotate: 180deg;}
.hero-nav-prev { left: 2rem; }
.hero-nav-next { right: 2rem; }

.hero-indicators {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 15;
}
.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.hero-indicator:hover { background: rgba(255,255,255,0.6); }
.hero-indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: var(--color-gold);
}

/* PRODUCTS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(61, 79, 57, 0.12);
}
.product-image-wrapper { position: relative; height: 260px; overflow: hidden; }
.product-image-link { display: block; width: 100%; height: 100%; position: relative; }
.product-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.5s ease;
}
.product-image-main { opacity: 1; z-index: 1; }
.product-image-hover { opacity: 0; z-index: 2; }
.product-card:hover .product-image { transform: scale(1.08); }
.product-card:hover .product-image-hover { opacity: 1; }
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
}
.product-badge.new { background: var(--color-sage); color: white; }
.product-badge:not(.new):not(.sale) { background: var(--color-gold); color: white; }
.product-badge.sale { background: var(--color-rose-deep); color: white; }
.product-actions {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 5;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    color: var(--color-forest);
}
.product-action-btn:hover { background: var(--color-rose); color: white; transform: scale(1.1); }
.product-info { padding: 1.3rem; }
.product-category {
    font-size: 0.65rem;
    color: var(--color-sage);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.product-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-forest);
    margin-bottom: 0.4rem;
}
.product-description {
    font-size: 0.8rem;
    color: var(--color-forest);
    opacity: 0.7;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}
.product-notes { display: flex; gap: 0.4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.note {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    background: var(--color-cream);
    border-radius: 10px;
    color: var(--color-sage-dark);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    display: inline-block;
}
a.note:hover { background: var(--color-sage); color: #fff; }

/* קישור על שם המוצר */
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--color-sage); }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.product-price {
    font-family: var(--font-price);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-forest);
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
    line-height: 1.2;
}
.product-price small {
    font-size: 0.75rem;
    opacity: 0.6;
    font-family: var(--font-body);
    font-weight: 400;
}

/* מחיר רגיל (WC wrappers) */
.product-price .woocommerce-Price-amount,
.product-price .amount { font-family: var(--font-price); }

/* מבצע: המחיר הישן (del) - קטן, קו חוצה, דהוי */
.product-price del {
    order: 2;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-forest);
    opacity: 0.5;
    text-decoration: line-through;
    text-decoration-color: var(--color-rose-deep);
    text-decoration-thickness: 1.5px;
}
.product-price del bdi { direction: ltr; }

/* מבצע: המחיר החדש (ins) - בולט, בצבע מבצע */
.product-price ins {
    order: 1;
    background: transparent;
    text-decoration: none;
    color: var(--color-rose-deep);
    font-weight: 700;
    font-size: 1.3rem;
}

/* small (יחידת מידה) - תמיד בסוף */
.product-price small { order: 3; }
.add-to-cart-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-sage);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}
.add-to-cart-btn:hover { background: var(--color-sage-dark); transform: scale(1.1); }
.add-to-cart-btn.loading { opacity: 0.7; pointer-events: none; }
.add-to-cart-btn.loading svg { animation: addToCartSpin 0.8s linear infinite; }
.add-to-cart-btn.added { background: var(--color-gold); }
.add-to-cart-btn.added::after {
    content: '✓';
    position: absolute;
    font-size: 1.1rem;
    font-weight: 700;
}
.add-to-cart-btn.added svg { display: none; }
@keyframes addToCartSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* הסתרת קישור ה-"View cart" שWC מוסיף אוטומטית ליד הכפתור */
.added_to_cart.wc-forward {
    display: none !important;
}
.view-all-container { text-align: center; margin-top: 2.5rem; }

/* ==========================================================
   BLOG SECTION - עמוד בית
   ========================================================== */
.blog-section {
    background: var(--color-cream);
    position: relative;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 5px 20px rgba(61, 79, 57, 0.06);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(61, 79, 57, 0.12);
}
.blog-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--color-cream-dark);
}
.blog-image-link { display: block; width: 100%; height: 100%; }
.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.blog-card:hover .blog-image { transform: scale(1.08); }
.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: white;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-sage);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
}
.blog-category:hover { background: var(--color-sage); color: white; }
.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-date {
    font-size: 0.75rem;
    color: var(--color-sage);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.blog-date svg { width: 14px; height: 14px; stroke: var(--color-sage); fill: none; stroke-width: 2; }
.blog-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-forest);
    margin: 0 0 0.6rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.blog-title a { color: inherit; text-decoration: none; }
.blog-card:hover .blog-title { color: var(--color-sage); }
.blog-excerpt {
    font-size: 0.85rem;
    color: var(--color-forest);
    opacity: 0.7;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-sage);
    text-decoration: none;
    transition: gap 0.2s ease;
    align-self: flex-start;
}
.blog-read-more:hover { gap: 0.7rem; color: var(--color-sage-dark); }
.blog-read-more svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none; stroke-width: 2;
    transition: transform 0.2s ease;
}
.blog-card:hover .blog-read-more svg { transform: translateX(-3px); }

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; max-width: 380px; }
}

/* ========== CAROUSEL של מוצרים ========== */
.products-grid-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.products-grid-wrap.is-carousel .products-carousel {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4rem) / 3);
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.products-grid-wrap.is-carousel .products-carousel::-webkit-scrollbar { display: none; }
.products-grid-wrap.is-carousel .product-card { scroll-snap-align: start; }

.carousel-nav {
    position: absolute;
    top: 130px; /* גובה התמונה חצי פחות */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(61, 79, 57, 0.1);
    box-shadow: 0 4px 15px rgba(61, 79, 57, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-forest);
    z-index: 10;
    transition: all 0.2s ease;
}
.carousel-nav:hover { background: var(--color-sage); color: white; transform: scale(1.08); }
.carousel-nav svg { width: 22px; height: 22px; }
.carousel-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel-nav:disabled:hover { background: white; color: var(--color-forest); transform: none; }
.carousel-prev { right: -22px; rotate: 180deg; }
.carousel-next { left: -22px; rotate: 180deg; }

@media (max-width: 1024px) {
    .products-grid-wrap.is-carousel .products-carousel {
        grid-auto-columns: calc((100% - 2rem) / 2);
    }
    .carousel-prev { right: 0; }
    .carousel-next { left: 0; }
}
@media (max-width: 768px) {
    .products-grid-wrap.is-carousel .products-carousel {
        grid-auto-columns: 85%;
    }
    .carousel-nav { display: none; }
}

/* EXPERIENCE */
.experience-section {
    background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
    position: relative;
    overflow: hidden;
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.experience-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.experience-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(61, 79, 57, 0.1); }
.experience-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--glow-color, rgba(212, 165, 165, 0.15)) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}
.experience-card:nth-child(2)::before { --glow-color: rgba(168, 197, 217, 0.15); animation-delay: 1s; }
.experience-card:nth-child(3)::before { --glow-color: rgba(197, 184, 217, 0.15); animation-delay: 2s; }
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.experience-icon {
    width: 70px;
    height: 80px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.experience-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: eggFloat 4s ease-in-out infinite;
}
.experience-card:nth-child(1) .experience-icon::before { background: linear-gradient(135deg, rgba(212, 165, 165, 0.4) 0%, rgba(240, 212, 212, 0.6) 100%); }
.experience-card:nth-child(2) .experience-icon::before { background: linear-gradient(135deg, rgba(168, 197, 217, 0.4) 0%, rgba(208, 228, 240, 0.6) 100%); animation-delay: 0.5s; }
.experience-card:nth-child(3) .experience-icon::before { background: linear-gradient(135deg, rgba(197, 184, 217, 0.4) 0%, rgba(220, 212, 235, 0.6) 100%); animation-delay: 1s; }
@keyframes eggFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
    50% { transform: translateY(-5px) rotate(3deg) scale(1.03); }
}
.experience-icon svg,
.experience-icon img { width: 28px; height: 28px; position: relative; z-index: 2; }
.experience-icon svg { stroke: var(--color-sage); }
.experience-icon img { object-fit: contain; }
.experience-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-forest);
    margin-bottom: 0.6rem;
}
.experience-text {
    font-size: 0.85rem;
    color: var(--color-forest);
    opacity: 0.7;
    line-height: 1.6;
}
/* ---------- תמונת קישוט לכרטיסי חוויה ---------- */
.experience-decor-img {
    position: absolute;
    width: 150px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}
.experience-decor-img.pos-top-right    { top: -65px;  right: -50px; }
.experience-decor-img.pos-top-left     { top: -65px;  left: -30px; }
.experience-decor-img.pos-bottom-right { bottom: -65px; right: -50px; }
.experience-decor-img.pos-bottom-left  { bottom: -65px; left: -30px; }
.experience-decor-img.pos-top-center {
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
}
.experience-decor-img.pos-bottom-center {
    bottom: -75px;
    left: 50%;
    transform: translateX(-50%);
}

/* תאימות לאחור - אם נשארו קבצי HTML/content עם המחלקות הישנות */
.experience-grid-img-1 { position: absolute; top: -65px; right: -50px; width: 150px; }
.experience-grid-img-2 { position: absolute; top: -65px; left: -30px; width: 150px; }

/* במובייל - מקטינים קצת את הקישוטים כדי שלא יצאו מהגבול */
@media (max-width: 768px) {
    .experience-decor-img { width: 100px; }
    .experience-decor-img.pos-top-right,
    .experience-decor-img.pos-top-left { top: -40px; }
    .experience-decor-img.pos-bottom-right,
    .experience-decor-img.pos-bottom-left { bottom: -40px; }
    .experience-decor-img.pos-top-center { top: -50px; }
    .experience-decor-img.pos-bottom-center { bottom: -50px; }
}

/* TESTIMONIALS */
.testimonials-section {
    background: var(--color-cream-2);
    position: relative;
    overflow: hidden;
}
.testimonials-static-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.testimonials-section .bg-video {
    position: absolute;
    left: 0;
}
.testimonials-static-decor.circle-1 {
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 2px dashed rgba(212, 165, 165, 0.3);
    top: 5%; left: 5%;
}
.testimonials-static-decor.circle-2 {
    width: 150px; height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 197, 217, 0.15) 0%, transparent 70%);
    bottom: 10%; right: 8%;
}
.testimonials-static-decor.dots {
    width: 100px; height: 100px;
    top: 15%; right: 15%;
    background-image: radial-gradient(circle, rgba(197, 184, 217, 0.4) 2px, transparent 2px);
    background-size: 15px 15px;
}
.testimonials-static-decor.line-1 {
    width: 80px; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.4), transparent);
    bottom: 20%; left: 10%;
}
.testimonials-static-decor.leaf-shape {
    width: 60px; height: 30px;
    border-radius: 50% / 100% 100% 0 0;
    border: 2px solid rgba(154, 173, 140, 0.25);
    transform: rotate(45deg);
    top: 30%; left: 8%;
}
.testimonials-static-decor.ring {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(212, 165, 165, 0.2);
    bottom: 25%; right: 5%;
}

.testimonials-slider-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 2;
}
.testimonials-slider { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
    min-width: 100%;
    padding: 2.5rem;
    background: rgba(255,255,255,0.6);
    border-radius: 20px;
    text-align: center;
}
.testimonial-stars {
    color: var(--color-gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}
.testimonial-text {
    font-size: 1.05rem;
    color: var(--color-forest);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-sage-light);
}
.author-info { text-align: right; }
.author-name { font-weight: 600; color: var(--color-forest); }
.author-title { font-size: 0.75rem; color: var(--color-sage); }
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-cream);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--color-forest);
}
.slider-btn:hover { background: var(--color-sage); color: white; }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-sage-light);
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.slider-dot.active { opacity: 1; background: var(--color-sage); transform: scale(1.3); }

@media (max-width: 1024px) {
    .products-grid, .experience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero { padding: 2rem 1.2rem; min-height: 70vh; }
    .products-grid, .experience-grid { grid-template-columns: 1fr; max-width: 380px; }
}
