/** Modal */
.w-100 {
    width: 100%;
}

.modal {
    pointer-events: none;
    display: none;
    transition: display 0.3s;
    position: relative;
    max-width: 500px;
    width: 95vw;
    margin: 0 auto;
    margin-top: 3em;
    padding: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 9;
}

.modal-close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #e2e2e2;
    width: 25px;
    height: 25px;
    font-size: 17px;
    font-weight: bold;
}

/** Overlay */
.overlay {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

/** JS */
.is-visible {
    display: block;
    pointer-events: auto;
}

.contact-form {
    margin: 0
}

.product .swiper-slide img {
    object-fit: contain;
    object-position: center;
    min-height: 110px;
    background: #f6f4f2 !important;
    border: solid 2px #efefef;
}

.desc-titl {
    margin-top: 20px;
}

span.price {
    color: #D40F0F;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    display: block
}

span.offer {
    color: #9C9C9C;
    font-size: 18px;
    font-weight: 400;
    position: relative;
}

span.offer::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
    width: 100%;
    height: 1px;
    background: black;
    transform: rotate(5deg)
}

.original {
    font-size: 12px
}

.offer_div {
    display: flex;
    gap: 10px
}

.offer_div .off {
    background: #00AAAD;
    border-radius: 5px;
    padding: 3px;
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: white
}

.accordion {
    margin: 20px auto;
    margin-top: 5em;
    font-family: sans-serif;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.accordion-header {
    background-color: #E5E5E5;
    font-weight: bold;
    padding: 15px;
    width: 100%;
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: center;
    border: none;
    cursor: pointer;
}

span.arrow {
    padding: 5px;
    background: #00aaad;
    color: white;
    border-radius: 5px;
}

.accordion-header:hover {
    background-color: #e2e6ea;
}

.accordion-content ul li::before {
    content: "✔";
    margin-right: 8px;
    color: white;
    background: #00aaad;
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.accordion li {
    aspect-ratio: auto !important;
    margin-bottom: 1em;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    display: block;
    padding: 15px
}

.accordion-item.active .arrow {
    /* transform: rotate(180deg); */
}

#services-grid ul {
    display: block;
}

#services-grid li {
    display: block;
    aspect-ratio: 0;
}

.info-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px auto;
    max-width: 1000px;
    text-align: center;
    align-items: stretch;
}

.card {
    background-color: #D9D9D933;
    padding: 20px;
    flex: 1;
    transition: transform 0.2s;
    min-height: 185px;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    height: 45px;
    margin-bottom: 10px;
    object-fit: contain;
    background: transparent;
}

.card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.card p {
    font-size: 14px;
    color: #555;
}

hr {
    background: #E4E4E4;
    height: 1px;
    border-width: 0;
    margin: 20px 0;
}

.testimonials {
    margin: 40px;
    overflow: hidden;
    background-color: #f7f5f3;
}

.testimonials h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.testimonials .card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonials .card .stars {
    font-size: 18px;
    color: #f5a623;
    margin-bottom: 10px;
}

.testimonials .card h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

.testimonials .swiper {
    padding-bottom: 30px;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
    background-color: teal;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.testimonials .swiper-button-next:after,
.testimonials .swiper-button-prev:after {
    font-size: 15px;
}

.testimonials .padding-inline {
    position: relative;
}

.gradient-overlay-left,
.gradient-overlay-right {
    position: absolute;
    top: -2%;
    width: 60px;
    height: 104%;
    z-index: 10;
    pointer-events: none;
}

.gradient-overlay-left {
    left: 0;
    background: linear-gradient(to right, #f7f5f3 90%, transparent);
}

.gradient-overlay-right {
    right: 0;
    background: linear-gradient(to left, #f7f5f3 90%, transparent);
}

.related-products {
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #eee;
}

.related-products h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.related-products-swiper {
    padding: 0 3rem;
    position: relative;
}


.related-products .swiper-slide h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #222;
}

.related-products .swiper-slide .price {
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
}

.related-products .swiper-slide .category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.related-products .swiper-slide .rating {
    margin: 0.5rem 0;
    color: #ffc107;
    font-size: 0.9rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #222;
}

.product-card .price {
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
}

.product-card .category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-card .rating {
    margin: 0.5rem 0;
    color: #ffc107;
    font-size: 0.9rem;
}

@media only screen and (max-width: 480px) {
    .info-cards {
        flex-wrap: wrap;
    }

    .info-cards .card {
        flex: inherit;
        width: 100%;
    }

    .gradient-overlay-left,
    .gradient-overlay-right {
        display: none
    }

    .related-products-swiper {
        padding: 0
    }

    .product .swiper-slide img {
        min-height: inherit
    }
}