@import url('https://fonts.googleapis.com/css?family=Almarai:300,regular,700,800');



select {
    outline : none !important;
}



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

li {
    list-style: none;
}

a {
    text-decoration: none;
    /* color: inherit; */
}

.container {
    max-width: 1500px !important;
    width: 100%;
    padding: 10px 20px;
    margin: auto;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 10px;
    }
}

body {
    font-family: 'Almarai', 'Cairo';
    overflow-x: hidden;
    background-color: #fff;
}

@layer components {}

html {
    scroll-behavior: smooth !important;
}

::-webkit-scrollbar {
    width: 9px;
    height: 2px;
}


::-webkit-scrollbar-track {
    background: #fff;
}


::-webkit-scrollbar-thumb {
    background-color: #8A1A3B;
    border-radius: 5px;
}



.custom-next:hover,
.custom-prev:hover {
    opacity: .4;
    scale: 1.1;
    transition: .3s;
    transition-timing-function: linear;
}




.select ::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
}

.select-color ::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
}

.scroll-select-btns::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
}

.product-scroll::-webkit-scrollbar {
    width: 5px !important;
    height: 3px !important;
}

.slide-width {
    transition: 0.5s;
    width: 0%;
}

nav ::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
}







input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    /* لإزالة الأسهم في فايرفوكس */
}



/* Inputs */
.input {
    position: relative;
}

.input input {
    width: 100%;
    min-height: 49px;
    border: 1px solid #EEEEEE;
    background-color: #FAFAFA;
    border-radius: 4px;
    padding: 10px 15px;
    color: #444;
    outline: none;
}

@media (max-width : 500px) {
    .input input {
        min-height: 40px;
    }
}

.input img {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}


/* Select */
.country-select {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    cursor: pointer;
}

.country-flag {
    width: 20px;
    height: 15px;
}

.dropdown {
    max-height: 0;
    overflow: auto;
    width: 140px;
    position: absolute;
    background-color: white;
    left: 0;
    top: 120%;
    /* border: 1px solid #ddd; */
}

.dropdown.show {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    max-height: 500px;
    overflow: auto;
}

.dropdown-item {
    padding: 5px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

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


.t-primary {
    color: #8A1A3B;
}

.bg-primary {
    background-color: #8A1A3B;
}

.bg-primary-hover:hover {
    background-color: #A3274A;
}

.t-color1 {
    color: #333333;
}

.t-color2 {
    color: #A5A5A5;
}


.btn {
    width: 100%;
    min-height: 45px;
    background-color: #8A1A3B;
    cursor: pointer;
    color: white;
    text-align: center;
    font: 600;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    transition: .3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-white {
    background-color: #fff;
    color: #0E2354;
    border: 1px solid #E6E7EC;
    transition: all 0.3s ease;

}

.btn-white:hover {
    background-color: #f5f5f5ca !important;
    border-color: #d1d3da;
}

.btn img {
    width: 15px;
    object-fit: contain;
}

.btn:hover {
    background-color: #A3274A;
}


.btn-bullets {
    padding: 10px;
    padding-right: 20px;
    border-radius: 5px;
    color: #8A1A3B;
    background-color: #AE201214;
    position: relative;
}

.btn-bullets::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #8A1A3B;
    border-radius: 50%;
}


.active-btn {
    background-color: #8A1A3B;
    /* لون الخلفية النشطة */
    border: 2px solid #8A1A3B;
}

.active-btn * {
    fill: white;
}

.inactive-btn {
    border: 2px solid #eee;
    background-color: #fff;
    /* لون الخلفية غير النشطة */
}

.inactive-btn * {
    fill: #A5A5A5;
}



/*==================================== Custom Date Input ============================*/
.date-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-container .custom-date {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #F1F1F1;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 40px;
    border-radius: 5px;
}

.date-container .calendar-icon {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

.date-container .date-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.date-container label {
    font-weight: 500;
    color: #626262;
    font-size: 14px;
}

.date-container span {
    font-size: 14px;
    color: #A3A3A3;
}



/*==================================== Custom Select ============================*/
.select-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.select-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #F1F1F1;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 40px;
    border-radius: 5px;
}

.select-box span {
    font-size: 14px;
    color: #A3A3A3;
}

.select-box img {
    opacity: .5;
}

.select-container label {
    font-weight: 500;
    color: #626262;
    font-size: 14px;
}

.select-box:hover {
    background-color: #f0f0f0;
}

.options {
    position: absolute;
    top: 110%;
    width: 100%;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 180px;
    overflow-y: auto;
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.options.show {
    opacity: 1;
    max-height: 180px;
}

.option-item {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.option-item:hover {
    background-color: #f1f1f1;
}



/* ==================================== Custom Radio ============================ */

.custom-radio {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #8A1A3B;
    /* لون الإطار */
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.custom-radio:checked {
    background-color: #8A1A3B;
    /* لون الخلفية عند التفعيل */
    border-color: #8A1A3B;
}

.custom-radio:checked::after {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0.2rem auto;
    background-color: white;
    border-radius: 50%;
}


/*===================================== Check Box Input =================================*/
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #790024;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid #790024;
    border-radius: 4px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-input:checked+.checkbox-label .checkbox-box {
    background-color: #790024;
}

.checkbox-input:checked+.checkbox-label .checkbox-icon {
    display: block;
}

.checkbox-icon {
    width: 1rem;
    height: 1rem;
    color: white;
    display: none;
}


/*===================================== Custom Radio Button =================================*/
.custom-radio-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 8px 15px;
    min-height: 50px;
    border-radius: 10px;
    /* background-color: #fff; */
    color: #5e5e5e;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-radio-button:hover {
    background-color: #fce4e8;
}

.custom-radio-button span {
    position: relative;
    z-index: 10;
    font-size: 14px;
}

.custom-radio-button input[type="radio"] {
    display: none;
}

.radio-indicator {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #5e5e5e;
    margin-left: 8px;
    z-index: 100;
    order: -1;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #8c1d3c;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 110;
    position: relative;
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-color: #f5f5f5;
    z-index: 1;
}

/* Targeting checked radio button */
.custom-radio-button input[type="radio"]:checked+span {
    font-weight: bold;
    color: #8c1d3c;
}

.custom-radio-button input[type="radio"]:checked+span+.radio-indicator {
    border-color: #8c1d3c;
}

.custom-radio-button input[type="radio"]:checked+span+.radio-indicator .dot {
    opacity: 1;
}

.custom-radio-button input[type="radio"]:checked~.overlay {
    background-color: #fcf5f4 !important;
}





/* ==================================== Swiper ============================ */

.product-special .swiper-slide,
.product-recently .swiper-slide,
.product-most_sales .swiper-slide,
.product-electroics .swiper-slide {
    /* width: auto !important;  */
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.swiper-pagination-bullet {
    width: 11px !important;
    height: 11px !important;
    background-color: #D8D8D8;
}

.swiper-pagination-bullet-active {
    background-color: #8A1A3B !important;
    position: relative;
}

.swiper-pagination-bullet-active::after {
    transition: .3;
    position: absolute;
    content: "";
    width: 27px;
    height: 27px;
    border: 1px solid #8A1A3B;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}


.thumbnail.active {
    opacity: 1 !important;
    border: 1px solid #8A1A3B;
}





/*=================================== Counter ===============================*/
.countdown {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

@media (max-width : 1400px) {
    .countdown {
        flex-wrap: wrap;
    }
}

.countdown-item {
    background-color: #F8F8F8;
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 100px;
    width: 100%;
    text-align: center;

}

.countdown-item span:first-child {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.countdown-item span:last-child {
    font-size: 14px;
    color: #A5A5A5;
}




/*================================================== Tabs Details Product ===========================*/
.tabs-container {
    width: 100%;
    margin: 20px auto;
}

.tabs {
    display: flex;
    justify-content: flex-start;
    border-bottom: 2px solid #ddd;
}

.tab-button {
    padding: 12px 24px;
    margin: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: normal;
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.tab-button:hover {
    color: #5e5e5e;
}

.tab-button.active {
    color: #fff;
    background-color: #8c1d3c;
}

.tab-button-notification {
    padding: 12px 24px;
    margin: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: normal;
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.tab-button-notification:hover {
    color: #5e5e5e;
}

.tab-button-notification.active {
    color: #8c1d3c;
    border-bottom: 3px solid #8c1d3c;
}

.tab-content {
    display: none;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.tab-content.active {
    display: block;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table td {
    padding: 12px;
    background-color: #fff;
    font-weight: normal;
}

.product-table tr:nth-child(even) td {
    background-color: #f8f8f8;
}

.product-table td:first-child {
    color: #666;
    font-weight: normal;
}



/* ====================================== Traking Order Map ======================== */
#map {
    height: 500px;
    width: 100%;
    border-radius: 12px;
}

.custom-marker {
    background-color: #8A1A3B;
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
}

.route-line {
    color: #8A1A3B;
    width: 5;
}

.label {
    background-color: white;
    padding: 5px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-icon img {
    width: 24px;
    height: 24px;
}



/* ================================ FAQs ======================== */


.faq-container .faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.faq-container .faq-header {
    background-color: #F9F9F9;
    color: #333;
    padding: 15px;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    justify-content: space-between;
    align-items: center;
}

.faq-container .faq-header:hover {
    background-color: #a10033;
}

.faq-container .faq-content {
    max-height: 0;
    transition: .3s ease-in-out;
    background-color: white;
    padding: 0 20px;
    font-size: 16px;
    color: #555;
}

.faq-container .faq-item.active .faq-content {
    max-height: 300px;
    padding: 20px;

}

.faq-container .faq-item:hover .faq-header {
    color: white !important;
    transition: .3s;
}

.faq-container .faq-item.active .faq-header {
    background-color: #870028;
    color: white;
    transition: .3s;
}



.faq-container .faq-header:hover .arrow * {
    fill: white;

}

.faq-container .arrow svg {
    width: 14px;
}

.faq-container .arrow * {
    fill: #333;
    transition: .3s;
}


.faq-item.active .arrow * {
    fill: white;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
    transition: .3s ease-in-out;
}



.active-taps {
    font-weight: 500;
    border-bottom: 2px solid #8a1a3b;
    color: #8a1a3b;
}

.active-taps span:nth-child(2) {
    background-color: #fceded;
    color: #8a1a3b;
    transition: .3s;
}




.tab-choose.active {
    background: #8a1a3b;
    transition: .3s;
}



/* Circle */


.circular-chart {
    width: 45px;
    height: 45px;
}

.circle-bg {
    fill: none;
    stroke-width: 3.8;
}

.circle-fg {
    fill: none;
    stroke-width: 4.1;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

.percentage {
    font-size: 10px;
    font-weight: 400;
    text-anchor: middle;
}