/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
/* ==========================================================
   כרטיסי מוצר WooCommerce – עיצוב גלובלי
   גרסה מתוקנת – יישור אחיד של כפתור "הוספה לסל"

   מתאים ל:
   - עמוד החנות וארכיוני WooCommerce
   - קטגוריות מוצרים
   - מוצרים קשורים
   - Upsells ו-Cross-sells
   - ווידג'ט Products של Elementor
   - מבנה כרטיסי המוצרים של Astra

   כולל:
   - אזור תמונה ריבועי ואחיד בכל הכרטיסים
   - כפתור "הוספה לסל" בגובה זהה בכל מוצר
   - תמונות מרובעות
   - כותרת ומחיר ממורכזים
   - הסתרת אייקון הסל הצף של Astra
========================================================== */


/* ==========================================================
   1. מבנה כרטיס המוצר
========================================================== */

body ul.products li.product {
    position: relative;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    grid-auto-flow: row !important;

    align-items: start;
    align-content: start !important;

    min-width: 0;

    text-align: center;

    overflow: visible;
}


/* ==========================================================
   2. יצירת אזור תמונה ריבועי קבוע

   האלמנט המדומה קובע את גובה השורה הראשונה לפי רוחב הכרטיס.
   כך גובה אזור התמונה אינו תלוי ביחס המקורי של קובץ התמונה.
========================================================== */

body ul.products li.product::before {
    content: "";

    grid-column: 1;
    grid-row: 1;

    display: block;

    width: 100%;
    aspect-ratio: 1 / 1;

    pointer-events: none;
}


/* ==========================================================
   3. פירוק מעטפות לצורך שילוב ב-Grid

   Elementor:
   הקישור עוטף את התמונה, הכותרת והמחיר.

   Astra:
   קיימות מעטפות נפרדות לתמונה ולפרטי המוצר.
========================================================== */

body ul.products li.product > a.woocommerce-LoopProduct-link,
body ul.products li.product > .astra-shop-thumbnail-wrap,
body ul.products li.product > .astra-shop-summary-wrap,
body ul.products li.product > .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link {
    display: contents !important;
}


/* ==========================================================
   4. תמונת המוצר

   התמונה ממלאת עכשיו את אזור התמונה הריבועי שנוצר למעלה.
========================================================== */

body ul.products li.product img.attachment-woocommerce_thumbnail,
body ul.products li.product img.woocommerce-placeholder {
    grid-column: 1;
    grid-row: 1;

    align-self: start !important;
    justify-self: stretch;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    block-size: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 100% !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    aspect-ratio: 1 / 1 !important;

    object-fit: cover !important;
    object-position: center center;

    border-radius: 28px;

    box-sizing: border-box;
}


/* ==========================================================
   5. הסתרת אייקון הסל הצף של Astra

   האייקון כולל גם את הקלאס add_to_cart_button,
   ולכן חשוב להסתיר ולהחריג אותו מהעיצוב בהמשך.
========================================================== */

body ul.products li.product .ast-on-card-button {
    display: none !important;
}


/* ==========================================================
   6. כפתור "הוספה לסל" האמיתי

   הכפתור נמצא באותה שורת Grid של התמונה,
   ומיושר תמיד לתחתית אזור התמונה הריבועי.

   לכן הגובה שלו אחיד בכל המוצרים.
========================================================== */

body ul.products li.product > .button:not(.ast-on-card-button),
body ul.products li.product > a.button:not(.ast-on-card-button),
body ul.products li.product .astra-shop-summary-wrap > .button:not(.ast-on-card-button),
body ul.products li.product .astra-shop-summary-wrap > a.button:not(.ast-on-card-button) {
    grid-column: 1;
    grid-row: 1;

    align-self: end;
    justify-self: center;

    position: relative;
    z-index: 5;

    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 68%;
    min-width: 0;

    min-height: 38px;

    margin: 0 0 14px !important;

    padding: 7px 12px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: rgba(120, 120, 120, 0.78) !important;
    color: #fff !important;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    text-align: center;
    text-decoration: none !important;

    white-space: nowrap !important;
    word-break: normal !important;

    box-sizing: border-box;

    box-shadow: none !important;

    transition:
        background-color 0.35s ease,
        transform 0.35s ease;
}


/* ==========================================================
   Hover לכפתור
========================================================== */

body ul.products li.product > .button:not(.ast-on-card-button):hover,
body ul.products li.product > a.button:not(.ast-on-card-button):hover,
body ul.products li.product .astra-shop-summary-wrap > .button:not(.ast-on-card-button):hover,
body ul.products li.product .astra-shop-summary-wrap > a.button:not(.ast-on-card-button):hover {
    background: rgba(95, 95, 95, 0.92) !important;
    color: #fff !important;

    transform: translateY(-2px);
}


/* ==========================================================
   מצב טעינה בזמן הוספה לסל
========================================================== */

body ul.products li.product .button.loading:not(.ast-on-card-button) {
    opacity: 0.75;
}


/* ==========================================================
   7. שם המוצר
========================================================== */

body ul.products li.product .woocommerce-loop-product__title {
    grid-column: 1;
    grid-row: 2;

    width: 100%;
    min-width: 0;

    margin: 13px 0 4px !important;

    padding: 0 4px !important;

    text-align: center;

    box-sizing: border-box;
}


body ul.products li.product .woocommerce-loop-product__title,
body ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;

    text-decoration: none;
}


/* ==========================================================
   8. מחיר המוצר
========================================================== */

body ul.products li.product .price {
    grid-column: 1;
    grid-row: 3;

    display: block;

    width: 100%;
    min-width: 0;

    margin: 0 !important;

    text-align: center;
}


/* מחיר רגיל ומחיר מבצע באותה סביבת יישור */

body ul.products li.product .price del,
body ul.products li.product .price ins {
    display: inline;
}


/* ==========================================================
   9. תג Sale
========================================================== */

body ul.products li.product .onsale {
    grid-column: 1;
    grid-row: 1;

    align-self: start;
    justify-self: end;

    position: relative;

    z-index: 8;
}


/* ==========================================================
   10. קישור "צפייה בסל" לאחר הוספת מוצר

   מוצג מעל כפתור ההוספה לסל,
   בלי לשנות את מבנה הכרטיס.
========================================================== */

body ul.products li.product .added_to_cart {
    grid-column: 1;
    grid-row: 1;

    align-self: end;
    justify-self: center;

    position: relative;

    z-index: 7;

    margin: 0 0 56px !important;

    padding: 2px 6px;

    font-size: 12px;
    line-height: 1.2;

    text-align: center;
}


/* ==========================================================
   11. טאבלט
========================================================== */

@media (max-width: 1024px) {

    body ul.products li.product img.attachment-woocommerce_thumbnail,
    body ul.products li.product img.woocommerce-placeholder {
        border-radius: 22px;
    }


    body ul.products li.product > .button:not(.ast-on-card-button),
    body ul.products li.product > a.button:not(.ast-on-card-button),
    body ul.products li.product .astra-shop-summary-wrap > .button:not(.ast-on-card-button),
    body ul.products li.product .astra-shop-summary-wrap > a.button:not(.ast-on-card-button) {
        width: 82%;

        min-height: 32px;

        margin-bottom: 9px !important;

        padding: 5px 7px !important;

        font-size: 11px;
        line-height: 1;
    }


    body ul.products li.product .woocommerce-loop-product__title {
        margin-top: 10px !important;

        font-size: 14px;
        line-height: 1.25;
    }


    body ul.products li.product .price {
        font-size: 13px;
        line-height: 1.25;
    }


    body ul.products li.product .added_to_cart {
        margin-bottom: 47px !important;

        font-size: 11px;
    }
}


/* ==========================================================
   12. מובייל
========================================================== */

@media (max-width: 767px) {

    body ul.products li.product img.attachment-woocommerce_thumbnail,
    body ul.products li.product img.woocommerce-placeholder {
        border-radius: 18px;
    }


    body ul.products li.product > .button:not(.ast-on-card-button),
    body ul.products li.product > a.button:not(.ast-on-card-button),
    body ul.products li.product .astra-shop-summary-wrap > .button:not(.ast-on-card-button),
    body ul.products li.product .astra-shop-summary-wrap > a.button:not(.ast-on-card-button) {
        width: 86%;

        min-height: 30px;

        margin-bottom: 8px !important;

        padding: 4px 5px !important;

        font-size: 10px;
        line-height: 1;

        white-space: nowrap !important;
    }


    body ul.products li.product .woocommerce-loop-product__title {
        margin-top: 8px !important;

        font-size: 13px;
        line-height: 1.25;
    }


    body ul.products li.product .price {
        font-size: 12px;
        line-height: 1.25;
    }


    body ul.products li.product .added_to_cart {
        margin-bottom: 43px !important;

        font-size: 10px;
    }
}


/* ==========================================================
   13. מובייל קטן

   שומר על אותו מיקום מדויק של הכפתורים גם במסכים צרים.
========================================================== */

@media (max-width: 420px) {

    body ul.products li.product > .button:not(.ast-on-card-button),
    body ul.products li.product > a.button:not(.ast-on-card-button),
    body ul.products li.product .astra-shop-summary-wrap > .button:not(.ast-on-card-button),
    body ul.products li.product .astra-shop-summary-wrap > a.button:not(.ast-on-card-button) {
        width: 86%;

        min-height: 30px;

        margin-bottom: 8px !important;

        padding: 4px 4px !important;

        font-size: 10px;
        line-height: 1;
    }
}


/* ==========================================================
   סוף קוד כרטיסי מוצר WooCommerce – HEGEN
========================================================== */

/* ==========================================================
   תג מבצע מותאם בכרטיסי WooCommerce – HEGEN
   ממורכז + יוצא מעט ימינה בדסקטופ ובמובייל
========================================================== */

body ul.products li.product .onsale.lifko-sale-badge,
body ul.products li.product .lifko-sale-badge {
    position: absolute !important;
    top: -22px !important;
    right: -14px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 20 !important;

    width: 84px !important;
    height: 68px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    min-height: 68px !important;

    margin: 0 !important;
    padding: 0 8px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    border-radius: 22px !important;
    background: #b56f43 !important;
    color: #fff !important;

    font-family: "Rubik", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: 0 !important;

    box-sizing: border-box !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

body ul.products li.product .lifko-sale-badge--regular {
    font-size: 16px !important;
}

body ul.products li.product .lifko-sale-badge--global {
    font-size: 18px !important;
}

@media (max-width: 1024px) {
    body ul.products li.product .onsale.lifko-sale-badge,
    body ul.products li.product .lifko-sale-badge {
        top: -15px !important;
        right: -10px !important;
        width: 74px !important;
        height: 58px !important;
        min-width: 74px !important;
        max-width: 74px !important;
        min-height: 58px !important;
        padding: 0 7px !important;
        border-radius: 19px !important;
        font-size: 16px !important;
        line-height: 1.05 !important;
    }

    body ul.products li.product .lifko-sale-badge--regular {
        font-size: 14px !important;
    }
}

@media (max-width: 767px) {
    body ul.products li.product .onsale.lifko-sale-badge,
    body ul.products li.product .lifko-sale-badge {
        top: -7px !important;
        right: -7px !important;
        width: 50px !important;
        height: 44px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        min-height: 44px !important;
        padding: 0 4px !important;
        border-radius: 14px !important;
        font-size: 11px !important;
        line-height: 1.05 !important;
    }

    body ul.products li.product .lifko-sale-badge--regular {
        font-size: 10px !important;
    }
}

@media (max-width: 420px) {
    body ul.products li.product .onsale.lifko-sale-badge,
    body ul.products li.product .lifko-sale-badge {
        top: -6px !important;
        right: -6px !important;
        width: 46px !important;
        height: 41px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        min-height: 41px !important;
        padding: 0 3px !important;
        border-radius: 13px !important;
        font-size: 10px !important;
    }

    body ul.products li.product .lifko-sale-badge--regular {
        font-size: 9.5px !important;
    }
}

/* ==========================================================
   HEGEN – עיצוב מלא לעמוד סל הקניות בלבד

   מיועד לעמוד WooCommerce הקלאסי:
   [woocommerce_cart]

   כולל:
   - פונט Rubik
   - עיצוב נקי ורספונסיבי
   - תיקון פלוס ומינוס
   - תיקון הודעות WooCommerce
   - מרווח מתחת להדר קבוע
   - סיכום סל וכפתור תשלום מעוצבים
========================================================== */

:root {
    --hegen-cart-blue: #E9F3FF;
    --hegen-cart-caramel: #AA6C45;
    --hegen-cart-caramel-hover: #925A39;
    --hegen-cart-white: #FFFFFF;
    --hegen-cart-dark: #343434;
    --hegen-cart-pink: #E6AAAB;
    --hegen-cart-pink-hover: #D89193;
    --hegen-cart-ivory: #F1F0EA;
    --hegen-cart-border: #E7E3DE;
    --hegen-cart-border-soft: #EEE7E2;
    --hegen-cart-muted: #77736F;

    --hegen-cart-radius: 24px;
    --hegen-cart-radius-small: 12px;

    /* מרווחים בטוחים מתחת להדר הקבוע */
    --hegen-cart-tablet-header-space: 120px;
    --hegen-cart-mobile-header-space: 100px;

    --hegen-cart-shadow:
        0 12px 34px rgba(52, 52, 52, 0.07);
}


/* ==========================================================
   פונט Rubik בכל עמוד הסל
========================================================== */

body.woocommerce-cart,
body.woocommerce-cart button,
body.woocommerce-cart input,
body.woocommerce-cart select,
body.woocommerce-cart textarea,
body.woocommerce-cart table,
body.woocommerce-cart th,
body.woocommerce-cart td,
body.woocommerce-cart a,
body.woocommerce-cart span,
body.woocommerce-cart label,
body.woocommerce-cart .button,
body.woocommerce-cart .amount,
body.woocommerce-cart .quantity,
body.woocommerce-cart .entry-title,
body.woocommerce-cart .cart_totals h2 {
    font-family: "Rubik", sans-serif !important;
}


/* ==========================================================
   בסיס עמוד הסל
========================================================== */

body.woocommerce-cart {
    background: var(--hegen-cart-white);
    color: var(--hegen-cart-dark);
}

body.woocommerce-cart .site-content,
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content {
    background: var(--hegen-cart-white);
}

body.woocommerce-cart .site-main {
    width: min(1320px, calc(100% - 50px));
    max-width: none;

    margin-inline: auto;

    padding-top: 48px;
    padding-bottom: 90px;
}

body.woocommerce-cart .entry-content {
    width: 100%;
    max-width: none;
}


/* ==========================================================
   כותרת עמוד הסל
========================================================== */

body.woocommerce-cart .entry-header {
    position: relative;
    z-index: 1;

    margin: 0 0 34px;

    text-align: center;
}

body.woocommerce-cart .entry-title {
    margin: 0;

    color: var(--hegen-cart-dark);

    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}


/* ==========================================================
   מבנה ראשי: מוצרים + סיכום סל
========================================================== */

body.woocommerce-cart .woocommerce {
    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(330px, 0.72fr);

    gap: 30px;
    align-items: start;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce > .woocommerce-message,
body.woocommerce-cart .woocommerce > .woocommerce-info,
body.woocommerce-cart .woocommerce > .woocommerce-error {
    grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;

    margin: 0;

    border: 0;
    border-radius: 0;

    background: var(--hegen-cart-white);

    overflow: visible;
    box-shadow: none;
}

body.woocommerce-cart .cart-collaterals {
    grid-column: 2;

    width: 100%;
    margin: 0;
}


/* ==========================================================
   הודעות WooCommerce

   כולל הודעת:
   - הסל עודכן
   - הקופון הוחל
   - שגיאות ומידע

   האייקון מקבל שטח נפרד ולא מכסה את המלל.
========================================================== */

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    position: relative;

    min-height: 58px;

    margin: 0 0 24px !important;

    padding-top: 17px !important;
    padding-bottom: 17px !important;
    padding-right: 58px !important;
    padding-left: 20px !important;

    display: flex;
    align-items: center;

    border: 1px solid var(--hegen-cart-border) !important;
    border-top: 1px solid var(--hegen-cart-border) !important;
    border-radius: var(--hegen-cart-radius-small);

    background: var(--hegen-cart-white);
    color: var(--hegen-cart-dark);

    font-size: 14px;
    line-height: 1.5;

    box-shadow:
        0 7px 22px rgba(52, 52, 52, 0.05);
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
    position: absolute !important;

    top: 50% !important;
    right: 20px !important;
    left: auto !important;

    margin: 0 !important;

    transform: translateY(-50%);

    font-size: 17px;
    line-height: 1;

    pointer-events: none;
}

body.woocommerce-cart .woocommerce-message::before {
    color: var(--hegen-cart-caramel);
}

body.woocommerce-cart .woocommerce-info::before {
    color: var(--hegen-cart-caramel);
}

body.woocommerce-cart .woocommerce-error::before {
    color: var(--hegen-cart-pink);
}

/* כפתור שמופיע לעיתים בתוך הודעת WooCommerce */
body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-cart .woocommerce-info .button,
body.woocommerce-cart .woocommerce-error .button {
    margin-right: auto !important;
    margin-left: 0 !important;
}


/* ==========================================================
   טבלת הסל – מבנה נקי
========================================================== */

body.woocommerce-cart table.shop_table {
    width: 100%;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;

    background: transparent;
}

body.woocommerce-cart table.shop_table thead {
    display: none;
}

body.woocommerce-cart table.shop_table tr.cart_item {
    position: relative;
}

body.woocommerce-cart table.shop_table td {
    padding: 24px 16px !important;

    border: 0 !important;
    border-bottom:
        1px solid var(--hegen-cart-border-soft) !important;

    background: var(--hegen-cart-white);
    color: var(--hegen-cart-dark);

    text-align: center;
    vertical-align: middle;
}

body.woocommerce-cart
table.shop_table
tr.cart_item:last-child
td {
    border-bottom:
        1px solid var(--hegen-cart-border-soft) !important;
}


/* ==========================================================
   תמונת המוצר
========================================================== */

body.woocommerce-cart td.product-thumbnail {
    width: 112px;
}

body.woocommerce-cart td.product-thumbnail img {
    display: block !important;

    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    aspect-ratio: 1 / 1 !important;

    margin-inline: auto;

    border-radius: 12px;

    background: var(--hegen-cart-blue);

    object-fit: cover !important;
    object-position: center center;
    box-sizing: border-box;
    box-shadow: none;
}


/* ==========================================================
   שם המוצר
========================================================== */

body.woocommerce-cart td.product-name {
    min-width: 210px;

    color: var(--hegen-cart-dark);

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

body.woocommerce-cart td.product-name a {
    color: var(--hegen-cart-dark);
    text-decoration: none;

    transition: color 0.2s ease;
}

body.woocommerce-cart td.product-name a:hover {
    color: var(--hegen-cart-caramel);
}

body.woocommerce-cart td.product-name dl.variation {
    margin-top: 8px;

    color: var(--hegen-cart-muted);

    font-size: 13px;
    font-weight: 400;
}

body.woocommerce-cart td.product-name dl.variation dt,
body.woocommerce-cart td.product-name dl.variation dd {
    display: inline;
    float: none;

    margin: 0;
}


/* ==========================================================
   מחיר וסכום ביניים
========================================================== */

body.woocommerce-cart td.product-price {
    color: var(--hegen-cart-muted);

    font-size: 14px;
    font-weight: 400;

    white-space: nowrap;
}

body.woocommerce-cart td.product-subtotal {
    color: var(--hegen-cart-dark);

    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;
}

body.woocommerce-cart .amount {
    color: inherit;
}


/* ==========================================================
   כפתור הסרת מוצר
========================================================== */

body.woocommerce-cart td.product-remove {
    width: 56px;
}

body.woocommerce-cart td.product-remove a.remove {
    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--hegen-cart-pink);
    border-radius: 50%;

    background: transparent;
    color: var(--hegen-cart-pink) !important;

    font-size: 20px;
    font-weight: 400;
    line-height: 1;

    transition:
        background-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

body.woocommerce-cart td.product-remove a.remove:hover {
    background: var(--hegen-cart-pink);
    color: var(--hegen-cart-white) !important;

    transform: rotate(90deg);
}


/* ==========================================================
   כמות – פלוס, מינוס ושדה כמות
========================================================== */

body.woocommerce-cart td.product-quantity {
    min-width: 135px;
}

body.woocommerce-cart td.product-quantity .quantity {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;

    gap: 3px;

    overflow: visible !important;
}


/* שדה הכמות */
body.woocommerce-cart .quantity input.qty {
    width: 39px !important;
    height: 35px !important;
    min-width: 39px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #D9D4CF !important;
    border-radius: 9px !important;

    background: var(--hegen-cart-white) !important;
    color: var(--hegen-cart-dark) !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 35px !important;
    text-align: center !important;

    box-sizing: border-box !important;
    box-shadow: none !important;
}


/* פלוס ומינוס */
body.woocommerce-cart table.shop_table td.product-quantity .quantity .plus,
body.woocommerce-cart table.shop_table td.product-quantity .quantity .minus {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #D9D4CF !important;
    border-top: 1px solid #D9D4CF !important;
    border-right: 1px solid #D9D4CF !important;
    border-bottom: 1px solid #D9D4CF !important;
    border-left: 1px solid #D9D4CF !important;
    border-inline-start: 1px solid #D9D4CF !important;
    border-inline-end: 1px solid #D9D4CF !important;
    border-radius: 9px !important;

    background: var(--hegen-cart-white) !important;
    color: var(--hegen-cart-dark) !important;

    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    box-sizing: border-box !important;
    box-shadow: none !important;

    cursor: pointer;

    transition:
        border-color 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

body.woocommerce-cart table.shop_table td.product-quantity .quantity .plus:hover,
body.woocommerce-cart table.shop_table td.product-quantity .quantity .minus:hover {
    border-color: var(--hegen-cart-caramel) !important;

    background: var(--hegen-cart-ivory) !important;
    color: var(--hegen-cart-dark) !important;
}


/* ==========================================================
   שורת קופון ועדכון סל
========================================================== */

body.woocommerce-cart table.shop_table td.actions {
    margin-top: 8px;

    padding: 20px 0 0 !important;

    border: 0 !important;

    background: transparent;
}

body.woocommerce-cart table.shop_table td.actions::after {
    content: "";

    display: table;
    clear: both;
}

body.woocommerce-cart table.shop_table td.actions .coupon {
    display: flex;
    align-items: center;

    gap: 9px;
}

body.woocommerce-cart table.shop_table td.actions .coupon label {
    display: none;
}

body.woocommerce-cart
table.shop_table
td.actions
.coupon
input.input-text {
    width: 185px !important;
    min-height: 46px;

    margin: 0 !important;
    padding: 10px 17px !important;

    border: 1px solid var(--hegen-cart-border) !important;
    border-radius: 999px !important;

    background: #F7F6F3;
    color: var(--hegen-cart-dark);

    font-size: 14px;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart
table.shop_table
td.actions
.coupon
input.input-text:focus {
    border-color:
        var(--hegen-cart-caramel) !important;

    outline: none;

    box-shadow:
        0 0 0 3px rgba(170, 108, 69, 0.08) !important;
}


/* ==========================================================
   כפתורים כלליים בעמוד הסל
========================================================== */

body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button {
    min-height: 46px;

    padding: 11px 24px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: var(--hegen-cart-caramel) !important;
    color: var(--hegen-cart-white) !important;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;

    box-shadow: none !important;

    transition:
        background-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce input.button:hover {
    background:
        var(--hegen-cart-caramel-hover) !important;

    color: var(--hegen-cart-white) !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(170, 108, 69, 0.18) !important;
}


/* כפתור עדכון סל */
body.woocommerce-cart
table.shop_table
td.actions
button[name="update_cart"] {
    background: var(--hegen-cart-dark) !important;
}

body.woocommerce-cart
table.shop_table
td.actions
button[name="update_cart"]:hover {
    background: #202020 !important;
}

body.woocommerce-cart
table.shop_table
td.actions
button:disabled,
body.woocommerce-cart
table.shop_table
td.actions
button[disabled] {
    opacity: 0.45 !important;

    cursor: not-allowed;

    transform: none !important;
    box-shadow: none !important;
}


/* ==========================================================
   סיכום סל
========================================================== */

body.woocommerce-cart .cart_totals {
    position: sticky;
    top: 120px;

    width: 100% !important;
    float: none !important;

    /*
     * הגדלת הרווח התחתון משאירה מרווח נעים
     * בין כפתור התשלום לבין מסגרת הכרטיס.
     */
    padding: 26px 26px 32px;

    border: 1px solid var(--hegen-cart-border);
    border-radius: 0;

    background: var(--hegen-cart-white);

    box-shadow:
        0 10px 30px rgba(52, 52, 52, 0.07);

    box-sizing: border-box;
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 -26px 20px;
    padding: 0 26px 20px;

    border-bottom:
        1px solid var(--hegen-cart-border-soft);

    color: var(--hegen-cart-dark);

    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

body.woocommerce-cart .cart_totals table {
    width: 100%;

    margin: 0 0 22px !important;

    border: 0 !important;
    border-collapse: collapse;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
    padding: 13px 0 !important;

    border: 0 !important;
    border-bottom:
        1px solid var(--hegen-cart-border-soft) !important;

    background: transparent !important;
    color: var(--hegen-cart-dark);

    vertical-align: middle;
}

body.woocommerce-cart .cart_totals table th {
    width: 48%;

    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

body.woocommerce-cart .cart_totals table td {
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

body.woocommerce-cart .cart_totals tr.order-total th,
body.woocommerce-cart .cart_totals tr.order-total td {
    padding-top: 18px !important;
    padding-bottom: 10px !important;

    border-bottom: 0 !important;

    font-size: 21px;
    font-weight: 700;
}

body.woocommerce-cart
.cart_totals
.woocommerce-shipping-methods {
    margin: 0;
    padding: 0;

    list-style: none;
}

body.woocommerce-cart
.cart_totals
.woocommerce-shipping-methods
li {
    margin-bottom: 7px;
}

body.woocommerce-cart
.cart_totals
input[type="radio"] {
    accent-color: var(--hegen-cart-caramel);
}


/* ==========================================================
   כפתור מעבר לתשלום

   קטן יותר מרוחב הכרטיס ומשאיר מרווח:
   - מימין
   - משמאל
   - מתחת לכפתור
========================================================== */

body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 !important;
}

body.woocommerce-cart
.wc-proceed-to-checkout
a.checkout-button {
    width: calc(100% - 20px);
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto 2px !important;

    padding:
        10px 20px !important;

    border-radius: 999px !important;

    background: var(--hegen-cart-pink) !important;

    font-size: 16px;
    font-weight: 700;

    box-sizing: border-box;
}

body.woocommerce-cart
.wc-proceed-to-checkout
a.checkout-button:hover {
    background:
        var(--hegen-cart-pink-hover) !important;
}


/* ==========================================================
   סל ריק
========================================================== */

body.woocommerce-cart .cart-empty {
    padding: 40px 24px;

    border-radius: var(--hegen-cart-radius);

    background: var(--hegen-cart-blue);
    color: var(--hegen-cart-dark);

    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

body.woocommerce-cart .return-to-shop {
    text-align: center;
}


/* ==========================================================
   טאבלט
========================================================== */

@media (max-width: 1024px) {

    body.woocommerce-cart .site-main {
        width: min(100% - 32px, 1100px);

        padding-top:
            var(--hegen-cart-tablet-header-space) !important;

        padding-bottom: 75px;
    }

    body.woocommerce-cart .entry-header {
        margin-top: 0 !important;
        margin-bottom: 28px;
    }

    body.woocommerce-cart .woocommerce {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(285px, 0.7fr);

        gap: 20px;
    }

    body.woocommerce-cart table.shop_table td {
        padding-inline: 10px !important;
    }

    body.woocommerce-cart td.product-thumbnail {
        width: 86px;
    }

    body.woocommerce-cart td.product-thumbnail img {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        min-height: 68px !important;
        max-width: 68px !important;
        max-height: 68px !important;

        border-radius: 10px;
    }

    body.woocommerce-cart td.product-name {
        min-width: 150px;

        font-size: 14px;
    }

    body.woocommerce-cart td.product-quantity {
        min-width: 115px;
    }

    body.woocommerce-cart .cart_totals {
        top: 90px;

        padding:
            22px 22px 28px;
    }

    body.woocommerce-cart .cart_totals h2 {
        margin:
            0 -22px 18px;

        padding:
            0 22px 18px;

        font-size: 23px;
    }

    body.woocommerce-cart
    .wc-proceed-to-checkout
    a.checkout-button {
        width: calc(100% - 16px);
        min-height: 48px;

        font-size: 15px;
    }
}


/* ==========================================================
   מובייל
========================================================== */

@media (max-width: 767px) {

    body.woocommerce-cart .site-main {
        width: calc(100% - 20px);

        padding-top:
            var(--hegen-cart-mobile-header-space) !important;

        padding-bottom: 120px;
    }

    body.woocommerce-cart .entry-header {
        position: relative;
        z-index: 1;

        margin-top: 0 !important;
        margin-bottom: 24px !important;

        padding-top: 0 !important;
    }

    body.woocommerce-cart .entry-title {
        display: block !important;

        margin: 0 !important;

        font-size: 30px;
        line-height: 1.2;

        visibility: visible !important;
        opacity: 1 !important;
    }

    body.woocommerce-cart .woocommerce {
        display: block;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        margin-bottom: 18px;

        border-radius: 0;
    }


    /* הודעות WooCommerce במובייל */

    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-error {
        min-height: 54px;

        padding-top: 14px !important;
        padding-bottom: 14px !important;
        padding-right: 50px !important;
        padding-left: 14px !important;

        font-size: 14px;
    }

    body.woocommerce-cart .woocommerce-message::before,
    body.woocommerce-cart .woocommerce-info::before,
    body.woocommerce-cart .woocommerce-error::before {
        right: 16px !important;

        font-size: 15px;
    }


    /* מוצרי הסל */

    body.woocommerce-cart
    table.shop_table_responsive
    thead {
        display: none;
    }

    body.woocommerce-cart
    table.shop_table_responsive
    tr.cart_item {
        position: relative;

        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);

        gap: 5px 13px;

        padding: 20px 13px;

        border-bottom:
            1px solid var(--hegen-cart-border-soft);
    }

    body.woocommerce-cart
    table.shop_table_responsive
    tr.cart_item:last-child {
        border-bottom:
            1px solid var(--hegen-cart-border-soft);
    }

    body.woocommerce-cart
    table.shop_table_responsive
    tr.cart_item
    td {
        display: block !important;

        width: auto !important;
        min-height: 0;

        padding: 2px 0 !important;

        border: 0 !important;

        background: transparent;

        text-align: right !important;
    }

    body.woocommerce-cart
    table.shop_table_responsive
    tr.cart_item
    td::before {
        display: none !important;
    }

    body.woocommerce-cart td.product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 5;

        width: auto;
    }

    body.woocommerce-cart td.product-thumbnail img {
        width: 88px !important;
        height: 88px !important;
        min-width: 88px !important;
        min-height: 88px !important;
        max-width: 88px !important;
        max-height: 88px !important;

        margin: 0;

        border-radius: 10px;
    }

    body.woocommerce-cart td.product-name {
        grid-column: 2;
        grid-row: 1;

        min-width: 0;

        padding-left: 34px !important;

        font-size: 15px;
        font-weight: 700;
    }

    body.woocommerce-cart td.product-price {
        grid-column: 2;
        grid-row: 2;

        font-size: 13px;
        font-weight: 400;
    }

    body.woocommerce-cart td.product-quantity {
        grid-column: 2;
        grid-row: 3;

        min-width: 0;
    }

    body.woocommerce-cart
    td.product-quantity
    .quantity {
        justify-content: flex-start;
    }

    body.woocommerce-cart td.product-subtotal {
        grid-column: 2;
        grid-row: 4;

        margin-top: 2px;

        font-size: 16px;
        font-weight: 700;
    }

    body.woocommerce-cart td.product-remove {
        position: absolute;
        top: 14px;
        left: 13px;

        width: auto !important;
    }

    body.woocommerce-cart
    td.product-remove
    a.remove {
        width: 27px;
        height: 27px;

        font-size: 18px;
    }


    /* אזור קופון */

    body.woocommerce-cart
    table.shop_table
    td.actions {
        display: block !important;

        padding: 18px 0 0 !important;
    }

    body.woocommerce-cart
    table.shop_table
    td.actions
    .coupon {
        width: 100%;

        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap: 8px;
    }

    body.woocommerce-cart
    table.shop_table
    td.actions
    .coupon
    input.input-text {
        width: 100% !important;
        min-width: 0;
    }

    body.woocommerce-cart
    table.shop_table
    td.actions
    .coupon
    button {
        min-width: 105px;

        padding-inline: 15px !important;
    }

    body.woocommerce-cart
    table.shop_table
    td.actions
    button[name="update_cart"] {
        width: 100%;

        margin-top: 10px;
    }


    /* סיכום סל */

    body.woocommerce-cart .cart_totals {
        position: static;

        padding:
            23px 18px 28px;

        border-radius: 0;
    }

    body.woocommerce-cart .cart_totals h2 {
        margin:
            0 -18px 18px;

        padding:
            0 18px 18px;

        font-size: 22px;
    }

    body.woocommerce-cart
    .cart_totals
    table
    th,
    body.woocommerce-cart
    .cart_totals
    table
    td {
        font-size: 14px;
    }

    body.woocommerce-cart
    .cart_totals
    tr.order-total
    th,
    body.woocommerce-cart
    .cart_totals
    tr.order-total
    td {
        font-size: 18px;
    }


    /* כפתור תשלום במובייל */

    body.woocommerce-cart
    .wc-proceed-to-checkout
    a.checkout-button {
        width: calc(100% - 18px);
        min-height: 50px;

        margin:
            0 auto 2px !important;

        font-size: 16px;
    }
}


/* ==========================================================
   מובייל קטן
========================================================== */

@media (max-width: 420px) {

    body.woocommerce-cart .site-main {
        width: calc(100% - 14px);

        padding-top:
            var(--hegen-cart-mobile-header-space) !important;
    }

    body.woocommerce-cart
    table.shop_table_responsive
    tr.cart_item {
        grid-template-columns:
            76px
            minmax(0, 1fr);

        gap: 4px 10px;

        padding-inline: 10px;
    }

    body.woocommerce-cart
    td.product-thumbnail
    img {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        min-height: 76px !important;
        max-width: 76px !important;
        max-height: 76px !important;

        border-radius: 9px;
    }

    body.woocommerce-cart td.product-name {
        font-size: 14px;
    }

    body.woocommerce-cart
    table.shop_table
    td.actions
    .coupon {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart
    table.shop_table
    td.actions
    .coupon
    button {
        width: 100%;
    }

    body.woocommerce-cart
    .wc-proceed-to-checkout
    a.checkout-button {
        width: calc(100% - 14px);
    }
}

body.woocommerce-cart .woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .woocommerce-cart .cart-collaterals .cross-sells,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cross-sells {
    padding-bottom: 2em !important;
}




/* ==========================================================
   HEGEN – תיקון סופי: משלוחים ברוחב מלא בסיכום הסל

   הסיבה לתיקון:
   סיכום הסל המקורי מחלק th/td לשתי עמודות, ולכן אפשרויות
   המשלוח מקבלות רק חלק מרוחב הכרטיס ונשברות לשורות קצרות.

   כאן רק טבלת סיכום הסל הופכת למבנה Block נשלט:
   - סכום ביניים וסה"כ נשארים בשתי עמודות.
   - "משלוח" מקבל שורה מלאה.
   - אפשרויות המשלוח מקבלות שורה מלאה מתחתיו.
========================================================== */

/* הטבלה הפנימית של סיכום הסל */
body.woocommerce-cart .cart_totals table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* סכום ביניים וסה"כ נשארים בשתי עמודות */
body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal > th,
body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal > td,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total > th,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

/* כותרות מימין */
body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal > th,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total > th {
    grid-column: 1 !important;
    text-align: right !important;
}

/* סכומים משמאל */
body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal > td,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total > td {
    grid-column: 2 !important;
    text-align: left !important;
}

/* שורת המשלוח תופסת את כל הרוחב */
body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals.shipping {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 0 18px !important;
    border-bottom: 1px solid var(--hegen-cart-border-soft) !important;
    box-sizing: border-box !important;
}

/* כותרת "משלוח" – שורה מלאה */
body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals.shipping > th {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 10px !important;
    border: 0 !important;
    text-align: right !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

/* התא עם כל אפשרויות המשלוח – שורה מלאה */
body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals.shipping > td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: right !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

/* רשימת אפשרויות המשלוח */
body.woocommerce-cart .cart_totals #shipping_method,
body.woocommerce-cart .cart_totals ul#shipping_method,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

/* כל שיטת משלוח – הרדיו מימין והטקסט מקבל את כל יתרת הרוחב */
body.woocommerce-cart .cart_totals #shipping_method > li,
body.woocommerce-cart .cart_totals ul#shipping_method > li,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods > li {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 7px !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    text-indent: 0 !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

/* כפתור הרדיו */
body.woocommerce-cart .cart_totals #shipping_method > li > input[type="radio"],
body.woocommerce-cart .cart_totals ul#shipping_method > li > input[type="radio"],
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods > li > input[type="radio"] {
    position: static !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* טקסט אפשרות המשלוח */
body.woocommerce-cart .cart_totals #shipping_method > li > label,
body.woocommerce-cart .cart_totals ul#shipping_method > li > label,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods > li > label {
    display: block !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

/* מחיר משלוח לא נשבר באמצע */
body.woocommerce-cart .cart_totals #shipping_method .amount,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods .amount {
    white-space: nowrap !important;
    font-weight: 700 !important;
}

/* מידע נוסף מתחת לרשימת המשלוחים */
body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 11px 0 0 !important;
    padding: 0 !important;
    text-align: right !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

/* ==========================================================
   סוף תיקון סופי: משלוחים ברוחב מלא בסיכום הסל – HEGEN
========================================================== */

/* ==========================================================
   HEGEN – תיקון מובייל לסיכום הסל

   פותר:
   - כותרות כפולות של "סכום ביניים" ו-"סה"כ" שנוצרות מ-::before
     של טבלת WooCommerce הרספונסיבית.
   - שבירת סכומים ארוכים במובייל.
   - שמירת רוחב קבוע ובטוח לעמודת הסכום, גם בסכומים של 6–7 ספרות.
========================================================== */

@media (max-width: 767px) {

    /* WooCommerce/Astra מוסיפים במובייל data-title דרך ::before.
       בסיכום הסל כבר קיים TH אמיתי, ולכן ה-::before יוצר כותרת כפולה. */
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.cart-subtotal > td::before,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.order-total > td::before,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.woocommerce-shipping-totals.shipping > td::before {
        content: none !important;
        display: none !important;
    }

    /* שתי עמודות יציבות:
       הכותרת מקבלת את יתרת המקום והסכום מקבל לפחות 145px. */
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.cart-subtotal,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.order-total {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(145px, max-content) !important;
        column-gap: 12px !important;
    }

    /* הכותרת יכולה להתכווץ בלי לדחוף את הסכום לשורה חדשה. */
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.cart-subtotal > th,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.order-total > th {
        min-width: 0 !important;
        white-space: normal !important;
    }

    /* הסכום נשאר תמיד בשורה אחת. */
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.cart-subtotal > td,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.order-total > td {
        min-width: 145px !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.cart-subtotal > td .amount,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.order-total > td .amount {
        display: inline-block !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 360px) {
    /* במסכים צרים במיוחד שומרים עדיין מקום מכובד לסכום. */
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.cart-subtotal,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.order-total {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(132px, max-content) !important;
        column-gap: 8px !important;
    }

    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.cart-subtotal > td,
    body.woocommerce-cart
    .cart_totals
    table.shop_table
    tr.order-total > td {
        min-width: 132px !important;
    }
}

/* ==========================================================
   סוף תיקון מובייל לסיכום הסל – HEGEN
========================================================== */


/* ==========================================================
   סוף קוד עיצוב עמוד סל הקניות – HEGEN
========================================================== */


/* ==========================================================
   תחילת קוד עיצוב עמוד התשלום – HEGEN
   קוד מלא להחלפה מלאה של קוד עמוד התשלום הקודם
========================================================== */

:root {
    --hegen-checkout-caramel: #AA6C45;
    --hegen-checkout-caramel-hover: #925A39;
    --hegen-checkout-pink: #E6AAAB;
    --hegen-checkout-pink-hover: #D89193;
    --hegen-checkout-white: #FFFFFF;
    --hegen-checkout-dark: #343434;
    --hegen-checkout-muted: #77736F;
    --hegen-checkout-ivory: #F7F6F3;
    --hegen-checkout-border: #E7E3DE;
    --hegen-checkout-border-soft: #EEE7E2;
    --hegen-checkout-radius: 22px;
    --hegen-checkout-radius-small: 12px;
    --hegen-checkout-desktop-header-space: 48px;
    --hegen-checkout-tablet-header-space: 120px;
    --hegen-checkout-mobile-header-space: 100px;
}

body.woocommerce-checkout,
body.woocommerce-checkout button,
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-checkout table,
body.woocommerce-checkout th,
body.woocommerce-checkout td,
body.woocommerce-checkout a,
body.woocommerce-checkout span,
body.woocommerce-checkout label,
body.woocommerce-checkout .button,
body.woocommerce-checkout .amount,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 {
    font-family: "Rubik", sans-serif !important;
}

body.woocommerce-checkout {
    background: var(--hegen-checkout-white);
    color: var(--hegen-checkout-dark);
}

body.woocommerce-checkout .site-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content {
    background: var(--hegen-checkout-white);
}

body.woocommerce-checkout .site-main {
    width: min(1320px, calc(100% - 50px));
    max-width: none !important;
    margin-inline: auto;
    padding-top: var(--hegen-checkout-desktop-header-space) !important;
    padding-bottom: 100px;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce {
    width: 100%;
    max-width: none;
}

body.woocommerce-checkout .entry-header {
    position: relative;
    z-index: 2;
    margin: 0 0 34px !important;
    padding: 0 !important;
    text-align: center;
}

body.woocommerce-checkout .entry-title {
    display: block !important;
    margin: 0 !important;
    color: var(--hegen-checkout-dark);
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    visibility: visible !important;
    opacity: 1 !important;
}

body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
    position: relative;
    width: 100%;
    margin: 0 0 28px !important;
    padding: 17px 54px 17px 20px !important;
    border: 1px solid var(--hegen-checkout-border) !important;
    border-top: 0 !important;
    border-radius: var(--hegen-checkout-radius-small);
    background: var(--hegen-checkout-white);
    color: var(--hegen-checkout-dark);
    line-height: 1.6;
    box-sizing: border-box;
    box-shadow: 0 7px 22px rgba(52, 52, 52, 0.05);
}

body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-error::before {
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    left: auto !important;
    margin: 0 !important;
    transform: translateY(-50%);
}

body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before {
    color: var(--hegen-checkout-caramel);
}

body.woocommerce-checkout .woocommerce-error::before {
    color: var(--hegen-checkout-pink);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a {
    color: var(--hegen-checkout-caramel);
    font-weight: 500;
    text-decoration: none;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a:hover {
    color: var(--hegen-checkout-caramel-hover);
}

body.woocommerce-checkout form.checkout_coupon {
    width: 100% !important;
    max-width: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -10px 0 30px !important;
    padding: 20px !important;
    border: 1px solid var(--hegen-checkout-border) !important;
    border-radius: var(--hegen-checkout-radius-small);
    background: var(--hegen-checkout-ivory);
    box-sizing: border-box;
}

body.woocommerce-checkout form.checkout_coupon p {
    margin: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon .form-row-first {
    flex: 1;
    width: auto !important;
    float: none !important;
}

body.woocommerce-checkout form.checkout_coupon .form-row-last {
    width: auto !important;
    float: none !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
    width: 100%;
    margin: 0;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    box-sizing: border-box;
}

body.woocommerce-checkout #customer_details h3 {
    margin: 0 0 22px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--hegen-checkout-border-soft) !important;
    color: var(--hegen-checkout-dark);
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-align: right;
}

body.woocommerce-checkout #order_review_heading {
    margin-bottom: 16px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--hegen-checkout-border-soft) !important;
    color: var(--hegen-checkout-dark);
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-align: right;
}

@media (min-width: 922px) {
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
        width: 100%;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper > .form-row {
        width: 100% !important;
        max-width: none !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    body.woocommerce-checkout #free_delivery_field,
    body.woocommerce-checkout #order_comments_field {
        grid-column: 1 / -1;
    }
}

body.woocommerce-checkout #free_delivery_field {
    padding-top: 5px !important;
    color: var(--hegen-checkout-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

body.woocommerce-checkout .woocommerce form .form-row label {
    display: block;
    margin: 0 0 7px;
    color: var(--hegen-checkout-dark);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: right;
}

body.woocommerce-checkout .woocommerce form .form-row .required {
    color: var(--hegen-checkout-caramel);
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .select2-container .select2-selection--single {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 11px 15px !important;
    border: 1px solid var(--hegen-checkout-border) !important;
    border-radius: 9px !important;
    background: var(--hegen-checkout-white) !important;
    color: var(--hegen-checkout-dark) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-checkout .woocommerce textarea {
    min-height: 125px;
    resize: vertical;
}

body.woocommerce-checkout .woocommerce input.input-text::placeholder,
body.woocommerce-checkout .woocommerce textarea::placeholder {
    color: #99948F;
    opacity: 1;
}

body.woocommerce-checkout .woocommerce input.input-text:focus,
body.woocommerce-checkout .woocommerce textarea:focus,
body.woocommerce-checkout .woocommerce select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single {
    border-color: var(--hegen-checkout-caramel) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(170, 108, 69, 0.08) !important;
}

body.woocommerce-checkout .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    padding: 0 15px !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding: 0 0 0 28px !important;
    color: var(--hegen-checkout-dark);
    line-height: 48px !important;
    text-align: right;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: auto;
    left: 12px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
}

body.woocommerce-checkout .woocommerce-invalid input.input-text,
body.woocommerce-checkout .woocommerce-invalid textarea,
body.woocommerce-checkout .woocommerce-invalid select,
body.woocommerce-checkout .woocommerce-invalid .select2-selection {
    border-color: var(--hegen-checkout-pink) !important;
    box-shadow: 0 0 0 3px rgba(230, 170, 171, 0.12) !important;
}

body.woocommerce-checkout #ship-to-different-address {
    margin-top: 30px !important;
}

body.woocommerce-checkout #ship-to-different-address label {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    color: var(--hegen-checkout-dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
    accent-color: var(--hegen-checkout-caramel);
}

body.woocommerce-checkout #order_review {
    padding: 25px !important;
    border: 1px solid var(--hegen-checkout-border) !important;
    border-radius: var(--hegen-checkout-radius) !important;
    background: var(--hegen-checkout-white);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(52, 52, 52, 0.07);
}

body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    border: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    background: transparent;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
    min-width: 0 !important;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: normal;
}

body.woocommerce-checkout #order_review table.shop_table thead th {
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--hegen-checkout-border-soft) !important;
    background: transparent;
    color: var(--hegen-checkout-dark);
    font-size: 14px;
    font-weight: 600;
}

body.woocommerce-checkout #order_review table.shop_table .product-name {
    width: 64%;
    padding-left: 14px !important;
    text-align: right;
}

body.woocommerce-checkout #order_review table.shop_table .product-total {
    width: 36%;
    text-align: left;
}

body.woocommerce-checkout #order_review table.shop_table tbody td,
body.woocommerce-checkout #order_review table.shop_table tfoot th,
body.woocommerce-checkout #order_review table.shop_table tfoot td {
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--hegen-checkout-border-soft) !important;
    background: transparent !important;
    color: var(--hegen-checkout-dark);
    font-size: 14px;
    line-height: 1.5;
    vertical-align: top;
}

body.woocommerce-checkout #order_review table.shop_table tfoot th {
    padding-left: 14px !important;
    text-align: right;
}

body.woocommerce-checkout #order_review table.shop_table tfoot td {
    text-align: left;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td {
    padding-top: 19px !important;
    padding-bottom: 10px !important;
    border-bottom: 0 !important;
    font-size: 20px;
    font-weight: 700;
}

body.woocommerce-checkout #order_review .ast-product-image,
body.woocommerce-checkout #order_review .ast-product-name {
    width: auto !important;
    max-width: 100% !important;
}

body.woocommerce-checkout #order_review .ast-product-name {
    font-weight: 500;
}

body.woocommerce-checkout #shipping_method {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-checkout #shipping_method li {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start !important;
    gap: 8px !important;
    margin: 0 0 11px !important;
    padding: 0 !important;
    text-indent: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout #shipping_method li:last-child {
    margin-bottom: 0 !important;
}

body.woocommerce-checkout #shipping_method input[type="radio"] {
    grid-column: 1;
    width: 14px;
    height: 14px;
    margin: 3px 0 0 !important;
}

body.woocommerce-checkout #shipping_method label {
    grid-column: 2;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: var(--hegen-checkout-dark);
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.55 !important;
    text-align: right !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.woocommerce-checkout #shipping_method label .amount {
    font-weight: 700;
    white-space: nowrap;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals.shipping th,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals.shipping td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals.shipping th {
    padding: 16px 0 8px !important;
    border-bottom: 0 !important;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals.shipping td {
    padding: 0 0 16px !important;
}

body.woocommerce-checkout #payment {
    margin-top: 6px;
    border-radius: 16px;
    background: var(--hegen-checkout-ivory) !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    margin: 0 !important;
    padding: 18px !important;
    border-bottom: 1px solid var(--hegen-checkout-border) !important;
}

/* ==========================================================
   Tranzila / WooCommerce – שמירת אמצעי תשלום

   התוסף מוסיף את השורה .woocommerce-SavedPaymentMethods-saveNew
   עם label "שמירה להמשך". בחלק מה-CSS של התבנית/התוסף ה-label
   עלול להיעלם למרות שהוא קיים ב-HTML. הכללים הבאים מכריחים
   תצוגה תקינה של הצ'קבוקס והטקסט, ללא השפעה על שדות אחרים.
========================================================== */

body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    color: var(--hegen-checkout-dark) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: right !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"],
body.woocommerce-checkout #payment #wc-tranzila-new-payment-method {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    accent-color: var(--hegen-checkout-caramel);
}

body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew label,
body.woocommerce-checkout #payment label[for="wc-tranzila-new-payment-method"] {
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--hegen-checkout-dark) !important;
    font-family: "Rubik", sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: right !important;
    text-indent: 0 !important;
    white-space: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
}

body.woocommerce-checkout #payment .woocommerce-info {
    min-height: 0;
    margin: 0 !important;
    padding: 14px !important;
    border: 0 !important;
    border-radius: 10px;
    background: var(--hegen-checkout-white);
    box-shadow: none;
}

body.woocommerce-checkout #payment .woocommerce-info::before {
    display: none !important;
}

body.woocommerce-checkout #payment .place-order {
    margin: 0 !important;
    padding: 20px 18px 18px !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    color: var(--hegen-checkout-muted);
    font-size: 12px;
    line-height: 1.7;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--hegen-checkout-caramel);
    font-weight: 500;
    text-decoration: none;
}

body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce input.button {
    min-height: 48px;
    padding: 12px 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--hegen-checkout-caramel) !important;
    color: var(--hegen-checkout-white) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce input.button:hover {
    background: var(--hegen-checkout-caramel-hover) !important;
    color: var(--hegen-checkout-white) !important;
}

body.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 56px;
    float: none !important;
    margin-top: 16px !important;
    padding: 14px 24px !important;
    border-radius: 999px !important;
    background: var(--hegen-checkout-pink) !important;
    color: var(--hegen-checkout-white) !important;
    font-size: 17px;
    font-weight: 700;
}

body.woocommerce-checkout #place_order:hover {
    background: var(--hegen-checkout-pink-hover) !important;
}

/* ==========================================================
   מדינה קבועה בצ'קאאוט – ישראל בלבד

   WooCommerce ממשיך לשמור את billing_country / shipping_country
   מאחורי הקלעים, אך ללקוח מוצג "ישראל" כשדה קבוע ללא Select.
   הכותרת המקורית מוסתרת כדי לשמור על מראה אחיד עם שאר השדות.
========================================================== */

body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #shipping_country_field {
    align-self: end;
    padding-top: 0 !important;
}

/* אין כותרת נפרדת מעל שדה המדינה */
body.woocommerce-checkout #billing_country_field > label,
body.woocommerce-checkout #shipping_country_field > label {
    display: none !important;
}

/* מעטפת שנראית כמו יתר שדות הצ'קאאוט */
body.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper,
body.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 11px 15px !important;
    border: 1px solid var(--hegen-checkout-border) !important;
    border-radius: 9px !important;
    background: var(--hegen-checkout-white) !important;
    color: var(--hegen-checkout-dark) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: right !important;
    direction: rtl !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

/* מסתירים את רכיב הבחירה עצמו, אך משאירים אותו בטופס עבור WooCommerce */
body.woocommerce-checkout #billing_country_field .select2-container,
body.woocommerce-checkout #billing_country_field select,
body.woocommerce-checkout #billing_country_field .country_select,
body.woocommerce-checkout #shipping_country_field .select2-container,
body.woocommerce-checkout #shipping_country_field select,
body.woocommerce-checkout #shipping_country_field .country_select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* הטקסט הקבוע שהלקוח רואה */
body.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper::after,
body.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper::after {
    content: "ישראל";
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--hegen-checkout-dark);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: right;
    direction: rtl;
}

@media (min-width: 922px) and (max-width: 1250px) {
    body.woocommerce-checkout .site-main {
        padding-top: 125px !important;
    }

    body.woocommerce-checkout .entry-header {
        position: relative !important;
        z-index: 2 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 921px) {
    body.woocommerce-checkout .site-main {
        width: min(100% - 32px, 900px);
        padding-top: var(--hegen-checkout-tablet-header-space) !important;
        padding-bottom: 85px;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper > .form-row {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout #order_review {
        padding: 22px !important;
    }

    body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals.shipping th {
        padding-top: 14px !important;
    }

    body.woocommerce-checkout #shipping_method label {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-checkout .site-main {
        width: calc(100% - 20px);
        padding-top: var(--hegen-checkout-mobile-header-space) !important;
        padding-bottom: 110px;
    }

    body.woocommerce-checkout .entry-header {
        margin-bottom: 24px !important;
    }

    body.woocommerce-checkout .entry-title {
        font-size: 30px;
    }

    body.woocommerce-checkout #customer_details h3,
    body.woocommerce-checkout #order_review_heading {
        font-size: 22px !important;
    }

    body.woocommerce-checkout .woocommerce-message,
    body.woocommerce-checkout .woocommerce-info,
    body.woocommerce-checkout .woocommerce-error {
        padding: 15px 45px 15px 14px !important;
        font-size: 13px;
    }

    body.woocommerce-checkout form.checkout_coupon {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout form.checkout_coupon .form-row-first,
    body.woocommerce-checkout form.checkout_coupon .form-row-last,
    body.woocommerce-checkout form.checkout_coupon button {
        width: 100% !important;
    }

    body.woocommerce-checkout #order_review {
        padding: 19px 15px !important;
        border-radius: 18px !important;
    }

    body.woocommerce-checkout #order_review table.shop_table tbody td,
    body.woocommerce-checkout #order_review table.shop_table tfoot th,
    body.woocommerce-checkout #order_review table.shop_table tfoot td {
        font-size: 13px;
    }

    body.woocommerce-checkout #payment ul.payment_methods {
        padding: 15px !important;
    }

    body.woocommerce-checkout #payment .place-order {
        padding: 18px 15px 15px !important;
    }
}

/* ==========================================================
   יישור שדה הטלפון לימין – Billing + Shipping
========================================================== */

body.woocommerce-checkout #billing_phone_field input,
body.woocommerce-checkout #shipping_phone_field input,
body.woocommerce-checkout input#billing_phone,
body.woocommerce-checkout input#shipping_phone,
body.woocommerce-checkout input[name="billing_phone"],
body.woocommerce-checkout input[name="shipping_phone"] {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: plaintext !important;
}

body.woocommerce-checkout #billing_phone_field input::placeholder,
body.woocommerce-checkout #shipping_phone_field input::placeholder,
body.woocommerce-checkout input#billing_phone::placeholder,
body.woocommerce-checkout input#shipping_phone::placeholder,
body.woocommerce-checkout input[name="billing_phone"]::placeholder,
body.woocommerce-checkout input[name="shipping_phone"]::placeholder {
    direction: rtl !important;
    text-align: right !important;
}

/* ==========================================================
   סוף קוד עיצוב עמוד התשלום – HEGEN
========================================================== */

/* ==========================================================
   תחילת קוד עיצוב עמוד החשבון שלי – HEGEN

   מיועד לעמוד WooCommerce הקלאסי:
   [woocommerce_my_account]

   כולל:
   - עמוד התחברות
   - עמוד הרשמה
   - שחזור סיסמה
   - לוח הבקרה לאחר התחברות
   - הזמנות, הורדות, כתובות ופרטי חשבון
   - פונט Rubik
   - כותרת מתחת להדר הקבוע
   - התאמה לטאבלט ולמובייל
========================================================== */


/* ==========================================================
   משתני עיצוב
========================================================== */

:root {
    --hegen-account-caramel: #AA6C45;
    --hegen-account-caramel-hover: #925A39;

    --hegen-account-pink: #E6AAAB;
    --hegen-account-pink-hover: #D89193;

    --hegen-account-white: #FFFFFF;
    --hegen-account-dark: #343434;
    --hegen-account-muted: #77736F;

    --hegen-account-ivory: #F7F6F3;
    --hegen-account-blue: #E9F3FF;

    --hegen-account-border: #E7E3DE;
    --hegen-account-border-soft: #EEE7E2;

    --hegen-account-radius: 22px;
    --hegen-account-radius-small: 12px;

    /* מרווח מתחת להדר */
    --hegen-account-desktop-header-space: 55px;
    --hegen-account-mid-header-space: 125px;
    --hegen-account-tablet-header-space: 120px;
    --hegen-account-mobile-header-space: 100px;
}


/* ==========================================================
   פונט Rubik בכל עמוד החשבון
========================================================== */

body.woocommerce-account,
body.woocommerce-account button,
body.woocommerce-account input,
body.woocommerce-account select,
body.woocommerce-account textarea,
body.woocommerce-account table,
body.woocommerce-account th,
body.woocommerce-account td,
body.woocommerce-account a,
body.woocommerce-account span,
body.woocommerce-account label,
body.woocommerce-account .button,
body.woocommerce-account .amount,
body.woocommerce-account h1,
body.woocommerce-account h2,
body.woocommerce-account h3,
body.woocommerce-account h4 {
    font-family: "Rubik", sans-serif !important;
}


/* ==========================================================
   בסיס עמוד החשבון
========================================================== */

body.woocommerce-account {
    background: var(--hegen-account-white);
    color: var(--hegen-account-dark);
}

body.woocommerce-account .site-content,
body.woocommerce-account .site-main,
body.woocommerce-account .entry-content {
    background: var(--hegen-account-white);
}

body.woocommerce-account .site-main {
    width: min(1320px, calc(100% - 50px));
    max-width: none !important;

    margin-inline: auto;

    padding-top:
        var(--hegen-account-desktop-header-space) !important;

    padding-bottom: 100px;
}

body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce {
    width: 100%;
    max-width: none;
}


/* ==========================================================
   כותרת העמוד
========================================================== */

body.woocommerce-account .entry-header {
    position: relative;
    z-index: 2;

    margin: 0 0 38px !important;
    padding: 0 !important;

    text-align: center;
}

body.woocommerce-account .entry-title {
    display: block !important;

    margin: 0 !important;

    color: var(--hegen-account-dark);

    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;

    visibility: visible !important;
    opacity: 1 !important;
}


/* ==========================================================
   הודעות WooCommerce
========================================================== */

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
    position: relative;

    width: 100%;

    margin: 0 0 28px !important;
    padding: 17px 54px 17px 20px !important;

    border: 1px solid var(--hegen-account-border) !important;
    border-top: 0 !important;
    border-radius: var(--hegen-account-radius-small);

    background: var(--hegen-account-white);
    color: var(--hegen-account-dark);

    line-height: 1.6;

    box-sizing: border-box;

    box-shadow:
        0 7px 22px rgba(52, 52, 52, 0.05);
}

body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-error::before {
    position: absolute !important;

    top: 50% !important;
    right: 20px !important;
    left: auto !important;

    margin: 0 !important;

    transform: translateY(-50%);
}

body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before {
    color: var(--hegen-account-caramel);
}

body.woocommerce-account .woocommerce-error::before {
    color: var(--hegen-account-pink);
}

body.woocommerce-account
.woocommerce-message
a,
body.woocommerce-account
.woocommerce-info
a,
body.woocommerce-account
.woocommerce-error
a {
    color: var(--hegen-account-caramel);

    font-weight: 600;
    text-decoration: none;
}


/* ==========================================================
   התחברות והרשמה
========================================================== */

body.woocommerce-account
.woocommerce
.u-columns {
    display: flex;
    align-items: stretch;

    gap: 28px;

    width: 100%;
}

body.woocommerce-account
.woocommerce
.u-columns
.u-column1,
body.woocommerce-account
.woocommerce
.u-columns
.u-column2 {
    width: calc(50% - 14px) !important;

    float: none !important;

    margin: 0 !important;
}


/* כותרות התחברות והרשמה */
body.woocommerce-account
.woocommerce
.u-columns
h2 {
    margin: 0 0 18px;

    color: var(--hegen-account-dark);

    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}


/* כרטיסי הטפסים */
body.woocommerce-account
form.login,
body.woocommerce-account
form.register,
body.woocommerce-account
form.lost_reset_password,
body.woocommerce-account
form.woocommerce-EditAccountForm,
body.woocommerce-account
form.woocommerce-address-fields {
    margin: 0 !important;
    padding: 30px !important;

    border: 1px solid var(--hegen-account-border) !important;
    border-radius: var(--hegen-account-radius) !important;

    background: var(--hegen-account-white);

    box-sizing: border-box;

    box-shadow:
        0 10px 30px rgba(52, 52, 52, 0.07);
}


/* טופס שחזור סיסמה */
body.woocommerce-account
form.lost_reset_password {
    width: min(650px, 100%);

    margin-inline: auto !important;
}


/* ==========================================================
   שורות ותוויות בטפסים
========================================================== */

body.woocommerce-account
.woocommerce
form
.form-row {
    width: 100% !important;

    float: none !important;

    margin: 0 0 17px !important;
    padding: 0 !important;
}

body.woocommerce-account
.woocommerce
form
.form-row
label {
    display: block;

    margin: 0 0 7px;

    color: var(--hegen-account-dark);

    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: right;
}

body.woocommerce-account
.woocommerce
form
.required {
    color: var(--hegen-account-caramel);

    font-weight: 600;
    text-decoration: none;
}


/* ==========================================================
   שדות קלט
========================================================== */

body.woocommerce-account
.woocommerce
input.input-text,
body.woocommerce-account
.woocommerce
input[type="text"],
body.woocommerce-account
.woocommerce
input[type="email"],
body.woocommerce-account
.woocommerce
input[type="password"],
body.woocommerce-account
.woocommerce
input[type="tel"],
body.woocommerce-account
.woocommerce
select,
body.woocommerce-account
.woocommerce
textarea {
    width: 100% !important;
    min-height: 50px;

    margin: 0 !important;
    padding: 11px 15px !important;

    border: 1px solid var(--hegen-account-border) !important;
    border-radius: 9px !important;

    background: var(--hegen-account-white) !important;
    color: var(--hegen-account-dark) !important;

    direction: rtl;
    text-align: right;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;

    box-sizing: border-box !important;
    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-account
.woocommerce
textarea {
    min-height: 125px;

    resize: vertical;
}

body.woocommerce-account
.woocommerce
input::placeholder,
body.woocommerce-account
.woocommerce
textarea::placeholder {
    color: #99948F;

    opacity: 1;
}

body.woocommerce-account
.woocommerce
input:focus,
body.woocommerce-account
.woocommerce
select:focus,
body.woocommerce-account
.woocommerce
textarea:focus {
    border-color:
        var(--hegen-account-caramel) !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(170, 108, 69, 0.08) !important;
}


/* ==========================================================
   הצגת סיסמה
========================================================== */

body.woocommerce-account
.show-password-input {
    top: 50% !important;
    right: auto !important;
    left: 14px !important;

    transform: translateY(-50%);
}


/* ==========================================================
   זכור אותי ושחזור סיסמה
========================================================== */

body.woocommerce-account
.woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center;

    gap: 7px;

    margin: 0 0 16px !important;

    cursor: pointer;
}

body.woocommerce-account
input[type="checkbox"],
body.woocommerce-account
input[type="radio"] {
    accent-color: var(--hegen-account-caramel);
}

body.woocommerce-account
.woocommerce-LostPassword {
    margin: 18px 0 0 !important;
}

body.woocommerce-account
.woocommerce-LostPassword
a {
    color: var(--hegen-account-caramel);

    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

body.woocommerce-account
.woocommerce-LostPassword
a:hover {
    color: var(--hegen-account-caramel-hover);
}


/* ==========================================================
   כפתורים
========================================================== */

body.woocommerce-account
.woocommerce
a.button,
body.woocommerce-account
.woocommerce
button.button,
body.woocommerce-account
.woocommerce
input.button {
    min-height: 48px;

    padding: 12px 26px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background:
        var(--hegen-account-caramel) !important;
    color:
        var(--hegen-account-white) !important;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;

    box-shadow: none !important;

    transition:
        background-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

body.woocommerce-account
.woocommerce
a.button:hover,
body.woocommerce-account
.woocommerce
button.button:hover,
body.woocommerce-account
.woocommerce
input.button:hover {
    background:
        var(--hegen-account-caramel-hover) !important;

    color:
        var(--hegen-account-white) !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(170, 108, 69, 0.18) !important;
}


/* כפתורי התחברות והרשמה */
body.woocommerce-account
.woocommerce-form-login
button[type="submit"],
body.woocommerce-account
.woocommerce-form-register
button[type="submit"],
body.woocommerce-account
form.lost_reset_password
button[type="submit"] {
    min-width: 150px;

    background:
        var(--hegen-account-pink) !important;
}

body.woocommerce-account
.woocommerce-form-login
button[type="submit"]:hover,
body.woocommerce-account
.woocommerce-form-register
button[type="submit"]:hover,
body.woocommerce-account
form.lost_reset_password
button[type="submit"]:hover {
    background:
        var(--hegen-account-pink-hover) !important;
}


/* ==========================================================
   המבנה לאחר התחברות
========================================================== */

body.woocommerce-account
.woocommerce-MyAccount-navigation {
    width: 27% !important;

    float: right !important;

    margin: 0 !important;
}

body.woocommerce-account
.woocommerce-MyAccount-content {
    width: 69% !important;

    float: left !important;

    margin: 0 !important;
    padding: 30px !important;

    border: 1px solid var(--hegen-account-border);
    border-radius: var(--hegen-account-radius);

    background: var(--hegen-account-white);

    box-sizing: border-box;

    box-shadow:
        0 10px 30px rgba(52, 52, 52, 0.06);
}

body.woocommerce-account
.woocommerce::after {
    content: "";

    display: table;
    clear: both;
}


/* ==========================================================
   תפריט החשבון
========================================================== */

body.woocommerce-account
.woocommerce-MyAccount-navigation
ul {
    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid var(--hegen-account-border);
    border-radius: var(--hegen-account-radius);

    background: var(--hegen-account-white);

    overflow: hidden;

    list-style: none;

    box-shadow:
        0 10px 30px rgba(52, 52, 52, 0.06);
}

body.woocommerce-account
.woocommerce-MyAccount-navigation
li {
    margin: 0 !important;
    padding: 0 !important;

    border-bottom:
        1px solid var(--hegen-account-border-soft);
}

body.woocommerce-account
.woocommerce-MyAccount-navigation
li:last-child {
    border-bottom: 0;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation
li
a {
    display: block;

    padding: 17px 20px;

    color: var(--hegen-account-dark);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        padding-right 0.2s ease;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation
li
a:hover {
    padding-right: 25px;

    background: var(--hegen-account-ivory);
    color: var(--hegen-account-caramel);
}

body.woocommerce-account
.woocommerce-MyAccount-navigation
li.is-active
a {
    background: var(--hegen-account-caramel);
    color: var(--hegen-account-white);

    font-weight: 600;
}


/* ==========================================================
   תוכן לוח הבקרה
========================================================== */

body.woocommerce-account
.woocommerce-MyAccount-content
p {
    color: var(--hegen-account-dark);

    font-size: 15px;
    line-height: 1.8;
}

body.woocommerce-account
.woocommerce-MyAccount-content
a {
    color: var(--hegen-account-caramel);

    font-weight: 500;
    text-decoration: none;
}

body.woocommerce-account
.woocommerce-MyAccount-content
a:hover {
    color: var(--hegen-account-caramel-hover);
}


/* ==========================================================
   כותרות בתוך אזור החשבון
========================================================== */

body.woocommerce-account
.woocommerce-MyAccount-content
h2,
body.woocommerce-account
.woocommerce-MyAccount-content
h3 {
    margin: 0 0 22px;
    padding-bottom: 14px;

    border-bottom:
        1px solid var(--hegen-account-border-soft);

    color: var(--hegen-account-dark);

    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}


/* ==========================================================
   טבלאות הזמנות והורדות
========================================================== */

body.woocommerce-account
table.shop_table {
    width: 100%;

    margin: 0 !important;

    border: 1px solid var(--hegen-account-border) !important;
    border-radius: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0;

    background: var(--hegen-account-white);

    overflow: hidden;
}

body.woocommerce-account
table.shop_table
th,
body.woocommerce-account
table.shop_table
td {
    padding: 15px 14px !important;

    border: 0 !important;
    border-bottom:
        1px solid var(--hegen-account-border-soft) !important;

    background: transparent;

    color: var(--hegen-account-dark);

    text-align: right;
    vertical-align: middle;
}

body.woocommerce-account
table.shop_table
th {
    background: var(--hegen-account-ivory);

    font-size: 14px;
    font-weight: 600;
}

body.woocommerce-account
table.shop_table
td {
    font-size: 14px;
    font-weight: 400;
}

body.woocommerce-account
table.shop_table
tr:last-child
td {
    border-bottom: 0 !important;
}


/* ==========================================================
   כתובות
========================================================== */

body.woocommerce-account
.woocommerce-Addresses {
    display: flex;

    gap: 24px;

    width: 100%;
}

body.woocommerce-account
.woocommerce-Addresses
.woocommerce-Address {
    width: calc(50% - 12px) !important;

    float: none !important;

    margin: 0 !important;
    padding: 24px !important;

    border: 1px solid var(--hegen-account-border);
    border-radius: 18px;

    background: var(--hegen-account-white);

    box-sizing: border-box;

    box-shadow:
        0 8px 24px rgba(52, 52, 52, 0.05);
}

body.woocommerce-account
.woocommerce-Address
title {
    display: block;
}

body.woocommerce-account
.woocommerce-Address
h3 {
    margin-bottom: 16px;
}

body.woocommerce-account
.woocommerce-Address
address {
    color: var(--hegen-account-muted);

    font-size: 14px;
    font-style: normal;
    line-height: 1.8;
}


/* ==========================================================
   טווח בין דסקטופ לטאבלט
========================================================== */

@media (min-width: 922px) and (max-width: 1250px) {

    body.woocommerce-account .site-main {
        padding-top:
            var(--hegen-account-mid-header-space) !important;
    }
}


/* ==========================================================
   טאבלט
========================================================== */

@media (max-width: 921px) {

    body.woocommerce-account .site-main {
        width: min(100% - 32px, 900px);

        padding-top:
            var(--hegen-account-tablet-header-space) !important;

        padding-bottom: 85px;
    }

    body.woocommerce-account
    .woocommerce
    .u-columns {
        display: block;
    }

    body.woocommerce-account
    .woocommerce
    .u-columns
    .u-column1,
    body.woocommerce-account
    .woocommerce
    .u-columns
    .u-column2 {
        width: 100% !important;
    }

    body.woocommerce-account
    .woocommerce
    .u-columns
    .u-column2 {
        margin-top: 28px !important;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation,
    body.woocommerce-account
    .woocommerce-MyAccount-content {
        width: 100% !important;

        float: none !important;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation {
        margin-bottom: 28px !important;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation
    ul {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation
    li {
        border-left:
            1px solid var(--hegen-account-border-soft);
    }

    body.woocommerce-account
    .woocommerce-MyAccount-content {
        padding: 25px !important;
    }
}


/* ==========================================================
   מובייל
========================================================== */

@media (max-width: 767px) {

    body.woocommerce-account .site-main {
        width: calc(100% - 20px);

        padding-top:
            var(--hegen-account-mobile-header-space) !important;

        padding-bottom: 110px;
    }

    body.woocommerce-account .entry-header {
        margin-bottom: 26px !important;
    }

    body.woocommerce-account .entry-title {
        font-size: 30px;
    }

    body.woocommerce-account
    form.login,
    body.woocommerce-account
    form.register,
    body.woocommerce-account
    form.lost_reset_password,
    body.woocommerce-account
    form.woocommerce-EditAccountForm,
    body.woocommerce-account
    form.woocommerce-address-fields {
        padding: 22px 17px !important;

        border-radius: 18px !important;
    }

    body.woocommerce-account
    .woocommerce
    .u-columns
    h2 {
        font-size: 22px;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation
    ul {
        display: block;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation
    li {
        border-left: 0;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-content {
        padding: 21px 17px !important;

        border-radius: 18px;
    }

    body.woocommerce-account
    .woocommerce-Addresses {
        display: block;
    }

    body.woocommerce-account
    .woocommerce-Addresses
    .woocommerce-Address {
        width: 100% !important;
    }

    body.woocommerce-account
    .woocommerce-Addresses
    .woocommerce-Address
    + .woocommerce-Address {
        margin-top: 18px !important;
    }

    body.woocommerce-account
    table.shop_table_responsive
    tr {
        padding: 14px 0;

        border-bottom:
            1px solid var(--hegen-account-border-soft);
    }

    body.woocommerce-account
    table.shop_table_responsive
    td {
        padding: 8px 12px !important;

        text-align: left !important;
    }

    body.woocommerce-account
    table.shop_table_responsive
    td::before {
        color: var(--hegen-account-dark);

        font-weight: 600;
    }
}


/* ==========================================================
   סוף קוד עיצוב עמוד החשבון שלי – HEGEN
========================================================== */

/* ==========================================================
   תיקון סופי: התחברות והרשמה בגודל מאוזן וממורכז – HEGEN

   - כששני הטפסים גלויים: הם מוצגים זה לצד זה.
   - כשרק טופס אחד גלוי: הוא ממורכז ברוחב נוח.
========================================================== */

@media (min-width: 922px) {

    body:not(.logged-in).woocommerce-account
    .entry-content > .woocommerce {
        width: 100% !important;
        max-width: none !important;
    }

    /* שני הטפסים יחד */
    body:not(.logged-in).woocommerce-account
    #customer_login,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns.col2-set,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns {
        width: min(980px, 100%) !important;
        max-width: 980px !important;

        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: start !important;

        gap: 28px !important;

        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;

        float: none !important;
        clear: both !important;

        box-sizing: border-box !important;
    }

    body:not(.logged-in).woocommerce-account
    #customer_login > .u-column1,
    body:not(.logged-in).woocommerce-account
    #customer_login > .u-column2,
    body:not(.logged-in).woocommerce-account
    #customer_login > .col-1,
    body:not(.logged-in).woocommerce-account
    #customer_login > .col-2,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns > .u-column1,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns > .u-column2,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns > .col-1,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns > .col-2 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
        clear: none !important;

        box-sizing: border-box !important;
    }

    body:not(.logged-in).woocommerce-account
    #customer_login form.login,
    body:not(.logged-in).woocommerce-account
    #customer_login form.register,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns form.login,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns form.register {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 30px !important;

        box-sizing: border-box !important;
    }

    body:not(.logged-in).woocommerce-account
    #customer_login h2,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns h2 {
        text-align: center !important;
    }

    /* כשאחד הטפסים מוסתר על ידי התוסף – ממורכזים את הטופס הגלוי */
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column1[style*="display: none"]),
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column2[style*="display: none"]),
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-1[style*="display: none"]),
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-2[style*="display: none"]),
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column1:empty),
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column2:empty),
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-1:empty),
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-2:empty) {
        width: min(540px, 100%) !important;
        max-width: 540px !important;

        grid-template-columns: minmax(0, 1fr) !important;

        margin-right: auto !important;
        margin-left: auto !important;
    }

    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column1[style*="display: none"]) > .u-column2,
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column2[style*="display: none"]) > .u-column1,
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-1[style*="display: none"]) > .col-2,
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-2[style*="display: none"]) > .col-1,
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column1:empty) > .u-column2,
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .u-column2:empty) > .u-column1,
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-1:empty) > .col-2,
    body:not(.logged-in).woocommerce-account
    #customer_login:has(> .col-2:empty) > .col-1 {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 540px !important;
        justify-self: center !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

@media (max-width: 921px) {

    body:not(.logged-in).woocommerce-account
    #customer_login,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns.col2-set,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns {
        width: min(540px, 100%) !important;
        max-width: 540px !important;

        display: block !important;

        margin-right: auto !important;
        margin-left: auto !important;
    }

    body:not(.logged-in).woocommerce-account
    #customer_login > .u-column2,
    body:not(.logged-in).woocommerce-account
    #customer_login > .col-2,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns > .u-column2,
    body:not(.logged-in).woocommerce-account
    .woocommerce .u-columns > .col-2 {
        margin-top: 28px !important;
    }
}

/* ==========================================================
   סוף תיקון סופי: התחברות והרשמה בגודל מאוזן וממורכז – HEGEN
========================================================== */

/* ==========================================================
   HEGEN – מחיר × כמות בעגלת הצד
========================================================== */

.hegen-mini-cart-price-qty {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 4px !important;

    direction: ltr !important;
    unicode-bidi: isolate !important;

    color: #343434 !important;
    font-family: "Rubik", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;

    white-space: nowrap !important;
}

.hegen-mini-cart-price,
.hegen-mini-cart-times,
.hegen-mini-cart-qty {
    display: inline-block !important;
}

.hegen-mini-cart-times {
    font-weight: 400 !important;
}

/* ==========================================================
   END – HEGEN MINI CART QUANTITY
========================================================== */

/* =========================================================
   HEGEN – OUT OF STOCK / COMING SOON BADGE

   משמש עבור:
   - "לא במלאי"
   - "בקרוב באתר!"

   ארכיון / קטלוג:
   נשאר על תמונת המוצר כפי שהיה.

   עמוד מוצר יחיד:
   ההודעה נשארת במקום המקורי שבו WooCommerce / Elementor
   מציגים את מצב המלאי – מתחת לכותרת המוצר.
   אנחנו משנים עיצוב בלבד ולא מעבירים את האלמנט.
========================================================= */

/* =========================================================
   1. ארכיון / קטלוג / קטגוריות / מוצרים קשורים
========================================================= */

.woocommerce ul.products li.product {
    position: relative;
}

.woocommerce ul.products li.product .ast-shop-product-out-of-stock,
.woocommerce ul.products li.product .out-of-stock {
    position: absolute !important;

    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: max-content !important;

    margin: 0 !important;
    padding: 6px 13px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #FAE2DB !important;
    background-color: #FAE2DB !important;
    background-image: none !important;
    color: #707070 !important;

    font-family: "Rubik", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;

    z-index: 15 !important;

    text-align: center !important;
    direction: rtl !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;

    box-sizing: border-box !important;
    pointer-events: none !important;
}

/* =========================================================
   2. עמוד מוצר יחיד

   חשוב:
   אין position:absolute ואין שינוי מיקום.
   האלמנט נשאר בדיוק במקום שבו Elementor/WooCommerce
   מדפיסים אותו מתחת לכותרת.
========================================================= */

body.single-product p.stock.out-of-stock,
body.single-product .elementor-widget-woocommerce-product-stock .stock.out-of-stock,
body.single-product .elementor-widget-woocommerce-product-add-to-cart .stock.out-of-stock,
body.single-product div.product .summary .stock.out-of-stock {
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: max-content !important;
    max-height: none !important;

    margin-top: 6px !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    margin-left: 0 !important;

    padding: 6px 13px !important;

    background: #FAE2DB !important;
    background-color: #FAE2DB !important;
    background-image: none !important;
    color: #707070 !important;

    font-family: "Rubik", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    border: 0 !important;
    border-radius: 8px !important;
    outline: 0 !important;
    box-shadow: none !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;

    direction: rtl !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
    box-sizing: border-box !important;

    z-index: auto !important;
    pointer-events: none !important;
}

/* לא מוסיפים אייקונים או תוכן לפני/אחרי הבאדג' */
body.single-product p.stock.out-of-stock::before,
body.single-product p.stock.out-of-stock::after,
body.single-product .elementor-widget-woocommerce-product-stock .stock.out-of-stock::before,
body.single-product .elementor-widget-woocommerce-product-stock .stock.out-of-stock::after {
    display: none !important;
    content: none !important;
}

/* =========================================================
   3. טאבלט
========================================================= */

@media (max-width: 1024px) {

    body.single-product p.stock.out-of-stock,
    body.single-product .elementor-widget-woocommerce-product-stock .stock.out-of-stock,
    body.single-product .elementor-widget-woocommerce-product-add-to-cart .stock.out-of-stock,
    body.single-product div.product .summary .stock.out-of-stock {
        margin-top: 6px !important;
        margin-bottom: 9px !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
}

/* =========================================================
   4. מובייל
========================================================= */

@media (max-width: 767px) {

    .woocommerce ul.products li.product .ast-shop-product-out-of-stock,
    .woocommerce ul.products li.product .out-of-stock {
        top: 9px !important;
        left: 9px !important;
        padding: 5px 10px !important;
        font-size: 11px !important;
        border-radius: 7px !important;
    }

    body.single-product p.stock.out-of-stock,
    body.single-product .elementor-widget-woocommerce-product-stock .stock.out-of-stock,
    body.single-product .elementor-widget-woocommerce-product-add-to-cart .stock.out-of-stock,
    body.single-product div.product .summary .stock.out-of-stock {
        margin-top: 5px !important;
        margin-bottom: 8px !important;
        padding: 5px 11px !important;
        font-size: 12px !important;
        border-radius: 7px !important;
    }
}

/* =========================================================
   END – HEGEN OUT OF STOCK / COMING SOON BADGE
========================================================= */

/* ==========================================================
   HEGEN – תיקון מסגרת לכפתורי כמות בעגלת הצד – דסקטופ בלבד
   מתקן את מסגרת הפלוס / מינוס בעגלת הצד מבלי להשפיע על מובייל
========================================================== */

@media (min-width: 768px) {

    /* מעטפת הכמות בעגלת הצד – שומרת על 3 ריבועים נפרדים גם בעמוד מוצר */
    .woocommerce-mini-cart .quantity,
    .widget_shopping_cart .quantity,
    .ast-site-header-cart .quantity,
    .ast-cart-menu-wrap .quantity {
        display: inline-flex !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;

        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .woocommerce-mini-cart .quantity .plus,
    .woocommerce-mini-cart .quantity .minus,
    .widget_shopping_cart .quantity .plus,
    .widget_shopping_cart .quantity .minus,
    .ast-site-header-cart .quantity .plus,
    .ast-site-header-cart .quantity .minus,
    .ast-cart-menu-wrap .quantity .plus,
    .ast-cart-menu-wrap .quantity .minus {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        min-height: 35px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 1px solid #D9D4CF !important;
        border-radius: 9px !important;
        outline: 0 !important;

        background: #FFFFFF !important;
        color: #343434 !important;

        font-family: "Rubik", sans-serif !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1 !important;

        box-sizing: border-box !important;
        box-shadow: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }

    .woocommerce-mini-cart .quantity input.qty,
    .widget_shopping_cart .quantity input.qty,
    .ast-site-header-cart .quantity input.qty,
    .ast-cart-menu-wrap .quantity input.qty {
        width: 39px !important;
        height: 35px !important;
        min-width: 39px !important;
        min-height: 35px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 1px solid #D9D4CF !important;
        border-radius: 9px !important;
        outline: 0 !important;

        background: #FFFFFF !important;
        color: #343434 !important;

        font-family: "Rubik", sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 35px !important;
        text-align: center !important;

        box-sizing: border-box !important;
        box-shadow: none !important;
        appearance: textfield !important;
        -moz-appearance: textfield !important;
    }

    .woocommerce-mini-cart .quantity .plus:hover,
    .woocommerce-mini-cart .quantity .minus:hover,
    .widget_shopping_cart .quantity .plus:hover,
    .widget_shopping_cart .quantity .minus:hover,
    .ast-site-header-cart .quantity .plus:hover,
    .ast-site-header-cart .quantity .minus:hover,
    .ast-cart-menu-wrap .quantity .plus:hover,
    .ast-cart-menu-wrap .quantity .minus:hover {
        border-color: #AA6C45 !important;
        background: #F1F0EA !important;
        color: #343434 !important;
    }
}

/* ==========================================================
   סוף תיקון מסגרת לכפתורי כמות בעגלת הצד – HEGEN
========================================================== */

/* ==========================================================
   HEGEN – תיקון מבני בלבד לווידג'ט המוצרים
   חשוב: אין כאן שינוי צבעים, פונטים, גדלים, רדיוסים או כפתורים.
   Tablet: 3 columns | Mobile: 2 columns
========================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products,
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products.elementor-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto auto !important;
        grid-auto-flow: row !important;
        min-width: 0 !important;
    }

    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product::before,
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product img.attachment-woocommerce_thumbnail,
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product img.woocommerce-placeholder,
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product > .button:not(.ast-on-card-button),
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product > a.button:not(.ast-on-card-button),
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product .astra-shop-summary-wrap > .button:not(.ast-on-card-button),
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product .astra-shop-summary-wrap > a.button:not(.ast-on-card-button) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product .woocommerce-loop-product__title {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products li.product .price {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
}

@media (max-width: 767px) {
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products,
    .elementor-848 .elementor-element.elementor-element-0aa9a3e ul.products.elementor-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ==========================================================
   סוף תיקון מבני בלבד – HEGEN
========================================================== */

