/* ================================================================
   HERO SECTION — cleaned up + fully responsive
   ================================================================
   Notes:
   - Kept your existing class/ID names (including "heor-section")
     since the template & JS reference them.
   - Replaced most fixed breakpoint overrides with clamp()/fluid
     units so the section scales smoothly instead of jumping.
   - Removed duplicate / conflicting media query blocks that
     existed in the original file.
   - Reduced !important usage where specificity alone is enough.
   ================================================================ */

#heor-section {
    position: relative;
    max-width: var(--main-width);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-sizing: border-box;
}

#heor-section .hero-wrap {
    width: 100%;
    padding: 10px 20px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 10px 20px;
    border-radius: 20px;
}

@media (max-width:505px) {
    .hero-bg {
        padding: 10px 10px;
    }
}

/* ========== SWIPER CONTAINER ========== */
#heor-section .swiper {
    width: 100%;
    /* Fluid height instead of a hard 450px / 400px jump */
    height: clamp(320px, 45vw, 450px);
    user-select: none;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-more-light) 100%);
    position: relative;
}

#heor-section .swiper.mySwiper::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 8%;
    height: 110%;
    width: 35%;
    border-radius: var(--radius-md) var(--radius-full) var(--radius-full) var(--radius-full);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    transform: rotate(18deg);
    opacity: 0.95;
}

[dir="rtl"] #heor-section .swiper.mySwiper::before {
    right: auto;
    left: 8%;
    border-radius: var(--radius-full) var(--radius-md) var(--radius-full) var(--radius-full);
    transform: rotate(-18deg);
}

/* ========== HERO SLIDE ========== */
#heor-section .hero-slide {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

#heor-section .hero-slade-contente {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-3xl) var(--spacing-2xl);
    margin-inline-start: 4%;
    height: 100%;
    z-index: 2;
    box-sizing: border-box;
}

/* ========== PRODUCT DETAILS ========== */
#heor-section .hero-main-products-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    height: 100%;
    justify-content: center;
}

#heor-section .products-details-state {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    font-weight: 700;
    background-color: var(--primary-color);
    padding: 6px 30px;
    text-transform: uppercase;
    border-radius: 30px 0 30px 0;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

[dir="rtl"] #heor-section .products-details-state {
    border-radius: 0 30px 0 30px;
}

#heor-section .products-details-state.visible {
    opacity: 1;
    animation: slade-button-to-top 0.4s linear;
}

#heor-section .products-details-title {
    font-size: clamp(24px, 4.2vw, 48px);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

#heor-section .products-details-title span {
    color: var(--primary-color) !important;
}

#heor-section .products-details-desciption {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: clamp(14px, 1.1vw, var(--font-size-base));
    max-width: 480px;
}

#heor-section .products-details-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

#heor-section .products-details-actions a {
    text-decoration: none;
}

@keyframes slade-button-to-top {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BUTTONS ========== */
#heor-section .products-details-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: clamp(10px, 1.2vw, 12px) clamp(16px, 1.8vw, 20px);
    line-height: 1.8;
    border-radius: 10px;
    border: none;
    font-size: clamp(14px, 1vw, var(--font-size-lg));
    font-weight: 600;
    cursor: pointer;
    color: var(--text-white);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

#heor-section .products-details-actions button.btn-secondary {
    background: var(--primary-color);
}

#heor-section .products-details-actions button.btn-secondary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-access);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

#heor-section .products-details-actions button.btn-secondary:hover::before {
    width: 150px;
    height: 150px;
}

#heor-section .products-details-actions button span {
    position: relative;
    z-index: 2;
}

#heor-section .products-details-actions button.btn-primary {
    background: var(--primary-access);
}

#heor-section .products-details-actions button.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

#heor-section .products-details-actions button.btn-primary:hover::before {
    width: 170px;
    height: 170px;
}

#heor-section .products-details-actions button .button-arrow-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

[dir="ltr"] #heor-section .products-details-actions button .button-arrow-icone {
    transform: rotate(-180deg);
}

/* ========== PRODUCT IMAGE ========== */
#heor-section .hero-main-products-images {
    position: absolute;
    top: 50%;
    right: 10%;
    width: clamp(220px, 24vw, 360px);
    transform: rotate(-12deg) translateY(-50%);
    z-index: 3;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    user-select: none;
    pointer-events: none;
    overflow: hidden;
}

[dir="rtl"] #heor-section .hero-main-products-images {
    right: auto;
    left: 10%;
    transform: rotate(12deg) translateY(-50%);
}

#heor-section .hero-main-products-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Custom AOS animation: "perspective-in" ── */
[data-aos="perspective-in"] {
    opacity: 0;
    transform: translateZ(-300px) scale(0.6) rotateY(15deg);
    transform-origin: center center;
    transition-property: transform, opacity;
    will-change: transform, opacity;
}

[data-aos="perspective-in"].aos-animate {
    opacity: 1;
    transform: translateZ(0) scale(1) rotateY(0deg);
}

/* ========== PRICE BADGE ========== */
#heor-section .hero-img-price {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(70px, 7vw, 90px);
    height: clamp(70px, 7vw, 90px);
    border-radius: var(--radius-full) var(--radius-full) 10px var(--radius-full);
    background-color: var(--primary-access);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5px;
    z-index: 20;
    box-sizing: border-box;
}

[dir="rtl"] #heor-section .hero-img-price {
    left: auto;
    right: 0;
    border-radius: var(--radius-full) var(--radius-full) var(--radius-full) 10px;
}

#heor-section .price-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px dashed var(--text-white);
    border-radius: var(--radius-full);
    width: 98%;
    height: 98%;
}

#heor-section .hero-img-price span {
    color: var(--text-white);
    font-weight: 600;
    font-size: clamp(11px, 1vw, 15px);
    overflow: hidden;
}

/* ========== NAVIGATION BUTTONS ========== */
#heor-section .swiper-button-go {
    position: absolute;
    bottom: var(--spacing-2xl);
    right: var(--spacing-2xl);
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    width: auto;
}

[dir="rtl"] #heor-section .swiper-button-go {
    right: auto;
    left: var(--spacing-2xl);
}

#heor-section .swiper-button-next-to-go,
#heor-section .swiper-button-prev-to-go {
    width: clamp(38px, 4vw, 50px);
    height: clamp(38px, 4vw, 50px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-medium);
}

[dir="rtl"] #heor-section .swiper-button-next-to-go,
[dir="rtl"] #heor-section .swiper-button-prev-to-go {
    transform: rotate(180deg);
}

#heor-section .swiper-button-next-to-go:hover,
#heor-section .swiper-button-prev-to-go:hover {
    background-color: var(--primary-color);
}

#heor-section .swiper-button-next-to-go svg,
#heor-section .swiper-button-prev-to-go svg {
    width: 30px;
    height: 30px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

#heor-section .swiper-button-next-to-go:hover svg,
#heor-section .swiper-button-prev-to-go:hover svg {
    color: var(--text-white);
}

/* ========== PAGINATION ========== */
#heor-section .swiper-pagination {
    bottom: var(--spacing-xl) !important;
}

#heor-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: var(--primary-dark);
    display: inline-block;
    margin: 0 var(--spacing-xs) !important;
    transition: all var(--transition-normal);
    opacity: 1;
}

#heor-section .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 20px;
    background-color: var(--primary-dark);
}

/* ================================================================
   RESPONSIVE DESIGN
   Everything above is already fluid via clamp(), so we only need
   real breakpoints for LAYOUT changes (image position/flow), not
   for re-declaring sizes at every width.
   ================================================================ */

@media (max-width: 1020px) {
    #heor-section .hero-main-products-details {
        max-width: 400px;
    }
}

@media (max-width: 950px) {
    #heor-section .swiper.mySwiper::before {
        right: 5%;
        width: 40%;
    }

    [dir="rtl"] #heor-section .swiper.mySwiper::before {
        right: auto;
        left: 5%;
    }
}

@media (max-width: 850px) {
    #heor-section .hero-slade-contente {
        margin-inline-start: 1%;
        max-width: 380px;
    }
}

/* ========== MOBILE: stack image above content ========== */
@media (max-width: 700px) {
    /* !important needed here: Swiper's JS sets an inline height on
       .swiper / .swiper-wrapper, which otherwise beats this rule
       and forces the image box back to the desktop height. */
    #heor-section .swiper,
    #heor-section .swiper-wrapper,
    #heor-section .swiper-slide {
        height: auto !important;
    }

    #heor-section .hero-slide {
        flex-direction: column-reverse;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        height: auto;
        position: relative;
        padding: 20px;
        margin-bottom: 20px;
        gap: 20px;
    }

    #heor-section .hero-slade-contente {
        max-width: 100%;
        margin-inline-start: 0;
        padding: var(--spacing-xl) var(--spacing-md);
    }

    #heor-section .hero-main-products-details {
        gap: 16px;
    }

    #heor-section .products-details-title {
        font-size: clamp(26px, 7vw, 40px);
    }

    #heor-section .products-details-desciption {
        font-size: clamp(14px, 4vw, 17px);
    }

    /* Image becomes part of normal flow, no more absolute + rotate */
    #heor-section .hero-main-products-images {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: min(320px, 70%);
        /* Matches the images' real 800x450 dimensions, so the box is
           always correctly proportioned instead of depending on
           Swiper's JS-set height (which caused the earlier crop). */
        aspect-ratio: 1 / 1;
        height: 100%;
        transform: none;
        isolation: isolate;
        z-index: 2;
        overflow: hidden;
    }

    /* object-fit: cover (not contain) so any solid-color matting
       baked into a source photo gets cropped out instead of shown */
    #heor-section .hero-main-products-images img {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: contain;
        z-index: 1;
        transform: none !important;
    }

    #heor-section .hero-img-price {
        top: 0px;
        transform: rotate(-8deg);
    }

    [dir="rtl"] #heor-section .hero-img-price {
        transform: rotate(8deg);
    }

    #heor-section .swiper.mySwiper::before {
        top: unset;
        bottom: 0;
        right: 50%;
        height: 40%;
        width: 70%;
        border-radius: var(--radius-full) var(--radius-full) 0 var(--radius-full);
        transform: translateX(50%);
    }

    [dir="rtl"] #heor-section .swiper.mySwiper::before {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 400px) {
    #heor-section .hero-slide {
        padding: 10px;
        gap: 10px;
    }
}

/*  =================================================================
====================== Category Section =============================
=====================================================================*/

.category-section {
    width: 100%;
}

.category-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 500;
}

.category-title h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.category-title h2::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30%;
    min-width: 30px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.category-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    gap: 5px;
    cursor: pointer;
    transition: color 0.3s linear;
}

.category-view-all:hover {
    color: var(--primary-access);
}

.category-view-all a {
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: inherit;
}

[dir="ltr"] .view-more-content i,
.popular-title a span i {
    transform: rotate(0deg) !important;
}

[dir="rtl"] .category-view-all a span,
.view-more-content i,
.popular-title a span i {
    transform: rotate(180deg);
}

[dir="rtl"] .view-all-href {
    transform: rotate(0deg) !important;
}

.category-grid {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    padding: 10px 0;
    cursor: default;
    user-select: none;

}

.category-item {
    width: 100%;
    min-width: 173px;
}

.category-grid::-webkit-scrollbar {
    display: none;
}

.swiper-navigation-icon {
    display: none;
}

.banners-section {
    max-width: var(--main-width);
    margin: var(--spacing-4xl) auto;
    padding: 0 var(--spacing-xl);
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.banner-card {
    position: relative;
    min-height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-2xl);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-main);
}

.banner-card:hover {
    box-shadow: var(--shadow-medium);
}

/* dark gradient overlay so text stays legible over any photo */
.banner-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(20, 14, 9, 0.75) 100%);
    z-index: 0;
}

/* fallback look when no bg_image was uploaded for this banner */
.banner-card--fallback {
    background: linear-gradient(155deg, var(--primary-color), var(--primary-dark));
}

.banner-badge {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    z-index: 1;
    background: var(--bg-primary);
    color: var(--primary-color);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px var(--spacing-md);
    border-radius: var(--radius-sm);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-eyebrow {
    color: var(--primary-color);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.banner-title {
    color: var(--text-white);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin: 0 0 var(--spacing-sm);
    line-height: 1.25;
}

.banner-text {
    color: var(--text-white);
    opacity: var(--opacity-70);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0 0 var(--spacing-lg);
    max-width: 240px;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-primary);
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    padding: 9px var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: var(--transition-main);
}

.banner-btn svg {
    width: 15px;
    height: 15px;
    transition: transform var(--transition-fast);
}

.banner-btn:hover svg {
    transform: translateX(3px);
}

.banners-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: var(--spacing-3xl) 0;
}

@media (max-width: 1000px) {
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-card:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .banners-grid {
        grid-template-columns: 1fr;
    }

    .banner-card:nth-child(3) {
        grid-column: span 1;
    }

    .banner-card {
        min-height: 240px;
    }
}


/* ================================================================
==========================  Trending Items section ==================
=================================================================== */

.product-carousel-main {
    width: 100%;
}

.section-header {
    margin: 20px auto 40px auto;
    max-width: var(--main-width);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 25px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    text-transform: capitalize;
    padding-bottom: 8px;
    margin: 0px;
}

.section-title::after {
    content: "";
    /* â† required, was missing entirely */
    position: absolute;
    bottom: 0;
    /* anchors to the bottom of the element */
    left: 0;
    /* â† was missing, so it wouldn't align */
    width: 60%;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    /* optional: softens the bar edges */
}

.section-view-more-btn {
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s linear;
}

.section-view-more-btn:hover {
    color: var(--primary-access);
}

.view-more-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.section-header a {
    text-decoration: none;
}

.view-more-content span {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 700;
}

/* carousel-container */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: var(--main-width);
    margin: 0 auto;
}

.carousel-grid {
    margin: 0px auto;
    max-width: var(--main-width);
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden !important;
    position: relative;
    touch-action: pan-y;
    scroll-snap-type: x mandatory;
}

.carousel-grid::-webkit-scrollbar {
    display: none !important;
}

.carousel-grid .trending-card {
    max-width: 250px !important;
    min-width: 250px;
    scroll-snap-align: start;
}

@media (max-width: 550px) {
    .carousel-grid .trending-card {
        min-width: 93vw;
        padding: 10px;
    }

    .carousel-grid .image-trending {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .carousel-grid .trendingitems-title {
        font-size: 18px !important;
    }

    .carousel-grid .product-state {
        font-size: 13px !important;
        padding: 6px 14px !important;
        border-radius: 20px;
        top: 20px;
        left: 20px;
    }

    .carousel-grid .product-features-slider {
        display: block !important;
    }
}

/* Navigation arrows */
.section-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.carousel-nav-btn {
    width: 40px;
    height: 40px;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
    z-index: 100;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-nav-btn:hover {
    border-color:var(--primary-color) ;
    color:var(--primary-color) ;
    background-color: var(--primary-more-light);
}

.carousel-nav-btn:active {
    animation: trending-items-buttons 2s linear;
}

@keyframes trending-items-buttons {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

.carousel-nav-btn.disabled {
    opacity: 0.6;
    cursor: default;
}

.carousel-nav-btn.disabled:hover{
    border-color:var(--border-light) ;
    color:var(--text-primary) ;
    background-color: var(--bg-primary);
}

.carousel-nav-btn svg {
    width: 27px;
}

/* ── Card shell ─────────────────────────────────────────────────── */
.trending-card {
    background: var(--bg-primary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ── Image zone ─────────────────────────────────────────────────── */
.image-trending {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
}

.product-state {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
    background: var(--primary-color, #3a2a1a);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

/* Wishlist heart button, top-right */
.action-icon-btn.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary, #222);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

[dir="rtl"] .action-icon-btn.wishlist-btn {
    right: auto;
    left: 12px;
}

.action-icon-btn.wishlist-btn.added {
    background-color: #ef4444;
    color: #fff;
}

.action-icon-btn.wishlist-btn.added .icon-heart {
    fill: currentColor;
}
/* ── Slider track ───────────────────────────────────────────────── */
.image-trending-wrap {
    position: absolute;
    inset: 0;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.slide-img.active {
    opacity: 1;
    visibility: visible;
}

/* Prev / next arrows: hidden by default everywhere.
   Only revealed on hover-capable devices (see media query below). */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-primary, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.slider-arrow--prev { left: 10px; }
.slider-arrow--next { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.slider-dot.active {
    background: #fff;
}

/* Quick View pill: always visible by default (this is now the mobile
   permanent state too, since mobile never matches the hover media query below) */
.btn-quick-view {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    color: var(--text-primary, #222);
    border: none;
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 11px;
    font-weight: 600;
    text-wrap: nowrap;
    cursor: pointer;
    z-index: 20;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* ── Hover-swap behavior: ONLY on devices with real hover (mouse/trackpad).
   Touch devices never match this, so Quick View just stays put and
   arrows/dots never need to appear there. ── */
@media (hover: hover) and (pointer: fine) {
    .image-trending:hover .btn-quick-view {
        opacity: 0;
        visibility: hidden;
    }

    .image-trending:hover .slider-arrow,
    .image-trending:hover .slider-dots {
        opacity: 1;
        visibility: visible;
    }
}
/* ── Card body ──────────────────────────────────────────────────── */
.trending-items {
    padding: 14px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 6px;
}

.trendingitems-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.product-title-link {
    color: var(--text-primary, #222);
    text-decoration: none;
}

.product-short-desc {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary, #777);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-reviews {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.product-stars {
    color: #f5a623;
}

.rev-count {
    color: var(--text-secondary, #999);
}

.card-bar__pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary, #222);
}

.original-price {
    font-size: 13px;
    color: var(--text-secondary, #999);
    text-decoration: line-through;
}

.product-discount-badge {
    background: #fdecea;
    color: #d64545;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-light, #ddd);
    border-radius: 50px;
    color: var(--text-primary, #222);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s ease;
}

.btn-view-details:hover {
    background-color: var(--bg-card);
}

.product-carousel-section {
    padding-block: 0px !important;
    margin-block: 0px !important;
}

.product-carousel-section .section-header {
    margin-top: 0px !important;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablets and small screens */
@media screen and (max-width: 768px) {
    .product-carousel-section {
        padding: 0 10px !important;
    }

    .product-carousel-section[data-section="featured"] {
        margin-top: 40px !important;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 20px;
    }

    .view-more-content span {
        font-size: 14px;
    }

    .carousel-grid {
        margin-top: 25px;
        gap: 12px;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    .product-carousel-section {
        padding: 0 10px !important;
    }

    .product-carousel-section[data-section="featured"] {
        margin-top: 40px !important;
    }

    .section-header {
        margin-bottom: 20px;
        flex-direction: row;
    }

    .section-title {
        font-size: 18px;
    }

    .section-title::before {
        height: 3px;
        bottom: -6px;
    }

    .carousel-grid {
        margin-top: 20px;
        gap: 10px;
        padding: 0 2px;
    }


    .trending-items {
        padding-top: 8px;
    }

    .trendingitems-title {
        font-size: 14px;
    }

    .star .fa-star {
        font-size: 12px;
    }

    .reviews {
        font-size: 11px;
        margin-left: 3px;
    }

    .current-price {
        font-size: 15px;
    }

    .original-price {
        font-size: 11px;
    }

    .discount {
        font-size: 11px;
    }

    .buttons-trending-actions {
        gap: 6px;
    }

    .buttons-trending-actions button {
        padding: 8px 12px;
        font-size: 12px;
        width: 100%;
    }
}

/* ================================================================
==========================  Feature section ==================
=================================================================== */
.feature-main {
    width: 100%;
    position: relative;
}

.container-wow-feature-area {
    border-radius: var(--radius-xl);
    background: var(--primary-dark);
    box-shadow: var(--shadow-medium);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: space-evenly;
    padding: 25px;
    gap: 0;
    position: relative;
    z-index: 1;
    margin-top: 0px !important;
}

#feature-area {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

.container-wow-feature-area::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("/static/imges/store-icone/images/02.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    opacity: .2;
    z-index: 100;
}

.feature-wrap {
    border-right: 1px solid var(--border-light);
    padding: 0 15px;
}

.feature-wrap:last-child {
    border-right: none;
}


.feature-item-card {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    transition: var(--transition-normal);
}

.feature-icon {
    width: 65px;
    height: 65px;
    line-height: 65px;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 30px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.feature-icon img {
    width: 50%;
}

.feature-item-card:hover .feature-icon {
    background: var(--primary-hover);
    transform: rotate(5deg);
}

.feature-icon::before {
    content: "";
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    width: 65px;
    height: 65px;
    top: -5px;
    left: -5px;
    border: 2px solid var(--primary-color);
    transition: var(--transition-normal);
}

.feature-item-card:hover .feature-icon::before {
    border-color: var(--primary-hover);
}

.feature-content h4 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.3;
}

.feature-content p {
    color: var(--text-white);
    font-size: var(--font-size-sm);
    margin: 0;
    opacity: 0.9;
}

/* ============================================
   MOBILE FIRST RESPONSIVE BREAKPOINTS
   ============================================ */

/* Extra Small Devices (phones, less than 400px) */
@media (max-width: 399px) {
    .container-wow-feature-area {
        grid-template-columns: 1fr;
        padding: 15px 10px;
        margin: 20px auto;
        border-radius: 12px;
        gap: 0;
    }

    .feature-wrap {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 0;
    }

    .feature-wrap:last-child {
        border-bottom: none;
    }

    .feature-item-card {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
        gap: 12px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .feature-icon::before {
        width: 50px;
        height: 50px;
        top: -4px;
        left: -4px;
        border-width: 1.5px;
    }

    .feature-content h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .feature-content p {
        font-size: 11px;
    }
}

/* Small Phones (400px to 575px) */
@media (min-width: 400px) and (max-width: 575px) {
    .feature-area {
        padding: 8px 10px;
    }

    .container-wow-feature-area {
        grid-template-columns: 1fr;
        padding: 18px 12px;
        margin: 25px auto;
        border-radius: 15px;
        gap: 0;
    }

    .feature-wrap {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 0;
    }

    .feature-wrap:last-child {
        border-bottom: none;
    }

    .feature-item-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 12px;
        gap: 15px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }

    .feature-icon::before {
        width: 65px;
        height: 65px;
        top: -4px;
        left: -4px;
    }

    .feature-content h4 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .feature-content p {
        font-size: 16px;
    }
}

/* Medium Phones (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .feature-area {
        padding: 10px 15px;
    }

    .container-wow-feature-area {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 15px;
        margin: 30px auto;
        border-radius: 18px;
        gap: 0;
    }

    .feature-wrap {
        border-right: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
        padding: 0;
    }

    .feature-wrap:nth-child(2n) {
        border-right: none;
    }

    .feature-wrap:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .feature-item-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 12px;
        gap: 12px;
    }

    .feature-icon {
        width: 58px;
        height: 58px;
        font-size: 26px;
    }

    .feature-icon::before {
        width: 58px;
        height: 58px;
        top: -4px;
        left: -4px;
    }

    .feature-content h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .feature-content p {
        font-size: 13px;
    }
}

/* Small Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .feature-area {
        padding: 10px 20px;
    }

    .container-wow-feature-area {
        grid-template-columns: repeat(2, 1fr);
        padding: 22px 18px;
        margin: 35px auto;
        border-radius: 20px;
        gap: 0;
    }

    .feature-wrap {
        border-right: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
        padding: 0 10px;
    }

    .feature-wrap:nth-child(2n) {
        border-right: none;
    }

    .feature-wrap:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .feature-item-card {
        flex-direction: row;
        text-align: left;
        padding: 20px 15px;
        gap: 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .feature-icon::before {
        width: 60px;
        height: 60px;
        top: -4px;
        left: -4px;
    }

    .feature-content h4 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .feature-content p {
        font-size: 13px;
    }
}

/* Large Tablets & Small Desktops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .feature-area {
        padding: 10px 20px;
    }

    .container-wow-feature-area {
        grid-template-columns: repeat(4, 1fr);
        padding: 20px 15px;
        margin: 38px auto;
        gap: 0;
    }

    .feature-wrap {
        border-right: 1px solid var(--border-light);
        border-bottom: none;
        padding: 0 10px;
    }

    .feature-wrap:last-child {
        border-right: none;
    }

    .feature-item-card {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
        gap: 12px;
    }

    .feature-icon {
        width: 58px;
        height: 58px;
        font-size: 26px;
    }

    .feature-icon::before {
        width: 58px;
        height: 58px;
        top: -4px;
        left: -4px;
    }

    .feature-content h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .feature-content p {
        font-size: 13px;
    }
}

/* Standard Desktops (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container-wow-feature-area {
        grid-template-columns: repeat(4, 1fr);
        padding: 23px 18px;
        margin: 40px auto;
    }

    .feature-item-card {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        padding: 18px 12px;
    }

    .feature-icon {
        width: 62px;
        height: 62px;
        font-size: 28px;
    }

    .feature-icon::before {
        width: 62px;
        height: 62px;
        top: -4px;
        left: -4px;
    }

    .feature-content h4 {
        font-size: 17px;
        margin-bottom: 7px;
    }

    .feature-content p {
        font-size: 14px;
    }
}

/* Large Desktops (1400px and up) */
@media (min-width: 1400px) {
    .container-wow-feature-area {
        padding: 25px 20px;
        margin: 40px auto;
        border-radius: 25px;
    }

    .feature-wrap {
        padding: 0 15px;
    }

    .feature-item-card {
        flex-direction: row;
        text-align: left;
        gap: 18px;
        padding: 20px 15px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }

    .feature-icon::before {
        width: 65px;
        height: 65px;
        top: -5px;
        left: -5px;
    }

    .feature-content h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-content p {
        font-size: 14px;
    }
}

/* ============================================
   ACCESSIBILITY & TOUCH IMPROVEMENTS
   ============================================ */
@media (hover: none) and (pointer: coarse) {

    /* Disable hover effects on touch devices */
    .feature-item-card:hover .feature-icon {
        transform: none;
    }

    /* Add active state for touch feedback */
    .feature-item-card:active .feature-icon {
        background: var(--primary-hover);
        transform: scale(0.95);
    }
}

.product-feature-item {
    position: absolute;
    inset: 0;
    display: flex;
    /* always rendered, never toggled */
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(7px);
    pointer-events: none;
}

.product-feature-item.is-visible {
    animation: feat-in 0.35s ease forwards !important;
    pointer-events: auto !important;
}

.product-feature-item.is-leaving {
    animation: feat-out 0.35s ease forwards !important;
    pointer-events: none !important;
}

/* Landscape mode optimization for small screens */
@media (max-height: 500px) and (orientation: landscape) {
    .container-wow-feature-area {
        grid-template-columns: repeat(4, 1fr);
        padding: 15px 10px;
        margin: 15px auto;
        padding-top: 0px !important;
        margin-top: 0px !important;
    }

    .feature-wrap {
        border-right: 1px solid var(--border-light);
        border-bottom: none;
        padding: 0 8px;
    }

    .feature-wrap:last-child {
        border-right: none;
    }

    .feature-item-card {
        flex-direction: column;
        padding: 10px 8px;
        gap: 8px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .feature-icon::before {
        width: 45px;
        height: 45px;
        top: -3px;
        left: -3px;
    }

    .feature-content h4 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .feature-content p {
        font-size: 11px;
    }
}
/* =================================================================
====================== Big Banner Section ===========================
================================================================= */

.big-banner{
    width:100%;
    margin:60px 0;
}

.big-banner-container{
    width:100%;
    max-width:var(--main-width);
    margin:auto;
}

.banner-wrap{
    position:relative;
    overflow:hidden;
    height:320px;
    border-radius:18px;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
}

.banner-wrap::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(20,14,10,.58) 0%,
        rgba(20,14,10,.30) 35%,
        rgba(20,14,10,0) 70%
    );
}

.banner-wrap-row{
    position:relative;
    z-index:2;

    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-start;

    padding:0 70px;
}

.banner-main{
    width:470px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.banner-info{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
}

.banner-info h6{
    margin:0;

    display:flex;
    align-items:center;
    gap:8px;

    color:var(--primary-color);
    font-size:14px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
}

.banner-info h6 .icon-crown{
    width:16px;
    height:16px;
    flex-shrink:0;
    color:var(--primary-color);
}

.banner-info h2{
    margin:0;

    color:var(--text-white);
    font-size:34px;
    font-weight:700;
    line-height:1.15;
    text-transform:none;
    text-align:left;
}

.banner-info p{
    margin:0;

    max-width:360px;

    color: var(--text-white);
    font-size:18px;
    line-height:1.7;

    border:none;
    padding:0;
    text-align:left;
}

.banner-button{
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:14px 26px;
    border-radius:8px;

    background:var(--primary-color);
    color:var(--text-white);
    font-size:15px;
    font-weight:600;

    text-decoration:none;
    transition:background .25s ease, transform .25s ease;
}

.banner-button:hover{
    background:var(--primary-dark, #7a5a37);
}

.banner-button-icon{
    display:flex;
    align-items:center;
    justify-content:center;
}

.banner-button-icon svg{
    width:16px;
    height:16px;
    transition:transform .25s ease;
}

.banner-button:hover .banner-button-icon svg{
    transform:translateX(3px);
}

@media (max-width:992px){

    .banner-wrap{
        height:280px;
    }

    .banner-wrap-row{
        padding:0 35px;
    }

    .banner-main{
        width:100%;
        max-width:420px;
    }

    .banner-info h2{
        font-size:36px;
    }

    .banner-info p{
        font-size:16px;
    }
}

@media (max-width:768px){

    .banner-wrap{
        height:auto;
        min-height:260px;
    }

    .banner-wrap-row{
        padding:35px 25px;
    }

    .banner-info h2{
        font-size:30px;
    }

    .banner-info p{
        max-width:100%;
    }
}

/* ==========================================================================
   Gallery section — layout
   Structure: left tall tile | middle (top wide + 2 small) | right (2 stacked)
   ========================================================================== */
.gallery-section{
  background: var(--bg-secondary);
  padding: var(--spacing-4xl) var(--spacing-xl);
}

.gallery-wrap{
  max-width: var(--main-width);
  margin: 0 auto;
}

/* ---------- grid ---------- */
/* 3 top-level columns: left tile / middle stack / right stack.
   Ratio is intentionally shorter (1355/600) than a "square-ish" mosaic
   so the row stays compact under the header. */
.gallery-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  aspect-ratio: 1355 / 600;
  height: auto;
  margin-bottom: var(--spacing-2xl);
}

.gallery-tile{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-light);
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-tile:hover img{
  transform: scale(1.06);
}

.gallery-tile:focus-visible{
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* middle column: wide image on top, 2 small tiles below */
.gallery-middle{
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  height: 100%;
  min-width: 0;
}

.gallery-tile--top{
  flex: 1 1 63%;
  min-height: 0;
}

.gallery-tile-row{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  flex: 1 1 37%;
  min-height: 0;
}

/* right column: 2 tiles stacked full height */
.gallery-tile-column{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: var(--spacing-lg);
  height: 100%;
  min-height: 0;
}

/* ---------- CTA bar ---------- */
.gallery-cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-2xl);
}

.gallery-cta-left{
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.gallery-cta-icon{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-more-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-cta-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-cta-text strong{
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.gallery-cta-text span{
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

.gallery-cta-btn{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--font-size-base);
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.gallery-cta-btn:hover{
  background: var(--primary-hover);
}

.gallery-cta-btn svg{
  transition: transform var(--transition-fast);
}

.gallery-cta-btn:hover svg{
  transform: translateX(3px);
}

/* ==========================================================================
   Scroll lock — applied by JS instead of inline styles.
   `modal-open` also gives <html> the modal backdrop color so that mobile
   overscroll/rubber-banding never flashes the page's normal background
   behind the fixed lightbox overlay.
   ========================================================================== */
html.modal-open {
    background-color: var(--bg-modal);
}

body.no-scroll {
    overflow: hidden;
}

/* ---------- lightbox ---------- */
.gallery-lightbox{
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--bg-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
}

.gallery-lightbox.is-open{
  display: flex;
}

.gl-stage{
  position: relative;
  max-width: min(90vw, 1000px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.gl-stage img{
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-heavy);
  object-fit: contain;
  background: var(--bg-primary);
}

/* Fade + scale-in animation, replayed on open and on every prev/next
   change via the .gl-animate class (removed and re-added by JS so the
   animation restarts each time instead of only playing once). */
@keyframes galleryLightboxEnter{
  from{
    opacity: 0;
    transform: scale(0.94);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}

.gl-stage img.gl-animate{
  animation: galleryLightboxEnter var(--transition-normal);
}

.gl-counter{
  color: var(--text-white);
  font-size: var(--font-size-sm);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.gl-close,
.gl-arrow{
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.gl-close:hover,
.gl-arrow:hover{
  background: rgba(255,255,255,0.22);
}

.gl-close{
  top: var(--spacing-2xl);
  right: var(--spacing-2xl);
}

.gl-arrow{
  top: 50%;
  transform: translateY(-50%);
}

.gl-arrow:hover{
  transform: translateY(-50%) scale(1.05);
}

.gl-prev{ left: var(--spacing-2xl); }
.gl-next{ right: var(--spacing-2xl); }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .gallery-section{ padding: var(--spacing-3xl) var(--spacing-2xl); }
  .testimonials-header{ margin-bottom: var(--spacing-3xl); }
}

@media (max-width: 1024px){
  .gallery-grid{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 320px;
    aspect-ratio: auto;
    height: auto;
  }
  .gallery-tile--left{ grid-column: 1; grid-row: 1; }
  .gallery-tile-column{ grid-column: 2; grid-row: 1; height: 100%; }
  .gallery-middle{ grid-column: 1 / span 2; grid-row: 2; height: 380px; }
}

@media (max-width: 640px){
  .gallery-section{ padding: var(--spacing-3xl) var(--spacing-lg); }
  .gallery-grid{
    grid-template-columns: 1fr;
    grid-template-rows: none;
    aspect-ratio: auto;
  }
  .gallery-tile--left{
    height: 280px;
    grid-column: 1;
    grid-row: 1;
  }
  .gallery-middle{ grid-column: 1; grid-row: 2; height: auto; }
  .gallery-tile--top{ height: 240px; flex: none; }
  .gallery-tile-row{ height: 140px; flex: none; }
  .gallery-tile-column{
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    height: 160px;
  }

  .gallery-cta{
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-cta-btn{ width: 100%; justify-content: center; }

  .gl-arrow{ width: 38px; height: 38px; }
  .gl-close{ width: 38px; height: 38px; top: var(--spacing-lg); right: var(--spacing-lg); }
  .gl-prev{ left: var(--spacing-sm); }
  .gl-next{ right: var(--spacing-sm); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  .gl-stage img.gl-animate{
    animation: none;
  }
  .gallery-tile img,
  .gallery-cta-btn,
  .gallery-cta-btn svg,
  .gl-arrow{
    transition: none;
  }
}
/* ================================================================
   Popular Products Section
   ================================================================
   Sections in this file:
   1. Section wrapper + header
   2. Mobile tabs (category switcher, shown < 700px)
   3. Products grid + category card
   4. Mini product card (image, badge, content, rating, price, CTA)
   5. Trust bar
   6. Responsive breakpoints (tablet / mobile)
   ================================================================ */


/* ----------------------------------------------------------------
   1. Section wrapper + header
   ---------------------------------------------------------------- */
.popular-products {
    padding: 76px 20px 82px;
    overflow: hidden;
}

.popular-products__container {
    width: min(var(--main-width), 100%);
    margin: 0 auto;
}

.popular-products__header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.popular-products__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* small decorative line next to the eyebrow label */
.popular-products__eyebrow span {
    width: 23px;
    height: 1px;
    background: var(--primary-color);
}

.popular-products__title {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.popular-products__subtitle {
    max-width: 580px;
    margin: var(--spacing-md) auto 0;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}


/* ----------------------------------------------------------------
   2. Mobile tabs (category switcher)
   Hidden by default, enabled again in the mobile breakpoint below.
   ---------------------------------------------------------------- */
.popular-products__tabs {
    display: none;
}


/* ----------------------------------------------------------------
   3. Products grid + category card
   ---------------------------------------------------------------- */
.popular-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-xl);
}

.product-category {
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    padding: 22px 20px 20px;
    transition: var(--transition-normal);
}

.product-category:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.product-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-xl);
    margin-bottom: 2px;
    border-bottom: 1px solid var(--border-light);
}

.product-category__label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.product-category__header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: var(--font-size-3xl);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.product-category__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-color);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.product-category__link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

.product-category__products {
    display: flex;
    flex-direction: column;
}


/* ----------------------------------------------------------------
   4. Mini product card
   ---------------------------------------------------------------- */

/* Row layout: image left, content right */
.mini-product-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--border-light);
}

.mini-product-card:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

/* Image */
.mini-product-card__image {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    overflow: visible; /* lets the badge float outside the corner */
}

.mini-product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mini-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mini-product-card:hover .mini-product-card__image img {
    transform: scale(1.06);
}

/* Badge chip — floats at the top-left corner, half outside the image.
   Modifier values (on_sale / best_seller / top_rated) match the
   backend offer/product flag names. */
.product-badge {
    position: absolute;
    z-index: 3;
    top: -8px;
    left: -8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    box-shadow: var(--shadow-light);
}

.product-badge--on_sale {
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-sm);
}

.product-badge--best_seller {
    background: var(--primary-access);
    color: var(--text-white);
    justify-content: center;
}

.product-badge--top_rated {
    background: var(--bg-card);
    color: var(--primary-color) !important;
    border: 1px solid var(--border-primary);
    display:flex;
    align-items:center;
    line-height:1  !important;
    padding:10px 8px  !important;
}
/* Content column */
.mini-product-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mini-product-card__category {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}

/* Product name — clamped to 2 lines so cards stay aligned */
.mini-product-card__name {
    margin: 0;
    overflow: hidden;
    font-size: var(--font-size-sm);
    line-height: 1.35;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-product-card__name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.mini-product-card:hover .mini-product-card__name a {
    color: var(--primary-color);
}

/* Short description, clamped to 2 lines */
.mini-product-card__desc {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.mini-product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: var(--statr-color);
}

.rating-count {
    color: var(--text-muted);
    font-size: 9px;
}

/* Price + add-to-cart row */
.mini-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.product-price strong {
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

.product-price del {
    margin-left: 5px;
    color: var(--text-muted);
    font-size: 14px;
}
.view-details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 48px;
    height: 29px;
    padding: 0 var(--spacing-md);

    border-radius: var(--radius-sm);

    background: var(--primary-color);
    color: var(--text-white);

    font-size: 10px;
    font-weight: 700;   
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;
    transition: var(--transition-normal);
}

.view-details-button svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
}

.view-details-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.view-details-button:hover svg {
    transform: scale(1.05);
}

.view-details-button:active {
    transform: translateY(0);
}

.view-details-button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ----------------------------------------------------------------
   5. Trust bar
   ---------------------------------------------------------------- */
.popular-products__trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-4xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid var(--border-primary);
}

.popular-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-4xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid var(--border-primary);
}

@media (max-width:1200px) {
    .popular-item:last-child {
        display: none;
    }
}

@media (max-width:950px) {
    .popular-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}
.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--primary-color);
}

.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item strong {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.trust-item span {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}


/* ----------------------------------------------------------------
   6. Responsive breakpoints
   ---------------------------------------------------------------- */

/* Tablet: 2-column grid, last category spans full width and
   its products lay out in 2 columns too */
@media (max-width: 1100px) {
    .popular-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-category:last-child {
        grid-column: 1 / -1;
    }
}

/* Mobile: tab switcher replaces the grid, one category visible at a time */
@media (max-width: 700px) {
    .popular-products {
        padding: 55px 14px 60px;
    }

    .popular-products__trust {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .popular-products__tabs {
        display: flex;
        align-items: center;
        padding: var(--spacing-xs);
        margin-bottom: var(--spacing-xl);
        background: var(--bg-tertiary);
        border-radius: var(--radius-md);
    }

    .popular-products__tab {
        flex: 1;
        min-height: 40px;
        border: 0;
        border-radius: var(--radius-sm);
        background: transparent;
        color: var(--text-muted);
        font-size: var(--font-size-xs);
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition-normal);
    }

    .popular-products__tab.is-active {
        background: var(--bg-card);
        color: var(--primary-color);
        box-shadow: var(--shadow-light);
    }

    .popular-products__grid {
        display: block;
    }

    .product-category {
        display: none;
    }

    .product-category.is-visible {
        display: block;
    }
}
/* ================================================================
==========================  popular Product section ==================
=================================================================== */
.popular-catigory-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    overflow-x: auto;
    padding: var(--spacing-xs) 2px var(--spacing-lg);
    scrollbar-width: none;
    justify-content:center;
    margin-bottom: 8px;
}

.popular-catigory-section::-webkit-scrollbar {
    display: none;
}

.popular-header{
    margin-bottom: 0px !important;
}

.popular-catigory-itmes {
    flex-shrink: 0;
    padding: var(--spacing-sm) var(--spacing-2xl);
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    cursor: pointer;
    user-select: none;
    transition: var(--transition-normal);
}

.popular-catigory-itmes .catigory-name {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition-normal);
}

.popular-catigory-itmes:hover {
    border-color: var(--primary-color);
    background: var(--primary-more-light);
}

.popular-catigory-itmes:hover .catigory-name {
    color: var(--primary-color);
}

.popular-catigory-itmes.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.popular-catigory-itmes.active .catigory-name {
    color: var(--text-white);
}

.popular-catigory-itmes:active {
    transform: scale(0.97);
}

/* Product List Empty State Styles */
.product-list-empty-state {
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-state-icon svg {
    display: block;
    margin: 0 auto;
}

.product-list-empty-state h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.product-list-empty-state p {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* SVG Color Classes */
.svg-bg-blob {
    fill: var(--bg-tertiary);
}

.svg-primary {
    fill: var(--primary-color);
}

.svg-secondary {
    fill: var(--primary-hover);
}

.svg-accent {
    fill: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-list-empty-state {
        min-height: 250px;
        padding: var(--spacing-3xl) var(--spacing-md);
    }

    .empty-state-icon svg {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .product-list-empty-state {
        min-height: 220px;
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .empty-state-icon svg {
        width: 90px;
        height: 90px;
    }

    .product-list-empty-state h4 {
        font-size: var(--font-size-lg);
    }

    .product-list-empty-state p {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .product-list-empty-state {
        min-height: 200px;
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .empty-state-icon svg {
        width: 80px;
        height: 80px;
    }

    .product-list-empty-state h4 {
        font-size: var(--font-size-md);
    }
}

/* Trending Empty State Styles */
.trending-empty-state-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

.trending-empty-state {
    text-align: center;
    max-width: 600px;
}


.trending-empty-icon svg {
    display: block;
    margin: 0 auto;
}

.trending-empty-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.trending-empty-content p {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-3xl);
}

.trending-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-md) var(--spacing-3xl);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition-main);
    box-shadow: var(--shadow-light);
}

.trending-empty-btn:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.trending-empty-btn:active {
    transform: translateY(0);
}

.trending-empty-btn i {
    font-size: var(--font-size-md);
}

/* SVG Color Classes */
.svg-bg-blob {
    fill: var(--bg-tertiary);
}

.svg-primary {
    fill: var(--primary-color);
}

.svg-primary-light {
    fill: var(--primary-light);
}

.svg-secondary {
    fill: var(--primary-hover);
}

.svg-accent {
    fill: white;
}

.area-haed {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 34px;
}


.area-title span {
    color: var(--primary-color);
}

.about-right .about-title.area-title {
    margin: 0px !important;
}

.area-min-title {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
}
.blog-section{
  background: var(--bg-secondary);
  padding: var(--spacing-4xl) var(--spacing-xl);
}

.blog-wrap{
  max-width: var(--main-width);
  margin: 0 auto;
}

/* ---------- grid ---------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-2xl);
}

.blog-card{
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.blog-card-media{
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.blog-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-media img{
  transform: scale(1.06);
}

.blog-card-body{
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  flex: 1;
}

.blog-meta{
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary-color);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.blog-meta-dot{
  color: var(--text-light);
}

.blog-card-title{
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
}

.blog-card-title a{
  color: var(--text-primary);
  text-decoration: none;
}

.blog-card-title a:hover{
  color: var(--primary-color);
}

.blog-card-excerpt{
  color: var(--text-muted);
  font-size: var(--font-size-base);
  line-height: 1.6;
  flex: 1;
}

.blog-read-more{
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-base);
  text-decoration: none;
  margin-top: var(--spacing-xs);
  width: fit-content;
}

.blog-read-more svg{
  transition: transform var(--transition-fast);
}

.blog-read-more:hover svg{
  transform: translateX(3px);
}

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .blog-section{ padding: var(--spacing-3xl) var(--spacing-2xl); }
  .blog-header{ margin-bottom: var(--spacing-3xl); }
}

@media (max-width: 860px){
  .blog-grid{
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}
[dir="rtl"] #heor-section .hero-slade-contente {
    margin-left: 0;
    margin-right: 4%;
}

[dir="rtl"] #heor-section .swiper.mySwiper::before {
    right: auto;
    left: 8%;
    border-radius: var(--radius-full) var(--radius-md) var(--radius-full) var(--radius-full);
    transform: rotate(-18deg);
}

[dir="rtl"] #heor-section .products-details-state {
    border-radius: 0 30px 0 30px;
}

[dir="rtl"] #heor-section .hero-main-products-images {
    right: auto !important;
    left: 10% !important;
    transform: rotate(12deg) translateY(-50%) translateX(0);
}

[dir="rtl"] #heor-section .hero-img-price {
    left: auto;
    right: 0px;
    border-radius: var(--radius-full) var(--radius-full) var(--radius-full) 10px;
}

[dir="rtl"] #heor-section .swiper-button-go {
    right: auto;
    left: var(--spacing-2xl);
}

[dir="rtl"] #heor-section .swiper-button-next-to-go,
[dir="rtl"] #heor-section .swiper-button-prev-to-go {
    transform: rotate(180deg);
}

[dir="rtl"] #heor-section .products-details-actions button {
    padding: 16px 25px !important;
}

/* Mobile RTL hero */
@media (max-width: 700px) {
    [dir="rtl"] #heor-section .hero-main-products-images {
        transform: none;
    }

    [dir="rtl"] #heor-section .hero-slade-contente {
        margin-right: 0;
    }

    [dir="rtl"] #heor-section .hero-img-price {
        left: auto;
        right: -20px;
        transform: rotate(8deg);
    }

    [dir="rtl"] #heor-section .swiper.mySwiper::before {
        right: auto;
        left: 50%;
        transform: rotate(0) translateX(-50%);
    }
}

[dir="rtl"] .category-title h2::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .category-view-all a span,
[dir="rtl"] .view-more-content i,
[dir="rtl"] .popular-title a span i {
    transform: rotate(180deg);
}

[dir="rtl"] .view-all-href {
    transform: rotate(0deg) !important;
}

[dir="rtl"] .category-grid {
    direction: rtl;
}

[dir="rtl"] .product-list-title::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .product-list-btn {
    left: -3px !important;
    right: auto !important;
}

[dir="rtl"] .add-to-card-title {
    right: auto;
    left: 40px;
}

[dir="rtl"] .add-to-card-title::before {
    right: auto;
    left: -1px;
}

[dir="rtl"] .product-list-content {
    padding-right: 0 !important;
    padding-left: 0;
}

[dir="rtl"] .product-list-price {
    flex-direction: row;
}

[dir="rtl"] .section-title::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .carousel-nav-btn.prev-btn {
    left: auto !important;
    right: -20px !important;
}

[dir="rtl"] .carousel-nav-btn.next-btn {
    right: auto !important;
    left: -20px !important;
}

[dir="rtl"] .carousel-nav-btn svg {
    transform: rotate(180deg);
}

[dir="rtl"] .discount {
    right: auto;
    left: 8px;
}

[dir="rtl"] .product-state {
    left: auto;
    right: 8px;
}

[dir="rtl"] .card-bar__cta::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .card-bar__cta::before {
    left: auto;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
}

[dir="rtl"] .action-icon-btn::after {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(6px);
}

[dir="rtl"] .action-icon-btn::before {
    left: auto;
    right: 50%;
    transform: translateX(50%) rotate(45deg) translateY(4px);
}

[dir="rtl"] .action-icon-btn:hover::after,
[dir="rtl"] .action-icon-btn.tooltip--visible::after {
    transform: translateX(50%) translateY(0);
}

[dir="rtl"] .action-icon-btn:hover::before,
[dir="rtl"] .action-icon-btn.tooltip--visible::before {
    transform: translateX(50%) rotate(45deg) translateY(0);
}

[dir="rtl"] .reviews {
    margin-left: 0;
    margin-right: 4px;
}

[dir="rtl"] .banner-content {
    padding-right: 35px !important;
    padding-left: 0;
    align-items: flex-end;
    text-align: right;
}

[dir="rtl"] .blog-date {
    right: auto;
    left: 50px;
}

[dir="rtl"] .banner-item {
    direction: rtl;
}

[dir="rtl"] .feature-wrap {
    border-right: none;
    border-left: 1px solid var(--border-light);
}

[dir="rtl"] .feature-wrap:last-child {
    border-left: none;
}

[dir="rtl"] .feature-item-card {
    text-align: right;
}

[dir="rtl"] .feature-icon::before {
    left: auto;
    right: -5px;
}

[dir="rtl"] .mfp-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .mfp-close {
    justify-content: start;
}

[dir="rtl"] .popular-continer {
    direction: rtl;
}

[dir="rtl"] .popular-catigory-section {
    direction: rtl;
}

[dir="rtl"] .popular-products-grid {
    direction: rtl;
}

[dir="rtl"] {
    font-family: 'Cairo', 'Tajawal', 'Noto Kufi Arabic',
        sans-serif;
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .area-haed,
[dir="rtl"] .area-min-title {
    text-align: right;
}

[dir="rtl"] .section-title,
[dir="rtl"] .category-title h2,
[dir="rtl"] .product-list-title {
    text-align: right;
}