.woocommerce .header-panel__lang,
.woocommerce-page .header-panel__lang {
    font-weight: 500;
    /*color: #003b55;*/
    transition: color .3s;
}

.admin-bar.woocommerce .header {
    top: 0;
}

/***** cart page start ******/
.woocommerce .woocommerce-message .restore-item {
    color: #187FD3
}

.woocommerce-cart .coupon {
    display: none;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error {
    margin-top: 120px;
}

/* .woocommerce-cart.admin-bar .header ,
.woocommerce-checkout.admin-bar .header ,
.single-product  .admin-bar .header {
	top:0 !important;
} */
.woocommerce-cart .checkout-button {
    background: #187FD3;
    border-radius: 40px;
    font-size: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Roobert';
}

.cart-header span {
    color: rgb(46 57 72 / 60%);
}

.cart-header {
    font-weight: 400;
    color: #2E3948;
    margin-bottom: 45px;
    font-size: 50px;
    margin-top: 120px;
}

.cart-item-title>div:first-child,
.cart-summary h3 {
    color: #2E3948;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
}

.cart-item-details .cart-item-title a,
.cart-item-details .variation p,
.cart-item-details .woocommerce-Price-amount bdi {
    color: #2E3948;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}

.variation {
    padding: 0 !important;
    margin-top: 0 !important;
}

.cart-item-details .woocommerce-Price-amount bdi {
    font-weight: 600;
}

.cart-content {
    display: flex;
    gap: 5px;
}

.cart-items {
    width: 73%;
    display: flex;
    flex-direction: column;
    max-height: 600px;
    overflow-y: scroll;
    /* Always show scrollbar */
    padding-right: 40px;
    /* Add padding to prevent content from overlapping with the scrollbar */
}

.cart-item {
    display: flex;
    gap: 20px;
    padding-bottom: 15px;
    margin-bottom: 50px !important;
    width: 95% !important;
}

.woocommerce-cart #coupon_code {
    border-radius: 8px;
    padding-top: 11px;
    border-color: rgb(46 57 72 / 16%);
    padding-bottom: 11px;
    width: 300px;
}

.woocommerce-cart .edit-link {
    margin-left: 40px !important;
    margin-top: 30px;
}

.cart-item-remove {
    color: #2E3948 !important;
    border-bottom: 1px solid #2E3948;
    font-size: 14px;
    height: fit-content;
    font-weight: 400;
    margin-top: 8px;
}

.cart-summary {
    width: 27%;
    padding: 20px;
    border-left: 2px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 0;
}

.checkout-btn {
    font-weight: 600;
    display: block;
    text-align: center;
    background: #187FD3;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-size: 12px;
    margin-top: 10px;
    padding: 15px;
    text-transform: uppercase;
}

.cart-summary .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-summary .summary-item span {
    font-size: 14px;
    font-weight: 400;
}

.cart-summary .summary-item:nth-child(3) span {
    font-weight: 600;
}

.coupon {
    display: flex;
    gap: 10px;
    width: 65%;
    margin-top: 40px;

}

.coupon input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.coupon button {
    background: #187fd3;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cart-item-details {
    display: flex;
    justify-content: space-between;
    width: 66%;
}

.cart-item .cart-item-image {
    width: 34%;
}

.woocommerce-cart .checkout-button {
    background-color: #187FD3 !important;
    border-radius: 40px !important;
    font-size: 12px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
}

.woocommerce-cart .cart_totals tr th,
.woocommerce-cart .cart_totals tr td bdi {
    color: #2E3948;
    font-size: 14px;
}

/* .woocommerce-cart .cart_totals h2 {
	font-family: 'Roobert';
} */
.woocommerce-cart .cart_totals {
    max-width: 322px;
}

.cart_totals tr th,
.cart_totals tr td,
.cart_totals table {
    border: 0 !important;
}

.cart_totals tr th {
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    font-weight: 600;
}

.woocommerce-cart .cart_totals tr td bdi {
    font-weight: 400;
}

.cart_totals tr td {
    padding-bottom: 0 !important;
}

.woocommerce-cart .coupon {
    align-items: center;
}

.woocommerce-cart .coupon button[type="submit"] {
    font-size: 12px;
    text-transform: capitalize;
    color: #2E3948;
    padding: 10px 30px;
    border-radius: 50px;
    font-family: 'Roobert';
}

.woocommerce-cart button[name="update_cart"],
.woocommerce-cart .edit-link a,
.woocommerce-checkout .edit-link a {
    opacity: 1;
    border-radius: 40px;
    border-color: rgb(46 57 72 / 16%);
    color: #2E3948 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding-top: 11px;
    padding-bottom: 11px;
    text-decoration: none;
}

.woocommerce-cart .edit-link:hover,
.woocommerce-checkout .edit-link:hover {
    background: #187FD3 !important;
}

.woocommerce-cart .edit-link:hover a,
.woocommerce-checkout .edit-link:hover a {
    color: #fff !important;
}

.woocommerce-cart .edit-link,
.woocommerce-checkout .edit-link {
    padding: 0;
    margin-left: 17px;
    border-radius: 40px;
}

.woocommerce-cart h1.entry-title {
    font-weight: 400;
    color: #2E3948;
}

.woocommerce-cart .shop_table th {
    font-weight: 400 !important;
    font-size: 22px;
    color: #2E3948;
}

.woocommerce-cart .product-name a,
.woocommerce-cart .shop_table tb bdi {
    text-decoration: none;
    font-weight: 400 !important;
    font-size: 18px;
    color: #2E3948;
}

.woocommerce-cart table.cart img {
    width: 100px !important;
}

@media screen and (min-width:1025px) {
    .card-body {
        display: flex;
    }

    .card-body .woocommerce-cart-form {
        width: 77% !important;
        margin-right: 3% !important;
    }

    .cart-collaterals {
        width: 20% !important;
    }

    .cart_totals {
        width: 100% !important;
    }
}

@media screen and (max-width:1024px) {
    .woocommerce .container {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .woocommerce.single-product .container {
        padding-right: 40px !important;
        padding-left: 40px !important;
    }

    .cart-content {
        flex-wrap: wrap;
    }

    .cart-items,
    .cart-summary {
        width: 100%;
    }

    .cart-items {
        padding-right: 0;
    }

    .cart-item {
        width: 100% !important;
        flex-wrap: wrap;
    }

    .cart-item-image {
        width: 40% !important;
    }

    .cart-item-details {
        width: 60%;
        padding-left: 20px;
        height: fit-content;
        position: relative;
    }

    .cart-item-details .cart-item-title a,
    .cart-item-details .variation p {
        font-size: 15px;
    }

    .cart-item-title>div:first-child,
    .cart-summary h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .cart-header {
        font-size: 46px;
    }

    .cart-item {
        gap: unset;
    }

    .cart-item-remove {
        position: absolute;
        bottom: 7px;
        right: 0;
    }

    .cart-item-details .woocommerce-Price-amount bdi {
        font-size: 17px;
    }

    .cart-items::-webkit-scrollbar-thumb {
        background-color: #fff !important;
        /* Color of the scrollbar thumb */
        border-radius: 4px;
        /* Rounded corners for the scrollbar thumb */
    }

    .cart-summary {
        border-left: 0;
        padding: 40px 0 10px;
    }

    .coupon {
        width: 100%;
    }

    .woocommerce-cart .edit-link {
        margin-left: 0 !important;
        margin-top: 20px;
    }
}

@media screen and (max-width:767px) {
    .woocommerce.single-product .container {
        padding-right: 24px !important;
        padding-left: 24px !important;
    }
}

/***** cart page end *****/

.single_title_con .single_title h2 {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-weight: 400;
    font-size: 64px;
    max-width: 712px;
    color: #2E3948;
    letter-spacing: -4px;
    margin: 0;
}

.single_title_con .single_btn a {
    background: #187FD3;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 22px 45px;
    border-radius: 36px;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    display: block;
}

.single_title_con {
    max-width: 1360px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 50px auto;
    flex-wrap: wrap;
}

.single_program_form_con {
    max-width: 1360px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: auto;
    flex-wrap: wrap;
}

.single_program_form_con .single_program_form {
    width: 44.8%;
    padding: 30px;
    border-radius: 8px 8px 8px 80px;
    background: #187FD3;
    position: relative;
    margin-right: 20px;
}

.single_program_form_con .single_program_form h2 {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-weight: 400;
    font-size: 46px;
    max-width: 309px;
    color: #fff;
    letter-spacing: -2px;
    margin-top: 0;
    margin-bottom: 45px;
}

.single_program_form form select {
    display: block;
    width: 100%;
    border-radius: 28px;
    border: 1px solid #ffffff3d;
    background: transparent;
    margin-bottom: 20px;
    padding: 16px 20px;
    font-size: 14px;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
}

.single_program_form form select:focus-visible {
    outline: 0;
}

.single_program_form form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url(../images/chevron-down.svg);
    background-repeat: no-repeat;
    background-position-x: 96%;
    background-position-y: 23px;
    color: #fff;
    height: 55.6px;
}

.single_program_form form select option {
    color: #000;
}

.single_program_form form input[type="submit"] {
    border-radius: 36px;
    background-color: #fff;
    color: #2E3948;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    text-transform: uppercase;
    border: none;
    padding: 27px 66px;
    margin-top: 70px;
    font-size: 12px;
    font-weight: 600;
}

.single_program_form .defualt_price {
    font-size: 32px;
    color: #fff;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-weight: 400;
    margin: 0;
    text-align: right;
    position: absolute;
    right: 30px;
    bottom: 50px;
}

.virtual_training {
    width: 44.7%;
    border-radius: 8px 80px 8px 8px;
    border: 1px solid rgb(46 57 72 / 24%);
    padding: 30px;
    position: relative;
}

.virtual_training h2 {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    color: #2E3948;
    font-size: 46px;
    font-weight: 400;
    max-width: 309px;
    margin-top: 0;
    margin-bottom: 210px;
}

.virtual_training img {
    max-width: 72px;
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
}

.program_overview {
    max-width: 1360px;
    display: flex;
    border-top: 1px solid #2e39483d;
    margin: 150px auto;
    flex-wrap: wrap;
}

.program_overview>div {
    width: 50%;
}

.program_overview .overview ul li {
    font-size: 12px;
    font-weight: 600;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    color: #2E3948;
}

.program_overview .overview ul li::marker {
    color: #D0C7C0;
}

.program_overview .program_txt h3 {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #2E3948;
}

.program_overview .program_txt p {
    font-size: 22px;
    color: #2e394899;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    max-width: 524px;
}

.program_overview .program_images {
    display: flex;
    margin-top: 70px;
}

.program_overview .program_images img:first-child {
    max-width: 190px;
    margin-right: 50px;
}

.program_overview .program_images img:last-child {
    max-width: 165px;
}

.program_outline {
    background-color: #003A55;
    border-bottom: 1px solid #ffffff3d;
}

.program_outline .con,
.who_attend>div {
    display: flex;
    max-width: 1360px;
    margin: auto;
}

.program_outline .con>div {
    padding: 50px 0;
}

.program_outline .con .program_outline_title {
    width: 45%;
}

.program_outline_title h2 {
    color: #fff;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-size: 64px;
    font-weight: 400;
}

.program_outline .con .program_module {
    width: 55%;
    border-left: 1px solid #ffffff3d;
    padding-left: 70px;
}

.program_outline .con .program_module h6 {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    margin-bottom: 15px;
}

.program_outline .con .program_module h3 {
    color: #fff;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-size: 46px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 50px;
}

.program_outline .con .program_module ul {
    color: #FFFFFF;
    font-size: 22px;
    padding-left: 25px;
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-weight: 400;
    margin-bottom: 150px;
}

.who_attend {
    background-color: #003A55;
    padding: 100px 0 150px;
}

.who_attend .con>div {
    width: 50%;
}

.attend_info h2 {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: #fff;
    margin: 20px 0;
}

.attend_info p {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-size: 22px;
    color: #fff9;
    font-weight: 400;
    max-width: 376px;
    margin: 0;
}

.attend_info ul {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    padding-left: 25px;
}

.attend_info ul li {
    margin-bottom: 10px;
}

.attend_info h3 {
    font-family: "Roobert", -apple-system, system-ui, sans-serif;
    font-size: 32px;
    color: #fff;
    font-weight: 400;
    max-width: 530px;
    margin: 0;
}

.attend_person img {
    width: 100%;
}

.attend_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program_overview .overview ul {
    margin-top: 32px;
}

.who_attend .con {
    flex-wrap: wrap;
}

@media screen and (max-width:1400px) and (min-width:1025px) {
    .section_width {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (max-width:1024px) {
    .section_width {
        padding-left: 30px;
        padding-right: 30px;
    }

    .single_title_con>div,
    .single_program_form_con>div,
    .who_attend .con>div {
        width: 100% !important;
    }

    .single_title_con .single_title {
        margin-bottom: 30px;
    }

    .single_title_con .single_btn a {
        width: fit-content;
    }

    .single_program_form_con .single_program_form {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .program_overview {
        margin-top: 80px;
    }

    .program_overview .overview {
        width: 25%;
    }

    .program_overview .program_txt {
        width: 75%;
    }

    .program_overview .program_txt h3,
    .attend_info h3 {
        font-size: 25px;
    }

    .program_outline_title h2 {
        font-size: 35px;
    }

    .program_outline .con .program_module h3,
    .attend_info h2 {
        font-size: 38px;
    }

    .program_outline .con .program_module {
        padding-left: 30px;
        padding-right: 30px;
    }

    .attend_info {
        margin-bottom: 40px;
    }
}

@media screen and (max-width:767px) {
    .section_width {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single_title_con .single_title h2 {
        font-size: 46px;
        line-height: 55px;
        letter-spacing: -1px;
    }

    .single_program_form_con .single_program_form h2 {
        font-size: 33px;
        max-width: 234px;
    }

    .single_program_form form input[type="submit"] {
        margin-top: 30px;
        padding: 20px 48px;
    }

    .single_program_form_con .single_program_form {
        padding: 20px;
        border-radius: 8px 8px 8px 40px;
    }

    .single_program_form .defualt_price {
        font-size: 23px;
        bottom: 35px;
    }

}


.enroll {
    margin-top: 150px !important;
}

html[lang="ar"] .outline-item__text ul li:before {
    content: "•";
    display: block;
    margin-left: 12px;
}

html[lang="ar"] .outline-wrapper__item:first-child {
    border-left: 1px solid rgba(255, 255, 255, .24);
    border-right: none;
    padding-top: 120px;
}


html[lang="ar"] .overview-logos img:not(:last-child),
.overview-logos svg:not(:last-child) {
    margin-left: 56px;
    margin-right: 0;
}


/* Force scrollbar to always be visible (even on macOS) */
.cart-items::-webkit-scrollbar {
    width: 2px;
    /* Width of the scrollbar */
    background-color: #fff;
    /* Background color of the scrollbar track */
}

.cart-items::-webkit-scrollbar-thumb {
    background-color: #94A4BA;
    /* Color of the scrollbar thumb */
    border-radius: 4px;
    /* Rounded corners for the scrollbar thumb */
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Color of the scrollbar thumb on hover */
}

.cart-item:last-child {
    border-bottom: none;
}

/* .cart-item-image {
    width: 200px;
    height: 200px;
    background: #1e3a8a;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
} */
.cart-item-info {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.update-cart-btn {
    background: #1e3a8a;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none !important;
}

/* RTL Styles */
/*
html[lang="ar"] body.single-product   {
	font-family:'cairo';
}
*/

/* html[lang="ar"] .cart-content {
    flex-direction: row-reverse;
} */

html[lang="ar"] .cart-summary {
    border-left: none;
    border-right: 2px solid #ddd;
}

html[lang="ar"] .cart-item-remove {
    margin-left: 0;
    margin-right: auto;
}

html[lang="ar"] .summary-item {
    flex-direction: row-reverse;
}

/* html[lang="ar"] .coupon {
    flex-direction: row-reverse;
} */

.woocommerce-cart .coupon button[type="submit"],
.woocommerce-cart button[name="update_cart"] {
    color: white !important;
}

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

.woocommerce-cart h1.entry-title {
    font-family: 'Roobert';
    font-weight: 400;
    color: #2E3948;
    margin: 45px;
    font-size: 50px;
    display: none !important;
}

/* Main wrapper */
.woocommerce-billing-fields__field-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* Form row styling */
.form-row {
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
}

/* Label styling */
.form-row label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Required asterisk */
.required {
    color: #dc2626;
    text-decoration: none;
    font-weight: normal;
    border: 0;
}

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

/* Input fields styling */
.woocommerce-input-wrapper input[type="text"],
.woocommerce-input-wrapper input[type="tel"],
.woocommerce-input-wrapper input[type="email"],
.woocommerce-input-wrapper select,
.select2-container .select2-selection--single {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #fff;
    font-size: 0.875rem;
    color: #1f2937;
    transition: border-color 0.2s ease;
    outline: none !important;
    min-height: 45px;
}

/* Select2 specific styling */
.select2-container .select2-selection--single {
    height: auto;
    padding: 0.75rem 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    padding: 0;
    color: #1f2937;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 1rem;
}

/* Focus states */
.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Grid layout for first/last name */
.form-row-first,
.form-row-last {
    width: 48% !important;
    float: left;
    clear: none;
}

.form-row-last {
    float: right;
}

/* Full width fields */
.form-row-wide {
    width: 100% !important;
    clear: both;
}

/* Optional text styling */
.optional {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: normal;
}

/* Placeholder styling */
.woocommerce-input-wrapper input::placeholder {
    color: #9ca3af;
}

/* Error state */
.woocommerce-invalid input {
    border-color: #dc2626;
}

/* Success state */
.woocommerce-validated input {
    border-color: #059669;
}

/* Responsive styles */
@media (max-width: 768px) {

    .form-row-first,
    .form-row-last {
        width: 100% !important;
        float: none;
    }

    .woocommerce-billing-fields__field-wrapper {
        padding: 0 1rem;
    }
}

/* Hide screen reader text but maintain accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Dropdown arrow customization */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6b7280 transparent transparent transparent;
}

/* Input autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    transition: background-color 5000s ease-in-out 0s;
}


/* Style for the product item container */
.checkout-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Style for the product image */
.checkout-product-image img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

/* Style for the product name */
.checkout-product-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: #f8fbfe !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: #f8fbfe !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: #f8fbfe !important;
    border-radius: 5px;
}


.woocommerce-page .nav a {
    color: #000 !important;
}

.woocommerce-checkout-review-order {
    display: flex !important;
    justify-content: center !important;
    gap: 100px;

}

.woocommerce-billing-fields {
    margin-top: 0px !important;
}


/* Main wrapper */
.woocommerce-billing-fields__field-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* Form row styling */
.form-row {
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
}

/* Label styling */
.form-row label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Required asterisk */
.required {
    color: #dc2626;
    text-decoration: none;
    font-weight: normal;
    border: 0;
}

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

/* Input fields styling */
.woocommerce-input-wrapper input[type="text"],
.woocommerce-input-wrapper input[type="tel"],
.woocommerce-input-wrapper input[type="email"],
.woocommerce-input-wrapper select,
.select2-container .select2-selection--single {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #fff;
    font-size: 0.875rem;
    color: #1f2937;
    transition: border-color 0.2s ease;
    outline: none !important;
    min-height: 45px;
}

/* Select2 specific styling */
.select2-container .select2-selection--single {
    height: auto;
    padding: 0.75rem 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    padding: 0;
    color: #1f2937;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 1rem;
}

/* Focus states */
.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Grid layout for first/last name */
.form-row-first,
.form-row-last {
    width: 48% !important;
    float: left;
    clear: none;
}

.form-row-last {
    float: right;
}

/* Full width fields */
.form-row-wide {
    width: 100% !important;
    clear: both;
}

/* Optional text styling */
.optional {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: normal;
}

/* Placeholder styling */
.woocommerce-input-wrapper input::placeholder {
    color: #9ca3af;
}

/* Error state */
.woocommerce-invalid input {
    border-color: #dc2626;
}

/* Success state */
.woocommerce-validated input {
    border-color: #059669;
}

/* Responsive styles */
@media (max-width: 768px) {

    .form-row-first,
    .form-row-last {
        width: 100% !important;
        float: none;
    }

    .woocommerce-billing-fields__field-wrapper {
        padding: 0 1rem;
    }
}

/* Hide screen reader text but maintain accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Dropdown arrow customization */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6b7280 transparent transparent transparent;
}

/* Input autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    transition: background-color 5000s ease-in-out 0s;
}


/* Style for the product item container */
.checkout-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Style for the product image */
.checkout-product-image img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

/* Style for the product name */
.checkout-product-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
    margin-bottom: 70px !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: #f8fbfe !important;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box,
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: #f8fbfe !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: #f8fbfe !important;
    border-radius: 5px;
}

#body {
    background-color: #f8fbfe !important;
}

.shop_table.woocommerce-checkout-review-order-table,
.shop_table.woocommerce-checkout-review-order-table th,
.shop_table.woocommerce-checkout-review-order-table td {
    border: none;
}

.woocommerce img,
.woocommerce-page img {
    border-radius: 20px !important;
}

.woocommerce-page .menu-item img {
    border-radius: 0 !important;
}

html[lang="ar"] .menu-item__arrow {
    transform: rotate(-90deg);
}

/*********** Checkout start ***********/
@media screen and (min-width:1025px) {
    .checkout_coupon .row>div:first-child {
        width: 85% !important;
    }

    .checkout_coupon .row>div:last-child {
        width: 15% !important;
    }
}

.woocommerce-checkout #customer_details>.col-1 {
    width: 60% !important;
}

.woocommerce-checkout #customer_details>.col-2 {
    width: 40% !important;
}

.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method.payment_method_wctelr {
    display: flex;
    align-items: start;
    margin-top: 20px;
    /* 	margin-bottom:20px; */
}

.woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr,
.woocommerce-checkout #payment .validate-required label {
    display: flex;
    align-items: center;
}

.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method.payment_method_wctelr input {
    width: fit-content;
    margin-top: 5px;
    margin-right: 5px;
}

.woocommerce-checkout #payment .validate-required label input {
    width: fit-content;
    margin-top: 2px;
    margin-right: 5px;
}

.woocommerce-checkout #payment .validate-required label {
    margin-top: 15px;
}

.checkout_coupon .row>div:first-child p.form-row-first {
    width: 100%;
}

.checkout_coupon .row>div:first-child p.form-row-first input {
    border-radius: 8px;
    padding-top: 11px;
    border-color: rgb(46 57 72 / 16%);
    padding-bottom: 11px;
    width: 100%;
}

.checkout_coupon .row>div:last-child p.form-row-last {
    float: unset;
    width: 100%;
}

.checkout_coupon .row>div:last-child p.form-row-last button[type="submit"] {
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 8px;
    color: #2E3948 !important;
    font-weight: 600;
    text-transform: uppercase;
    background: transparent;
    font-size: 15px;
}

.woocommerce-checkout h1.entry-title {
    font-weight: 400;
    color: #2E3948;
    margin-bottom: 45px;
    /* margin-left:30px; */
    margin-top: 50px;
    font-size: 40px;
}

/*.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper:first-child  {
	margin-top:155px;
}*/

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    font-size: 32px;
    font-weight: 400;
    text-transform: capitalize;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    margin-left: 0;
}

.woocommerce-checkout .woocommerce-billing-fields .form-label {
    margin-bottom: 0 !important;
}

.woocommerce-checkout button[name="woocommerce_checkout_place_order"] {
    background-color: #187FD3 !important;
    border-radius: 40px !important;
    font-size: 12px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 400 !important;
    font-size: 22px;
    color: #2E3948;
}

.woocommerce-checkout .woocommerce-billing-fields #billing_first_name_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_last_name_field {
    width: 50%;
}

.woocommerce-checkout .woocommerce-billing-fields .woocommerce-billing-fields input {
    border-color: rgb(46 57 72 / 20%) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px !important;
}

.woocommerce-checkout .form-row .required {
    color: #1469B0 !important;
}

/* .woocommerce-billing-fields input {
	border-width:0 0 1px 0 !important;
	border-radius:0 !important;
	padding-left:0 !important;
	padding-top:5px !important;
} */
.woocommerce-page .nav a {
    color: #000 !important;
}

.woocommerce-checkout-review-order {
    display: flex !important;
    justify-content: center !important;
    gap: 100px;

}

.woocommerce-additional-fields {
    display: none !important;
}

.woocommerce-checkout .cart_item td.product-name {
    display: flex;
}

.woocommerce-checkout .cart_item td.product-name .product_image {
    width: 28%;
    color: #fff;
}

.woocommerce-checkout .cart_item td.product-name .product_image img {
    width: 100%;
}

.woocommerce-checkout .cart_item td.product-name .product_details {
    width: 66%;
    padding-left: 20px;
}

.woocommerce-checkout h3#order_review_heading {
    color: #2E3948;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 25px;
    /* padding-left:30px; */
}

.woocommerce-checkout .cart_item td.product-name .product_details h3 {
    font-size: 22px;
    color: #2E3948;
    font-weight: 400;
    margin-bottom: 20px;
}

.woocommerce-checkout .cart_item td.product-name .product_details p {
    font-size: 14px;
    color: #2E3948;
    font-weight: 400;
}

.woocommerce-checkout .cart_item td.product-name .product_details .variation {
    display: block;
}

.woocommerce-checkout-review-order-table td bdi {
    font-weight: 600 !important;
    font-size: 14px;
    color: #2E3948;
}

.checkout_coupon input {
    border-radius: 8px;
    padding-top: 11px;
    border-color: rgb(46 57 72 / 16%);
    padding-bottom: 11px;
    width: 100%;
    border: 1px solid;
    margin-top: 20px;
    padding-left: 10px;
}

.checkout_coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 30px !important;
    margin-right: 30px !important;
}

.checkout_coupon>p:first-child {
    width: 100%;
    margin-bottom: 20px;
}

.checkout_coupon .form-row-first {
    width: 30% !important;
    margin-bottom: 0 !important;
}

.checkout_coupon .form-row-last {
    width: 20% !important;
    margin-bottom: 0 !important;
}

.checkout_coupon .form-row-first input {
    border-radius: 8px;
    padding-top: 11px;
    border-color: rgb(46 57 72 / 16%);
    padding-bottom: 11px;
    border: 1px solid;
    margin-top: 20px;
    padding-left: 10px;
    margin-top: 0;
    padding-right: 10px;
}

.checkout_coupon .form-row-last button {
    background: #187fd3;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    text-transform: capitalize;
    padding: 16px 30px;
    border-radius: 50px;
    margin-left: 20px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    font-size: 15px;
    font-weight: 500;
    border-top-color: #187fd3;
    /*margin-left:30px; */
    /* 	margin-right:30px; */
}

.woocommerce-form-coupon-toggle .woocommerce-info .showcoupon:hover {
    color: #187FD3;
}

.woocommerce-checkout .woocommerce-billing-fields .select2-selection,
.woocommerce-checkout .address-field .select2-selection {
    height: 43px !important;
    vertical-align: middle;
    display: flex !important;
    align-items: center;
    border-color: rgb(46 57 72 / 20%) !important;
    border-width: 0 0 1px 0 !important;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

/* .woocommerce-checkout .woocommerce-billing-fields .select2-selection__arrow {
	right:0 !important;
} */
.woocommerce-checkout span.woocommerce-input-wrapper input {
    border: none !important;
    border-bottom: 1px solid rgb(46 57 72 / 20%) !important;
    border-radius: 0px !important;
    padding-left: 0;
}

.create-account label,
#ship-to-different-address label {
    display: flex;
    align-items: center;
}

.create-account label input,
#ship-to-different-address label input {
    width: 15px;
    height: 15px;
}

.create-account label span,
#ship-to-different-address label span {
    font-size: 15px;
    font-weight: 500;
}

.woocommerce-checkout-payment {
    border-radius: 8px 8px 80px 8px !important;
}

.woocommerce-checkout-payment .wc_payment_methods,
.woocommerce-checkout-payment .payment_box {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cs-order-total div:first-child,
.cs-order-total div strong {
    font-size: 32px;
    color: #2E3948;
    font-weight: 400;
}

.cs-order-total {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgb(46 57 72 / 20%);
    padding-bottom: 10px;
    align-items: center;
}

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

.woocommerce-checkout button#place_order {
    width: 100%;
    margin-top: 10px;
    font-size: 16px !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout span.woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-billing-fields .select2-selection:focus {
    box-shadow: none !important;
}

.woocommerce-checkout #customer_details {
    margin-top: 50px;
}

#ship-to-different-address label {
    margin-bottom: 18px;
}

#account_password {
    padding: 12px 16px 12px 0 !important;
}

.woocommerce-checkout .show-password-input {
    top: 16px !important;
}

.woocommerce-checkout article#post-2262 {
    margin-top: 50px !important;
}

.woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr img {
    border-radius: 0 !important;
}

.woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr p {
    width: 100%;
}

@media screen and (min-width:767px) {
    .woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr {
        column-gap: 6px;
        flex-wrap: wrap;
        row-gap: 15px;
        margin-top: 0;
        padding-top: 0;
    }

    .woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr img.logo_visa {
        width: 63px !important;
        margin-right: 0;
    }

    .woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr img.logo_mastercard {
        width: 50px !important;
    }

    .woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr img.logo_mada {
        width: 77px !important;
    }

    .woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr img.logo_stcpay {
        width: 91px !important;
    }

    .woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr img.logo_urpay {
        width: 73px !important;
    }
}

@media screen and (max-width:1024px) {
    .woocommerce-notices-wrapper .woocommerce-message a {
        margin-top: 20px;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order {
        flex-wrap: wrap;
        gap: unset;
        padding: 0 !important;
    }

    .woocommerce-checkout h3#order_review_heading {
        padding-left: 0;
    }

    .woocommerce-checkout .cart_item td.product-name {
        padding-left: 0;
        padding-right: 0;
    }

    .woocommerce-checkout-review-order-table td bdi {
        font-size: 20px;
    }

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

    .checkout_coupon .form-row-last {
        margin-top: 20px !important;
        text-align: center;
    }

    .checkout_coupon .form-row-last button {
        margin-left: 0 !important;
    }

    .woocommerce-checkout div#payment {
        padding: 20px !important;
    }

    .woocommerce-checkout .cs-order-total div:first-child {
        font-size: 36px
    }

    .woocommerce-checkout .cs-order-total div strong {
        font-size: 24px
    }

    .woocommerce-checkout-payment {
        border-radius: 8px 8px 40px 8px !important;
    }

    .woocommerce-checkout button#place_order {
        margin-top: 25px;
    }

    .woocommerce-form-coupon-toggle .woocommerce-info {
        margin-right: 0;
        margin-left: 0;
    }

    .woocommerce-billing-fields__field-wrapper {
        padding: 0 !important;
    }

    .checkout_coupon {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media screen and (max-width:767px) {
    .woocommerce-checkout #payment ul.wc_payment_methods li .payment_box.payment_method_wctelr {
        column-gap: 20px;
        flex-wrap: wrap;
        row-gap: 15px;
        margin-top: 0;
        padding-top: 0;
    }
}

/*********** Checkout End ***********/

/* urgent code , will be removed in the future*/
.payment_box.payment_method_wctelr:before {
    display: none !important;
}


li.wc_payment_method.payment_method_wctelr label {
    display: none;
}

.woocommerce-checkout tr.cart_item img {
    border-radius: 11px;
}

.woocommerce-checkout div#payment {
    height: fit-content;
    padding: 0px !important;
    background-color: transparent !important;
    max-width: 608px;
}

html[lang="ar"] .woocommerce-checkout div#payment {
    max-width: 576px;
}

.woocommerce-checkout .woocommerce table.shop_table td {
    border: none !important;
}


table.shop_table.woocommerce-checkout-review-order-table thead {
    display: none;
    border: none !important;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot {
    display: none;
    border: none !important;
}

table.shop_table.woocommerce-checkout-review-order-table {
    border: none !important;

}

.error-message {
    color: red;
    background-color: #fce4e4;
    border: 1px solid #fcc2c3;
    padding: 10px 20px;
    width: 40%;
    margin-bottom: 10px;
    border-radius: 50px;
    margin-top: 10px;
}


/******** cart RTL **********/
html[lang="ar"] .cart-items {
    padding-right: 0;
    padding-left: 40px
}

html[lang="ar"] .woocommerce-cart .coupon button[type="submit"] {
    font-family: 'Tahoma', sans-serif;
}

html[lang="ar"] .cart-item-title>div:first-child,
html[lang="ar"] .cart-summary h3,
html[lang="ar"] .cart-item-details .cart-item-title a,
html[lang="ar"] .cart-item-details .variation p,
html[lang="ar"] .cart-item-details .woocommerce-Price-amount bdi,
html[lang="ar"] .cart-summary .summary-item span,
html[lang="ar"] .cart-item-remove,
html[lang="ar"] .checkout-btn,
html[lang="ar"] .woocommerce-cart .footer-top__text p,
html[lang="ar"] .woocommerce-cart .footer-col div,
html[lang="ar"] .woocommerce-cart .footer-col li {
    font-family: 'cairo';
}

@media screen and (max-width: 1024px) {
    html[lang="ar"] .cart-item-details {
        padding-left: 0px;
        padding-right: 20px;
    }

    html[lang="ar"] .cart-item-remove {
        left: 0;
        right: unset;
    }

    html[lang="ar"] .cart-summary {
        border-right: 0;
    }

    html[lang="ar"] .cart-items {
        padding-left: 0;
    }
}

/*********** Checkout RTL ********/
html[lang="ar"] .woocommerce-checkout .woocommerce-billing-fields h3,
html[lang="ar"] .woocommerce-checkout #order_review_heading,
html[lang="ar"] .woocommerce-checkout .woocommerce-additional-fields h3,
html[lang="ar"] .woocommerce-checkout .cart_item td.product-name .product_details h3,
html[lang="ar"] .woocommerce-checkout .cart_item td.product-name .product_details p,
html[lang="ar"] .woocommerce-checkout h1.entry-title,
html[lang="ar"] .woocommerce-form-coupon-toggle .woocommerce-info,
html[lang="ar"] .checkout_coupon>p:first-child,
html[lang="ar"] .checkout_coupon .form-row-first input,
html[lang="ar"] .checkout_coupon .form-row-last button,
html[lang="ar"] .cs-order-total div:first-child,
html[lang="ar"] .cs-order-total div strong,
html[lang="ar"] .woocommerce-checkout button[name="woocommerce_checkout_place_order"],
html[lang="ar"] .woocommerce-checkout .footer-top__text p,
html[lang="ar"] .woocommerce-checkout .footer-col div,
html[lang="ar"] .woocommerce-checkout .footer-col li {
    font-family: 'cairo';
}

html[lang="ar"] .woocommerce-checkout .cart_item td.product-name .product_details {
    padding-right: 20px;
    padding-left: 0;
}

html[lang="ar"] .woocommerce-checkout .woocommerce-billing-fields .select2-selection__arrow {
    left: 0 !important;
    right: unset !important;
}

html[lang="ar"] .woocommerce-checkout span.woocommerce-input-wrapper input {
    text-align: right;
    font-family: 'cairo';
}

html[lang="ar"] .woocommerce-checkout h3#order_review_heading {
    padding-left: 0;
    padding-right: 30px;
}

html[lang="ar"] .checkout_coupon .form-row-last button {
    margin-left: 0;
    margin-right: 20px;
}

/******** Register / Login **********/
.woocommerce-form-login {
    background: rgb(24 127 211 / 2%);
}

/* CSS to control SVG color */
.header-panel__user .user-icon {
    width: 20px !important;
    /* Adjust size */
    height: 20px !important;
    fill: white;
    /* Set the color (e.g., blue) */
}

.header-panel__user .user-icon:hover {
    fill: #e74c3c !important;
    /* Change color on hover */
}

.header-panel__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.header-panel__btn .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 16px;
    text-align: center;
}


.header--white .header-panel__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.header--white .header-panel__btn .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 16px;
    text-align: center;
}

/******** Thank You Order Recevied *********/
.woocommerce-order-received .woocommerce-thankyou-order-received,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-notice {
    margin-bottom: 20px;
}

html[lang="ar"] .woocommerce-order-received .main,
html[lang="ar"] .woocommerce-order-received .footer-top__text p,
html[lang="ar"] .woocommerce-order-received .footer-col div,
html[lang="ar"] .woocommerce-order-received .footer-col li {
    font-family: 'cairo';
}

.woocommerce-order-received .woocommerce-table--order-details {
    margin-top: 20px;
}

.woocommerce-order-received .woocommerce-column--billing-address address,
.woocommerce-order-received .woocommerce-column--shipping-address address,
.woocommerce-order-received .woocommerce-customer-details address {
    line-height: 22px;
}

@media screen and (max-width:767px) {
    .woocommerce-order-received .woocommerce-button {
        margin-left: 6px !important;
    }
}

/***** RTL Single Program ******/
html[lang="ar"] .custom-select .select-selected:after {
    left: 10px;
    right: unset !important;
}

.training-footer button {
    padding: 22px 64px;
}

html[lang="ar"] .single-product .enroll-head a,
html[lang="ar"] .single-product .enroll-trainings .training-title,
html[lang="ar"] .single-product .custom-select .select-selected,
html[lang="ar"] .single-product .training-footer div,
html[lang="ar"] .single-product .training-footer button,
html[lang="ar"] .single-product .overview-text,
html[lang="ar"] .single-product .overview-signature p,
html[lang="ar"] .single-product .section-subtitle,
html[lang="ar"] .single-product .outline-item div,
html[lang="ar"] .single-product .team-content__title,
html[lang="ar"] .single-product .team-content__signature h2,
html[lang="ar"] .single-product .team-content__signature p,
html[lang="ar"] .single-product .review-text p,
html[lang="ar"] .single-product .review-author__name,
html[lang="ar"] .single-product .review-author__job,
html[lang="ar"] .single-product .faq-item__question-text p,
html[lang="ar"] .single-product .footer-top__text p,
html[lang="ar"] .single-product .footer-col div,
html[lang="ar"] .single-product .footer-col li,
html[lang="ar"] .custom_hero_content div:first-child .custom_hero_btns .custom_hero_btn button {
    font-family: 'cairo';
}

.single-product .overview-signature {
    display: none !important;
}

.single-product .overview {
    margin: 30px 0 !important;
}

.overview-signature {
    display: none !important;
}

.single-product .overview-logos img {
    border-radius: 0 !important;
}

html[lang=ar] .single-product .custom-select .select-selected {
    unicode-bidi: unset !important;
}

.team-content__signature p {
    line-height: 40px;
}

.review-text p {
    font-size: 25px;
    line-height: 35px;
}

.footer-top__text {
    line-height: 45px;
    font-size: 28px;
}

@media screen and (min-width:768px) {
    .single-product .overview-text {
        font-size: 23px;
        line-height: 35px;
    }

    .outline-item__text ul li {
        line-height: 35px;
    }
}

.all_partners_logos_slider img {
    width: 100%;
}

.all_partners_logos_slider .custom_logo {
    height: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.all_partners_logos_slider .custom_logo img {
    padding: 30px;
}

/***** redesign checkout ******/
.woocommerce-checkout.woocommerce-page form .form-row .input-text,
.woocommerce-checkout .woocommerce-billing-fields .select2-selection,
.woocommerce-checkout .address-field .select2-selection {
    border-color: #919191;
    border-radius: 20px !important;
    background: transparent;
    min-height: 40px;
    /*     box-shadow: 0 0 20px rgba(188, 202, 212, .2); */
    border: 1px solid #ced4da !important;
    padding: .375rem .75rem;
}

.woocommerce-checkout .shipping_address .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.woocommerce-checkout .shipping_address .woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
    width: 49% !important;
}

.woocommerce .col2-set,
.woocommerce-page .col2-set {
    display: flex !important;
}

.woocommerce-checkout-review-order {
    flex-direction: column !important;
}

.woocommerce-checkout .cart_item .product_details p:has(.woocommerce-Price-amount.amount) {
    text-align: right !important;
}

.woocommerce-checkout #post-1994,
.woocommerce-checkout #post-2262 {
    max-width: 1300px;
}

.woocommerce-checkout #customer_details .col-1 {
    padding-right: 50px;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
    margin-top: 0 !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
    border: 3px solid #187fd3;
    border-radius: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f6f5f8a8;
}

.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message {
    border: 3px solid #8fae1b;
    border-radius: 40px;
    display: flex;
    align-items: center;
    background: #f6f5f8a8;
}

.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message:before {
    top: 22px;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
    background: #187FD3 !important;
    margin-left: 10px;
    color: #fff;
    padding: 10px 20px;
    border-radius: 40px;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a:hover,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a:hover {
    background: #fff !important;
    color: #187FD3 !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info:before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before {
    top: 22px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
    line-height: 1;
}

.woocommerce-checkout #account_password {
    padding: 12px 16px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper label {
    clip: unset;
    clip-path: unset;
    height: unset;
    overflow: unset;
    top: -35px;
    width: unset;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    position: relative;
    margin-bottom: 50px !important;
}

.woocommerce-checkout .cart_item td.product-name .product_details>p:first-child {
    font-size: 18px;
    font-weight: 700;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
    margin-bottom: 50px !important;
    position: relative;
}

.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message a {
    background: #8fae1b;
    color: #fff;
    border-radius: 20px;
    padding: 10px 20px;
    margin: auto;
    width: fit-content;
    margin-right: 0;
}

.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message a:hover {
    color: #8fae1b;
    background: #fff;
}

.woocommerce-checkout .woocommerce-error {
    border: 3px solid #b81c23;
    border-radius: 40px;
    background: #f6f5f8a8;
}

@media screen and (max-width:1024px) {

    .woocommerce-checkout #customer_details>.col-1,
    .woocommerce-checkout #customer_details>.col-2,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
        width: 100% !important;
    }

    .woocommerce-checkout #customer_details {
        flex-wrap: wrap;
    }

    .woocommerce-checkout #customer_details>.col-1 {
        padding: 0;
    }

    /* 	.woocommerce-checkout #customer_details > .col-2 {
		margin-top:20px;
	} */
    .woocommerce-checkout h1.entry-title {
        margin-top: 70px;
    }
}

@media screen and (max-width:767px) {
    .woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message a {
        margin-top: 10px;
        display: block;
    }

    .woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message {
        display: block;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
    .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
        margin-top: 10px;
        width: fit-content;
        margin-left: auto;
        margin-right: 0;
        display: block;
    }

    .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
    .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/***** checkout edits ******/
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
    width: fit-content;
}

.woocommerce-checkout .woocommerce-form.woocommerce-form-login {
    padding: 20px !important;
    max-width: 600px;
    display: block;
}

.woocommerce-checkout .woocommerce-form.woocommerce-form-login .form-row-first,
.woocommerce-checkout .woocommerce-form.woocommerce-form-login .form-row-last {
    width: 47% !important;
    margin-bottom: 20px !important;
    margin-top: 10px;
}

.coupon-form {
    background: #f8fbfe !important;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.woocommerce-checkout-review-order .coupon-form {
    background: #f8fbfe !important;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.woocommerce-checkout-review-order .coupon-form .form-row {
    margin-bottom: 0 !important;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.woocommerce-checkout-review-order .coupon-form .form-row input {
    width: 100%;
    margin-right: 20px;
}

.woocommerce-checkout-review-order .coupon-form .form-row button {
    width: 100%;
    background-color: #187FD3 !important;
    border-radius: 40px !important;
    font-size: 12px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    color: #fff;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.woocommerce-checkout-review-order .coupon-form .form-row.form-row-first {
    width: 60% !important;
    margin-top: 20px !important;
}

.woocommerce-checkout-review-order .coupon-form .form-row.form-row-last {
    width: 40% !important;
    margin-top: 20px !important;
}

@media screen and (max-width:767px) {

    .woocommerce-checkout .woocommerce-form.woocommerce-form-login .form-row-first,
    .woocommerce-checkout .woocommerce-form.woocommerce-form-login .form-row-last,
    .woocommerce-checkout-review-order .coupon-form .form-row.form-row-first,
    .woocommerce-checkout-review-order .coupon-form .form-row.form-row-last {
        width: 100% !important;
    }

}

.coupon-button-row td {
    text-align: right;
    padding: 10px 0;
}

#show-coupon-form {
    background: transparent !important;
}

html[lang="ar"] #show-coupon-form {
    font-family: 'cairo';
}

#coupon-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

#coupon-modal {
    padding: 25px 15px 15px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    position: relative;
    max-width: 90%;
    width: 500px;
    border-radius: 5px;
}

#coupon-modal-close {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    transition: color 0.2s;
}

#coupon-modal-close:hover {
    color: #333;
}

#coupon-modal .checkout_coupon {
    display: block !important;
    margin: 0;
    padding: 10px;
}

.ui-dialog-titlebar-close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

#coupon-modal-overlay .woocommerce-form-coupon-toggle {
    display: none !important;
}

#coupon-modal-overlay .checkout_coupon {
    display: flex !important;
    direction: column !important;
}

#coupon-modal-overlay .checkout_coupon .form-row-first,
#coupon-modal-overlay .checkout_coupon .form-row-last {
    width: 100% !important;
    text-align: center !important;
}

.woocommerce form .show-password-input::before,
.woocommerce-page form .show-password-input::before {
    position: relative;
    top: 5px;
}

/* Fix for jQuery UI dialog */
.ui-dialog {
    z-index: 9999 !important;
}

.ui-widget-overlay {
    z-index: 9998 !important;
}

/* Base popup styles */
.login-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.login-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.login-popup-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

html[lang="ar"] .woocommerce-checkout #customer_details .col-1 {
    padding-right: 0;
    padding-left: 50px;
}

@media screen and (max-width:767px) {
    html[lang="ar"] .woocommerce-checkout #customer_details .col-1 {
        padding-left: 0;
    }
}




/* Make sure error messages are properly aligned */
html[lang="ar"] .login-popup-overlay .password-input {
    margin-top: 30px !important;
}



.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #187FD3;
    color: #ffffff;
}

.step.completed .step-number {
    background: #28a745;
    color: #ffffff;
}

.step.completed .step-number::before {
    content: '✓';
    font-size: 18px;
}

.step.completed .step-number {
    font-size: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2E3948;
    margin: 0 0 5px 0;
    transition: color 0.3s ease;
}

.step.active .step-content h4 {
    color: #187FD3;
}

.step-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* RTL Support for Steps */
html[lang="ar"] .checkout-steps-column {
    order: 2;
}

html[lang="ar"] .checkout-container-with-steps {
    flex-direction: row-reverse;
}

html[lang="ar"] .step-number {
    margin-right: 0;
    /* margin-left: 15px; */
}

html[lang="ar"] .checkout-steps .step:not(:last-child)::after {
    left: auto;
    right: 19px;
}

/* Adjust main checkout content */
.checkout-container-with-steps .col2-set {
    flex: 1;
    max-width: calc(100% - 320px);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .checkout-container-with-steps {
        flex-direction: column;
    }

    .checkout-steps-column {
        width: 100%;
        margin-bottom: 30px;
    }

    .checkout-steps {
        position: relative;
        top: auto;
        display: flex;
        padding: 20px;
        overflow-x: auto;
    }

    .checkout-steps .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
        margin-right: 30px;
        min-width: 120px;
    }

    .checkout-steps .step:last-child {
        margin-right: 0;
    }

    .checkout-steps .step:not(:last-child)::after {
        left: auto;
        top: 20px;
        right: -30px;
        width: 30px;
        height: 2px;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .checkout-container-with-steps .col2-set {
        max-width: 100%;
    }

    html[lang="ar"] .checkout-steps-column {
        order: 0;
    }

    html[lang="ar"] .checkout-container-with-steps {
        flex-direction: column;
    }

    html[lang="ar"] .checkout-steps .step {
        margin-right: 0;
        margin-left: 30px;
    }

    html[lang="ar"] .checkout-steps .step:last-child {
        margin-left: 0;
    }

    html[lang="ar"] .checkout-steps .step:not(:last-child)::after {
        right: auto;
        left: -30px;
    }
}

@media (max-width: 768px) {
    .checkout-steps {
        padding: 15px;
    }

    .step-content h4 {
        font-size: 14px;
    }

    .step-content p {
        font-size: 12px;
    }
}


.login-popup-overlay .form-row-first,
.login-popup-overlay .form-row-last {
    width: 100% !important;
}

.login-popup-overlay .woocommerce-form-login {
    display: flex;
    flex-direction: column;
}

.woocommerce-form-login-toggle {
    display: none !important;
}


/* New Edits */
.reviews-subtitle {
    padding-top: 24px !important;
    justify-content: center;
}

.section-subtitle:before {
    display: none !important;
}
/* ── Interested Toggle Popup ──────────────────────────────────── */
.interested-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(3px);
    animation: fadeInOverlay 0.2s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.interested-popup {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: slideUpPopup 0.25s ease;
}

@keyframes slideUpPopup {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.interested-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.interested-popup-close:hover { color: #111; background: #f3f4f6; }

html[dir="rtl"] .interested-popup-close { right: auto; left: 16px; }

.interested-popup-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.interested-popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.interested-popup-course {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    margin: 0 0 8px;
    background: #eef2ff;
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-block;
}

.interested-popup-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
    line-height: 1.6;
}

.interested-popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.interested-popup-confirm {
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.interested-popup-confirm:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.interested-popup-cancel {
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.interested-popup-cancel:hover { background: #e5e7eb; }

/* Green glow when confirmed */
.interested-confirmed .switch .slider { background: #10b981 !important; }
/* ─────────────────────────────────────────────────────────────── */
