@font-face {
    font-family: pershein;
    src: url('/fonts/IranSans/Sans a4fran3.woff2');
    font-display: swap;
}

@font-face {
    font-family: BStrap;
    src: url('/fonts/Bootstrap/bootstrap-icons.woff2')format('woff2');
    font-display: swap;
}

.BootIcon {
    font-family: BStrap;
    font-style: normal;
}

* {
    font-family: pershein;
    direction: rtl;
}

select {
    font-size: 12px;
}

:root {
    --bg: #f9fafb;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #2563eb;
    --secondary: #10b981;
    --border: #e5e7eb;
    --card: #ffffff;
    --bg-f: #0f172a;
    --bg-soft: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border-f: #1f2937;
}

.btn {
    text-decoration: none;
    white-space: nowrap;
}

html {
    scroll-behavior: smooth;
}

.icon-flex,
.menu-flex {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-flex .BootIcon {
    font-size: 20px;
    padding: 5px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    text-align: right;
    width: 100%;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.show {
    display: block;
}

a.subbit {
    color: rgb(78, 78, 78);
    font-size: 13px;
    padding: 5px;
}

.mobaile-active {
    display: none;
}

.mobaile-disabel {
    display: block;
}

.logo {
    width: 35px;
}

.count-cart {
    position: relative;
}

.count-cart label {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
    width: 13px;
    height: 14px;
    background-color: #FF725E;
    color: white;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.subbit.btn:hover {
    color: #2267ce;

}

.nav_bar a.btn:focus,
a.btn:active {
    box-shadow: none !important;
    outline: none !important;
}

.panel-search {
    display: none;
    justify-content: space-between;
    align-items: center;
}

.search-bar {
    width: 100%;
    position: relative;
    margin-top: 5px;
    font-size: 10px;
}

.input-search {
    position: relative;
}

.input-search i {
    color: #adadad;
    position: absolute;
    left: 10px;
    top: 11px;
    font-size: 18px;
}

#result {
    padding: 0;
    margin: 10px;
    margin-right: 15px;
    border-radius: 5px;
    position: absolute;
    display: flex;
    flex-direction: column;
    background: #eeeeee;
    z-index: 10;

}

#result div {
    display: flex;
    align-items: center;
}

#result img {
    width: 35px;
    height: 35px;
    margin-right: 5px;
    mix-blend-mode: multiply;
}

#result a {
    border-radius: 5px;
    color: rgb(78, 77, 77);
    padding: 10px;
    text-decoration: none;
    font-size: 12px;
    margin: 5px 0;
}

#result a:hover {
    background: #3e6eff;
    padding: 10px;
    color: white;
    text-decoration: none;
}

.search-bar input {
    width: 100%;
    height: 40px;
    padding-right: 15px;
    border-radius: 50px;
    border: 1px #e7e5e5 solid;
    text-indent: 5px;
}

.search-bar input:focus {
    border: 1px solid #008fb3;
    outline: none;
}

.panel-nav {
    padding: 20px 50px 0 50px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.nav_bar .cart {
    font-size: 20px;
}

.nav_bar span {
    background-color: #FF725E;
    color: #ffffff;
    font-size: 10px;
    border-radius: 50px;
    padding: 4px;
}

#result i {
    margin-right: 20px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.show {
    display: block;
}

.mySlides {
    display: none;
}

.mySlides {

    animation: slideimage 2s ease-in-out;
}


@keyframes slideimage {
    0% {
        opacity: 0;
        margin-left: 200px;
    }

    100% {
        opacity: 1;
        margin-left: 20px;
    }
}

@media screen and (max-width: 1100px) {
    .menu-flex {
        display: none;
    }

    .logo {
        margin-left: 5px;
    }
}

@media screen and (max-width: 700px) {
    .panel-nav {
        padding: 15px 10px 0 10px;
        display: flex;
    }

    .mobaile-active {
        display: block;
    }

    .mobaile-disabel {
        display: none;
    }

    .menu {
        display: inline-block;
    }

    .textwelcom {

        margin-top: auto;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 55px;
        background: azure;
        align-items: center;
        justify-content: space-around;
        z-index: 50;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
        padding-bottom: env(safe-area-inset-bottom, 0);

    }

    .bottom-nav a {
        color: #666;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 30px;
        text-align: center;
    }

    .bottom-nav p {

        font-size: 8px;
    }

    .bottom-nav a.active,
    .bottom-nav a:hover {
        color: #FF725E;
    }

    @media (max-width: 768px) {
        .bottom-nav {
            display: flex;
        }

        .bottom-nav a {
            margin-top: 9px;
            font-size: 20px;
        }
    }
}

.slideshow {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slidex {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    animation: fade 1s ease-in-out;
}

.slidex.active {
    display: flex;
    display: flex;
    justify-content: space-around;
}

.slidex img {
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-box {
    min-width: 250px;
    margin: 10px;
}

.text-box h2 {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FF725E;
}

.text-box p {
    font-size: 16px;
    color: #666;
}

.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
}

.dot.active {
    background-color: #333;
}

.toman {
    font-size: 10px;
}


@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.categories {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    flex: 1 1 200px;
    max-width: 150px;
    border-radius: 10px;
    border: 1px #d3d3d3 solid;
    text-align: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: -1px 2px 0px 0px #5fd3e0;
}

.card img {
    width: 120px;
    object-fit: contain;
    margin-bottom: 12px;
}

.card h3 {
    margin: 0;
    font-size: 12px;
    color: #333;
}

/* ریسپانسیو */
@media (max-width:768px) {
    .card {
        flex: 1 1 45%;
    }
}

@media (max-width:480px) {
    .card {
        flex: 1 1 100%;
        max-width: 100px;
    }
}

.container {
    padding: 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    overflow: auto;
}

.container::-webkit-scrollbar {
    display: none;
    /* کروم، سافاری */
}

.product {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 10px;
    min-width: 150px;
    transition: min-width 0.4s ease, transform 0.4s ease;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 15px;
    position: relative;
}

.product .titer {
    font-size: 12px;
    color: #1f2937;
    text-align: right;
    width: 100%;
}

.product img {
    width: 100%;
    border-radius: 5px;
}

.product p {

    text-align: start;
}

.discount {
    min-width: 50px;
    background-color: #ff4a4a;
    border-bottom-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    height: 25px;
    position: absolute;
    top: 0;
    right: 0;

}

.help {
    font-family: pershein;
    text-align: center;
}

.baner {
    text-align: center;
    padding: 20px 5px 20px 5px;
    margin: 10px auto;
}

.baner img {
    border-radius: 20px;
    width: 100%;
}

.btnx {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: .2s;
}

.btnx.primary {
    background: var(--primary);
    color: #fff
}

.btnx.primary:hover {
    background: #1d4ed8
}

.btnx.secondary {
    background: var(--secondary);
    color: #fff
}

.btnx.secondary:hover {
    background: #059669
}

.hero {
    margin: auto;
    padding: 60px 20px;
    display: grid;
    gap: 40px
}

.title {
    font-size: clamp(28px, 5vw, 48px);
    margin: 0 0 20px;
    font-weight: 900
}

.subtitle {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 30px
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.preview {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05)
}

.features {

    background: #fff;
    padding: 40px 20px;
    border-top: 1px solid var(--border);
}

.feature {
    display: flex;
    gap: 10px;
    margin: 0 10px;
}

.feature i {
    font-size: 50px;
}

.feature p {
    text-align: justify;
    font-size: 12px;
}

.grid {
    margin: auto;
    display: grid;
    gap: 20px
}

.faq {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px 5px;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 600;
    color: #00a7b4;
}

.faq-item {
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    transition: all .3s ease;
}

.faq-question {
    width: 100%;
    text-align: right;
    background: linear-gradient(135deg, #00a7b4, #FF725E);
    border: none;
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
    cursor: pointer;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "+";
    font-size: 22px;
    transition: transform .3s;
}

.faq-item.active .faq-question::after {
    content: "-";
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.8;
    transition: max-height .4s ease, padding .3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px;
}

@media screen and (max-width:700px) {
    .Service {
        max-width: 40%;
    }

    .product:hover .message {
        width: 100%;
        color: black;
    }
}

@media(min-width:900px) {
    .hero {
        grid-template-columns: 1fr 1fr
    }
}

@media(min-width:720px) {
    .grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.containerrrrr {
    max-width: 1500px;
    margin: 0 auto;
}

html,
body {
    height: 100%;
    margin: 0;
}

main {
    flex: 1
}

footer {
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--bg-f) 0%, var(--bg-soft) 100%);
    color: var(--text);
    border-top: 1px solid var(--border);
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1 1 35px;
    min-width: 220px;
    text-align: center;
}

.about {
    flex: 1 1 300px;
}

.footer-col h4 {
    font-size: 1rem;
    margin: 0 0 12px;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.footer-col p {
    color: var(--muted);
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 25px;
    text-align: justify;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-logo img {
    width: 40px;
    filter: grayscale(100%) brightness(0) invert(1);
}

.brand-name {
    font-weight: 700;
    font-size: 15px;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.link-list li {
    margin-bottom: 8px
}

.link-list a {
    color: var(--muted);
    text-decoration: none;
    transition: .2s
}

.link-list a:hover {
    color: var(--text)
}

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #0b1222;
    color: var(--text)
}

.newsletter button {
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, var(--primary), #16a34a);
    color: #0b1222;
    font-weight: 700;
    cursor: pointer
}

.social {
    max-width: 100px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    max-width: 1200px;
    margin: 6px auto
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: .9rem;
    gap: 12px;
}

.pay-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.pay-icon {
    height: 26px;
    width: 46px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    display: grid;
    place-items: center;
    color: var(--text);
    font-size: .75rem
}

.copyright strong {
    color: #fff;
    font-weight: 400
}


@media(max-width:640px) {
    .footer-top {
        padding: 28px 16px;
        flex-direction: column
    }

    .footer-col {
        min-width: 100%
    }

    .about {
        flex: 1 1 180px;
    }

    .newsletter {
        flex-direction: column
    }

    .newsletter button {
        width: 100%
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }

    .social {
        justify-content: center
    }

    .pay-icons {
        justify-content: center
    }
}