.navbar-background {
    background-color: #f6f6f6;
    border-radius: 20px;
}


.navbar-bottom-line{
    background-color: var(--theme-color);
    margin-right: 7%;
    margin-left: 7%;
    height: 7px;
    border-radius: 0 0 10px 10px;
}

.footer-top-line{
    background-color: var(--theme-color);
    margin-right: 7%;
    margin-left: 7%;
    height: 7px;
    border-radius: 10px 10px 0 0 ;
}

.product-bottom-line-off{
    background-color: rgba(248, 31, 31, 0.95);
    height: 4px;
    border-radius: 0 0 10px 10px;
    margin: 0 20%; /* same as mx-3 */
}

.product-bottom-line{
    background-color: #BFBFBF;
    height: 4px;
    border-radius: 0 0 10px 10px;
    margin: 0 20%; /* same as mx-3 */
}

.product-image-wrapper{
    position: relative;
    display: inline-block;
}

.discount-circle{
    position: absolute;
    top: 8px;
    left: 8px;
    width: 40px;
    height: 40px;
    background: #ff3b3b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.custom-carousel{
    margin-top: 12px;
}

/* Desktop */
/*@media (min-width: 992px){*/
/*    .custom-carousel{*/
/*        margin-top: -110px;*/
/*    }*/
/*}*/

.navbar-link-font{
    font-weight: 500;
    font-size: 16px;
}

.navbar-icon-background{
    background-color: #eeeeee;
    height: 50px;   width: 50px ; position: relative;
    border-radius: 8px;
}

.navbar-icon-color{
    color:var(--theme-color);
}

.footer-icon-background{
    background-color: var(--theme-color);
    height: 37px;   width: 37px ; position: relative;
    border-radius: 8px;
}

.footer-big-icon-background{
    background-color: var(--theme-color);
    height: 100px;   width: 100px ; position: relative;
    border-radius: 16px;
    border: 5px solid #90e2ea;
}


.footer-menu-links{
    padding-bottom:20px;
}

.footer-menu-row{
    position:relative;
    gap:40px;
    margin-left:0;
    margin-right:0;
    width: fit-content;
}

/* gray line */
.footer-menu-row::before{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:6px;
    background:#ddd;
    border-radius:10px;
}

/* menu item */
.footer-menu-item{
    position:relative;
    color:white;
    font-size:18px;
    text-decoration:none;
    padding-bottom:20px;
    display:inline-block;
}

/* active line */
.footer-menu-item.active::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:6px;
    background:#2ec4c7;
    border-radius:10px;
}

.footer-menu-item:hover {
    color: var(--theme-color) !important; /* Replace #ffcc00 with your desired hex code or color name */
    transition: color 0.1s ease-in-out; /* Optional: makes the color change smooth */
}


.home-question-background{
    padding: 20px;
    background-color: #EDEDED;
    border-radius: 20px;
}

.bold-text{
    font-size: 16px;
    font-weight: 600;
}
.offers-title{
    font-size: 16px;
    font-weight: 600;
}
.center-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}


.products-bg,
.svg-mask-layer {
    position: absolute;   /* ⬅️ به‌جای fixed */
    inset: 0;
}

.products-bg {
    z-index: 1;
}

.svg-mask-layer {
    z-index: 2;
    pointer-events: none;
}


.products-bg img,
.mask-svg {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
}


.svg-mask-layer {
    transform-origin: center center;
}


.comment-card{
    padding: 8px;
    background-color: #EDEDED;
    border-radius: 16px;
}

.comment-text {
    /* flex: 1; این را از اینجا حذف کن */
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 4.5em;
}

.comment-user {
    font-size: 12px;
    color: #777; /* رنگ کم‌رنگ‌تر برای نام کاربر */
    margin-top: 8px; /* فاصله از متن بالای سرش */
    font-weight: bold;
}

.comment-text-wrapper {
    flex: 1; /* فضای خالی کنار عکس را این گروه پر می‌کند */
    display: flex;
    margin: 10px;
    justify-content: space-between;
    flex-direction: column; /* متن و نام کاربر زیر هم قرار بگیرند */
    /*justify-content: space-between; !* فاصله بین متن و نام *!*/
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    /* optional: add some vertical padding */
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;           /* space between cards */
    width: max-content;    /* very important */

    /*
       left → right direction
       (items move from left side → right side)
    */
    animation: scroll-right 35s linear infinite;   /* 35s = speed – make smaller = faster */
}

/* Pause when hovering (very common & user-friendly) */
.marquee-track:hover {
    /*animation-play-state: paused;*/
}

.comment-card {
    width: 400px;    /* your card width – adjust */
     /*min-width: 240px;*/
     /*max-width: 320px;  */
}

.inner-row {
    display: flex;
    align-items: flex-start;
    gap: 10px; /* فاصله بین عکس و متن */
}

/* === Animation going RIGHT (left to right) === */
@keyframes scroll-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
        /*
           → positive direction = moves content to the RIGHT
           We go only +50% because we have 2× content
        */
    }
}


.row2 {
    animation-delay: -10.5s; /* نصف زمان انیمیشن */
}


.product-card{
    padding: 16px;
    background-color: #EDEDED;
    border-radius: 16px;
}

.banner-left{
    flex: 1.22;
}

.banner-right{
    flex: 1.8;
}

.banner img{
    width:100%;
    height:auto;
    display:block;
}


.category-card{
    padding: 16px 16px 0px;
    border-radius: 16px;
    background: linear-gradient(to bottom, #02A7B51C, #6029B31C);

    display: flex;
    flex-direction: column;
    align-items: center;   /* center horizontally */
    text-align: center;
}


.image-wrapper{
    position: relative;
    display: inline-block;
    width: 300px;
}

.image-wrapper::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 73px;
    background: linear-gradient(to bottom, #E9E3F200, #E9E3F2AB);
    pointer-events: none;
}

.image-wrapper img{
    display: block;
    height: 300px;
    width: auto;
    margin: 0 auto;

}

/* Tablet */
@media (max-width: 992px) {
    .image-wrapper{
        width: 220px;
    }

    .image-wrapper img{
        height: 220px;
    }

    .image-wrapper::after{
        height: 55px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .image-wrapper{
        width: 160px;
    }

    .image-wrapper img{
        height: 160px;
    }

    .image-wrapper::after{
        height: 40px;
    }
}

.new-scrollable{
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 25px 10px 0;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    position: relative;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.new-scrollable::-webkit-scrollbar{
    width:0;
    height:0;
}

.scrollbar {
    width: 300px;
    height: 4px;
    background: #d9d9d9;
    border-radius: 10px;
    margin: 20px auto;
    position: relative;
    direction: rtl; /* Enforce RTL styling */
    touch-action: none; /* Prevent screen pull-to-refresh on mobile when dragging */
}

.scrollbar-thumb {
    width: 18px;
    height: 18px;
    background: var(--theme-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 0; /* Anchor to the Right for RTL */
    transform: translateY(-50%);
    cursor: grab;
}

.scrollbar-thumb:active {
    cursor: grabbing;
}


/* Container for the vertical indicators */
.custom-vertical-indicators {
    position: absolute;
    top: 50%;
    right: 0 !important;       /* Forces it to the right edge */
    left: auto !important;     /* Prevents RTL from pulling it left */
    bottom: auto;
    transform: translateY(-50%);
    margin: 0;
    padding-right: 0px;       /* Adds a little breathing room from the edge */
    display: flex;
    flex-direction: column;
    align-items: flex-end;     /* Aligns lines to the right */
    gap: 5px;
    z-index: 15;               /* Ensures it sits above the images */
}

/* Reset default Bootstrap button styles */
.custom-vertical-indicators button {
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0 !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    opacity: 1 !important;
}

/* Base style for the numbers */
.custom-vertical-indicators .indicator-num {
    font-size: 18px;
    font-weight: 500;
    color: #4a4a4a;
    transition: all 0.3s ease;
    font-family: sans-serif;
}

/* Base style for the lines */
.custom-vertical-indicators .indicator-line {
    display: block;
    height: 3px;
    width: 40px;
    background-color: color-mix(in srgb, var(--theme-color) 50%, transparent);
    transition: all 0.3s ease;
}

/* ACTIVE STATE STYLES */
.custom-vertical-indicators button.active .indicator-num {
    font-size: 22px;
    font-weight: 700;
    color: #222222;
}

.custom-vertical-indicators button.active .indicator-line {
    width: 75px;
    background-color:me
}

/* Reverse Bootstrap Carousel Animation Direction */
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(-100%) !important;
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(100%) !important;
}


.responsive-title{
    font-size: 1.25rem;
}

.comment-img{
    width: 100px;
    height: 100px;
    border-radius: 16px;
    flex-shrink: 0;
}

.ms-img{
    width:190px;height:190px;border-radius:16px;
}

.home-product-cart{
    width:222px
}
@media (min-width: 768px){
    .responsive-title{
        font-size: 1.75rem;
    }
    .comment-img{
        width: 130px;
        height: 130px;
        border-radius: 16px;
        flex-shrink: 0;
    }
    .ms-img{
        width:210px;height:210px;border-radius:16px;
    }
    .home-product-cart{
        width:242px
    }
}


a[href^="tel"]{
    color: white !important;
    text-decoration: none;
}


.amazing-box{
    background-color: #D32A2A;
    border-radius: 16px;
    padding: 10px 18px;
}

.view-all-btn {
    display: inline-block;
    background-color: #D32A2A;
    color: white;
    padding: 10px 35px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

