/* Add custom CSS styles below */

/* Add custom CSS styles below */
.ps-header .ps-logo img {
    height: 65px;
}

.sicon-shopping-bag:before {
    content: "\e96b";
}

.bg-home section.s-block--items-slider:first-child {
    margin-top: 12px !important;
    margin-bottom: 12px;
}

.s-block--items-slider .banner-ref img {
    max-height: 660px;
}

.s-block--categories-custom.s-block {
    margin-top: 16px !important;
}

.s-block--categories,
.testimonials-sec {
    padding: 16px 0;
}

.s-block {
    margin-top: 24px !important;
}

.catg-custom .catg-custom-item {
    max-width: unset !important;
    width: 20%;
}

.catg-custom .catg-custom-item .img-shape {
    width: 215px;
    height: 215px;
}

.catg-custom .catg-custom-item a h3 {
    width: 215px;
    font-size: 20px;
}

.s-block__title {
    margin-bottom: 1.2rem;
}

.s-block--national-day+.s-block--custom-slider-products {
    margin-top: 0 !important;
}

.ps-footer {
    margin-top: 24px;
}

.title-page {
    flex-wrap: wrap;
}

.s-product-card-entry .s-product-card-image .s-product-card-promotion-title,
.dts-page .promotion-title {
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 14px;
    font-weight: normal;
    clip-path: unset;
}

.s-product-card-content-footer .s-button-element {
    border-radius: 12px 12px 0 0 !important;
}

.container-fluid:has(.more-details-catg) {
    display: flex;
    flex-direction: column-reverse;
}

.more-details-catg {
    margin-top: 5px;
    margin-bottom: 32px;
}

.walax-fixed-bottom {
    left: 20px !important;
    transform: rotate(-90deg);
    transform-origin: left;
    display: block;
    bottom: 0 !important;
    height: 40px;
}

.walax-main-button {
    padding: 8px 15px;
    border-radius: 0 0 7px 7px;
}

.more-details-catg:not(:has(*)) {
    display: none;
}

.catg-banner a {
    margin-top: auto;
    border-radius: 10px 10px 0 0;
}

.catg-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
    background-size: contain;
}

.s-product-box {
    padding-bottom: 0;
}

.s-product-box .product-img img {
    max-height: 370px;
}

.custom-slider-products--div .s-slider-thumbs {
    padding-bottom: 0;
}

.custom-slider-products-sec {
    min-height: unset;
}

.bg-sec {
    padding: 0;
}

.bg-sec+.bg-sec {
    padding-top: 40px;
}

.ps-product__content {
    margin-bottom: 24px;
}

.bg-sec .s-slider-block__title h2 {
    background: #e3ddea;
    color: var(--color-primary);
    padding: 8px 20px !important;
    border-radius: 16px 16px 0 0;
}

@media (max-width: 992px) {
    .catg-custom .catg-custom-item .img-shape {
        width: 190px;
        height: 190px;
    }

    .catg-custom .catg-custom-item a h3 {
        width: 190px;
    }

    .catg-custom .catg-custom-item {
        width: fit-content !important;
    }

    .s-block--categories .slide--cat-entry {
        margin-top: 38px;
    }
}

@media (max-width: 768px) {
    .catg-custom .catg-custom-item .img-shape {
        width: 160px;
        height: 160px;
    }

    .catg-custom .catg-custom-item a h3 {
        width: 160px;
    }

    .custom-slider-products--div .s-slider-thumbs {
        padding: 0 20px 0;
    }

    .slide-sub-categories {
        padding: 20px 0 0;
    }

    .slide-sub-categories .slide--category h2 {
        font-size: 14px;
    }
}

@media (max-width: 450px) {
    .catg-custom .catg-custom-item .img-shape {
        width: 90px;
        height: 90px;
    }

    .catg-custom .catg-custom-item a h3 {
        width: 90px;
        font-size: 14px;
    }

    .s-product-card-entry .s-product-card-content-title a {
        font-size: 14px;
    }

    .s-product-card-entry .s-product-card-content-sub {
        margin-top: 0;
    }

    .s-product-card-entry .s-product-card-price,
    .s-product-card-entry .s-product-card-sale-price h4,
    .s-product-card-entry .s-product-card-starting-price h4 {
        font-size: 15px;
    }

    .s-product-card-starting-price {
        flex-wrap: wrap;
        row-gap: 0;
    }

    .s-product-card-entry .s-product-card-content .s-product-card-sale-price {
        display: flex;
        flex-wrap: wrap;
    }

    .s-product-box {
        padding: 80px 20px 5px;
    }

    .s-product-box .product-dts h3 span {
        -webkit-line-clamp: 1;
    }

    .s-product-card-content-footer .s-button-element {
        border-radius: 8px 8px 0 0 !important;
    }

    .s-block--categories .s-slider-block__title {
        margin-bottom: 0 !important;
    }

    .center-footer .logo-footer {
        margin-bottom: 5px;
    }

    .flex-social-payment {
        margin-top: 12px;
    }

    .ps-footer--block .ps-block__title,
    .ps-footer_middle .ps-footer_title,
    .ps-footer__middle .ps-footer--contact .s-contacts-title {
        margin-bottom: 12px;
    }

    .ps-footer--block .s-menu-footer-list {
        row-gap: 8px;
    }

    .grid-footer {
        row-gap: 16px;
    }

    .vat-saudibusiness {
        margin-top: 12px;
        gap: 10px;
    }

    .ps-footer__middle {
        padding: 35px 0 16px;
    }

    .flex-slider-with-ctg {
        flex-direction: row;
    }

    .catg-banner {
        width: 150px;
        min-width: 150px;
        min-height: 315px;
        background-size: contain;
        padding: 5px;
    }

    .catg-banner h3 {
        font-size: 17px;
        margin-bottom: 4px;
        line-height: 140%;
    }

    .s-block--slider-with-ctg salla-products-slider {
        width: calc(100% - 170px);
    }

    .videobox .content-video h3 {
        font-size: 21px;
    }

    .catg-banner a {
        padding: 4px 20px;
        font-size: 15px;
        border-radius: 6px 6px 0 0;
    }

    .bg-sec .s-slider-block__title h2 {
        padding: 6px 16px !important;
        border-radius: 12px 12px 0 0;
        font-size: 18px !important;
    }
}

@media (max-width: 375px) {
    body .products-grid .s-products-list-wrapper,
    body.small-container .products-grid .s-products-list-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 350px) {
    body .products-grid .s-products-list-wrapper,
    body.small-container .products-grid .s-products-list-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* إخفاء قسم "شاركنا سؤالك أو تعليقك" بالكامل */
section:has(textarea),
section:has(button[type="submit"]),
form:has(textarea),
form[action*="contact"],
textarea[name="message"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

}