@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Questrial&display=swap');

body {
    font-family: "Questrial", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    background-color: #ffffff;
    color: #595959;
    font-size: 14px;
    line-height: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Questrial", sans-serif;
    color: #333333;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    font-family: "Questrial", sans-serif;
    color: #595959;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .5px;
}

/* Define a class to apply blur effect */
.blur-background {
    filter: blur(5px);
    /* You can adjust the blur strength */
    transition: filter 0.5s ease;
    /* Add a transition for a smooth effect */
}

.box-card:hover {
    transform: scale(1.0);
}

.box-card {
    transition: 0.3s ease-in-out;
}

.card-input-element {
    display: none;
}


.card-input:hover {
    cursor: pointer;
}

/*.card-input-element:checked+.card-input {*/
/*    box-shadow: 0 0 2px 2px #690a25;*/
/*    transition: .3s;*/
/*}*/

.card-input-checked {
    box-shadow: 0 0 2px 2px #690a25;
    transition: .3s;
}


.category-item:hover {
    background-color: #D3D3D3;
    border-radius: 3px;
}

.category-item {
    color: black;
    font-weight: bold;
    transition: .3s;
}

.custom-overlay {
    transition: .2s ease-in-out;
}

.custom-overlay:hover {
    filter: brightness(0.8);
}

.custom-border {
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

@media (max-width: 767px) {
    .custom-border {
        font-size: 14px;
    }
}

.custom-border::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #a3484d;
    bottom: 0;
}

.payment-option {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.payment-option:hover {
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.payment-option input[type="radio"] {
    display: none;
    accent-color: #a3484d;
    transform: scale(1.2);
}

.payment-option .payment-info h6 {
    font-size: 1rem;
    font-weight: 600;
}

.payment-option .payment-info small {
    font-size: 0.85rem;
    color: #6c757d;
}

.payment-option.active {
    background-color: rgba(163, 72, 77, 0.1);
    border-color: #a3484d;
    box-shadow: 0 4px 8px rgba(163, 72, 77, 0.2);
}


@media (max-width: 767px) {
    .height-sub-header {
        height: 0 !important;
    }
}

.overflow-scroll {
    overflow: hidden !important;
}

.product-thumb-info-image {
    position: relative;
    overflow: hidden;
}

.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.product-thumb-info-image:hover .quick-view-overlay {
    opacity: 1;
}

.color-radio-input {
    display: none;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 10%;
    display: inline-block;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.color-radio-input:checked + .color-circle {
    border-color: #A3484D;
    box-shadow: 0 12px 16px rgba(163, 72, 77, 0.6);
    transform: scale(1.1);
}

.color-circle:hover {
    box-shadow: 0 15px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.color-circle:hover::after {
    content: attr(data-color);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
}

.color-circle:hover::after {
    opacity: 1;
}

.size-radio-input {
    display: none;
}

.size-radio-label {
    display: flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.size-circle {
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-radius: 20px;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-radio-label:hover .size-circle {
    background-color: #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*.size-radio-input:checked+.size-circle {*/
/*    border-color: #A3484D;*/
/*    background-color: #f0e0e0;*/
/*    box-shadow: 0 0 10px rgba(163, 72, 77, 0.6);*/
/*    transform: scale(1.1);*/
/*}*/
.size-circle-active {
    border-color: #A3484D;
    background-color: #f0e0e0;
    box-shadow: 0 0 10px rgba(163, 72, 77, 0.6);
    transform: scale(1.1);
}

#myCarousel {
    max-width: 640px;
    margin: 0 auto;
}

#myCarousel .f-carousel__slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-circle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    aspect-ratio: 4/4;
    object-fit: cover;
    border: 2px solid #a3484d;
    mix-blend-mode: multiply;
    filter: drop-shadow(5px 5px rgba(0, 0, 0, 0.2));
    transition: .2s ease-in;
}

.category-circle:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0px 0px rgba(0, 0, 0, 0.4));
}


.product {
    box-shadow: 2px 0 0 rgba(199,103,115, 0.2);
    border: 1px solid rgba(199,103,115, 0.2);
    border-radius: 12px;
}
.product-thumb-info {
    border-radius: 12px;
}
.f-thumbs__slide, .f-thumbs__slide__button {
    border-radius: 12px !important;
}


.payment-methods img {
    width: 40px;
    aspect-ratio: 16/9;
    object-fit: cover;
}


.quantity-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.quantity-wrapper .quantity-btn {
    width: 35px;
    height: 35px;
    padding: 0;
    font-size: 18px;
}

.quantity-wrapper .quantity-input {
    width: 55px;
    height: 35px;
    text-align: center;
    padding: 0;
}

@media (max-width: 576px) {
    .quantity-wrapper {
        flex-direction: column;
    }

    .quantity-wrapper .quantity-btn {
        width: 40px;
        height: 35px;
    }

    .quantity-wrapper .quantity-input {
        width: 55px;
        height: 35px;
    }
    .product-name-cart {
        font-size: 9px;
    }
}
