﻿.theme_1 {
    background: var(--container-bg,#FFF);
    padding: 10px 10px 20px 10px;
    border-radius: 12px;
    margin: 0 !important
}

    .theme_1 .promo-bar {
        background: var(--promo-bg,#ffd400);
        color: var(--promo-text,#111);
        border-radius: 16px;
        display: grid;
        grid-template-columns: auto minmax(0,1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 10px;
        margin: 20px 0
    }

        .theme_1 .promo-bar strong {
            white-space: nowrap;
            font-weight: 800;
            font-size: 1rem
        }

        .theme_1 .promo-bar .promo-extra {
            min-width: 0;
            opacity: .9;
            line-height: 1.35;
            font-size: clamp(.8rem,.8vw,.9rem)
        }

        .theme_1 .promo-bar .promo-btn {
            border: none;
            border-radius: 999px;
            padding: 8px 14px;
            background: rgb(0 0 0 / .9);
            color: #fff;
            text-decoration: none;
            font-weight: 700;
            white-space: nowrap
        }

    .theme_1 .section-sub {
        opacity: .9;
        margin: 0
    }

    .theme_1 .product__category {
        opacity: 1
    }

    .theme_1 .swiper_products_slider .list_products .product__img, .theme_1 .swiper_products_slider .list_products .card__content, .theme_1 .swiper_products_slider .list_products .product__img a {
        padding: 0
    }

    .theme_1 .default_list.list_products .onsale {
        bottom: inherit
    }

    .theme_1 .swiper-slide.card {
        background-color: var(--products-bg,#10131c) !important;
        color: var(--products-text,#FFF);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgb(0 0 0 / .08);
        overflow: hidden;
        padding: 10px
    }

    .theme_1 .slide_product_title {
        color: var(--products-text,#FFF)
    }

    .theme_1 a.slide_product_title {
        font-weight: 700
    }

    .theme_1 .product__category a {
        color: var(--category,#8b8f98)
    }

    .theme_1 .product__brand a {
        color: var(--brand,#8b8f98);
        font-size: 12px;
        font-weight: 500
    }

    .theme_1 .product__price {
        color: var(--price,#111);
        display: flex;
        gap: 4px;
        align-items: baseline
    }

    .theme_1 .on-sale-product .product__price {
        color: var(--offprice,#7D2AE8)
    }

    .theme_1 .price_before .old_price {
        opacity: .7;
        text-decoration: line-through
    }

    .theme_1 .percentage_off.rounded {
        background: #c1090e;
        color: #fff;
        border-radius: 999px;
        padding: 4px 8px;
        font-weight: 700
    }

    .theme_1 .image_container {
        position: relative;
        border-radius: 8px
    }

    .theme_1 .layer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%
    }

@media (max-width:1200px) {
    .theme_1 .promo-bar .promo-extra {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden
    }
}

@media (max-width:992px) {
    .theme_1 .promo-bar .promo-extra {
        -webkit-line-clamp: 3;
        font-size: clamp(.85rem,1vw,.95rem)
    }
}

@media (max-width:575px) {
    .theme_1 .promo-bar {
        grid-template-columns: 1fr auto;
        row-gap: 8px
    }

        .theme_1 .promo-bar .promo-extra {
            display: none
        }
}

.theme_3 {
    background: linear-gradient(100deg,var(--hero-start),var(--hero-end));
    border-radius: 14px;
    padding: 20px;
    color: var(--card-text);
    overflow: hidden
}

    .theme_3 .row-flex > * {
        min-width: 0
    }

    .theme_3 .row-flex {
        display: grid;
        grid-template-columns: 340px minmax(0,1fr);
        gap: 20px
    }

    .theme_3 .row-flex {
        display: grid;
        grid-template-columns: 360px minmax(0,1fr);
        gap: 20px
    }

    .theme_3 .card__content {
        padding: 0
    }

    .theme_3 .swiper-wrapper {
        padding: 5px 0
    }

    .theme_3.hero-right .row-flex {
        grid-template-columns: minmax(0,1fr) 360px
    }

    .theme_3.hero-right .hero {
        order: 2
    }

    .theme_3.hero-right .slider-wrap {
        order: 1
    }

    .theme_3 .percentage_off {
        background-color: red;
        color: #fff;
        font-size: 13px;
        text-align: center;
        position: absolute;
        font-weight: 700;
        top: 10px;
        left: 10px;
        min-width: 40px;
        min-height: 30px;
        line-height: 30px
    }

    .theme_3 .hero {
        color: var(--hero-text);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 5px
    }

        .theme_3 .hero h2 {
            color: var(--hero-title);
            font-weight: 800;
            font-size: clamp(30px, 3.5vw, 45px);
            margin: 0 0 6px 0;
            line-height: 1.05;
            text-shadow: 0 1px 0 rgb(0 0 0 / .2);
            text-align: var(--hero-title-align)
        }

        .theme_3 .hero p {
            margin: 0 0 14px 0;
            font-size: clamp(14px, 0.2vw, 16px);
            text-align: var(--hero-text-align)
        }

        .theme_3 .hero .hero-btn {
            background: var(--hero-btn-bg);
            color: var(--hero-btn-text);
            border-radius: 10px;
            padding: 10px 16px;
            font-weight: 700;
            text-decoration: none;
            border: 1px solid rgb(0 0 0 / .1);
            box-shadow: 1px 4px 1px var(--hero-btn-shadow-color);
            transition: background-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease;
            will-change: transform;
            max-width: 100%;
            display: inline-flex;
            justify-content: var(--hero-btn-text-align,flex-start)
        }

            .theme_3 .hero .hero-btn:hover {
                background: var(--hero-btn-bg-hover);
                color: var(--hero-btn-text-hover) !important;
                box-shadow: 0 0 0 var(--hero-btn-shadow-color);
                transform: translateY(-1px)
            }

            .theme_3 .hero .hero-btn:active {
                transform: translateY(0);
                box-shadow: 0 1px 1px rgb(0 0 0 / .06),0 6px 12px var(--hero-btn-shadow-color)
            }

            .theme_3 .hero .hero-btn:focus-visible {
                outline: 0;
                box-shadow: 0 0 0 3px rgb(255 255 255 / .5),0 6px 14px var(--hero-btn-shadow-color)
            }

    .theme_3 .slider-wrap {
        background: #fff0;
        padding: 0
    }

    .theme_3 .swiper-slide.card {
        background: var(--card-bg);
        border-radius: 14px;
        box-shadow: 3px 2px 2px 2px rgb(0 0 0 / 15%);
        width: 260px;
        overflow: hidden
    }

    .theme_3 .thumb {
        padding: 12px 12px 0 12px
    }

    .theme_3 .image_container picture, .theme_3 .image_container img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 10px;
        padding: 10px
    }

    .theme_3 .content {
        padding: 10px 12px 14px 12px
    }

    .theme_3 .title {
        margin: 0 0 6px 0;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

        .theme_3 .title, .theme_3 .title a {
            color: var(--products-text,#FFF)
        }

    .theme_3 .image_container {
        height: 100% !important;
        padding: 5px;
        border-radius: 10px;
        background-color: var(--img-bg,#1b2132);
        display: flex;
        -ms-align-items: center;
        -o-align-items: center;
        -webkit-align-items: center;
        align-items: center;
        -o-justify-content: center;
        -webkit-justify-content: center;
        justify-content: center
    }

@* .theme_3 .badge-top {
    display: inline-block;
    background: #c5002e;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    padding: 4px 8px;
    font-weight: 700;
    margin-bottom: 6px
}

*@ .theme_3 .save {
    color: #c5002e;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 2px
}

.theme_3 .price {
    color: var(--price);
    display: flex;
    gap: 6px;
    align-items: baseline;
    font-weight: 800;
    font-size: 18px
}

    .theme_3 .price .old {
        opacity: .65;
        text-decoration: line-through;
        font-weight: 600;
        font-size: 14px
    }

    .theme_3 .price .off {
        color: var(--offprice)
    }

.theme_3 .platform_badge {
    margin-top: 6px;
    max-width: 72px
}

@media (max-width:991px) {
    .theme_3 {
        padding: 25px 20px
    }

        .theme_3 .row-flex, .theme_3.hero-right .row-flex {
            grid-template-columns: 1fr
        }

        .theme_3.hero-right .hero, .theme_3.hero-right .slider-wrap {
            order: initial
        }

        .theme_3 .swiper-slide.card {
            width: 220px
        }
}

.theme_3 .swiper_products_slider {
    margin-top: 0;
    padding-top: 0
}

@media (max-width:575px) {
    .theme_3 .hero .hero-btn {
        box-shadow: none
    }
}

.theme_3 .hero-media {
    margin-bottom: 12px;
    display: block;
    text-align: var(--hero-img-align)
}

    .theme_3 .hero-media img {
        max-height: var(--hero-img-max-h);
        max-width: var(--hero-img-max-w);
        width: auto;
        height: auto;
        object-fit: contain;
        display: inline-block
    }

.theme_6_promo {
    position: relative;
}

    .theme_6_promo .promo-strip-bg {
        position: relative;
        width: 100vw;
        margin-left: calc(50% - 50vw); /* break out of container */
        background-color: var(--promo-strip-bg, #05010c);
        overflow: hidden;
        width: 3500px;
        min-width: 3600px;
    }

    .theme_6_promo .promo-strip-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* fills the strip on ultra-wide */
        pointer-events: none;
    }

        .theme_6_promo .promo-strip-bg-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .theme_6_promo .theme_6_container {
        display: flex;
        justify-content: center;
    }
    /* content sits above background */
    .theme_6_promo .promo-strip-inner {
        position: relative;
        z-index: 1;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .theme_6_promo .promo-strip-row {
        margin: 0 auto;
    }

    .theme_6_promo .promo-strip-col {
        display: flex;
    }

    .theme_6_promo .promo-card {
        background: rgba(0, 0, 0, .9);
        border-radius: 14px;
        overflow: hidden;
        transition: transform .22s ease, box-shadow .22s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
        background-repeat: no-repeat;
        background-size: auto; /* حجمها الأصلي */
        background-position: bottom center; /* مثبتة تحت */
    }

        .theme_6_promo .promo-card:hover {
            transform: scale(1.04);
            box-shadow: 0 14px 25px rgba(0, 0, 0, .45);
        }

        .theme_6_promo .promo-card picture,
        .theme_6_promo .promo-card img {
            display: block;
            width: 100%;
        }

        .theme_6_promo .promo-card img {
            height: 430px;
            object-fit: cover;
            object-position: top center;
        }

    .theme_6_promo .promo-info {
        padding: 12px 14px 14px;
        color: #fff;
        position: absolute;
        z-index: 10;
        bottom: 0;
        background: #0e111af0;
        width: 100%;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

        .theme_6_promo .promo-info h3 {
            font-size: 1rem;
            margin: 0 0 6px;
            font-weight: 700;
            line-height: 1.25;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

    .theme_6_promo .promo-price {
        margin-top: 8px;
        font-weight: 700;
        font-size: .95rem;
    }

        .theme_6_promo .promo-price span {
            white-space: nowrap;
        }

        .theme_6_promo .promo-price .old {
            text-decoration: line-through;
            opacity: .7;
            margin-left: 6px;
            font-weight: 400;
            font-size: .85rem;
        }

@media (max-width: 991.98px) {
    .theme_6_promo .promo-card img {
        height: 430px;
    }
}
/* Mobile */
@media (max-width: 575px) {
    .theme_6_promo .promo-strip-bg {
        margin-left: 0;
        width: initial;
        min-width: initial;
        padding-left:25px;
    }

    .theme_6_promo {
        background-size: auto;
        background-position: center bottom;
    }

        .theme_6_promo .promo-card img {
            height: 430px;
            width: auto;
            object-fit: cover;
            object-position: top center;
        }

        .theme_6_promo .swiper-slide {
            width: auto !important;
        }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
    .theme_6_promo {
        background-size: auto;
        background-position: center bottom;
    }
}

/* Desktop (real look) */
@media (min-width: 992px) {
    .theme_6_promo {
        background-size: auto;
        background-position: center bottom;
    }
}
