@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    outline: 0;
    border: none;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #b7b7b7;
}

::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 20px;
}

img,
video {
    width: 100%;
}

body {
    direction: rtl;
    max-width: 1280px;
    margin: auto;
    font-family: "Tajawal", sans-serif;
}

button {
    font-family: "Tajawal", sans-serif;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    background: #ED2A50;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 0 10px #ED2A50;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
}

nav .logo div {
    max-width: 120px;
    line-height: 0;
}

nav .logo h1 {
    max-width: 200px;
}

/* search */
.search {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    background: #F8F8F8;
    align-items: center;
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0px -18px 50px 0px rgba(0, 0, 0, 0.05);
}

.search.search-container {
    display: flex;
    justify-content: center;
}

.search .input-container {
    position: relative;
    display: flex;
    align-items: center;
    max-height: 40px;
    z-index: 9;
}

.search .input {
    width: 200px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgb(98, 0, 255);
    outline: none;
    padding: 18px 16px 18px 40px;
    background: #fff;
    cursor: text;
    transition: all .5s ease-in-out;
}

.search .input::placeholder {
    color: rgb(131, 128, 128);
}

.search .icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    width: 40px;
    background: #fff;
    border-radius: 10px;
    fill: rgb(98, 0, 255);
    border: 1px solid rgb(98, 0, 255);
    cursor: pointer;
}

.search .input:hover+.icon {
    transform: rotate(360deg);
    transition: .2s ease-in-out;
}

.search .input:focus+.icon,
.search .input:not(:placeholder-shown)+.icon {
    z-index: 0;
    background: transparent;
    border: none;
}

.search .categories {
    display: flex;
    gap: 10px;
    overflow: hidden;
    overflow-x: auto;
}

.search .categories::-webkit-scrollbar {
    height: 10px;
}

.search .categories .category {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 15px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.category.category_active {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.search .categories .category .category_img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

/* end search */


/* coupons */
.coupons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    gap: 30px;
    margin: 30px auto;
}

section .all_coupon {
    width: 90%;
    margin: 30px auto;
    font-weight: bold;
}

.coupons .discount_code {
    width: 342px;
    height: 184px;
    position: relative;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.coupons .discount_code:hover {
    transform: scale(1.03);
}

.coupons .background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.coupons .cloud {
    background: linear-gradient(90deg, #5936B4 0%, #362A84 100%);
    border-radius: 10px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
}

.coupons .cloud img {
    object-fit: cover;
}

.coupons .discount_code:hover .cloud {
    transform: scale(0.9);
}

.coupons .cloud svg {
    height: 120px;
}

.coupons .discount_code .main-text {
    z-index: 2;
    margin-top: 15px;
    color: #fff;
}

.coupons .discount_code .main-text p,
.coupons .discount_code .main-text small {
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.coupons .discount_code .main-text p {
    font-size: 25px;
}

.coupons .discount_code .info {
    display: flex;
    justify-content: space-between;
}

.coupons .discount_code .info .text-gray {
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.coupons .discount_code .info .info-right {
    align-self: flex-end;
}

.coupons .discount_code .info .info-right button {
    background: #ED2A50;
    color: #fff;
    font-size: 16px;
    border-radius: 25px;
    border: 0;
    outline: none !important;
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
}

.coupons .discount_code .info .info-right button:hover {
    opacity: 0.7;
}

/* End coupons */

/* footer */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ED2A50;
    padding: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 0 10px #ED2A50;
}

footer .left,
footer .center,
footer .right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

footer .left a.logo {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .center a {
    color: #fff;
}


footer .right a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

footer .left a.logo:hover,
footer .right a:hover,
footer .center a:hover {
    opacity: 0.7;
}

@media (max-width:768px) {
    footer {
        flex-direction: column;
    }
}

/* end footer */


/* view_discount_code */
.view_discount_code {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111111ab;
    z-index: 9999;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    animation: view_discount_code 1s ease-in-out;
}

@keyframes view_discount_code {
    0% {
        transform: rotate(360deg) scale(0);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

.view_discount_code .full_discount_code_div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    overflow-y: auto;
    align-items: center;
}

.view_discount_code div#discount_code_div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    padding-top: 80px;
    border-radius: 10px;
    position: relative;
    min-width: 50%;
    min-height: 50%;
    gap: 20px;
}

.view_discount_code .handle_close {
    position: absolute;
    top: 1%;
    right: 1%;
    font-size: 2rem;
    color: #111;
    cursor: pointer;
    line-height: 1rem;
    font-weight: bold;
}

div#discount_code_div .store_img {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translate(-50%, -100%);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    background: #fff;
    object-fit: cover;
}

div#discount_code_div .main-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
}

div#discount_code_div .view_card {
    padding: 30px;
    border-radius: 10px;
    background: radial-gradient(ellipse farthest-side at 76% 77%, rgba(245, 228, 212, 0.25) 4%, rgba(255, 255, 255, 0) calc(4% + 1px)), radial-gradient(circle at 76% 40%, #fef6ec 4%, rgba(255, 255, 255, 0) 4.18%), linear-gradient(135deg, #ff0000 0%, #000036 100%), radial-gradient(ellipse at 28% 0%, #ffcfac 0%, rgba(98, 149, 144, 0.5) 100%), linear-gradient(180deg, #cd6e8a 0%, #f5eab0 69%, #d6c8a2 70%, #a2758d 100%);
    background-blend-mode: normal, normal, screen, overlay, normal;
    box-shadow: 0px 0px 10px 1px #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

div#discount_code_div .view_card button {
    background: #ED2A50;
    color: #fff;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
}

div#discount_code_div .view_card button:hover {
    opacity: 0.7;
}

div#discount_code_div .view_card button:disabled {
    opacity: 0.5;
}

div#discount_code_div .view_card p {
    background: #ed2a507a;
    color: #fff;
    font-size: 20px;
    border-radius: 5px;
    font-weight: 700;
    padding: 5px 10px;
}

div#discount_code_div .view_card_store_link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div#discount_code_div .view_card_store_link a {
    border: 1px solid #ED2A50;
    color: #ED2A50;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
}

div#discount_code_div .view_card_store_link a:hover {
    opacity: 0.7;
}

div#discount_code_div .view_card_store_link div#discount_code_div .view_card small {
    font-weight: bold;
}

.hide {
    display: none;
}

.data_pages {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    padding: 0 10px;
    gap: 5px;
}

@media (max-width:768px) {
    .view_discount_code div#discount_code_div {
        min-width: 80%;
    }
}

/* end view_discount_code */

/* contact_us */
.contact_us {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    margin: 20px auto;
}

.contact_us .title {
    font-size: 28px;
    color: #ED2A50;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.contact_us .title::before,
.contact_us .title::after {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 0px;
    background: #ED2A50;
}

.contact_us .title::before {
    width: 18px;
    height: 18px;
    background: #ED2A50;
}

.contact_us .title::after {
    width: 18px;
    height: 18px;
    animation: pulse 1s linear infinite;
}

.contact_us .message {
    color: rgba(88, 87, 87, 0.822);
    font-size: 14px;
}


.contact_us label {
    position: relative;
}

.contact_us label .input {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 10px;
}

.contact_us label .input+span {
    position: absolute;
    right: 10px;
    top: 15px;
    color: grey;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
}

.contact_us label .input:placeholder-shown+span {
    top: 15px;
    font-size: 0.9em;
}

.contact_us label .input:focus+span,
.contact_us label .input:valid+span {
    top: 30px;
    font-size: 0.7em;
    font-weight: 600;
}

.contact_us label .input:valid+span {
    color: #ED2A50;
}

.contact_us .submit {
    background: #ED2A50;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transform: .3s ease;
    cursor: pointer;
}

.contact_us .submit:disabled {
    opacity: 0.5;
}

.contact_us label textarea.input {
    resize: none;
    height: 100px;
}


.contact_us label textarea.input:focus+span,
.contact_us label textarea.input:valid+span {
    top: 80px;
}

.contact_us .submit:hover {
    opacity: 0.7;
}

@keyframes pulse {
    from {
        transform: scale(0.9);
        opacity: 1;
    }

    to {
        transform: scale(1.8);
        opacity: 0;
    }
}

/*end contact_us */

p.no_data {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

/* all_slider */

.card-slider {
    width: 90%;
    margin: 30px auto;
    border: 1px solid #362A84;
    padding: 10px;
    border-radius: 10px;
}

.slick-initialized .slick-slide {
    max-height: 500px;
    display: flex !important;
    align-items: center;
}

.slick-prev,
.slick-next {
    width: 25px !important;
    height: 25px !important;
}

.slick-prev:before,
.slick-next:before {
    display: flex;
    background: linear-gradient(90deg, #5936B4 0%, #362A84 100%);
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 0 !important;
    opacity: 1 !important;
    font-size: 25px !important;
}

.all_slider .slick-dots {
    bottom: -25px !important;
}


.all_slider .discount_code {
    height: 184px;
    position: relative;
    padding: 20px;
    color: #fff;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    direction: rtl;
    background: linear-gradient(90deg, #5936B4 0%, #362A84 100%);
    border-radius: 10px;
    margin: 0 10px;
}

.all_slider .discount_code:hover {
    transform: scale(1.03);
}

.all_slider .cloud {
    background: #fff;
    border-radius: 10px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
}

.all_slider .cloud img {
    object-fit: cover;
}

.all_slider .discount_code:hover .cloud {
    transform: scale(0.9);
}

.coupons .cloud svg {
    height: 120px;
}

.all_slider .discount_code .main-text {
    z-index: 2;
    margin-top: 15px;
    color: #fff;
}

.all_slider .discount_code .main-text p,
.all_slider .discount_code .main-text small {
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.all_slider .discount_code .main-text p {
    font-size: 25px;
}

.all_slider .discount_code .info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.all_slider .discount_code .info .text-gray {
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.all_slider .discount_code .info .info-right {
    align-self: flex-end;
}

.all_slider .discount_code .info .info-right button {
    background: #ED2A50;
    color: #fff;
    font-size: 16px;
    border-radius: 25px;
    border: 0;
    outline: none !important;
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
}

.all_slider .discount_code .info .info-right button:hover {
    opacity: 0.7;
}

/* end discount_code-slider */


/* tags_category */
.tags_category {
    display: flex;
    align-items: center;
    margin: 20px;
    gap: 5px;
}

/* end tags_category */

/* coupon */

section.coupon_page {
    padding: 0 10px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

section.coupon_page .store_img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
}

section.coupon_page .store_img img {
    object-fit: cover;
}

section.coupon_page button {
    background: #ED2A50;
    color: #fff;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
    width: fit-content;
}

section.coupon_page button:hover {
    opacity: 0.7;
}

section.coupon_page .description_c {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px #48329d;
}

section.coupon_page .description_c img {
    max-width: 20rem !important;
}

/* end coupon */

/* home_slider */
.home_slider {
    margin: 30px auto;
    max-width: 85%;
}

.slick-dots {
    bottom: -25px !important;
}

.slick-dots li button {
    background: linear-gradient(90deg, #5936B4 0%, #362A84 100%) !important;
    border-radius: 50%;
}

/* end home_slider */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5px;
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.pagination a {
    padding: 2px;
    background: #ED2A50;
    border: 1px solid #5936B4;
    color: #fff;
    font-weight: bold;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.pagination a.active {
    border: 1px solid #ED2A50;
    background: #5936B4;
}


/* sharing_social_media */
.div_sharing_social_media {
    display: flex;
    gap: 10px;
    margin: 10px auto;
    flex-direction: column;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px #49319f;
}

.sharing_social_media {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.sharing_social_media a {
    background: #ed2a50;
    color: #fff;
    font-size: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* end sharing_social_media */