/* ===========================
   HOME PAGE
===========================*/
@media (max-width:768px){

    .cat-nav{
        display:none !important;
    }

    .categories-section{
        overflow:hidden;
    }

}

:root{

    --primary:#ff6b00;
    --primary-dark:#e65f00;
    --bg:#f6f7fb;
    --white:#fff;
    --text:#222;
    --muted:#777;
    --border:#ececec;
    --shadow:0 10px 30px rgba(0,0,0,.08);
    --radius:22px;

}

body{

    background:var(--bg);

}

/* ==============================================HERO SLIDER - تمام‌عرض با ارتفاع کم=============================================== */

.hero-section {
margin: 0 -160px;
border-radius: 0;
overflow: hidden;
position: relative;
z-index: 1;
}

.hero-slider-wrapper {
position: relative;
width: 100vw;
height: 320px;   /* ← این عدد رو نگه دار */
background: #1a1a2e;
overflow: hidden;
margin: 0 calc(50% - 50vw);
}

.hero-slider {
width: 100%;
height: 100%;
position: relative;
}

/* ===== اسلاید ===== */
.hero-slide {
position: absolute;
inset: 0;
opacity: 0;
width: 100%;
height: 100%;
transition: opacity 0.9s ease;
z-index: 1;
overflow: hidden;
}

.hero-slide.active {
opacity: 1;
transform: scale(1);
z-index: 2;
}

/* ===== تصویر ===== */
.hero-slide-img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
user-select: none;
-webkit-user-drag: none;
}

/* ===== دکمه‌های قبلی/بعدی ===== */
.hero-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
width: 48px;
height: 48px;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px);
color: #fff;
font-size: 20px;
cursor: pointer;
transition: 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
}

.hero-slider-wrapper:hover .hero-arrow {
opacity: 1;
}

.hero-arrow:hover {
background: #ff5722;
transform: translateY(-50%) scale(1.05);
}

.hero-prev {
right: 20px;
}

.hero-next {
left: 20px;
}

/* ===== دات‌ها ===== */
.hero-dots {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
display: flex;
gap: 10px;
}

.hero-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.4);
cursor: pointer;
transition: 0.4s ease;
border: none;
padding: 0;
}

.hero-dot.active {
background: #ff5722;
width: 32px;
border-radius: 6px;
box-shadow: 0 0 20px rgba(255, 87, 34, 0.5);
}

.hero-dot:hover {
background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active:hover {
background: #ff5722;
}

/* ==============================================RESPONSIVE (اصلاح‌شده - تمام عرض)=============================================== */

/* ===== تبلت ===== */
@media (max-width: 991px) {
.hero-section {
margin: 0 !important;
padding: 0 !important;
border-radius: 0;
width: 100vw;
max-width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw !important;
margin-right: -50vw !important;
}

.hero-slider-wrapper {  
    width: 100vw;  
    margin: 0;  
    height: 280px;  
    border-radius: 0;  
}

.hero-arrow {  
    width: 36px;  
    height: 36px;  
    font-size: 14px;  
    opacity: 1;  
}  
.hero-prev {  
    right: 10px;
    opacity: 70%;
}  
.hero-next {  
    left: 10px;
    opacity: 70%;
}  
.hero-dots {  
    bottom: 14px;  
    gap: 6px;
}  
.hero-dot {  
    width: 8px;  
    height: 8px;
}  
.hero-dot.active {  
    width: 24px;  
}

}

/* ===== موبایل ===== */
@media (max-width: 768px) {
.hero-section {
margin: 0 !important;
padding: 0 !important;
width: 100vw;
max-width: 100vw;
left: 50%;
right: 50%;
margin-left: -50vw !important;
margin-right: -50vw !important;
position: relative;
}

.hero-slider-wrapper {  
    width: 100vw;  
    max-width: 100vw;  
    margin: 0;  
    height: 220px;  
    border-radius: 0;  
    left: 0;  
    right: 0;  
}  

.hero-arrow {  
    width: 36px;  
    height: 36px;  
    font-size: 14px;  
    opacity: 1;  
}  
.hero-prev {  
    right: 10px;
    opacity: 70%;
}  
.hero-next {  
    left: 10px;
    opacity: 70%;
}  
.hero-dots {  
    bottom: 14px;  
    gap: 6px;
}  
.hero-dot {  
    width: 8px;  
    height: 8px;
}  
.hero-dot.active {  
    width: 24px;  
}

}

/* ===== موبایل کوچک ===== */
@media (max-width: 480px){
.hero-section 
{
    margin: 0!important;
    padding: 0 !important;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}
.hero-slider-wrapper 
{      
    width: 100vw;
    max-width: 100vw;      
    margin: 0;      
    height: 180px;      
    border-radius: 0;  
}  
.hero-arrow {      
    display: none;  
}  
.hero-dots {      
    bottom: 10px;      
    gap: 5px;  
}  
.hero-dot {      
    width: 6px;      
    height: 6px;  
}  
.hero-dot.active {      
    width: 18px;  
}
}

/* ===== حذف اسکرول افقی ===== */
body {
    overflow-x: hidden;
}


/*==============================
SECTION TITLE
==============================*/

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:30px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    }
    
    .section-header h2{
    font-size:24px;
    color:#222;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:10px;
    }
    
    .section-header h2 i{
    color:#ff5722;
    font-size:22px;
    }
    
    .section-header a{
    
    text-decoration:none;
    
    color:var(--primary);
    
    font-weight:bold;
    
    transition:.3s;
    
    }
    
    .section-header a:hover{
    
    color:var(--primary-dark);
    
    }
    
    /* ==========================================
   CATEGORIES (نهایی - بدون تداخل)
========================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin: 10px 0 20px;
    }

.category-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5px 0;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: 0.3s;
    min-height: 100px;
    text-decoration: none;
}

.category-item:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); */
    border-color: #ff5722;
}

.category-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    /* background: #f8f8f8; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s;
    flex-shrink: 0;
}

/* .category-item:hover .category-icon {
    background: #fff0ed; 
     transform: scale(1.06); 
} */

.category-icon img {
    width: 47px;
    height: 47px;
    object-fit: contain;
}

.category-placeholder {
    font-size: 28px;
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-align: center;
}

/* ===== کارت "مشاهده همه" ===== */
.category-show-all .show-all-icon {
    /* background: linear-gradient(135deg, #8a827f, #807d7c); */
    color: #706b6b;
}

.category-show-all .show-all-icon span {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

.category-show-all:hover .show-all-icon {
    transform: scale(1.06);
    /* background: linear-gradient(135deg, #7a7574, #807a78); */
}

.category-show-all .category-name {
    color: #ff5722;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {
    .categories-grid {
        gap: 16px;
    }
    .category-item {
        min-height: 85px;
        padding: 16px 0;
    }
    .category-icon {
        width: 48px;
        height: 48px;
    }
    .category-icon img {
        width: 28px;
        height: 28px;
    }
    .category-name {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
    .category-item {
        min-height: 70px;
        padding: 5px 0;
        border-radius: 14px;
    }
    .category-icon {
        width: 40px;
        height: 40px;
    }
    .category-icon img {
        width: 64px;
        height: 34px;
    }
    .category-placeholder {
        font-size: 20px;
    }
    .category-name {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .category-item {
        min-height: 80px;
        padding: 10px 0px;
        border-radius: 14px;
    }
    .category-icon {
        width: 38px;
        height: 38px;
    }
    .category-icon img {
        width: 20px;
        height: 20px;
    }
    .category-placeholder {
        font-size: 18px;
    }
    .category-name {
        font-size: 10px;
    }
    .category-show-all .show-all-icon span {
        font-size: 20px;
    }
}


/* ==========================================
   ALL CATEGORIES SHEET
========================================== */

.all-categories-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: none;
}

.all-categories-overlay.open {
    display: block;
}

.all-categories-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 28px 28px 0 0;
    z-index: 1001;
    padding: 16px 20px 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
}

.all-categories-sheet.open {
    transform: translateY(0);
}

.all-categories-sheet .sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    position: relative;
}

.all-categories-sheet .sheet-handle {
    width: 44px;
    height: 5px;
    background: #ddd;
    border-radius: 4px;
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.all-categories-sheet .sheet-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.all-categories-sheet .sheet-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 4px;
}

.all-categories-sheet .sheet-search {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 14px;
    padding: 0 16px;
    margin: 14px 0 16px;
    flex-shrink: 0;
    height: 48px;
}

.all-categories-sheet .sheet-search i {
    color: #aaa;
    font-size: 18px;
}

.all-categories-sheet .sheet-search input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: 8px 14px;
    font-size: 15px;
    color: #333;
}

.all-categories-sheet .sheet-search input::placeholder {
    color: #bbb;
}

/* ===== کارت‌های شیت (دسکتاپ) ===== */
.sheet-categories-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* ← 5 تا در هر سطر */
    gap: 14px;
    padding-bottom: 16px;
}

.sheet-category-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sheet-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 50px 100px;
    background: #f8f8f8;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    transition: 0.25s;
    text-align: center;
}

.sheet-category-item:hover {
    background: #fff0ed;
    transform: translateY(-3px);
}

.sheet-category-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 0;
}

.sheet-category-item .category-placeholder {
    font-size: 28px;
}

.sheet-category-item span {
    font-size: 13px;
    font-weight: 500;
    color: #222;
}


/* ==========================================
   RESPONSIVE SHEET
========================================== */

@media (max-width: 992px) {
    .all-categories-sheet {
        padding: 16px 18px 28px;
        max-height: 78vh;
    }
    .sheet-categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    .sheet-category-item {
        padding: 12px 6px;
    }
    .sheet-category-item img {
        width: 30px;
        height: 30px;
    }
    .sheet-category-item span {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .all-categories-sheet {
        padding: 14px 16px 24px;
        max-height: 75vh;
    }
    .sheet-categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
    .sheet-category-item {
        border-radius: 12px;
        aspect-ratio: 1 / 1;
        width: 100%;
        padding: 0;
    }
    .sheet-category-item img {
        width: 50px;
        height: 40px;
    }
    .sheet-category-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .all-categories-sheet {
        padding: 12px 12px 20px;
        max-height: 70vh;
    }
    .sheet-categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px; /* ← فاصله بین کارت‌ها */
    }
    .sheet-category-wrapper {
        gap: 3px;
    }
    .sheet-category-item {
        border-radius: 10px;
        aspect-ratio: 1 / 1;
        width: 100%;
        padding: 0;
        background: #f8f8f8;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-content: center;
    }
    .sheet-category-item img {
        width: 28px; /* ← بزرگتر از 24 */
        height: 28px;
    }
    .sheet-category-item .category-placeholder {
        font-size: 20px;
    }
    .sheet-category-label {
        font-size: 10px; /* ← بزرگتر از 9 */
        font-weight: 500;
        color: #222;
        text-align: center;
        margin-top: 2px;
    }
}

    
    /*==============================
    RESPONSIVE
    ==============================*/
    
    @media(max-width:992px){
    
    .hero-slider{
    
    height:330px;
    
    }
    
    .hero-content{
    
    right:35px;
    
    max-width:420px;
    
    }
    
    .hero-content h1{
    
    font-size:33px;
    
    }
    
    .search-box form{
    
    flex-direction:column;
    
    }
    
    .search-box button{
    
    width:100%;
    
    height:55px;
    
    }
    
    }
    
    @media(max-width:768px){
    
    .hero{
    
    margin-top:10px;
    
    }
    
    .hero-slider{
    
    height:240px;
    
    border-radius:18px;
    
    }
    
    .hero-content{
    
    right:20px;
    
    left:20px;
    
    }
    
    .hero-content h1{
    
    font-size:23px;
    
    margin-bottom:10px;
    
    }
    
    .hero-content p{
    
    display:none;
    
    }
    
    .hero-btn{
    
    padding:10px 24px;
    
    font-size:13px;
    
    }
    
    .hero-prev,
    
    .hero-next{
    
    width:42px;
    
    height:42px;
    
    font-size:18px;
    
    }
    
    .search-box{
    
    padding:22px;
    
    border-radius:20px;
    
    }
    
    .search-box h2{
    
    font-size:22px;
    
    }
    
    .category-image{
    
    width:70px;
    
    height:70px;
    
    }
    
    .category-image img{
    
    width:42px;
    
    height:42px;
    
    }
    
    .restaurant-grid{
    
    grid-template-columns:1fr;
    
    }
    
    }

    /*==============================
NEW SECTION
==============================*/

.new-section{
    margin-top: 35px;
    }
    
    /* ==========================================
   FEATURES SECTION (مزیت‌های سایت)
========================================== */

.features-section {
    margin: 35px 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(255, 87, 34, 0.10);
    border-color: #ff5722;
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff5722, #e64a19);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: 0.3s;
    }
    
    .feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.08);
    }

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE ===== */

/* ===== تبلت ===== */
@media (max-width: 992px) {
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin-bottom: 12px;
        border-radius: 14px;
    }
}

/* ===== موبایل ===== */
@media (max-width: 768px) {
    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 24px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
}

/* ===== موبایل کوچک ===== */
@media (max-width: 480px) {
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 22px;
        margin-bottom: 8px;
        border-radius: 10px;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .feature-card {
        padding: 24px 16px;
    }
    .feature-card h3 {
        font-size: 16px;
    }
    .feature-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .feature-card {
        padding: 18px 12px;
        border-radius: 16px;
    }
    .feature-icon {
        margin-bottom: 8px;
    }
    .feature-card h3 {
        font-size: 14px;
    }
    .feature-card p {
        font-size: 12px;
    }
}

    
    /* لوگو */
    
    .restaurant-logo{
    
    position:absolute;
    
    bottom:-32px;
    
    right:22px;
    
    width:68px;
    
    height:68px;
    
    background:#fff;
    
    border-radius:50%;
    
    padding:5px;
    
    box-shadow:0 8px 20px rgba(0,0,0,.18);
    
    }
    
    .restaurant-logo img{
    
    width:100%;
    
    height:100%;
    
    border-radius:50%;
    
    object-fit:cover;
    
    }
    
    /* وضعیت
    
    .restaurant-status{
    
        position:absolute;
        
        top:18px;
        
        left:18px;
        
        padding:7px 15px;
        
        border-radius:30px;
        
        font-size:13px;
        
        font-weight:bold;
        
        color:#fff;
        
        backdrop-filter:blur(10px);
        
        }
        
        .restaurant-status.open{
        
        background:#27ae60;
        
        }
    
    .restaurant-status.closed{
    
    background:#e74c3c;
    
    } */
    
    /* ویژه */
    
    .featured-badge{
    
    position:absolute;
    
    top:18px;
    
    right:18px;
    
    background:#ff9800;
    
    color:#fff;
    
    padding:7px 14px;
    
    border-radius:30px;
    
    font-size:12px;
    
    font-weight:bold;
    
    }
    
    /* تخفیف */
    
    .discount-badge{
    
    position:absolute;
    
    top:60px;
    
    right:18px;
    
    background:#f44336;
    
    color:#fff;
    
    padding:6px 14px;
    
    border-radius:30px;
    
    font-size:12px;
    
    font-weight:bold;
    
    }
    
    /* بدنه */
    
    .restaurant-body{
    
    padding:45px 20px 20px;
    
    }
    
    .restaurant-body h3{
    
    font-size:21px;
    
    margin-bottom:10px;
    
    }
    
    .restaurant-category{
    
    display:inline-block;
    
    padding:5px 14px;
    
    background:#fff3eb;
    
    color:#ff6b00;
    
    border-radius:20px;
    
    font-size:13px;
    
    margin-bottom:14px;
    
    }
    
    .restaurant-address{
    
    font-size:14px;
    
    color:#777;
    
    margin-bottom:20px;
    
    white-space:nowrap;
    
    overflow:hidden;
    
    text-overflow:ellipsis;
    
    }
    
    /* اطلاعات */
    
    .restaurant-info{
    
    display:flex;
    
    justify-content:space-between;
    
    align-items:center;
    
    padding-top:18px;
    
    border-top:1px solid #eee;
    
    font-size:14px;
    
    }
    
    .restaurant-info div{
    
    display:flex;
    
    align-items:center;
    
    gap:6px;
    
    font-weight:bold;
    
    }

    /*==============================
CATEGORY NAVIGATION
==============================*/

.categories-section{

    position:relative;
    
    }
    
    .cat-nav{
    
    position:absolute;
    
    top:58%;
    
    transform:translateY(-50%);
    
    width:48px;
    
    height:48px;
    
    border:none;
    
    border-radius:50%;
    
    background:#fff;
    
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    
    cursor:pointer;
    
    font-size:22px;
    
    z-index:20;
    
    transition:.3s;
    
    }
    
    .cat-nav:hover{
    
    background:var(--primary);
    
    color:#fff;
    
    }
    
    .cat-prev{
    
    right:-24px;
    
    }
    
    .cat-next{
    
    left:-24px;
    
    }
    
    @media(max-width:768px){
    
    .cat-nav{
    
    display:none;
    
    }
    
    }

/* ==============================================
   BANNER - دسکتاپ (۳ کارت)
=============================================== */

.banner-section {
    margin: 45px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.banner-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.banner-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ==============================================
   BANNER SLIDER - موبایل با درگ
=============================================== */

.banner-slider-wrapper {
    display: none;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    -webkit-overflow-scrolling: touch;
}

.banner-slider:active {
    cursor: grabbing;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s ease;
    border: none;
    padding: 0;
}

.banner-dot.active {
    background: #ff5722;
    width: 28px;
    border-radius: 6px;
}

/* ==============================================
   RESPONSIVE
=============================================== */

@media (max-width: 768px) {
    .banner-grid {
        display: none;
    }
    .banner-slider-wrapper {
        display: block;
    }
    .banner-slider {
        height: 160px;
    }
    .banner-card img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 140px;
    }
    .banner-dot {
        width: 8px;
        height: 8px;
    }
    .banner-dot.active {
        width: 22px;
    }
}

/* ==========================================
   STORE CARD V1
========================================== */

.store-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.35s;

    border:1px solid #f2f2f2;

}

.store-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.store-cover{

    position:relative;

    display:block;

    height:170px;

    overflow:hidden;

    text-decoration:none;

}

.store-cover img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

    display:block;

}

.store-card:hover .store-cover img{

    transform:scale(1.06);

}

.store-rating{

    position:absolute;

    top:14px;

    left:14px;

    background:#fff;

    padding:6px 12px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    box-shadow:0 5px 15px rgba(0,0,0,.12);

}

.store-body{

    position:relative;

    padding:55px 18px 18px;

    text-align:center;

}

.store-logo{

    position:absolute;

    top:-34px;

    left:50%;

    transform:translateX(-50%);

    width:68px;

    height:68px;

    border-radius:18px;

    overflow:hidden;

    border:4px solid #fff;

    background:#fff;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

}

.store-logo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.store-body h3{

    margin:0;

    font-size:18px;

    font-weight:700;

    color:#222;

}

.store-category{

    display:block;

    margin-top:8px;

    color:#777;

    font-size:14px;

}

.store-meta{

    display:flex;

    justify-content:space-between;

    margin-top:18px;

    padding-top:16px;

    border-top:1px solid #eee;

    color:#666;

    font-size:13px;

}

@media(max-width:768px){

.store-cover{

    height:150px;

}

.store-logo{

    width:60px;

    height:60px;

    top:-30px;

}

.store-body{

    padding:48px 14px 16px;

}

.store-body h3{

    font-size:16px;

}

.store-meta{

    font-size:12px;

}

}

/* ================================
   BEST SELLERS SLIDER (با درگ)
================================ */

.best-sellers {
    margin: 30px 0;
}

.best-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.best-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding: 10px 5px 20px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.best-slider::-webkit-scrollbar {
    display: none;
}

.best-slider.dragging {
    cursor: grabbing;
}

.best-slider img {
    pointer-events: none;
    -webkit-user-drag: none;
}

.best-slide {
    flex: 0 0 165px;
    min-width: 165px;
}

/* ===== دکمه‌های اسلایدر ===== */
.best-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 20;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.best-slider-btn:hover {
    background: #ff5722;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
}

.best-prev {
    right: -12px;
}

.best-next {
    left: -12px;
}

/* ===== کارت محصول ===== */
.best-slide .product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.best-slide .product-card:hover {
    border-color: #ff5722;
    box-shadow: 0 10px 24px rgba(255, 87, 34, 0.18);
}

.best-slide .product-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.best-slide .product-body {
    padding: 8px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.best-slide .product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.best-slide .restaurant-name {
    color: #777;
    font-size: 12px;
    margin-bottom: 8px;
}

.best-slide .product-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.best-slide .old-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 11px;
}

.best-slide .new-price {
    color: #ff5722;
    font-size: 14px;
    font-weight: 700;
}

.best-slide .add-cart-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: #ff2d55;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.best-slide .add-cart-btn span {
    position: relative;
    top: 2px;
}

.best-slide .add-cart-btn:hover {
    background: #e64a19;
}

.best-slide .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .best-slide {
        flex: 0 0 140px;
        min-width: 140px;
    }
    .best-slide .product-image img {
        height: 100px;
    }
    .best-slide .product-name {
        font-size: 13px;
    }
    .best-slider-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .best-prev {
        right: -8px;
    }
    .best-next {
        left: -8px;
    }
}

@media (max-width: 480px) {
    .best-slide {
        flex: 0 0 120px;
        min-width: 120px;
}
    .best-slide .product-image img {
        height: 80px;
    }
    .best-slide .product-name {
        font-size: 12px;
    }
    .best-slide .restaurant-name {
        font-size: 10px;
    }
    .best-slide .new-price {
        font-size: 12px;
    }
    .best-slider-btn {
        display: none !important;
    }
}

/* ==========================================
   FEATURED SLIDER (فروشگاه‌های ویژه)
========================================== */

.featured-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.featured-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding: 10px 5px 20px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-slide {
    flex: 0 0 280px;
    min-width: 280px;
}

.featured-slider.dragging {
    cursor: grabbing;
}

.featured-slider img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* ===== دکمه‌های اسلایدر ===== */
.featured-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 20;
    font-size: 20px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.featured-slider-btn:hover {
    background: #ff5722;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
}

.featured-prev {
    right: -12px;
}

.featured-next {
    left: -12px;
}

/* ===== استایل کارت‌ها ===== */
.featured-slide .store-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: 0.35s;
    border: 1px solid #f2f2f2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-slide .store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.featured-slide .store-cover {
    position: relative;
    display: block;
    height: 160px;
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
}

.featured-slide .store-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

.featured-slide .store-card:hover .store-cover img {
    transform: scale(1.06);
}

.featured-slide .store-rating {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.featured-slide .store-body {
    position: relative;
    padding: 48px 16px 16px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-slide .store-logo {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.featured-slide .store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-slide .store-body h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.featured-slide .store-category {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 13px;
}

.featured-slide .store-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .featured-slide {
        flex: 0 0 240px;
        min-width: 240px;
    }
    .featured-slide .store-cover {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .featured-slide {
        flex: 0 0 200px;
min-width: 200px;
    }
    .featured-slide .store-cover {
        height: 120px;
    }
    .featured-slide .store-logo {
        width: 50px;
        height: 50px;
        top: -25px;
    }
    .featured-slide .store-body {
        padding: 40px 12px 14px;
    }
    .featured-slide .store-body h3 {
        font-size: 15px;
    }
    .featured-slide .store-meta {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    .featured-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .featured-prev {
        right: -8px;
    }
    .featured-next {
        left: -8px;
    }
}

@media (max-width: 480px) {
    .featured-slide {
        flex: 0 0 170px;
        min-width: 170px;
    }
    .featured-slide .store-cover {
        height: 100px;
    }
    .featured-slide .store-logo {
        width: 42px;
        height: 42px;
        top: -20px;
        border-width: 3px;
    }
    .featured-slide .store-body {
        padding: 32px 10px 12px;
    }
    .featured-slide .store-body h3 {
        font-size: 13px;
    }
    .featured-slide .store-category {
        font-size: 11px;
    }
    .featured-slide .store-meta {
        font-size: 10px;
    }
    .featured-slider-btn {
        display: none !important;
    }
}

/* ==========================================
   NEW SLIDER (جدیدترین فروشگاه‌ها)
========================================== */

.new-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.new-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding: 10px 5px 20px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.new-slider::-webkit-scrollbar {
    display: none;
}

.new-slide {
    flex: 0 0 280px;
    min-width: 280px;
}

.new-slider.dragging {
    cursor: grabbing;
}

.new-slider img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* ===== دکمه‌های اسلایدر ===== */
.new-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 20;
    font-size: 20px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.new-slider-btn:hover {
    background: #ff5722;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
}

.new-prev {
    right: -12px;
}

.new-next {
    left: -12px;
}

/* ===== استایل کارت‌ها ===== */
.new-slide .store-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: 0.35s;
    border: 1px solid #f2f2f2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.new-slide .store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.new-slide .store-cover {
    position: relative;
    display: block;
    height: 160px;
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
}

.new-slide .store-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

.new-slide .store-card:hover .store-cover img {
    transform: scale(1.06);
}

.new-slide .store-rating {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.new-slide .store-body {
    position: relative;
    padding: 48px 16px 16px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.new-slide .store-logo {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.new-slide .store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-slide .store-body h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.new-slide .store-category {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 13px;
}

.new-slide .store-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .new-slide {
        flex: 0 0 240px;
        min-width: 240px;
    }
    .new-slide .store-cover {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .new-slide {
        flex: 0 0 200px;
        min-width: 200px;
    }
    .new-slide .store-cover {
        height: 120px;
    }
    .new-slide .store-logo {
        width: 50px;
height: 50px;
        top: -25px;
    }
    .new-slide .store-body {
        padding: 40px 12px 14px;
    }
    .new-slide .store-body h3 {
        font-size: 15px;
    }
    .new-slide .store-meta {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    .new-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .new-prev {
        right: -8px;
    }
    .new-next {
        left: -8px;
    }
}

@media (max-width: 480px) {
    .new-slide {
        flex: 0 0 170px;
        min-width: 170px;
    }
    .new-slide .store-cover {
        height: 100px;
    }
    .new-slide .store-logo {
        width: 42px;
        height: 42px;
        top: -20px;
        border-width: 3px;
    }
    .new-slide .store-body {
        padding: 32px 10px 12px;
    }
    .new-slide .store-body h3 {
        font-size: 13px;
    }
    .new-slide .store-category {
        font-size: 11px;
    }
    .new-slide .store-meta {
        font-size: 10px;
    }
    .new-slider-btn {
        display: none !important;
    }
}

/* ===== برچسب باز/بسته ===== */
.restaurant-status {
    order: 1; /* ← برو به چپ */
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.restaurant-status.open {
    background: #4caf50;
}

.restaurant-status.closed {
    background: #f44336;
}

/* ===== امتیاز ===== */
.store-rating {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 5;
}
@media (max-width: 480px) {
    .store-badges {
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .store-rating {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .restaurant-status {
        font-size: 10px;
        padding: 3px 10px;
    }
}