@font-face {
    font-family: 'almoni-regular';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('../fonts/almoni-regular-aaa.woff') format('woff');
}

@font-face {
    font-family: 'almoni-regular';
    font-style: normal;
    font-weight: bold;
    font-display: auto;
    src: url('../fonts/almoni-bold-aaa-1.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #434867;
    --background-color: #F5F6FF;
    --header-bg: #F1D5CE;
    --section-bg: #DDDBEF;
    --white: #FFFFFF;
    --border-color: #DDDBEF;
    --content-width: 1200px;
    --wc-red: #a00;
    --wc-green: #7ad03a;
    --almoni-font: 'almoni-regular', Sans-serif;
    --wc-form-color-text: #444;
    --e-global-color-e045702: #434867;
    --e-global-color-13d3188: #434867;
    --e-global-color-bc7567e: #FAFAFA;
    --e-global-color-7027c87: #f5f6ff;
    --e-global-color-text: #434867;
    --e-global-color-3772c15: #FFD740;
    --e-global-color-9cc6519: #FFD740;
    --e-global-color-9cc6519: #FFD740;
}

body {
    font-family: var(--almoni-font);
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.5;
    direction: rtl;
}

/* Apply fonts to all text elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--almoni-font);
    font-weight: bold;
}

p,
span,
input,
textarea,
select,
label,
a {
    font-family: var(--almoni-font);
    font-weight: normal;
}
@media (max-width: 768px) {
    #order_review_heading {
            position: relative;
            top: 18px;
        }
}

h3#order_review_heading,
h3#checkout_review_heading,
h3#address-section-title {
    direction: rtl;
    position: relative;
    /* padding-right: 0 !important; */
}

h3#order_review_heading::after,
h3#checkout_review_heading::after,
h3#address-section-title::after {
    margin-right: 8px;
}


h3#order_review_heading::before {
    /* content: "2. "; */
    margin-left: 8px;
}

h3#address-section-title::before {
    /* content: "1. "; */
    margin-left: 8px;
}

h3#checkout_review_heading::before {
    /* content: "3. "; */
    margin-left: 8px;
}

.site-header {
    background-color: var(--header-bg);
    padding: 1rem;
    top: 0;
    z-index: 100;
    height: 110px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
    margin: 25%;
}

.back-to-boxes {
    font-family: 'Almoni', sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: underline;
    justify-items: center;
    border-radius: 30px;
    background-color: var(--primary-color);
     box-shadow: 0px 3px 6px 0px #9fa2b7;
    padding: 4px 21px;
    margin: 10px 0px;
}
@media (max-width: 768px) {
    .back-to-boxes {
        font-size: 16px;
        white-space: nowrap;
        position: relative;
        right: -28px;
        top: 5px;
    }
}
/* .back-to-boxes:hover {
    background-color: #fff;
    color: #434867;
    border: 1px solid #434867;
} */
.logo_img{
    height: 70px;
    width: 100px;
}
.checkout-container,
.woocommerce-notices-wrapper {
    max-width: var(--content-width) !important;
    margin: 0 auto !important;
    padding: 0rem 1rem !important;
}

.main-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    color: #434867;
    font-family: var(--almoni-font);
}

.shipping-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.shipping-option {
    background: #FFFFFF;
    border: 1px solid #434867;
    padding: 15px 20px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    position: relative;
    min-height: 79px;
}

.shipping-option.selected {
    background: rgba(67, 72, 103, 0.05);
    border: 2px solid #434867;
}

.shipping-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(67, 72, 103, 0.1);
}

.shipping-option-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    object-fit: contain;
}

.shipping-option-content {
    flex: 1;
    text-align: right;
}

.shipping-option-title {
    font-size: 18px;
    font-weight: 700;
    color: #434867;
    margin-bottom: 4px;
}

.shipping-option-description {
    font-size: 12px;
    color: rgba(67, 72, 103, 0.8);
    margin: 0;
}

/* Form Elements Base Styles */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    height: 45px;
    background: #FFFFFF;
    border: 1px solid #DDDBEF;
    padding: 0 16px;
    font-size: 14px;
    color: #434867;
    font-family: Heebo, var(--almoni-font);
    direction: rtl;
    border-radius: 0;
}

/* Radio Buttons */
.shipping-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Checkbox */
.shipping-options input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-wrapper {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #434867;
    display: inline-block;
}

.checkbox-wrapper:before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #DDDBEF;
    background: #FFFFFF;
}

/* input[type="checkbox"]:checked+.checkbox-wrapper:after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #434867;
} */

/* City Dropdown */
#city_dropdown_field,
#country_dropdown_field {
    position: relative;
    margin-bottom: 20px;
}

#billing_city_field .select2-container .select2-selection--single .select2-selection__arrow b,
#city_dropdown_field .select2-container .select2-selection--single .select2-selection__arrow b,
#country_dropdown_field .select2-container .select2-selection--single .select2-selection__arrow b {
    border: none !important;
    display: block;
    background: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.883913 10.0152L0 10.899L2.05822 12.9567C2.30227 13.2007 2.69852 13.2007 2.94213 12.9567L5.00007 10.899L4.11615 10.0145L3.1251 11.0059V1.88965H1.87497V11.0059L0.883913 10.0152Z' fill='%23434867'/%3E%3Cpath d='M6.24988 3.13965H15V4.38977H6.24988V3.13965Z' fill='%23434867'/%3E%3Cpath d='M6.24988 5.63965H13.1249V6.88977H6.24988V5.63965Z' fill='%23434867'/%3E%3Cpath d='M6.24988 8.13953H11.2499V9.38965H6.24988V8.13953Z' fill='%23434867'/%3E%3Cpath d='M6.24988 10.6396H9.37497V11.8895H6.24988V10.6396Z' fill='%23434867'/%3E%3C/svg%3E") no-repeat !important;
    background-size: contain;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
    width: 16px !important;
    height: 16px !important;
    left: 16px;
    position: absolute;
    top: 50%;
    right: 0;
    margin: -3px 0 0;
}

#city_dropdown_field select,
#country_dropdown_field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

/* Date Input with Calendar Icon */
#delivery_date_field {
    position: relative;
    margin-bottom: 20px;
}

#delivery_date {
    padding-left: 40px;
    background-color: #FFF;
    height: 45px;
    border: 1px solid #DDDBEF;
}

#delivery_date_field::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 70%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../images/calendar.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* birthday field */
#billing_birthday_field {
    position: relative;
}

#billing_birthday {
    padding-left: 40px;
    background-color: #FFF;
    height: 45px;
    border: 1px solid #DDDBEF;
}

#billing_birthday_field::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 70%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../images/calendar.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* anniversary date field */
#order_anniversary_date_field {
    position: relative;
}

#order_anniversary_date {
    padding-left: 40px;
    background-color: #FFF;
    height: 45px;
    border: 1px solid #DDDBEF;
}

#order_anniversary_date_field::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 70%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../images/calendar.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* birthday date field */
#order_birthday_date_field {
    position: relative;
}

#order_birthday_date {
    padding-left: 40px;
    background-color: #FFF;
    height: 45px;
    border: 1px solid #DDDBEF;
}

#order_birthday_date_field::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 70%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../images/calendar.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Checkout text */
#checkout-text {
    margin-top: 10px;
    margin-bottom: 2px;
    clear: both;
}

#checkout-text p {
    margin: 0;
    padding: 10px;
    text-align: center;
    color: #E40E20;
}

/* Section titles */
.address-section-title,
.recipient-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #434867;
    margin: 24px 0 16px;
    text-align: right;
}

/* Address details row */
.address-details-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* New 4-column grid for forms */
.form-grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.form-grid-4-col .form-row {
    margin: 0;
}

.form-field {
    width: 100%;
}

/* Clear floats */
.clear {
    clear: both;
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .address-section-title,
        .recipient-section-title {
            margin: 46px 0 16px;
        }
                .woocommerce-checkout #payment #place_order{
                    margin-top: 15px;
                }
    .form-row-first,
    .form-row-last {
        width: 100%;
    }

    .shipping-options {
        grid-template-columns: 1fr;
        gap:0px;
        margin-bottom:0px;
    }

    .address-details-row {
        grid-template-columns: repeat(2, 1fr);
    }
        .header-container {
            max-width: var(--content-width);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 0 2rem;
        }
                .woocommerce form .form-row .required {
                    font-size:14px;
                }
                                .validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text{
                                    font-size:14px;
                                }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .shipping-option {
        padding: 1rem;
    }

    .shipping-option-icon {
        width: 40px;
        height: 40px;
    }

    .address-details-row {
        grid-template-columns: 1fr;
    }
}

/* RTL specific adjustments */
input,
textarea,
select {
    text-align: right;
}

.form-label {
    text-align: right;
}

/* Cart Products Header Styling */
#cartProductsHead {
    background: var(--section-bg);
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 22px;
    font-weight: normal;
    font-family: var(--almoni-font);
}
.price .woocommerce-Price-amount.amount {
    font-weight: 600 !important;
}
.price .woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol {    font-size: 22px;
    font-weight: 600 !important;
    color: #434867 !important;
}
.cartProductsHead-inside {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cartProductsHead-inside .icon svg {
padding-top: 10px;
    /* שחקי עם הערך עד שזה מתיישר */
}
.cartProductsHead-inside .right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cartProductsHead-inside .show,
.cartProductsHead-inside .hide {
    font-size: 22px;
    font-weight: 600;
    color: #434867;
}
.cartProductsHead-inside .right .icon {
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 5px;
}
.cartProductsHead-inside .hide {
    display: none;
}

#cartProductsHead.active .show {
    display: none;
}

#cartProductsHead.active .hide {
    display: block;
}

.cartProductsHead-inside .price {
    font-size: 22px;
    font-weight: bold;
    color: #434867;
    direction: ltr;
    font-family: 'Almoni';
}

/* Cart Form Styling */
.woocommerce-cart-form {
    font-family: var(--almoni-font);
    font-weight: normal;
    font-size: 17px;
    color: #000000;
}

.woocommerce-cart-form table.shop_table,
.woocommerce-cart-form table.shop_table {
    border: #053540 solid 1px;
    border-radius: 0;
    margin: 0;
}

.woocommerce-cart-form table.shop_table tr td,
.woocommerce-cart-form table.shop_table tr th,
.woocommerce-cart-form table.shop_table tr td,
.woocommerce-cart-form table.shop_table tr th {
    background: #fff;
    border: none;
    border-bottom: #053540 solid 1px !important;
}

.woocommerce-cart-form table.shop_table tr:last-child td,
.woocommerce-cart-form table.shop_table tr:last-child th,
.woocommerce-cart-form table.shop_table tr:last-child td,
.woocommerce-cart-form table.shop_table tr:last-child th {
    border-bottom: none !important;
}
/* הסתרת כפתורי +/- בדף checkout */
.qty_button.minus,
.qty_button.plus {
    display: none !important;
}

.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

/* Add responsive styling for shop table */
@media (max-width: 768px) {
    .shop_table {
        font-size: 12px;
    }
    
    .shop_table thead th {
        padding: 8px 5px;
        font-size: 12px;
    }
    
    .shop_table tbody td {
        padding: 8px 5px;
    }
    
    .product-thumbnail img {
        width: 24px;
    }
    
    .product-name {
        font-size: 12px;
        width: auto;
    }
    
    .product-price, .product-subtotal {
        font-size: 12px;
        width: auto;
    }
     
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 8px 5px;
    }
}

.shop_table thead {
    background-color: #F9F9F9;
}

.shop_table thead th {
    text-align: right;
    padding: 16px;
    font-weight: 600;
    color: #434867;
    font-size: 14px;
    border: none;
}

.shop_table tbody td {
    /* padding: 16px; */
    vertical-align: middle;
    border-bottom: 1px solid #053540;
}

.product-thumbnail {
    width: 100px;
    position: relative;
}

.product-thumbnail .remove-item {
    position: absolute;
    left: 18px;
    font-weight: 100;
    color: pink !important;
    cursor: pointer;
    font-size: 43px;
    width: unset;
    height: unset;
}
dl.variation dt.variation-checkbox-birthday {
    display: none;
}
@media (max-width: 768px) {
    .product-thumbnail a.remove-item {
        border-radius: 100%;
        right: .3rem !important;
        top: 2.5rem !important;        left: auto !important;
        background: red;
        height: 17px !important;
        width: 17px !important;
        font-size: 30px !important;
        line-height: 17px !important;
        text-align: center;
    }
}

.product-thumbnail img {
    width: 32px;
    box-shadow: none;
}

.product-name {
    font-weight: normal;
    font-size: 14px;
    width: 40%;
}

.product-name a,
.woocommerce-cart-form table.shop_table tr td.product-name a,
.woocommerce-cart-form table.shop_table tr td.product-name font {
    color: #434867 !important;
    text-decoration: none;
}

.product-price,
.product-subtotal {
    font-weight: normal;
    color: #434867;
    text-align: center;
    width: 15%;
    font-size: 14px;
}

.actions {
    padding: 16px !important;
    border-bottom: none !important;
    background: #FAFAFA;
}

 .woocommerce-cart-form button {
    background: #fff !important;
    border: 1px solid #e40e5c !important;
    color: #E40E20 !important;
    border-radius: 20px !important;
    margin-left: auto;
    margin-right: auto;
}
/*
.woocommerce-cart-form .quantity {
    width: 3.631em;
    text-align: center;
}*/

.woocommerce-cart-form .quantity input {
    border: 1px solid #F4C6C0;
    background-color: none;
    border-radius: 0;
} 

.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart-form input[name="update_cart"] {
    display: none !important;
}

p.is-apply-coupon {
background-color: #434867;
text-align: center;
padding: 4px 20px;
margin-bottom: 0;
cursor: pointer;
width: fit-content !important;
text-decoration: underline;
color: #fff;
border-radius: 32px;
font-weight: 600;
box-shadow: 0px 3px 6px 0px #9fa2b7;
}

.coupon {
    display: none;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
}

.coupon.active {
    display: flex;
}

.coupon label {
    display: none;
}

.coupon input {
    width: 57% !important;
    text-align: center;
    padding: 8px 12px;
    border: 1px solid #053540;
    border-radius: 0;
}

.woocommerce-cart-form .coupon .button,
.shop_table.woocommerce-checkout-review-order-table .coupon-wrapper button {
    background: none !important;
    border-radius: 0 !important;
    color: #434867 !important;
    border: none !important;
    width: unset !important;
}
.coupon-wrapper{
    display: none !important;
    height: auto !important;
}
.woocommerce-cart-form .coupon .button:focus,
.shop_table.woocommerce-checkout-review-order-table .coupon-wrapper button:focus {
    outline: none;
}

/* Cart Header Styling */
#cartProductsHead {
    position: relative;
    margin-bottom: 16px;
}

#order_review_heading {
    width: 100%;
}

.woocommerce-cart-form #cartProductsHead .cartProductsHead-inside,
.woocommerce-cart-form h3#order_review_heading,
.woocommerce-cart-form h3#checkout_review_heading,
.woocommerce-cart-form h3#address-section-title,
.woocommerce-cart-form .secure_payment {
    display: flex;
    padding: 10px 20px;
    background-color: #DDDBEF;
    font-size: 22px;
    font-weight: 600;
    direction: rtl;
}

.woocommerce-cart-form #cartProductsHead .price {
    margin-right: auto;
}

/* Media Queries */
@media (max-width: 768px) {

    .woocommerce-cart-form table.shop_table_responsive tr,
    .woocommerce-cart-form table.shop_table_responsive tr {
        display: revert;
        height: 130px;
    }

    .woocommerce-cart-form table.shop_table_responsive tr td,
    .woocommerce-cart-form table.shop_table_responsive tr td {
        display: revert;
        text-align: unset !important;
    }

    .woocommerce-cart-form table.shop_table_responsive tr td::before,
    .woocommerce-cart-form table.shop_table_responsive tr td::before {
        display: none;
    }
}

@media (min-width: 1025px) {

    .woocommerce-cart-form h3#order_review_heading,
    .woocommerce-cart-form h3#checkout_review_heading,
    .woocommerce-cart-form h3#address-section-title {
        margin: 0 20px 20px;
    }

    .woocommerce-cart-form #order_review_heading,
    .woocommerce-cart-form #checkout_review_heading,
    .woocommerce-cart-form #address-section-title,
    .woocommerce-cart-form-cart-form,
    .woocommerce-cart-form #cartProductsHead {
        padding: 0 20px;
    }
}

/* Add calendar icons for birthday and anniversary fields */
#billing_birthday,
#billing_anniversary {
    background-position: left 16px center;
    background-size: 16px;
    background-repeat: no-repeat;
}

/* WooCommerce Form Styling */
.woocommerce form .form-row {
    /* padding: 3px; */
    margin: 0 0 16px;
}

.woocommerce form .form-row label {
    line-height: 2;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #434867;
    font-family: var(--almoni-font);
    text-align: right;
}

.woocommerce form .form-row .required {
    color: var(--wc-red);
    font-weight: 700;
    border: 0 !important;
    text-decoration: none;
    visibility: visible;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    font-family: var(--almoni-font);
    font-weight: 400;
    padding: 0.5em;
    display: block;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--primary-color);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    line-height: normal;
    height: 40px;
}

.woocommerce form .form-row textarea {
    height: 120px;
    line-height: 1.5;
    box-shadow: none;
    font-family: var(--almoni-font);
    border: 1px solid var(--border-color);
    padding: 0.5em;
    background-color: var(--white);
    color: var(--primary-color);
    width: 100%;
}

.woocommerce form .form-row.woocommerce-invalid label {
    color: var(--wc-red);
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
    border-color: var(--wc-red);
}

.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
    border-color: var(--wc-green);
}

.woocommerce form .form-row ::-webkit-input-placeholder {
    line-height: normal;
    color: #999;
}

.woocommerce form .form-row :-moz-placeholder {
    line-height: normal;
    color: #999;
}

.woocommerce form .form-row :-ms-input-placeholder {
    line-height: normal;
    color: #999;
}

.woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

/* Billing Details Heading */
#billingDetailsHead {
    background: var(--section-bg);
    padding: 13px 20px;
    margin: 30px 0 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--almoni-font);
    text-align: right;
}

/* Ship to different address */

#ship-to-different-address .checkbox {
    display: flex;
    align-items: center;
}

#ship-to-different-address-checkbox {
    margin-left: 0px;
    position: relative;
    top: 1px;
}

/* Additional fields section */
.woocommerce-additional-fields h3 {
    background: var(--section-bg);
    padding: 13px 20px;
    margin: 30px 0 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--almoni-font);
    text-align: right;
}

/* Checkbox styling */
.woocommerce-form__label-for-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.woocommerce-form__input-checkbox {
    margin-left: 8px;
}

/* Form validation and error messages */
.woocommerce-error {
    padding: 1em 2em;
    margin: 0 0 2em;
    position: relative;
    background-color: #f8d7da;
    color: var(--wc-red);
    border-top: 3px solid var(--wc-red);
    list-style: none;
    width: 100%;
    font-size: 14px;
    font-family: var(--almoni-font);
}

.woocommerce-error li {
    margin-bottom: 0.5em;
}

/* Animation for form elements */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* select2 */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 45px !important;
    border: 1px solid #DDDBEF !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    padding: 0;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 16px !important;
    line-height: 45px !important;
    box-sizing: border-box;
    color: #434867;
    font-size: 14px;
    text-align: right;
    direction: rtl;
    font-family: Heebo, var(--almoni-font);
}

.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    position: absolute;
    top: 50% !important;
    left: 16px !important;
    right: auto !important;
    transform: translateY(-50%);
    height: auto !important;
    width: 10px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    border: none !important;
    display: block;
    background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23434867' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat !important;
    background-size: 10px 6px !important;
    width: 10px !important;
    height: 6px !important;
    position: absolute;
    top: 50%;
    right: 0;
    margin: -3px 0 0;
}

.select2-dropdown {
    border: 1px solid #DDDBEF !important;
    border-radius: 0 !important;
}

.select2-container .select2-results__option {
    font-family: Heebo, var(--almoni-font);
    font-size: 14px;
    color: #434867;
    padding: 8px 16px;
    direction: rtl;
    text-align: right;
}

.select2-results__option--highlighted {
    background-color: rgba(67, 72, 103, 0.05) !important;
    color: #434867 !important;
}

.select2-container .select2-results__option[aria-selected=true] {
    background-color: #434867 !important;
    color: #FFFFFF !important;
}

.select2-search--dropdown {
    padding: 8px;
    direction: rtl;
}

.select2-search--dropdown .select2-search__field {
    padding: 8px;
    height: 38px;
    direction: rtl;
    text-align: right;
}

.woocommerce .form-row.form-row-two {
    width: 11.5%;
    /* float: right; */
    margin-left: 2%;
    clear: none;
}

.woocommerce .form-row.form-row-two:nth-child(2n+1) {
    margin-left: 0;
    clear: right;
}

.parent-container .form-row.form-row-two {
    width: 100%;
    margin: 0;
    float: none;
    clear: none;
}

.woocommerce .form-row.form-row-four {
    width: 23%;
    /* float: right; */
    margin-left: 2%;
    clear: none;
}

.woocommerce .form-row.form-row-four:nth-child(4n+1) {
    margin-left: 0;
    clear: right;
}

.woocommerce-billing-fields__field-wrapper {
    overflow: hidden;
}

.parent-container {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 2%;
    margin: 0;
    padding: 0;
}

.parent-container .form-row.form-row-four {
    width: 23%;
    margin: 0;
    float: none;
    clear: none;
}

.address-info-text {
    color: #E40E20;
    text-align: right;
    margin: -10px 0 24px 0;
    font-size: 14px;
}

.address-4-up-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.address-4-up-wrapper .form-row {
    width: 23%;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 48%;
    /* clear: none; */
    margin-left: 2%;
}
.woocommerce form .form-row-last {
    margin-left: 2% !important;
    /* float: right; */
}

@media (max-width: 768px) {

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
        margin-left: 0;
    }
}

/* Greeting Comment Section */
#add_greeting_checkbox_field {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#add_greeting_checkbox_field label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    color: #434867;
    margin: 0;
    gap: 8px;
}

#add_greeting_checkbox_field input[type="checkbox"] {
    accent-color: #434867;
    width: 20px;
    height: 20px;
    margin-left: 2px !important;
    border-radius: 0px;
    background: #fff;
    cursor: pointer;
    border: red solid 1px;
}

#greeting_comment_field span {
    display: none;
}

#greeting_comment_field.show {
    display: block;
}

#greeting_comment_field label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #434867;
   
}

#greeting_comment_field span.optional {
    margin-right: 5px;
    color: #999;
    font-weight: normal;
}

#add_greeting_checkbox {
    accent-color: #434867;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    border-radius: 0px !important;
    border: red solid 1px !important;
    background: #c32828;
    cursor: pointer;
    outline: none !important;
        /* מבטל מסגרת כחולה/שחורה בלחיצה */ 
     box-shadow: none !important; 
}

#greeting_comment_field textarea,
#order_comments_field textarea {
    resize: vertical;
    min-height: 100px;
    height: 100px;
    border: 1px solid #DDDBEF;
    border-radius: 0;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    background: #fff;
    color: #434867;
    font-family: inherit;
}

/* Hide the greeting comment field by default */
.hidden {
    display: none !important;
}

/* ship section */
#ship-to-different-address label,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox {
    position: relative;
    padding-right: 10px;
}

#subscription_option_field label.checkbox {
    position: relative;
}

.woocommerce-checkout .validate-required label {
    position: relative;
}

#ship-to-different-address label span:before,
#ship-to-different-address label span:after,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox span:before,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox span:after,
#subscription_option_field label.checkbox span:before,
#subscription_option_field label.checkbox span:after,
.validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text:before,
.validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text:after {
    content: '';
    width: 13px;
    height: 13px;
    border: red solid 1px;
    position: absolute;
    right: 7px;
    top: 7px;
}

#ship-to-different-address label span:after,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox span:after,
.woocommerce-checkout .validate-required label span:before,
#subscription_option_field label.checkbox span:after,
.validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text:after {
    background: red;
    opacity: 0;

}

#ship-to-different-address label input[type="checkbox"],
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox input[type="checkbox"],
.woocommerce-checkout .validate-required label input[type="checkbox"],
#subscription_option_field label.checkbox input[type="checkbox"] {
    opacity: 0;
}

#ship-to-different-address label input[type="checkbox"]:checked+span:after,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox input[type="checkbox"]:checked+span:after,
.woocommerce-checkout .validate-required label input[type="checkbox"]:checked+span:before,
#subscription_option_field label.checkbox input[type="checkbox"]:checked+span:after,
.validate-required label.checkbox input[type="checkbox"]:checked+span.woocommerce-terms-and-conditions-checkbox-text:after {
    opacity: 1;
    /* margin-top: -10px;
        margin-right: -6px; */
}

#ship-to-different-address label span:before,
#ship-to-different-address label span:after {
    top: 4px;
}

/* Terms and conditions checkbox specific styling */
.validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text {
    /* padding-right: 20px; */
    /* display: inline-block; */
}

/* Fix for checkbox visibility */
.woocommerce-checkout .validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text:before,
#ship-to-different-address label span:before,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox span:before,
#subscription_option_field label.checkbox span:before {
    background: white;
    opacity: 1;
}

/* Fix for checkbox positioning */
#ship-to-different-address label,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox,
#subscription_option_field label.checkbox,
.validate-required label.checkbox {
    /* padding-right: 20px; */
    position: relative;
    display: inline-flex !important;
    line-height: 1.6;
}

/* Adjust checkbox position */
#ship-to-different-address label span:before,
#ship-to-different-address label span:after,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox span:before,
#shipping_gift_option_field .woocommerce-input-wrapper label.checkbox span:after,
#subscription_option_field label.checkbox span:before,
#subscription_option_field label.checkbox span:after,
.validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text:before,
.validate-required label.checkbox span.woocommerce-terms-and-conditions-checkbox-text:after {
    right: 0;
}

.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout h3#checkout_review_heading,
.woocommerce-checkout h3#address-section-title,
.woocommerce-checkout .secure_payment {
    display: flex;
    padding: 10px 20px;
    background-color: #DDDBEF;
    font-size: 22px;
    font-weight: 600;
    color: #434867;
    margin-bottom: 20px;
    align-items: center;
}

.woocommerce form .form-row .input-checkbox {
    display: inline;
    margin: -2px 0 0 8px;
    text-align: center;
    vertical-align: middle;
}

.woocommerce form .form-row .woocommerce-input-wrapper .description::before {
    right: 50%;
    top: 0;
    margin-top: -4px;
    transform: translateX(50%) rotate(-180deg);
    content: "";
    position: absolute;
    border-width: 4px 6px 0 6px;
    border-style: solid;
    border-color: #1e85be transparent transparent transparent;
    z-index: 100;
    display: block
}

.woocommerce table.shop_table {
    border: 1px solid rgba(0, 0, 0, .1);
    margin: 0 0 24px -1px;
    text-align: right;
    width: 100%;
    border-collapse: separate;
    border-radius: 5px
}

.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table {
    border-color: #053540 !important;
    margin-bottom: 20px;
}

.woocommerce-form__label-for-checkbox.checkbox span {
    font-size: 16px;
}

.woocommerce-checkout-review-order-table {
    border: 1px solid #e40e20 !important;
    border-radius: 0 !important;
    background-color: #fff;
}

#payment {
    border: 1px solid #e3e3e3 !important;
    border-radius: 0 !important;
    background: #f1d5ce !important;
}

#place_order {
    border-radius: 0 !important;
    background-color: #373c4d;
    color: #fff;
}

.woocommerce-cart-form button {
    background: #fff !important;
    border: 1px solid #e40e5c !important;
    color: #e40e20 !important;
    border-radius: 20px !important;
    margin-left: auto;
    margin-right: auto;
}

.payment_box.payment_method_cardcom {
    background-color: #fff !important;
    color: #434867 !important;
    font-size: 18px !important;
    font-weight: 600;
}

.woocommerce-checkout #payment div.payment_box::before {
    border: none !important;
}

.payment_method_cardcom label {
    display: none;
}

/* p#subscription_option_field.form-row.form-row-wide span.woocommerce-input-wrapper label.checkbox span.optional {
    font-size: 0;
} */

p.in-stock {
    display: none;
}

/* tfoot table styling */

.woocommerce-checkout #payment {
    background: none !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #f8f8f8;
    color: #434867;
    border-radius: 0;
    padding: 15px;
    margin: 10px 0;
}

.woocommerce-checkout #payment div.payment_box:before {
    border-color: transparent transparent #f8f8f8 transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none;
    padding: 0;
}

#payment .place-order {
    background: none !important;
    margin-top: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    line-height: 2;
    /* margin-bottom: 10px; */
    padding: 15px;
    /* background-color: #fff; */
    border: 1px solid #ddd;
    /* border-radius: 4px; */
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    margin-bottom: 0;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    margin: 0 0 0 8px;

}

.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
    display: none !important;
}

#payment .payment_methods>.woocommerce-PaymentMethod>label::before, #payment .payment_methods>.wc_payment_method>label::before {
    display: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label {
    display: flex;
    /* align-items: center; */
    cursor: pointer;
    font-weight: 600;
    color: #434867;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label img {
    display: flex !important;
        width: 50% !important;
        height: 45px !important;
        background-size: auto;
        background-repeat: no-repeat;
        background-position: center;
        margin-right: 25% !important;
     
}
/* .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label img {
    display: flex;
} */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label img {  
    display: inline-block;
    width: 100%;
    height: 40px;
    background-image: url('https://ohmybox.dome.co.il/wp-content/plugins/z-credit-webcheckout-for-woo/images/payment_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
}
/* #billing_city_field{
    padding-left: 2% !important;
} */
#billing_address_1_field{
    clear:none !important;
}
/* החל מכתובת 1 והלאה – לבטל clear */
#billing_address_1_field,
#billing_address_1_field~p.form-row.form-row-first.validate-required {
    clear: none !important;
    /* לא clean – המאפיין נקרא clear */
}
.woocommerce-checkout #payment #place_order {
    float: none;
    width: 100%;
    padding: 15px;
    background-color: #434867;
    color: #ffffff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    /* margin-top: 15px; */
}

.woocommerce-checkout #payment #place_order:hover {
    background-color: #373c57;
}

/* Credit card payment icons styling */
.woocommerce-privacy-policy-text {
    display: none;
}

.woocommerce-checkout .payment-methods-header {
    background-color: #dddbef;
    padding: 10px 20px;
    font-size: 22px;
    font-weight: 600;
    color: #434867;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.woocommerce-checkout .payment-methods-header svg {
    margin-right: auto;
}

/* Coupon form styling */
.coupon-form {
    margin-bottom: 20px;
    width: 100%;
}

.coupon-wrapper-text th {
    padding: 10px 0;
}

.coupon-wrapper th {
    padding: 10px 0;
}

.coupon-wrapper td {
    padding: 10px 0;
}

.coupon-wrapper input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddbef;
}

.coupon-wrapper button {
    padding: 10px 15px;
    background-color: #434867;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.coupon-wrapper button:hover {
    background-color: #373c57;
}

/* Payment method selection styling */
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    margin: 1em 0;
    font-size: .92em;
    border-radius: 2px;
    line-height: 1.5;
    background-color: #dcd7e3;
    color: #515151;
}

/* Terms and conditions styling */
.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 20px;
}

.woocommerce-privacy-policy-text p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 14px;
    color: #434867;
}

/* Place order button */
#place_order {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    background-color: #434867;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#place_order:hover {
    background-color: #373c57;
}

/* Hidden elements */
.hidden {
    display: none !important;
}

#recipient_details_field .woocommerce-input-wrapper label,
.address-section-title {
    font-weight: 700 !important;
    color: #434867 !important;
    font-size: 18px !important;
}

.recipient-label {
    margin-bottom: 15px !important;
}

#recipient_details {
    display: none;
}

#customer_details,
#order_review {
    width: 100%;
    float: none;
    clear: both;
    background: none;
}

@media (min-width: 1025px) {

    #customer_details,
    #order_review {
        width: 100%;
    }

    .woocommerce-checkout #payment {
        float: right;
        width: 50%;
    }
}

/* .form-row span.optional {
    display: none;
} */

/* Form Section */
.form-group {
    display: block;
    width: 100%;
}

.form-group input {
    padding: 0;
    margin: 0;
    display: none;
}

.form-group label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 0;
    padding-right: 24px;
    line-height: 18px;
    white-space: normal;
    word-wrap: break-word;
}

.form-group label:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #FFFFFF;
    border: 1px solid #434867;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.form-group input:checked+label:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    right: 5px;
    top: 3px;
}

#order_review .woocommerce-shipping-totals {
    display: none;
}

table:not(.has-background) th {
    background-color: #fdfdfd;
}

/* Fix for checkout review order table */
.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #053540 !important;
    border-radius: 0 !important;
}

.shop_table.woocommerce-checkout-review-order-table tfoot tr {
    border-bottom: 1px solid #053540;
}

.shop_table.woocommerce-checkout-review-order-table tfoot tr:last-child {
    border-bottom: none;
}

.shop_table.woocommerce-checkout-review-order-table tfoot th,
.shop_table.woocommerce-checkout-review-order-table tfoot td {
    padding: 16px;
    vertical-align: middle;
    background-color: #fff !important;
    border-bottom: 1px solid #053540;
}

.shop_table.woocommerce-checkout-review-order-table tfoot tr:last-child th,
.shop_table.woocommerce-checkout-review-order-table tfoot tr:last-child td {
    border-bottom: none;
}

.shop_table.woocommerce-checkout-review-order-table tfoot th {
    text-align: right;
    font-weight: 600;
    color: #434867;
}

.shop_table.woocommerce-checkout-review-order-table tfoot td {
    text-align: left;
    direction: ltr;
}

.shop_table.woocommerce-checkout-review-order-table .woocommerce-Price-amount {
    font-weight: bold;
}

/* Coupon styling */
.shop_table.woocommerce-checkout-review-order-table .coupon-wrapper-text th {
    padding: 10px 16px;
}

.shop_table.woocommerce-checkout-review-order-table .is-apply-coupon {
    color: #434867;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    text-align: right;
    width: fit-content;
}

.shop_table.woocommerce-checkout-review-order-table .coupon-wrapper.hidden {
    display: none;
}

.shop_table.woocommerce-checkout-review-order-table .coupon-wrapper input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #DDDBEF;
    height: 40px;
    font-size: 14px;
    text-align: center;
}

/* Shipping methods styling */
.shop_table.woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop_table.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.shop_table.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li:last-child {
    margin-bottom: 0;
}

.shop_table.woocommerce-checkout-review-order-table .woocommerce-shipping-methods input[type="radio"] {
    margin-left: 8px;
}

.shop_table.woocommerce-checkout-review-order-table .woocommerce-shipping-methods label {
    font-size: 14px;
    color: #434867;
    cursor: pointer;
}

/* Z-Credit payment method styling override */
label[for=payment_method_zcredit_checkout_payment] {
    display: flex;
    flex-flow: column;
    gap: 10px;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    color: #434867;
    font-size: 18px;
    font-weight: 600;
}

#payment_method_zcredit_checkout_payment {
    display: none;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    text-align: right;
    padding: 1em;
    border-bottom: 1px solid #cfc8d8;
    margin: 0;
    list-style: none outside;
}

#payment .payment_methods>li:not(.woocommerce-notice) {
    background: none !important;
}

#payment .payment_methods>li:not(.woocommerce-notice):hover {
    background: none !important;
}

input[type=checkbox]+label, input[type=radio]+label {
    margin: 0;
}

.woocommerce-invalid #terms {
    outline: 2px solid var(--wc-red);
    outline-offset: 2px;
}

#terms_description {
    display: none !important;
}

/* .woocommerce form .form-row label span.optional {
    visibility: hidden !important;
} */

.woocommerce-checkout,
.woocommerce-checkout p.form-row label {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #434867 !important;
}

/* Add responsive styling for mobile screens */
@media (max-width: 768px) {
    .woocommerce-checkout p.form-row label,
    .woocommerce-checkout, .woocommerce-checkout p.form-row label {
        display: block !important;
        width: 100% !important;
        font-size: 16px !important;
        height: 30px;
    }
}

.woocommerce form .form-row label span.optional {
    visibility: hidden !important;
}

#subscription_option_field label.checkbox span.optional,
.woocommerce form .form-row label.checkbox span.optional {
    visibility: visible !important;
    font-size: 0 !important; 
}

.woocommerce form .form-row label {
    margin-bottom: 0 !important;
}

.checkout-inline-error-message {
    display: none !important;
}

#billing_full_name_description {
    visibility: hidden !important;
}

/* Datepicker
----------------------------------*/
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
/* .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } */
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month, 
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
/* .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  } */
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }

/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}/* Progressbar
----------------------------------*/
.ui-progressbar { height:2em; text-align: left; }
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }

.ui-datepicker .ui-icon {
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	background-repeat: no-repeat;
	left: .5em;
	top: .3em;
}

/* Date Picker */
.ui-datepicker .ui-datepicker-title {
    display: flex
}

.ui-datepicker .ui-datepicker-title .ui-datepicker-month {
    margin-right: auto;
    margin-left: 10px
}

.ui-datepicker .ui-datepicker-title .ui-datepicker-year {
    margin-left: auto;
    margin-right: 10px
}

.ui-datepicker .ui-datepicker-prev {
    margin-top: 6px
}

.ui-datepicker .ui-datepicker-next {
    margin-top: 6px;
    margin-right: 24px
}

.ui-datepicker thead, .ui-datepicker thead th {
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-family: var(--almoni-font);
    font-weight: bold !important;
}

.ui-datepicker thead, .ui-datepicker thead th {
    background: #434867 !important;
    color: #fff !important;
}

.ui-datepicker th {
    padding: 10px;
    text-align: center;
    font-size: 18px;
    color: var(--e-global-color-e045702);
}

.ui-datepicker {
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-top: none;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, .075);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .075);
    min-width: 17em;
    width: auto;
    z-index: 1000 !important;
}

.ui-datepicker .ui-datepicker-header, .ui-datepicker .ui-widget-header {
    border: none;
    font-weight: 400;
    background: var(--e-global-color-13d3188) /*! margin: 0px; */;
}

.ui-datepicker * {
    padding: 0;
    font-family: inherit;
    border-radius: 0;
}


.ui-datepicker .ui-datepicker-title {
    margin: 0;
    padding: 10px 0;
    color: var(--e-global-color-7027c87);
    font-size: 14px;
    /* line-height: 14px; */
    text-align: center /*! background: var(--e-global-color-13d3188); */;
}

.ui-datepicker .ui-datepicker-title {
    display: flex;
}

.ui-datepicker .ui-datepicker-title .ui-datepicker-month {
    margin-right: auto;
    margin-left: 10px;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    width: 33%;
    height: 20px;
}

.ui-datepicker .ui-datepicker-prev {
    float: right;
}

.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-prev {
    position: relative;
    top: 0;
    height: 34px;
    width: 34px;
}

.ui-datepicker .ui-datepicker-prev {
    margin-top: 6px;
}

.ui-datepicker .ui-datepicker-next {
    float: left;
}

.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-next-hover {
    left: 0;
}

.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-prev {
    position: relative;
    top: 0;
    height: 34px;
    width: 34px;
}

.ui-datepicker .ui-datepicker-next {
    /* margin-top: 0px; */
    margin-right: 24px;
}

.ui-datepicker .ui-datepicker-prev:before {
    content: "\f345";
    display: block;
}

.ui-datepicker .ui-datepicker-next:before, .ui-datepicker .ui-datepicker-prev:before {
    font: 20px / 34px dashicons;
    padding-left: 7px;
    color: var(--e-global-color-bc7567e);
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 34px;
    height: 34px;
}

.ui-datepicker .ui-datepicker-next:before {
    content: "\f341";
    display: block;
}

.ui-datepicker .ui-datepicker-next:before, .ui-datepicker .ui-datepicker-prev:before {
    font: 20px / 34px dashicons;
    padding-left: 7px;
    color: var(--e-global-color-bc7567e);
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 34px;
    height: 34px;
}

.ui-datepicker td {
    padding: 0;
    border: 1px solid #f4f4f4;
}

.ui-datepicker td .ui-state-default {
    background: #fff;
    border: none;
    text-align: center;
    text-decoration: none;
    width: auto;
    display: block;
    padding: 5px 10px;
    color: var(--e-global-color-text);
}

.ui-datepicker td .ui-state-default:hover {
    background-color: var(--e-global-color-3772c15) !important;
}

.ui-state-default.ui-state-active {
    background-color: var(--e-global-color-3772c15) !important;
    font-weight: 600;
}

.ui-datepicker td.ui-datepicker-week-end {
    background-color: hsla(0, 0%, 50.2%, .10196078431372549);
    border: 1px solid #f0f0f0;
}

.ui-datepicker td.ui-datepicker-current-day {
    background: var(--e-global-color-9cc6519);
}

table caption+thead tr:first-child td, table caption+thead tr:first-child th, table colgroup+thead tr:first-child td, table colgroup+thead tr:first-child th, table thead:first-child tr:first-child td, table thead:first-child tr:first-child th {
    border-block-start: 1px solid hsla(0, 0%, 50.2%, .5019607843);
}

/* תיקון לבעיית שבירת מילים בlabels של form-row-four */
.parent-container .form-row.form-row-four label,
.woocommerce .form-row.form-row-four label {
    white-space: nowrap !important;
    word-wrap: normal !important;
    word-break: normal !important;
    display: block;
}
/* הסרת נקודות מתחת לכוכבית הנדרשת */
abbr.required {
    color: var(--wc-red);
        font-weight: 700;
    text-decoration: none !important;
    border-bottom: none !important;
    cursor: default;
}

abbr.required:hover {
    border-bottom: none !important;
    text-decoration: none !important;
}
.woocommerce .required,
.required{
    color: var(--wc-red);
        font-weight: 700;
}
@media (max-width: 768px) {

    /* פתרון פשוט עם calc() - 4 שדות בשורה אחת */
    .woocommerce .form-row.form-row-four,
    .parent-container .form-row.form-row-four,
    .address-4-up-wrapper .form-row {
        width: calc(25% - 6px) !important;
        margin: 0 !important;
        margin-bottom: 10px !important;
        float: left !important;
        box-sizing: border-box !important;
    }

    /* רווח קטן בין השדות */
    .woocommerce .form-row.form-row-four:not(:last-child),
    .parent-container .form-row.form-row-four:not(:last-child) {
        margin-right: 6px !important;
    }

    .parent-container {
        display: block !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .comments-field-left,
    .comments-field-right {
        width: 100% !important;
        margin-left: 0 !important;
    }
}
@media (max-width: 768px) {

    /* #order_birthday_date_field,
    #order_anniversary_date_field {
        width: calc(48% -3px) !important;    
      
    } */

    #order_birthday_date_field {
        margin-left: 0 !important;
    }
        .parent-container.form-row.form-row-last.oversea-mode {
        /* display: flex !important;
            justify-content: space-between !important;
            flex-wrap: wrap;
            gap: 10px !important; */
        
        }
                p#shipping_postcode_field{
                    float: right !important;
                }
                                .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label img {
                                    width: 69% !important;
                                    margin-right: 15% !important;
                                }
}