:root {
    --bg-dark: #f5f5f0;
    --bg-light-dark: #ffffff;
    --gold: #c9a227;
    --gold-hover: #e6b830;
    --text-light: #1a1a1a;
    --text-muted: #555555;
    --success: #2ecc71;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Assistant', sans-serif; scroll-behavior: smooth; }
button, a { transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
button:active { transform: scale(0.96); }
body { background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }
.gold-text { color: var(--gold); }

/* פס הכרזות מתחלף */
.announcement-bar { background-color: var(--gold); color: #000000; text-align: center; padding: 10px; font-size: 16px; position: relative; height: 44px; display: flex; justify-content: center; align-items: center; overflow: hidden; font-weight: bold; z-index: 1001; }
.announcement-text { position: absolute; opacity: 0; transition: opacity 1s ease-in-out; width: 100%; }
.announcement-text.active { opacity: 1; }

/* תפריט ניווט */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 50px; background-color: #000000; position: sticky; top: 0; width: 100%; z-index: 1000; transition: all 0.4s ease; }
.navbar.scrolled { padding: 10px 50px; background-color: #000; border-bottom: 1px solid var(--gold); box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2); }
nav a { color: #ffffff !important; }
.navbar .cart-icon-container { color: var(--gold); }
.site-logo { height: 50px; filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.6)); }
nav ul { list-style: none; display: flex; gap: 40px; align-items: center; }
nav a { text-decoration: none; color: var(--text-light); font-size: 17px; transition: 0.3s; }
nav a:hover { color: var(--gold); }
.cart-icon-container { color: var(--gold); cursor: pointer; position: relative; font-size: 22px; transition: transform 0.2s; }
.cart-icon-container:hover { transform: scale(1.1); }
#cart-count { position: absolute; top: -10px; right: -12px; background: red; color: white; border-radius: 50%; padding: 2px 7px; font-size: 12px; font-weight: bold;}

/* Hero Section */
.hero-section { height: 90vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
#hero-video { position: absolute; top: 50%; left: 50%; width: 100vw; height: 100vh; object-fit: cover; transform: translate(-50%, -50%); z-index: -1; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.45); z-index: 0; }
.hero-content { z-index: 1; }
.hero-content h1 { font-size: 70px; margin-bottom: 15px; line-height: 1.1; }
.hero-content .subtitle { font-size: 24px; color: var(--gold); margin-bottom: 30px; font-weight: 300; }
.btn-gold-outline { display: inline-block; padding: 11px 32px; border: 2px solid var(--gold); color: var(--gold); text-decoration: none; font-size: 16px; font-weight: bold; transition: 0.4s; }
.btn-gold-outline:hover { background: var(--gold); color: black; box-shadow: 0 0 20px rgba(212, 175, 55, 0.5); }

/* סרגל יתרונות */
.benefits-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; background: var(--bg-light-dark); padding: 40px 20px; border-bottom: 1px solid #ddd; }
.benefit-item { text-align: center; max-width: 180px; }
.benefit-item i { font-size: 30px; color: var(--gold); margin-bottom: 15px; display: block; }
.benefit-item span { font-size: 15px; color: var(--text-muted); }

/* קצת עליי */
.vision-section { padding: 100px 50px; background: #eaeae4; }
.vision-container { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; gap: 50px; flex-wrap: wrap; }
.vision-text { flex: 1; min-width: 300px; font-size: 18px; }
.vision-text h2 { font-size: 40px; margin-bottom: 20px; }
.vision-text p { margin-bottom: 15px; color: #1a1a1a; }
.vision-image-3d { flex: 1; min-width: 300px; text-align: center; }
.vision-mobile-circle { display: none; }
.small-vision-img { max-width: 75% !important; margin: 0 auto; display: block; }

/* קרוסלת סרטונים */
.youtube-section { text-align: center; padding: 80px 20px; }
.section-title { font-size: 40px; color: var(--gold); margin-bottom: 50px; text-align: center; }
.video-slider-wrapper { position: relative; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; padding: 20px 0; width: 100%; }
.video-carousel::-webkit-scrollbar { display: none; }
.video-item { flex: 0 0 calc(33.333% - 14px); min-width: 280px; position: relative; scroll-snap-align: center; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 16/9; background: #111; border: 1px solid #333; transition: 0.3s;}
.video-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.1); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s ease; }
.play-icon { font-size: 40px; color: #fff; font-weight: 100; opacity: 0.8; transition: 0.4s ease; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
.video-title { color: #fff; text-align: center; font-size: 19px; margin-top: 15px; opacity: 0; transform: translateY(15px); transition: 0.4s ease; font-weight: 400; padding: 0 15px; text-shadow: 1px 1px 5px rgba(0,0,0,1); }
.video-item:hover { border-color: var(--gold); }
.video-item:hover img { transform: scale(1.05); filter: brightness(0.4); }
.slider-arrow { background: none; border: none; color: var(--gold); font-size: 30px; cursor: pointer; padding: 10px 20px; z-index: 10; transition: 0.3s; }
.slider-arrow:hover { color: #fff; transform: scale(1.1); }

/* קולקציות */
.collections-section { padding: 80px 50px; background: var(--bg-dark); }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.card { background: var(--bg-light-dark); border: 1px solid #222; overflow: hidden; cursor: pointer; transition: 0.4s; position: relative; display: flex; flex-direction: column; }
.card:hover { border-color: var(--gold); transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.card-image img { width: 100%; height: 320px; object-fit: cover; }
.card-info { padding: 25px; text-align: right; display: flex; flex-direction: column; flex-grow: 1; }
.card-info h3 { font-size: 24px; margin-bottom: 5px; }
.card-info .tagline { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.card-info .price { font-size: 20px; color: var(--gold); font-weight: bold; margin-bottom: 15px; }
.dots-preview { display: flex; gap: 8px; margin-bottom: 20px; }
.dot-prev { width: 15px; height: 15px; border-radius: 50%; border: 1px solid #555; }
.btn-view { background: var(--gold); color: black; border: none; padding: 12px; font-size: 16px; font-weight: bold; cursor: pointer; width: 100%; transition: 0.3s; margin-top: auto; }
.btn-view:hover { background: #fff; }

/* גלריית תמונות במודל */
.modal-media-container { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #1a1a1a; border-radius: 6px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.6); margin-bottom: 15px; }
.modal-img-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity 0.32s ease; }
#modal-main-img { z-index: 2; opacity: 1; }
#modal-main-img-b { z-index: 1; opacity: 0; }
#modal-video-container { position: absolute; inset: 0; z-index: 3; }
#modal-video-container iframe { width: 100%; height: 100%; border: none; display: block; }
.gallery-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.65); border: 1px solid rgba(212, 175, 55, 0.4); color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.gallery-nav-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.gallery-nav-btn.prev-btn { right: 15px; }
.gallery-nav-btn.next-btn { left: 15px; }

/* חלון רכישה בסיסי (דף רכישה) */
.modal { display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); overflow-y: auto; align-items: flex-start; justify-content: center; padding: 30px 16px; box-sizing: border-box; }
.modal-content { background: var(--bg-light-dark); width: 100%; max-width: 680px; max-height: 88vh; overflow-y: auto; padding: 22px 26px; border: 1px solid var(--gold); border-radius: 8px; position: relative; animation: modalFadeIn 0.4s; box-shadow: 0 20px 60px rgba(0,0,0,0.7); }
@keyframes modalFadeIn  { from {opacity: 0; transform: scale(0.92) translateY(20px);} to   {opacity: 1; transform: scale(1)    translateY(0);}  }
@keyframes modalFadeOut { from {opacity: 1; transform: scale(1) translateY(0);} to {opacity: 0; transform: scale(0.96) translateY(8px);} }
.modal.closing { pointer-events: none; background: rgba(0,0,0,0) !important; transition: background 0.18s ease; }
.modal.closing .modal-content { animation: modalFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.close-modal { position: absolute; top: 12px; left: 16px; font-size: 30px; color: var(--gold); cursor: pointer; z-index: 50; }
.modal-body { display: flex; gap: 22px; flex-wrap: wrap; }
.modal-gallery { flex: 1; min-width: 240px; position: relative; }
.mini-gallery { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 10px 0; }
.gallery-dot { width: 10px; height: 10px; border-radius: 50%; background: #555; cursor: pointer; border: none; padding: 0; transition: background 0.3s ease, transform 0.2s ease; }
.gallery-dot:hover { transform: scale(1.3); }
.gallery-dot.active { background: var(--gold); transform: scale(1.2); }
.video-dot { background: #333; color: var(--gold); font-size: 8px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
.video-thumb { background: #1a1a1a; border: 1px solid #444; width: 50px; height: 50px; border-radius: 4px; cursor: pointer; text-align: center; transition: 0.3s; }

/* עיגולי צבע */
.color-swatches { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.swatch-container { text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; width: 58px; }
.swatch { width: 32px; height: 32px; border-radius: 50% !important; border: 2px solid #2a2a2a; margin-bottom: 6px; transition: all 0.2s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); }
.swatch-container.active .swatch { border-color: var(--gold); transform: scale(1.2); box-shadow: 0 0 10px var(--gold); }
.swatch-name { font-size: 11px; color: var(--text-muted); line-height: 1.2; white-space: nowrap; font-weight: 600; }

.modal-options { flex: 1.2; min-width: 260px; }
.desc-text { color: #555; margin: 4px 0 8px; font-size: 15px; white-space: pre-line; }
.disclaimer-text { font-size: 12px; color: #6c757d; margin: 0 0 15px; }
.desc-label { font-size: 15px; font-weight: 700; color: #aaa; margin: 15px 0 0; }
.title-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.title-price-row h2 { margin: 0; font-size: 20px; line-height: 1.2; }
.price-big { font-size: 24px; font-weight: bold; margin-bottom: 0; display: flex; align-items: center; white-space: nowrap; }
.old-price { text-decoration: line-through; color: gray; font-size: 18px; margin-left: 10px; }
.modal-options .tagline { margin: 2px 0 8px; font-size: 13px; }
.option-group { margin-bottom: 22px; position: relative; }
.option-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--gold); }
.color-option-group { margin-bottom: 12px !important; }

/* חלונות צפים מקוריים למחשב (טולטיפים) */
.size-header-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tooltip-measure { position: relative; display: inline-block; }
.btn-measure-trigger { font-size: 13px; color: var(--gold); cursor: pointer; border-bottom: 1px dashed var(--gold); font-weight: 600; }
.tooltip-floating-box { display: none; position: absolute; bottom: 28px; left: 0; width: 290px; background: #fff; border: 1px solid var(--gold); border-radius: 8px; padding: 14px; z-index: 100; box-shadow: 0 5px 25px rgba(0,0,0,0.2); color: #1a1a1a; text-align: right; }
.tooltip-floating-box.open { display: block; }
.tooltip-floating-box p { font-size: 12px; line-height: 1.4; color: #1a1a1a; margin-bottom: 8px; font-weight: normal; }
.tooltip-img-box img { width: 100%; max-height: 110px; object-fit: cover; border-radius: 4px; border: 1px solid #333; margin: 5px 0; cursor: pointer; }

.inscription-hover-preview { position: relative; display: inline-block; }
.inscription-preview-box { display: none; position: absolute; top: 22px; right: 0; width: 140px; height: 140px; background: #000; border: 1px solid var(--gold); border-radius: 6px; overflow: hidden; z-index: 50; box-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.inscription-preview-box.open { display: block; }
.inscription-preview-box img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

.inscription-grid-options { display: flex; gap: 12px; margin-top: 5px; width: 100%; }
.inscription-item-box { flex: 1; background: #fffdf5; border: 2px solid #d6cdb8; padding: 12px; text-align: center; border-radius: 6px; cursor: pointer; transition: all 0.2s; position: relative; }
.inscription-item-box input[type="radio"] { display: none; }
.inscription-item-box span { font-size: 14px; font-weight: 600; color: #999; }
.inscription-item-box:has(input[type="radio"]:checked) { border-color: var(--gold); background: var(--gold); box-shadow: 0 2px 10px rgba(201, 162, 39, 0.4); }
.inscription-item-box input[type="radio"]:checked + span { color: #000; }

.mirror-container-flex { display: flex; align-items: center; gap: 10px; }
.mirror-hover-preview { position: relative; display: inline-block; }
.mirror-preview-box { display: none; position: absolute; top: 22px; left: 0; width: 130px; height: 130px; background: #000; border: 1px solid var(--gold); border-radius: 6px; overflow: hidden; z-index: 50; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.mirror-preview-box.open { display: block; }
.mirror-preview-box img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

.field-note { font-size: 13px; color: #1a1a1a; font-weight: 700 !important; margin-right: 5px; display: inline-block; }
.size-alert-note { font-size: 12px; color: #a0a0a0; font-weight: normal !important; display: inline-block; }
.dedication-optional-note { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.dedication-toggle-label { margin-bottom: 0 !important; display: flex; align-items: center; gap: 6px; }
.name-personalization-container { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s ease-out, opacity 0.3s ease; }
.name-personalization-container.open { max-height: 260px; opacity: 1; }
.dedication-style-label { font-size: 13px; color: var(--text-muted); margin: 10px 0 8px; font-weight: 600; }
.dedication-style-pills { display: flex; gap: 10px; margin-bottom: 12px; }
.dedication-pill { flex: 1; padding: 9px 12px; border: 1.5px solid #d6cdb8; border-radius: 30px; background: #fffdf5; color: #555; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: inherit; }
.dedication-pill.active { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,0.07); font-weight: 700; }
.ded-info-wrap { position: relative; display: inline-flex; align-items: center; font-size: 13px; cursor: pointer; }
.ded-tooltip-img { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 220px; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.18); border: 1px solid var(--gold); z-index: 300; background: #fff; }
.ded-info-wrap:hover .ded-tooltip-img { display: block; }
.ded-tooltip-img img { width: 100%; display: block; }
.inscription-input-expand { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.inscription-input-expand.open { max-height: 90px; }

/* מוצרים משלימים - דף רכישה */
.order-bumps-premium { background: rgba(255, 255, 255, 0.02); border: 3px solid rgba(212, 175, 55, 0.7); border-radius: 8px; padding: 16px; margin: 25px 0; }

.bump3-row { flex-direction: column; align-items: stretch !important; }
.bump3-variant-line { display: flex; align-items: center; gap: 10px; padding: 4px 0; }

/* תיבות סימון מחזיקי מפתחות */
.order-bumps-premium input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}
.order-bumps-premium input[type="checkbox"]:checked {
    background: var(--gold);
    border-color: var(--gold);
}
.order-bumps-premium input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #000;
    font-size: 13px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.order-bumps-premium label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 14px;
}
.bump-headline { font-weight: bold; margin-bottom: 12px; font-size: 16px; color: #000000; }
.bump-product-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); gap: 12px; }
.bump-image-lightbox-anchor { position: relative; width: 55px; height: 55px; border-radius: 4px; overflow: hidden; cursor: pointer; border: 1px solid #333; flex-shrink: 0; }
.bump-image-lightbox-anchor img { width: 100%; height: 100%; object-fit: cover; }
.bump-label-white-bold { color: #000000 !important; font-weight: 400 !important; font-size: 14px !important; line-height: 1.4; display: inline-block; }
.variant-qty-align { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 4px 0; }
.bump-dual-images-container { display: flex; gap: 6px; flex-shrink: 0; }
.image-mini-square { width: 45px !important; height: 45px !important; }
.qty-counter-component { display: flex; align-items: center; background: #f5f5f0; border: 1.5px solid var(--gold); border-radius: 6px; overflow: hidden; width: fit-content; flex-shrink: 0; }
.qty-counter-component button { background: none; border: none; color: #1a1a1a; width: 28px; height: 28px; font-size: 15px; cursor: pointer; transition: background 0.2s; font-weight: bold; }
.qty-counter-component button:hover { background: var(--gold); color: #000; }
.qty-counter-component span { width: 30px; text-align: center; font-size: 14px; font-weight: bold; display: inline-block; color: #1a1a1a; border-right: 1px solid #ddd; border-left: 1px solid #ddd; }

.final-price-large { font-size: 24px !important; font-weight: 800 !important; color: #000000; margin-bottom: 15px; border-bottom: 1px solid #222; padding-bottom: 10px; }
.final-price-large span { color: var(--gold); font-size: 28px; font-weight: 900; }

.modal-footer.dual-actions { border-top: 1px solid #333; padding-top: 20px; margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.dual-buttons-container { display: flex; gap: 12px; width: 100%; }
.btn-add-to-cart-premium, .btn-buy-now-premium { flex: 1; padding: 14px 20px; font-size: 17px; font-weight: bold; border: none; border-radius: 4px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: 0.3s ease; }
.btn-add-to-cart-premium { background: var(--gold); color: #000; }
.btn-buy-now-premium { background: var(--success); color: #fff; }

select, input[type="text"], input[type="tel"] { width: 100%; padding: 12px; background: #f0eeea; border: 1px solid #d5d0c8; color: #1a1a1a; font-size: 16px; border-radius: 4px; }
select option { background: #fff; color: #1a1a1a; }
#size-select { appearance: none; -webkit-appearance: none; border-radius: 8px; border: 1.5px solid #d5d0c8; padding: 12px 40px 12px 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a227' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; box-shadow: 0 1px 4px rgba(0,0,0,0.07); transition: border-color 0.2s, box-shadow 0.2s; cursor: pointer; }
#size-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.15); }
.small-input { padding: 6px 10px !important; font-size: 16px !important; background: #f5f5f0 !important; border: 1px solid #ccc !important; border-radius: 4px; width: 100%; height: auto !important; color: #1a1a1a !important; }

/* קולקציית מוצרים משלימים */
.complements-section { padding: 60px 50px; background: #111; }
.complements-title { font-size: 30px; color: var(--gold); text-align: center; margin-bottom: 36px; font-weight: 700; letter-spacing: 0.5px; }
.complements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 720px; margin: 0 auto; }
.complement-card { background: #1a1a1a; border: 1px solid #333; border-radius: 8px; overflow: hidden; transition: 0.4s; display: flex; flex-direction: column; }
.complement-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 7px 24px rgba(0,0,0,0.7); }

/* סליידר תמונות */
.complement-slider-wrap { position: relative; overflow: hidden; }
.complement-img-wrap { overflow: hidden; cursor: zoom-in; }
.complement-img-wrap img { width: 100%; height: 140px; object-fit: cover; display: block; transition: opacity 0.2s ease, transform 0.4s ease; }
.complement-card:hover .complement-img-wrap img { transform: scale(1.04); }
.comp-arrow { position: absolute; top: 50%; transform: translateY(-50%) scale(0.85); background: rgba(0,0,0,0.55); border: none; color: #fff; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; font-size: 10px; opacity: 0; transition: opacity 0.6s ease, background 0.4s ease, transform 0.6s ease; padding: 0; }
.complement-slider-wrap:hover .comp-arrow { opacity: 1; transform: translateY(-50%) scale(1); }
.comp-arrow:hover { background: var(--gold); color: #000; }
.comp-flash { position: absolute; inset: 0; background: rgba(255,255,255,0.22); pointer-events: none; z-index: 10; animation: compFlash 0.45s ease-out forwards; }
@keyframes compFlash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.comp-arrow-prev { right: 7px; }
.comp-arrow-next { left: 7px; }

.comp-dots-container { display: flex; justify-content: center; gap: 5px; padding: 5px 0 2px; min-height: 18px; }
.comp-dot { width: 6px; height: 6px; border-radius: 50%; background: #444; border: none; padding: 0; cursor: pointer; transition: background 0.25s, transform 0.25s; flex-shrink: 0; }
.comp-dot.active { background: var(--gold); transform: scale(1.35); }
.comp-dot:hover { background: var(--gold-hover); }

.complement-info { padding: 11px 13px; text-align: right; display: flex; flex-direction: column; flex-grow: 1; gap: 7px; }
.complement-info h3 { font-size: 13px; color: #fff; margin: 0; font-weight: 600; }
.complement-desc { font-size: 11px; color: #888; margin: 0; line-height: 1.4; }
.complement-price { font-size: 14px; color: var(--gold); font-weight: bold; margin: 0; }
.complement-color-selector { display: flex; gap: 8px; align-items: center; }
.comp-color-btn { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #555; cursor: pointer; transition: all 0.2s; padding: 0; flex-shrink: 0; }
.comp-color-btn.active { border-color: var(--gold); transform: scale(1.25); box-shadow: 0 0 7px rgba(201,162,39,0.6); }
.complement-qty-row { display: flex; align-items: center; gap: 6px; margin-top: auto; }
.complement-qty { display: flex; align-items: center; background: #222; border: 1.5px solid #444; border-radius: 5px; overflow: hidden; flex-shrink: 0; }
.complement-qty button { background: none; border: none; color: #fff; width: 22px; height: 24px; font-size: 13px; cursor: pointer; font-weight: bold; transition: background 0.2s; }
.complement-qty button:hover { background: var(--gold); color: #000; }
.complement-qty span { width: 20px; text-align: center; font-size: 12px; font-weight: bold; color: #fff; border-right: 1px solid #333; border-left: 1px solid #333; display: inline-block; }
.btn-complement-cart { flex: 1; background: var(--gold); color: #000; border: none; padding: 7px 8px; font-size: 12px; font-weight: bold; cursor: pointer; border-radius: 5px; transition: 0.3s; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 4px; }
.btn-complement-cart:hover { background: #fff; color: #000; }

@media (max-width: 768px) {
    .complements-section { padding: 36px 0 36px 15px; }
    .complements-title { font-size: 20px; letter-spacing: 0; margin-left: 15px; }
    .complements-grid { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; max-width: 100%; padding-bottom: 12px; padding-left: 15px; }
    .complements-grid::-webkit-scrollbar { display: none; }
    .complement-card { flex: 0 0 70vw; scroll-snap-align: start; }
    .complement-img-wrap img { height: 160px; }
    .comp-arrow { display: none !important; }
}

/* ביקורות, FAQ וכללי... */
.reviews-section { padding: 60px 0; background: #eaeae4; overflow: hidden; }
.reviews-carousel { width: 100%; overflow: hidden; white-space: nowrap; padding: 20px 0; }
.reviews-track { display: inline-block; animation: scrollTrack 30s linear infinite; }
.reviews-carousel:hover .reviews-track { animation-play-state: paused; }
.reviews-track img { height: 250px; margin: 0 10px; border-radius: 8px; border: 1px solid #333; transition: 0.3s; cursor: pointer; }
@keyframes scrollTrack { from { transform: translateX(0); } to { transform: translateX(50%); } }

.lightbox { display: none; position: fixed; z-index: 4000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0); align-items: center; justify-content: center; transition: background-color 0.3s ease; }
.lightbox.open { background-color: rgba(0,0,0,0.85); }
.lightbox.align-top { align-items: flex-start; padding-top: 20px; overflow-y: auto; }
.lightbox-content { max-width: 90%; max-height: 85vh; border-radius: 5px; border: 2px solid var(--gold); box-shadow: 0 0 30px rgba(0,0,0,0.9); opacity: 0; transform: scale(0.85); transition: opacity 0.35s ease, transform 0.35s ease; }
.lightbox.open .lightbox-content { opacity: 1; transform: scale(1); }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: var(--gold); font-size: 50px; font-weight: bold; cursor: pointer; z-index: 4001; }

.faq-section { padding: 60px 20px; max-width: 800px; margin: 0 auto; }
.faq-item { background: #ffffff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; margin-bottom: 15px; }
.faq-question { padding: 20px; font-size: 18px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-light); }
.faq-answer { max-height: 0; overflow: hidden; background: #f9f9f6; color: #333; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 1000px; padding: 0 20px 20px 20px; }

/* סל קניות מחשב */
.cart-sidebar { position: fixed; top: 0; left: -460px; width: 440px; height: 100%; background: var(--bg-light-dark); z-index: 3000; transition: 0.4s; padding: 25px; border-right: 1px solid var(--gold); display: flex; flex-direction: column;}
.cart-sidebar.active { left: 0; box-shadow: 5px 0 30px rgba(0,0,0,0.8); }
.cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; padding-bottom: 12px; margin-bottom: 15px;}
.close-cart { background: none; border: none; color: var(--gold); font-size: 30px; cursor: pointer; }
#cart-items { flex: 1; overflow-y: auto; padding-right: 5px; }
.cart-item { display: flex; align-items: center; gap: 12px; position: relative; border-bottom: 1px solid #222; padding: 15px 0; }
.remove-item-btn { background: none; border: none; color: #e74c3c; font-size: 18px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s, transform 0.2s; padding: 6px; flex-shrink: 0; }
.remove-item-btn:hover { opacity: 1; transform: scale(1.2); }

/* חלון אישור מחיקה */
.confirm-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; justify-content: center; align-items: center; }
.confirm-overlay.open { display: flex; animation: fadeInOverlay 0.2s ease; }
.confirm-box { background: #fff; border-radius: 14px; padding: 30px 24px; max-width: 300px; width: 90%; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.3); animation: popIn 0.25s ease; }
.confirm-box p { font-size: 17px; color: #1a1a1a; margin-bottom: 24px; line-height: 1.5; }
.confirm-box .confirm-btns { display: flex; gap: 12px; justify-content: center; }
.confirm-yes { background: #e74c3c; color: #fff; border: none; padding: 10px 24px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; }
.confirm-no  { background: #eee; color: #333; border: none; padding: 10px 24px; border-radius: 8px; font-size: 16px; cursor: pointer; }
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.cart-item-img-box { width: 65px; height: 65px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.cart-item-img-box img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; padding-left: 20px; }
.cart-shipping-section { background: #f0f0f0; border: none; border-radius: 8px; padding: 12px 14px; margin: 15px 0 5px 0; }
.shipping-toggle-btn { width: 100%; background: none; border: none; color: #333; font-size: 15px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.shipping-toggle-btn i { transition: transform 0.3s ease; font-size: 13px; color: var(--gold); }
.shipping-toggle-btn.open i { transform: rotate(180deg); }
.shipping-collapsible { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.shipping-collapsible.open { max-height: 500px; padding-top: 12px; }
.shipping-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.shipping-radio { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #222; cursor: pointer; }
.shipping-fields { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease; }
.shipping-fields.visible { max-height: 300px; opacity: 1; }
.intl-shipping-link-container { margin-top: 12px; text-align: center; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease; }
.intl-shipping-link-container.visible { max-height: 60px; opacity: 1; }
.intl-shipping-link { font-size: 13px; color: #555; text-decoration: none; border: 1px dashed #bbb; border-radius: 6px; padding: 6px 12px; display: inline-block; transition: 0.2s; }
.intl-shipping-link:hover { color: var(--gold); border-color: var(--gold); }
.cart-footer { border-top: 1px solid #333; padding-top: 15px; }
.total-price { font-size: 22px; font-weight: bold; color: var(--text-light); margin: 8px 0; }
.total-price span { color: var(--gold); font-size: 26px; }
.free-shipping-highlight { color: #27ae60; font-weight: bold; font-size: 16px; animation: pulse-green 1.5s ease-in-out; }
@keyframes pulse-green {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.btn-checkout { background: var(--gold); color: black; border: none; padding: 14px; font-size: 17px; width: 100%; font-weight: bold; cursor: pointer; border-radius: 4px; }

/* פוטר */
.social-strip {
    background: #f5f5f0;
    padding: 50px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.social-strip-title {
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.social-strip-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.social-strip-icons a {
    font-size: 36px;
    color: #1a1a1a;
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-strip-icons a[aria-label="Instagram"]:hover { color: #e1306c; transform: scale(1.2); }
.social-strip-icons a[aria-label="YouTube"]:hover  { color: #ff0000; transform: scale(1.2); }
.social-strip-icons a[aria-label="TikTok"]:hover   { color: #69c9d0; transform: scale(1.2); }

.site-footer { background-color: #111111; padding: 60px 40px 0; border-top: 4px solid var(--gold); box-shadow: inset 0 8px 24px rgba(0,0,0,0.5); color: #ffffff; }
.footer-content-wrapper { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1100px; margin: 0 auto; gap: 60px; padding-bottom: 50px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; text-align: right; }
.footer-logo-img { max-width: 160px; }
.footer-slogan { color: #cccccc; font-size: 15px; }
.footer-col-title { color: var(--gold); font-size: 20px; font-weight: bold; margin-bottom: 6px; }
.footer-contact-line { color: #cccccc; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.footer-contact-line i { color: var(--gold); }
.footer-wa-btn { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: bold; text-decoration: none; width: fit-content; transition: background 0.3s; }
.footer-wa-btn:hover { background: #1ebe5d; }
.footer-bottom { border-top: 1px solid #333; padding: 18px 40px; max-width: 1100px; margin: 0 auto; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: #888; font-size: 13px; }
.footer-legal-links a { color: #888; text-decoration: underline; }
.footer-legal-links a:hover { color: var(--gold); }
.footer-legal-links span { margin: 0 6px; }
.hidden-animate { opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
.hidden-animate.visible { opacity: 1; transform: translateY(0); }
.mobile-br { display: none; }

/* מסתיר את התפריט התחתון למחשב */
.mobile-bottom-bar { display: none; }

/* =========================================================================
   אזור ה- Mobile First (התאמות כירורגיות בלעדיות למסכים קטנים מ-768px)
   ========================================================================= */
@media (max-width: 768px) {
    .navbar { padding: 15px 20px; justify-content: center; }
    .desktop-nav { display: none; }
    .mobile-br { display: inline; }

    /* סרגל יתרונות - עמודה אחת בנייד */
    .benefits-bar { flex-direction: column; align-items: flex-end; gap: 16px; padding: 30px 24px; }
    .benefit-item { display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; text-align: right; max-width: 100%; }
    .benefit-item i { margin-bottom: 0; font-size: 22px; flex-shrink: 0; }
    .benefit-item span { font-size: 15px; }
    .vision-section, .collections-section, .youtube-section, .reviews-section, .faq-section { padding: 40px 15px; }

    /* קצת עליי - מובייל קומפקטי */
    .vision-section { padding: 30px 20px; }
    .vision-container { flex-direction: column; gap: 0; }
    .vision-image-3d { display: none; }
    .vision-text { font-size: 15px; line-height: 1.55; min-width: unset; }
    .vision-text h2 { font-size: 26px; margin-bottom: 12px; }
    .vision-text p { margin-bottom: 10px; }
    .vision-mobile-circle {
        display: block;
        float: left;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center;
        margin-left: 14px;
        margin-bottom: 6px;
        cursor: pointer;
        shape-outside: circle();
        border: 3px solid var(--gold);
        transition: transform 0.3s ease;
    }
    .vision-mobile-circle:hover { transform: scale(1.05); }
    
    .hero-content h1 { font-size: 42px; margin-bottom: 10px; }
    .hero-content .subtitle { font-size: 16px; margin-bottom: 20px; }
    .section-title { font-size: 28px; margin-bottom: 30px; }

    /* גריד קולקציות כפול */
    .collection-grid { 
        display: grid; 
        grid-template-columns: 1fr 1fr;
        gap: 15px; 
    }
    .card-image img { height: 160px; }
    .card-info { padding: 12px; }
    .card-info h3 { font-size: 16px; }
    .card-info .price { font-size: 15px; }
    .btn-view { padding: 8px; font-size: 14px; }
    .dots-preview { justify-content: center; margin-bottom: 10px; }

    /* דף רכישה מותאם - מסך מלא במובייל */
    .modal {
        padding: 0;
        background: var(--bg-light-dark);
        align-items: flex-start;
    }

    .modal-content {
        margin: 0;
        width: 100%;
        min-height: 100dvh;
        max-height: none;
        position: relative;
        bottom: auto;
        overflow-y: auto;
        border-radius: 0;
        border: none;
        padding: 20px 15px;
        animation: modalFadeIn 0.3s;
        box-shadow: none;
    }

    .close-modal {
        position: absolute;
        top: 10px;
        left: 15px;
        width: auto;
        height: auto;
        background: transparent;
        font-size: 35px;
        color: var(--gold);
        display: block;
    }

    .modal-body { flex-direction: column; gap: 0; }
    .modal-gallery { width: 100%; min-width: 0; flex: none; }
    .modal-options { width: 100%; min-width: 0; flex: none; }
    .modal-media-container { border-radius: 0; margin-left: -15px; margin-right: -15px; width: calc(100% + 30px); }

    .title-price-row { flex-wrap: wrap; }
    .title-price-row h2 { font-size: 17px; }
    .price-big { font-size: 20px; }
    .ded-tooltip-img { left: auto; right: 0; transform: none; width: 130px; }
    .tooltip-floating-box { width: 250px; left: -15px; }
    .inscription-preview-box, .mirror-preview-box { width: 110px; height: 110px; }
    .inscription-preview-box.open, .mirror-preview-box.open { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80vw; height: 80vw; z-index: 3000; }
    .tooltip-floating-box.open { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88vw; bottom: auto; z-index: 3000; }

    .modal-footer.dual-actions {
        position: relative; 
        bottom: auto;
        left: auto;
        width: 100%;
        background: transparent;
        padding-top: 20px;
        margin: 20px 0 0 0;
        border-top: 1px solid #333;
        box-shadow: none;
        border-radius: 0;
    }

    .dual-buttons-container { flex-direction: column; }

    /* מוצרים משלימים - מובייל */
    .bump-product-row { flex-wrap: wrap; gap: 8px; }
    .bump-product-row > div:first-child { flex: 1; min-width: 0; }
    .bump3-variant-line { gap: 8px; }
    .image-mini-square { width: 40px !important; height: 40px !important; flex-shrink: 0; }
    .variant-qty-align { flex-wrap: nowrap; }

    /* --- התיקון הקריטי לסל הקניות המוסתר --- */
    .cart-sidebar {
        left: 0;
        top: auto;
        bottom: -100%;
        width: 100%;
        height: 100%;
        height: calc(100dvh - 65px);
        border-right: none;
        border-top: none;
        border-radius: 0;
        transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding-bottom: 20px;
        display: block;
        overflow-y: auto;
        z-index: 3500;
    }

    .cart-sidebar.active { bottom: 65px; }
    
    .cart-header {
        position: sticky;
        top: -25px; 
        background: var(--bg-light-dark); /* שומר שלא יראו פריטים נגללים מאחורי הכותרת */
        z-index: 20;
        padding: 25px 0 15px 0;
        margin-bottom: 10px;
    }
    
    .close-cart {
        background: rgba(40,40,40,0.9);
        width: 40px; height: 40px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff;
    }

    #cart-items {
        overflow: visible; /* משחרר את המוצרים להיות מוצגים במלואם בלי להימעך */
    }
    /* --- סוף התיקון לסל הקניות --- */

    /* תפריט מובייל תחתון (Sticky Nav) */
    .mobile-bottom-bar {
        display: flex; 
        position: fixed; 
        bottom: 0; 
        left: 0; 
        width: 100%;
        background: #0a0a0a; 
        border-top: 1px solid rgba(212, 175, 55, 0.3); 
        z-index: 4000;
        justify-content: space-around; 
        padding: 10px 0; 
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 -5px 10px rgba(0,0,0,0.5);
    }
    .mobile-bottom-bar a, .mobile-bottom-bar .cart-trigger {
        color: var(--text-muted); 
        text-decoration: none; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        font-size: 11px; 
        gap: 5px;
        cursor: pointer;
    }
    .mobile-bottom-bar i { font-size: 22px; color: var(--gold); }
    .mobile-badge {
        position: absolute; top: -8px; right: -10px; background: red; color: white;
        border-radius: 50%; padding: 2px 6px; font-size: 10px; font-weight: bold;
    }

    /* פוטר מסודר בנייד */
    .footer-content-wrapper { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-col { align-items: center; text-align: center; }
    .footer-contact-line { justify-content: center; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .footer-bottom { padding: 18px 20px; }
    body { padding-bottom: 70px; }
}
