/* ── Shop Page ─────────────────────────────────────── */
.shop-hero {
    background: linear-gradient(135deg, var(--cream-lightest), var(--cream));
    padding: var(--space-12) 0 var(--space-8);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}
.shop-hero h1 {
    font-size: var(--text-3xl);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}
.shop-hero p { font-size: var(--text-lg); color: var(--text-medium); }

/* Tabs */
.shop-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-6) 0 0;
}
.shop-tab {
    padding: var(--space-3) var(--space-7);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    background: white;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-medium);
}
.shop-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(212,175,55,0.35);
}
.shop-tab:hover:not(.active) {
    border-color: var(--gold);
    color: var(--gold);
}

/* Content */
.shop-content {
    padding: var(--space-10) 0 var(--space-16);
    background: white;
}
.shop-container {
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Panels */
.shop-panel { display: none; }
.shop-panel.active { display: block; }

/* Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

/* Product Card */
.shop-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}
.shop-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212,175,55,0.15);
    transform: translateY(-3px);
}
.shop-card-image {
    height: 200px;
    background: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-card-image-placeholder {
    font-size: 4rem;
    opacity: 0.4;
}
.shop-card-body {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.shop-card-name {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}
.shop-card-desc {
    font-size: var(--text-sm);
    color: var(--text-medium);
    line-height: 1.6;
    flex: 1;
    margin-bottom: var(--space-4);
}
.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: auto;
}
.shop-card-price {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--gold-dark);
}
.shop-card-stock {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 2px;
}
.shop-out-of-stock {
    opacity: 0.6;
    pointer-events: none;
}

/* Package Card */
.pkg-card {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    background: white;
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}
.pkg-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212,175,55,0.15);
    transform: translateY(-3px);
}
.pkg-badge {
    position: absolute;
    top: -12px;
    right: var(--space-5);
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: white;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
}
.pkg-name {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}
.pkg-service {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}
.pkg-sessions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.pkg-sessions-main {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--gold);
    line-height: 1;
}
.pkg-sessions-label { font-size: var(--text-sm); color: var(--text-medium); }
.pkg-sessions-bonus {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #166534;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}
.pkg-desc {
    font-size: var(--text-sm);
    color: var(--text-medium);
    line-height: 1.6;
    flex: 1;
    margin-bottom: var(--space-5);
}
.pkg-pricing {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.pkg-price {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--gold-dark);
}
.pkg-original {
    font-size: var(--text-lg);
    color: var(--text-muted);
    text-decoration: line-through;
}
.pkg-saving {
    font-size: var(--text-sm);
    background: #dcfce7;
    color: #166534;
    padding: 2px var(--space-3);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
}
.pkg-validity {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

/* Buy Button */
.btn-buy {
    width: 100%;
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 14px rgba(212,175,55,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.45);
    color: white !important;
}

/* Qty selector */
.qty-selector {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-2);
}
.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--cream-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: var(--text-xl);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
    touch-action: manipulation;
}
.qty-btn:hover { background: var(--gold-light); }
.qty-val { min-width: 24px; text-align: center; font-weight: var(--font-semibold); }

/* Empty state */
.shop-empty {
    text-align: center;
    padding: var(--space-16);
    color: var(--text-muted);
}
.shop-empty i { font-size: 3rem; margin-bottom: var(--space-4); }

/* Modal Overlay */
.shop-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}
.shop-modal-overlay.open { display: flex; }
.shop-modal {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.shop-modal-close {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--cream-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-modal h3 {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: var(--space-1);
}
.shop-modal-price {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--gold-dark);
    margin-bottom: var(--space-6);
}
.form-field {
    margin-bottom: var(--space-4);
}
.form-field label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-1);
}
.form-field input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: inherit;
    transition: border-color var(--transition-base);
    box-sizing: border-box;
}
.form-field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.form-error {
    font-size: var(--text-sm);
    color: #dc2626;
    margin-top: var(--space-1);
    display: none;
}
.btn-pay {
    width: 100%;
    padding: var(--space-4);
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    cursor: pointer;
    margin-top: var(--space-2);
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.btn-pay:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(212,175,55,0.45); }
.btn-pay:disabled { opacity: 0.6; cursor: not-allowed; }
.pay-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-3);
}

/* Success Banner */
.shop-success-banner {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #22c55e;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    margin-bottom: var(--space-8);
}
.shop-success-banner h2 { color: #166534; margin-bottom: var(--space-2); }
.shop-success-banner p { color: #15803d; }

/* ── Search ─────────────────────────────────────────── */
.shop-search-wrap {
    padding: var(--space-5) var(--space-4) 0;
    display: flex;
    justify-content: center;
}
.shop-search-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
}
.shop-search-icon {
    position: absolute;
    right: var(--space-4);
    color: var(--text-muted);
    pointer-events: none;
}
.shop-search-box input {
    width: 100%;
    padding: var(--space-3) var(--space-10) var(--space-3) var(--space-10);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-family: inherit;
    background: white;
    transition: border-color var(--transition-base);
}
.shop-search-box input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.shop-search-clear {
    position: absolute;
    left: var(--space-3);
    width: 28px;
    height: 28px;
    border: none;
    background: var(--cream-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ── Tab Count ──────────────────────────────────────── */
.shop-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.3);
    color: inherit;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    padding: 0 var(--space-1);
    margin-right: var(--space-1);
}
.shop-tab.active .shop-tab-count {
    background: rgba(255,255,255,0.35);
}

/* ── Card Rating ────────────────────────────────────── */
.shop-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}
.star-filled { color: var(--gold); }
.star-empty  { color: var(--border-light); }
.rating-val  { font-weight: var(--font-bold); color: var(--text-dark); margin-right: var(--space-1); }
.rating-count { color: var(--text-muted); }

/* ── Card Installments ──────────────────────────────── */
.shop-card-installments,
.pkg-installments {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Card Image Overlays ────────────────────────────── */
.shop-card-image { position: relative; cursor: pointer; }
.shop-card-sold-out {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: white;
    font-weight: var(--font-bold);
    font-size: var(--text-base);
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-card-img-count {
    position: absolute;
    bottom: var(--space-2);
    left: var(--space-2);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: var(--text-xs);
    padding: 2px var(--space-2);
    border-radius: var(--radius-full);
}
.shop-digital-badge {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    padding: 2px var(--space-2);
    border-radius: var(--radius-full);
}

/* ── Quick View — כפתור על תמונת הכרטיס, נחשף ב-hover (דסקטופ) ── */
.shop-card-image-wrap { position: relative; }
.shop-quickview-btn {
    position: absolute;
    bottom: var(--space-3);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 7px 16px;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.shop-card-image-wrap:hover .shop-quickview-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.shop-quickview-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
/* מגע (מובייל/טאבלט): אין hover אמיתי — הכפתור תמיד גלוי כדי שלא "ייעלם" */
@media (hover: none) {
    .shop-quickview-btn { opacity: 1; transform: translateX(-50%); position: static; margin: var(--space-2) auto 0; display: block; box-shadow: none; }
}

/* ── Cart Button ────────────────────────────────────── */
.btn-cart {
    width: 100%;
    padding: var(--space-3) var(--space-6);
    background: white;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    text-decoration: none;
}
.btn-cart:hover:not(:disabled),
.btn-cart:focus:not(:disabled) {
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.45);
}
.btn-cart:hover:not(:disabled) *,
.btn-cart:focus:not(:disabled) * {
    color: white;
}
.btn-cart-disabled {
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
    color: #9ca3af !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ── Checkout Button ────────────────────────────────── */
.btn-checkout {
    width: 100%;
    padding: var(--space-4);
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: white !important;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 14px rgba(212,175,55,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.45);
}

/* ── Ghost Button ───────────────────────────────────── */
.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── Cart FAB ───────────────────────────────────────── */
.cart-fab {
    position: fixed;
    bottom: 90px;
    left: var(--space-5);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #d4af37, #b8960c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212,175,55,0.45);
    z-index: 8000;
    transition: transform var(--transition-base);
}
.cart-fab:hover { transform: scale(1.08); }
.cart-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: white;
    font-size: 11px;
    font-weight: var(--font-bold);
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
}

/* ── Cart Overlay & Drawer ──────────────────────────── */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9000;
}
.cart-overlay.open { display: block; }
.cart-drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 380px;
    max-width: 100vw;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    animation: drawerIn 0.25s ease;
}
@keyframes drawerIn {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-5);
    border-bottom: 1px solid var(--border-light);
}
.cart-header h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.cart-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--cream-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: var(--text-base);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    transition: background var(--transition-base);
}
.cart-close:hover { background: var(--cream); }
.cart-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-4);
}
.cart-empty {
    text-align: center;
    padding: var(--space-12) var(--space-4);
    color: var(--text-muted);
}
.cart-empty i { font-size: 2.5rem; margin-bottom: var(--space-3); display: block; }
.cart-empty p { margin-bottom: var(--space-4); }

/* ── Cart Items ─────────────────────────────────────── */
.cart-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-light);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-placeholder { font-size: 1.5rem; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-sku  { font-size: var(--text-xs); color: var(--text-muted); }
.cart-item-sub  { font-size: var(--text-xs); color: var(--text-muted); }
.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-1);
    flex-shrink: 0;
}
.cart-item-price {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--gold-dark);
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 2px 4px;
}
.cart-item-qty button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--cream-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: var(--text-base);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    touch-action: manipulation;
}
.cart-item-qty span {
    min-width: 20px;
    text-align: center;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}
.cart-item-once {
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.cart-item-remove {
    border: none;
    background: none;
    color: #dc2626;
    cursor: pointer;
    font-size: var(--text-sm);
    padding: 10px;
    opacity: 0.6;
    transition: opacity var(--transition-base);
    touch-action: manipulation;
}
.cart-item-remove:hover { opacity: 1; }

/* ── Cart Footer ────────────────────────────────────── */
.cart-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--border-light);
    background: white;
}

/* ── Coupon ─────────────────────────────────────────── */
.coupon-row {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}
.coupon-row input {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-family: inherit;
    transition: border-color var(--transition-base);
}
.coupon-row input:focus {
    outline: none;
    border-color: var(--gold);
}
.btn-coupon {
    padding: var(--space-2) var(--space-4);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-full);
    background: var(--cream-light);
    color: var(--text-dark) !important;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}
.btn-coupon:hover { border-color: var(--gold); color: var(--gold) !important; }
.coupon-msg {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
}
.coupon-success { background: #dcfce7; color: #166534; }
.coupon-error   { background: #fee2e2; color: #dc2626; }

/* ── Cart Summary ───────────────────────────────────── */
.cart-summary {
    margin-bottom: var(--space-4);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--text-medium);
    padding: var(--space-1) 0;
}
.discount-row { color: #166534; }
.remove-coupon {
    border: none;
    background: none;
    color: #dc2626;
    font-size: var(--text-xs);
    cursor: pointer;
    padding: 0 2px;
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    padding-top: var(--space-3);
    margin-top: var(--space-2);
    border-top: 2px solid var(--border-light);
}

/* ── Checkout Summary — sticky + מכווץ (נשאר גלוי בגלילת הטופס) ── */
.checkout-summary-sticky {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    margin: 0 calc(var(--space-8) * -1) var(--space-4);
    padding: 0 var(--space-8);
}
.checkout-summary-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    background: var(--cream-lightest);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text-dark);
    cursor: pointer;
}
.checkout-summary-toggle strong { color: var(--gold-dark); font-size: var(--text-base); }
.checkout-summary-toggle i { transition: transform 0.2s; color: var(--text-muted); }
.checkout-summary-toggle i.open { transform: rotate(180deg); }
.checkout-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-1) var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-medium);
    background: var(--cream-lightest);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-2);
    margin-bottom: var(--space-4);
}
.checkout-summary strong {
    color: var(--text-dark);
    font-size: var(--text-base);
    padding-top: var(--space-2);
    border-top: 1px solid var(--border-light);
    grid-column: span 1;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 640px) {
    .shop-grid { grid-template-columns: 1fr; }
    .shop-tabs { gap: var(--space-2); }
    .shop-tab { padding: var(--space-2) var(--space-5); font-size: var(--text-sm); }
    .cart-drawer { width: 100vw; }

    /* Cart FAB → ימין מעל WhatsApp, ללא חפיפה עם כפתור נגישות */
    .cart-fab {
        bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 16px) + 48px + 10px);
        left: auto;
        right: var(--space-4);
        width: 48px;
        height: 48px;
        transition: opacity 0.35s ease, transform 0.35s ease,
                    box-shadow var(--transition-base);
    }

    /* qty-btn קטן יותר בכרטיס צר — כך ה-+ לא נחתך */
    .qty-btn {
        width: 36px;
        height: 36px;
    }

    /* Cart FAB idle — תואם להתנהגות כפתורי ה-float האחרים */
    .cart-fab.float-idle {
        opacity: var(--float-idle-opacity, 0.25);
        transform: scale(0.72);
        pointer-events: auto;
    }
}

/* ── Category Filter Bar ────────────────────────────── */
.shop-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-4) 0;
}
.shop-cat-btn {
    padding: var(--space-1) var(--space-4);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-full);
    background: white;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}
.shop-cat-btn:hover:not(.active) {
    border-color: var(--gold);
    color: var(--gold);
}
.shop-cat-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* ── Card Name as Link ──────────────────────────────── */
a.shop-card-name {
    text-decoration: none;
    color: var(--text-dark) !important;
    display: block;
}
a.shop-card-name:hover { color: var(--gold-dark) !important; }

/* ── Card Description Clamp ─────────────────────────── */
.shop-card-desc--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--space-2) !important;
}
.shop-card-more {
    font-size: var(--text-xs);
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: var(--font-semibold);
    display: inline-block;
    margin-bottom: var(--space-3);
    transition: color var(--transition-base);
}
.shop-card-more:hover { color: var(--gold); }

/* ── Promo Slider (באנר מבצעים רץ) ────────────────────── */
.shop-promo-slider {
    max-width: 1000px;
    margin: var(--space-6) auto 0;
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    position: relative;
}
/* הילת זהב פועמת בעדינות — מושכת עין למבצעים, בלי הבהוב אגרסיבי */
@keyframes shop-promo-glow {
    0%, 100% { box-shadow: 0 6px 22px rgba(0,0,0,0.08), 0 0 0 0 rgba(212,175,55,0.35); }
    50%      { box-shadow: 0 6px 22px rgba(0,0,0,0.08), 0 0 0 6px rgba(212,175,55,0); }
}
@media (prefers-reduced-motion: no-preference) {
    .shop-promo-slider--glow { animation: shop-promo-glow 2.8s ease-in-out infinite; }
}
.shop-promo-track {
    display: flex;
    transition: transform 0.5s ease;
}
.shop-promo-slide {
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: #fff;
    padding: var(--space-4);
    cursor: pointer;
    text-align: right;
}
.shop-promo-slide img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.shop-promo-info { flex: 1; min-width: 0; }
.shop-promo-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--font-bold, 700);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 4px;
}
.shop-promo-name {
    font-weight: var(--font-bold, 700);
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    max-width: 100%;
}
.shop-promo-price { margin-top: 6px; font-size: var(--text-sm); }
.shop-promo-old { color: var(--text-muted); text-decoration: line-through; margin-inline-start: 8px; }
.shop-promo-new { color: var(--gold-dark); font-weight: var(--font-bold, 700); font-size: var(--text-xl); }

/* שקף פרסומי (banner) — תמונה מעוצבת שלמה שזיוה מעלה (למשל מ-Canva), edge-to-edge, בלי טקסט/צבע שאנחנו מרכיבים */
.shop-promo-slide--banner {
    display: block;
    padding: 0;
    background: #f3f4f6; /* נראה רק לרגע לפני שהתמונה נטענת */
}
.shop-promo-slide--banner img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}
@media (max-width: 640px) {
    .shop-promo-slide--banner img { aspect-ratio: 4 / 3; }
}
/* שקף פרסומי (Canva) — מוצג רק באייפד/דסקטופ, מנוטרל בגלישה מנייד (#77) */
@media (max-width: 767px) {
    .shop-promo-slide--banner { display: none; }
}

.shop-promo-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    background: #fff;
}
.shop-promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-light);
    cursor: pointer;
    padding: 0;
}
.shop-promo-dot.active { background: var(--gold); }

/* ── שורת קטגוריות (אייקונים) ─────────────────────────── */
.shop-cat-icons {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    padding: var(--space-6) var(--space-2) var(--space-2);
    max-width: 720px;
    margin: 0 auto;
    justify-content: flex-start;
}
@media (min-width: 640px) {
    .shop-cat-icons { justify-content: center; flex-wrap: wrap; overflow-x: visible; }
}
.shop-cat-icon {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    flex-shrink: 0;
    width: 72px;
}
/* !important נחוץ: הכפתור חולק קלאס עם .filter-pill--tag.active (רקע/מסגרת כהים
   שמוגדר בהמשך הקובץ, אחרי הבלוק הזה) לצורך שימוש חוזר בלוגיקת הסינון הקיימת */
.shop-cat-icon.active {
    background: none !important;
    border-color: transparent !important;
    color: inherit !important;
}
.shop-cat-icon-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.shop-cat-icon-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-cat-icon:hover .shop-cat-icon-img { border-color: var(--gold); }
.shop-cat-icon.active .shop-cat-icon-img {
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
    transform: scale(1.06);
}
.shop-cat-icon-label {
    font-size: var(--text-xs);
    color: var(--text-medium);
    text-align: center;
    line-height: 1.2;
}
.shop-cat-icon.active .shop-cat-icon-label { color: var(--gold-dark); font-weight: var(--font-bold, 700); }

/* Fix: btn-pay inline style override */
#btnPay {
    background: linear-gradient(135deg, #d4af37, #b8960c) !important;
    color: #fff !important;
}
/* ── Filter Pills ────────────────────────────────────── */
.shop-filter-section {
    padding: var(--space-4) var(--space-4) 0;
}

.filter-pills-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
}

.filter-pills-row.filter-brands {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 10px;
}

.filter-pill {
    padding: 7px 18px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-light);
    background: transparent;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-medium);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}
.filter-pill:hover:not(.active) {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-pill--brand.active {
    background: #d4af37;
    border-color: #d4af37;
    color: white;
}

.filter-pill--tag.active {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
}

.filter-pill:hover:not(.active) {
    border-color: #d4af37;
    color: #d4af37;
}
