/* ==========================================================
   MW Commerce - main.css
   כל הצבעים/רדיוסים/פונטים מגיעים מ-CSS Variables (קסטומייזר)
   ========================================================== */

/* ----- בסיס ----- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--mw-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--mw-text);
    background: var(--mw-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--mw-primary); }
:focus-visible { outline: 2px solid var(--mw-primary); outline-offset: 2px; }

.mw-container {
    max-width: var(--mw-container);
    margin-inline: auto;
    padding-inline: 20px;
}

.mw-content { padding-block: 32px; }

/* ----- כפתורים כלליים ----- */
.mw-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--mw-radius);
    font-family: var(--mw-font);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: filter .15s;
}
.mw-btn:hover { filter: brightness(1.08); }
.mw-btn--primary { background: var(--mw-btn, var(--mw-primary)); color: #fff; }
.mw-btn--ghost {
    background: transparent;
    color: var(--mw-text);
    border: 1px solid #D1D5DB;
}

/* ----- שורה עליונה ----- */
.mw-topbar {
    background: var(--mw-topbar-bg, var(--mw-secondary));
    color: var(--mw-topbar-text, #fff);
    text-align: center;
    font-size: 13px;
    padding: 7px 16px;
}

/* ----- הדר ----- */
.mw-header {
    position: relative;
    z-index: 100;
    background: var(--mw-header-bg, var(--mw-bg));
    color: var(--mw-header-text, var(--mw-text));
    border-bottom: 1px solid #E5E7EB;
}
.mw-header--sticky { position: sticky; top: 0; }
.mw-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 68px;
}
.mw-logo img { max-height: 48px; width: auto; display: block; }
.mw-logo__text {
    font-size: 22px;
    font-weight: 800;
    color: var(--mw-header-text, var(--mw-text));
    text-decoration: none;
}

/* ----- אזורי ההדר (בונה ההדר) ----- */
.mw-hzone {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.mw-hzone--center { flex: 1; justify-content: center; }
.mw-hzone--end { justify-content: flex-end; }
.mw-hzone--start:has(.mw-nav),
.mw-hzone--end:has(.mw-nav) { flex: 1; }

.mw-nav { min-width: 0; }
.mw-nav__list {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mw-nav__list a {
    display: block;
    padding: 8px 14px;
    color: var(--mw-menu-c, var(--mw-header-text, var(--mw-text)));
    text-decoration: none;
    font-size: var(--mw-menu-fs, inherit);
    font-weight: var(--mw-menu-fw, 600);
    border-radius: var(--mw-radius);
    transition: background .15s;
}
.mw-nav__list a:hover { background: var(--mw-menu-hbg, var(--mw-card)); color: var(--mw-menu-hc, var(--mw-primary)); }

/* תפריט נפתח - צבעים משלו */
.mw-nav__list ul a { color: var(--mw-drop-c, var(--mw-text)); }
.mw-nav__list ul a:hover { background: var(--mw-drop-hbg, var(--mw-card)); color: var(--mw-menu-hc, var(--mw-primary)); }

/* תפריט נפתח רמה שנייה (גם רגיל וגם עומק נוסף) */
.mw-nav__list ul {
    display: none;
    position: absolute;
    background: var(--mw-drop-bg, var(--mw-bg));
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    list-style: none;
    padding: 6px;
    min-width: 200px;
    z-index: 50;
}
.mw-nav__list li { position: relative; }
.mw-nav__list li:hover > ul { display: block; }

/* ----- מגה-מניו ----- */
.mw-mega-panel {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--mw-drop-bg, var(--mw-bg));
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
    z-index: 60;
}
.menu-item-has-mega:hover > .mw-mega-panel,
.menu-item-has-mega:focus-within > .mw-mega-panel { display: block; }
.mw-mega-panel__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    padding-block: 24px;
}
.mw-mega-col__title {
    display: block;
    font-weight: 800;
    font-size: 14px;
    color: var(--mw-text);
    text-decoration: none;
    margin-bottom: 10px;
    padding: 0;
}
.mw-mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mw-mega-col a { color: var(--mw-text); text-decoration: none; font-size: 14px; font-weight: 400; padding: 2px 0; border-radius: 0; }
.mw-mega-col a:hover { color: var(--mw-primary); background: none; }

.mw-header__actions { display: flex; align-items: center; gap: 12px; }

.mw-search-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--mw-header-text, var(--mw-text));
    cursor: pointer;
    padding: 6px;
}

.mw-cart-toggle {
    position: relative;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--mw-cart-c, var(--mw-header-text, var(--mw-text)));
    cursor: pointer;
    padding: 6px;
}
.mw-cart-count {
    position: absolute;
    top: -4px;
    inset-inline-start: -6px;
    min-width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mw-cart-count-bg, var(--mw-primary));
    color: var(--mw-cart-count-c, #fff);
    font-size: 11px;
    font-weight: 700;
    border-radius: 99px;
    padding-inline: 4px;
}

/* ----- פאנל חיפוש ----- */
.mw-search-panel {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--mw-bg);
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
    z-index: 55;
}
.mw-search-panel.is-open { max-height: 120px; }
.mw-search-form {
    display: flex;
    gap: 10px;
    padding-block: 18px;
}
.mw-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: var(--mw-radius);
    font-family: var(--mw-font);
    font-size: 15px;
}
.mw-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    background: var(--mw-primary);
    color: #fff;
    border: none;
    border-radius: var(--mw-radius);
    cursor: pointer;
}

/* ----- רכיבי הדר נוספים (בונה ההדר) ----- */
.mw-hphone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--mw-header-text, var(--mw-text));
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}
.mw-hphone:hover { color: var(--mw-primary); }

.mw-htext {
    font-size: 14px;
    color: var(--mw-header-text, var(--mw-text));
    white-space: nowrap;
}

.mw-hbtn {
    padding: 9px 18px;
    font-size: 14px;
    white-space: nowrap;
}

.mw-hsocial { display: flex; align-items: center; gap: 2px; }
.mw-hsocial a {
    display: flex;
    padding: 5px;
    color: var(--mw-header-text, var(--mw-text));
}
.mw-hsocial a:hover { color: var(--mw-primary); }

/* ----- הדר שקוף בעמוד הבית ----- */
.mw-header--transparent:not(.mw-scrolled) {
    position: absolute;
    inset-inline: 0;
    top: 0;
    background: transparent;
    border-bottom-color: transparent;
}
.mw-header--transparent:not(.mw-scrolled) .mw-logo__text,
.mw-header--transparent:not(.mw-scrolled) .mw-nav__list > li > a,
.mw-header--transparent:not(.mw-scrolled) .mw-search-toggle,
.mw-header--transparent:not(.mw-scrolled) .mw-cart-toggle,
.mw-header--transparent:not(.mw-scrolled) .mw-hphone,
.mw-header--transparent:not(.mw-scrolled) .mw-htext,
.mw-header--transparent:not(.mw-scrolled) .mw-hsocial a {
    color: #fff;
}
.mw-header--transparent:not(.mw-scrolled) .mw-burger__lines span { background: #fff; }
.mw-header--transparent:not(.mw-scrolled) .mw-burger__label { color: #fff; }
.mw-header--transparent.mw-scrolled { position: sticky; top: 0; }

/* המבורגר */
.mw-burger {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

/* ----- פירורי לחם + כותרת ארכיון ----- */
.mw-breadcrumb {
    font-size: 13px;
    color: #6B7280;
    margin-block: 18px 6px;
}
.mw-breadcrumb a { color: #6B7280; text-decoration: none; }
.mw-breadcrumb a:hover { color: var(--mw-primary); }
.mw-breadcrumb__sep { margin-inline: 4px; }

.mw-archive-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    margin: 0 0 8px;
}

.term-description { color: #6B7280; max-width: 760px; }

/* ==========================================================
   תתי קטגוריות
   ========================================================== */
.mw-subcats {
    display: grid;
    gap: 16px;
    margin: 24px 0 36px;
}
.mw-subcats--large {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.mw-subcats--small {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.mw-subcat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    text-decoration: none;
    color: var(--mw-text);
    transition: transform .15s;
}
.mw-subcat:hover { transform: translateY(-3px); }
.mw-subcat__img {
    display: block;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
}
.mw-subcat__img img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
    transition: transform .25s;
}
.mw-subcat:hover .mw-subcat__img img { transform: scale(1.04); }
.mw-subcat__name {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    line-height: 1.3;
}
.mw-subcat__count { font-size: 13px; color: #6B7280; }

.mw-subcats--small .mw-subcat { padding: 10px 8px; gap: 5px; }
.mw-subcats--small .mw-subcat__img img { max-width: 76px; }
.mw-subcats--small .mw-subcat__name { font-size: 13px; }
.mw-subcats--small .mw-subcat__count { font-size: 11px; }

/* ==========================================================
   סרגל מיון
   ========================================================== */
.mw-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.woocommerce-result-count { margin: 0; font-size: 14px; color: #6B7280; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
    font-family: var(--mw-font);
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: var(--mw-radius);
    background: var(--mw-bg);
    color: var(--mw-text);
}

/* ==========================================================
   גריד מוצרים + כרטיס
   ========================================================== */
.mw-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* גריד מוטמע (שורטקוד / ווידג'ט אלמנטור / מוצרים קשורים) */
.mw-products--embed { margin-block: 8px; }
.related.products > h2,
.upsells.products > h2,
.cross-sells > h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 36px 0 16px;
}

.mw-card {
    display: flex;
    flex-direction: column;
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    padding: 16px;
    transition: box-shadow .15s, transform .15s;
}
.mw-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.mw-card__img { position: relative; display: block; }
.mw-card__img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.mw-badge {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    background: var(--mw-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
}
.mw-badge--out { background: #6B7280; }

.mw-card__title {
    margin: 12px 0 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
}
.mw-card__title a { color: var(--mw-text); text-decoration: none; }
.mw-card__title a:hover { color: var(--mw-primary); }

.mw-card__price { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.mw-card__price del { color: #9CA3AF; font-weight: 400; font-size: 14px; margin-inline-end: 6px; }
.mw-card__price ins { text-decoration: none; }

/* תווית וריאציה על כרטיס (כשכל וריאציה = מוצר נפרד) */
.mw-card__variation {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    background: var(--mw-card);
    border-radius: 99px;
    padding: 2px 10px;
    margin-bottom: 8px;
}

/* שורת פעולות בכרטיס: כמות + כפתור קנייה */
.mw-card__actions { display: flex; align-items: center; gap: 8px; }
.mw-card__actions .mw-buy-btn { flex: 1; }

/* ==========================================================
   בורר כמות (+ / -)
   ========================================================== */
.mw-qty {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.mw-qty__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--mw-qty-bg, #F3F4F6);
    color: var(--mw-qty-color, #111827);
    border: none;
    font-family: var(--mw-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: filter .15s;
    flex-shrink: 0;
}
.mw-qty__btn:hover { filter: brightness(.93); }
.mw-qty__input {
    width: 40px;
    padding: 0;
    border: none;
    background: none;
    text-align: center;
    font-family: var(--mw-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--mw-text);
    appearance: textfield;
    -moz-appearance: textfield;
}
.mw-qty__input::-webkit-outer-spin-button,
.mw-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* בעמוד מוצר בורר הכמות מקבל מסגרת גלולה */
.single-product div.product form.cart .mw-qty {
    border: 1px solid #E5E7EB;
    border-radius: 99px;
    padding: 3px;
}
.single-product div.product form.cart .mw-qty input.qty {
    width: 44px;
    border: none;
    padding: 0;
}

/* ==========================================================
   כפתור קנה + ספינר
   ========================================================== */
.mw-buy-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px;
    background: var(--mw-btn, var(--mw-primary));
    color: #fff;
    border: none;
    border-radius: var(--mw-radius);
    font-family: var(--mw-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: filter .15s, background .2s;
}
.mw-buy-btn:hover { filter: brightness(1.1); }
.mw-buy-btn--link { background: var(--mw-secondary); }

.mw-buy-btn__spinner {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mw-spin .6s linear infinite;
}
@keyframes mw-spin { to { transform: rotate(360deg); } }

.mw-buy-btn.is-loading { pointer-events: none; }
.mw-buy-btn.is-loading .mw-buy-btn__text { visibility: hidden; }
.mw-buy-btn.is-loading .mw-buy-btn__spinner { display: block; }
.mw-buy-btn.is-added { background: var(--mw-success); }

/* ==========================================================
   עגלה צדדית
   ========================================================== */
.mw-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .5);
    z-index: 200;
    opacity: 0;
    transition: opacity .25s;
}
.mw-drawer-overlay.is-open { opacity: 1; }

.mw-drawer {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    width: min(400px, 92vw);
    height: 100dvh;
    background: var(--mw-bg);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: translateX(calc(-100% * var(--mw-dir, -1)));
    transition: transform .3s cubic-bezier(.25, .8, .3, 1);
    box-shadow: 0 0 40px rgba(0,0,0,.15);
}
html[dir="rtl"] .mw-drawer { --mw-dir: 1; transform: translateX(-100%); }
html[dir="ltr"] .mw-drawer { transform: translateX(100%); }
.mw-drawer.is-open { transform: translateX(0) !important; }

.mw-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #E5E7EB;
}
.mw-drawer__title { font-size: 18px; font-weight: 800; }
.mw-drawer__close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--mw-text);
    cursor: pointer;
    padding: 4px;
}

.mw-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
}
.mw-drawer__empty { text-align: center; color: #6B7280; padding-block: 40px; }

.mw-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 12px;
    border-bottom: 1px solid #F3F4F6;
}
.mw-drawer-item__img { flex-shrink: 0; width: 64px; }
.mw-drawer-item__img img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: calc(var(--mw-radius) / 2);
    background: var(--mw-card);
}
.mw-drawer-item__info { flex: 1; min-width: 0; }
.mw-drawer-item__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--mw-text);
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 4px;
}
.mw-drawer-item__qty { font-size: 13px; color: #6B7280; }
.mw-drawer-item__remove {
    background: none;
    border: none;
    font-size: 20px;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px 8px;
}
.mw-drawer-item__remove:hover { color: #DC2626; }

.mw-drawer__foot {
    padding: 16px 20px;
    border-top: 1px solid #E5E7EB;
    display: grid;
    gap: 10px;
}
.mw-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
}

body.mw-drawer-open { overflow: hidden; }

/* ==========================================================
   עימוד
   ========================================================== */
.woocommerce-pagination { margin-block: 36px; text-align: center; }
.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 8px;
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    color: var(--mw-text);
    text-decoration: none;
    font-weight: 600;
}
.woocommerce-pagination a:hover { border-color: var(--mw-primary); color: var(--mw-primary); }
.woocommerce-pagination span.current { background: var(--mw-primary); border-color: var(--mw-primary); color: #fff; }

/* ==========================================================
   הודעות ווקומרס
   ========================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    list-style: none;
    margin: 0 0 20px;
    padding: 14px 18px;
    border-radius: var(--mw-radius);
    font-size: 14px;
}
.woocommerce-message { background: #ECFDF5; color: #065F46; }
.woocommerce-info    { background: #EFF6FF; color: #1E40AF; }
.woocommerce-error   { background: #FEF2F2; color: #991B1B; }
.woocommerce-error li { margin: 0; }

/* ==========================================================
   מוצר בודד / עגלה / צ'קאאוט - בסיס נקי
   ========================================================== */
.mw-wc-wrap { padding-block: 24px 48px; }

.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.single-product div.product .woocommerce-product-gallery { position: relative; }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--mw-radius); }
.single-product div.product .product_title { font-size: 28px; font-weight: 800; margin-top: 0; }
.single-product div.product .price { font-size: 26px; font-weight: 800; color: var(--mw-text); }
.single-product div.product .price del { color: #9CA3AF; font-weight: 400; font-size: 18px; }
.single-product div.product .price ins { text-decoration: none; }

.single-product div.product form.cart {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-block: 20px;
}
.single-product div.product form.cart .qty {
    width: 74px;
    padding: 10px;
    border: 1px solid #D1D5DB;
    border-radius: var(--mw-radius);
    font-family: var(--mw-font);
    font-size: 15px;
    text-align: center;
}
.single-product div.product .single_add_to_cart_button {
    flex: 1;
    padding: 12px 24px;
    background: var(--mw-btn, var(--mw-primary));
    color: #fff;
    border: none;
    border-radius: var(--mw-radius);
    font-family: var(--mw-font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.single-product div.product .single_add_to_cart_button:hover { filter: brightness(1.1); }

.woocommerce-tabs { grid-column: 1 / -1; margin-top: 16px; }
.woocommerce-tabs .tabs {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    border-bottom: 2px solid #E5E7EB;
}
.woocommerce-tabs .tabs a {
    display: block;
    padding: 10px 18px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 700;
}
.woocommerce-tabs .tabs .active a {
    color: var(--mw-primary);
    box-shadow: 0 2px 0 var(--mw-primary);
}

.related.products,
.upsells.products { grid-column: 1 / -1; margin-top: 40px; }
.related.products > h2,
.upsells.products > h2 { font-size: 22px; font-weight: 800; }
.related.products ul.products,
.upsells.products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* טבלת עגלה + צ'קאאוט - בסיס */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 12px 14px;
    border-bottom: 1px solid #F3F4F6;
    text-align: start;
}
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: var(--mw-radius);
    font-family: var(--mw-font);
    font-size: 15px;
}
.woocommerce .button,
.woocommerce button.button {
    padding: 11px 20px;
    background: var(--mw-btn, var(--mw-primary));
    color: #fff;
    border: none;
    border-radius: var(--mw-radius);
    font-family: var(--mw-font);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

/* ----- תוכן / פוסטים ----- */
.mw-page__title, .mw-post__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.mw-post { margin-bottom: 36px; }

/* ----- פוטר ----- */
.mw-footer {
    margin-top: 64px;
    background: var(--mw-footer-bg, var(--mw-secondary));
    color: var(--mw-footer-text, #E5E7EB);
    padding-block: 36px;
}
.mw-footer__widgets {
    display: grid;
    grid-template-columns: repeat(var(--mw-footer-cols, 3), 1fr);
    gap: 32px;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.mw-widget__title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px;
}
.mw-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mw-widget a { color: var(--mw-footer-text, #D1D5DB); text-decoration: none; font-size: 14px; }
.mw-widget a:hover { color: #fff; }
@media (max-width: 768px) {
    .mw-footer__widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .mw-footer__widgets { grid-template-columns: minmax(0, 1fr); }
}
.mw-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.mw-footer__brand { font-weight: 800; font-size: 18px; color: #fff; }
.mw-footer__menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mw-footer__menu a { color: var(--mw-footer-text, #D1D5DB); text-decoration: none; font-size: 14px; }
.mw-footer__menu a:hover { color: #fff; }
.mw-footer__credit { font-size: 13px; color: #9CA3AF; }

/* ----- פרטי יצירת קשר בפוטר ----- */
.mw-footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
}
.mw-footer__contact a,
.mw-footer__contact span { color: var(--mw-footer-text, #D1D5DB); text-decoration: none; }
.mw-footer__contact a:hover { color: #fff; }

/* ----- אייקוני רשתות חברתיות ----- */
.mw-footer__social { display: flex; gap: 10px; }
.mw-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: var(--mw-footer-text, #D1D5DB);
    transition: background .15s, color .15s;
}
.mw-social-icon:hover { background: var(--mw-primary); color: #fff; }

/* ----- וריאנטים לפריסת פוטר ----- */
.mw-footer--centered .mw-footer__inner { flex-direction: column; text-align: center; justify-content: center; }
.mw-footer--centered .mw-footer__menu { justify-content: center; flex-wrap: wrap; }
.mw-footer--centered .mw-footer__contact { justify-content: center; }
.mw-footer--centered .mw-footer__widgets { text-align: center; }

.mw-footer--minimal { padding-block: 24px; }
.mw-footer--minimal .mw-footer__inner { flex-direction: column; text-align: center; gap: 14px; }
.mw-footer--minimal .mw-footer__menu { justify-content: center; flex-wrap: wrap; }
.mw-footer--minimal .mw-footer__contact { justify-content: center; }

/* ==========================================================
   רספונסיב
   ========================================================== */
@media (max-width: 1024px) {
    .single-product div.product { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .mw-burger { display: flex; }

    .mw-nav {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        background: var(--mw-bg);
        border-bottom: 1px solid #E5E7EB;
        padding: 12px 20px 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
    }
    .mw-header.is-menu-open .mw-nav { display: block; }
    .mw-nav__list { flex-direction: column; gap: 0; }
    .mw-nav__list ul,
    .mw-mega-panel {
        display: block;
        position: static;
        border: none;
        box-shadow: none;
        padding-inline-start: 16px;
    }
    .mw-mega-panel__inner { grid-template-columns: minmax(0, 1fr); padding-block: 8px; gap: 10px; }

    /* במובייל: מסתירים רכיבי-הדר משניים; טלפון נשאר כאייקון לחיץ */
    .mw-htext, .mw-hsocial, .mw-hbtn { display: none; }
    .mw-hphone span { display: none; }

    .mw-header.is-menu-open .mw-burger__lines span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .mw-header.is-menu-open .mw-burger__lines span:nth-child(2) { opacity: 0; }
    .mw-header.is-menu-open .mw-burger__lines span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    .mw-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mw-card { padding: 12px; }
    .mw-subcats--large { grid-template-columns: repeat(2, 1fr); }
    .mw-subcats--small { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ==========================================================
   פילטרים דינאמיים בארכיון
   ========================================================== */
.mw-archive-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.mw-archive-layout:not(:has(.mw-filters)) { grid-template-columns: minmax(0, 1fr); }

.mw-filters {
    position: sticky;
    top: 84px;
    background: var(--mw-card);
    border-radius: var(--mw-radius);
    padding: 18px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
}
.mw-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.mw-filters__title { font-size: 17px; font-weight: 800; }
.mw-filters__clear {
    background: none;
    border: none;
    color: var(--mw-primary);
    font-family: var(--mw-font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}
.mw-filters__close { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--mw-text); padding: 0 4px; }

.mw-filter { border-top: 1px solid #E5E7EB; padding-block: 4px; }
.mw-filter__label {
    font-weight: 700;
    font-size: 15px;
    padding-block: 10px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mw-filter__label::-webkit-details-marker { display: none; }
.mw-filter__label::after {
    content: '';
    width: 8px;
    height: 8px;
    border-inline-end: 2px solid #9CA3AF;
    border-bottom: 2px solid #9CA3AF;
    transform: rotate(45deg);
    transition: transform .15s;
}
.mw-filter[open] .mw-filter__label::after { transform: rotate(225deg); }

.mw-filter__options {
    display: grid;
    gap: 2px;
    padding-bottom: 10px;
    max-height: 240px;
    overflow-y: auto;
}
.mw-filter__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 2px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
}
.mw-filter__option:hover { background: rgba(0,0,0,.03); }
.mw-filter__option input {
    width: 16px;
    height: 16px;
    accent-color: var(--mw-primary);
    cursor: pointer;
    flex-shrink: 0;
}
.mw-filter__name { flex: 1; }
.mw-filter__count { font-size: 12px; color: #9CA3AF; }

.mw-filters-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    padding: 8px 14px;
    font-family: var(--mw-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--mw-text);
    cursor: pointer;
}
.mw-filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.5);
    z-index: 190;
    opacity: 0;
    transition: opacity .25s;
}
.mw-filters-overlay.is-open { opacity: 1; }

@media (max-width: 1024px) {
    .mw-archive-layout { grid-template-columns: minmax(0, 1fr); }
    .mw-filters-toggle { display: flex; }
    .mw-filters__close { display: block; }

    .mw-filters {
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        width: min(320px, 88vw);
        height: 100dvh;
        max-height: none;
        z-index: 191;
        border-radius: 0;
        background: var(--mw-bg);
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(.25,.8,.3,1);
    }
    html[dir="ltr"] .mw-filters { transform: translateX(-100%); }
    .mw-filters.is-open { transform: translateX(0) !important; }
}

/* ==========================================================
   סינון לפי מחיר - סליידר כפול
   ========================================================== */
.mw-price { display: grid; gap: 14px; padding-block: 6px 14px; }

.mw-price__slider { position: relative; height: 28px; touch-action: none; cursor: pointer; }
/* האינפוטים המובנים משמשים רק לאחסון ערכים - הגרירה על העיגולים שלנו */
.mw-price__slider input[type="range"] { display: none !important; }
.mw-price__thumb {
    position: absolute;
    top: 50%;
    inset-inline-start: 0%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--mw-btn, var(--mw-primary));
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
    cursor: grab;
}
html[dir="rtl"] .mw-price__thumb { transform: translate(50%, -50%); }
.mw-price__slider input[type="range"] {
    height: auto !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    position: absolute;
    inset-inline: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.mw-price__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--mw-text);
    border: none;
    cursor: pointer;
}
.mw-price__slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--mw-text);
    border: none;
    cursor: pointer;
}
.mw-price__track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline: 0;
    height: 4px;
    background: #E5E7EB;
    border-radius: 99px;
}
.mw-price__track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 99px;
    background: var(--mw-primary);
    inset-inline-start: var(--lo, 0%);
    inset-inline-end: calc(100% - var(--hi, 100%));
}

.mw-price__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mw-price__field {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #D1D5DB;
    border-radius: var(--mw-radius);
    background: var(--mw-bg);
    padding: 8px 10px;
    font-size: 13px;
    color: #6B7280;
}
.mw-price__field input {
    /* מידות קשיחות: שדות המספר לא יורשים ריפוד/גובה מעיצוב גלובלי */
    padding: 0 !important;
    border: none !important;
    min-height: 0 !important;
    height: auto !important;
    font-size: 14px !important;
    background: none !important;
    box-shadow: none !important;
    width: 100%;
    border: none;
    background: none;
    font-family: var(--mw-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--mw-text);
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}
.mw-price__field input::-webkit-outer-spin-button,
.mw-price__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.mw-price__apply {
    justify-self: center;
    min-width: 132px;
    padding: 8px 24px;
    background: var(--mw-btn, var(--mw-primary));
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: var(--mw-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .15s;
}
.mw-price__apply:hover { filter: brightness(1.08); }

/* ==========================================================
   תצוגת וריאציות בעמוד מוצר (תווית / צבע / תמונה)
   ========================================================== */
.mw-swatch-hidden { display: none !important; }

.mw-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 4px 10px; }

.mw-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    border: 2px solid #E5E7EB;
    border-radius: var(--mw-radius);
    background: var(--mw-bg);
    color: var(--mw-text);
    font-family: var(--mw-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.mw-swatch:hover { border-color: #9CA3AF; }
.mw-swatch.is-selected { border-color: var(--mw-primary); }
.mw-swatch.is-disabled { opacity: .3; pointer-events: none; }

.mw-swatch--color {
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    border-color: rgba(0,0,0,.12);
    background: var(--mw-swatch-color, #ccc);
}
.mw-swatch--color.is-selected {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--mw-bg), 0 0 0 4px var(--mw-primary);
}

.mw-swatch--image {
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 2px;
}
.mw-swatch--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--mw-radius) - 4px);
    display: block;
}

/* טבלת הוריאציות של ווקומרס - ניקוי לתצוגה אנכית נקייה */
.single-product div.product table.variations { border-collapse: collapse; margin-bottom: 4px; width: 100%; }
.single-product div.product table.variations th,
.single-product div.product table.variations td { display: block; padding: 0; border: none; text-align: start; }
.single-product div.product table.variations label { font-weight: 700; font-size: 14px; }
.single-product div.product .reset_variations { font-size: 13px; color: #6B7280; }

/* ----- טולטיפ על סווטצ'ים (שם הוריאציה) ----- */
.mw-swatch[data-tip] { position: relative; }
.mw-swatch[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    background: var(--mw-secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s, transform .15s;
    z-index: 20;
}
.mw-swatch[data-tip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--mw-secondary);
    border-bottom: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s;
    z-index: 20;
}
.mw-swatch[data-tip]:hover::after,
.mw-swatch[data-tip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.mw-swatch[data-tip]:hover::before,
.mw-swatch[data-tip]:focus-visible::before {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================
   צ'קאאוט - פס שלבים
   ========================================================== */
.mw-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 10px 0 30px;
}
.mw-steps__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9CA3AF;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.mw-steps__num {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.mw-steps__item.is-active { color: var(--mw-text); }
.mw-steps__item.is-active .mw-steps__num { background: var(--mw-primary); color: #fff; }
.mw-steps__item.is-done { color: var(--mw-text); }
.mw-steps__item.is-done .mw-steps__num { background: var(--mw-success); color: #fff; }
a.mw-steps__item:hover { color: var(--mw-primary); }
.mw-steps__sep {
    width: 46px;
    height: 2px;
    border-radius: 2px;
    background: #E5E7EB;
}

/* ==========================================================
   צ'קאאוט - פריסה: טופס בימין, סיכום הזמנה בשמאל
   ========================================================== */
/* סיכום ההזמנה (הפריטים) תופס לפחות 50% ודביק בגלילה */
form.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(50%, 1fr);
    column-gap: 28px;
    align-items: start;
}
form.woocommerce-checkout #customer_details { grid-column: 1; }

/* הכותרת + הפריטים כיחידה דביקה אחת - גובה לפי התוכן, בלי רווח מיותר */
.mw-review-sticky {
    grid-column: 2;
    position: sticky;
    top: 88px;
    align-self: start;
    background: var(--mw-card);
    border-radius: var(--mw-radius);
    overflow: hidden;
}
#order_review_heading {
    margin: 0;
    padding: 20px 22px 4px;
    font-size: 18px;
    font-weight: 800;
}
#order_review {
    background: transparent;
    padding: 4px 22px 22px;
}

/* כרטיס פרטי החיוב */
#customer_details {
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    padding: 24px;
}
#customer_details h3,
#ship-to-different-address {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 16px;
}

/* ----- שדות בסגנון גלולה ----- */
.woocommerce-checkout .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}
.woocommerce-checkout .form-row .required { color: #DC2626; text-decoration: none; }
.woocommerce-checkout .input-text,
.woocommerce-checkout select {
    width: 100%;
    height: 46px;
    padding: 0 18px;
    border: 1px solid #D1D5DB;
    border-radius: 99px;
    background: #F9FAFB;
    font-family: var(--mw-font);
    font-size: 15px;
    color: var(--mw-text);
    transition: border-color .15s, box-shadow .15s;
}
.woocommerce-checkout textarea.input-text {
    height: auto;
    min-height: 96px;
    padding: 12px 18px;
    border-radius: 18px;
    resize: vertical;
}
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus {
    outline: none;
    border-color: var(--mw-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mw-primary) 18%, transparent);
}

/* טופס קומפקטי: שדות זה-לצד-זה בשורות מלאות */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
}
/* ברירת מחדל: שדה = חצי שורה */
.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-additional-fields__field-wrapper .form-row { grid-column: span 1; }
/* רוחב-מלא רק לשדות שסומנו במפורש (כתובת, הערות, שם לחשבונית) */
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-additional-fields__field-wrapper .form-row-wide,
.woocommerce-billing-fields__field-wrapper #billing_address_1_field,
.woocommerce-billing-fields__field-wrapper #billing_address_2_field { grid-column: 1 / -1; }
.woocommerce-billing-fields__field-wrapper .form-row-half,
.woocommerce-shipping-fields__field-wrapper .form-row-half { grid-column: span 1; }

/* select2 של ווקומרס (בחירת מדינה) - התאמה לסגנון */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 46px;
    border: 1px solid #D1D5DB;
    border-radius: 99px;
    background: #F9FAFB;
}
.woocommerce-checkout .select2-container .select2-selection__rendered { line-height: 44px; padding-inline: 18px; }
.woocommerce-checkout .select2-container .select2-selection__arrow { height: 44px; }

/* צ'קבוקסים (משלוח לכתובת אחרת, תקנון) */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
    accent-color: var(--mw-primary);
    width: 17px;
    height: 17px;
}
#ship-to-different-address label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* ----- טבלת סיכום ההזמנה ----- */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px 0;
    text-align: start;
    border-bottom: 1px solid #E5E7EB;
    font-size: 14px;
    vertical-align: middle;
}
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .product-name { display: flex; align-items: center; gap: 10px; }
.mw-review-thumb img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 1px solid #E5E7EB;
    background: #fff;
}
.mw-review-name { flex: 1; line-height: 1.4; }
.mw-review-name .product-quantity { color: #6B7280; font-weight: 600; }
.woocommerce-checkout-review-order-table .product-total { text-align: end; font-weight: 700; white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot th { font-weight: 600; color: #6B7280; }
.woocommerce-checkout-review-order-table tfoot td { text-align: end; font-weight: 700; }
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    border-bottom: none;
    font-size: 17px;
    font-weight: 800;
    color: var(--mw-text);
    padding-top: 14px;
}

/* ----- אמצעי תשלום ----- */
.wc_payment_methods {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.wc_payment_method {
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 14px;
}
.wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.wc_payment_method label img { max-height: 24px; width: auto; }
.payment_box {
    margin-top: 10px;
    padding: 10px 12px;
    background: #F3F4F6;
    border-radius: 10px;
    font-size: 13px;
    color: #4B5563;
}
.payment_box p:first-child { margin-top: 0; }
.payment_box p:last-child { margin-bottom: 0; }

/* ----- כפתור שליחת הזמנה ----- */
#place_order {
    width: 100%;
    padding: 15px;
    background: var(--mw-btn, var(--mw-primary));
    color: #fff;
    border: none;
    border-radius: 99px;
    font-family: var(--mw-font);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .15s, transform .1s;
}
#place_order:hover { filter: brightness(1.08); }
#place_order:active { transform: scale(.985); }

/* תקנון ומדיניות פרטיות מתחת לכפתור */
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 12px; font-size: 13px; color: #6B7280; }
.woocommerce-privacy-policy-text p { margin: 0 0 10px; }

/* ----- קופון והתחברות בראש העמוד ----- */
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
    display: block;
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    padding: 12px 18px;
    margin-bottom: 14px;
    font-size: 14px;
}
.woocommerce-form-coupon-toggle .showcoupon,
.woocommerce-checkout .woocommerce-info a { color: var(--mw-primary); font-weight: 700; text-decoration: none; }
.woocommerce-form-coupon,
.woocommerce-form-login {
    background: var(--mw-card);
    border-radius: var(--mw-radius);
    padding: 18px;
    margin-bottom: 18px;
}
.woocommerce-form-coupon .form-row,
.woocommerce-form-login .form-row { margin-bottom: 10px; }
.woocommerce-form-coupon input.input-text,
.woocommerce-form-login input.input-text {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #D1D5DB;
    border-radius: 99px;
    background: #fff;
    font-family: var(--mw-font);
}
.woocommerce-form-coupon button,
.woocommerce-form-login button {
    padding: 11px 22px;
    background: var(--mw-secondary);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-family: var(--mw-font);
    font-weight: 700;
    cursor: pointer;
}

/* שגיאות ולידציה */
.woocommerce-checkout .woocommerce-error {
    list-style: none;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    border-radius: var(--mw-radius);
    padding: 12px 18px;
    margin-bottom: 16px;
    font-size: 14px;
}
.woocommerce-checkout .form-row.woocommerce-invalid .input-text { border-color: #DC2626; }

/* ----- רספונסיב ----- */
@media (max-width: 1024px) {
    form.woocommerce-checkout { grid-template-columns: minmax(0, 1fr); }
    form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: auto; margin-bottom: 18px; }
    .mw-review-sticky { grid-column: 1; position: static; }
}
@media (max-width: 600px) {
    .mw-steps { gap: 8px; }
    .mw-steps__sep { width: 22px; }
    .mw-steps__label { font-size: 12px; }
    #customer_details { padding: 16px; }
}

/* ==========================================================
   עמוד הבית המובנה
   ========================================================== */
/* block ולא grid: ילד רחב (סליידר קטגוריות) ניפח את עמודת ה-grid
   ומחץ את הבאנר לרוחב 0 */
.mw-home {
    padding-block: 24px 48px;
}
.mw-home > * + * { margin-top: 44px; }
.mw-home__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 18px;
}
.mw-home-cats__title {
    font-size: var(--mw-cat-title-size, 24px);
    color: var(--mw-cat-title-c, inherit);
    text-align: var(--mw-cat-title-align, right);
}
.mw-home__hint {
    background: var(--mw-card);
    border: 2px dashed #D1D5DB;
    border-radius: var(--mw-radius);
    padding: 60px 20px;
    text-align: center;
    color: #6B7280;
    font-weight: 600;
}

/* ----- באנר ראשי מתחלף ----- */
.mw-hero {
    position: relative;
    border-radius: var(--mw-radius);
    overflow: hidden;
}
.mw-hero__stage {
    position: relative;
    aspect-ratio: 3 / 1;
    background: var(--mw-card);
}
.mw-hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}
.mw-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.mw-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mw-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .85);
    color: var(--mw-text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    transition: background .15s;
    z-index: 5;
}
.mw-hero__arrow:hover { background: #fff; }
.mw-hero__arrow--prev { inset-inline-start: 14px; }
.mw-hero__arrow--next { inset-inline-end: 14px; }

.mw-hero__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 5;
}
.mw-hero__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    padding: 0;
    transition: background .15s, transform .15s;
}
.mw-hero__dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

/* ----- רצועת קטגוריות ----- */
.mw-home-cats__wrap { position: relative; }
.mw-home-cats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(var(--mw-cat-size, 104px) + 24px), 1fr));
    gap: var(--mw-cat-gap, 18px);
}
/* מספר קבוע בשורה: כל קטגוריה = חלק שווה, התמונה ממלאת את הרוחב ומתאימה גודל לבד */
.mw-home-cats--fixed .mw-home-cats__grid {
    grid-template-columns: repeat(var(--mw-cat-cols, 4), minmax(0, 1fr));
}
.mw-home-cats--fixed .mw-home-cat { width: auto; }
.mw-home-cats--fixed .mw-home-cat__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}
/* מלבן: יחס רחב במקום ריבוע */
.mw-home-cats--fixed.mw-home-cats--rect .mw-home-cat__img { aspect-ratio: 4 / 3; }

/* מצב סליידר: שורה אחת נגללת הצידה */
.mw-home-cats--slider .mw-home-cats__grid {
    display: flex;
    gap: var(--mw-cat-gap, 18px);
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mw-home-cats--slider .mw-home-cats__grid::-webkit-scrollbar { display: none; }
.mw-home-cats--slider .mw-home-cat {
    flex: 0 0 auto;
    width: calc(var(--mw-cat-size, 104px) + 24px);
    scroll-snap-align: start;
}

.mw-home-cats__arrow {
    position: absolute;
    top: calc(var(--mw-cat-size, 104px) / 2);
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--mw-text);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    cursor: pointer;
    z-index: 5;
}
.mw-home-cats__arrow:hover { color: var(--mw-primary); }
.mw-home-cats__arrow[data-dir="-1"] { inset-inline-start: -10px; }
.mw-home-cats__arrow[data-dir="1"] { inset-inline-end: -10px; }

.mw-home-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--mw-text);
}
.mw-home-cat__img {
    width: var(--mw-cat-size, 104px);
    height: var(--mw-cat-size, 104px);
    border-radius: 50%;
    overflow: hidden;
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    transition: transform .2s, box-shadow .2s;
}
.mw-home-cats--square .mw-home-cat__img { border-radius: var(--mw-cat-radius, 12px); }
.mw-home-cats--rect .mw-home-cat__img {
    border-radius: var(--mw-cat-radius, 12px);
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}
.mw-home-cats--rect .mw-home-cat { align-items: stretch; text-align: center; }
.mw-home-cats--rect.mw-home-cats--fixed .mw-home-cat { width: auto; }
.mw-home-cats--rect .mw-home-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.mw-home-cat__count {
    font-size: 12px;
    color: #6B7280;
    margin-top: -4px;
}
.mw-home-cat__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mw-home-cat:hover .mw-home-cat__img {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}
.mw-home-cat__name {
    font-size: var(--mw-cat-name-size, 14px);
    font-weight: 700;
    text-align: center;
    color: var(--mw-cat-name-c, inherit);
}
.mw-home-cat:hover .mw-home-cat__name { color: var(--mw-primary); }

/* ----- סטריפ מוצרים ----- */
.mw-home-strip__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.mw-home-strip__head .mw-home__title { margin-bottom: 18px; }
.mw-home-strip__more {
    font-size: 14px;
    font-weight: 700;
    color: var(--mw-primary);
    text-decoration: none;
    white-space: nowrap;
}
.mw-home-strip__more:hover { text-decoration: underline; }

/* ----- מובייל ----- */
@media (max-width: 768px) {
    .mw-home > * + * { margin-top: 32px; }
    .mw-home__title { font-size: 20px; }
    .mw-hero__stage { aspect-ratio: 16 / 9; }
    .mw-hero__arrow { width: 34px; height: 34px; }
    /* במובייל תמיד שורה נגללת, בלי חיצים */
    .mw-home-cats__grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mw-home-cats__grid::-webkit-scrollbar { display: none; }
    .mw-home-cat { flex: 0 0 auto; width: calc(var(--mw-cat-size, 104px) * .85 + 16px); }
    .mw-home-cat__img {
        width: calc(var(--mw-cat-size, 104px) * .85);
        height: calc(var(--mw-cat-size, 104px) * .85);
    }
    .mw-home-cats__arrow { display: none; }
}

/* ==========================================================
   קמפיינים / מבצעים
   ========================================================== */

/* אייקון על כרטיס מוצר ועל גלריית עמוד מוצר */
.mw-campaign-badge {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 54px;
    height: 54px;
    padding: 0;
    border: none;
    background: none;
    z-index: 4;
    display: block;
}
button.mw-campaign-badge { cursor: pointer; transition: transform .15s; }
button.mw-campaign-badge:hover { transform: scale(1.08); }
.mw-campaign-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}
.single-product .woocommerce-product-gallery { position: relative; }
.single-product .woocommerce-product-gallery .mw-campaign-badge { width: 64px; height: 64px; z-index: 10; }

/* רצועת באנרי קמפיינים בעמוד הבית */
.mw-home-campaigns__row {
    display: grid;
    grid-auto-flow: column;
    /* תקרת גודל לכרטיס - שבאנר בודד לא יימתח לריבוע ענק.
       הרוחב נשלט מ-Studio (--mw-camp-w על הסקשן) */
    grid-auto-columns: minmax(140px, var(--mw-camp-w, 225px));
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mw-home-campaigns__row::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
    .mw-home-campaigns__row { grid-auto-columns: minmax(120px, min(var(--mw-camp-w, 225px), 170px)); }
}
.mw-home-campaign {
    display: block;
    border-radius: var(--mw-radius);
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--mw-card);
}
.mw-home-campaign img {
    width: 100%;
    aspect-ratio: var(--mw-camp-ratio, 1 / 1);
    object-fit: cover;
    display: block;
    transition: transform .25s;
}
.mw-home-campaign:hover img { transform: scale(1.04); }

/* פס המבצע בעמוד מוצר */
.mw-campaign-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    padding: 14px 16px;
    margin-top: 18px;
}
.mw-campaign-strip__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.mw-campaign-strip__txt { display: grid; gap: 2px; font-size: 14px; }
.mw-campaign-strip__more {
    background: none;
    border: none;
    padding: 0;
    color: var(--mw-primary);
    font-family: var(--mw-font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: start;
}
.mw-campaign-strip__more:hover { text-decoration: underline; }

/* פופאפ-צד של המבצע */
.mw-cdrawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .5);
    opacity: 0;
    transition: opacity .3s;
    z-index: 998;
}
.mw-cdrawer-overlay.is-open { opacity: 1; }

.mw-cdrawer {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(440px, 94vw);
    background: var(--mw-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.25, .8, .3, 1);
    box-shadow: 0 0 40px rgba(0, 0, 0, .2);
}
html[dir="ltr"] .mw-cdrawer { transform: translateX(100%); }
.mw-cdrawer.is-open { transform: none !important; }

.mw-cdrawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
}
.mw-cdrawer__icon { width: 60px; height: 60px; object-fit: contain; }
.mw-cdrawer__close {
    background: var(--mw-card);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: var(--mw-text);
    margin-inline-start: auto;
}

.mw-cdrawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px 20px;
}
.mw-cdrawer__title {
    font-size: 20px;
    font-weight: 800;
    margin: 4px 0 12px;
    line-height: 1.35;
}
.mw-cdrawer__desc { font-size: 14px; color: #4B5563; margin-bottom: 12px; }
.mw-cdrawer__desc p { margin: 0 0 8px; }
.mw-cdrawer__terms {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--mw-primary);
    text-decoration: none;
    margin-bottom: 16px;
}
.mw-cdrawer__terms:hover { text-decoration: underline; }

.mw-cdrawer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}
.mw-cdrawer__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: var(--mw-text);
}
.mw-cdrawer__item-img {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: var(--mw-card);
}
.mw-cdrawer__item-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.mw-cdrawer__item-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mw-cdrawer__item:hover .mw-cdrawer__item-name { color: var(--mw-primary); }
.mw-cdrawer__item-price { font-size: 13px; font-weight: 800; }
.mw-cdrawer__item-price del { color: #9CA3AF; font-weight: 400; margin-inline-end: 4px; }
.mw-cdrawer__item-price ins { text-decoration: none; }

.mw-cdrawer__foot {
    padding: 14px 20px;
    border-top: 1px solid #E5E7EB;
}
.mw-cdrawer__foot .mw-btn { width: 100%; border-radius: 99px; }

/* ==========================================================
   סטריפ מוצרים בעמוד הבית = סליידר + כפתור "לכל ה..."
   ========================================================== */
.mw-home-strip__body { position: relative; }
.mw-home-strip .mw-products {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mw-home-strip .mw-products::-webkit-scrollbar { display: none; }
.mw-home-strip .mw-products .mw-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
}

.mw-strip-arrow {
    position: absolute;
    top: 34%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--mw-text);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    cursor: pointer;
    z-index: 5;
}
.mw-strip-arrow:hover { color: var(--mw-primary); }
.mw-strip-arrow[data-dir="-1"] { inset-inline-start: -12px; }
.mw-strip-arrow[data-dir="1"] { inset-inline-end: -12px; }

.mw-home-strip__foot {
    text-align: center;
    margin-top: 20px;
}
.mw-home-strip__btn {
    display: inline-flex;
    padding: 12px 38px;
    border-radius: 99px;
}

@media (max-width: 768px) {
    .mw-home-strip .mw-products .mw-card { flex: 0 0 175px; }
    .mw-strip-arrow { display: none; }
}

/* תנאי מבצע באותיות קטנות + באנר עמוד קמפיין */
.mw-cdrawer__conditions { font-size: 12px; color: #6B7280; margin-bottom: 12px; }
.mw-cdrawer__conditions p { margin: 0 0 6px; }
.mw-campaign-hero { margin-bottom: 18px; }
.mw-campaign-hero img { width: 100%; border-radius: var(--mw-radius); display: block; }

/* ==========================================================
   עמוד מוצר בסגנון חנות מלאה
   ========================================================== */

/* צד התמונה: ברירת מחדל תמונה בשמאל (פרטים בימין, כמו הרפרנס) */
.single-product.mw-gallery-left div.product > * { order: 3; }
.single-product.mw-gallery-left div.product > .summary { order: 1; }
.single-product.mw-gallery-left div.product > .woocommerce-product-gallery { order: 2; }

/* כפתורי קנייה: הוספה לסל (ראשי) + קנה עכשיו (משני) בגלולות */
.single-product div.product .single_add_to_cart_button {
    border-radius: 99px;
    font-weight: 800;
}
.mw-buynow-btn {
    flex: 1;
    padding: 12px 24px;
    background: var(--mw-secondary);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-family: var(--mw-font);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .15s;
    white-space: nowrap;
}
.mw-buynow-btn:hover { filter: brightness(1.25); }

/* שורת פעולות: מפרט מלא / שאלה / שיתוף */
.mw-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-block: 4px 14px;
}
.mw-paction {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    border-radius: 99px;
    color: var(--mw-text);
    font-family: var(--mw-font);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.mw-paction:hover { border-color: var(--mw-primary); color: var(--mw-primary); }

/* אייקוני אמון */
.mw-trust {
    display: flex;
    gap: 22px;
    margin-block: 14px;
    padding-block: 14px;
    border-top: 1px solid #F3F4F6;
    border-bottom: 1px solid #F3F4F6;
}
.mw-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    flex: 1;
}
.mw-trust__item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}
.mw-trust__item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--mw-text);
    line-height: 1.3;
}

/* פס עלות משלוח */
.mw-shipnote {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    padding: 13px 16px;
    margin-block: 10px;
    font-size: 14px;
}
.mw-shipnote svg { color: var(--mw-primary); flex-shrink: 0; }

/* ==========================================================
   סל+תשלום מאוחדים: עריכת פריטים בסיכום ההזמנה
   ========================================================== */
.mw-review-ctl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.mw-qty--sm .mw-qty__btn {
    width: 26px;
    height: 26px;
    font-size: 14px;
}
.mw-qty--sm .mw-qty__input { width: 32px; font-size: 13px; }
.mw-review-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    padding: 0;
    border-radius: 8px;
    color: #9CA3AF;
    cursor: pointer;
    transition: color .15s, background .15s;
}
.mw-review-remove svg { width: 16px; height: 16px; }
/* האייקון מ-CSS ולא מה-PHP: פילטרים של ווקומרס מסננים SVG מתוך
   שם הפריט, והכפתור הגיע ריק. mask עם currentColor שומר על צבעי הריחוף */
.mw-review-remove::before {
    content: '';
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%223 6 5 6 21 6%22/%3E%3Cpath d=%22M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2%22/%3E%3Cline x1=%2210%22 y1=%2211%22 x2=%2210%22 y2=%2217%22/%3E%3Cline x1=%2214%22 y1=%2211%22 x2=%2214%22 y2=%2217%22/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%223 6 5 6 21 6%22/%3E%3Cpath d=%22M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2%22/%3E%3Cline x1=%2210%22 y1=%2211%22 x2=%2210%22 y2=%2217%22/%3E%3Cline x1=%2214%22 y1=%2211%22 x2=%2214%22 y2=%2217%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.mw-review-remove:hover { color: #DC2626; background: #FEF2F2; }

/* כפתורי הכמות בסיכום ההזמנה - בהירים תמיד, בלי קשר לצבע שנבחר
   לבורר בעמוד המוצר (הצבע הכהה שם לא שייך לכאן) */
.mw-review-ctl .mw-qty {
    --mw-qty-bg: #F3F4F6;
    --mw-qty-color: #111827;
}
.mw-review-name { display: flex; flex-direction: column; align-items: flex-start; }

@media (max-width: 768px) {
    .mw-trust { gap: 10px; }
    .mw-trust__item img { width: 42px; height: 42px; }
    .single-product div.product form.cart { flex-wrap: wrap; }
    .mw-buynow-btn { flex-basis: 100%; }
}

/* ==========================================================
   שורת שיתוף בעמוד מוצר (עיגולים צבעוניים)
   ========================================================== */
.mw-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-block: 4px 14px;
}
.mw-share__label {
    font-size: 13px;
    font-weight: 700;
    color: #6B7280;
    margin-inline-end: 2px;
}
.mw-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform .15s, filter .15s;
}
.mw-share__btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.mw-share__btn--whatsapp { background: #25D366; }
.mw-share__btn--email    { background: #6B7280; }
.mw-share__btn--x        { background: #111111; }
.mw-share__btn--facebook { background: #1877F2; }
.mw-share__btn--telegram { background: #229ED9; }

/* ==========================================================
   גלריית מוצר: ראשית + ממוזערות + לייטבוקס
   ========================================================== */
.woocommerce-product-gallery .mw-ghide { display: none; }

/* קופסת התמונה הראשית: יחס אחיד (--mw-gratio מ-Studio) - בלי קפיצות גובה */
.single-product div.product .woocommerce-product-gallery__image {
    aspect-ratio: var(--mw-gratio, 1 / 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--mw-gradius, var(--mw-radius));
}
/* התמונות הלא-פעילות נשארות מוסתרות - הכלל למעלה חזק יותר מ-.mw-ghide */
.single-product div.product .woocommerce-product-gallery__image.mw-ghide { display: none; }
.single-product div.product .woocommerce-product-gallery__image img {
    border-radius: var(--mw-gradius, var(--mw-radius));
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mw-gthumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

/* ממוזערות מתחת לתמונה = סליידר בשורה אחת עם חיצים (לא עוטף לשורות) */
.mw-gthumbs-wrap { position: relative; margin-top: 12px; }
.mw-gthumbs-wrap .mw-gthumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 0;
    padding-block: 2px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
}
/* כשהכל נכנס ברוחב - הממוזערות ממורכזות; בגלישה - מיושרות להתחלה כדי שאפשר לגלול לכולן */
.mw-gthumbs-wrap:not(.has-overflow) .mw-gthumbs { justify-content: center; }
.mw-gthumbs-wrap .mw-gthumbs.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.mw-gthumbs-wrap .mw-gthumbs::-webkit-scrollbar { display: none; }
.mw-gthumbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    background: var(--mw-bg);
    color: var(--mw-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
    cursor: pointer;
    z-index: 3;
}
.mw-gthumbs-wrap.has-overflow .mw-gthumbs-arrow { display: flex; }
.mw-gthumbs-arrow[data-dir="-1"] { inset-inline-start: -8px; }
.mw-gthumbs-arrow[data-dir="1"]  { inset-inline-end: -8px; }
.mw-gthumb {
    width: 74px;
    height: 74px;
    padding: 0;
    border: 2px solid #E5E7EB;
    border-radius: calc(var(--mw-gradius, 16px) * .6 + 4px);
    overflow: hidden;
    background: var(--mw-card);
    cursor: pointer;
    transition: border-color .15s;
    flex-shrink: 0;
}
.mw-gthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mw-gthumb:hover { border-color: #9CA3AF; }
.mw-gthumb.is-active { border-color: var(--mw-primary); }

/* ממוזערות בצד התמונה */
body.mw-thumbs-side .woocommerce-product-gallery,
body.mw-thumbs-right .woocommerce-product-gallery,
body.mw-thumbs-left .woocommerce-product-gallery {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
body.mw-thumbs-side .woocommerce-product-gallery__wrapper,
body.mw-thumbs-right .woocommerce-product-gallery__wrapper,
body.mw-thumbs-left .woocommerce-product-gallery__wrapper { flex: 1; min-width: 0; }
body.mw-thumbs-side .mw-gthumbs,
body.mw-thumbs-right .mw-gthumbs,
body.mw-thumbs-left .mw-gthumbs {
    flex-direction: column;
    flex-wrap: nowrap;
    margin-top: 0;
    order: -1;
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: none;
}
/* שמאל = אחרי התמונה (בכיוון RTL) */
body.mw-thumbs-left .mw-gthumbs { order: 2; }
body.mw-thumbs-side .mw-gthumbs::-webkit-scrollbar,
body.mw-thumbs-right .mw-gthumbs::-webkit-scrollbar,
body.mw-thumbs-left .mw-gthumbs::-webkit-scrollbar { display: none; }

/* לייטבוקס */
.mw-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}
.mw-lightbox.is-open { display: flex; }
.mw-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 10px;
    object-fit: contain;
}
.mw-lightbox__close {
    position: absolute;
    top: 18px;
    inset-inline-end: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.mw-lightbox__close:hover { background: rgba(255, 255, 255, .25); }
.mw-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-start: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.mw-lightbox__nav--next { inset-inline-start: auto; inset-inline-end: 18px; }
.mw-lightbox__nav:hover { background: rgba(255, 255, 255, .25); }

@media (max-width: 768px) {
    .mw-gthumb { width: 60px; height: 60px; }
    body.mw-thumbs-side .woocommerce-product-gallery,
body.mw-thumbs-right .woocommerce-product-gallery,
body.mw-thumbs-left .woocommerce-product-gallery { flex-direction: column; }
    body.mw-thumbs-side .mw-gthumbs {
        flex-direction: row;
        order: 0;
        max-height: none;
        overflow-y: visible;
        overflow-x: auto;
    }
}

/* ==========================================================
   הדר תלת-שורתי + שורת חיפוש חיה + המבורגר
   ========================================================== */
.mw-hrow { border-bottom: 1px solid rgba(0, 0, 0, .04); }
.mw-hrow:last-child { border-bottom: none; }
.mw-hrow .mw-header__inner { min-height: var(--mw-hrow-h, 68px); }
.mw-hrow--top .mw-header__inner { min-height: var(--mw-hrow-h, 42px); font-size: 13px; gap: 18px; }
.mw-hrow--bottom .mw-header__inner { min-height: var(--mw-hrow-h, 50px); }

/* שורת חיפוש רחבה */
.mw-searchbar {
    position: relative;
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 620px;
    min-width: 0;
}
.mw-hzone:has(.mw-searchbar) { flex: 1; }
.mw-searchbar .mw-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 99px;
    background: var(--mw-card);
    font-family: var(--mw-font);
    font-size: var(--mw-search-fs, 14px);
}
.mw-searchbar .mw-search-input:focus {
    outline: none;
    border-color: var(--mw-primary);
    background: var(--mw-bg);
}
.mw-searchbar .mw-search-submit {
    width: 42px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* תוצאות חיות */
.mw-live-results {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
    max-height: 66vh;
    overflow-y: auto;
    z-index: 200;
    padding: 8px;
    font-size: var(--mw-search-fs, 14px);
}
.mw-search-form { position: relative; }
.mw-search-panel.is-open { overflow: visible; }

.mw-live__section {
    font-size: 11px;
    font-weight: 800;
    color: #9CA3AF;
    padding: 8px 10px 4px;
    letter-spacing: .3px;
}
.mw-live__cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--mw-text);
    text-decoration: none;
    font-weight: 600;
}
.mw-live__cat span { font-size: 11px; color: #9CA3AF; font-weight: 400; }
.mw-live__cat:hover { background: var(--mw-card); color: var(--mw-primary); }

.mw-live__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--mw-text);
    text-decoration: none;
}
.mw-live__item:hover { background: var(--mw-card); }
.mw-live__item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--mw-card);
    flex-shrink: 0;
}
.mw-live__name {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    line-height: 1.35;
    display: flex;
    flex-direction: column;
}
.mw-live__name small { color: #9CA3AF; font-weight: 400; font-size: .8em; }
.mw-live__price { font-weight: 800; white-space: nowrap; }
.mw-live__price del { color: #9CA3AF; font-weight: 400; margin-inline-end: 4px; }
.mw-live__price ins { text-decoration: none; }

.mw-live__all {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    background: var(--mw-card);
    border: none;
    border-radius: 9px;
    color: var(--mw-primary);
    font-family: var(--mw-font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.mw-live__all:hover { background: #EEE9FB; }
.mw-live__empty { padding: 16px; text-align: center; color: #9CA3AF; font-size: 13px; }

/* המבורגר: קווים בתוך עטיפה + תווית אופציונלית + צבע */
.mw-burger__lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mw-burger__lines span {
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--mw-burger-c, var(--mw-header-text, var(--mw-text)));
    transition: transform .2s, opacity .2s;
}
.mw-burger__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--mw-burger-c, var(--mw-header-text, var(--mw-text)));
}

/* ==========================================================
   רוחב מלא לסקשנים נבחרים (באנר / קמפיינים)
   ========================================================== */
.mw-fullbleed { width: 100%; }

/* באנר ראשי ברוחב מלא: בלי פינות מעוגלות, צמוד להדר */
.mw-hero--full { border-radius: 0; }
.mw-home > .mw-fullbleed:first-child { margin-top: -24px; }
.mw-hero--full .mw-hero__stage { aspect-ratio: 1600 / 500; }
@media (max-width: 768px) {
    .mw-hero--full .mw-hero__stage { aspect-ratio: 16 / 9; }
}

/* רצועת קמפיינים ברוחב מלא: נגללת מקצה לקצה עם ריווח פנימי קטן */
.mw-home-campaigns--full .mw-home-campaigns__row { padding-inline: 16px; }
.mw-home-campaigns--full .mw-home__title { padding-inline: 16px; }

/* ==========================================================
   מוצרים קשורים / אפסלים כסליידר
   ========================================================== */
.mw-rel-slider { position: relative; }
.mw-rel-slider .mw-products {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mw-rel-slider .mw-products::-webkit-scrollbar { display: none; }
.mw-rel-slider .mw-products .mw-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
}
.mw-rel-slider .mw-strip-arrow { top: 40%; }
@media (max-width: 768px) {
    .mw-rel-slider .mw-products .mw-card { flex: 0 0 175px; }
    .mw-rel-slider .mw-strip-arrow { display: none; }
}

/* ==========================================================
   חיצי דפדוף על גלריית המוצר
   ========================================================== */
.single-product .woocommerce-product-gallery__wrapper { position: relative; }
.mw-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .88);
    color: var(--mw-text);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
    cursor: pointer;
    z-index: 8;
    opacity: 0;
    transition: opacity .2s, background .15s;
}
.single-product .woocommerce-product-gallery:hover .mw-gallery-arrow { opacity: 1; }
.mw-gallery-arrow:hover { background: #fff; color: var(--mw-primary); }
.mw-gallery-arrow--prev { inset-inline-start: 12px; }
.mw-gallery-arrow--next { inset-inline-end: 12px; }
@media (max-width: 768px) {
    .mw-gallery-arrow { opacity: 1; width: 36px; height: 36px; }
}

/* ==========================================================
   אלמנטים: תיבת אייקון, רשימות פוטר, אזורי שורה תחתונה
   ========================================================== */
.mw-iconbox {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.mw-iconbox img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.mw-iconbox__txt { display: flex; flex-direction: column; line-height: 1.3; }
.mw-iconbox__txt strong { font-size: 13.5px; font-weight: 800; }
.mw-iconbox__txt small { font-size: 12px; opacity: .75; }

.mw-flist { min-width: 0; }
.mw-flist__title { font-size: 15px; font-weight: 800; margin: 0 0 12px; }
.mw-flist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mw-flist a { color: inherit; text-decoration: none; font-size: 14px; opacity: .85; }
.mw-flist a:hover { opacity: 1; color: var(--mw-primary); }
.mw-flist li { font-size: 14px; }

.mw-fzone { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mw-fzone--center { flex: 1; justify-content: center; }
.mw-fzone--end { justify-content: flex-end; }

.mw-nav--vertical .mw-nav__list { flex-direction: column; gap: 2px; }
.mw-nav--vertical .mw-nav__list a { padding: 4px 0; background: none; }

.mw-logo img { max-height: var(--mw-logo-h, 48px); }

@media (max-width: 768px) {
    .mw-footer__inner { flex-direction: column; }
    .mw-fzone { justify-content: center; flex-wrap: wrap; }
}

/* ==========================================================
   אלמנט אזור אישי בהדר
   ========================================================== */
.mw-account {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--mw-header-text, var(--mw-text));
    text-decoration: none;
    padding: 6px;
}
.mw-account:hover { color: var(--mw-primary); }
.mw-account__img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}
.mw-account__label { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ==========================================================
   עמוד האזור האישי - עיצוב מודרני
   ========================================================== */
.woocommerce-account .mw-wc-wrap,
.woocommerce-account .mw-container { max-width: var(--mw-container); }

/* באנר פתיחה - נקי ופשוט: כרטיס בהיר עם פס צבע דק בצד */
.mw-account-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--mw-card);
    color: var(--mw-text);
    border: 1px solid #E5E7EB;
    border-inline-start: 4px solid var(--mw-primary);
    border-radius: calc(var(--mw-radius) + 4px);
    padding: 20px 24px;
    margin-bottom: 26px;
}
.mw-account-hero__avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    background: #fff;
    display: block;
}
.mw-account-hero__txt { display: grid; }
.mw-account-hero__hi { font-size: 14px; color: #6B7280; }
.mw-account-hero__name { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--mw-secondary); }
.mw-account-hero__stats {
    display: flex;
    gap: 12px;
    margin-inline-start: auto;
    flex-wrap: wrap;
}
.mw-account-stat {
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
    padding: 10px 16px;
    text-align: center;
    min-width: 84px;
}
.mw-account-stat__num { display: block; font-size: 19px; font-weight: 800; color: var(--mw-primary); }
.mw-account-stat__lbl { font-size: 11.5px; color: #6B7280; }

/* פריסה: תפריט צד + תוכן */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    box-sizing: border-box;
}
.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.woocommerce-account .mw-account-hero { grid-column: 1 / -1; }

/* תפריט צד ככרטיסי-ניווט */
.woocommerce-MyAccount-navigation {
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: calc(var(--mw-radius) + 4px);
    padding: 10px;
    position: sticky;
    top: 90px;
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border-radius: var(--mw-radius);
    color: var(--mw-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    transition: background .15s, color .15s;
}
.woocommerce-MyAccount-navigation li a::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: currentColor;
    -webkit-mask: var(--mw-acc-ico) center / contain no-repeat;
    mask: var(--mw-acc-ico) center / contain no-repeat;
    opacity: .7;
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--mw-card); color: var(--mw-primary); }
.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--mw-primary);
    color: #fff;
}
.woocommerce-MyAccount-navigation li.is-active a::before { opacity: 1; }

/* אייקונים לפי endpoint (SVG data-uri, נצבע ב-currentColor דרך mask) */
.mw-acc-item--dashboard a        { --mw-acc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E"); }
.mw-acc-item--orders a           { --mw-acc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
.mw-acc-item--downloads a        { --mw-acc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E"); }
.mw-acc-item--edit-address a     { --mw-acc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.mw-acc-item--edit-account a     { --mw-acc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.mw-acc-item--customer-logout a  { --mw-acc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }

/* אזור התוכן */
.woocommerce-MyAccount-content {
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: calc(var(--mw-radius) + 4px);
    padding: 28px;
    min-height: 300px;
}
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--mw-primary); font-weight: 600; }

/* טבלת הזמנות */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}
.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 13px 10px;
    text-align: start;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
}
.woocommerce-orders-table thead th { font-size: 12px; color: #6B7280; font-weight: 700; }
.woocommerce-orders-table .button {
    padding: 7px 16px;
    border-radius: 99px;
    background: var(--mw-btn, var(--mw-primary));
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

/* טפסים (כתובת / פרטי חשבון / התחברות) */
.woocommerce-account form .form-row { margin-bottom: 14px; display: grid; gap: 5px; }
.woocommerce-account form label { font-size: 13.5px; font-weight: 600; }
.woocommerce-account form .input-text,
.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form input[type="password"],
.woocommerce-account form select {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #D1D5DB;
    border-radius: 99px;
    background: #F9FAFB;
    font-family: var(--mw-font);
    font-size: 15px;
}
.woocommerce-account form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 18px;
    background: #F9FAFB;
    font-family: var(--mw-font);
}
.woocommerce-account form .input-text:focus,
.woocommerce-account form select:focus {
    outline: none;
    border-color: var(--mw-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mw-primary) 16%, transparent);
    background: var(--mw-bg);
}
.woocommerce-account .button,
.woocommerce-account button[type="submit"] {
    padding: 13px 30px;
    background: var(--mw-btn, var(--mw-primary));
    color: #fff;
    border: none;
    border-radius: 99px;
    font-family: var(--mw-font);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .15s;
}
.woocommerce-account .button:hover { filter: brightness(1.08); }

/* עמוד התחברות / הרשמה (לא מחוברים) - כרטיסים ממורכזים */
.woocommerce-account:not(.logged-in) .woocommerce {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 820px;
    margin-inline: auto;
}
.woocommerce-account:not(.logged-in) .woocommerce > .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce > .u-column2,
.woocommerce-account:not(.logged-in) #customer_login > div {
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: calc(var(--mw-radius) + 4px);
    padding: 30px;
}
.woocommerce-account #customer_login { display: contents; }
.woocommerce-account h2 { font-size: 20px; font-weight: 800; margin: 0 0 18px; }

@media (max-width: 900px) {
    .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
    .woocommerce-MyAccount-navigation { position: static; }
    .mw-account-hero { flex-wrap: wrap; }
    .mw-account-hero__stats { margin-inline-start: 0; width: 100%; }
    .woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   תשלום מבוסס-בלוקים (Checkout Block) - התאמה לעיצוב התבנית
   (חל כשעמוד התשלום בנוי מהבלוק החדש ולא מהשורטקוד הקלאסי)
   ========================================================== */
.wc-block-checkout { font-family: var(--mw-font); }

/* כרטיסי הטופס והסיכום */
.wc-block-checkout__main > .wc-block-components-checkout-step,
.wc-block-checkout__sidebar {
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: var(--mw-radius);
}
.wc-block-checkout__sidebar {
    padding: 20px 22px;
    background: var(--mw-card);
}
.wc-block-components-checkout-step {
    padding: 20px 22px;
    margin-bottom: 16px;
}
.wc-block-components-checkout-step__title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--mw-text) !important;
}

/* שדות בסגנון גלולה */
.wc-block-components-text-input input,
.wc-block-components-text-input .components-form-token-field__input,
.wc-block-checkout select,
.wc-block-components-select .components-custom-select-control__button {
    border: 1px solid #D1D5DB !important;
    border-radius: 99px !important;
    background: #F9FAFB !important;
    height: 48px !important;
    font-family: var(--mw-font) !important;
    padding-inline: 16px !important;
}
.wc-block-components-text-input textarea { border-radius: 18px !important; background: #F9FAFB !important; }
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus {
    border-color: var(--mw-primary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mw-primary) 16%, transparent) !important;
}
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus + label { color: var(--mw-primary) !important; }

/* כפתור "בצע הזמנה" */
.wc-block-components-checkout-place-order-button {
    background: var(--mw-btn, var(--mw-primary)) !important;
    border-radius: 99px !important;
    font-family: var(--mw-font) !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 15px !important;
}
.wc-block-components-checkout-place-order-button:hover { filter: brightness(1.08); }

/* סיכום ההזמנה */
.wc-block-components-order-summary-item__image img { border-radius: 10px; }
.wc-block-components-totals-item__value { font-weight: 700; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 18px;
    font-weight: 800;
    color: var(--mw-text);
}

/* אמצעי תשלום */
.wc-block-components-radio-control__option {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 8px;
    padding: 12px 14px;
}
.wc-block-components-radio-control__option--checked {
    border-color: var(--mw-primary);
    background: color-mix(in srgb, var(--mw-primary) 5%, transparent);
}

/* צבע הקישורים והאקסנטים של הבלוק לצבע הראשי של התבנית */
.wc-block-checkout,
.wc-block-components-form {
    --wc-blocks-active: var(--mw-primary);
}
.wc-block-checkout a { color: var(--mw-primary); }

@media (max-width: 768px) {
    .wc-block-checkout__sidebar { padding: 16px; }
}

/* טופס תשלום קומפקטי: פחות רווח אנכי בין שדות */
.woocommerce-checkout .form-row { margin-bottom: 12px; }
.woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading { margin-block: 0 14px; }
@media (max-width: 600px) {
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
    .woocommerce-billing-fields__field-wrapper .form-row-half { grid-column: 1 / -1; }
}

/* אייקון על כפתור הקנייה */
.mw-buy-btn__ico { display: inline-flex; margin-inline-end: 7px; }
.mw-buy-btn__ico svg { display: block; }
.mw-buy-btn.is-loading .mw-buy-btn__ico { opacity: 0; }

/* וריאנטים לכפתור "לכל..." בסטריפ */
.mw-home-strip__btn { display: inline-flex; align-items: center; gap: 8px; }
.mw-home-strip__btn--primary { background: var(--mw-btn, var(--mw-primary)); color: #fff; }
.mw-home-strip__btn--outline {
    background: transparent;
    color: var(--mw-primary);
    border: 2px solid var(--mw-primary);
}
.mw-home-strip__btn--ghost {
    background: transparent;
    color: var(--mw-text);
    border: none;
}
.mw-home-strip__btn--ghost:hover { color: var(--mw-primary); }
.mw-home-strip__btnico { display: block; }

/* ==========================================================
   כרטיס מוצר בסגנון "וירטואל שופס"
   תמונה על רקע אפרפר, תגית לוגו מותג, מחיר צבעוני מול כפתור עגול,
   ותיאור קצר שמופיע בריחוף על התמונה
   ========================================================== */
.mw-card__price { color: var(--mw-card-price-c, inherit); }

.mw-card--vs {
    text-align: center;
    align-items: center;
    border-radius: 22px;
    padding: 12px 12px 16px;
}

.mw-card--vs .mw-card__imgbox {
    position: relative;
    display: block;
    width: 100%;
    background: #F4F5F7;
    border-radius: 18px;
    padding: 20px 16px 34px;
    overflow: hidden;
}
.mw-card--vs .mw-card__imgbox img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* תיאור קצר בריחוף - מכסה את התמונה בעדינות */
.mw-card__hoverinfo {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(255, 255, 255, .94);
    color: var(--mw-text);
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
    border-radius: 18px;
}
.mw-card--vs:hover .mw-card__hoverinfo { opacity: 1; }

/* תגית לוגו המותג - גלולה לבנה "צפה" על תחתית התמונה */
.mw-card__brand {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    max-width: 80%;
    min-height: 42px;
    padding: 7px 22px;
    background: #FFFFFF;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .10);
    margin-top: -24px;
    text-decoration: none;
}
.mw-card__brand img {
    max-height: 26px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.mw-card__brandname {
    font-size: 14px;
    font-weight: 800;
    color: var(--mw-secondary);
    letter-spacing: .04em;
    white-space: nowrap;
}

.mw-card--vs .mw-card__title { margin: 10px 0 4px; }
.mw-card__variation--vs { align-self: center; }

/* שורה תחתונה: מחיר (ימין) מול כפתור עגול (שמאל) */
.mw-card--vs .mw-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
}
.mw-card--vs .mw-card__price {
    color: var(--mw-card-price-c, #E02020);
    font-size: 21px;
    margin-bottom: 0;
}
.mw-card__actions--vs { display: flex; align-items: center; gap: 8px; }

/* כפתור העגלה העגול */
.mw-buy-btn.mw-buy-circle {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    background: var(--mw-card-circle-bg, var(--mw-primary));
    color: var(--mw-card-circle-c, #FFFFFF);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
}
.mw-buy-circle .mw-buy-btn__ico { display: flex; margin: 0; }
.mw-buy-circle.is-added { background: var(--mw-success); color: #fff; }
.mw-buy-circle--link { background: var(--mw-secondary); color: #fff; }

@media (max-width: 640px) {
    .mw-card--vs .mw-card__price { font-size: 17px; }
    .mw-buy-btn.mw-buy-circle { width: 44px; height: 44px; }
    .mw-card__brand { min-height: 36px; min-width: 90px; padding: 5px 16px; }
    .mw-card__brand img { max-height: 20px; }
}

/* סקשן של התבנית בתוך אלמנטור - הרוחב נשלט על ידי המקטע של אלמנטור */
.mw-home-embed { width: 100%; }

/* ווידג'ט חיפוש באלמנטור - הטופס ממלא את העטיפה */
.mw-searchbar-embed { width: 100%; }
.mw-searchbar-embed .mw-searchbar { max-width: 100%; width: 100%; }

/* ==========================================================
   רשימת משאלות + השוואה
   ========================================================== */
.mw-card { position: relative; }

/* כפתורי לב/השוואה צפים על הכרטיס */
.mw-card__fabs {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mw-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--mw-secondary);
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
    transition: transform .15s, color .15s;
}
.mw-fab:hover { transform: scale(1.08); }
.mw-fab.is-active { color: #E02020; }
.mw-fab.is-active svg { fill: currentColor; }
.mw-fab.is-pop { animation: mw-pop .35s ease; }
@keyframes mw-pop { 50% { transform: scale(1.35); } }

/* אייקון בהדר עם בועת מונה */
.mw-listlink {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--mw-header-text, var(--mw-text));
    padding: 6px;
    text-decoration: none;
}

/* כפתורים בעמוד מוצר */
.mw-product-listbtns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}
.mw-listbtn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 99px;
    background: var(--mw-bg);
    color: var(--mw-text);
    font-family: var(--mw-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}
.mw-listbtn:hover { border-color: var(--mw-primary); color: var(--mw-primary); }
.mw-listbtn.is-active { color: #E02020; border-color: #E02020; }
.mw-listbtn.is-active svg { fill: currentColor; }
.mw-listbtn__on { display: none; }
.mw-listbtn.is-active .mw-listbtn__on { display: inline; }
.mw-listbtn.is-active .mw-listbtn__off { display: none; }
.mw-listbtn--go { border-style: dashed; }

/* עמוד הרשימה */
.mw-listpage-wrap { padding-block: 28px 48px; }
.mw-listpage__loading,
.mw-listpage__empty {
    text-align: center;
    padding: 48px 16px;
    color: #6B7280;
}
.mw-listpage__empty p { margin-bottom: 18px; font-size: 17px; }

/* טבלת השוואה */
.mw-compare-scroll { overflow-x: auto; }
.mw-compare {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: var(--mw-bg);
}
.mw-compare th,
.mw-compare td {
    border: 1px solid #E5E7EB;
    padding: 12px 14px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}
.mw-compare th {
    background: var(--mw-card);
    font-weight: 700;
    text-align: start;
    width: 140px;
    white-space: nowrap;
}
.mw-compare__prod { position: relative; padding-top: 20px; }
.mw-compare__remove {
    position: absolute;
    top: 6px;
    inset-inline-end: 8px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: var(--mw-card);
    color: #6B7280;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.mw-compare__remove:hover { background: #FEE2E2; color: #DC2626; }
.mw-compare__img img { width: 110px; height: 110px; object-fit: contain; margin-inline: auto; }
.mw-compare__name {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--mw-text);
    text-decoration: none;
}
.mw-compare__name:hover { color: var(--mw-primary); }
.mw-compare__price { font-weight: 800; }
.mw-compare__in { color: var(--mw-success); font-weight: 600; }
.mw-compare__out { color: #DC2626; font-weight: 600; }
.mw-compare__buy { width: auto; margin-inline: auto; padding: 9px 18px; font-size: 13px; }

/* ==========================================================
   הצעות בעגלה הצדדית ("אולי יתאים לך גם")
   ========================================================== */
.mw-drawer-upsell {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #E5E7EB;
}
.mw-drawer-upsell__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.mw-drawer-upsell__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
}
.mw-drawer-upsell__img { flex-shrink: 0; }
.mw-drawer-upsell__img img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--mw-card);
}
.mw-drawer-upsell__info { flex: 1; min-width: 0; }
.mw-drawer-upsell__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mw-text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mw-drawer-upsell__name:hover { color: var(--mw-primary); }
.mw-drawer-upsell__price { font-size: 13px; font-weight: 700; }
.mw-drawer-upsell__price del { font-weight: 400; color: #9CA3AF; margin-inline-end: 4px; }
/* הכפתור בקצה השורה (שמאל ב-RTL) - סטטי, לא צף על שום טקסט */
.mw-drawer-upsell__media { flex-shrink: 0; display: block; }
.mw-buy-btn.mw-drawer-upsell__add {
    position: static;
    flex: 0 0 auto;
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    z-index: 2;
}
.mw-buy-btn.mw-drawer-upsell__add .mw-buy-btn__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 0;
}
.mw-buy-btn.mw-drawer-upsell__add svg { width: 13px; height: 13px; display: block; }
.mw-drawer-upsell__add--link { background: var(--mw-secondary); }
/* שם המוצר - שיהיה ברור שהוא לחיץ */
.mw-drawer-upsell__name { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .15s, color .15s; }
.mw-drawer-upsell__name:hover { text-decoration-color: currentColor; }

/* ==========================================================
   שדרוגי 3.9: אייקונים צפים בשליטה מלאה, הצעות בעגלה במסגרת,
   סרגל משלוח חינם, סטריפ בעמוד מוצר
   ========================================================== */

/* אייקונים צפים - צבעים מ-Studio + מיקום + אייקון מותאם */
.mw-fab {
    background: var(--mw-fab-bg, #FFFFFF);
    color: var(--mw-fab-c, var(--mw-secondary));
}
.mw-fab.is-active { color: var(--mw-fab-active, #E02020); }
.mw-fab img { width: 20px; height: 20px; object-fit: contain; }
.mw-card__fabs--end {
    inset-inline-start: auto;
    inset-inline-end: 14px;
}

/* הצעות בעגלה - מסגרת מעוגלת + פריטים קומפקטיים */
.mw-drawer-upsell {
    background: var(--mw-card);
    border-top: none;
    border-radius: 16px;
    padding: 12px 14px;
    margin-top: 16px;
}
.mw-drawer-upsell__title { font-size: 13px; margin-bottom: 6px; }
.mw-drawer-upsell__item { padding: 5px 0; gap: 8px; }
.mw-drawer-upsell__img img { width: 40px; height: 40px; border-radius: 8px; background: var(--mw-bg); }
.mw-drawer-upsell__name { font-size: 12px; }
.mw-drawer-upsell__price { font-size: 12px; }
.mw-buy-btn.mw-drawer-upsell__add { width: 30px; height: 30px; }
.mw-drawer-upsell__add svg { width: 14px; height: 14px; }

/* סרגל התקדמות למשלוח חינם */
.mw-freeship {
    background: var(--mw-card);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.mw-freeship__text {
    font-size: 13px;
    margin-bottom: 8px;
    text-align: center;
}
.mw-freeship__text .woocommerce-Price-amount { font-weight: 800; }
.mw-freeship__bar {
    height: 8px;
    border-radius: 99px;
    background: #E5E7EB;
    overflow: hidden;
}
.mw-freeship__bar span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--mw-freeship-c, var(--mw-primary));
    transition: width .5s ease;
}
.mw-freeship--done .mw-freeship__text { font-weight: 700; color: var(--mw-success); }
.mw-freeship--done .mw-freeship__bar span { background: var(--mw-success); }

/* סטריפ מוצרים בתוך עמוד מוצר (מוצרים דומים/אפסלים) */
.single-product .mw-home-strip { margin-top: 40px; }

/* ==========================================================
   כרטיס מוצר "יוקרתי": מחיר מבצע + SHOP NOW + כפתור-אייקון מרובע
   ========================================================== */
.mw-card--lux { text-align: center; }
.mw-card--lux .mw-card__img img { mix-blend-mode: multiply; }

.mw-card--lux .mw-card__pricebox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 6px 0 12px;
}
.mw-card--lux .mw-card__pricebox--plain { justify-content: center; }
.mw-card--lux .mw-card__pricebox .mw-card__price { margin-bottom: 0; }
.mw-card__sale {
    font-size: 14px;
    color: var(--mw-card-price-c, #E6A817);
}
.mw-card__sale b { font-size: 19px; font-weight: 800; }
.mw-card__sale .woocommerce-Price-amount { color: var(--mw-card-price-c, #E6A817); }
.mw-card__old {
    color: #9CA3AF;
    font-size: 14px;
}

.mw-lux-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
}
.mw-buy-btn.mw-lux-add {
    flex: 0 0 auto;
    width: 52px;
    height: 48px;
    padding: 0;
    border-radius: 8px;
    background: var(--mw-card-circle-bg, var(--mw-secondary));
    color: var(--mw-card-circle-c, #FFFFFF);
}
.mw-lux-add--link { background: var(--mw-secondary); }
.mw-lux-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1.6px solid var(--mw-secondary);
    border-radius: 8px;
    color: var(--mw-secondary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .05em;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.mw-lux-btn:hover { background: var(--mw-secondary); color: #fff; }

/* בועת "כמה מהמוצר בסל" על כפתור הקנייה */
.mw-buy-count {
    position: absolute;
    top: -8px;
    inset-inline-start: -8px;
    min-width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--mw-secondary);
    font-size: 12px;
    font-weight: 800;
    border-radius: 99px;
    padding-inline: 5px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .22);
    pointer-events: none;
}

/* תעופת המוצר אל העגלה */
.mw-fly-img {
    position: fixed;
    z-index: 9999;
    object-fit: contain;
    border-radius: 12px;
    pointer-events: none;
    opacity: .95;
    transition: all .7s cubic-bezier(.45, .1, .55, .95);
}
.mw-cart-bump { animation: mw-cart-bump .45s ease; }
@keyframes mw-cart-bump {
    30% { transform: scale(1.3); }
    60% { transform: scale(.92); }
}

/* ==========================================================
   פאנל "מבצעי קופה" - טור מוצרים שנפתח ליד העגלה הצדדית
   ========================================================== */
.mw-deals {
    position: fixed;
    top: 0;
    inset-inline-end: calc(min(400px, 92vw) + 10px);
    width: 264px;
    height: 100dvh;
    background: var(--mw-card);
    z-index: 201;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(calc(14px * var(--mw-dir2, 1)));
    transition: opacity .3s ease, transform .3s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, .12);
}
html[dir="rtl"] .mw-deals { --mw-dir2: -1; }
.mw-deals.is-open { opacity: 1; transform: translateX(0); }

.mw-deals__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    flex-shrink: 0;
}
.mw-deals__title { font-size: 16px; font-weight: 800; }
.mw-deals__close {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--mw-bg);
    color: var(--mw-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.mw-deals__items {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mw-deals__card {
    background: var(--mw-bg);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    flex-shrink: 0;
}
.mw-deals__img { display: block; }
.mw-deals__img img {
    width: 100%;
    max-height: 130px;
    object-fit: contain;
}
.mw-deals__name {
    display: block;
    margin: 8px 0 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--mw-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mw-deals__name:hover { color: var(--mw-primary); }
.mw-deals__actions {
    flex-direction: column;
    gap: 6px;
}
.mw-deals__actions .mw-qty { justify-content: center; }
.mw-deals__price { font-weight: 800; font-size: 15px; }
.mw-deals__price del { font-weight: 400; font-size: 12px; color: #9CA3AF; margin-inline-end: 4px; }
.mw-buy-btn.mw-deals__buy { width: 100%; padding: 9px; font-size: 13px; }

/* במסכים צרים אין מקום לטור נוסף - ההצעות שבתוך העגלה מכסות */
@media (max-width: 900px) {
    .mw-deals { display: none; }
}

/* אייקוני אמון מובנים (SVG) בעמוד מוצר */
.mw-trust__item svg { color: var(--mw-primary); flex-shrink: 0; }

/* ==========================================================
   תיקון: כרטיסי מוצר בתוך עמוד מוצר (סטריפ דומים/אפסלים)
   לכל כרטיס יש class "product" ולכן גריד העמוד (גלריה|פרטים)
   נדבק גם אליו ומפרק את הכרטיס - מחזירים אותו לעמודה רגילה
   ========================================================== */
.single-product div.product.mw-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}
.single-product div.product.mw-card--vs { align-items: center; }
.single-product div.product.mw-card--lux { align-items: stretch; }

/* הסטריפים עצמם הם ילדי הגריד של העמוד - שיתפסו את כל הרוחב */
.single-product div.product > .mw-home-strip { grid-column: 1 / -1; }

/* טאבים גלובליים בעמוד מוצר */
.mw-global-tab { max-width: 820px; line-height: 1.8; }

/* פרטי קשר בפוטר עם אייקונים */
.mw-flist--contact li {
    display: flex;
    align-items: center;
    gap: 9px;
}
.mw-flist--contact li svg { flex-shrink: 0; opacity: .85; }

/* ==========================================================
   קמפיינים: מספר קבוע בשורה (3/4/5) - נמתחים למלוא הרוחב, רספונסיבי
   ========================================================== */
.mw-home-campaigns--cols .mw-home-campaigns__row {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(var(--mw-camp-cols, 4), minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
}
@media (max-width: 900px) {
    .mw-home-campaigns--cols .mw-home-campaigns__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================
   קטגוריות: מצב "הכלה" (כל התמונה בלי חיתוך) ומצב נקי (בלי מסגרת/צל)
   ========================================================== */
.mw-home-cats--contain .mw-home-cat__img img {
    object-fit: contain;
    padding: 8%;
}
.mw-home-cats--plain .mw-home-cat__img {
    border: none;
    background: transparent;
}
.mw-home-cats--plain .mw-home-cat:hover .mw-home-cat__img {
    box-shadow: none;
}
.mw-home-cats--plain.mw-home-cats--contain .mw-home-cat__img img { padding: 0; }

/* ==========================================================
   מרכז המידע (בלוג): רשת כרטיסי מאמרים
   ========================================================== */
.mw-blog { padding-block: 28px 48px; }
.mw-blog__head { text-align: center; margin-bottom: 28px; }
.mw-blog__title { font-size: 32px; font-weight: 800; margin: 0; }
.mw-blog__sub { color: #6B7280; margin: 6px 0 0; }
.mw-blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.mw-blog__empty { text-align: center; color: #6B7280; padding: 40px 0; }

.mw-bcard {
    display: flex;
    flex-direction: column;
    background: var(--mw-bg);
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow .15s, transform .15s;
}
.mw-bcard:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .09); transform: translateY(-3px); }
.mw-bcard__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: var(--mw-card);
    overflow: hidden;
}
.mw-bcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mw-bcard__noimg { font-size: 40px; opacity: .5; }
.mw-bcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.mw-bcard__meta { display: flex; gap: 10px; font-size: 12px; color: #6B7280; }
.mw-bcard__cat { color: var(--mw-primary); font-weight: 600; }
.mw-bcard__title { margin: 0; font-size: 18px; line-height: 1.4; }
.mw-bcard__title a { color: var(--mw-text); text-decoration: none; }
.mw-bcard__title a:hover { color: var(--mw-primary); }
.mw-bcard__excerpt { font-size: 14px; line-height: 1.6; color: #4B5563; flex: 1; }
.mw-bcard__more { font-size: 13px; font-weight: 700; color: var(--mw-primary); text-decoration: none; }

/* עימוד */
.mw-blog .pagination, .mw-blog .nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.mw-blog .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding-inline: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    color: var(--mw-text);
    text-decoration: none;
    font-weight: 600;
}
.mw-blog .page-numbers.current { background: var(--mw-primary); color: #fff; border-color: var(--mw-primary); }

/* ==========================================================
   עמוד מאמר
   ========================================================== */
.mw-article-wrap { padding-block: 28px 48px; }
.mw-article { max-width: 820px; margin-inline: auto; }
.mw-article__back { font-size: 13px; font-weight: 600; color: #6B7280; text-decoration: none; }
.mw-article__back:hover { color: var(--mw-primary); }
.mw-article__title { font-size: 34px; font-weight: 800; line-height: 1.25; margin: 10px 0 8px; }
.mw-article__meta { display: flex; gap: 12px; font-size: 13px; color: #6B7280; margin-bottom: 18px; }
.mw-article__meta a { color: var(--mw-primary); text-decoration: none; font-weight: 600; }
.mw-article__thumb img { width: 100%; border-radius: 18px; }
.mw-article__content { margin-top: 22px; font-size: 17px; line-height: 1.85; }
.mw-article__content h2 { margin: 28px 0 10px; }
.mw-article__content h3 { margin: 22px 0 8px; }
.mw-article__content img { border-radius: 14px; max-width: 100%; height: auto; }
.mw-article__content ul, .mw-article__content ol { padding-inline-start: 22px; margin: 12px 0; }

/* עיצוב עם טור מוצרים דביק בצד */
.mw-article-wrap--sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}
.mw-article-wrap--sidebar .mw-article { max-width: none; margin-inline: 0; }
.mw-article-aside__inner {
    position: sticky;
    top: 90px;
    background: var(--mw-card);
    border-radius: 16px;
    padding: 16px;
}
.mw-article-aside__title { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.mw-article-aside .mw-drawer-upsell__img img { background: var(--mw-bg); }
@media (max-width: 900px) {
    .mw-article-wrap--sidebar { grid-template-columns: minmax(0, 1fr); }
    .mw-article-aside__inner { position: static; }
}

/* ==========================================================
   עמוד אודות - שלושה עיצובים
   ========================================================== */
.mw-about { padding-block: 32px 48px; }
.mw-about__title { font-size: 32px; font-weight: 800; margin: 0 0 16px; }
.mw-about__content { font-size: 17px; line-height: 1.9; }

.mw-about-hero { position: relative; }
.mw-about-hero__img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.mw-about-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(17, 24, 39, .25), rgba(17, 24, 39, .45));
}
.mw-about-hero__title { color: #fff; font-size: 40px; font-weight: 800; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.mw-about--hero { max-width: min(var(--mw-container), 860px); }
.mw-about--hero .mw-about__content { text-align: center; }

.mw-about--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.mw-about__media img { width: 100%; border-radius: 22px; }
@media (max-width: 800px) {
    .mw-about--split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .mw-about-hero__title { font-size: 28px; }
}

/* ==========================================================
   שאלות ותשובות - אקורדיון (טור אחד או שניים)
   ========================================================== */
.mw-faq { padding-block: 8px 32px; }
.mw-faq__title { margin-bottom: 18px; }
.mw-faq__list { display: flex; flex-direction: column; gap: 10px; }
.mw-faq--cols2 .mw-faq__list {
    display: block;
    column-count: 2;
    column-gap: 14px;
}
.mw-faq--cols2 .mw-faq__item { break-inside: avoid; margin-bottom: 10px; }

.mw-faq__item {
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .15s;
}
.mw-faq__item[open] { box-shadow: 0 6px 18px rgba(0, 0, 0, .07); background: var(--mw-bg); }
.mw-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 18px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.mw-faq__q::-webkit-details-marker { display: none; }
.mw-faq__q:hover { color: var(--mw-primary); }
.mw-faq__chev { flex-shrink: 0; transition: transform .25s ease; color: var(--mw-primary); }
.mw-faq__item[open] .mw-faq__chev { transform: rotate(180deg); }
.mw-faq__a {
    padding: 0 18px 16px;
    font-size: 14px;
    line-height: 1.75;
    color: #4B5563;
    animation: mw-faq-in .25s ease;
}
.mw-faq__a p { margin: 0 0 8px; }
@keyframes mw-faq-in { from { opacity: 0; transform: translateY(-4px); } }

@media (max-width: 700px) {
    .mw-faq--cols2 .mw-faq__list { column-count: 1; }
}

/* עמוד שאלות ותשובות */
.mw-faqpage { padding-block: 28px 0; text-align: center; }
.mw-faqpage__intro { max-width: 640px; margin: 8px auto 0; color: #4B5563; }

/* ==========================================================
   עמוד צור קשר
   ========================================================== */
.mw-contactpage { padding-block: 28px 48px; }
.mw-contactpage__head { text-align: center; margin-bottom: 28px; }
.mw-contactpage__intro { max-width: 640px; margin: 8px auto 0; color: #4B5563; }

.mw-contactpage__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: start;
}

.mw-contactpage__cards { display: flex; flex-direction: column; gap: 12px; }
.mw-ccard {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--mw-card);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--mw-text);
    transition: box-shadow .15s, transform .15s, border-color .15s;
}
a.mw-ccard:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); border-color: var(--mw-primary); }
.mw-ccard__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mw-bg);
    color: var(--mw-primary);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}
.mw-ccard__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mw-ccard__txt strong { font-size: 13px; color: #6B7280; font-weight: 600; }
.mw-ccard__txt span { font-weight: 700; overflow-wrap: anywhere; }

.mw-contactform-wrap {
    background: var(--mw-card);
    border-radius: 20px;
    padding: 26px 28px;
}
.mw-contactform__title { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.mw-contactform { display: flex; flex-direction: column; gap: 12px; }
.mw-contactform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mw-contactform input,
.mw-contactform textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: var(--mw-bg);
    font-family: var(--mw-font);
    font-size: 14px;
    resize: vertical;
}
.mw-contactform input:focus,
.mw-contactform textarea:focus { outline: none; border-color: var(--mw-primary); }
.mw-contactform__submit { align-self: flex-start; padding-inline: 34px; }
.mw-contactform__ok {
    text-align: center;
    padding: 40px 16px;
    font-size: 17px;
}
.mw-contactform__ok strong { display: block; font-size: 22px; color: var(--mw-success); margin-bottom: 8px; }
.mw-contactform__err {
    background: #FEF2F2;
    color: #B91C1C;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
}

.mw-contactpage__map { margin-top: 32px; }
.mw-contactpage__map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 20px;
    display: block;
}

@media (max-width: 800px) {
    .mw-contactpage__grid { grid-template-columns: minmax(0, 1fr); }
    .mw-contactform__row { grid-template-columns: minmax(0, 1fr); }
}

/* סקשן ביקורות (Trustindex וכדומה) */
.mw-reviews { padding-block: 8px 24px; }
.mw-reviews__embed { min-height: 120px; }

/* ==========================================================
   נגישות (ת"י 5568): קישור דילוג, פוקוס ברור, ווידג'ט ומצבים
   ========================================================== */
.mw-skip {
    position: fixed;
    top: -60px;
    inset-inline-start: 12px;
    z-index: 10000;
    background: var(--mw-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    font-weight: 700;
    transition: top .2s;
}
.mw-skip:focus { top: 0; }

/* פוקוס מקלדת ברור בכל האתר */
:focus-visible {
    outline: 3px solid var(--mw-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* הכפתור הצף */
.mw-a11y {
    position: fixed;
    bottom: 18px;
    inset-inline-start: 18px;
    z-index: 950;
}
.mw-a11y--end { inset-inline-start: auto; inset-inline-end: 18px; }
.mw-a11y__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1D4ED8;
    color: #fff;
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.mw-a11y__panel {
    position: absolute;
    bottom: 58px;
    inset-inline-start: 0;
    width: 230px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mw-a11y--end .mw-a11y__panel { inset-inline-start: auto; inset-inline-end: 0; }
/* display:flex למעלה דורס את hidden של הדפדפן - מחזירים את ההסתרה */
.mw-a11y__panel[hidden] { display: none; }
.mw-a11y__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px 8px;
    font-size: 14px;
}
.mw-a11y__close {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #F1F5F9;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.mw-a11y__opt, .mw-a11y__reset {
    text-align: start;
    padding: 9px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #fff;
    font-family: var(--mw-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #1F2937;
}
.mw-a11y__opt:hover { border-color: #1D4ED8; }
.mw-a11y__opt.is-active { background: #1D4ED8; color: #fff; border-color: #1D4ED8; }
.mw-a11y__reset { background: #F8FAFC; text-align: center; }
.mw-a11y__statement {
    text-align: center;
    font-size: 12px;
    color: #1D4ED8;
    padding-top: 4px;
}

/* מצבי הנגישות (על <html>) */
html.mw-a11y-fs1 { font-size: 112%; }
html.mw-a11y-fs2 { font-size: 125%; }
/* חשוב: אסור filter על body/html - זה שובר כל position:fixed בדף
   (העגלה הצדדית מפסיקה להיות דביקה) וגורם לאיטיות קשה.
   הפילטר מוחל על כל אזור פריסה בנפרד - קבועים נשארים קבועים */
html.mw-a11y-contrast .mw-header,
html.mw-a11y-contrast .mw-main,
html.mw-a11y-contrast .mw-footer,
html.mw-a11y-contrast .mw-drawer,
html.mw-a11y-contrast .mw-deals,
html.mw-a11y-contrast .mw-cdrawer { filter: contrast(1.25); }
html.mw-a11y-grayscale .mw-header,
html.mw-a11y-grayscale .mw-main,
html.mw-a11y-grayscale .mw-footer,
html.mw-a11y-grayscale .mw-drawer,
html.mw-a11y-grayscale .mw-deals,
html.mw-a11y-grayscale .mw-cdrawer { filter: grayscale(1); }
html.mw-a11y-contrast.mw-a11y-grayscale .mw-header,
html.mw-a11y-contrast.mw-a11y-grayscale .mw-main,
html.mw-a11y-contrast.mw-a11y-grayscale .mw-footer,
html.mw-a11y-contrast.mw-a11y-grayscale .mw-drawer,
html.mw-a11y-contrast.mw-a11y-grayscale .mw-deals,
html.mw-a11y-contrast.mw-a11y-grayscale .mw-cdrawer { filter: grayscale(1) contrast(1.25); }
html.mw-a11y-links a { text-decoration: underline !important; font-weight: 700 !important; }
html.mw-a11y-font body, html.mw-a11y-font body * { font-family: Arial, sans-serif !important; }
html.mw-a11y-noanim *, html.mw-a11y-noanim *::before, html.mw-a11y-noanim *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   טפסים מובנים: יצירת קשר + רשימת תפוצה
   ========================================================== */
.mw-form--card {
    background: var(--mw-card);
    border-radius: 20px;
    padding: 24px 26px;
}
.mw-form__title { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.mw-form__hp { position: absolute; left: -9999px; }
.mw-ajaxform { display: flex; flex-direction: column; gap: 12px; }
.mw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mw-form__field { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.mw-form__field label { font-size: 13px; font-weight: 600; }
.mw-form__field input,
.mw-form__field textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    background: var(--mw-bg);
    font-family: var(--mw-font);
    font-size: 14px;
    resize: vertical;
}
.mw-form__field input:focus,
.mw-form__field textarea:focus { outline: none; border-color: var(--mw-primary); }
.mw-form__submit { align-self: flex-start; padding-inline: 32px; }
.mw-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #6B7280;
    cursor: pointer;
}
.mw-form__consent input { margin-top: 2px; }
.mw-form__status { font-size: 14px; font-weight: 600; min-height: 1em; }
.mw-form__status.is-ok { color: var(--mw-success); }
.mw-form__status.is-error { color: #DC2626; }

/* רשימת תפוצה בשורה אחת (שם | אימייל | כפתור) */
.mw-newsletter--row .mw-newsletter__fields {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 10px;
    align-items: end;
}
.mw-newsletter--column .mw-newsletter__fields { display: flex; flex-direction: column; gap: 10px; }
.mw-newsletter .mw-form__submit { align-self: stretch; }
@media (max-width: 640px) {
    .mw-form__row { grid-template-columns: minmax(0, 1fr); }
    .mw-newsletter--row .mw-newsletter__fields { grid-template-columns: minmax(0, 1fr); }
}

/* טקסט לקוראי מסך בלבד (סטנדרט וורדפרס) */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

/* כל סליידר שנתמך בגרירה מקבל סמן יד */
[data-mw-drag] { cursor: grab; }
[data-mw-drag].is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
    scroll-snap-type: none;
}

/* ==========================================================
   תיקוני בטיחות גלובליים
   ========================================================== */

/* hidden תמיד מנצח - שום display בכלל אחר לא ידרוס אותו
   (הבאג של פאנל הנגישות/מבצעי הקופה שנשארו גלויים) */
[hidden] { display: none !important; }

/* בלי גלילה צידית של העמוד - סקשנים ברוחב מלא (100vw) מוסיפים
   לפעמים רוחב של פס-גלילה; חוסמים את הגלישה ברמת העמוד */
html { overflow-x: clip; }
@supports not (overflow-x: clip) {
    html { overflow-x: hidden; }
}

/* ==========================================================
   תיקוני דוח לייטהאוס
   ========================================================== */

/* נקודות הבאנר: אזור מגע 25px (הנקודה עצמה נשארת קטנה ויזואלית) */
.mw-hero__dot {
    box-sizing: content-box;
    padding: 8px;
    background-clip: content-box;
}

/* ניגודיות: אפור בהיר מדי בטקסטים משניים - מוחלף באפור עמוק יותר (AA) */
.mw-card__price del,
.mw-card__old,
.mw-drawer-upsell__price del,
.mw-deals__price del,
.mw-compare__remove,
.mw-bcard__meta,
.mw-blog__sub { color: #6B7280; }

/* נעילת גלילה כשהעגלה פתוחה - על שורש העמוד:
   מאז ש-html קיבל overflow-x:clip, overflow:hidden על body לבדו
   כבר לא נועל את גלילת העמוד (כללי propagation של הדפדפן) */
html.mw-noscroll { overflow: hidden; }

/* ==========================================================
   התאמת מובייל לעמוד מוצר (התיקון המרכזי: minmax(0,1fr) למעלה -
   עמודת הגריד לא נמתחת יותר מעבר לרוחב המסך בגלל תוכן רחב)
   ========================================================== */
@media (max-width: 768px) {
    /* טבלת מפרט רחבה בתיאור (תוכן שנשאב) נגללת בתוך עצמה */
    .woocommerce-Tabs-panel { overflow-x: auto; }
    .woocommerce-Tabs-panel table { max-width: 100%; }

    /* התמונה הראשית בגובה טבעי - בלי קופסה ריבועית ריקה לתמונות רחבות */
    .single-product div.product .woocommerce-product-gallery__image {
        aspect-ratio: auto;
    }

    /* שם מוצר ארוך באנגלית לא מותח את העמוד */
    .single-product div.product .product_title { overflow-wrap: anywhere; }

    /* כפתורי הקנייה: כמות + הוספה לסל בשורה, קנה-עכשיו מתחת ברוחב מלא */
    .single-product div.product form.cart .single_add_to_cart_button {
        flex: 1 1 auto;
        min-width: 0;
    }
    .single-product div.product form.cart .mw-buynow-btn { flex-basis: 100%; }

    /* ההדר לא כופה רוחב: האזורים מתכווצים ולא מותחים את העמוד */
    .mw-header__inner { min-width: 0; }
    .mw-hzone { min-width: 0; }
}

/* גלריה במובייל: גובה מוגבל + סמן גרירה על התמונה הראשית */
.single-product div.product .woocommerce-product-gallery__wrapper {
    touch-action: pan-y; /* החלקה אופקית לתמונות, גלילה אנכית לעמוד */
}
.single-product div.product .woocommerce-product-gallery__image { cursor: grab; }
@media (max-width: 768px) {
    .single-product div.product .woocommerce-product-gallery__image img {
        max-height: 300px;
        width: auto;
        max-width: 100%;
    }
}

/* ==========================================================
   מיני-עגלה: נפתחת כפאנל מעוגל מתחת להדר (במקום עגלת צד)
   ========================================================== */
.mw-drawer--mini {
    top: 72px;
    inset-inline-end: 16px;
    width: min(380px, calc(100vw - 24px));
    height: auto;
    max-height: min(76vh, 640px);
    border-radius: 18px;
    transform: translateY(-14px) !important;
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}
.mw-drawer--mini.is-open {
    transform: translateY(0) !important;
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 640px) {
    .mw-drawer--mini {
        top: 62px;
        inset-inline: 12px;
        width: auto;
    }
}

/* פח ההסרה בעגלה */
.mw-drawer-item__remove {
    display: flex;
    align-items: center;
    font-size: 0;
}
.mw-drawer-item__remove svg { display: block; }

/* פח בפריטי סיכום ההזמנה */
.mw-review-remove svg { vertical-align: -2px; margin-inline-end: 3px; }

/* קישור "רוקן את העגלה" */
.mw-drawer__empty-link {
    background: none;
    border: none;
    font-family: var(--mw-font);
    font-size: 12px;
    color: #9CA3AF;
    text-decoration: underline;
    cursor: pointer;
    justify-self: center;
    padding: 2px;
}
.mw-drawer__empty-link:hover { color: #DC2626; }

/* ==========================================================
   "מבצעי קופה" בתוך העגלה (מיני-עגלה / מובייל):
   פס אופקי נגלל וקומפקטי מעל כפתור התשלום
   ========================================================== */
.mw-drawer__deals {
    flex-shrink: 0;
    border-top: 1px solid #F3F4F6;
    padding: 10px 16px 0;
}
.mw-drawer__deals-title {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}
.mw-drawer__deals .mw-deals__items {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 0 0 10px;
    scrollbar-width: none;
}
.mw-drawer__deals .mw-deals__items::-webkit-scrollbar { display: none; }
.mw-drawer__deals .mw-deals__card {
    flex: 0 0 148px;
    padding: 10px;
    background: var(--mw-card);
}
.mw-drawer__deals .mw-deals__img img { max-height: 76px; }
.mw-drawer__deals .mw-deals__name { font-size: 12px; margin: 6px 0 4px; }
.mw-drawer__deals .mw-deals__price { font-size: 13px; }
.mw-drawer__deals .mw-qty { display: none; } /* קומפקטי - הוספה של יחידה אחת */
.mw-drawer__deals .mw-buy-btn.mw-deals__buy { padding: 7px; font-size: 12px; }

/* ==========================================================
   תצוגה מהירה (Quick View)
   נפתחת מיידית מהכרטיס - הנתונים כבר בעמוד, בלי בקשת שרת
   ========================================================== */

/* ----- כפתור ההפעלה על הכרטיס ----- */
.mw-qv-trigger {
    position: absolute;
    top: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: none;
    border-radius: 999px;
    background: var(--mw-fab-bg, #fff);
    color: var(--mw-fab-c, var(--mw-secondary));
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    opacity: 0;
    transition: max-width .25s, opacity .2s, color .15s;
}
.mw-qv-trigger svg { flex: 0 0 auto; }
.mw-qv-trigger__text { font-size: 13px; font-weight: 600; }

/* יושב תמיד בפינה הנגדית לאייקוני הלב/השוואה (הצד נקבע ב-PHP לפי mw_fab_pos) */
.mw-qv-trigger--end   { inset-inline-end: 14px; }
.mw-qv-trigger--start { inset-inline-start: 14px; }

.mw-card:hover .mw-qv-trigger,
.mw-qv-trigger:focus-visible { opacity: 1; }
.mw-qv-trigger:hover,
.mw-qv-trigger:focus-visible { max-width: 160px; color: var(--mw-primary); }

/* במגע אין ריחוף - הכפתור פשוט גלוי, בלי הטקסט */
@media (hover: none) {
    .mw-qv-trigger { opacity: 1; }
}

/* ----- שכבת הפופאפ ----- */
.mw-qv[hidden] { display: none; }
.mw-qv {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mw-qv__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .55);
    opacity: 0;
    transition: opacity .2s;
}
.mw-qv.is-open .mw-qv__overlay { opacity: 1; }

.mw-qv__box {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    width: min(940px, 100%);
    max-height: min(88dvh, 720px);
    padding: 28px;
    border-radius: var(--mw-radius);
    background: var(--mw-bg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
    overflow-y: auto;
    transform: translateY(12px) scale(.98);
    opacity: 0;
    transition: transform .22s cubic-bezier(.25, .8, .3, 1), opacity .22s;
}
.mw-qv.is-open .mw-qv__box { transform: none; opacity: 1; }

.mw-qv__close {
    position: absolute;
    top: 10px;
    inset-inline-end: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--mw-card);
    color: var(--mw-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s;
}
.mw-qv__close:hover { background: var(--mw-primary); color: #fff; }

/* ----- תמונה ----- */
.mw-qv__media { align-self: start; }
.mw-qv__img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--mw-radius);
    background: var(--mw-card);
}

/* ----- פרטים ----- */
.mw-qv__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.mw-qv__badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--mw-card);
    font-size: 13px;
    font-weight: 700;
    color: var(--mw-secondary);
}
.mw-qv__badge[hidden] { display: none; }

.mw-qv__title {
    margin: 0;
    padding-inline-end: 44px;
    font-size: 24px;
    line-height: 1.25;
    color: var(--mw-secondary);
}
.mw-qv__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--mw-card-price-c, var(--mw-text));
}
.mw-qv__price del { opacity: .5; font-weight: 500; font-size: 17px; margin-inline-end: 8px; }
.mw-qv__price ins { text-decoration: none; }

.mw-qv__desc { font-size: 15px; line-height: 1.65; }
.mw-qv__desc p { margin: 0 0 8px; }
.mw-qv__desc :last-child { margin-bottom: 0; }

/* ----- בורר וריאציות ----- */
.mw-qv__vars[hidden] { display: none; }
.mw-qv__vars-label { margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.mw-qv__vars-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-qv__var {
    padding: 9px 16px;
    border: 1.5px solid var(--mw-card);
    border-radius: var(--mw-radius);
    background: var(--mw-bg);
    font-family: var(--mw-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--mw-text);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.mw-qv__var:hover:not([disabled]) { border-color: var(--mw-primary); }
.mw-qv__var.is-active { border-color: var(--mw-primary); color: var(--mw-primary); }
.mw-qv__var[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* בקשה לבחור אפשרות לפני הוספה לסל */
@keyframes mw-qv-nudge {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-5px); }
    75%      { transform: translateX(5px); }
}
.mw-qv__vars--nudge { animation: mw-qv-nudge .3s; }

/* ----- כמות + הוספה ----- */
.mw-qv__cart { display: flex; align-items: center; gap: 10px; }
.mw-qv__cart .mw-buy-btn { flex: 1; }

/* ----- בלוקי מידע ואקורדיונים (מוזרקים מתבנית-בת) ----- */
.mw-qv__notes[hidden],
.mw-qv__sections[hidden] { display: none; }
.mw-qv__note {
    padding: 12px 14px;
    border-inline-start: 3px solid var(--mw-primary);
    border-radius: var(--mw-radius);
    background: var(--mw-card);
    font-size: 14px;
}
.mw-qv__note strong { display: block; margin-bottom: 4px; color: var(--mw-secondary); }
.mw-qv__note p { margin: 0; }
.mw-qv__notes .mw-qv__note + .mw-qv__note { margin-top: 8px; }

.mw-qv__acc { border-top: 1px solid var(--mw-card); }
.mw-qv__acc-head {
    width: 100%;
    padding: 12px 0;
    border: none;
    background: none;
    font-family: var(--mw-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--mw-secondary);
    text-align: start;
    cursor: pointer;
}
.mw-qv__acc-head::after { content: ' +'; color: var(--mw-primary); }
.mw-qv__acc-head[aria-expanded="true"]::after { content: ' –'; }
.mw-qv__acc-body { padding-bottom: 12px; font-size: 14px; }

.mw-qv__link {
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

/* ----- מובייל ----- */
body.mw-qv-open { overflow: hidden; }

@media (max-width: 820px) {
    .mw-qv { padding: 0; align-items: flex-end; }
    .mw-qv__box {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        max-height: 92dvh;
        padding: 20px 18px 24px;
        border-start-start-radius: calc(var(--mw-radius) * 1.6);
        border-start-end-radius: calc(var(--mw-radius) * 1.6);
        border-end-start-radius: 0;
        border-end-end-radius: 0;
    }
    .mw-qv__img { aspect-ratio: 16 / 10; }
    .mw-qv__title { font-size: 20px; }
}

/* ----- העדפת תנועה מופחתת ----- */
@media (prefers-reduced-motion: reduce) {
    .mw-qv__box,
    .mw-qv__overlay,
    .mw-qv-trigger { transition: none; }
    .mw-qv__vars--nudge { animation: none; }
}

/* עמוד שנבנה באלמנטור - הרוחב בשליטת אלמנטור, לא של התבנית */
.mw-content--full { width: 100%; max-width: none; padding-inline: 0; }
.mw-content--full > .mw-page > .mw-page__title { max-width: var(--mw-container); margin-inline: auto; padding-inline: 20px; }

/* ==========================================================
   "טקסט עם חלונית" (popuplink) - תעודות כשרות וכדומה
   ========================================================== */
.mw-poplink {
    border: none;
    background: none;
    padding: 0;
    font-family: var(--mw-font);
    font-size: inherit;
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.mw-poplink:hover { color: var(--mw-primary); }

.mw-pop[hidden] { display: none; }
.mw-pop { position: fixed; inset: 0; z-index: 320; }
.mw-pop__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .55);
    opacity: 0;
    transition: opacity .2s;
}
.mw-pop.is-open .mw-pop__overlay { opacity: 1; }

.mw-pop__box {
    position: absolute;
    background: var(--mw-bg);
    overflow-y: auto;
    padding: 40px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* מצב חלונית במרכז */
.mw-pop--popup .mw-pop__box {
    top: 50%;
    inset-inline-start: 50%;
    transform: translate(50%, -50%) scale(.97);
    width: min(560px, 92vw);
    max-height: 90dvh;
    border-radius: var(--mw-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
    opacity: 0;
    transition: opacity .2s, transform .2s;
}
html[dir="ltr"] .mw-pop--popup .mw-pop__box { transform: translate(-50%, -50%) scale(.97); }
.mw-pop--popup.is-open .mw-pop__box { opacity: 1; transform: translate(50%, -50%) scale(1); }
html[dir="ltr"] .mw-pop--popup.is-open .mw-pop__box { transform: translate(-50%, -50%) scale(1); }

/* מצב פאנל מהצד */
.mw-pop--offcanvas .mw-pop__box {
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(440px, 92vw);
    height: 100dvh;
    box-shadow: 0 0 60px rgba(0, 0, 0, .25);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.25, .8, .3, 1);
}
html[dir="ltr"] .mw-pop--offcanvas .mw-pop__box { transform: translateX(-100%); }
.mw-pop--offcanvas.is-open .mw-pop__box { transform: none; }

.mw-pop__close {
    position: absolute;
    top: 10px;
    inset-inline-start: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--mw-card);
    color: var(--mw-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.mw-pop__close:hover { background: var(--mw-primary); color: #fff; }

.mw-pop__title { margin: 0; font-size: 22px; color: var(--mw-secondary); text-align: center; }
.mw-pop__img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 8px; }
.mw-pop__content { font-size: 15px; line-height: 1.7; }
body.mw-pop-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .mw-pop__overlay, .mw-pop__box { transition: none; }
}

/* ==========================================================
   תפריט מובייל: ראש פאנל (כותרת+סגירה+חיפוש) וחיצי תת-תפריט
   ========================================================== */
.mw-nav__mhead, .mw-nav__msearch, .mw-subtoggle { display: none; }

@media (max-width: 768px) {
    .mw-nav__mhead {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .mw-nav__mtitle { font-size: 19px; font-weight: 800; color: var(--mw-secondary); }
    .mw-nav__mclose {
        width: 38px;
        height: 38px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: var(--mw-card);
        color: var(--mw-text);
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }
    .mw-nav__mclose:active { background: var(--mw-primary); color: #fff; }
    .mw-nav__msearch { display: block; margin-bottom: 12px; }
    .mw-nav__msearch .mw-searchbar { width: 100%; }

    /* תתי-תפריט: סגורים כברירת מחדל, נפתחים בחץ */
    .mw-nav__list li { position: relative; }
    .mw-nav__list ul { display: none; }
    .mw-nav__list li.is-sub-open > ul { display: block; }
    .mw-subtoggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 6px;
        inset-inline-end: 0;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 10px;
        background: none;
        color: var(--mw-primary);
        cursor: pointer;
        transition: transform .2s;
    }
    li.is-sub-open > .mw-subtoggle { transform: rotate(180deg); }
}

/* ==========================================================
   צ'קאאוט במובייל: שדות צפופים, פחות שוליים
   ========================================================== */
@media (max-width: 768px) {
    .woocommerce-checkout .mw-container { padding-inline: 10px; }
    .woocommerce-checkout .mw-content { padding-block: 14px; }
    .woocommerce-checkout .form-row,
    .woocommerce-checkout p.form-row { margin-bottom: 8px; }
    .woocommerce-checkout .form-row label { margin-bottom: 3px; font-size: 13px; }
    .woocommerce-checkout .form-row .input-text,
    .woocommerce-checkout .form-row select,
    .woocommerce-checkout .form-row textarea { padding: 9px 12px; font-size: 15px; }
    .woocommerce-checkout h3,
    .woocommerce-checkout .woocommerce-billing-fields h3 { margin: 14px 0 8px; font-size: 17px; }
}

/* ==========================================================
   טופס התשלום - קומפקטי גם בדסקטופ (פחות גובה לשורה)
   ========================================================== */
.woocommerce-checkout .form-row,
.woocommerce-checkout p.form-row { margin-bottom: 9px; }
.woocommerce-checkout .form-row label { margin-bottom: 3px; font-size: 13px; }
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select { padding: 10px 13px; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout h3 { margin: 12px 0 8px; }

/* ==========================================================
   פס השלבים: אייקון שהועלה במקום המספר
   ========================================================== */
.mw-steps__num--icon { background: transparent; }
.mw-steps__num--icon img { width: 100%; height: 100%; object-fit: contain; }
.mw-steps__item.is-active .mw-steps__num--icon { background: transparent; }

/* ==========================================================
   טופס תשלום בשתי עמודות - בלי שורות ריקות (mw_checkout_2col)
   הקלאס מוזרק ל-body כשהמתג דלוק
   ========================================================== */
@media (min-width: 769px) {
    body.mw-co2col .woocommerce-billing-fields__field-wrapper,
    body.mw-co2col .woocommerce-shipping-fields__field-wrapper,
    body.mw-co2col .woocommerce-additional-fields__field-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px;
        align-items: start;
    }
    /* רוחב מלא רק להערות להזמנה - כל השאר בזוגות, בלי שורות מבוזבזות */
    body.mw-co2col #order_comments_field,
    body.mw-co2col .notes {
        grid-column: 1 / -1;
    }
    /* מבטלים את חצאי-הרוחב הישנים של ווקומרס - הגריד מסדר */
    body.mw-co2col .form-row-first,
    body.mw-co2col .form-row-last,
    body.mw-co2col .form-row-wide { width: 100%; float: none; }
}

/* ==========================================================
   סיכום הזמנה: פח גדול וכהה, מספר הכמות נראה תמיד
   ========================================================== */
.mw-review-remove {
    width: 34px !important;
    height: 34px !important;
    color: #4B5563 !important;
    background: #F3F4F6 !important;
    border-radius: 10px !important;
}
.mw-review-remove::before { width: 18px !important; height: 18px !important; }
.mw-review-remove:hover { color: #DC2626 !important; background: #FEF2F2 !important; }
.mw-review-ctl .mw-qty__input {
    display: inline-block !important;
    width: 34px !important;
    min-width: 34px;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 700;
    opacity: 1 !important;
    background: transparent !important;
    border: none !important;
    text-align: center;
}

/* ==========================================================
   תפריט מובייל מאוחד: העותקים רק במובייל, המשניים מוסתרים שם
   ========================================================== */
.mw-nav__list--merged { display: none; }

@media (max-width: 768px) {
    /* רק הפאנל המאחד מוצג; התפריטים המשניים לא נפתחים כפאנלים */
    .mw-header.is-menu-open .mw-nav--secondary { display: none !important; }
    .mw-nav__list--merged {
        display: block;
        margin-top: 4px;
        padding-top: 4px;
        border-top: 1px solid rgba(0, 0, 0, .06);
    }
}

/* תפריט ייעודי למובייל: מוסתר בדסקטופ; במובייל הוא מחליף את הרשימות האחרות */
.mw-nav__list--mobileonly { display: none; }
@media (max-width: 768px) {
    .mw-nav:has(.mw-nav__list--mobileonly) .mw-nav__list--mobileonly { display: block; }
    .mw-nav:has(.mw-nav__list--mobileonly) .mw-nav__list:not(.mw-nav__list--mobileonly) { display: none; }
}

/* ==========================================================
   לוגו במרכז מדויק (mw_header_center_logo):
   בשורת ההדר שבה הלוגו - עמודות שוות משני הצדדים והתפריטים
   נצמדים ללוגו. שוליים אוטומטיים דוחפים את שאר הרכיבים לקצוות.
   ========================================================== */
@media (min-width: 1025px) {
    body.mw-hcenterlogo .mw-hrow:has(.mw-logo) .mw-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: 28px;
    }
    body.mw-hcenterlogo .mw-hrow:has(.mw-logo) .mw-hzone { min-width: 0; }
    body.mw-hcenterlogo .mw-hrow:has(.mw-logo) .mw-hzone--start .mw-nav { margin-inline-start: auto; }
    body.mw-hcenterlogo .mw-hrow:has(.mw-logo) .mw-hzone--end .mw-nav { margin-inline-end: auto; }
    body.mw-hcenterlogo .mw-hrow:has(.mw-logo) .mw-nav__list { flex-wrap: nowrap; }
    body.mw-hcenterlogo .mw-hrow:has(.mw-logo) .mw-nav__list a { white-space: nowrap; }
}

/* ==========================================================
   הצעות מוצרים בסל ריק
   ========================================================== */
.mw-empty-suggest { margin-top: 34px; }
.mw-empty-suggest__title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
}
.mw-drawer-upsell--empty { margin-top: 18px; }

.mw-checkout-empty { text-align: center; padding: 40px 0 8px; }
.mw-checkout-empty__msg { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
