* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'vazirmatn';
    background: #0a0a0a;
    color: #e8d9a7;
    overflow-x: hidden;
}

a,input,textarea,input::placeholder,button{
    font-family: 'vazirmatn';
    text-decoration: none;
}

/* ===== سایدبار دسته‌بندی افقی زیر بنر ===== */
.sticky-sidebar {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 15px 20px;
    z-index: 100;
    direction: rtl;
    transition: all 0.3s ease;
}

/* حالت sticky بعد از رد شدن از بنر */
.sticky-sidebar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 20px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* محتوای سایدبار - افقی */
.sidebar-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* کارت دایره‌ای */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* حالت sticky که دکمه‌ها کمی کوچک‌تر شوند */
.sticky-sidebar.sticky .nav-item {
    width: 60px;
    height: 60px;
}

.sticky-sidebar.sticky .nav-item i {
    font-size: 1.3rem;
}

.sticky-sidebar.sticky .nav-name {
    font-size: 0.55rem;
}

/* آیکون */
.nav-item i {
    font-size: 1.5rem;
    color: #d4af37;
    transition: 0.3s;
}

/* متن دسته‌بندی */
.nav-name {
    font-size: 0.6rem;
    font-weight: 500;
    color: #e0e0e0;
    text-align: center;
}

/* نام انگلیسی مخفی */
.nav-en {
    display: none;
}

/* هاور افکت */
.nav-item:hover {
    background: #d4af37;
    transform: scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.nav-item:hover i {
    color: #1a1a1a;
}

.nav-item:hover .nav-name {
    color: #1a1a1a;
}

/* آیتم فعال */
.nav-item.active {
    background: #d4af37;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.nav-item.active i {
    color: #1a1a1a;
}

.nav-item.active .nav-name {
    color: #1a1a1a;
    font-weight: 700;
}

/* لوگو و فوتر مخفی */
.logo,
.sidebar-footer {
    display: none;
}

/* فضای خالی برای جلوگیری از پرش محتوا */
.sticky-sidebar-placeholder {
    display: none;
    height: 0;
}

.sticky-sidebar.sticky + .sticky-sidebar-placeholder {
    display: block;
    height: 80px;
}

/* ===== رسپانسیو سایدبار ===== */

/* موبایل */
@media (max-width: 768px) {
    .sidebar-nav {
        justify-content: center;
        gap: 12px;
    }
    
    .nav-item {
        width: 60px;
        height: 60px;
    }
    
    .nav-item i {
        font-size: 1.3rem;
    }
    
    .nav-name {
        font-size: 0.5rem;
    }
    
    .sticky-sidebar.sticky .nav-item {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 576px) {
    .sticky-sidebar {
        padding: 10px 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .sticky-sidebar::-webkit-scrollbar {
        height: 3px;
    }
    
    .sticky-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .sticky-sidebar::-webkit-scrollbar-thumb {
        background: #d4af37;
        border-radius: 10px;
    }
    
    .sidebar-nav {
        justify-content: flex-start;
        width: max-content;
        min-width: 100%;
        gap: 12px;
    }
    
    .nav-item {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
    
    .nav-name {
        font-size: 0.45rem;
    }
    
    .sticky-sidebar.sticky .nav-item {
        width: 50px;
        height: 50px;
    }
    
    .sticky-sidebar.sticky .nav-item i {
        font-size: 1.1rem;
    }
    
    .sticky-sidebar.sticky + .sticky-sidebar-placeholder {
        height: 70px;
    }
}

@media (max-width: 380px) {
    .nav-item {
        width: 50px;
        height: 50px;
    }
    
    .nav-item i {
        font-size: 1.1rem;
    }
    
    .nav-name {
        font-size: 0.4rem;
    }
}
/* ===== محتوای اصلی ===== */
.main-content {
    padding: 30px 40px;
    /* max-width: calc(100% - 280px); */
}

/* ===== بخش‌های منو ===== */
.menu-section {
    margin-bottom: 50px;
    scroll-margin-top: 20px;
}

.section-title {
    border-right: 4px solid #d4af37;
    padding-right: 20px;
    margin-bottom: 25px;
}

.section-title h3 {
    font-size: 1.6rem;
    color: #ffd966;
}

.section-title .section-en {
    font-size: 0.8rem;
    color: #777;
    direction: ltr;
    display: inline-block;
    margin-right: 10px;
}

/* ===== گرید آیتم‌ها ===== */
.items-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30,30,30,0.5);
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    flex-wrap: wrap;
}

.menu-item:hover {
    background: rgba(40,40,40,0.8);
    border-color: #d4af37;
    transform: translateX(-5px);
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0e0a0;
    margin-bottom: 8px;
}

.item-desc {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.5;
}

.item-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 18px;
    border-radius: 25px;
    white-space: nowrap;
}

.item-price small {
    font-size: 0.7rem;
    color: #aaa;
}

.footer-note {
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    border-top: 1px solid #2a2a2a;
    color: #777;
    font-size: 0.8rem;
}

/* ===== رسپانسیو ===== */
/* تبلت و موبایل بزرگ (عرض کمتر از 992px) */
@media (max-width: 992px) {
    .sticky-sidebar {
        width: 100%; /* 30 درصد عرض صفحه */
        padding: 25px 12px;
    }
    
    .main-content {
        max-width: 100%; /* 70 درصد برای محصولات */
        padding: 20px 20px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .nav-name {
        font-size: 0.85rem;
    }
    
    .nav-en {
        font-size: 0.6rem;
    }
    
    .nav-item {
        padding: 8px 10px;
    }
    
    .sidebar-footer {
        font-size: 0.6rem;
        bottom: 20px;
    }
    
    .section-title h3 {
        font-size: 1.3rem;
    }
}

/* موبایل کوچک (عرض کمتر از 768px) */
@media (max-width: 768px) {
    .sticky-sidebar {
        width: 100%; /* کمی بیشتر برای خوانایی بهتر */
        padding: 20px 10px;
    }
    
    .main-content {
        margin-right: 0%;
        max-width: 100%;
        padding: 15px 12px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 0.6rem;
        padding-bottom: 12px;
        margin-bottom: 15px;
    }
    
    .nav-name {
        font-size: 0.75rem;
    }
    
    .nav-en {
        font-size: 0.5rem;
    }
    
    .nav-item {
        padding: 6px 8px;
        gap: 5px;
    }
    
    .sidebar-footer {
        font-size: 0.5rem;
        bottom: 15px;
    }
    
    .sidebar-footer .instagram {
        margin-top: 3px;
    }
    
    .section-title {
        margin-bottom: 15px;
        padding-right: 12px;
        margin-top: 60px;
    }
    
    .section-title h3 {
        font-size: 1rem;
    }
    
    .section-title .section-en {
        font-size: 0.6rem;
    }
    
    .items-grid {
        gap: 10px;
    }
    
    /* کوچک‌تر شدن کانتینر محصولات */
    .menu-item {
        padding: 10px 12px;
    }
    
    .item-name {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .item-desc {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .item-price {
        font-size: 0.9rem;
        padding: 5px 12px;
        white-space: nowrap;
    }
    
    .item-price small {
        font-size: 0.55rem;
    }
    
    .footer-note {
        padding: 20px;
        font-size: 0.65rem;
        margin-top: 25px;
    }
}

/* موبایل خیلی کوچک (عرض کمتر از 480px) */
@media (max-width: 480px) {
    .sticky-sidebar {
        width: 100%;
        padding: 15px 8px;
    }
    
    .main-content {
        margin-right: 0%;
        max-width: 100%;
        padding: 10px 8px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.5rem;
        padding-bottom: 8px;
        margin-bottom: 10px;
    }
    
    .nav-name {
        font-size: 0.65rem;
    }
    
    .nav-en {
        font-size: 0.45rem;
    }
    
    .nav-item {
        padding: 5px 6px;
    }
    
    .sidebar-footer {
        font-size: 0.45rem;
        bottom: 10px;
    }
    
    .section-title {
        padding-right: 8px;
        margin-bottom: 10px;
    }
    
    .section-title h3 {
        font-size: 0.85rem;
    }
    
    .section-title .section-en {
        font-size: 0.5rem;
    }
    
    .menu-item {
        padding: 8px 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .item-info {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .item-name {
        font-size: 0.8rem;
    }
    
    .item-desc {
        font-size: 0.6rem;
    }
    
    .item-price {
        font-size: 0.85rem;
        padding: 4px 10px;
        display: inline-block;
    }
    
    .footer-note {
        padding: 15px;
        font-size: 0.55rem;
    }
}

/* اسکرول نرم */
html {
    scroll-behavior: smooth;
}

/* اسکرول بار سفارشی */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

/* ===== کارت‌های محصول با تصویر ===== */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.menu-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #141414 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #2a2a2a;
    position: relative;
}

.menu-card:hover {
    transform: translateY(-8px) translateX(-5px);
    border-color: #d4af37;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0a0a0a;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-image img {
    transform: scale(1.08);
}

.price-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #d4af37, #b8942e);
    color: #1a1a1a;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 2;
}

.price-badge small {
    font-size: 0.7rem;
    font-weight: normal;
}

.card-content {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f0e0a0;
    margin-bottom: 10px;
    text-align: right;
}

.product-description {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: right;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
}

.order-btn {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.order-btn:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: scale(1.05);
}




/* ===== دکمه شناور سبد خرید ===== */
.floating-cart {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(212, 175, 55, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.floating-cart:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.cart-icon {
    position: relative;
}

.cart-icon i {
    font-size: 1.4rem;
    color: #1a1a1a;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #6a6a6aa3;
    color: white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-total {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 0.9rem;
}

/* ===== مودال ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 25px;
    animation: modalSlideIn 0.3s ease;
}

.glass-modal {
    background: rgba(30,30,30,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #e8d9a7;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-header h2 {
    color: #d4af37;
    margin: 0;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #ff4444;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

/* ===== آیتم‌های سبد خرید ===== */
.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #888;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 10px;
}

.item-details {
    flex: 2;
}

.item-details h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
}

.item-price {
    font-size: 0.8rem;
    color: #d4af37;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-quantity button {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: #d4af37;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.item-quantity button:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.item-quantity span {
    min-width: 30px;
    text-align: center;
}

.item-total {
    font-weight: bold;
    color: #d4af37;
}

.remove-item {
    background: rgba(255,68,68,0.2);
    border: none;
    color: #ff4444;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 8px;
    transition: 0.3s;
}

.remove-item:hover {
    background: #ff4444;
    color: white;
}

.cart-summary {
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== فرم سفارش ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #d4af37;
    font-size: 0.85rem;
}

.form-group label i {
    margin-left: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: #e8d9a7;
    font-size: 0.9rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255,255,255,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.action-btn {
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
}

.waiter-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.waiter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,152,0,0.4);
}

.payment-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33,150,243,0.4);
}

.submit-order {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4af37, #b8942e);
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* ===== مودال موفقیت ===== */
.success-modal {
    text-align: center;
}

.success-message i:first-child {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.order-details {
    background: rgba(76,175,80,0.1);
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
}

.close-success {
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}

/* ===== نوتیفیکیشن ===== */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(212, 175, 55, 0.95);
    backdrop-filter: blur(10px);
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 3000;
    transition: transform 0.3s ease;
    font-weight: bold;
    white-space: nowrap;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}

/* ===== رسپانسیو ===== */
@media (max-width: 768px) {
    .floating-cart {
        bottom: 20px;
        left: 20px;
        padding: 8px 18px;
    }
    
    .cart-icon i {
        font-size: 1rem;
    }
    
    .cart-total {
        font-size: 0.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .notification {
        font-size: 0.8rem;
        white-space: nowrap;
    }
}


/* استایل‌های مودال موفقیت */
.order-number-box {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
}

.order-number-display {
    font-family: monospace;
    font-size: 1.2rem;
    color: #d4af37;
    direction: ltr;
    margin-top: 8px;
    padding: 8px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

.track-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.copy-order-btn,
.track-order-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.copy-order-btn {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: #d4af37;
}

.copy-order-btn:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.track-order-btn {
    background: #4CAF50;
    border: none;
    color: white;
}

.track-order-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}


.invoice-btn {
    flex: 1;
    padding: 12px 25px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.invoice-btn:hover {
    background: #aa8c29;
}


/* استایل دکمه فاکتور در مودال */
.invoice-modal-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    transition: 0.3s;
}

.invoice-modal-btn:hover {
    background: #aa8c29;
    transform: translateY(-2px);
}


/* ===== بنر کاملاً رسپانسیو داخل main-content ===== */
.hero-wrapper {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
    max-height: 350px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 25px 30px;
}

.hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.hero-col {
    flex: 1;
    min-width: 0;
}

.hero-col-text {
    text-align: right;
}

.hero-title {
    font-size: clamp(1.3rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #d4af37;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(0.65rem, 2vw, 0.85rem);
    color: #e8d9a7;
    margin: 5px 0 10px 0;
    opacity: 0.9;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    color: #e0e0e0;
}

.hero-location i {
    color: #d4af37;
    font-size: 0.7rem;
}

/* کارت‌ها */
.hero-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

.hero-card-icon i {
    font-size: 0.9rem;
    color: #d4af37;
}

.hero-card-content {
    display: flex;
    flex-direction: column;
}

.hero-card-label {
    font-size: 0.55rem;
    color: #aaa;
    text-transform: uppercase;
}

.hero-card-value {
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    color: #e8d9a7;
    font-weight: 600;
}

/* وضعیت */
#statusIcon {
    font-size: 0.7rem;
}

#statusIcon.open {
    color: #4CAF50;
    animation: pulse 1.5s infinite;
}

#statusIcon.closed {
    color: #f44336;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* شبکه اجتماعی */
.hero-social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.hero-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    color: #e8d9a7;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-social-link:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-wrapper {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
    
    .hero-container {
        padding: 20px;
    }
    
    .hero-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-col-text {
        text-align: center;
    }
    
    .hero-location {
        justify-content: center;
    }
    
    .hero-cards {
        justify-content: center;
    }
    
    .hero-social-icons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-wrapper {
        border-radius: 16px;
        aspect-ratio: 1 / 1;
    }
    
    .hero-container {
        padding: 15px;
    }
    
    .hero-card {
        padding: 6px 12px;
    }
    
    .hero-card-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero-card-icon i {
        font-size: 0.8rem;
    }
    
    .hero-social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-cards {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-card {
        justify-content: center;
        width: 100%;
    }
}



/* ===== بنر کاملاً رسپانسیو ===== */
.hero-wrapper {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 50px 40px;
}

.hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-col {
    flex: 1;
    min-width: 0;
}

.hero-col-text {
    text-align: right;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #d4af37;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: #e8d9a7;
    margin: 8px 0 15px 0;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-location i {
    color: #d4af37;
    font-size: 0.8rem;
}

/* کارت‌ها */
.hero-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 60px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(212, 175, 55, 0.6);
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

.hero-card-icon i {
    font-size: 1.2rem;
    color: #d4af37;
}

.hero-card-content {
    display: flex;
    flex-direction: column;
}

.hero-card-label {
    font-size: 0.6rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-card-value {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: #e8d9a7;
    font-weight: 600;
}

/* آیکون وضعیت */
#statusIcon {
    font-size: 0.8rem;
}

#statusIcon.open {
    color: #4CAF50;
    animation: pulse 1.5s infinite;
}

#statusIcon.closed {
    color: #f44336;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* شبکه اجتماعی */
.hero-social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.hero-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    color: #e8d9a7;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-social-link:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* ===== Responsive ===== */

/* تبلت */
@media (max-width: 900px) {
    .hero-container {
        padding: 40px 30px;
    }
    
    .hero-row {
        gap: 25px;
    }
    
    .hero-col-text {
        text-align: center;
    }
    
    .hero-location {
        justify-content: center;
    }
    
    .hero-social-icons {
        justify-content: center;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .hero-wrapper {
        border-radius: 16px;
        margin-bottom: 30px;
    }
    
    .hero-container {
        padding: 35px 20px;
    }
    
    .hero-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-col {
        width: 100%;
    }
    
    .hero-col-text {
        text-align: center;
    }
    
    .hero-location {
        justify-content: center;
        font-size: 0.7rem;
    }
    
    .hero-cards {
        justify-content: center;
    }
    
    .hero-card {
        padding: 10px 16px;
    }
    
    .hero-card-icon {
        width: 35px;
        height: 35px;
    }
    
    .hero-card-icon i {
        font-size: 1rem;
    }
    
    .hero-social-icons {
        justify-content: center;
        gap: 10px;
    }
    
    .hero-social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .hero-container {
        padding: 25px 15px;
    }
    
    .hero-cards {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-card {
        justify-content: center;
        width: 100%;
    }
    
    .hero-social-icons {
        width: 100%;
    }
    
    .hero-social-link {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* تنظیم ارتفاع برای تصویر */
.hero-wrapper {
    aspect-ratio: 16 / 9;
    max-height: 400px;
    min-height: 250px;
}

@media (max-width: 768px) {
    .hero-wrapper {
        aspect-ratio: 4 / 3;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero-wrapper {
        aspect-ratio: 1 / 1;
    }
}


/* ===== رسپانسیو پیشرفته بنر ===== */

/* دسکتاپ بزرگ (بیشتر از 1400px) */
@media (min-width: 1400px) {
    .hero-wrapper {
        aspect-ratio: 16 / 9;
        max-height: 450px;
    }
    
    .hero-container {
        padding: 50px 60px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-card {
        padding: 14px 24px;
    }
    
    .hero-card-icon {
        width: 45px;
        height: 45px;
    }
    
    .hero-card-icon i {
        font-size: 1.3rem;
    }
    
    .hero-social-link {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

/* دسکتاپ معمولی (992px - 1400px) */
@media (max-width: 1200px) {
    .hero-container {
        padding: 40px 35px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-card {
        padding: 10px 18px;
    }
}

/* تبلت لنداسکیپ (768px - 992px) */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-wrapper {
        aspect-ratio: 16 / 9;
        max-height: 350px;
    }
    
    .hero-container {
        padding: 30px 25px;
    }
    
    .hero-row {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
    }
    
    .hero-card {
        padding: 8px 14px;
    }
    
    .hero-card-icon {
        width: 30px;
        height: 30px;
    }
    
    .hero-card-icon i {
        font-size: 0.85rem;
    }
    
    .hero-card-value {
        font-size: 0.7rem;
    }
    
    .hero-social-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

/* تبلت پورتريت (576px - 768px) */
@media (max-width: 768px) and (min-width: 577px) {
    .hero-wrapper {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
        margin-bottom: 25px;
    }
    
    .hero-container {
        padding: 25px 20px;
    }
    
    .hero-row {
        flex-direction: column;
        gap: 18px;
    }
    
    .hero-col {
        width: 100%;
        text-align: center;
    }
    
    .hero-col-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
    }
    
    .hero-location {
        justify-content: center;
        font-size: 0.65rem;
    }
    
    .hero-cards {
        justify-content: center;
        gap: 12px;
    }
    
    .hero-card {
        padding: 8px 16px;
    }
    
    .hero-card-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero-card-icon i {
        font-size: 0.9rem;
    }
    
    .hero-card-label {
        font-size: 0.5rem;
    }
    
    .hero-card-value {
        font-size: 0.7rem;
    }
    
    .hero-social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .hero-social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* موبایل بزرگ (480px - 576px) */
@media (max-width: 576px) and (min-width: 481px) {
    .hero-wrapper {
        aspect-ratio: 1 / 1;
        border-radius: 18px;
        margin-bottom: 20px;
    }
    
    .hero-container {
        padding: 20px 15px;
    }
    
    .hero-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-col {
        width: 100%;
    }
    
    .hero-col-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.65rem;
        margin: 4px 0 8px 0;
    }
    
    .hero-location {
        justify-content: center;
        font-size: 0.6rem;
        gap: 4px;
    }
    
    .hero-location i {
        font-size: 0.6rem;
    }
    
    .hero-cards {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-card {
        padding: 6px 12px;
        gap: 6px;
    }
    
    .hero-card-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero-card-icon i {
        font-size: 0.75rem;
    }
    
    .hero-card-label {
        font-size: 0.45rem;
    }
    
    .hero-card-value {
        font-size: 0.6rem;
    }
    
    .hero-social-icons {
        justify-content: center;
        gap: 8px;
    }
    
    .hero-social-link {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* موبایل کوچک (کمتر از 480px) */
@media (max-width: 480px) {
    .hero-wrapper {
        aspect-ratio: 1 / 1;
        border-radius: 16px;
        margin-bottom: 15px;
    }
    
    .hero-container {
        padding: 15px 12px;
    }
    
    .hero-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-col {
        width: 100%;
    }
    
    .hero-col-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 0.6rem;
        margin: 3px 0 6px 0;
    }
    
    .hero-location {
        justify-content: center;
        font-size: 0.55rem;
        gap: 4px;
    }
    
    .hero-location i {
        font-size: 0.55rem;
    }
    
    .hero-cards {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .hero-card {
        justify-content: center;
        width: 100%;
        padding: 8px 12px;
    }
    
    .hero-card-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero-card-icon i {
        font-size: 0.75rem;
    }
    
    .hero-card-label {
        font-size: 0.5rem;
    }
    
    .hero-card-value {
        font-size: 0.65rem;
    }
    
    .hero-social-icons {
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .hero-social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* موبایل خیلی کوچک (کمتر از 380px) */
@media (max-width: 380px) {
    .hero-wrapper {
        border-radius: 14px;
    }
    
    .hero-container {
        padding: 12px 10px;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.55rem;
    }
    
    .hero-location {
        font-size: 0.5rem;
    }
    
    .hero-card {
        padding: 6px 10px;
    }
    
    .hero-card-icon {
        width: 24px;
        height: 24px;
    }
    
    .hero-card-icon i {
        font-size: 0.65rem;
    }
    
    .hero-card-label {
        font-size: 0.45rem;
    }
    
    .hero-card-value {
        font-size: 0.55rem;
    }
    
    .hero-social-link {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* حالت لنداسکیپ موبایل (چرخیده) */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-wrapper {
        aspect-ratio: 16 / 9;
        max-height: 280px;
    }
    
    .hero-container {
        padding: 15px 25px;
    }
    
    .hero-row {
        flex-direction: row;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.6rem;
    }
    
    .hero-cards {
        flex-direction: row;
    }
    
    .hero-card {
        padding: 5px 10px;
    }
    
    .hero-social-icons {
        flex-direction: row;
    }
}

/* رسپانسیو کامل سایدبار و محتوا */
@media (max-width: 992px) {
    .sticky-sidebar {
        width: 100%;
    }
    
    .main-content {
        margin-right: 0%;
        max-width: 100%;
        padding: 20px;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sticky-sidebar {
        width: 100%;
        padding: 15px 10px;
    }
    
    .main-content {
        margin-right: 0%;
        max-width: 100%;
        padding: 15px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .sticky-sidebar {
        width: 100%;
        padding: 12px 8px;
    }
    
    .main-content {
        margin-right: 0%;
        max-width: 100%;
        padding: 12px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.5rem;
    }
    
    .nav-name {
        font-size: 0.65rem;
    }
    
    .nav-en {
        font-size: 0.45rem;
    }
    
    .card-image {
        height: 150px;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-description {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .sticky-sidebar {
        width: 100%;
        padding: 10px 6px;
    }
    
    .main-content {
        margin-right: 0%;
        max-width: 100%;
        padding: 10px;
    }
    
    .logo h1 {
        font-size: 0.85rem;
    }
    
    .nav-item {
        padding: 4px 6px;
    }
    
    .nav-name {
        font-size: 0.55rem;
    }
    
    .card-image {
        height: 130px;
    }
    
    .price-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .product-title {
        font-size: 0.8rem;
    }
    
    .product-description {
        font-size: 0.6rem;
    }
    
    .order-btn {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}

/* ===== بخش شماره تماس‌ها ===== */
.hero-col-contact {
    flex: 1;
    min-width: 0;
}

.contact-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: 60px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

.contact-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.contact-icon i {
    font-size: 1.1rem;
    color: #d4af37;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.55rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e8d9a7;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
    transition: 0.3s;
}

.contact-number:hover {
    color: #d4af37;
}

/* ===== رسپانسیو بخش تماس ===== */
@media (max-width: 900px) {
    .contact-card {
        padding: 8px 14px;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
    
    .contact-number {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero-col-contact {
        width: 100%;
        text-align: center;
    }
    
    .contact-cards {
        justify-content: center;
    }
    
    .contact-card {
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .contact-cards {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .contact-card {
        justify-content: center;
        width: 100%;
        padding: 8px 12px;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
    }
    
    .contact-icon i {
        font-size: 0.85rem;
    }
    
    .contact-number {
        font-size: 0.7rem;
    }
}

@media (max-width: 380px) {
    .contact-card {
        padding: 6px 10px;
    }
    
    .contact-icon {
        width: 28px;
        height: 28px;
    }
    
    .contact-icon i {
        font-size: 0.75rem;
    }
    
    .contact-number {
        font-size: 0.65rem;
    }
}






