
/* ===========================
   Platform Core CSS
   ينطبق على كل المتاجر / الثيمات
   =========================== */

/* 1) Reset بسيط + box-sizing */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/* 2) متغيرات المنصة العامة */

    /* theme-tokens.css */



/* 3) الجسم العام */
body {
    direction: rtl;
    text-align: right;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    background-color: var(--bg-body);
    color: var(--text-color);
}

html, body {
    height: 100%;
}

/* لو حاب تدعم ثيمات LTR لاحقاً */
html[dir="ltr"] body {
    text-align: left;
}

/* 4) روابط وصور وأزرار افتراضية */
a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: var(--font-main) !important
}

h1,
h2 {
    font-family: var(--font-bold) !important
}

img {
    max-width: 100%;
    display: block;
}

[class^="icon-sar"],
[class*=" icon-sar"] {
    font-family: 'sar' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-sar:before,
.icon-sar-desc:before {
    content: "\e900";
    font-family: 'sar' !important;
    font-weight: normal !important;
}

.icon-sar,
.icon-sar-desc {
    margin-right: 0px !important;
    font-family: 'sar' !important;
    font-weight: normal !important;
}

.icon-sar-desc {
    margin-right: 0px !important;
}
   

/* أزرار native */
button {
    font-family: inherit;
    font-size: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

/* 5) كونتينرات أساسية */
.super_container {
    width: 100%;
    overflow: hidden
}

.theme-container {
    width: 100%;
    max-width: var(--container-max);
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 16px;
}

.theme-container-full {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0px;
}

.theme-container-narrow {
    width: 100%;
    max-width: 840px;
    margin-inline: auto;
    padding-inline: 16px;
}


/* مساحة فوق / تحت عامة */
.theme-section {
    padding-block: var(--space-section);
}

/* 6) Typography عامة */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-bold);
    color: #0F172A;
    line-height: 1.3;
}

h1 { font-size: 28px; margin-bottom: 16px; }
h2 { font-size: 22px; margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 12px; }
h4 { font-size: 16px; margin-bottom: 10px; }

p {
    margin-bottom: 10px;
}

small {
    font-size: 12px;
    color: var(--text-muted);
}

/* 7) Utilities عامة */
.theme-text-muted {
    font-size: 12px;
    color: var(--text-muted);
}

.theme-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--border-radius-pill);
    font-size: 11px;
    background: rgba(var(--color-primary-rgb), 0.06);
    color: var(--color-primary);
}


/* 8) فورمات عامة (أساس) *
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="password"],
select,
textarea {
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    font-family: inherit;
    font-size: 14px;
    background-color: #fff;
    color: var(--text-color);
    -webkit-appearance: none;
    -moz-appearance: none
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(var(--color-primary-rgb), 0.9);
    box-shadow: 0 0 0 1px rgba(var(--color-primary-rgb), 0.15);
}

/* 9) زر أساسي (لو حاب يكون Core) */
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--border-radius);
    font-size: 14px;
    border: 1px solid transparent;
    background: var(--color-primary);
    color: #fff;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.theme-btn:hover {
    background: #3F3D6A;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.theme-btn-outline {
    background: #fff;
    color: var(--color-primary);
    border-color: rgba(var(--color-primary-rgb), 0.45);
}

.theme-btn-outline:hover {
    background: rgba(var(--color-primary-rgb), 0.04);
}

/* 10) كروت عامة */
.theme-card {
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 16px;
}



body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: var(--font-main)
}

*,
a,
a:active,
a:hover,
a:link,
a:visited,
h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-font-smoothing: antialiased;
    -webkit-text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px
}

.loader-tabayu {
    display: none;
    position: fixed;
    z-index: 100000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, .6)
}

#mySidenav,
.cart_nav {
    overflow-x: hidden;
    direction: rtl
}

.loader-tabayu img {
    text-align: center;
    width: 80px;
    position: absolute;
    top: calc(50% - 40px);
    right: calc(50% - 40px)
}

.header_search_input,
.standard_dropdown li,
div,
p a,
section {
    position: relative
}

img {
    user-drag: none !important;
    -webkit-user-drag: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important
}

img.question_icon {
    display: inline-block !important;
    height: 15px !important;
    width: 15px !important;
    margin-right: 3px !important;
    vertical-align: middle;
    cursor: pointer
}

img.question_icon:hover {
    display: inline-block;
    color: #999;
    margin-right: 3px
}

img.lazy {
    color: transparent
}

div {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.slick-slider,
section {
    box-sizing: border-box
}

ul {
    list-style: none;
    margin-bottom: 0
}

p {
    line-height: normal
}

p a {
    display: inline;
    color: inherit
}

a,
a:active,
a:hover,
a:link,
a:visited {
    text-decoration: none
}

p a:hover::after {
    opacity: .2
}


.float_left {
    float: left
}

.float_right,
.owl-carousel.owl-rtl .owl-item,
[dir=rtl] .slick-slide {
    float: right
}

.prlx {
    height: 130% !important
}

.nopadding {
    padding: 0 !important
}

.button {
    display: inline-block;
    background: var(--btn-bg);
    border-radius: var(--border-radius);
    height: 40px;
    transition: .2s;
    font-family: ge
}

.button a {
    display: block;
    font-size: 15px;
    line-height: 40px;
    color: #fff !important;
    padding-left: 35px;
    padding-right: 35px;
    font-family: ge
}


.button:hover {
    opacity: .8
}



/* عنوان القسم المشترك */
.theme-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.theme-section-title {
    font-size: 20px;
    margin: 0;
    background: transparent;
    font-family: var(--font-bold) !important;
}

/* لو حبيت تضيف سطر فرعي */
.theme-section-subtitle {
    font-size: 13px;
    color: #6B7280;
}



.rating_r i::before {
    font-family: FontAwesome;
    content: "\f006";
    font-style: normal;
    font-size: 19px;
    margin-right: 4px;
    color: #f5e211
}

.rating_r_1 i:first-child::before,
.rating_r_2 i:first-child::before,
.rating_r_2 i:nth-child(2)::before,
.rating_r_3 i:first-child::before,
.rating_r_3 i:nth-child(2)::before,
.rating_r_3 i:nth-child(3)::before,
.rating_r_4 i:first-child::before,
.rating_r_4 i:nth-child(2)::before,
.rating_r_4 i:nth-child(3)::before,
.rating_r_4 i:nth-child(4)::before,
.rating_r_5 i:first-child::before,
.rating_r_5 i:nth-child(2)::before,
.rating_r_5 i:nth-child(3)::before,
.rating_r_5 i:nth-child(4)::before,
.rating_r_5 i:nth-child(5)::before {
    content: "\f005"
}


.cart_icon img,
.user_icon img,
.wishlist_icon img,
[data-star^="5"]::after {
    width: 100%
}

.input_block .checkbox_style input:checked ~ .checkmark:after,
.input_block .radio_style input:checked ~ .checkmark:after,
.no-js .owl-carousel,
.owl-carousel.owl-loaded,
.slick-initialized .slick-slide,
.slick-slide img {
    display: block
}


.left_text_all_block {
    cursor: pointer;
    text-align: left;
    width: 100%;
    padding: 5px
}

.left_text_all_block a.left_text_all {
    font-size: 13px;
    font-family: var(--font-bold) !important;
    cursor: pointer;
    color: var(--main-color);
    text-align: left;
    width: auto;
    padding: 3px 0;
    border-bottom: 1px solid
}

.left_text_all_block a.left_text_all:hover {
    color: #6c6c8a
}

.slide-navigation {
    width: 300px
}


/* == تصميم النوافذ == */
.modal_box {
    display: none;
    position: fixed;
    z-index: 99999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .5)
}

.modal_box_content,
.modal_box_login_content,
.modal_box_small_content {
    background-color: #fff;
    margin: 10% auto;
    border-radius: 13px;
    overflow: hidden
}

.modal_box_content {
    width: 60%;
    z-index: 9999999999999999999
}

.modal_box_login_content {
    width: 50%
}

.modal_box_small_content {
    width: 450px
}

.modal_box .modal_box_header {
    display: block;
    overflow: hidden;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 10px;
    background: var(--main-color);
    background: #fff;
    clear: both;
    color: var(--text-color);
    color: #000;
    border-bottom: 1px solid #eee;
}

.modal_box .modal_box_header_close,
.modal_box .modal_box_header_text {
    display: inline-block;
    margin: 0;
    height: auto;
    overflow: hidden;
    vertical-align: middle
}

.modal_box .header_no_p {
    padding: 2px 10px !important
}

.modal_box .modal_box_header_close {
    width: 40px;
    padding: 0;
    text-align: center
}

.modal_box .modal_box_header_close .close_box {
    color: #666;
    float: left;
    font-size: 32px !important;
    font-weight: 700
}

.modal_box .modal_box_header_close .close_box:focus,
.modal_box .modal_box_header_close .close_box:hover {
    color: #999;
    text-decoration: none;
    cursor: pointer
}

.modal_box .modal_box_header_text {
    width: calc(100% - 45px);
    padding: 0 10px;
    text-align: right
}

.modal_box .modal_box_header_text .h1,
.modal_box .modal_box_header_text h1 {
    margin: 0;
    padding: 0;
    font-size: 18px !important;
    font-family: var(--font-bold) !important;
}

.modal_box .modal_box_header_text .p,
.modal_box .modal_box_header_text p {
    margin: 0;
    padding: 0;
    font-size: 14px !important;
    font-family: var(--font-main);
    color: #555
}

.input_block .error {
    padding: 0
}

.modal_box_body {
    padding: 10px 20px;
    text-align: center
}

.modal_box_body .modal_box_body_details {
    font-size: 16px;
    color: #666;
    padding: 2px 10px;
    margin: 5px 0;
    text-align: center;
    font-family: var(--font-main);
    line-height: 1.4
}

.modal_box .box_style_footer {
    display: block;
    overflow: hidden;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0px 10px 10px;
    background: #f7f7f7;
    background: #FFFFFF;
    clear: both;
    text-align: center;
    color: #000
}

.input_block .button,
.input_block .button_outline,
.input_block a.button,
.input_block a.button_outline,
.modal_box .box_style_footer .button,
.modal_box .box_style_footer .button_outline,
.modal_box .box_style_footer a.button,
.modal_box .box_style_footer a.button_outline {
    display: inline-block;
    width: auto;
    height: auto;
    line-height: normal;
    font-size: 14px;
    font-family: var(--font-bold) !important;
    padding: 10px 20px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-bg);
    color: #fff;
    margin: 10px 5px;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .1)
}

.input_block .button:hover,
.input_block a.button:hover,
.modal_box .box_style_footer .button:hover,
.modal_box .box_style_footer a.button:hover {
    opacity: .8;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    color: #fff
}

.input_block .button_outline,
.input_block a.button_outline,
.modal_box .box_style_footer .button_outline,
.modal_box .box_style_footer a.button_outline {
    background: #fff;
    border: 1px solid var(--btn-bg);
    color: var(--btn-bg);
    box-shadow: 0 5px 5px rgba(0, 0, 0, .05)
}

.input_block .button_outline:hover,
.input_block a.button_outline:hover,
.modal_box .box_style_footer .button_outline:hover,
.modal_box .box_style_footer a.button_outline:hover {
    background: var(--btn-bg);
    border: 1px solid var(--btn-bg);
    box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
    color: #fff
}

.button:hover,
.button_outline:hover,
.payment_button:hover,
a.button_outline:hover {
    opacity: .8
}

.profile-box-title {
    color: #000;
    font-size: 24px;
    margin-bottom: 37px;
    font-family: var(--font-bold) !important;
    text-align: center
}

.button,
.payment_button,
a.button {
    background: var(--btn-bg) !important;
    border: 1px solid var(--btn-bg) !important
}

.button_outline,
a.button_outline {
    border: 1px solid var(--btn-bg) !important;
    color: var(--btn-bg) !important
}

.button_outline:hover,
a.button_outline:hover {
    color: #fff !important
}

.signup_ask {
    font-family: var(--font-main);
    font-size: 14px;
    text-align: center;
    display: block;
    cursor: pointer;
    padding: 2px;
    color: #999
}

.icon_header_filter:hover,
.signup_ask:hover {
    color: #333
}

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

    .modal_box_content,
    .modal_box_login_content {
        margin: 20% auto;
        width: 80%
    }
}

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

    .modal_box_content,
    .modal_box_login_content,
    .modal_box_small_content {
        width: 90%
    }
}


.top-modal,
.top-modal .header-modal {
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    padding: 0
}

.top-modal {
    overflow: hidden;
    display: block;
    margin: 0;
    background: #aaa;
    height: 35px
}

.top-modal .header-modal {
    top: 0;
    right: 0;
    left: 0;
    position: absolute;
    background: #2c2c54;
    height: 40px;
    margin: 0;
    width: 100%;
    color: #fff;
    font-family: var(--font-bold) !important;
}

.modal .header-modal p.title {
    padding: 5px 25px 5px 5px;
    font-size: 19px;
    color: #fff;
    text-align: right
}

.terms_box {
    height: 300px;
    padding: 10px;
    background: #fafafa;
    border: 1px solid #ddd;
    margin: 5px 0;
    overflow-y: scroll;
    border-radius: 7px
}

.form_block,
.form_block .form_body_block,
.form_block .form_header_block {
    height: auto;
    width: 100%;
    display: block
}

.feature-center h3,
.form_block .form_header_block .form_title,
.input_block .title,
.input_block p.title {
    font-family: var(--font-bold) !important;
    text-align: right
}

.terms_box .feature-center p span {
    font-weight: 700;
    font-family: sans-serif
}

.feature-center h3 {
    margin: 0;
    font-size: 13px;
    line-height: 1.7
}

.form_block {
    overflow: hidden;
    background: #fff;
    border-radius: 7px;
    margin: 15px auto
}

.box_shadow {
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2)
}

.product_block_fiexd,
.store_block_fiexd {
    box-shadow: 0 0 2px rgba(0, 0, 0, .3)
}

.form_block .form_header_block {
    overflow: hidden;
    background: #34335c;
    padding: 10px 30px
}

.form_block .form_body_block {
    overflow: hidden;
    background: #fff;
    padding: 10px 5px
}

.form_block .form_header_block .form_title {
    margin-bottom: 0;
    font-size: 22px;
    color: #fff;
    line-height: 1.5
}

.form_block .form_header_block .form_details {
    text-align: right;
    color: #fff;
    font-family: var(--font-main);
    font-size: 17px
}

.input_block {
    display: block;
    width: 100%;
    margin-top: 7px;
    margin-bottom: 5px;
    position: relative;
    padding: 0px;
    clear: both
}

.input_block .title,
.input_block p.title {
    color: #333;
    font-family: var(--font-bold) !important;
    padding: 0;
    display: block;
    margin: 2px 2px 6px 5px;
    font-size: 14px;
    line-height: normal
}

.input_block .input_style,
.input_block .left_input_style,
.input_block .select_style,
.input_block .textarea_style {
    height: 45px;
    padding: 0 15px;
    background: #fff;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    width: 100%;
    outline: 0
}

.input_block .title span,
.input_block p.title span {
    color: red;
    margin-right: 2px;
    vertical-align: top
}

.input_block .error,
.error {
    font-size: 11px;
    margin: 2px 2px 0;
    color: transparent;
    text-align: right;
    font-family: var(--font-main);
    line-height: normal
}

.input_block .error_checkbox {
    font-size: 10px;
    margin: 0 2px 2px;
    color: transparent;
    text-align: right;
    font-family: ge
}

.input_block .input_style,
.input_block .input_title_left,
.input_block .select_title {
    font-family: var(--font-main);
    color: #000
}

.input_block .select_title {
    font-size: 14px;
    text-align: right;
    position: absolute;
    top: 13px;
    right: 15px
}

.input_block .input_title_left {
    font-size: 15px;
    text-align: left;
    position: absolute;
    top: 36px;
    left: 15px
}

.input_block .input_style {
    border: 1px solid #e5e5e5;
    border-radius: var(--border-radius) !important;
    font-size: 14px;
    transition: .2s;
    margin: 0
}

.input_block .left_input_style,
.input_block .select_style,
.input_block .textarea_style {
    font-size: 14px;
    border: 1px solid #e5e5e5;
    border-radius: var(--border-radius) !important;
    direction: ltr;
    color: #000;
    transition: .2s;
    font-family: var(--font-main);
    margin: 0
}

.products_slider_nav i,
.stores_slider_nav i,
select.filter_select {
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s
}

.input_block .select_style {
    direction: rtl;
    background-image: url(data:image/svg+xml;utf8;base64,PHN2ZyBmaWxsPScjYWFhJyBoZWlnaHQ9JzM1JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPSczNScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNNyAxMGw1IDUgNS01eicvPjxwYXRoIGQ9J00wIDBoMjR2MjRIMHonIGZpbGw9J25vbmUnLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-position-x: 0;
    background-position-y: 5px;
    background-size: 25px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-color: transparent !important;
    /* أو transparent */
    background-position: left 1px center;
}

.input_block .textarea_style {
    height: 160px;
    padding: 10px;
    resize: none
}

.input_block .input_style:focus,
.input_block .input_style:hover,
.input_block .left_input_style:focus,
.input_block .left_input_style:hover,
.input_block .select_style:focus,
.input_block .select_style:hover,
.input_block .textarea_style:focus,
.input_block .textarea_style:hover,
.text_field:focus,
.text_field:hover,
select.filter_select:focus {
    border-color: var(--main-color)
}

.input_block .select_style:focus,
.input_block .select_style:hover {
    border-color: var(--main-color)
}

.input_block .input_style::-webkit-input-placeholder,
.input_block .left_input_style::-webkit-input-placeholder,
.input_block .select_style::-webkit-input-placeholder,
.input_block .textarea_style::-webkit-input-placeholder,
.text_field::-webkit-input-placeholder {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, .4)
}

.input_block .input_style:-moz-placeholder,
.input_block .left_input_style:-moz-placeholder,
.input_block .select_style:-moz-placeholder,
.input_block .textarea_style:-moz-placeholder,
.text_field:-moz-placeholder {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, .4)
}

.input_block .input_style::-moz-placeholder,
.input_block .left_input_style::-moz-placeholder,
.input_block .select_style::-moz-placeholder,
.input_block .textarea_style::-moz-placeholder,
.text_field::-moz-placeholder {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, .4)
}

.input_block .input_style:-ms-input-placeholder,
.input_block .left_input_style:-ms-input-placeholder,
.input_block .select_style:-ms-input-placeholder,
.input_block .textarea_style:-ms-input-placeholder,
.text_field:-ms-input-placeholder {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, .4)
}

.input_block .input_style::input-placeholder,
.input_block .left_input_style::input-placeholder,
.input_block .select_style::input-placeholder,
.input_block .textarea_style::input-placeholder,
.text_field::input-placeholder {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, .4)
}

.input_block .checkbox_style,
.input_block .radio_style {
    display: block;
    position: relative;
    padding-right: 25px;
    margin-top: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-size: 13px;
    font-family: ge;
    margin-bottom: 5px;
    cursor: pointer
}

.input_block .checkbox_style {
    margin-right: 0;
    user-select: none
}

.input_block .checkbox_style input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0
}

.input_block .checkbox_style .checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 18px;
    width: 18px;
    padding: 0;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #aaa
}

.input_block .checkbox_style input:checked ~ .checkmark:hover,
.input_block .checkbox_style:hover input ~ .checkmark,
.input_block .radio_style input:checked ~ .checkmark,
.input_block .radio_style:hover input ~ .checkmark {
    background-color: #fafafa
}

.input_block .checkbox_style .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0;
    width: 8px;
    height: 13px;
    border: solid var(--main-color);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.input_block .radio_style {
    user-select: none;
    user-select: none
}

.input_block .radio_style input {
    position: absolute;
    opacity: 0;
    cursor: pointer
}

.input_block .radio_style .checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    border: 1px solid #aaa;
    background-color: #fff
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none
}

.input_block .radio_style .checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--main-color)
}

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

.select2-container .select2-selection--single {
    height: 45px;
    border: 1px solid #e5e5e5 !important;
    border-radius: var(--border-radius) !important;
    outline: none;
    padding-right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    outline: none;
    line-height: 45px;
    padding-inline: 15px 36px
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    outline: none;
    height: 45px;
    inset-inline-start: 15px;
    inset-inline-end: auto
}

.s2-item {
    display: flex;
    align-items: center;
    gap: 8px
}

.s2-item img {
    width: 18px;
    height: 12px;
    border: 1px solid #ddd;
    border-radius: 2px
}

.s2-muted {
    color: #8a8aa5;
    font-size: 12px
}

.select2-container--open {
    z-index: 100000 !important
}

.select2-dropdown {
    z-index: 100001 !important
}

@media only screen and (max-width:591px) {
    .menu_trigger_container {
        display: block
    }

    .modal_box_content,
    .modal_box_login_content,
    .modal_box_small_content {
        width: 95%
    }

    form_block .form_header_block {
        padding: 10px 20px
    }

    .form_block .form_body_block {
        padding: 10px 5px
    }

    .form_block .form_header_block .form_title {
        font-size: 20px
    }

    .form_block .form_header_block .form_details {
        font-size: 16px
    }

    /*
    .input_block .input_style,
    .input_block .left_input_style,
    .input_block .select_style {
        height: 40px;
    }

    .input_block .select_style {
        height: 40px;
        background-position-y: 3px
    }

    .input_block .select_title {
        font-size: 14px;
        top: 13px;
        right: 15px
    }

    .input_block .input_title_left {
        font-size: 15px;
        top: 32.5px;
        font-weight: 500;
        left: 15px
    }*/
}

.theme-header-hdr__logo img {
    height: 44px;
    max-width: 100px;
    display: block;
    border-radius: 4px;
}
/* =============================================== */
/* ================== Breadcrumb ================= */
/* =============================================== */

    
.theme-breadcrumb {
    width: 100%;
    padding-block: 15px;
    padding-top: 15px;
    padding-bottom: 10px;
    font-size: 14px;
}

.theme-breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* العناصر */
.theme-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* الروابط الأساسية */
.theme-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color .2s ease;
}

.theme-breadcrumb a:hover {
    color: var(--color-primary-dark);
}

/* السهم */
.theme-breadcrumb li::after {
    content: "/";
    color: var(--gray-500);
    font-weight: normal;
    margin-right: 7px;
    margin-left: 7px;
}

.theme-breadcrumb li:last-child::after {
    content: "";
}

/* العنصر الحالي */
.theme-breadcrumb .is-active {
    color: var(--gray-600);
    pointer-events: none;
}

/* =============================================== */
/* ================== 3. Header ================== */
/* =============================================== */



.tby-empty {
    width: 100%;
    padding: 26px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.tby-empty-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin-bottom: 10px;
    background: #e7e7e7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tby-empty-icon i {
    font-size: 36px;
    color: #666;
}

.tby-empty-title {
    font-size: 16px;
    font-family: var(--font-bold) !important;
    color: #444;
}

.tby-empty-text {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    max-width: 420px;
    font-family: var(--font) !important;
}

.tby-empty-btn {
    margin-top: 12px;
    background: var(--btn-color);
    border: 1.5px solid var(--btn-bg);
    color: var(--btn-bg);
    padding: 10px 16px;
    min-width: 170px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: var(--font-bold) !important;
    cursor: pointer;
    transition: .15s ease;
    margin: 12px auto 10px;
}

.tby-empty-btn:hover {
    background: var(--btn-bg);
    color: var(--btn-color);
}





/* =============================================== */
/* ===================  Toast  =================== */
/* =============================================== */


.theme-toast-wrap {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.theme-toast {
    width: min(420px, calc(100vw - 24px));
    background: #ffffff;
    color: #1f1f29;
    border: 1px solid #ececf4;
    border-inline-start: 4px solid #4D4B7D;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(20, 20, 35, 0.14);
    padding: 13px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    direction: rtl;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease;
}

.theme-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.theme-toast__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EEEDF6;
    color: #4D4B7D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.theme-toast__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
}

.theme-toast__close {
    border: 0;
    background: transparent;
    color: #999;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.theme-toast--success {
    border-inline-start-color: #22a06b;
}

.theme-toast--success .theme-toast__icon {
    background: #eaf8f1;
    color: #22a06b;
}

.theme-toast--error {
    border-inline-start-color: #d92d20;
}

.theme-toast--error .theme-toast__icon {
    background: #fff1f0;
    color: #d92d20;
}

.theme-toast--warning {
    border-inline-start-color: #d6a100;
}

.theme-toast--warning .theme-toast__icon {
    background: #fff8df;
    color: #b88700;
}

@media (max-width: 600px) {
    .theme-toast-wrap {
        top: 12px;
        inset-inline: 12px;
    }

    .theme-toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}






/* =============================================== */
/* ================= 6. Home Page ================ */
/* =============================================== */

/* ============= مقاسات عامة للأقسام ============= */
.tby-youtube-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

.tby-youtube-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* نسبة 16:9 */
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.tby-youtube-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tby-home-banner,
.tby-banner-slider-section,
.tby-store-features,
.tby-testimonials {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    padding-block: 124px;
}


/* ============= البنر العريض ============= */

.tby-home-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.tby-home-banner-link {
    display: flex;
    flex-direction: row-reverse;
    /* لأن الموقع RTL */
    text-decoration: none;
    color: inherit;
}

.tby-home-banner-media {
    flex: 1 1 auto;
    background: #F3F4F6;
}

.tby-home-banner-media img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.tby-home-banner-content {
    position: absolute;
    inset-inline-start: 24px;
    bottom: 24px;
    max-width: 45%;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.74);
    color: #fff;
    backdrop-filter: blur(6px);
}

.tby-home-banner-content h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}

.tby-home-banner-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* موبايل – خلي النص فوق الصورة وممتد */

@media (max-width: 768px) {
    .tby-home-banner-link {
        flex-direction: column;
    }

    .tby-home-banner-media img {
        height: 190px;
    }

    .tby-home-banner-content {
        position: static;
        max-width: 100%;
        margin: 8px 0 0;
        background: #111827;
        border-radius: 10px;
    }
}


/* ============= سلايدر البنرات المتحركة ============= */

.tby-banner-slider-section {
    margin-top: 40px;
}

.tby-banner-slider {
    position: relative;
    overflow: hidden;
}

/* العنصر الواحد في السلايدر */
.tby-banner-slide {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #F3F4F6;
}

/* لو ربطت الصورة برابط */
.tby-banner-slide > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* صورة البانر داخل السلايد */
.tby-banner-slide img {
    width: 100%;
    height: 230px;
    display: block;
    object-fit: cover;
}

/* محتوى النص فوق الصورة (لو فيه عنوان ونص) */
.tby-banner-slide-content {
    position: absolute;
    inset-inline-start: 18px;
    bottom: 18px;
    max-width: 70%;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    backdrop-filter: blur(4px);
}

.tby-banner-slide-content h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.tby-banner-slide-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}

/* تحجيم على الشاشات الصغيرة */

@media (max-width: 768px) {
    .tby-banner-slide img {
        height: 190px;
    }

    .tby-banner-slide-content {
        inset-inline-start: 12px;
        bottom: 12px;
        max-width: 82%;
        padding: 8px 10px;
    }

    .tby-banner-slide-content h3 {
        font-size: 14px;
    }

    .tby-banner-slide-content p {
        font-size: 11px;
    }
}

/* نقاط السلايدر (لو بتربط مع Swiper/Owl – هذا شكل عام) */

.tby-banner-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.tby-banner-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tby-banner-slider-dot.is-active {
    width: 18px;
    background: var(--btn-bg);
    ;
}

/* سهام السلايدر – اختياري */

.tby-banner-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.16);
    z-index: 5;
}

.tby-banner-slider-arrow:hover {
    background: #F3F4FF;
}

.tby-banner-slider-arrow--prev {
    inset-inline-start: 10px;
}

.tby-banner-slider-arrow--next {
    inset-inline-end: 10px;
}

.tby-banner-slider-arrow i {
    font-size: 14px;
    color: #4B5563;
}

/* على الجوال نخفي الأسهم غالباً */

@media (max-width: 768px) {
    .tby-banner-slider-arrow {
        display: none;
    }
}


.tby-banner-slider-section {
    margin-bottom: 24px;
}

.tby-banner-slider .tby-banner-slide {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.tby-banner-slider .tby-banner-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* النص داخل البنر (لو استخدمته) */
.tby-banner-slide-content {
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0));
    color: #fff;
}

.tby-banner-slide-content h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.tby-banner-slide-content p {
    margin: 0;
    font-size: 13px;
}

/* ============= مميزات المتجر ============= */

.tby-store-features {
    margin-top: 40px;
}

.tby-store-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tby-store-feature-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
}

.tby-store-feature-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #EEF0FF;
    border: 1px solid rgba(77, 75, 125, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tby-store-feature-icon i {
    font-size: 18px;
    color: #4D4B7D;
}

.tby-store-feature-icon img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.tby-store-feature-body h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.tby-store-feature-body p {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: #4B5563;
}

/* Responsiveness */

@media (max-width: 992px) {
    .tby-store-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tby-store-features-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}


/* ============= آراء العملاء ============= */

.tby-testimonials {
    margin-top: 40px;
}

.tby-testimonials-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* كرت التستيمونيال */

.tby-testimonial-card {
    position: relative;
    padding: 16px 16px 14px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* النص */

.tby-testimonial-content {
    font-size: 13px;
    line-height: 1.8;
    color: #111827;
}

/* معلومات العميل */

.tby-testimonial-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border-top: 1px solid #E5E7EB;
    padding-top: 8px;
}

.tby-testimonial-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.tby-testimonial-name .theme-review-text{
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.tby-testimonial-role {
    font-size: 11px;
    color: #6B7280;
}

/* التقييم */

.tby-testimonial-rating {
    margin-top: 2px;
}

.tby-testimonial-rating i {
    font-size: 12px;
    color: #FACC15;
    /* نجوم ذهبية */
}

/* اقتباس في الخلفية – اختياري */

.tby-testimonial-card::before {
    content: "“";
    position: absolute;
    inset-inline-start: 14px;
    top: 8px;
    font-size: 34px;
    color: rgba(156, 163, 175, 0.18);
    line-height: 1;
}

/* Responsive grid لـ آراء العملاء */

@media (max-width: 992px) {
    .tby-testimonials-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tby-testimonials-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* ============= أشياء عامة مفيدة ============= */

/* لو حاب تحط Margin أكبر بين الأقسام في الصفحة الرئيسية */
.tby-home-section-spacer {
    margin-top: 48px;
}



/* قسم البنرات المتحركة */
.tby-banner-slider-section {
    margin: 24px 0;
}

/* لو عندك نفس ستايل الهيدر استخدمه، وإلا هذا مثال بسيط */


/* صندوق السلايدر */
.tby-banner-slider {
    position: relative;
}

/* كل سلايد */
.tby-banner-slider .tby-banner-slide {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

/* الصورة */
.tby-banner-slider .tby-banner-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* محتوى النص داخل السلايد (اختياري) */
.tby-banner-slide-content {
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.80), rgba(15, 23, 42, 0));
    color: #fff;
}

.tby-banner-slide-content h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.tby-banner-slide-content p {
    margin: 0;
    font-size: 13px;
}

/* تحسين بسيط لأزرار Owl (اختياري) */
.tby-banner-slider .owl-nav {
    position: absolute;
    inset-inline-start: 6px;
    inset-inline-end: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.tby-banner-slider .owl-nav button.owl-prev,
.tby-banner-slider .owl-nav button.owl-next {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.55);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    font-size: 14px;
    color: #fff;
}

.tby-banner-slider .owl-dots {
    margin-top: 8px;
    text-align: center;
}

.tby-banner-slider .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 3px;
    border-radius: 999px;
    background: #d1d5db;
}

.tby-banner-slider .owl-dots .owl-dot.active span {
    background: var(--btn-bg);
}


/* ====== البانرات المتحركة (banner slider) ====== */

.theme-banner-slider-section {
    margin: 32px 0;
}

/* حاوية السلايدر */
.theme-banner-slider {
    position: relative;
}

/* كل سلايد – نفس الارتفاع للجميع */
.theme-banner-slide {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    /* ارتفاع ثابت دسكتوب */
    background: #000;
}

.theme-banner-slide.has-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.0) 20%,
            rgba(0, 0, 0, 0.55) 90%);
}

.theme-banner-slide.has-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* غامق لكن مو خانق */
    z-index: 2;
}

@media (max-width: 767px) {
    .theme-banner-slide {
        height: 220px;
        /* ارتفاع ثابت موبايل */
    }
}

/* الرابط يغطي السلايد كامل */
.theme-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* الصورة */
.theme-banner-media {
    position: absolute;
    inset: 0;
}

.theme-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* التعتيم: شفاف افتراضياً – يظهر عند الهوفر فقط */
.theme-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.35));
    opacity: 0;
    /* لا شيء افتراضياً */
    transition: opacity 0.2s ease;
}

.theme-banner-slide:hover .theme-banner-overlay {
    opacity: 1;
    /* عند الهوفر فقط */
}

/* النص */
.theme-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: #fff;
    pointer-events: none;
}

.theme-banner-heading {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    /* عشان يبان بدون التعتيم الكامل */
}

.theme-banner-text {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .theme-banner-heading {
        font-size: 20px;
    }

    .theme-banner-text {
        font-size: 13px;
    }
}

.theme-banner-slide.has-content .theme-banner-content {
    position: absolute;
    bottom: 20px;
    inset-inline-start: 20px;
    inset-inline-end: 20px;
    z-index: 3;
    color: #fff;
}

.theme-banner-slide.has-content .theme-banner-content h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.theme-banner-slide.has-content .theme-banner-content p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* ====== أسهم Owl Carousel واضحة بخلفية بيضاء ====== */

.theme-banner-slider .owl-nav {
    position: absolute;
    top: 50%;
    inset-inline-start: 10px;
    inset-inline-end: 10px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.theme-banner-slider .owl-nav .owl-prev i,
.theme-banner-slider .owl-nav .owl-next i {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    cursor: pointer;
    border-color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.theme-banner-slider .owl-nav button span,
.theme-banner-slider .owl-nav button i {
    font-size: 16px;
    color: var(--btn-bg);
}

.theme-banner-slider .owl-nav i:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
}

/* موبايل: صغّر شوي */
@media (max-width: 767px) {

    .theme-banner-slider .owl-nav .owl-prev i,
    .theme-banner-slider .owl-nav .owl-next i {
        width: 30px;
        height: 30px;
    }
}



/* ================== النقاط (dots) ================== */

.theme-banner-slider .owl-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
}

.theme-banner-slider .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    display: block;
    transition: all 0.2s ease;
}

.theme-banner-slider .owl-dots .owl-dot.active span {
    width: 22px;
    background: #FFFFFF;
    background: red;
}


/* ============= Hero Section ============= */

.tby-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a2e;
    min-height: 480px;
    min-height: 100vh;
    /* أو 600px minimum */
    min-height: 680px;
    min-height: 90vh;
}

/* الصورة الخلفية */
.tby-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tby-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* طبقة التعتيم فوق الصورة */
.tby-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* حاوية المحتوى */
.tby-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 48px;
    min-height: 480px;
    min-height: 100vh;
    min-height: 680px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.tby-hero-inner {
    justify-content: flex-start !important;
}

/* محاذاة المحتوى */
.tby-hero-inner--right {
    justify-content: flex-end;
}

.tby-hero-inner--left {
    justify-content: flex-start;
}

.tby-hero-inner--center {
    justify-content: center;
    text-align: center;
}

/* صندوق النص */
.tby-hero-content {
    max-width: 520px;
}

.tby-hero-inner--center .tby-hero-content {
    text-align: center;
}

.tby-hero-title {
    margin: 0 0 14px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tby-hero-subtitle {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.92;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    white-space: pre-line;
}

/* زر الـ CTA */
.tby-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-color);
    font-family: var(--font-bold) !important;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 18px rgba(77, 75, 125, 0.45);
    border: none;
    cursor: pointer;
}

.tby-hero-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(77, 75, 125, 0.55);
}

/* موبايل */
@media (max-width: 768px) {
    .tby-hero-section {
        min-height: 320px;
        min-height: 85vh;
    }

    .tby-hero-inner {
        padding: 60px 20px;
        min-height: 320px;
        min-height: 85vh;
        justify-content: flex-start !important;
    }

    .tby-hero-content {
        max-width: 100%;
        text-align: right;
    }

    .tby-hero-overlay--right,
    .tby-hero-overlay--left,
    .tby-hero-overlay--center {
        /*background: rgba(10, 10, 20, 0.58);*/
    }

    .tby-hero-title {
        font-size: 26px;
    }

    .tby-hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .tby-hero-cta {
        font-size: 13px;
        padding: 10px 20px;
    }
}


/* ============= Square Images Section ============= */

.tby-sq-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 16px;
}

/* ---- Grid ---- */
.tby-sq-grid {
    display: grid;
    gap: 14px;
}

/* 1 صورة */
.tby-sq-grid--1 {
    grid-template-columns: 1fr;
}

/* 2 صور */
.tby-sq-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 صور */
.tby-sq-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 4 صور */
.tby-sq-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 5+ صور – 4 في السطر */
.tby-sq-grid--many {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

    .tby-sq-grid--4,
    .tby-sq-grid--many {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {

    .tby-sq-grid--3,
    .tby-sq-grid--4,
    .tby-sq-grid--many {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* كرت الصورة المربعة */
.tby-sq-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 1 / 1;
    display: block;
    text-decoration: none;
}

.tby-sq-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.tby-sq-item:hover img {
    transform: scale(1.04);
}

/* طبقة hover خفيفة */
.tby-sq-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.25s ease;
    border-radius: 14px;
}

.tby-sq-item:hover::after {
    background: rgba(0, 0, 0, 0.07);
}

/* ---- Slider ---- */
.tby-sq-slider-wrap {
    position: relative;
}

.tby-sq-slider.owl-carousel .tby-sq-item {
    margin: 0 6px;
}

/* أسهم السلايدر */
.tby-sq-slider .owl-nav {
    position: absolute;
    top: 50%;
    inset-inline-start: -14px;
    inset-inline-end: -14px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.tby-sq-slider .owl-nav .owl-prev i,
.tby-sq-slider .owl-nav .owl-next i {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.tby-sq-slider .owl-nav .owl-prev i:hover,
.tby-sq-slider .owl-nav .owl-next i:hover {
    background: #f3f4ff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

.tby-sq-slider .owl-nav button span,
.tby-sq-slider .owl-nav button i {
    font-size: 14px;
    color: var(--btn-bg);
    ;
}

/* نقاط السلايدر */
.tby-sq-slider .owl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.tby-sq-slider .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
    display: block;
    transition: all 0.2s ease;
}

.tby-sq-slider .owl-dots .owl-dot.active span {
    width: 20px;
    background: var(--btn-bg);
}

@media (max-width: 768px) {
    .tby-sq-slider .owl-nav {
        display: none;
    }
}



.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    gap: 20px;
    margin: 5px;
}

.feature-box {
    background-color: #FFFFFF;
    border-radius: 7px;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.0.5);
    padding: 20px 20px 20px 20px;
    width: 100%;
    text-align: center;
    border: none;
}

.feature-icon i {
    font-size: 30px;
    color: color-mix(in srgb, var(--color-primary) 90%, white);
    background: color-mix(in srgb, var(--color-primary) 20%, white);
    margin: 10px auto 15px auto;
    height: 65px;
    width: 65px;
    line-height: 65px;
    border-radius: 100%;
}

.feature-image {
    margin: 10px auto 15px auto;
    text-align: center;
    height: 65px;
    width: 65px;
}

/* تصميم العناوين */
.feature-box h3 {
    font-size: 1.1em;
    color: #333;
    margin: 5px auto 5px auto;
    padding: 0;
    line-height: 1.3;
    font-family: 'ge_bold', 'Lato' !important;
}

/* تصميم التفاصيل */
.feature-box p {
    font-size: 1.05em;
    margin: 5px auto 5px auto;
    padding: 0;
    line-height: 1.5;
    line-height: normal;
    color: #777;
    font-family: 'ge', 'Open Sans' !important;
}

/* استجابة الشاشة الصغيرة */
@media (max-width: 991px) {

    .feature-box {
        padding: 15px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}



/* الحاوية الرئيسية للبنرات */

.banner-container,
.banner-container-1,
.banner-container-2,
.banner-container-3,
.banner-container-4 {
    display: grid;
    gap: 10px;
}

.banner-container-1 {
    grid-template-columns: repeat(1, 1fr);
}

.banner-container-2 {
    grid-template-columns: repeat(2, 1fr);
}

.banner-container-3 {
    grid-template-columns: repeat(3, 1fr);
}

.banner-container-4 {
    grid-template-columns: repeat(4, 1fr);
}


.section_banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: height 0.3s ease;
    height: 100%;
    max-height: 300px;
    min-height: 80px;
    cursor: pointer;
}

.section_banner img {
    width: 100%;
    height: 100%;
}


@media (max-width: 991px) {
    .banner-container-4 {
        grid-template-columns: repeat(2, 1fr);
    }

}