﻿:root {
    --bg-light: #fff;
    --fg-light: #aebc80;
    --card-light: #ffffff;
    --bg-dark: #1e1f25;
    --fg-dark: #f0f0f0;
    --card-dark: #2c2c35;
    --accent: #f39c12;
    --header-h: 60px;
    --radius: 8px;
    --safe-top: env(safe-area-inset-top);
    --safe-bottom: env(safe-area-inset-bottom);
    --title-color: #3a463d;
    --title-gray: #9c9c9d;
    --text-font: "IRANSans";
    --title-font: "IRANSans";
    --site-color: #aebc80;
    /* Visual height of the floating navbar (bar + the gap under it), and the
       space every scroller must reserve at the bottom so content clears it.
       --safe-bottom is added on top by whoever uses these. */
    --nav-h: 66px;
    --nav-clearance: 82px;
}


@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    src: url('../newSite/assets/fonts/IRANSansWeb.eot');
    src: url('../newSite/assets/fonts/IRANSansWeb.eot?#iefix') format("embedded-opentype"), url('../newSite/assets/fonts/IRANSansWeb.woff2') format("woff2"), url('../newSite/assets/fonts/IRANSansWeb.woff') format("woff"), url('../newSite/assets/fonts/IRANSansWeb.ttf') format("truetype");
}


section::-webkit-scrollbar {
    display: none;
}

div::-webkit-scrollbar {
    display: none;
}

ul::-webkit-scrollbar {
    display: none;
}

label, span, h1, h2, h3, h4, a {
    position: relative;
    font-family: var(--title-font);
    font-weight: 700;
    color: var(--title-color);
}


html, body {
    width: 100%;
    height: 100%;
    font-family: 'IRANSans', 'Segoe UI', sans-serif;
    direction: rtl;
    margin: 0;
    /*
        No padding-top here.

        html/body are not the scroller — .content-wrapper is — so a safe-area
        padding on them is a strip the page can never scroll into: in a
        standalone PWA it showed as a solid band under the status bar with the
        content stopping short of it. The clearance belongs inside the scroller,
        where it is padding the first row can scroll up through.
    */
}

    /* THEME */
    body.light {
        background: var(--bg-light);
        color: var(--fg-light);
    }

    body.dark {
        background: var(--bg-dark);
        color: var(--fg-dark);
    }









.content-wrapper {
    height: 100%;
    /* --safe-top is part of this padding now that html/body no longer carry it. */
    padding: calc(var(--header-h) + var(--safe-top) + 8px) 0 calc(var(--nav-clearance) + var(--safe-bottom));
    overflow-y: auto;
    overflow-x: hidden;
}



/*
@media (display-mode: standalone) {
    html, body {
        background-color: var(--site-color) !important;
    }
    header {
        padding-top: env(safe-area-inset-top) !important;
    }
    .content-wrapper {
        height: 100%;
        padding-top: env(safe-area-inset-top) !important;
        padding-bottom: env(safe-area-inset-bottom);
        overflow-y: auto;
        overflow-x: hidden;
    }

    #scCartModal, #chatModal, #slidePanel {
        padding-top: env(safe-area-inset-top) !important;
    }
}



*/



/*@media (display-mode: standalone), (-webkit-touch-callout: none) {

    html, body {
        background-color: var(--site-color) !important;
    }

    header {
        padding-top: env(safe-area-inset-top) !important;
    }

    .content-wrapper {
        height: 100%;
        padding-top: env(safe-area-inset-top) !important;
        padding-bottom: env(safe-area-inset-bottom);
        overflow-y: auto;
        overflow-x: hidden;
    }

    #scCartModal, #chatModal, #slidePanel {
        padding-top: env(safe-area-inset-top) !important;
    }
}*/



/*.pwa-mode header {
    padding-top: env(safe-area-inset-top) !important;
}
*/
/* Standalone (installed PWA): same clearances as the browser tab — the header
   and the floating navbar are fixed in both cases, so the content still has to
   scroll clear of them, plus the home-indicator inset at the bottom.

   --safe-top matters more here than anywhere else: this is the case where the
   status bar sits over the page. The rule used to omit it and rely on a
   padding-top on body, which is a strip the scroller can never reach — so the
   page stopped short of the status bar instead of running under it. */
.pwa-mode .content-wrapper {
    height: 100%;
    padding: calc(var(--header-h) + var(--safe-top) + 8px) 0 calc(var(--nav-clearance) + var(--safe-bottom));
    overflow-y: auto;
    overflow-x: hidden;
}


.pwa-mode #scCartModal,
.pwa-mode #chatModal,
.pwa-mode #slidePanel {
    padding-top: env(safe-area-inset-top) !important;
}





















/* ===== Header (Updated) ===== */
.mobile-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: calc(var(--header-h) + var(--safe-top));
    padding: calc(13px + var(--safe-top)) 10px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 200;
    background: var(--bg-light);
    backdrop-filter: blur(10px);
    justify-content: space-between;
}


.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 7px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}


.page-title {
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.icon-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: transform .08s ease, background .2s, color .2s;
}

    .icon-btn:hover {
        background: rgba(0, 0, 0, .06);
    }

/* Search Box */
.search-box {
    width: 95vw;
    background: #f0f0f1;
    padding: 3px;
    color: inherit;
    border-radius: var(--radius);
    display: block;
    z-index: 1000;
}

    .search-box a {
        width: 100%;
        height: 100%;
        display: inline-block;
    }

    .search-box input {
        width: 100%;
        padding: 11px;
        border-radius: 12px;
        border: 1px solid #ccc;
        outline: none;
    }


        .search-box input::placeholder {
            color: #aebc80;
            font-family: IRANSans;
            font-size: 0.8rem;
        }


    .search-box button {
        position: absolute;
        left: 22vw;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #aebc80;
        font-size: 18px;
        cursor: pointer;
    }

        .search-box button:hover {
            color: var(--accent);
        }

/* Side Menu (Slide-in Animation) */
.slide-in {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background-color: var(--card-light);
    z-index: 999;
    transition: right 0.5s ease-in-out;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.1);
}

    .slide-in.show {
        right: 0;
    }

    /* Category Menu Items */
    .slide-in button {
        background: none;
        border: none;
        color: var(--fg-light);
        font-size: 18px;
        padding: 15px;
        width: 100%;
        text-align: left;
    }

        .slide-in button:hover {
            background: var(--accent);
            color: #fff;
        }

/* Category Dropdown Menu */
.category-menu {
    display: none;
    padding-left: 20px;
}

.category-toggle.active + .category-menu {
    display: block;
}

/* Bottom Navbar (Footer Navigation) */

:root {
    --brand-color: #aebc80;
    --brand-light: #c4d39e;
    --brand-dark: #8a9960;
    --brand-rgb: 174, 188, 128;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: 65px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    /*    padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 20px);*/
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(var(--nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
}

/* Dark mode support */
body.dark .mobile-nav {
    background: rgba(30, 31, 37, 0.95);
}

body.dark .nav-icon {
    fill: #9ca3af;
}

/* Navigation Items - Now as <a> tags */
a.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

    /* Remove default link styles */
    a.nav-item:link,
    a.nav-item:visited,
    a.nav-item:hover,
    a.nav-item:active {
        text-decoration: none;
        color: inherit;
    }

    /* Morphing Shape Background */
    a.nav-item::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 55px;
        height: 45px;
        background: linear-gradient(135deg, var(--brand-color), var(--brand-light));
        border-radius: 15px;
        transform: translate(-50%, -50%) scale(0);
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: -1;
        box-shadow: 0 8px 25px rgba(var(--brand-rgb), 0.35);
    }

    a.nav-item.active::before {
        transform: translate(-50%, -50%) scale(1);
        animation: morph 3s ease-in-out infinite;
    }

/* Morphing Animation */
@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    }

    75% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Elevated Effect for Active */
a.nav-item.active {
    transform: translateY(-15px);
}

/* Icon Styling */
.nav-icon {
    width: 24px;
    height: 24px;
    fill: #6b7280;
    stroke: transparent;
    transition: all 0.3s ease;
    z-index: 2;
}

a.nav-item.active .nav-icon {
    fill: white;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Label */
.nav-label {
    position: absolute;
    bottom: -8px;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

a.nav-item.active .nav-label {
    opacity: 1;
    transform: translateY(0);
    color: var(--brand-color);
}

/* Badge */
.badge {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: badge-pop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes badge-pop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Click Effect */
a.nav-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--brand-rgb), 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 50%;
    pointer-events: none;
}

a.nav-item:active::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
}

/* Page Content */
.page-content {
    display: none;
    padding: 20px;
    text-align: center;
    color: white;
}

    .page-content.active {
        display: block;
        animation: fadeIn 0.4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 360px) {
    a.nav-item {
        width: 50px;
    }

    .nav-icon {
        width: 22px;
        height: 22px;
    }

    a.nav-item::before {
        width: 48px;
        height: 40px;
    }
}

/* Tablets and larger phones */
@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-nav {
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 30px 30px 0 0;
    }
}

/* Safe area support for notched devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-nav {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}


/* Chat Box Styles */
.chat-box {
    position: fixed;
    bottom: 80px;
    right: 50%;
    transform: translateX(50%);
    width: 90%;
    max-width: 400px;
    height: 350px;
    background: var(--card-light);
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
}

.chat-header {
    background: #aebc80;
    color: #fff;
    padding: 14px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
}

.chat-message {
    padding: 10px 14px;
    border-radius: var(--radius);
    max-width: 80%;
}

    .chat-message.user {
        background: #aebc80;
        color: #fff;
        align-self: flex-end;
    }

    .chat-message.bot {
        background: #eee;
        color: #333;
        align-self: flex-start;
    }

.chat-input {
    display: flex;
    border-top: 1px solid #ccc;
    padding: 6px;
    gap: 6px;
}

    .chat-input input[type="text"] {
        flex: 1;
        padding: 10px;
        border-radius: var(--radius);
        border: 1px solid #ccc;
    }

    .chat-input button {
        background: #aebc80;
        color: #fff;
        padding: 0 14px;
        border-radius: 12px;
        cursor: pointer;
        border: 0;
    }

        .chat-input button:hover {
            background: var(--accent);
        }

/* File Input */
#fileInput {
    display: none;
}

#fileLabel {
    background: #aebc80;
    color: white;
    padding: 10px 14px;
    border-radius: var(--radius);
    cursor: pointer;
}


img {
    width: 100%;
    height: 100%;
}

.Mobile-Slider-Section {
    margin: 8px 0;
    overflow-x: scroll;
}

    .Mobile-Slider-Section img {
        border-radius: 10px;
    }

    .Mobile-Slider-Section a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .Mobile-Slider-Section ul {
        display: flex;
        flex-wrap: nowrap;
        list-style-type: none;
    }

        .Mobile-Slider-Section ul li {
            padding: 0;
            margin: 0 8px;
        }


.Mobile-Package-Section {
    margin: 0 auto;
    overflow: scroll;
}

    .Mobile-Package-Section div {
        display: inline-flex;
    }

    .Mobile-Package-Section a {
        width: 100%;
        height: 100%;
        display: inline-flex;
    }

    .Mobile-Package-Section ul {
        display: flex;
        flex-wrap: nowrap;
        list-style: none;
        padding: 0;
    }

        .Mobile-Package-Section ul li {
            width: 65vw;
            margin: 0 3px;
            height: 155px;
        }

        .Mobile-Package-Section ul li {
            border-radius: var(--radius);
        }

    .Mobile-Package-Section img {
        border-radius: var(--radius);
    }




.Mobile-Brand-Section {
    margin: 6px auto;
    overflow-y: hidden;
    overflow-x: scroll;
}

    .Mobile-Brand-Section p {
        font-size: 11px;
        margin: 0;
        font-weight: bold;
        color: var(--title-gray);
    }

    .Mobile-Brand-Section div {
        display: inline-flex;
    }

    .Mobile-Brand-Section a {
        width: 75px;
        height: 75px;
        display: inline-flex;
    }

    .Mobile-Brand-Section ul {
        display: flex;
        flex-wrap: nowrap;
        list-style: none;
        padding: 0;
        margin: 0 0 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        list-style: none;
    }

        .Mobile-Brand-Section ul::-webkit-scrollbar {
            width: 0;
            height: 0;
        }

        .Mobile-Brand-Section ul li {
            width: 100px;
            max-height: max-content;
            text-align-last: center;
        }

    .Mobile-Brand-Section img {
        border-radius: 8px;
    }

.Mobile-FreePost-Section {
    margin: 0 5px 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    place-self: anchor-center;
}

    .Mobile-FreePost-Section img {
        border-radius: 8px;
    }

    .Mobile-FreePost-Section a {
        width: 97vw;
        display: inline-block;
    }

.ExpireTime-topDetail {
    display: flex;
    justify-content: space-between;
    padding: 2px 20px !important;
    font-size: 0.9rem !important;
}

    .ExpireTime-topDetail a {
        text-decoration: none;
    }

.Mobile-ExpireTime-Section {
    margin: 0 auto;
    padding: 10px 0;
}

    .Mobile-ExpireTime-Section ul {
        display: flex;
        overflow: scroll;
        padding-right: 9px;
        font-size: 0.7rem;
        color: #3b3b3b;
        margin-bottom: 10px;
        margin-top: 14px;
    }

    .Mobile-ExpireTime-Section p {
        display: flex;
        padding-right: 10px;
        font-size: 0.8rem;
        color: #3b3b3b;
        margin: 0;
        padding: 0;
        align-items: center;
    }

.Detail-box {
    padding-right: 5px;
    padding-bottom: 12px;
}

    .Detail-box label {
        font-weight: bold;
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .Detail-box p {
        position: absolute;
        bottom: 10px;
    }

.Expire_inner-div {
    display: flex;
    flex-direction: column;
    background: #e1d8c5;
    padding-top: 10px;
}

.Mobile-ExpireTime-Section li:first-child {
    border-radius: 0 7px 7px 0;
}

.Mobile-ExpireTime-Section li:last-child {
    border-radius: 7px 0 0 7px;
}

.Mobile-ExpireTime-Section li {
    width: 32vw;
    margin: 0 2px;
    list-style: none;
    background-color: white;
    padding-bottom: 12px;
    position: relative;
}


    .Mobile-ExpireTime-Section li a {
        width: 32vw;
        display: inline-flex;
    }


.Mobile-ExpireTime-Section .detail-discount-amount {
    color: #ccc;
    text-decoration: line-through;
}

.Mobile-ExpireTime-Section .detail-real-amount {
    color: darkred;
    margin: 0 7px;
}

.imgBox-expiretime {
    width: 25px;
    height: 25px;
    display: inline-block;
}

.Mobile-TwoBanner-Section {
    padding: 9px 0;
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

    .Mobile-TwoBanner-Section a {
        width: 48vw;
    }

        .Mobile-TwoBanner-Section a img {
            border-radius: var(--radius);
        }




.Mobile-TwoBanner-Section-SevenThree {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

    .Mobile-TwoBanner-Section-SevenThree .seven {
        width: 63vw;
    }

    .Mobile-TwoBanner-Section-SevenThree .three {
        width: 33vw;
    }

    .Mobile-TwoBanner-Section-SevenThree a img {
        border-radius: var(--radius);
    }

    .Mobile-TwoBanner-Section-SevenThree a {
        height: 100px;
    }









/*--- start search ---*/
.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    z-index: 100;
}

    .menu-btn:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        transform: scale(1.05);
    }

    .menu-btn span {
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

/* پنل کشویی تمام صفحه */
.slide-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #f8f8f8;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .slide-panel.active {
        right: 0;
    }

/* هدر پنل با جستجو */
.panel-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* بخش بالایی هدر */
.header-top {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

    .header-top .close-btn {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #666 !important;
        padding: 5px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

.close-btn:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
}

.header-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* بخش جستجو */
.search-container {
    padding: 15px 20px 20px;
    position: relative;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
}

    .search-input:focus {
        border-color: var(--brand-color);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    }

    .search-input::placeholder {
        color: #999;
    }

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 20px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input:focus ~ .search-icon {
    color: #007bff;
}

.clear-search {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    display: none;
    transition: all 0.2s ease;
}

    .clear-search:hover {
        color: #666;
        transform: translateY(-50%) scale(1.1);
    }

    .clear-search.show {
        display: block;
    }

/* دکمه جستجو */
.search-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand-color);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .search-btn:hover {
        background: #0056b3;
        transform: translateY(-50%) scale(1.1);
    }

    .search-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

/* محتوای پنل */
.panel-content {
    padding: 10px 0;
    flex: 1;
    overflow-y: auto;
}

/* بخش جستجوها */
.search-section {
    background: #fff;
    margin: 15px;
    border-radius: 16px;
    padding: 9px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.section-title {
    font-size: 16px !important;
}

.tags-container {
    font-size: 12px !important;
}

.search-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
}

.section-title {
    font-size: 15px;
    color: #444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.trash-icon {
    color: #999;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
    padding: 5px;
    border-radius: 50%;
}

    .trash-icon:hover {
        color: #e74c3c;
        background: #fee;
        transform: rotate(-10deg) scale(1.1);
    }

/* تگ‌ها */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--brand-color);
    border: none;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

    .tag::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .tag:hover::before {
        width: 120%;
        height: 120%;
    }

    .tag:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .tag:active {
        transform: translateY(0);
    }

    .tag.secondary {
        background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
        color: #333;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

        .tag.secondary:hover {
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

/* محتوای اصلی صفحه */
.main-content {
    text-align: center;
    padding: 20px;
}

    .main-content h1 {
        color: #333;
        margin-bottom: 20px;
        font-size: 28px;
    }

    .main-content p {
        color: #666;
        margin-bottom: 10px;
        font-size: 16px;
    }

/* انیمیشن برای تگ‌ها */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-panel.active .tag {
    animation: slideIn 0.4s ease forwards;
}

    .slide-panel.active .tag:nth-child(1) {
        animation-delay: 0.05s;
    }

    .slide-panel.active .tag:nth-child(2) {
        animation-delay: 0.1s;
    }

    .slide-panel.active .tag:nth-child(3) {
        animation-delay: 0.15s;
    }

    .slide-panel.active .tag:nth-child(4) {
        animation-delay: 0.2s;
    }

    .slide-panel.active .tag:nth-child(5) {
        animation-delay: 0.25s;
    }

    .slide-panel.active .tag:nth-child(6) {
        animation-delay: 0.3s;
    }

/* نتایج جستجو */
.search-results {
    display: none;
    background: #fff;
    margin: 15px;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .search-results.show {
        display: block;
    }

.result-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .result-item:hover {
        background: #f8f8f8;
        padding-right: 20px;
    }

    .result-item:last-child {
        border-bottom: none;
    }

.no-results {
    text-align: center;
    color: #999;
    padding: 30px;
    font-size: 15px;
}



/*--- end search ---*/



#installButton {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

    #installButton:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
    }

    #installButton:active {
        transform: translateY(0);
    }

    #installButton.hidden {
        display: none;
    }

.status {
    margin-top: 30px;
    padding: 15px;
    background: #ecf0f1;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 14px;
    display: none;
}

    .status.show {
        display: block;
    }

    .status.success {
        background: #d5f4e6;
        color: #27ae60;
    }

    .status.info {
        background: #d6eaf8;
        color: #2980b9;
    }














.Mobile-ScrollBanner-Section {
}

    .Mobile-ScrollBanner-Section a {
    }

    .Mobile-ScrollBanner-Section img {
    }
