:root {
    --bg: #08070b;
    --bg-soft: #100d14;
    --card: #16121c;
    --card-hover: #1d1725;

    --primary: #8b3dff;
    --primary-dark: #6824d4;

    --purple: #9b4dff;
    --purple-light: #b77aff;

    --orange: #ff7a00;
    --orange-light: #ff9a3d;

    --red: #ff4d3d;

    --white: #ffffff;
    --text: #eeeeee;
    --muted: #99919f;
    --muted-dark: #68616f;

    /* Shared surface colors */
    --light: #100d14;
    --card-bg: #16121c;

    --border: rgba(255, 255, 255, 0.08);

    --shadow:
        0 15px 45px rgba(0, 0, 0, 0.38);

    --shadow-purple:
        0 10px 35px rgba(139, 61, 255, 0.22);

    --shadow-orange:
        0 10px 35px rgba(255, 122, 0, 0.20);

    --radius: 18px;
    --radius-sm: 12px;

    --container: 1250px;
    --header-height: 78px;

    --transition:
        0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================================
   LIGHT MODE
========================================================= */

body.light {
    --bg: #f5f3f7;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --card-hover: #faf8fc;

    --white: #111111;
    --text: #222222;
    --muted: #66606b;
    --muted-dark: #88818e;

    --border: rgba(0, 0, 0, 0.08);

    --light: #f5f3f7;
    --card-bg: #ffffff;

    --shadow:
        0 15px 40px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    font-family:
        "Vazirmatn",
        Tahoma,
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);
    line-height: 1.8;

    overflow-x: hidden;

    transition:
        background var(--transition),
        color var(--transition);
}

body.no-scroll {
    overflow: hidden;
}

button,
input {
    font-family: inherit;
}

button {
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--purple);
    color: #fff;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            180deg,
            var(--purple),
            var(--orange)
        );

    border-radius: 20px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: var(--header-height);

    background:
        rgba(8, 7, 11, 0.90);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.20);

    transition:
        background var(--transition),
        box-shadow var(--transition);
}

body.light .header {
    background:
        rgba(255, 255, 255, 0.92);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.07);
}

.header-content {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: max-content;
}

.logo-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #fff;
    font-size: 20px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    box-shadow:
        0 8px 25px rgba(139, 61, 255, 0.30);
}

.logo strong {
    display: block;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 1px;
    line-height: 1.1;
}

.logo strong span {
    color: var(--orange);
}

.logo small {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 8px;
    letter-spacing: 2px;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.icon-btn,
.favorites-nav-button,
.cart-btn {
    height: 43px;

    border-radius: 13px;
    border: 1px solid var(--border);

    background: var(--card);
    color: var(--text);

    transition: var(--transition);
}

.icon-btn {
    width: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
}

.icon-btn:hover {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    border-color: transparent;

    transform: translateY(-2px);
}

.favorites-nav-button {
    padding: 0 14px;

    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 13px;
    font-weight: 700;
}

.favorites-nav-button i {
    color: var(--purple-light);
    font-size: 15px;
}

.favorites-nav-button:hover {
    background:
        rgba(139, 61, 255, 0.12);

    border-color:
        rgba(139, 61, 255, 0.35);

    transform: translateY(-2px);
}

.cart-btn {
    position: relative;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 15px;

    font-size: 13px;
    font-weight: 700;
}

.cart-btn i {
    color: var(--orange);
    font-size: 16px;
}

.cart-btn b {
    min-width: 21px;
    height: 21px;

    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    color: #fff;
    font-size: 10px;
}

.cart-btn:hover {
    border-color:
        rgba(139, 61, 255, 0.40);

    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height:
        calc(100vh - var(--header-height));

    min-height:
        calc(100svh - var(--header-height));

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 40%,
            rgba(139, 61, 255, 0.22),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 122, 0, 0.16),
            transparent 30%
        ),
        #08070b;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        url("assest/images/Hero.webp")
        center / cover;

    opacity: 0.22;

    filter:
        saturate(0.7)
        contrast(1.1);

    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 3, 10, 0.94),
            rgba(8, 5, 12, 0.62),
            rgba(5, 3, 10, 0.90)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width:
        min(
            calc(100% - 40px),
            900px
        );

    text-align: center;

    padding: 80px 0;

    animation:
        heroIn 0.7s ease both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.hero-label {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 8px 14px;
    margin-bottom: 22px;

    border:
        1px solid rgba(255, 122, 0, 0.28);

    border-radius: 50px;

    background:
        rgba(255, 122, 0, 0.08);

    color: var(--orange);

    font-size: 12px;
    font-weight: 700;
}

.hero-label i {
    animation:
        firePulse 2s ease-in-out infinite;
}

@keyframes firePulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

.hero h1 {
    color: #fff;

    font-size:
        clamp(42px, 7vw, 82px);

    font-weight: 900;

    line-height: 1.25;

    letter-spacing: -2px;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            var(--purple-light),
            var(--orange)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero p {
    max-width: 600px;

    margin:
        20px auto 30px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size:
        clamp(14px, 2vw, 18px);
}

.hero-btn {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 14px 25px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    color: #fff;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 15px 35px rgba(139, 61, 255, 0.25);

    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(139, 61, 255, 0.35);
}


/* =========================================================
   MAIN
========================================================= */

main {
    position: relative;
}


/* =========================================================
   MENU SECTION
========================================================= */

.menu-section {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin: auto;

    padding:
        90px 0 110px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.section-tag {
    color: var(--orange);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 5px;

    font-size:
        clamp(30px, 5vw, 44px);

    font-weight: 900;
    line-height: 1.3;
}

.section-heading p {
    max-width: 360px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    height: 56px;

    margin-bottom: 22px;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background: var(--card);

    transition: var(--transition);

    overflow: hidden;
}

.search-box:focus-within {
    border-color:
        rgba(139, 61, 255, 0.60);

    box-shadow:
        0 0 0 4px
        rgba(139, 61, 255, 0.10);
}

.search-box > i {
    margin-right: 18px;

    color: var(--purple-light);
    font-size: 16px;
}

.search-box input {
    width: 100%;
    height: 100%;

    padding: 0 13px;

    border: none;
    outline: none;

    background: transparent;

    color: var(--text);

    font-size: 13px;
}

.search-box input::placeholder {
    color: var(--muted-dark);
}

#clearSearch {
    width: 45px;
    height: 100%;

    flex-shrink: 0;

    background: transparent;

    color: var(--muted);
}

#clearSearch:hover {
    color: var(--orange);
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories {
    position: sticky;

    top:
        calc(var(--header-height) + 12px);

    z-index: 100;

    display: flex;

    gap: 7px;

    margin-bottom: 32px;

    padding: 7px;

    overflow-x: auto;

    scrollbar-width: none;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background:
        rgba(15, 11, 20, 0.94);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18);

    /* Drag scroll */
    cursor: grab;

    user-select: none;
    -webkit-user-select: none;

    touch-action: pan-y;
}

.categories.dragging {
    cursor: grabbing;
}

body.light .categories {
    background:
        rgba(255, 255, 255, 0.94);
}

.categories::-webkit-scrollbar {
    display: none;
}

.category {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 110px;
    height: 44px;

    padding: 0 17px;

    border-radius: 12px;

    background: transparent;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    transition: var(--transition);

    user-select: none;
    -webkit-user-select: none;
}

.category i {
    font-size: 13px;
}

.category:hover {
    color: var(--text);

    background:
        rgba(139, 61, 255, 0.08);
}

.category.active {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    box-shadow:
        0 7px 20px rgba(139, 61, 255, 0.24);

    transform: translateY(-1px);
}


/* =========================================================
   MENU GRID
========================================================= */

.menu-grid {
    display: block !important;
}

.menu-category-section {
    width: 100%;

    display: block;

    margin-bottom: 55px;
}

.category-products {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   CATEGORY HEADING
========================================================= */

.menu-category-heading {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 22px;
}

.category-heading-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    box-shadow:
        0 8px 25px rgba(139, 61, 255, 0.20);
}

.category-heading-icon i {
    font-size: 18px;
}

.category-heading-text span {
    display: block;

    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.category-heading-text h2 {
    margin-top: 0;

    color: var(--text);

    font-size: 23px;
    font-weight: 900;

    line-height: 1.4;
}

.category-heading-line {
    flex: 1;

    height: 1px;

    margin-right: 10px;

    background:
        linear-gradient(
            to left,
            transparent,
            rgba(139, 61, 255, 0.35),
            rgba(255, 122, 0, 0.25)
        );
}


/* =========================================================
   MENU CARD
========================================================= */

.menu-card {
    position: relative;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--card);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.14);

    animation:
        cardIn 0.45s ease both;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

@keyframes cardIn {
    from {
        opacity: 0;

        transform:
            translateY(12px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

.menu-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(139, 61, 255, 0.30);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28),
        0 8px 30px rgba(139, 61, 255, 0.08);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.card-image {
    position: relative;

    height: 220px;

    overflow: hidden;

    background: #111;
}

.card-image::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 42%;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.50)
        );

    pointer-events: none;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.55s
        cubic-bezier(0.2, 0.65, 0.3, 1);
}

.menu-card:hover .card-image img {
    transform: scale(1.045);
}


/* =========================================================
   FAVORITE BUTTON
========================================================= */

.favorite {
    position: absolute;

    z-index: 3;

    top: 12px;
    left: 12px;

    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 11px;

    background:
        rgba(0, 0, 0, 0.52);

    backdrop-filter: blur(10px);

    color: #fff;

    font-size: 15px;

    transition: var(--transition);
}

.favorite:hover {
    transform: scale(1.06);

    background:
        rgba(139, 61, 255, 0.22);
}

.favorite.active {
    color: var(--orange);

    background:
        rgba(255, 122, 0, 0.14);
}


/* =========================================================
   CARD BODY
========================================================= */

.card-body {
    padding: 16px;
}

.card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}

.card-title {
    color: var(--text);

    font-size: 16px;
    font-weight: 800;
}

.card-price {
    color: var(--orange);

    font-size: 13px;
    font-weight: 900;

    white-space: nowrap;
}

.card-description {
    margin-top: 7px;

    min-height: 46px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.85;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 13px;
    padding-top: 12px;

    border-top:
        1px solid var(--border);
}

.rating {
    color: #ffc107;

    font-size: 11px;
}

.add-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    color: #fff;

    transition: var(--transition);
}

.add-btn:hover {
    transform: scale(1.07);

    box-shadow:
        0 8px 20px rgba(139, 61, 255, 0.25);
}


/* =========================================================
   FAVORITES SECTION
========================================================= */

.favorites-section {
    margin-top: 80px;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 24px;

    background: var(--bg-soft);

    display: none;
}

.favorites-section.show {
    display: block;
}

.favorites-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.favorite-card {
    position: relative;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background: var(--card);
}

.favorite-card > img {
    width: 100%;
    height: 190px;

    object-fit: cover;

    display: block;
}

.favorite-card-info {
    padding: 18px;

    text-align: right;
}

.favorite-card-info h3 {
    margin: 0 0 8px;

    font-size: 18px;
    font-weight: 700;
}

.favorite-price {
    display: block;

    margin-bottom: 14px;

    color: var(--orange);

    font-size: 15px;
    font-weight: 700;
}

.favorite-add-cart {
    width: 100%;

    border: none;

    border-radius: 10px;

    padding: 12px 16px;

    cursor: pointer;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    transition: 0.25s ease;
}

.favorite-add-cart i {
    margin-right: 6px;
}

.favorite-add-cart:hover {
    transform:
        translateY(-2px);
}


/* =========================================================
   REMOVE FAVORITE
========================================================= */

.remove-favorite {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 36px;
    height: 36px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 5;

    font-size: 16px;

    color: #fff;

    background:
        rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(8px);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.remove-favorite:hover {
    transform: scale(1.08);

    background:
        var(--orange);
}

.remove-favorite i {
    pointer-events: none;
}


/* =========================================================
   EMPTY FAVORITES
========================================================= */

.empty-favorites {
    width: 100%;

    min-height: 260px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px 20px;

    border-radius: 18px;
}

.empty-favorites > i {
    color: var(--purple-light);

    font-size: 54px;

    margin-bottom: 18px;
}

.empty-favorites h3 {
    margin: 0 0 10px;

    font-size: 20px;
    font-weight: 700;
}

.empty-favorites p {
    margin: 0;

    line-height: 1.9;

    font-size: 14px;

    opacity: 0.75;
}


/* =========================================================
   FAVORITES CLOSE
========================================================= */

.close-favorites {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 18px;

    color: var(--text);

    background: var(--card);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.close-favorites:hover {
    transform: rotate(90deg);

    background:
        var(--purple);
}


/* =========================================================
   CART OVERLAY
========================================================= */

.drawer-overlay {
    position: fixed;

    inset: 0;

    z-index: 1998;

    background:
        rgba(0, 0, 0, 0.70);

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   CART DRAWER
========================================================= */

.cart-drawer {
    position: fixed;

    z-index: 1999;

    top: 0;
    right: 0;

    width:
        min(430px, 92vw);

    height: 100vh;

    background: var(--bg-soft);

    border-left:
        1px solid var(--border);

    transform:
        translateX(105%);

    transition: 0.4s ease;
}

.cart-drawer.active {
    transform:
        translateX(0);
}


/* =========================================================
   CART CONTENT
========================================================= */

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px;

    border-bottom:
        1px solid var(--border);
}

.drawer-header span {
    color: var(--orange);

    font-size: 11px;
    font-weight: 700;
}

.drawer-header h3 {
    margin-top: 2px;

    font-size: 22px;
    font-weight: 900;
}

#closeCart {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: var(--card);

    color: var(--muted);

    transition: var(--transition);
}

#closeCart:hover {
    color: #fff;

    background:
        var(--purple);

    transform: rotate(90deg);
}

.cart-items {
    height:
        calc(100vh - 180px);

    overflow-y: auto;

    padding: 20px;
}

.empty-cart {
    height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: var(--muted);
}

.empty-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 20px;

    background:
        rgba(139, 61, 255, 0.10);

    color: var(--purple-light);

    font-size: 25px;
}

.empty-cart h3 {
    color: var(--text);

    font-size: 18px;
}

.empty-cart p {
    margin-top: 4px;

    font-size: 12px;
}


/* =========================================================
   CART ITEM
========================================================= */

.cart-item {
    display: flex;

    gap: 13px;

    padding: 13px;
    margin-bottom: 12px;

    border:
        1px solid var(--border);

    border-radius: 16px;

    background: var(--card);
}

.cart-item img {
    width: 82px;
    height: 82px;

    object-fit: cover;

    border-radius: 11px;
}

.cart-item-info {
    flex: 1;
}

.quantity {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 9px;
}

.quantity button {
    width: 27px;
    height: 27px;

    border-radius: 8px;

    background: var(--bg);

    color: var(--text);

    border:
        1px solid var(--border);

    transition: var(--transition);
}

.quantity button:hover {
    color: #fff;

    background:
        var(--purple);

    border-color:
        var(--purple);
}

.remove-item {
    background: none;

    color: var(--orange);

    font-size: 11px;
}


/* =========================================================
   CART FOOTER
========================================================= */

.cart-footer {
    position: absolute;

    bottom: 0;
    right: 0;

    width: 100%;

    padding: 20px 25px;

    border-top:
        1px solid var(--border);

    background: var(--bg-soft);
}

.total-row {
    display: flex;
    justify-content: space-between;

    margin-bottom: 15px;
}

.total-row strong span {
    color: var(--orange);
}

.checkout-btn {
    width: 100%;
    height: 52px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--orange)
        );

    color: #fff;

    font-weight: 800;

    transition: var(--transition);
}

.checkout-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(139, 61, 255, 0.25);
}


/* =========================================================
   PRODUCT MODAL
========================================================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.78);

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: relative;

    width:
        min(520px, 100%);

    overflow: hidden;

    border-radius: 23px;

    background: var(--bg-soft);

    border:
        1px solid var(--border);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);
}

.modal-close {
    position: absolute;

    z-index: 5;

    top: 14px;
    left: 14px;

    width: 38px;
    height: 38px;

    border-radius: 11px;

    background:
        rgba(0, 0, 0, 0.55);

    color: #fff;

    backdrop-filter: blur(8px);

    transition: var(--transition);
}

.modal-close:hover {
    background:
        var(--purple);

    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: 300px;

    object-fit: cover;
}

.modal-body {
    padding: 25px;
}

.modal-price {
    margin-top: 15px;

    color: var(--orange);

    font-size: 22px;
    font-weight: 900;
}


/* =========================================================
   NO RESULT
========================================================= */

.no-result {
    display: none;

    text-align: center;

    padding: 70px 20px;

    color: var(--muted);
}

.no-result i {
    margin-bottom: 15px;

    color: var(--purple-light);

    font-size: 45px;
}

.no-result h3 {
    color: var(--text);

    font-size: 20px;
}

.no-result p {
    margin-top: 5px;

    font-size: 13px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    border-top:
        1px solid var(--border);

    background:
        #060509;
}

.footer-content {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin: auto;

    padding: 55px 0;

    display: grid;

    grid-template-columns:
        1.5fr 1fr auto;

    gap: 50px;
}

.footer-logo {
    color: #fff;

    font-size: 20px;
    font-weight: 900;
}

.footer-logo i {
    margin-left: 7px;

    color: var(--orange);
}

.footer-brand p {
    margin-top: 12px;

    color: #777;

    font-size: 12px;
}

.footer-info {
    display: flex;
    flex-direction: column;

    gap: 13px;

    color: #999;

    font-size: 12px;
}

.footer-info i {
    width: 20px;

    margin-left: 5px;

    color: var(--purple-light);
}

.socials {
    display: flex;

    gap: 9px;
}

.socials a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid transparent;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.03);

    color: #aaa;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   INSTAGRAM HOVER
========================================================= */

.socials a[aria-label="Instagram"]:hover {
    color: #833ab4;

    background:
        rgba(217, 34, 83, 0.12);

    border-color:
        rgba(211, 123, 154, 0.35);

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 25px rgba(166, 110, 212, 0.20);
}


/* =========================================================
   TELEGRAM HOVER
========================================================= */

.socials a[aria-label="Telegram"]:hover {
    color: #229ED9;

    background:
        rgba(34, 158, 217, 0.12);

    border-color:
        rgba(34, 158, 217, 0.35);

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 25px rgba(34, 158, 217, 0.20);
}


/* =========================================================
   WHATSAPP HOVER
========================================================= */

.socials a[aria-label="WhatsApp"]:hover {
    color: #25D366;

    background:
        rgba(37, 211, 102, 0.12);

    border-color:
        rgba(37, 211, 102, 0.35);

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.20);
}


.copyright {
    padding: 18px;

    text-align: center;

    color: #666;

    font-size: 10px;

    border-top:
        1px solid rgba(255, 255, 255, 0.04);
}

.copyright strong {
    color: var(--orange);
}


/* =========================================================
   RESPONSIVE - 1050px
========================================================= */

@media (max-width: 1050px) {

    .category-products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .favorites-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        grid-template-columns:
            1fr 1fr;
    }
}


/* =========================================================
   RESPONSIVE - 700px
========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 68px;
    }

    .header-content {
        width:
            calc(100% - 24px);
    }

    .header-actions {
        gap: 6px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 39px;
        height: 39px;

        border-radius: 11px;

        font-size: 17px;
    }

    .logo strong {
        font-size: 16px;
    }

    .logo small {
        font-size: 7px;

        letter-spacing: 1.5px;
    }

    .icon-btn {
        width: 39px;
        height: 39px;
    }

    .cart-btn {
        height: 39px;

        padding: 0 10px;

        gap: 6px;
    }

    .cart-btn span {
        display: none;
    }

    .cart-btn i {
        font-size: 15px;
    }

    .menu-section {
        width:
            calc(100% - 24px);

        padding:
            55px 0 70px;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 10px;
    }

    .categories {
        top:
            calc(var(--header-height) + 4px);

        margin-bottom: 25px;

        border-radius: 15px;
    }

    .category {
        min-width: 95px;

        height: 42px;

        padding: 0 13px;
    }

    .menu-category-heading {
        gap: 10px;

        margin-bottom: 18px;
    }

    .category-heading-icon {
        width: 42px;
        height: 42px;

        border-radius: 12px;
    }

    .category-heading-icon i {
        font-size: 15px;
    }

    .category-heading-text h2 {
        font-size: 20px;
    }

    .category-products {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .menu-category-section {
        margin-bottom: 42px;
    }

    .card-image {
        height: 230px;
    }

    .hero-content {
        width:
            calc(100% - 24px);

        padding: 60px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-btn {
        padding: 13px 21px;
    }

    .favorites-section {
        padding: 20px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        width:
            calc(100% - 24px);

        grid-template-columns: 1fr;

        gap: 28px;

        padding:
            40px 0;
    }

    .socials {
        justify-content: flex-start;
    }

    .cart-drawer {
        width:
            min(430px, 100vw);
    }

    .product-modal {
        border-radius: 18px;
    }

    .modal-image {
        height: 240px;
    }
}


/* =========================================================
   RESPONSIVE - 400px
========================================================= */

@media (max-width: 400px) {

    .logo strong {
        font-size: 14px;
    }

    .logo small {
        display: none;
    }

    .logo-icon {
        width: 36px;
        height: 36px;

        font-size: 15px;
    }

    .header-actions {
        gap: 4px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .cart-btn {
        width: 36px;
        height: 36px;

        padding: 0;

        justify-content: center;
    }

    .cart-btn b {
        position: absolute;

        top: -5px;
        right: -5px;

        min-width: 18px;
        height: 18px;

        font-size: 9px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-label {
        font-size: 10px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .card-image {
        height: 210px;
    }

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

    .card-price {
        font-size: 12px;
    }

    .category {
        min-width: 88px;

        font-size: 11px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 340px) {

    .header-content {
        width:
            calc(100% - 16px);
    }

    .logo {
        gap: 6px;
    }

    .logo strong {
        font-size: 13px;
    }

    .logo-icon {
        width: 33px;
        height: 33px;
    }

    .icon-btn {
        width: 33px;
        height: 33px;
    }

    .cart-btn {
        width: 33px;
        height: 33px;
    }

    .menu-section {
        width:
            calc(100% - 16px);
    }

    .hero h1 {
        font-size: 32px;
    }

    .category {
        min-width: 82px;
    }
}


/* =========================================
   CHECKOUT INPUTS
========================================= */

.checkout-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;

    margin: 8px 0 18px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--card-bg);
    color: var(--text);

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.checkout-form input:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(139, 61, 255, 0.12);
}

.checkout-form input::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.checkout-form label {
    display: block;

    margin-bottom: 5px;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;
}
.categories.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.categories {
    cursor: grab;
    user-select: none;
}
.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    background: var(--light);
    color: var(--text);
    transition: 0.2s;
}

.checkout-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.08);
}

.checkout-input::placeholder {
    color: var(--muted);
}
/* =========================================================
   LIGHT MODE - HERO
========================================================= */

body.light .hero {
    background:
        radial-gradient(
            circle at 20% 40%,
            rgba(139, 61, 255, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 122, 0, 0.08),
            transparent 30%
        ),
        #f5f3f7;
}

body.light .hero::before {
    opacity: 0.10;
}

body.light .hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.92),
            rgba(255, 255, 255, 0.72),
            rgba(255, 255, 255, 0.92)
        );
}

body.light .hero h1 {
    color: #222;
}

body.light .hero p {
    color: rgba(34, 34, 34, 0.70);
}


/* =========================================================
   LIGHT MODE - FOOTER
========================================================= */

body.light .footer {
    background: #ffffff;
    border-top-color: rgba(0, 0, 0, 0.08);
}

body.light .footer-logo {
    color: #222;
}

body.light .footer-brand p {
    color: #66606b;
}

body.light .footer-info {
    color: #66606b;
}

body.light .footer-info i {
    color: var(--purple);
}

body.light .socials a {
    background: rgba(0, 0, 0, 0.03);
    color: #777;
    border-color: rgba(0, 0, 0, 0.06);
}

body.light .copyright {
    color: #888;
    border-top-color: rgba(0, 0, 0, 0.06);
}
/* ================================
   SIMPLE BLACK & WHITE THEME BUTTON
================================ */

.theme-btn {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--card);
    color: var(--text);

    font-size: 16px;

    cursor: pointer;

    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--card);
    color: var(--text);

    border-color: var(--border);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.theme-btn:active {
    transform: scale(0.94);
}


/* Light Mode */

body.light .theme-btn {
    background: #ffffff;
    color: #111111;

    border-color: rgba(0, 0, 0, 0.08);

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.06);
}

body.light .theme-btn:hover {
    background: #ffffff;
    color: #111111;

    border-color: rgba(0, 0, 0, 0.08);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.10);
}


/* Mobile */

@media (max-width: 400px) {
    .theme-btn {
        width: 38px;
        height: 38px;

        border-radius: 9px;
        font-size: 14px;
    }
}
/* ================= PAYMENT INFO ================= */

.payment-info {
    width: 100%;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;
}

.payment-info-item span {
    color: #999;
    font-size: 13px;
}

.payment-info-item strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}


/* LIGHT MODE */

body.light .payment-info-item {
    background: #f5f5f5;
    border-color: #e5e5e5;
}

body.light .payment-info-item span {
    color: #777;
}

body.light .payment-info-item strong {
    color: #222;
}


/* =========================================================
   CHECKOUT / PAYMENT - COMPLETE THEME
   Added without removing any existing rules
========================================================= */

.checkout-page {
    width: 100%;
    max-width: 100%;
    padding: 4px 0 8px;
    color: var(--text);
}

.checkout-title {
    text-align: center;
    margin-bottom: 22px;
}

.checkout-title span {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--orange);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.checkout-title h2 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.5;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}

.checkout-total span {
    color: var(--muted);
    font-size: 13px;
}

.checkout-total strong {
    color: var(--orange);
    font-size: 16px;
    font-weight: 900;
}

.payment-box {
    width: 100%;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(139, 61, 255, 0.10),
            transparent 42%
        ),
        var(--card);
    box-shadow:
        var(--shadow),
        var(--shadow-purple);
    text-align: center;
}

.payment-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 61, 255, 0.22);
    border-radius: 17px;
    background:
        linear-gradient(
            135deg,
            rgba(139, 61, 255, 0.16),
            rgba(255, 122, 0, 0.10)
        );
    color: var(--purple-light);
    font-size: 21px;
    box-shadow:
        0 10px 30px rgba(139, 61, 255, 0.14);
}

.payment-box h3 {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.payment-price {
    display: block;
    margin-top: 6px;
    color: var(--orange);
    font-size: 27px;
    font-weight: 900;
    line-height: 1.4;
}

.payment-info {
    margin: 22px 0;
}

.payment-info-item {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(139, 61, 255, 0.06),
            rgba(255, 122, 0, 0.035)
        );
    border-color: var(--border);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.payment-info-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 3px;
    background:
        linear-gradient(
            180deg,
            var(--purple),
            var(--orange)
        );
    border-radius: 0 14px 14px 0;
}

.payment-info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 61, 255, 0.20);
}

.payment-info-item span {
    color: var(--muted);
}

.payment-info-item strong {
    color: var(--text);
}

.checkout-form {
    width: 100%;
    margin-top: 4px;
}

.checkout-form input,
.checkout-input {
    background: var(--card);
    color: var(--text);
    border-color: var(--border);
}

.checkout-form input:focus,
.checkout-input:focus {
    border-color: rgba(139, 61, 255, 0.60);
    box-shadow:
        0 0 0 4px rgba(139, 61, 255, 0.10);
}

.checkout-form input::placeholder,
.checkout-input::placeholder {
    color: var(--muted-dark);
}

.checkout-form label {
    color: var(--text);
}

.payment-box .checkout-btn {
    margin-top: 5px;
}

.payment-box > small {
    display: block;
    margin-top: 13px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.cart-item-price {
    display: block;
    margin-top: 3px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
}

body.light .payment-box {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(139, 61, 255, 0.07),
            transparent 42%
        ),
        var(--card);
    box-shadow: var(--shadow);
}

body.light .payment-info-item {
    background:
        linear-gradient(
            135deg,
            rgba(139, 61, 255, 0.045),
            rgba(255, 122, 0, 0.025)
        );
}

@media (max-width: 700px) {
    .checkout-page {
        padding-bottom: 4px;
    }

    .payment-box {
        padding: 18px;
        border-radius: 18px;
    }

    .payment-price {
        font-size: 23px;
    }

    .payment-info-item {
        padding: 12px 14px;
    }

    .payment-info-item span,
    .payment-info-item strong {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .checkout-title h2 {
        font-size: 21px;
    }

    .payment-box {
        padding: 15px;
    }

    .payment-icon {
        width: 52px;
        height: 52px;
        font-size: 19px;
    }

    .payment-price {
        font-size: 21px;
    }
}

