        :root {
            --bg-dark: #0f0f0f;
            --bg-gradient: radial-gradient(circle at top right, #1a1a1a 0%, #050505 100%);
            --card-bg: rgba(255, 255, 255, 0.03);
            --glass: rgba(10, 10, 10, 0.85);
            --text-white: #ffffff;
            --text-gray: #888888;
            --accent: #ffffff;
            /* رنگ اصلی سفید */
            --accent-secondary: #4ade80;
            /* سبز ملایم برای قیمت یا اکشن */
            --border-light: rgba(255, 255, 255, 0.08);
            --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            /* اولویت با وزیر، اعداد با مونتسرات */
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }

        body {
            background: var(--bg-dark);
            background-image: var(--bg-gradient);
            color: var(--text-white);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        /* --- HEADER --- */
        header {
            padding: 0 30px;
            height: 80px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            background: var(--glass);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 100;
            border-bottom: 1px solid var(--border-light);
        }

        .logo-container {
            position: relative;
            display: flex;
            align-items: center;
        }

        /* خط کج کنار لوگو مثل عکس */
        .diagonal-line {
            width: 1px;
            height: 40px;
            background: var(--text-white);
            transform: rotate(25deg);
            margin-left: 15px;
            /* فاصله در حالت RTL */
            margin-right: 15px;
            /* فاصله در حالت LTR */
        }

        /* تنظیم جهت خط بر اساس زبان */
        html[dir="ltr"] .diagonal-line {
            margin-left: 0;
            margin-right: 15px;
        }

        .logo-text {
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-weight: 300;
            font-size: 18px;
            letter-spacing: 2px;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
        }

.nav-links li {
    list-style: none;
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 12px;
    /* background: #1a1a1a; */
    color: #fff;
    opacity: 0.5;
    white-space: nowrap;
    cursor: pointer;
}


.watermark-banner {
  position: fixed;
  bottom: 14%;
  left: 50%;
  transform: translate(-50%, -50%); /* وسط صفحه */
  background-color: rgba(147, 147, 147, 0.5); /* نیمه‌شفاف */
  color: #d7d7d7;
  padding: 6px 12px; /* کوچیک‌تر */
  font-size: 12px; /* کوچیک‌تر */
  font-family: 'Vazirmatn', sans-serif;
  border-radius: 6px;
  z-index: 10000;
  text-align: center;
  max-width: 80%; /* جلوگیری از بزرگ شدن بیش از حد در موبایل */
  white-space: nowrap; /* جلوگیری از شکستن خط */
}

.watermark-banner a {
  color: #bb9600;
  text-decoration: none;
}


        .nav-links li.active,
        .nav-links li:hover {
            opacity: 1;
            font-weight: 800;
        }

        .header-icons {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .icon-btn {
            background: none;
            border: none;
            color: white;
            font-size: 16px;
            cursor: pointer;
            position: relative;
        }

        .cart-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--text-white);
            color: black;
            font-size: 10px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            opacity: 0;
            transition: 0.3s;
        }

        .cart-badge.show {
            opacity: 1;
        }

        /* --- MAIN CONTENT --- */
        main {
            flex: 1;
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* ================== CART ITEM PROFESSIONAL ================== */
        .cart-item-pro {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.05);
            padding: 14px;
            border-radius: 16px;
            margin-bottom: 12px;
            position: relative;
            transition: all 0.3s ease;
        }

        .cart-item-pro:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(-4px);
        }
        .cart-item-info {
            flex: 1;
        }
        .cart-item-name {
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.4;
        }
        .cart-item-price {
            font-size: 12px;
            color: #4ade80;
            margin-top: 4px;
            opacity: 0.9;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 30px;
            padding: 4px;
        }

        .qty-btn {
            width: 32px;
            height: 32px;
            background: transparent;
            border: none;
            color: white;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.3s;
        }

        .qty-btn:hover {
            background: #4ade80;
            transform: scale(1.1);
        }

        .qty-number {
            min-width: 30px;
            text-align: center;
            font-weight: bold;
            font-size: 15px;
        }

        .cart-delete {
            color: #ff5555;
            cursor: pointer;
            font-size: 14px;
            opacity: 0.7;
            transition: 0.3s;
        }

        .cart-delete:hover {
            opacity: 1;
            transform: scale(1.2);
        }

        .cart-item-total {
            text-align: left;
            font-weight: bold;
            color: #4ade80;
            font-size: 15px;
            margin-top: 6px;
            padding-left: 68px;
            direction: ltr;
            font-family: 'Montserrat', sans-serif;
        }

        /* خط دکوراتیو در صفحه اصلی (مثل جزئیات) */
        #home-view::before {
            content: '';
            position: absolute;
            top: 10%;
            left: 80%;
            height: 80%;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: translateX(-50%) rotate(25deg);
            z-index: -1;
            pointer-events: none;
        }

        /* لایک استوانه‌ای در صفحه جزئیات */
        .like-cylinder {
            width: 70px;
            height: 40px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50px;
            display: flex;

            align-items: center;
            justify-content: space-around;
            gap: 8px;
            cursor: pointer;
            transition: all 0.4s ease;
            border: 2px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
        }

        .like-cylinder:hover {
            transform: scale(1.08);
            background: rgba(255, 255, 255, 0.15);
        }

        .like-cylinder.liked {
            background: #ff5555;
            border-color: #ff5555
        }

        .like-cylinder i {
            font-size: 16px;
            color: white;
        }

        .like-cylinder .like-count {
            font-size: 15px;
            font-weight: 800;
            font-family: 'Montserrat', sans-serif;
        }

        /* جمع کل در پایین */
        #cartTotal {
            font-size: 18px !important;
            font-weight: 800 !important;
            color: #4ade80 !important;
        }

        /* --- HOME PAGE (GRID) --- */
        .page-section {
            display: none;
            animation: fadeIn 0.5s ease-out;
        }

        .page-section.active {
            justify-content: center;
            display: flex;
            align-items: center;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
            gap: 30px;
            padding-top: 20px;
        }

        .drink-card {
            background: var(--card-bg);
            border-radius: 30px;
            padding: 20px;
            direction: ltr;
            display: flex;
            width: 90%;
            height: 83px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            border: 1px solid transparent;
            align-items: center;
            justify-content: space-between;
        }

        .drink-card:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-10px);
            border-color: rgba(255, 255, 255, 0.2);
        }

.drink-card img {
    width: 53px;
    height: 60px;
    border-radius: 15px;
    margin-right: 11px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
    transition: var(--transition);
}

        .drink-card:hover img {
            transform: scale(1.1);
        }

        .drink-card h3 {
            margin-top: 15px;
            font-size: 11px;
            font-weight: 400;
            letter-spacing: 1px;
        }

        .drink-card .price {
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-weight: 600;
            color: var(--text-gray);
            font-size: 12px;

        }

        /* --- DETAIL PAGE (The Main UI from Image) --- */
        .detail-wrapper {
            position: relative;
            min-height: 75vh;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Background Huge Text */
        .bg-typography {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-30deg);
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-weight: 900;
            font-size: 12rem;
            /* بسیار بزرگ */
            color: rgba(255, 255, 255, 0.02);
         white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
            pointer-events: none;
            z-index: 0;
        }

        /* Decorative Line behind drink */
        .vertical-deco-line {
            position: absolute;
            left: 50%;
            top: 10%;
            height: 80%;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
            transform: rotate(15deg);
            z-index: 0;
        }

        .detail-content {
            flex: 1;
            padding: 40px;
            z-index: 2;
            text-align: left;
            /* برای زبان انگلیسی */
        }

        /* تنظیم متن بر اساس زبان */
        html[dir="rtl"] .detail-content {
            text-align: right;
        }

        .big-price {
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-size: 60px;
            font-weight: 600;
            line-height: 1;
            color: var(--text-white);
        }

        .subtitle {
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-size: 10px;
            letter-spacing: 2px;
            color: var(--text-gray);
            margin-top: 10px;
            text-transform: uppercase;
        }

        .detail-title {
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-size: 48px;
            font-weight: 700;
            margin-top: 40px;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .title-divider {
            width: 40px;
            height: 2px;
            background: var(--text-white);
            margin: 15px 0;
        }

        .detail-desc {
            color: var(--text-gray);
            line-height: 1.8;
            font-size: 13px;
            max-width: 350px;
            margin-bottom: 30px;
        }

        .action-group {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .btn-share {
            background: none;
            border: none;
            color: var(--text-white);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            letter-spacing: 1px;
            opacity: 0.7;
            transition: 0.3s;
        }/* ===== صفحه ===== */
#myOrdersView {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999999999999999999999999999999999999999999999;
    display: none;
    overflow-y: auto;
}

#myOrdersView.active {
    display: block !important;
}

.tracking-page {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-gradient), var(--bg-dark);
}

.tracking-container {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    margin: 0 auto;
}

/* ===== لودینگ ===== */
.tracking-loader {
    text-align: center;
    padding: 100px 0;
    color: #fff;
    opacity: .8;
}

.tracking-loader i {
    font-size: 32px;
    margin-bottom: 12px;
}

/* ===== کارت سفارش ===== */
.current-order-card {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 20px 16px;
    margin-bottom: 20px;
    text-align: center;
    backdrop-filter: blur(8px);
}

/* شماره سفارش */
.order-ref-big {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #4ade80;
    margin-bottom: 14px;
}

/* وضعیت */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    margin: 12px 0 20px 0;
}

.status-pill i {
    font-size: 18px;
}

/* رنگ وضعیت‌ها */
.status-pending   { background:#ffa50020; color:#ffa500; border-color:#ffa50040; }
.status-preparing { background:#4ade8030; color:#4ade80; border-color:#4ade8040; }
.status-ready     { background:#00bcd420; color:#00bcd4; border-color:#00bcd440; }
.status-delivered { background:#8bc34a20; color:#8bc34a; border-color:#8bc34a40; }
.status-cancelled { background:#f4433620; color:#f44336; border-color:#f4433640; }

/* ===== شبکه اطلاعات ===== */
.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.info-item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
}

.info-item i {
    font-size: 22px;
    color: #fff;
    opacity: .9;
    margin-bottom: 6px;
    display: block;
}

.info-item small {
    font-size: 12px;
    opacity: .7;
    display: block;
}

.info-value {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* مبلغ */
.price-big {
    font-size: 20px !important;
    color: #4ade80 !important;
    font-weight: 800 !important;
}

/* ===== پیام پایین کارت ===== */
.refresh-hint {
    background: rgba(74,222,128,0.12);
    border: 1px dashed rgba(74,222,128,0.4);
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    color: #4ade80;
}

/* ===== ریسپانسیو ===== */
@media(max-width:480px){
    .order-info-grid {
        grid-template-columns: 1fr;
    }
    .status-pill {
        font-size: 14px;
        padding: 6px 13px;
    }
}

        .btn-share:hover {
            opacity: 1;
        }

        .btn-order {
            background: var(--text-white);
            color: black;
            padding: 14px 35px;
            border-radius: 30px;
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 12px;
            letter-spacing: 1px;
            border: none;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
            transition: var(--transition);
        }

        .btn-order:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
        }

        .variants-radio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 16px;
            margin-top: 16px;
        }

        .variant-radio-label {
            position: relative;
            display: flex;
            align-items: center;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid #444;
            border-radius: 18px;
            padding: 16px;
            transition: all 0.3s ease;
            user-select: none;
        }

        .variant-radio-label:hover {
            border-color: #4ade80;
            background: rgba(74, 222, 128, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(74, 222, 128, 0.2);
        }

        .variant-radio-label input {
            opacity: 0;
            position: absolute;
        }

        .radio-checkmark {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 28px;
            height: 28px;
            background: white;
            border-radius: 50%;
            border: 3px solid #444;
            transition: all 0.3s;
        }

        .variant-radio-label input:checked~.radio-checkmark {
            background: #4ade80;
            border-color: #4ade80;
            box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
        }

        .variant-radio-label input:checked~.radio-checkmark::after {
            content: "✓";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: black;
            font-weight: bold;
            font-size: 16px;
        }

        .variant-radio-label input:checked~.variant-info {
            color: #4ade80;
            font-weight: 600;
        }

        .variant-info {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-right: 40px;
            transition: all 0.3s;
        }

        .variant-name {
            font-size: 16px;
            font-weight: 700;
        }

        .variant-price {
            font-size: 15px;
            font-weight: bold;
        }

        .variant-radio-label.selected {
            border-color: #4ade80 !important;
            background: rgba(74, 222, 128, 0.15) !important;
            box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
        }

        .variant-radio-label.selected .variant-info {
            color: #4ade80;
        }

        .variant-price del {
            color: #ff5555;
            font-size: 13px;
        }

        .detail-image-box {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .main-drink-img {
           height: 300px;
    width: 80%;
            filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8));
            animation: float 5s ease-in-out infinite;
                object-fit: contain;
        }


        /* Navigation Arrows */
        .nav-arrow {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: transparent;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: 0.3s;
        }

        .nav-arrow:hover {
            background: white;
            color: black;
        }

        /* --- FOOTER (طبق درخواست: کامل با شبکه اجتماعی و زبان) --- */
        footer {
            padding: 20px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border-light);
            background: var(--glass);
            margin-top: auto;
        }

        .social-icons {
            display: flex;
            gap: 20px;
        }

        .social-icons i {
            color: var(--text-gray);
            font-size: 16px;
            cursor: pointer;
            transition: 0.3s;
        }

        .social-icons i:hover {
            color: var(--text-white);
            transform: translateY(-3px);
        }

        .lang-switch {
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-size: 12px;
            letter-spacing: 1px;
            font-weight: 600;
            color: var(--text-gray);
            display: flex;
            gap: 5px;
        }

        .lang-item {
            cursor: pointer;
            transition: 0.3s;
        }

        .lang-item.active {
            color: var(--text-white);
            font-weight: 800;
        }

        .lang-item:hover {
            color: var(--text-white);
        }

        /* --- CART SIDEBAR --- */
        .cart-sidebar {
            position: fixed;
            top: 0;
            height: 100%;
            width: 320px;
            background: #0a0a0a;
            z-index: 200;
            padding: 20px;
            transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
        }

        /* RTL Logic for Sidebar */
        html[dir="rtl"] .cart-sidebar {
            left: auto;
            right: 0;
            transform: translateX(100%);
        }

        html[dir="ltr"] .cart-sidebar {
            right: 0;
            left: auto;
            transform: translateX(100%);
        }

        .cart-sidebar.open {
            transform: translateX(0);
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 1px solid var(--border-light);
            padding-bottom: 15px;
        }

        .cart-items-container {
            flex: 1;
            overflow-y: auto;
        }

        /* --- MODAL --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: 0.4s;
        }

        .modal-overlay.show {
            opacity: 1;
            pointer-events: all;
        }

        .modal-content {
            background: var(--glass);
            border: 1px solid var(--border-light);
            border-radius: 20px;
            padding: 30px;
            width: 90%;
            max-width: 420px;
            text-align: center;
        }

        .modal-input {
            width: 100%;
            padding: 14px;
            margin: 12px 0;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            color: white;
        }

        .modal-input::placeholder {
            color: #888;
        }

        /* Switch */
        .switch-label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 20px 0;
            font-size: 14px;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 54px;
            height: 30px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #333;
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.slider {
            background-color: var(--accent-secondary);
        }

        input:checked+.slider:before {
            transform: translateX(24px);
        }

        .priceAndName {
            text-align: justify;
        }

        .allInfo {
            display: flex;
        }

        /* --- دکمه لایک حرفه‌ای --- */
        .like-btn {
            position: absolute;
            top: 46px;
            right: -1px;
            width: 30px;
            height: 30px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
            z-index: 5;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .like-btn:hover {
            transform: scale(1.15);
            background: rgba(255, 255, 255, 0.2);
        }

        .like-btn.liked {
            background: #ff5555;
            color: white !important;
            animation: heartbeat 0.6s ease;
            box-shadow: 0 0 20px rgba(255, 85, 85, 0.5);
        }

        .like-btn.liked i {
            animation: pop 0.4s ease;
        }

        @keyframes heartbeat {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.3);
            }
        }

        @keyframes pop {
            0% {
                transform: scale(0.8);
            }

            50% {
                transform: scale(1.4);
            }

            100% {
                transform: scale(1);
            }
        }

        /* --- بج تخفیف روی کارت --- */
        .discount-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #ff5555;
            color: white;
            font-size: 11px;
            font-weight: 800;
            padding: 6px 10px;
            border-radius: 20px;
            letter-spacing: 0.5px;
            z-index: 5;
            box-shadow: 0 4px 15px rgba(255, 85, 85, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.08);
            }
        }

        /* --- قیمت خط خورده --- */
        .old-price {
            color: #aa4f4f;
            text-decoration: line-through;
            font-size: 10px;
            margin-right: 8px;
            opacity: 0.7;
        }

        .price-with-discount {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            direction: rtl;

            font-weight: 600;
        }

        /* Add-ons در صفحه جزئیات */
        .addons-section {
            margin: 25px 0;
        }

        .addons-title {
            font-size: 14px;
            margin-bottom: 12px;
            opacity: 0.8;
        }

        .addon-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.05);
            padding: 12px;
            border-radius: 12px;
            margin-bottom: 8px;
        }

        .addon-checkbox {
            width: 20px;
            height: 20px;
            accent-color: var(--accent-secondary);
        }

        /* اصلاح جهت سایدبار در RTL و LTR */
        html[dir="rtl"] .cart-sidebar {
            right: 0;
            left: auto;
            transform: translateX(100%);
        }

        html[dir="ltr"] .cart-sidebar {
            left: 0;
            right: auto;
            transform: translateX(-100%);
        }

        .cart-sidebar.open {
            transform: translateX(0) !important;
        }

        /* اصلاح هدر در موبایل */
        @media (max-width: 768px) {
            .header-icons {
                gap: 15px;
            }

            .icon-btn {
                font-size: 18px;
            }

            .cart-badge {
                font-size: 9px;
                width: 14px;
                height: 14px;
                top: -6px;
                right: -6px;
            }
        }

        /* اصلاح دکمه بازگشت در موبایل */
        .mobile-back {

            background: rgba(83, 83, 83, 0.4);
            backdrop-filter: blur(10px);
            width: 40px;
            align-items: center;
            justify-content: center;
            height: 40px;
            border-radius: 50%;
            transform: rotate(180deg);
            direction: ltr;
            border: 1px solid #b0b0b077;
            color: white;
            display: flex !important;
            position: absolute;
            top: 40px;
            left: 20px;
            z-index: 10;
        }


        /* متن در صفحه جزئیات در موبایل وسط باشد */
        @media (max-width: 768px) {
            .detail-content {
                text-align: center !important;
            }

            .title-divider {
                margin: 15px auto !important;
            }

            .big-price {
                justify-content: center;
            }
        }

        /* ================== SEARCH BOX LUXURY - آیکون ذره‌بین وسط + انیمیشن برگشت ================== */
        .search-container {
            position: relative;
            display: inline-block;
        }

        .search-box {
            font-size: 17px;
            border: solid 2.8px #afadad53;
            border-radius: 50px;
            overflow: hidden;
            transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
            background: rgba(255, 255, 255, 0.03);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
        }

        .search-box input[type="text"] {
            font-family: 'Vazirmatn', 'Montserrat', sans-serif;
            font-weight: 600;
            width: 35px;
            height: 35px;

            border: none;
            background: transparent;
            color: white;
            box-sizing: border-box;
            border-radius: 50px;
            transition:
                width 0.95s cubic-bezier(0.19, 1, 0.22, 1),
                padding 0.95s cubic-bezier(0.19, 1, 0.22, 1),
                background 0.7s ease 0.3s;
            text-align: right;
            direction: rtl;
            letter-spacing: 0.8px;
            outline: none;
        }

        .search-box input[type="text"]::placeholder {
            color: transparent;
            transition: color 0.4s ease 0.6s;
        }

        .search-box input[type="text"]:focus::placeholder {
            color: #cccccc;
        }

        /* وقتی باز شد */
        .search-box input[type="text"]:focus,
        .search-box input[type="text"]:not(:placeholder-shown) {
            width: 320px;
            padding: 0 70px 0 28px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
        }

        /* آیکون ذره‌بین وسط */
        .search-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 17px;
            color: white;
            pointer-events: none;
            z-index: 10;
            transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
        }

        /* وقتی باز شد: آیکون به راست بره و سبز بشه */
        .search-box input[type="text"]:focus~.search-icon,
        .search-box input[type="text"]:not(:placeholder-shown)~.search-icon {
            display: none;
        }

        /* موبایل */
        @media (max-width: 768px) {

            .search-box input[type="text"]:focus,
            .search-box input[type="text"]:not(:placeholder-shown) {
                width: 160px;
            }

            .search-box {
                font-size: 16px;
            }

            .search-box input[type="text"] {
                height: 35px;
                width: 35px;
            }
        }

        .cart-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.05);
            padding: 10px;
            border-radius: 10px;
            margin-bottom: 10px;
        }

        .cart-item img {
            width: 40px;
            height: 40px;
            border-radius: 8px;
        }

        /* --- ANIMATIONS --- */
        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }
        }

        /* ================== CART SIDEBAR PROFESSIONAL & LUXURY ================== */
        .cart-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            height: 100%;
            width: 380px;
            background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(5, 5, 5, 0.95));
            backdrop-filter: blur(20px);
            z-index: 200;
            padding: 20px;
            transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            box-shadow: -10px 0 50px rgba(0, 0, 0, 0.6);
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
        }

        html[dir="ltr"] .cart-sidebar {
            right: auto;
            left: 0;
            transform: translateX(-100%);
            box-shadow: 10px 0 50px rgba(0, 0, 0, 0.6);
        }

        .cart-sidebar.open {
            transform: translateX(0) !important;
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 15px;
        }

        .cart-header h3 {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .cart-header i {
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: 0.3s;
        }

        .cart-header i:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .cart-items-container {
            flex: 1;
            overflow-y: auto;
            padding-right: 5px;
        }

        .cart-items-container::-webkit-scrollbar {
            width: 4px;
        }

        .cart-items-container::-webkit-scrollbar-track {
            background: transparent;
        }

        .cart-items-container::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
        }

        /* آیتم حرفه‌ای سبد خرید */
        .cart-item-pro {
            display: flex;
            align-items: center;
            gap: 14px;
            background: rgba(255, 255, 255, 0.06);
            padding: 16px;
            border-radius: 18px;
            margin-bottom: 14px;
            position: relative;
            transition: all 0.4s ease;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .cart-item-pro:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

 .cart-item-pro img {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    object-fit: contain;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
}

        .cart-item-info {
            flex: 1;
        }

        .cart-item-name {
            font-weight: 600;
            font-size: 15px;
            line-height: 1.4;
            margin-bottom: 4px;
        }

        .cart-item-price {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: #b3b7b4;
            opacity: 0.9;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 30px;
            padding: 6px 8px;
        }

        .qty-btn {
            width: 36px;
            height: 36px;
            background: transparent;
            border: none;
            color: white;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .qty-btn:hover {
            background: #4ade80;
            transform: scale(1.15);
        }

        .qty-number {
            min-width: 36px;
            text-align: center;
            font-weight: bold;
            font-size: 16px;
            color: #4ade80;
        }

        .cart-delete {
            color: #ff5555;
            cursor: pointer;
            font-size: 18px;
            opacity: 0.7;
            transition: 0.3s;

            border-radius: 50%;
        }


        .out-of-stock-card {
            opacity: 0.6;
            position: relative;
        }

        .out-of-stock-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(255, 85, 85, 0.9);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: bold;
            backdrop-filter: blur(4px);
            z-index: 10;
        }

        .detail-out-of-stock-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.8);
            color: #ff5555;
            padding: 20px 40px;
            border-radius: 20px;
            font-size: 28px;
            font-weight: bold;
            border: 3px solid #ff5555;
            z-index: 10;
        }

        .variant-out-of-stock {
            opacity: 0.5;
            pointer-events: none;
        }

        .variant-stock-status {
            color: #ff5555;
            font-size: 12px;
            font-weight: bold;
            margin-top: 4px;
        }

        .out-of-stock-btn {
            background: #444 !important;
            color: #aaa !important;
            cursor: not-allowed !important;
        }

        .cart-delete:hover {
            opacity: 1;

            transform: scale(1.1);
        }

        .cart-item-total {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 16px;
            color: #4ade80;
            text-align: left;
            margin-top: 8px;
            padding-left: 76px;
        }

        /* جمع کل */
        .cart-footer {
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
        }

        .cart-total-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            font-size: 18px;
            font-weight: 700;
        }

        .card-bottom-bar {
            margin-top: 10px;
            align-items: center;
            justify-content: center;
            display: flex;
            width: 100px;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(6px);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .card-bottom-bar hr {
            height: 36px;
            color: #624d4d59;
            border-color: #f4f4f424;
            border-radius: 50%;
        }

        .card-bottom-bar div {
            /* flex: 1; */
            /* padding: 10px 0; */
            text-align: center;
            font-size: 14px;
            width: 60px;
            height: 39px;
            display: flex;
            justify-content: center;
            gap: 6px;
            align-items: center;
            cursor: pointer;
            user-select: none;
        }

        /* ❤️ بخش لایک */
        .like-part {
            color: #ff4d6d;
        }

        .like-part.liked {
            width: 40px;
            color: #ff1e4d !important;
        }



        /* 🛒 بخش افزودن به سبد */
        .cart-part {
            color: #e6e6e6;
            font-weight: 600;
        }

        .card-bottom-bar div:hover {
            background: rgba(255, 255, 255, 0.12);
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .grid-container {
                display: flex;
                width: 100%;
                grid-template-columns: none;
                align-items: center;
                justify-content: center;
                flex-direction: column;
            }

            header {
                padding: 0 20px;
            }

      .nav-links {
    overflow-x: auto;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    margin: 0;
    transform: translateY(59px);
    backdrop-filter: blur(5px);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    position: absolute;
    width: 93%;
    background: #0c0c0cdb;

    /* مهم‌ترین موارد */
    flex-wrap: nowrap;
}
            /* مخفی کردن منو در موبایل برای خلوتی */
            .detail-wrapper {
                flex-direction: column-reverse;
                text-align: center;
                padding-top: 20px;
            }

            html[dir="rtl"] .detail-content,
            html[dir="ltr"] .detail-content {
                text-align: center;
                padding: 20px;
            }

            .bg-typography {
                font-size: 20vw;
                top: 30%;
            }

            .main-drink-img {
                height: 300px;
                margin-bottom: 20px;
            }

            .detail-title {
                font-size: 36px;
                margin-top: 10px;
            }

            .big-price {
                font-size: 48px;
            }

            .title-divider {
                margin: 15px auto;
            }

            .detail-desc {
                margin: 0 auto 30px auto;
            }

            .action-group {
                justify-content: center;
            }

            .vertical-deco-line {
                display: none;
            }


        }


        @media (max-width:500px) {
            .drink-card {
                width: 99%;
            }
        }