/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #111115;
    --bg-card: #16161a;
    --bg-card-hover: #1c1c22;
    --text-primary: #f0f0f2;
    --text-secondary: #8a8a96;
    --text-muted: #55555f;
    --accent: #e8531e;
    --accent-light: #ff6b35;
    --accent-glow: rgba(232, 83, 30, 0.25);
    --accent-subtle: rgba(232, 83, 30, 0.08);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-hebrew: 'Heebo', sans-serif;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-hebrew);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* When in English mode */
html[lang="en"] body { font-family: var(--font-body); }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 0 clamp(20px, 4vw, 60px);
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.navbar.scrolled, .navbar-solid {
    background: rgba(10,10,12,0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.4rem; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.logo-text {
    font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
    letter-spacing: 1.5px; color: var(--text-primary);
}
.logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
    font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
    letter-spacing: 0.5px; transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; width: 0; height: 2px;
    background: var(--accent); border-radius: 2px; transition: width var(--transition);
}
/* RTL: underline starts from right */
html[dir="rtl"] .nav-link::after { right: 0; }
html[dir="ltr"] .nav-link::after { left: 0; }

.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ========== LANGUAGE TOGGLE ========== */
.lang-btn {
    font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
    color: var(--text-secondary); background: var(--accent-subtle);
    border: 1px solid rgba(232,83,30,0.2) !important;
    padding: 5px 12px; border-radius: 100px;
    letter-spacing: 1px; transition: all var(--transition);
}
.lang-btn:hover {
    background: var(--accent); color: #fff;
    border-color: var(--accent) !important;
}

/* ========== CART BUTTON ========== */
.removed-cart-btn {
    position: relative; color: var(--text-secondary); padding: 8px;
    transition: color var(--transition);
}
.removed-cart-btn:hover { color: var(--accent-light); }
.cart-count {
    position: absolute; top: 0;
    background: var(--accent); color: #fff; font-size: 0.65rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0); transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
html[dir="rtl"] .cart-count { left: -2px; }
html[dir="ltr"] .cart-count { right: -2px; }
.cart-count.visible { opacity: 1; transform: scale(1); }

/* ========== HERO ========== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,0.5) 0%, rgba(10,10,12,0.3) 40%, rgba(10,10,12,0.85) 100%),
        linear-gradient(90deg, rgba(10,10,12,0.7) 0%, transparent 50%);
}
.hero-particles {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
    padding: 0 20px; max-width: 900px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-subtle); border: 1px solid rgba(232,83,30,0.2);
    padding: 8px 20px; border-radius: 100px;
    font-size: 0.78rem; font-weight: 500; color: var(--accent-light);
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.badge-dot {
    width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1;
    letter-spacing: -2px; margin-bottom: 20px;
}
.title-line {
    display: block;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #ffb347 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.55s both;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary);
    font-weight: 300; letter-spacing: 0.5px; margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.7s both;
}
.cta-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff; padding: 16px 36px; border-radius: 100px;
    font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
    letter-spacing: 0.5px; position: relative; overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: fadeInUp 0.8s ease 0.85s both;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232,83,30,0.4);
}
.cta-arrow {
    display: flex; transition: transform var(--transition);
}
/* Flip arrow direction for RTL */
html[dir="rtl"] .cta-arrow { transform: scaleX(-1); }
html[dir="rtl"] .cta-btn:hover .cta-arrow { transform: scaleX(-1) translateX(4px); }
html[dir="ltr"] .cta-btn:hover .cta-arrow { transform: translateX(4px); }

.cta-shine {
    position: absolute; top: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}
html[dir="rtl"] .cta-shine { right: -100%; }
html[dir="ltr"] .cta-shine { left: -100%; }
html[dir="rtl"] .cta-btn:hover .cta-shine { right: 100%; }
html[dir="ltr"] .cta-btn:hover .cta-shine { left: 100%; }

.cta-btn-sm { padding: 12px 28px; font-size: 0.85rem; }
.hero-scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    animation: fadeInUp 0.8s ease 1s both;
}
.scroll-line {
    width: 1px; height: 40px; background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
    padding: 120px clamp(20px, 4vw, 60px) 100px;
    max-width: 1320px; margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: block; font-family: var(--font-body); font-size: 0.75rem;
    font-weight: 600; color: var(--accent); letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -1px; margin-bottom: 12px;
}
/* Hebrew title uses Hebrew font */
html[dir="rtl"] .section-title { font-family: var(--font-hebrew); letter-spacing: 0; }

.section-desc { color: var(--text-secondary); font-size: 1.05rem; font-weight: 300; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* ========== PRODUCT CARD ========== */
.product-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all var(--transition);
}
.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--accent-glow);
}
.card-glow {
    position: absolute; top: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
html[dir="rtl"] .card-glow { right: -50%; }
html[dir="ltr"] .card-glow { left: -50%; }
.product-card:hover .card-glow { opacity: 0.4; }
.card-image {
    position: relative; padding: 32px 28px 16px; aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(232,83,30,0.03) 0%, transparent 100%);
    overflow: hidden;
}
/* Card arrows (smaller version for product cards on main page) */
.card-arrow { width: 32px; height: 32px; opacity: 0; }
.card-image:hover .card-arrow { opacity: 1; }
.card-arrow svg { width: 16px; height: 16px; }
.card-image img {
    width: 85%; max-height: 100%; object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}
.product-card:hover .card-image img { transform: scale(1.08) rotate(-1deg); }
.card-badge {
    position: absolute; top: 16px;
    background: var(--accent); color: #fff;
    padding: 4px 14px; border-radius: 100px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
html[dir="rtl"] .card-badge { left: 16px; right: auto; }
html[dir="ltr"] .card-badge { right: 16px; left: auto; }
.card-badge.hot { background: #dc2626; }
.card-info { padding: 20px 28px 28px; }
.card-name {
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    margin-bottom: 6px; letter-spacing: -0.3px;
    direction: ltr; /* Product names stay English */
}
html[dir="rtl"] .card-name { text-align: right; }
.card-price {
    font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
    color: var(--accent-light); margin-bottom: 18px;
}
.buy-btn {
    display: inline-flex; align-items: center; gap: 8px; width: 100%;
    justify-content: center;
    background: transparent; border: 1px solid var(--border-hover);
    color: var(--text-primary); padding: 12px 24px; border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px;
    transition: all var(--transition);
}
.buy-btn:hover {
    background: var(--accent); border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(232,83,30,0.3);
}
.buy-btn.added {
    background: #16a34a; border-color: #16a34a;
}

/* ========== SINGLE FEATURED PRODUCT ========== */
.products-grid-single {
    display: flex; justify-content: center;
    max-width: 560px; margin: 0 auto;
}
.product-card-featured {
    width: 100%;
}
.card-image-large {
    aspect-ratio: 1/1; padding: 40px 36px 24px;
}
.card-subtitle {
    font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 16px;
    font-weight: 400; line-height: 1.5;
}
.card-price-row {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-bottom: 20px;
}
.card-price-row .card-price {
    margin-bottom: 0; font-size: 1.5rem;
}
.card-price-old {
    font-size: 0.9rem; color: var(--text-muted);
    text-decoration: line-through; font-weight: 400;
}
.card-discount {
    background: rgba(220, 38, 38, 0.15); color: #ef4444;
    padding: 3px 10px; border-radius: 100px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
}
.card-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 22px;
}
.spec-item {
    display: flex; align-items: center; gap: 8px;
    background: var(--accent-subtle); border: 1px solid rgba(232,83,30,0.1);
    padding: 8px 12px; border-radius: var(--radius-sm);
    font-size: 0.78rem; font-weight: 500; color: var(--text-secondary);
}
.spec-icon { font-size: 1rem; }

/* ========== PRODUCT DETAIL LAYOUT ========== */
.product-detail {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: start; max-width: 1100px; margin: 0 auto;
}
.product-gallery { position: sticky; top: 100px; }
.gallery-main {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; margin-bottom: 14px;
}
.gallery-main img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}
.gallery-main:hover img { transform: scale(1.04); }

/* Gallery Arrow Buttons */
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5; width: 40px; height: 40px;
    background: rgba(10,10,12,0.6); border: 1px solid var(--border-hover);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); cursor: pointer;
    opacity: 0; transition: all var(--transition);
    backdrop-filter: blur(8px);
}
.gallery-main:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover {
    background: var(--accent); color: #fff; border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.gallery-prev { right: 12px; }
.gallery-next { left: 12px; }
@media (max-width: 768px) {
    .gallery-arrow { opacity: 1; width: 34px; height: 34px; }
    .gallery-arrow svg { width: 16px; height: 16px; }
}
.gallery-main .card-badge { position: absolute; top: 16px; }
html[dir="rtl"] .gallery-main .card-badge { left: 16px; }
html[dir="ltr"] .gallery-main .card-badge { right: 16px; }
.gallery-thumbs {
    display: flex; gap: 10px;
}
.gallery-thumb {
    flex: 1; aspect-ratio: 1/1; border-radius: var(--radius-sm);
    overflow: hidden; background: var(--bg-card);
    border: 2px solid var(--border); padding: 6px;
    transition: all var(--transition); cursor: pointer;
}
.gallery-thumb img {
    width: 100%; height: 100%; object-fit: contain;
}
.gallery-thumb:hover { border-color: var(--border-hover); }
.gallery-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* Product Info Side */
.product-info {
    padding: 8px 0;
}
.product-name {
    font-family: var(--font-display); font-weight: 800; font-size: 2rem;
    letter-spacing: -0.5px; margin-bottom: 12px;
    direction: ltr;
}
html[dir="rtl"] .product-name { text-align: right; }
.product-subtitle {
    font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 24px; font-weight: 400;
}
.product-info .card-price-row { margin-bottom: 28px; }
.product-info .card-price { font-size: 1.8rem; }
.product-info .card-specs {
    grid-template-columns: 1fr 1fr; margin-bottom: 28px;
}
.buy-btn-large {
    padding: 16px 32px; font-size: 0.95rem;
}

/* ========== PRODUCT DETAILS SECTION ========== */
.product-details-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    max-width: 1100px; margin: 80px auto 0;
    padding-top: 60px; border-top: 1px solid var(--border);
}
.details-block {}
.details-title {
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
    margin-bottom: 20px; color: var(--text-primary);
    display: flex; align-items: center; gap: 10px;
}
html[dir="rtl"] .details-title { font-family: var(--font-hebrew); }
.details-title::before {
    content: ''; width: 3px; height: 20px; background: var(--accent);
    border-radius: 3px; flex-shrink: 0;
}
.specs-table {
    width: 100%; border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid var(--border);
}
.specs-table td {
    padding: 12px 0; font-size: 0.85rem;
}
.spec-label {
    color: var(--text-muted); font-weight: 500; width: 40%;
}
.spec-value {
    color: var(--text-primary); font-weight: 500;
}
.box-list {
    list-style: none; display: flex; flex-direction: column; gap: 12px;
}
.box-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.88rem; color: var(--text-secondary); font-weight: 400;
    padding: 10px 16px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.box-list li::before {
    content: '✓'; color: var(--accent); font-weight: 700; font-size: 0.9rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; gap: 32px; }
    .product-gallery { position: static; }
    .product-name { font-size: 1.5rem; }
    .product-info .card-price { font-size: 1.5rem; }
    .product-details-section { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; padding-top: 40px; }
}

/* ========== CARD ACTIONS ========== */
.card-actions {
    display: flex; gap: 10px; margin-top: 4px;
}
.card-actions .buy-btn { flex: 1; }
.details-btn {
    padding: 12px 20px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: transparent;
    color: var(--text-secondary); font-family: var(--font-hebrew);
    font-size: 0.82rem; font-weight: 500; cursor: pointer;
    transition: all var(--transition);
}
.details-btn:hover {
    border-color: var(--accent); color: var(--accent);
    background: var(--accent-subtle);
}

/* ========== DETAIL OVERLAY ========== */
.detail-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}
.detail-overlay.active { opacity: 1; visibility: visible; }
.detail-modal {
    position: relative; max-width: 1100px; margin: 60px auto;
    padding: 48px clamp(20px, 4vw, 48px);
    background: var(--bg-primary); border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.detail-close {
    position: absolute; top: 16px; z-index: 10;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50%; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-secondary);
    transition: all var(--transition);
}
html[dir="rtl"] .detail-close { left: 16px; }
html[dir="ltr"] .detail-close { right: 16px; }
.detail-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

@media (max-width: 768px) {
    .detail-modal { margin: 20px 10px; padding: 24px 16px; }
    .card-actions { flex-direction: column; }
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px clamp(20px, 4vw, 60px);
}
.footer-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 0.85rem; color: var(--text-secondary);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ========== CART DRAWER ========== */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); z-index: 2000;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
    position: fixed; top: 0; width: 400px; max-width: 90vw;
    height: 100vh; background: var(--bg-secondary);
    z-index: 2001;
    display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
/* RTL: cart slides from left; LTR: from right */
html[dir="rtl"] .cart-drawer {
    left: 0; right: auto;
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
}
html[dir="ltr"] .cart-drawer {
    right: 0; left: auto;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
}
html[dir="rtl"] .cart-drawer.open { transform: translateX(0); }
html[dir="ltr"] .cart-drawer.open { transform: translateX(0); }

.cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px; border-bottom: 1px solid var(--border);
}
.cart-header h3 {
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
html[dir="rtl"] .cart-header h3 { font-family: var(--font-hebrew); }

.cart-close {
    color: var(--text-secondary); padding: 4px; transition: color var(--transition);
}
.cart-close:hover { color: var(--text-primary); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; gap: 12px; color: var(--text-muted); font-size: 0.9rem;
}
.cart-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid var(--border);
    animation: fadeInUp 0.3s ease;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.cart-item-price { font-size: 0.85rem; color: var(--accent-light); }
.cart-item-remove {
    color: var(--text-muted); font-size: 0.75rem; padding: 6px;
    transition: color var(--transition);
}
.cart-item-remove:hover { color: #ef4444; }
.cart-footer {
    padding: 20px 24px; border-top: 1px solid var(--border);
}
.cart-total {
    display: flex; justify-content: space-between; margin-bottom: 16px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.checkout-btn {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff; border-radius: var(--radius-sm);
    font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
    letter-spacing: 0.5px; transition: all var(--transition);
}
html[dir="rtl"] .checkout-btn { font-family: var(--font-hebrew); }
.checkout-btn:hover {
    box-shadow: 0 8px 30px rgba(232,83,30,0.4);
    transform: translateY(-1px);
}

/* ========== TOAST ========== */
.toast {
    position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--bg-card); border: 1px solid var(--accent);
    color: var(--text-primary); padding: 14px 28px; border-radius: var(--radius-sm);
    display: flex; align-items: center; gap: 10px; z-index: 3000;
    font-size: 0.9rem; font-weight: 500;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.toast svg { color: #22c55e; flex-shrink: 0; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== SCROLL ANIMATIONS ========== */
.product-card {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.section-header { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.section-header.visible { opacity: 1; transform: translateY(0); }

/* ========== TERMS PAGE ========== */
.terms-page { background: var(--bg-primary); }
.terms-main { padding-top: 120px; padding-bottom: 80px; }
.terms-container { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }
.terms-hero { text-align: center; margin-bottom: 64px; }
.terms-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -1px; margin-bottom: 12px;
}
html[dir="rtl"] .terms-title { font-family: var(--font-hebrew); letter-spacing: 0; }
.terms-updated { font-size: 0.85rem; color: var(--text-muted); }
.terms-content { display: flex; flex-direction: column; gap: 40px; }
.terms-block h2 {
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
    margin-bottom: 14px; color: var(--text-primary);
    padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
html[dir="rtl"] .terms-block h2 { font-family: var(--font-hebrew); }
.terms-block p {
    font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 8px;
}
.terms-back { text-align: center; margin-top: 64px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-inner { height: 60px; }
    .nav-links { gap: 16px; }
    .nav-link { font-size: 0.8rem; }
    .hero-title { letter-spacing: -1px; }
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    .card-image { padding: 24px 20px 12px; }
    .card-info { padding: 16px 20px 22px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .cart-drawer { width: 100%; max-width: 100vw; }
}
@media (max-width: 480px) {
    .hero-badge { font-size: 0.7rem; padding: 6px 14px; }
    .cta-btn { padding: 14px 28px; font-size: 0.85rem; }
    .lang-btn { padding: 4px 10px; font-size: 0.7rem; }
}
