/* ==========================================================
   כשר סייל - עמוד מוצר (פריסת וודמארט 115). הערכים נמדדו מהמקור
   ב-1920/1440/1024/375 (tools/ks/mprod.js). הטיפוגרפיה ב-vw עד 1024
   ובפיקסלים מתחת, כמו בקיט של אלמנטור (--ks-fs-* ב-style.css).
   ========================================================== */

/* העוטף של האם (mw-container) - המקור ברוחב מלא עם 3vw מהצדדים */
.mw-wc-wrap:has(> .ks-sp) { max-width: none; padding: 0; margin: 0; }
.mw-main:has(.ks-sp) { padding: 0; }

.ks-sp {
    --ks-sp-text: 18px;       /* טקסט וודמארט (18/28.8) */
    display: flex;
    align-items: flex-start;
    gap: 0 4vw;
    padding: 3vw 3vw 6vw;
    font-family: var(--ks-f-text);
    font-size: var(--ks-sp-text);
    line-height: 1.6;
    color: var(--ks-black);
}
.ks-sp *, .ks-sp *::before, .ks-sp *::after { box-sizing: border-box; }
.ks-sp a { text-decoration: none; }
.ks-sp h1, .ks-sp h2, .ks-sp h3, .ks-sp p { margin: 0; }

/* ---------- עמודת הגלריה (45%, דביקה בדסקטופ) ---------- */
.ks-sp__media {
    flex: 0 1 45%;
    min-width: 0;
    padding: 1vw 1vw 3vw;
    position: sticky;
    top: 120px;
}
.ks-sp__gallery { position: relative; }

/* 🪤 body.mw-thumbs-right של האם קובע gap 12 בספציפיות גבוהה יותר */
.ks-sp .ks-sp__gallery .woocommerce-product-gallery {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    width: 100%;
    float: none;
}
.ks-sp .woocommerce-product-gallery__wrapper { flex: 1 1 auto; min-width: 0; position: relative; margin: 0; }
.ks-sp .woocommerce-product-gallery__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh;
    background: #fff;
    border-radius: 1em;
    overflow: hidden;
}
.ks-sp .woocommerce-product-gallery__image.mw-ghide { display: none; }
.ks-sp .woocommerce-product-gallery__image a { display: flex; width: 100%; justify-content: center; }
.ks-sp .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 65vh;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border-radius: 0;
    max-width: 100%;
}
/* חיצי המעבר על התמונה - כמו וודמארט (wd-pos-sep): חץ דק בלי רקע, בדסקטופ רק בריחוף */
.ks-sp .mw-gallery-arrow {
    width: 30px;
    height: 40px;
    background: none;
    box-shadow: none;
    color: #333;
    opacity: 0;
}
.ks-sp .mw-gallery-arrow svg { width: 18px; height: 18px; stroke-width: 1.5; }
.ks-sp .mw-gallery-arrow:hover { background: none; color: var(--ks-orange); }
.ks-sp .woocommerce-product-gallery:hover .mw-gallery-arrow { opacity: 1; }
@media (max-width: 1024px) { .ks-sp .mw-gallery-arrow { opacity: 1; } }

/* ממוזערות: עמודה מימין ברוחב 122 (דסקטופ) */
.ks-sp .woocommerce-product-gallery .mw-gthumbs {
    order: -1;
    flex: 0 0 122px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    height: calc(65vh - 30px);
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.ks-sp .mw-gthumbs::-webkit-scrollbar { display: none; }
.ks-sp .mw-gthumb {
    flex: 0 0 auto;
    width: 122px;
    height: 122px;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}
.ks-sp .mw-gthumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border-radius: 21px;
}
.ks-sp .mw-gthumb.is-active { border: 0; }
/* חיצי הממוזערות (למעלה/למטה) - נוספים ב-product.js */
.ks-thumbnav {
    position: absolute;
    top: calc(65vh - 30px);
    right: 0;
    width: 122px;
    height: 30px;
    display: flex;
    flex-direction: row-reverse;
}
.ks-thumbnav button {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ks-black);
    cursor: pointer;
}
.ks-thumbnav button:disabled { opacity: .5; cursor: default; }
.ks-thumbnav svg { width: 14px; height: 14px; }

/* תוויות: אחוז הנחה + תכונות (אחסון / RAM) בפינה השמאלית העליונה */
.ks-labels {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;     /* RTL: מיושרות לשמאל */
    gap: 10px;
    pointer-events: none;
}
.ks-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 12px;
    background: #070707;
    color: #fff;
    font-family: 'Ploni', var(--ks-f-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.ks-label--sale { min-width: 50px; padding: 0 5px; direction: ltr; text-align: center; background: rgb(226, 107, 52); color: #000; }

/* "לחץ להגדלה" - בפינה הימנית התחתונה של התמונה (product.js מעביר לתוך העוטף) */
.ks-sp__zoom {
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 6;
    width: 50.4px;
    height: 50.4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* "שאל אותנו על מוצר זה בווצאפ" + הדמות */
.ks-wa {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(2vw + 20px);   /* + מרווח הווידג'טים של אלמנטור */
    padding: calc(1vw + 10px) 1vw;
    background: var(--ks-green);
    border-radius: 36px;
    text-align: center;
}
.ks-wa__title {
    position: relative;
    z-index: 1;
    font-family: var(--ks-f-text);
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    color: var(--ks-black);
}
.ks-wa__bot {
    position: absolute;
    left: 2vw;
    bottom: 0;
    width: 20%;
    height: auto;
    max-width: none;
}

/* ---------- עמודת הפרטים (56%) = פרטים (73%) + טור אמון (20%) ---------- */
.ks-sp__main {
    flex: 0 1 56%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    gap: 20px 0;
}
.ks-sp__summary {
    flex: 0 0 73%;
    width: 73%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ks-crumb {
    margin: 0;
    font-size: .9vw;
    font-weight: 400;
    line-height: 1;
    color: var(--ks-black);
    text-align: right;
}
.ks-crumb a,
.ks-crumb .breadcrumb_last { color: var(--ks-orange); }
.ks-crumb a:hover { color: var(--ks-black); }

.ks-sp__title {
    font-family: var(--ks-f-text);
    font-size: 2vw;
    font-weight: 400;
    line-height: 1;
    color: var(--ks-black);
}
.ks-sp__price {
    font-family: var(--ks-f-text);
    font-size: 2vw;
    font-weight: 700;
    line-height: 1;
    color: var(--ks-black);
}
.ks-sp__price del { color: var(--ks-grey); font-weight: 400; font-size: .9em; opacity: 1; }
.ks-sp__price ins { text-decoration: none; background: none; }
.ks-sp__price .screen-reader-text { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }

/* ---------- טופס הקנייה ---------- */
.ks-sp .ks-sp__cart form.cart {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;       /* 🪤 הסניפט HEDER CSS (WPCode 75): gap 5px + align center על form.cart */
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}
.ks-sp .reset_variations_alert { position: absolute !important; }
/* מוצר פשוט: הטופס עצמו הוא שורת הכמות + כפתורים */
.ks-sp .ks-sp__cart form.cart:not(.variations_form) {
    flex-direction: row;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}
.ks-sp .variations_form .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.ks-sp form.cart .wcba-groups-wrap { flex: 0 0 100%; width: 100%; }

/* וריאציות: תווית מעל, כפתורים בשורה */
.ks-sp table.variations {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    border: 0;
    border-collapse: collapse;
}
.ks-sp table.variations tbody { display: block; width: 100%; }
.ks-sp table.variations tr { display: block; width: 100%; margin-bottom: 15px; }
.ks-sp table.variations th,
.ks-sp table.variations td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: right;
}
.ks-sp table.variations th { margin-bottom: 8px; font-weight: 600; line-height: 1.4; }
.ks-sp table.variations th label::after { content: ":"; }
.ks-sp table.variations th label {
    display: inline-block;
    margin: 0;
    font-family: 'Ploni', var(--ks-f-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--ks-dark);
}
.ks-sp .mw-swatches { display: flex; flex-wrap: wrap; gap: 15px; margin: 0; }
.ks-sp .mw-swatch {
    min-width: 80px;
    min-height: 50px;
    height: auto;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    font-family: 'Ploni', var(--ks-f-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: #242424;
}
.ks-sp .mw-swatch:hover { border-color: #ccc; }
.ks-sp .mw-swatch.is-selected { border: 2px solid #000; padding: 9px 14px; }
.ks-sp .variations .reset_variations { display: none !important; }
.ks-sp .single_variation_wrap .woocommerce-variation-price { display: none; }  /* המחיר מתחלף למעלה (wd-price-outside) */
.ks-sp .woocommerce-variation-availability p { margin: 0 0 10px; font-size: 14px; }

/* ---------- תוספות (WC Bundles & Addons) - כמו post-115.css במקור ---------- */
.ks-sp .wcba-groups-wrap { margin: 20px 0 15px; counter-reset: none; }
.ks-sp .wcba-groups-wrap .wcba-group {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.ks-sp .wcba-groups-wrap .wcba-group > .wcba-group-title {
    display: block;
    margin: 0 0 12px;
    padding: 0;
    background: none;
    font-family: 'Ploni', var(--ks-f-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    text-align: right;
}
.ks-sp .wcba-groups-wrap .wcba-group > .wcba-group-title::before { content: none; display: none; }
.ks-sp .wcba-groups-wrap .wcba-selection-counter { display: none !important; }
.ks-sp .wcba-groups-wrap .wcba-max-message:empty { display: none; }
.ks-sp .wcba-addon-select {
    width: 100%;
    height: 42px;
    padding: 0 15px 0 30px;
    border: 1px solid #000;
    border-radius: 15px;
    background-color: #fff;
    font-family: var(--ks-f-text);
    font-size: 14px;
    color: var(--ks-black);
}
.ks-sp .wcba-groups-wrap .wcba-item { display: block; }
.ks-sp .wcba-addon-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 5px;
    padding: 10px 14px;
    border: 1px solid #000 !important;
    border-radius: 12px;
    background: #fff;
    color: var(--ks-dark);
    font-size: 18px;
    line-height: 1.6;
    cursor: pointer;
}
.ks-sp .wcba-addon-label:hover { border-color: var(--ks-orange) !important; }
.ks-sp .wcba-addon-cart-btn { width: 36px; height: 36px; background: #FF6600; }
.ks-sp .wcba-addon-image { width: 46px; height: 46px; object-fit: contain; }
.ks-sp .wcba-addon-name { font-family: var(--ks-f-text); font-size: 14px; font-weight: 500; line-height: 1.6; color: #333; }
.ks-sp .wcba-addon-price { font-family: 'Ploni', var(--ks-f-text); font-size: 13px; font-weight: 600; line-height: 1.6; color: #FF6600; }
.ks-sp .wcba-addon-check { width: 24px; height: 24px; border: 1px solid #ddd; }

/* ---------- כמות + הוספה לסל + קנה עכשיו ---------- */
.ks-sp form.cart .quantity { flex: 0 0 auto; margin: 0; }
.ks-sp form.cart .mw-qty { gap: 0; height: 42px; padding: 0; border: 0; border-radius: 0; }
.ks-sp form.cart .mw-qty__btn {
    width: 25px;
    height: 25px;
    padding: 0 2px;
    border: 0;
    border-radius: 6px;
    background: #F7F4E3;
    color: #000;
    font-family: 'Ploni', var(--ks-f-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.ks-sp form.cart .mw-qty input.qty,
.ks-sp form.cart .mw-qty__input {
    width: 42px;
    min-width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0;
    border: 0 !important;
    border-radius: 15px !important;
    background: transparent;
    font-family: 'Ploni', var(--ks-f-text);
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-align: center;
}
.ks-sp form.cart .single_add_to_cart_button,
.ks-sp form.cart .mw-buynow-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-height: 0;
    margin: 0 10px 0 0;
    padding: 5px 20px;
    border: 0;
    border-radius: 35px;
    background: #F26A20;
    color: #fff;
    font-family: var(--ks-f-text);
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    box-shadow: none;
    opacity: 1;
    cursor: pointer;
    transition: background .2s;
}
.ks-sp form.cart .mw-buynow-btn { background: #74A32F; }
/* מוצר פשוט: הכמות והכפתורים צמודים (במקור gap 0 בלי שוליים) */
.ks-sp .ks-sp__cart form.cart:not(.variations_form) { gap: 0 !important; }
.ks-sp .ks-sp__cart form.cart:not(.variations_form) > .single_add_to_cart_button,
.ks-sp .ks-sp__cart form.cart:not(.variations_form) > .mw-buynow-btn { margin: 0; }
.ks-sp form.cart .single_add_to_cart_button:hover { background: var(--ks-black); }
.ks-sp form.cart .mw-buynow-btn:hover { background: var(--ks-black); filter: none; }
.ks-sp form.cart .single_add_to_cart_button.disabled,
.ks-sp form.cart .single_add_to_cart_button:disabled { opacity: 1; cursor: pointer; }
/* 🪤 האם מעבירה את הכמות והכפתור לפס קבוע בתחתית בכל טופס עם תוספות
   (main.js) - במקור הם נשארים בטופס. product.js מחזיר אותם; עד אז: */
.ks-sp .mw-bundle-bar { position: static; display: contents; box-shadow: none; border: 0; padding: 0; }
body:has(.ks-sp) { padding-block-end: 0 !important; }

/* ---------- "רוצים להתייעץ עם נציג?" ---------- */
.ks-lead {
    padding: 2vw;
    border: 1px solid var(--ks-black);
    border-radius: 36px;
    background: #fff;
}
.ks-lead__title {
    margin: 0 0 20px !important;
    font-family: var(--ks-f-text);
    font-size: var(--ks-fs-sub);
    font-weight: 400;
    line-height: 1;
    color: var(--ks-black);
}
.ks-lead .ks-form__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin: 0 -5px -16px;
}
.ks-lead .ks-form__field,
.ks-lead .ks-form__submit,
.ks-lead .ks-form__consent { flex: 0 0 100%; width: 100%; padding: 0 5px; margin: 0 0 16px; }
.ks-lead .ks-form__field--first_name { flex-basis: 40%; width: 40%; }
.ks-lead .ks-form__field--phone,
.ks-lead .ks-form__field--email { flex-basis: 30%; width: 30%; }
.ks-lead .ks-form__label {
    display: block;
    margin: 0 0 5px;
    font-family: var(--ks-f-text);
    font-size: var(--ks-fs-text);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ks-black);
}
.ks-lead .ks-form__req { color: #E3432F; margin-inline-start: 3px; }
.ks-lead input[type=text],
.ks-lead input[type=tel],
.ks-lead input[type=email] {
    display: block;
    direction: rtl;
    text-align: right;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #000 !important;
    border-radius: 15px !important;
    background: #fff;
    box-shadow: none;
    font-family: var(--ks-f-text);
    font-size: var(--ks-fs-text);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ks-grey);
}
.ks-lead input::placeholder { color: var(--ks-grey); opacity: .75; }
.ks-lead .ks-form__btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 29px;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 100px;
    background: var(--ks-orange);
    color: #fff;
    font-family: var(--ks-f-text);
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}
.ks-lead .ks-form__btn:hover { background: var(--ks-black); }
.ks-lead__btnico { width: 1em; height: auto; filter: brightness(0) invert(1); }
.ks-lead .ks-form__consent {
    margin-top: 0;
    font-family: var(--ks-f-text);
    font-size: 16px;
    font-weight: 400;
    line-height: calc(1.22vw + 4.8px);   /* גובה שורת קבוצת השדה באלמנטור (22.4 ב-1440, 28.25 ב-1920) */
    color: var(--ks-black);
    text-align: right;
}
.ks-lead .ks-form__consent input { display: inline-block; width: 13px; height: 13px; margin: 0 0 0 5px; vertical-align: middle; accent-color: #0075FF; }
.ks-lead .ks-form__consent label { display: inline; margin: 0; font-size: var(--ks-fs-text); line-height: 1.1; }
.ks-lead .ks-form__consent a { color: var(--ks-orange); text-decoration: underline; }
.ks-lead .ks-form__msg { margin: 10px 0 0; font-size: var(--ks-fs-text); font-weight: 700; text-align: center; color: var(--ks-black); }
.ks-lead .ks-form__msg.is-error { color: #E3432F; }

/* ---------- טאבים ---------- */
.ks-tabs { margin-top: 8%; }
.ks-tabs__head { display: flex; gap: 10px; }
.ks-tabs__btn {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 13px;
    border: 0;
    border-radius: 100px;
    background: rgba(122, 122, 122, .05);
    color: var(--ks-black);
    font-family: var(--ks-f-text);
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s;
}
.ks-tabs__btn span { font-size: var(--ks-fs-text); font-weight: 700; line-height: 13px; }
.ks-tabs__btn:hover { background: rgba(255, 159, 109, .33); }
.ks-tabs__btn.is-active { background: var(--ks-orange); }
.ks-tabs__panel { margin-top: 18px; }
.ks-tabs__panel[hidden] { display: none; }
/* מפרט מורחב / משלוחים: text-editor של אלמנטור (טיפוגרפיית text) */
.ks-tabs__panel--text { padding: 2vw; font-size: var(--ks-fs-text); font-weight: 400; line-height: 1.1; text-align: right; }
.ks-tabs__panel--text p { margin: 0 0 20px; }
.ks-tabs__panel--text strong,
.ks-tabs__panel--text b { font-family: 'Ploni', var(--ks-f-text); font-weight: 600; }
.ks-tabs__panel--text h2 { margin: 0 0 20px; font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--ks-dark); }
.ks-tabs__panel--text h3 { margin: 0 0 20px; font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--ks-dark); }
.ks-tabs__panel--text img { display: block; max-width: 100%; height: auto; margin: 20px 0; }
.ks-tabs__panel--text ul { margin: 0 0 20px; padding: 0 17px 0 0; }
.ks-tabs__panel--text li { margin: 0 0 10px; }
.ks-tabs__panel--text a { color: var(--ks-orange); }

/* סקירת מכשיר: תיאור קצר + קבוצות מפרט (grid של אלמנטור: 2 שורות 1fr) */
.ks-specs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    padding: 1vw;
    background: #fff;
    border-radius: 36px;
}
.ks-specs__short {
    padding: 3vw;
    border-radius: 18px;
    background: #fff;
    transition: background .3s;
}
.ks-specs__short:hover,
.ks-spec:hover { background: rgba(255, 159, 109, .1); }
.ks-specs__short-title {
    margin: 0 0 5px !important;
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    color: var(--ks-black);
    text-align: right;
}
.ks-specs__short-text { font-size: 18px; line-height: 1.6; text-align: right; }
.ks-specs__short-text p { margin: 0 0 20px !important; }
.ks-specs__short-text strong,
.ks-specs__short-text b { font-family: 'Ploni', var(--ks-f-text); font-weight: 600; }

.ks-spec {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 0;
    border-radius: 18px;
    background: #fff;
    transition: background .3s;
}
.ks-specs__short + .ks-spec { padding: 1vw; }
.ks-spec__head {
    flex: 0 1 20%;
    min-width: 0;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ks-spec__ico { display: flex; width: 52px; height: 52px; margin-bottom: 5px; }
.ks-spec__ico svg { width: 100%; height: 100%; }
.ks-spec__title {
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    color: var(--ks-black);
}
.ks-spec__table {
    flex: 0 1 100%;
    min-width: 0;
    align-self: center;
    padding: 2vw 1vw;
    border-bottom: 1px solid #ACACAC;
}
.ks-spec__table table { display: block; width: 100%; margin: 0; border: 0; border-collapse: separate; }
.ks-spec__table tbody { display: block; }
.ks-spec__table tr {
    display: flex;
    align-items: center;
    gap: 10px 5px;
    margin: 0 0 4.5px;
    padding: 0 0 4.5px;
    border: 0;
    background: none;
}
.ks-spec__table tr:last-child { margin-bottom: -4.5px; }   /* כמו במקור: השורה האחרונה "גולשת" לריפוד */
.ks-spec__table th,
.ks-spec__table td { padding: 0; border: 0; background: none; text-align: right; vertical-align: middle; }
.ks-spec__table th {
    flex: 0 0 auto;
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    color: var(--ks-black);
    white-space: nowrap;
}
.ks-spec__table th::after { content: ":"; }
.ks-spec__table td { font-size: var(--ks-fs-text); font-weight: 400; line-height: 1.25; color: var(--ks-black); }
.ks-spec__table .ks-term { color: var(--ks-orange); }
.ks-spec__table a.ks-term:hover { color: var(--ks-black); }

/* ---------- שיתוף ---------- */
.ks-share { padding-top: 22px; }
.ks-share__label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    color: var(--ks-black);
    text-align: right;
}
.ks-share__icons { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    transition: opacity .2s;
}
.ks-share__btn:hover { color: #fff; opacity: .8; }
.ks-share__btn svg { height: 14px; width: auto; max-width: 16px; fill: currentColor; }
.ks-share__btn--facebook { background: #365493; }
.ks-share__btn--x { background: #000; }
.ks-share__btn--email { background: #F89A1E; }
.ks-share__btn--whatsapp { background: #1EBEA5; }
.ks-share__btn--tg { background: #37AEE2; }

/* ---------- טור האמון ("liquid glass") ---------- */
.ks-sp__trust {
    flex: 0 0 20%;
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 0 10px 24px;
    border: 1px solid var(--ks-black);
    border-radius: 36px;
    background: rgba(255, 255, 255, .56);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 30px 30px rgba(0, 0, 0, .1), inset 0 0 20px rgba(0, 0, 0, .1), inset 3px 3px 2px -2px rgba(255, 255, 255, .8), inset -3px -3px 2px -2px rgba(255, 255, 255, .8);
}
.ks-sp__trust-bot { display: block; width: 87%; max-width: 87%; height: auto; margin-top: -2vw; }
.ks-tbox { text-align: center; }
.ks-tbox__ico { display: flex; justify-content: center; margin: 0 auto 15px; width: 50px; height: 50px; }
.ks-tbox__ico svg { width: 100%; height: 100%; }
.ks-tbox__title {
    font-size: var(--ks-fs-text);
    font-weight: 700;
    line-height: 1;
    color: var(--ks-black);
}
.ks-tbox__title a { color: inherit; }
.ks-tbox__desc {
    font-size: var(--ks-fs-small);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ks-grey);
}

/* ==========================================================
   טאבלט (≤1024): הכל בטור אחד, הממוזערות בשורה מתחת לתמונה
   ========================================================== */
@media (max-width: 1024px) {
    .ks-sp { flex-wrap: wrap; }
    .ks-sp__media { flex: 0 0 100%; width: 100%; position: static; }
    .ks-sp__main { flex: 0 0 100%; width: 100%; }
    .ks-sp__summary { flex: 0 0 100%; width: 100%; padding: 3%; }
    .ks-crumb { font-size: 16px; }
    .ks-sp__title, .ks-sp__price { font-size: 23px; }

    .ks-sp .ks-sp__gallery .woocommerce-product-gallery { flex-direction: column; }
    .ks-sp .woocommerce-product-gallery__wrapper { width: 100%; }
    .ks-sp .woocommerce-product-gallery__image { height: 600px; min-height: 0; align-items: flex-start; }
    .ks-sp .woocommerce-product-gallery__image a { height: 100%; align-items: flex-start; }
    .ks-sp .woocommerce-product-gallery__image img { width: auto; height: 585px; min-height: 0; max-height: 100%; }
    .ks-sp .woocommerce-product-gallery .mw-gthumbs {
        order: 2;
        flex: 0 0 auto;
        flex-direction: row;
        width: calc(100% + 10px);
        height: auto;
        margin: 0 -5px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .ks-sp .mw-gthumb { flex: 0 0 25%; width: 25%; height: auto; margin: 0; padding: 0 5px; }
    .ks-thumbnav { display: none; }
    .ks-sp__zoom { width: 44.8px; height: 44.8px; }

    .ks-wa { padding: calc(3% + 10px) 3%; }
    .ks-wa__bot { left: 70%; width: 25vw; }

    .ks-lead { padding: 3%; }
    .ks-lead .ks-form__consent { line-height: 27.6px; }
    .ks-spec, .ks-specs__short + .ks-spec { padding: 3%; }
    .ks-specs__short { padding: calc(3% + 2vw); }

    .ks-sp__trust {
        flex: 0 0 100%;
        width: 100%;
        flex-direction: row-reverse;
        justify-content: flex-start;
        padding: 27px;
    }
    .ks-sp__trust-bot { width: 25vw; max-width: 25vw; }
}

/* ==========================================================
   מובייל (≤767)
   ========================================================== */
@media (max-width: 767px) {
    .ks-crumb { font-size: 14px; }
    .ks-sp__title { font-size: 25px; }
    .ks-sp__price { font-size: 26px; }

    .ks-sp .woocommerce-product-gallery__image { height: 220px; }
    .ks-sp .woocommerce-product-gallery__image img { height: 220px; aspect-ratio: auto; }
    .ks-sp .woocommerce-product-gallery .mw-gthumbs { height: 220px; }
    .ks-sp .mw-gthumb { flex-basis: 33.3333%; width: 33.3333%; height: 220px; }
    .ks-sp__zoom { right: 15px; bottom: 15px; }
    .ks-labels { top: 10px; left: 10px; gap: 5px; }
    .ks-label { font-size: 10px; padding: 5px; }
    .ks-label--sale { padding: 0 5px; line-height: 12px; }
    .ks-wa__bot { width: 76px; }

    .ks-sp .wcba-addon-label { padding: 6px 10px; gap: 8px; border-radius: 8px; }
    .ks-sp .wcba-addon-cart-btn { width: 30px; height: 30px; }
    .ks-sp .wcba-addon-image { width: 36px; height: 36px; }
    .ks-sp .wcba-addon-name { font-size: 13px; }
    .ks-sp .wcba-addon-price { font-size: 12px; }
    .ks-sp .wcba-addon-check { width: 20px; height: 20px; }
    .ks-sp .wcba-groups-wrap .wcba-group > .wcba-group-title { font-size: 14px; margin-bottom: 8px; }

    /* כמות בשורה משלה, ומתחתיה שני הכפתורים ברוחב מלא */
    .ks-sp .variations_form .woocommerce-variation-add-to-cart { gap: 10px 0 !important; }
    .ks-sp .ks-sp__cart form.cart:not(.variations_form) > .single_add_to_cart_button { flex-basis: 100%; margin: 0 0 10px; }
    .ks-sp .ks-sp__cart form.cart:not(.variations_form) > .mw-buynow-btn { flex-basis: 100%; margin: 10px 0; }
    .ks-sp form.cart .quantity { flex: 0 0 100%; display: flex; }
    .ks-sp form.cart .single_add_to_cart_button,
    .ks-sp form.cart .mw-buynow-btn { flex: 0 0 calc(100% - 10px); margin: 0 10px 10px 0; }
    .ks-sp form.cart .mw-buynow-btn { margin-top: 10px; }

    .ks-lead .ks-form__field--first_name,
    .ks-lead .ks-form__field--phone,
    .ks-lead .ks-form__field--email { flex-basis: 100%; width: 100%; }
    .ks-lead .ks-form__field { margin-bottom: 16px; }
    .ks-lead .ks-form__consent { line-height: 20.15px; }

    .ks-tabs__btn { padding: 0; }
    .ks-spec { flex-wrap: wrap; }
    .ks-spec__ico { width: 25px; height: 25px; }

    .ks-sp__trust {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 2px;
        padding: 7% 0 3% 1%;
        border-radius: 18px;
    }
    .ks-sp__trust-bot { display: none; }
    .ks-tbox { flex: 0 0 22%; width: 22%; }
    .ks-tbox__ico { width: 32px; height: 32px; margin-bottom: 6px; }
}
