/* Admin panel font - Cairo */
body, html, .main, #content {
    font-family: 'Cairo', sans-serif !important;
}

/* صفوف المنتجات ذات المخزون المنخفض - لون تحذيري مميز (مختلف عن هيدر الجدول #f8fafd) */
.table-row-low-stock {
    background-color: #fff0e8 !important;
    border-inline-start: 3px solid #dc2626;
}
.table-row-low-stock:hover {
    background-color: #ffebe0 !important;
}
.badge-low-stock-alert {
    background-color: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

/* تحسين قراءة النظام بالكامل - خط مناسب ومقروء */
#content .form-label,
#content .form-label.small,
#content label.form-label {
    font-size: 15px !important;
}
#content .form-control,
#content .form-control-sm {
    font-size: 15px !important;
}
#content .btn,
#content .btn-sm {
    font-size: 15px !important;
}

/* عناوين أقسام البطاقات - هوية بصرية موحدة */
.card-section-header {
    margin-top: 0.5rem;
}
.card-section-title {
    font-size: 1.15rem !important;
    font-weight: 600;
    color: #2c3e50 !important;
}
.card-section-title i {
    font-size: 1.25rem;
}
.card-section-title .badge {
    font-size: 0.95rem !important;
    font-weight: 500;
}

/* صفحات الأعمال - هوية بصرية */
.pages-card-header { border-bottom: 2px solid var(--primary-clr, #EC2227); }
.pages-card-header h6 { font-size: 1.15rem !important; }
.inline-page-menu ul li a { font-size: 1rem; }
.inline-page-menu ul li.active a { color: var(--primary-clr, #EC2227) !important; border-color: var(--primary-clr, #EC2227) !important; }

/* تحسين قائمة عدد العناصر في الترقيم - خط أكبر وقائمة منسدلة أوضح */
.pagination-per-page-select {
    font-size: 15px !important;
    min-width: 150px !important;
    padding: 0.5rem 2.25rem 0.5rem 0.85rem !important;
    min-height: 40px !important;
}
.pagination-per-page-select option {
    font-size: 15px !important;
    padding: 0.5rem !important;
}
.card-footer .pagination-text {
    font-size: 15px !important;
}
.card-footer .page-link {
    font-size: 15px !important;
    padding: 0.5rem 0.75rem !important;
}

/* تحسين قراءة الجداول - خط أوضح وأكبر (كل الجداول) */
#content .table-responsive table tbody td,
#content .table-responsive table tbody td a,
#content .table-responsive table tbody td .fs-12 {
    font-size: 15px !important;
}
#content .table-responsive table tbody td .badge {
    font-size: 14px !important;
    padding: 0.4em 0.7em;
}
#content .table-responsive table tbody td h6 {
    font-size: 16px !important;
    font-weight: 600;
}
#content .table-responsive table thead th {
    font-size: 14px !important;
}

.dashboard--card__subtitle {
    -webkit-margin-after: 10px;
}
.delivery--information-single .info {
    -webkit-padding-start: 20px;
}



.outgoing_msg .time_date,
.received_msg .time_date {
    -webkit-margin-after: 1rem;
}

.outgoing_msg {
    -webkit-margin-start: auto;
}

@media (min-width: 768px) {
    .border-md-left {
        -webkit-border-start: 1px solid #e7eaf3;
    }
}



.sidebar--search-form .search--form-group .btn {
    -webkit-padding-start: 12px !important;
    -webkit-padding-end: 12px !important;
}

.sidebar--search-form .search--form-group input {
    -webkit-padding-start: 40px;
}

/* RTL - Switch buttons: keep toggle indicator moving correctly in Arabic/RTL */
[dir="rtl"] .toggle-switch-input:checked + .toggle-switch-label .toggle-switch-indicator {
    -webkit-transform: translate3d(-1.025rem, 50%, 0);
    transform: translate3d(-1.025rem, 50%, 0);
}
[dir="rtl"] .toggle-switch-sm .toggle-switch-input:checked + .toggle-switch-label .toggle-switch-indicator {
    -webkit-transform: translate3d(-0.81094rem, 50%, 0);
    transform: translate3d(-0.81094rem, 50%, 0);
}

/* RTL */
[dir="rtl"] .custom-select {
    background: #fff url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%23747113' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.72,15.78a.75.75,0,0,1-.53.22h-.38a.77.77,0,0,1-.53-.22L6.15,10.64a.5.5,0,0,1,0-.71l.71-.71a.49.49,0,0,1,.7,0L12,13.67l4.44-4.45a.5.5,0,0,1,.71,0l.7.71a.5.5,0,0,1,0,.71Z'/%3E%3C/svg%3E") no-repeat left 0.5rem center/1rem 1rem;
}

[dir="rtl"] .navbar-bordered.navbar-vertical {
    border-width: 0 0 0 0.0625rem;
}

[dir="rtl"] .modal-header .close {
    padding: 0.25rem 0.25rem;
    margin: 0 auto 0 0;
}
.w-100px {
    width: 100px;
}

.max-h80px {
    max-height: 80px;
}

.max-h150px {
    max-height: 150px;
}

/* Login page redesign - RTL, soft pink aesthetic */
.login-redesign-rtl {
    direction: rtl;
    font-family: 'Cairo', sans-serif !important;
}
.login-split {
    background: #f8f9fa;
}
.login-form-section {
    background: #fff;
    padding: 2rem 1.5rem;
}
.login-form-inner {
    width: 100%;
    max-width: 420px;
}
.login-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #e85d75;
    margin-bottom: 0.35rem;
}
.login-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.75rem;
}
.login-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.4rem;
}
.login-input-wrap {
    margin-bottom: 1.25rem;
}
.login-input-group {
    position: relative;
}
.login-input {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    padding-inline-end: 2.75rem;
    font-size: 0.95rem;
    background: #fff;
    text-align: inherit;
}
.login-input:focus {
    border-color: #e85d75;
    box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.15);
    outline: none;
}
.login-input::placeholder {
    color: #adb5bd;
}
.login-input-icon,
.login-static-icon {
    position: absolute;
    top: 50%;
    inset-inline-end: 1rem;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #e85d75;
    pointer-events: none;
}
.login-input-icon-wrap {
    position: absolute;
    top: 50%;
    inset-inline-end: 0.5rem;
    transform: translateY(-50%);
}
.login-input-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    color: #e85d75;
    text-decoration: none;
}
.login-input-icon-btn:hover {
    color: #d94a62;
}
.login-options {
    margin-bottom: 1.5rem;
}
.login-remember {
    font-size: 0.9rem;
    color: #6c757d !important;
}
.login-btn {
    background: #f4a5b3 !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.login-btn:hover {
    background: #e85d75 !important;
    color: #fff !important;
}
.login-social-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}
[dir="rtl"] .login-social-footer {
    justify-content: flex-start;
}
.login-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #e85d75;
    font-size: 1.1rem;
    transition: color 0.2s, background 0.2s;
}
.login-social-icon:hover {
    color: #fff;
    background: #e85d75;
}
.login-demo-footer {
    border-top: 1px solid #eee;
}
.login-redesign-rtl .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #e85d75;
    background-color: #e85d75;
}

/* Illustration section - soft pink blob */
.login-illustration-section {
    background: #fff;
}
.login-blob-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
}
.login-blob {
    position: relative;
    width: 320px;
    height: 320px;
    background: linear-gradient(145deg, #f4a5b3 0%, #f8c4cd 50%, #fce8ec 100%);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(232, 93, 117, 0.2);
    animation: blob-float 8s ease-in-out infinite;
}
@keyframes blob-float {
    0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    50% { border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; }
}
.login-blob .login-page-logo {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}
@media screen and (min-width: 768px) {
    .md-w-50 {
        width: 50%;
    }
}
/* Mobile logo - shown only on small screens */
.login-logo-mobile {
    background: #fff;
    flex-shrink: 0;
    padding: 1rem 0.5rem !important;
}
.login-blob-mobile {
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, #f4a5b3 0%, #f8c4cd 50%, #fce8ec 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(232, 93, 117, 0.2);
}
.login-blob-mobile .login-page-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .login-split {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .login-form-section {
        padding: 1rem 1rem 1.5rem;
    }
    .login-form-inner {
        max-width: 100%;
    }
    .login-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    .login-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    .login-input {
        font-size: 16px; /* prevents iOS zoom on focus */
    }
    .login-options {
        flex-direction: column;
        align-items: stretch;
    }
    .login-options .btn.login-btn {
        width: 100%;
    }
    .login-social-footer {
        justify-content: center;
    }
    [dir="rtl"] .login-social-footer {
        justify-content: center;
    }
}

.__btn-row {
    display: flex;
    gap: 10px;
}

.__btn-row * {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn--reset {
    color: #334257 !important;
    background: #f4f5f7 !important;
    border-color: #f4f5f7 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* أزرار النماذج - على اليسار (شمال) */
.ecom-setup-actions {
    justify-content: flex-start !important;
}
[dir="rtl"] .ecom-setup-actions {
    justify-content: flex-end !important; /* في RTL الـ end هو اليسار */
}

.select2-selection__rendered span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* تحسين ارتفاع ووضوح القوائم المنسدلة (Dropdown) */
select.form-control,
select.form-control-sm,
select.form-control:not([multiple]) {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0.5rem 2rem 0.5rem 0.75rem !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}
/* RTL: عكس الـ padding للقوائم المنسدلة لظهور السهم والنص بوضوح */
[dir="rtl"] select.form-control,
[dir="rtl"] select.form-control-sm,
[dir="rtl"] select.form-control:not([multiple]) {
    padding: 0.5rem 0.75rem 0.5rem 2rem !important;
}
/* مجموعة نوع الخصم: توحيد حجم حقل الإدخال والقائمة المنسدلة */
.discount-input-group .discount-amount-input,
.discount-input-group .discount-type-select {
    min-height: 42px !important;
    height: 42px !important;
}
.discount-input-group .discount-amount-input {
    flex: 1 1 auto;
}
.discount-input-group .discount-type-select {
    min-width: 130px !important;
    flex: 0 0 130px;
}
.select2-container--default .select2-selection--single,
.select2-selection.select2-selection--single,
.select2-container .select2-selection--single,
.select2-selection.custom-select {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0.5rem 2rem 0.5rem 0.75rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-selection__rendered {
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}
.select2-results__option {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    min-height: 36px !important;
}

.max-w-145 {
    max-width: 145px;
}

.max-w-200 {
    max-width: 200px;
}

:root {
    --primary-clr: #EC2227;
    --secondary-clr: #747113;
    --light-gray-clr: #d2d3d4;
    --white-clr: #ffffff;
    --black-clr: #000000;
}

.custom--switch {
    display: flex;
}

.custom--switch input[switch] {
    display: none;
}

.custom--switch input[switch] + label {
    font-size: 1em;
    line-height: 1;
    width: 56px;
    height: 24px;
    background-color: #ced4da;
    background-image: none;
    border-radius: 2rem;
    padding: 0.16667rem;
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    position: relative;
    transition: all 0.1s ease-in-out;
    margin: 0;
}

.custom--switch input[switch] + label:before {
    color: #111;
    content: attr(data-off-label);
    display: block;
    font-family: inherit;
    font-weight: 500;
    font-size: 12px;
    line-height: 21px;
    position: absolute;
    right: 1px;
    margin: 3px;
    top: -2px;
    text-align: center;
    min-width: 1.66667rem;
    overflow: hidden;
    transition: all 0.1s ease-in-out;
    text-transform: uppercase;
}

.custom--switch input[switch] + label:after {
    content: "";
    position: absolute;
    left: 3px;
    background-color: #e9ecef;
    box-shadow: none;
    border-radius: 2rem;
    height: 20px;
    width: 20px;
    top: 2px;
    transition: all 0.1s ease-in-out;
    text-transform: uppercase;
}

.custom--switch input[switch]:checked + label {
    background-color: var(--primary-clr);
}

.custom--switch input[switch]:checked + label {
    background-color: var(--primary-clr);
}

.custom--switch input[switch]:checked + label:before {
    color: #fff;
    content: attr(data-on-label);
    right: auto;
    left: 3px;
}

.custom--switch input[switch]:checked + label:after {
    left: 33px;
    background-color: #e9ecef;
}

.custom--switch input[switch=primary]:checked + label {
    background-color: var(--primary-clr);
}

.coupon-details {
    border-radius: 10px;
    overflow: hidden;
    max-width: 522px;
}

.coupon-details .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--title-clr);
    z-index: 2;
}

.coupon__details {
    padding: 24px 28px 32px;
}

.coupon__details-body {
    max-width: 100%;
}

.coupon__details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-clr, #EC2227);
}

.coupon__details-header .coupon__title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #0d9488;
    margin: 0;
    padding-inline-start: 14px;
    border-inline-start: 4px solid #0d9488;
    letter-spacing: 0.02em;
}

.coupon__discount-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 16px;
    background: var(--primary-clr, #EC2227);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
}

.coupon__discount-badge span {
    font-size: 1.25rem;
}

.coupon__discount-badge small {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
}

.coupon__details-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coupon__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.coupon__detail-row .coupon__label {
    color: var(--title-clr);
    font-weight: 500;
}

.coupon__detail-row strong,
.coupon__detail-row span:last-child {
    font-weight: 600;
    color: var(--title-3);
    text-align: left;
}

.__social-media-login {
    border: none;
    box-shadow: 0px 0px 10px rgba(51, 66, 87, 0.1);
    border-radius: 10px;
}

.__social-media-login-icon {
    background: #ffffff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    aspect-ratio: 1;
    -webkit-margin-end: 15px;
    margin-inline-end: 15px;
}

.__social-media-login-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.__social-media-login .sub-txt {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #0a1123;
}

@media (max-width: 575px) {
    .__social-media-login .sub-txt {
        font-size: 14px;
    }
}

.__social-media-login .switch--right {
    margin-left: auto;
}

@media (min-width: 768px) and (max-width: 900px) {
    .__social-media-login .btn--container .btn {
        font-size: 14px;
        font-size: 13px;
        padding: 5px 15px;
    }

    .__social-media-login .btn--container .btn.btn--primary {
        min-width: 100px;
    }
}

@media (max-width: 575px) {
    .__social-media-login .btn--container .btn {
        flex-grow: 1;
    }
}

.form-group.d-flex .select2 {
    flex-grow: 1;
}

.form-group.d-flex .select2-container--default .select2-selection--single .select2-selection__arrow,
.form-group.d-flex .select2-selection--single {
    height: 41.85px;
}

.form-group.d-flex .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}

.dropzone {
    min-height: auto !important;
    border: 1px dashed #758590 !important;
    border-radius: 5px;
    max-width: 530px;
}

.dropzone-square {
    min-width: 140px;
    width: min-content;
    aspect-ratio: 1;
}

.dropzone-square .dz-started {
    padding: 0;
}

.dropzone .dz-message {
    margin: 2.5rem 0 !important;
}

.dropzone-square .dz-message {
    margin: 0.95rem 0 !important;
}

.selected-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-gap: 1rem;
}

.selected-product-item .remove-item-btn {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    z-index: 1;
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    cursor: pointer;
    background-color: #717e91;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    transition: all 200ms ease-in-out;
}

.selected-product-item .remove-item-btn:hover {
    background-color: #334257;
}

.selected-product-img {
    aspect-ratio: 1;
    object-fit: contain;
}

.product-search-result-wrap {
    position: relative;
    z-index: 5;
}

.product-search-result {
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 100%;
    z-index: 1;
    width: 100%;
    transition: all 200ms ease-in-out;
    transform: scale(0.95) translate3d(0, 10px, 0);
    opacity: 0;
    visibility: hidden;
    max-height: 40dvh;
    overflow-y: auto;
}

.product-search-result > div {
    cursor: pointer;
}

.product-search-result:hover,
.product-search-result-wrap > input:focus ~ .product-search-result {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

.product-search-result-wrap > input {
    background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3e%3cpath fill="none" stroke="%23343a40" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 5l6 6 6-6" /%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 0.35rem center;
    background-size: 10px 10px;
}

.column-gap-3 {
    column-gap: 1rem;
}

.row-gap-1 {
    row-gap: .25rem;
}

.btn-secondary {
    background-color: #f4f5f7;
    border-color: #f4f5f7;
    color: var(--tc);
}

.btn-secondary:focus, .btn-secondary:active, .btn-secondary:hover {
    background-color: #ededed;
    border-color: #ededed;
    color: var(--tc);
}

/* On Off Toggle */
.on-off-toggle {
    width: 46px;
    height: 22px;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    cursor: pointer;
}

.on-off-toggle__slider {
    width: 46px;
    height: 22px;
    display: block;
    border-radius: 34px;
    background-color: #D6D6D7;
    transition: background-color 0.4s

}

.on-off-toggle__slider:before {
    content: '';
    display: block;
    background-color: #fff;
    bottom: 3px;
    height: 16px;
    left: 3px;
    position: absolute;
    transition: .4s;
    width: 16px;
    z-index: 5;
    border-radius: 100%;
}

.on-off-toggle__slider:after {
    display: block;
    line-height: 22px;
    font-size: 10px;
    font-weight: bold;
    content: 'No';
    color: #484848;
    padding-left: 26px;
    transition: all 0.4s;
}

.on-off-toggle__input {
    position: absolute;
    opacity: 0;
}

.on-off-toggle__input:checked +
.on-off-toggle__slider {
    background-color: #747113
}

.on-off-toggle__input:checked +
.on-off-toggle__slider:before {
    transform: translateX(24px);
}

.on-off-toggle__input:checked +
.on-off-toggle__slider:after {
    content: 'Yes';
    color: #FFFFFF;
    padding-left: 8px;
}

.text-trim-25 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 25vw;
}

.payment--gateway-img {
    margin-bottom: 16px;
}

.payment--gateway-img img {
    border-radius: 8px;
}

.switch--custom-label-text {
    display: none;
    font-weight: 700;
    font-size: 0.75rem;
}

.switch--custom-label.checked .switch--custom-label-text.on {
    display: block;
}

.switch--custom-label:not(.checked) .switch--custom-label-text.off {
    display: block;
}

.custom--switch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.custom--switch input[switch] {
    display: none;
}


.inputDnD .form-control-file {
    position: relative;
    inline-size: 100%;
    block-size: 100%;
    min-block-size: 8rem;
    outline: none;
    visibility: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.inputDnD .form-control-file:before {
    content: attr(data-title);
    position: absolute;
    inset-inline-start: 0;
    inline-size: 100%;
    min-block-size: 100%;
    line-height: 2em;
    opacity: 1;
    visibility: visible;
    text-align: center;
    border: 1px dashed currentColor;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.inputDnD .form-control-file:hover:before {
    border-style: solid;
}

.custom_upload_input {
    position: relative
}

.custom-upload-input-file-area {
    display: block;
    width: 100%;
    padding: 0;
    width: 100%;
    aspect-ratio: 1
}

.custom_upload_input input[type=file] {
    display: block;
    width: 100%;
    padding: 0;
    width: 100%;
    aspect-ratio: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f7f7f7;
    border: 0;
    border-radius: 5px;
    opacity: 0;
    z-index: 9;
    position: relative;
    cursor: pointer
}

.custom_upload_input input[type=file].meta-img {
    aspect-ratio: 8/1
}

.custom_upload_input.ratio-1 input[type=file].meta-img {
    aspect-ratio: 1/1
}

.custom_upload_input.ratio-2 input[type=file].meta-img {
    aspect-ratio: 2/1
}

.img_area_with_preview {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    padding: 5px;
    border: 1px dashed #00000014
}

.img_area_with_preview img {
    width: 100%;
    object-fit: cover;
    height: 100%
}

.custom_upload_input .delete_file_input_css, .custom_upload_input .delete_file_input {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: red;
    border: 1px solid red;
    z-index: 10
}

.custom_upload_input .delete_file_input:hover {
    color: #fff;
    border: 1px solid red;
    z-index: 10
}

.__img-120 {
    width: 120px;
    aspect-ratio: 1;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 8px;
}

.ratio-1 {
    aspect-ratio: 1;
}

.ratio-2 {
    aspect-ratio: 2 / 1;
}

.ratio-3 {
    aspect-ratio: 3 / 1;
}

.ratio-8 {
    aspect-ratio: 8 / 1;
}

.max-h200px {
    max-height: 200px;
}

.height-20rem {
    height: 20rem;
}

.font-45px {
    font-size: 45px
}

.min-height-170x {
    min-height: 170px
}

.top-ordered-store-image {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid #80808082;
}

.font-size-10px {
    font-size: 10px
}

.width-7rem {
    width: 7rem;
}

.height-60px {
    height: 60px;
}

.h-54px {
    height: 54px
}

#location_map_div #pac-input {
    height: 40px;
    border: 1px solid #fbc1c1;
    outline: none;
    box-shadow: none;
    top: 7px !important;
    transform: translateX(7px);
    padding-left: 10px;
}

.addon-payment-gateway-active {
    color: #8c1515;
    padding-top: 10px
}

.mb-30px {
    margin-bottom: 30px
}

.h-80px {
    height: 80px
}

.mb-10px {
    margin-bottom: 10px
}

.width-18rem {
    width: 18rem;
}

.mb-minus-1px {
    margin-bottom: -1px;
}

.add-to-shopping-cart {
    width: 37%;
    height: 45px
}

.max-w-15rem {
    max-width: 15rem;
}

.footer-credit,
.footer-credit a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #dc3545 !important;
}
.footer-credit a:hover {
    color: #c82333 !important;
}

.p-top-100px {
    padding-top: 1rem;
}

/* Match nav-subtitle - inherit parent background like other nav items */
.support-image-box {
    background: transparent !important;
}

.support-image-box a {
    background: transparent !important;
    min-height: 140px;
    padding: 0.5rem 0.5rem;
}

.support-image {
    max-width: 220px;
    width: 100%;
    height: auto;
    min-height: 120px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.support-image-box a:hover .support-image {
    transform: scale(1.08);
    opacity: 0.9;
}

.w-200px {
    width: 200px !important;
}

.width-54px {
    width: 54px;
}

.height-54px {
    height: 54px;
}

.view-conversation-message {
    cursor: pointer;
    border-radius: 10px;
    margin-top: 2px;
}

.height-18rem {
    height: 18rem;
}

.h-200px {
    height: 200px
}

.product-image {
    margin-top: -35px;
    border-radius: 0
}

.min-h-15 {
    min-height: 15px;
}

.color-red {
    color: red
}

.attribute-class {
    border: 1px solid #80808045;
    border-radius: 10px;
    padding-top: 10px;
    margin: 1px
}

.front-emoji {
    font-family: emoji;
}

.btn--primary {
    color: #ffffff;
    background-color: #EC2227;
    border-color: #EC2227
}

.btn--primary:hover {
    color: #ffffff;
    background-color: #c91d21;
    border-color: #c91d21
}

.btn--primary.focus, .btn-primary:focus {
    color: #ffffff;
    background-color: #EC2227;
    border-color: #EC2227;
    box-shadow: 0 0 0 .2rem rgba(236, 34, 39, .4)
}

.btn--primary.disabled, .btn--primary:disabled {
    color: #ffffff;
    background-color: #d2d3d4;
    border-color: #d2d3d4
}

.btn--primary:not(:disabled):not(.disabled).active, .btn--primary:not(:disabled):not(.disabled):active, .show > .btn--primary.dropdown-toggle {
    color: #ffffff;
    background-color: #c91d21;
    border-color: #c91d21
}

.btn--primary:not(:disabled):not(.disabled).active:focus, .btn--primary:not(:disabled):not(.disabled):active:focus, .show > .btn--primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(236, 34, 39, .4)
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.custom-class {
    margin-top: 10px !important;
    border-radius: 0;
}

.w--20 {
    width: 20px;
}

.maintenance-advance-feature-button {
    text-decoration: underline !important;
}

.min-width-260px {
    min-width: 260px !important;
}

a[href^="mailto:"],
a[href^="tel:"] {
    pointer-events: none; /* Disable click events */
}

a[href^="mailto:"]::after, a[href^="tel:"]::after {
    content: ''; /* Empty content */
    display: none; /* Hide the tooltip */
}
.text-decoration-line-through{
    text-decoration: line-through;
}
.iti__selected-dial-code{
    color: #000;
    font-size: 12px;
    padding-left: 2px;
}
#country_selector{
    padding-left: 85px;
}
.max-w-650px{
    max-width: 650px;
}