﻿/*@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');*/

:root {
    /*
    --brand: #c62b4d;
    --brand-dark: #a81f3e;
    */
    --brand: var(--ts-color-primary-light);
    --brand-dark: var(--ts-color-primary);
    --ink: #202633;
    --muted: #778091;
    --line: #e9ebf0;
    --surface: #fff;
    --soft: #f6f7fa;
    --shadow: 0 22px 65px rgba(26, 32, 44, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    /*font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 14px;
        */
    font-family: var(--bs-body-font-family), Tahoma, Arial, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font: inherit;
}

button {
    cursor: pointer;
}

.announcement {
    background: #282d3a;
    color: #fff;
    text-align: center;
    padding: 7px 16px;
    /*font-size: 12px;*/
}

.site-header {
    background: #fff;
    position: relative !important;
    z-index: 20;
    border-bottom: 1px solid var(--line);
}

.header-main {
    /*max-width: 1320px;*/
    max-width: 1676px;
    min-height: 92px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: var(--brand);
    font-size: 24px;
    font-weight: 800;
}

.brand strong {
    display: block;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1.3;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.search {
    height: 48px;
    border-radius: 5px;
    background: var(--soft);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 5px 14px;
    transition: border-color .2s, background .2s;
}

    .search:focus-within {
        background: #fff;
        /*border-color: #e4a3b2;*/
        border-color: var(--ts-color-primary);
    }

.search-icon {
    color: #8c94a2;
    font-size: 26px;
    line-height: 1;
}

.search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.search button, .search .button {
    border: 0;
    border-radius: 4px;
    /*
    background: var(--brand);
    */
    background: var(--ts-color-primary);
    color: #fff;
    padding: 7px 17px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    /*font-size: 12px;*/
}

    .header-actions a:first-child {
        color: #5f6878;
    }

.cart-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
}

    .cart-link span {
        font-size: 21px;
    }

.site-header {
    padding: 0px;
    margin: 0px;
    
}
.main-nav {
    max-width: 1676px;
    margin: auto;
    padding: 0 24px;
    min-height: 52px;
    display: flex;
    align-items: stretch;
    gap: 27px;
    position: relative;
}

    .main-nav > a, .nav-trigger {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        background: none;
        border: 0;
        padding: 0;
        color: #535c6c;
        position: relative;
        font-size: 15px !important;
        font-weight: bold;
        font-size: inherit;
    }

        .main-nav > a:hover, .nav-trigger:hover, .nav-item.is-open .nav-trigger {
            color: var(--ts-color-primary);
        }

.nav-home {
    font-weight: 700;
}

.chevron {
    font-size: 12px;
    color: #9097a3;
    transition: transform .2s;
    margin: 10px 0 0 0px;
}

.nav-item.is-open .chevron {
    transform: rotate(180deg);
}

.nav-item {
    display: flex;
    align-items: stretch;
}

.mega-panel {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    position: absolute;
    top: calc(100% - 1px);
    right: 24px;
    left: 24px;
    max-width: 1676px;
    margin: auto;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(9px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.nav-item.is-open .mega-panel, .nav-item:focus-within .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-sidebar {
    background: #f7f8fa;
    padding: 20px 14px;
    border-left: 1px solid var(--line);
}

.sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 15px;
    font-size: 13px;
    font-weight: 800;
}

    .sidebar-heading span {
        font-size: 10px;
        color: #9aa1ad;
        font-weight: 500;
    }

.category-tab {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
    border: 1px solid transparent;
    background: transparent;
    color: #606a79;
    padding: 10px 11px;
    margin: 3px 0;
    border-radius: 11px;
    font-size: 12px;
    transition: .18s ease;
}

    .category-tab:hover, .category-tab.is-active {
        background: #fff;
        color: var(--brand);
        border-color: #f0d7de;
        box-shadow: 0 3px 10px rgba(31, 39, 54, .035);
    }

.tab-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #e9ebef;
    font-size: 16px;
    flex: 0 0 30px;
}

.category-tab.is-active .tab-icon {
    color: var(--brand);
    background: #fff7f9;
    border-color: #f0d7de;
}

.tab-arrow {
    margin-right: auto;
    font-size: 22px;
    line-height: 1;
}
    .tab-arrow i {
        font-size: 12px;
    }
.mega-content {
    padding: 24px 28px 22px;
    min-width: 0;
}

.mega-content-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.eyebrow {
    display: block;
    font-size: 10px;
    color: var(--brand);
    margin-bottom: 2px;
}

.mega-content h2 {
    font-size: 17px;
    margin: 0;
    font-weight: 800;
}

.all-link {
    color: var(--brand);
    font-size: 11px;
    white-space: nowrap;
}

    .all-link span {
        font-size: 16px;
        margin-right: 4px;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    min-width: 0;
    border: 1px solid #edf0f3;
    border-radius: 13px;
    background: #fff;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

    .category-card:hover {
        border-color: #e6b1bd;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(33, 41, 56, .06);
    }

.category-thumb {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    overflow: hidden;
    border-radius: 10px;
    background: #f4f0f1;
}

    .category-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .3s;
    }

.category-card:hover img {
    transform: scale(1.07);
}

.category-card strong {
    display: block;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 3px;
}

.category-card small {
    display: block;
    color: #9299a6;
    font-size: 10px;
    line-height: 1.6;
}

.card-arrow {
    color: #a0a6b1;
    font-size: 18px;
    margin-right: auto;
    align-self: flex-start;
}

.mega-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    min-height: 88px;
    margin-top: 17px;
    padding: 14px 19px;
    border-radius: 13px;
    background: linear-gradient(100deg, #fff2f5 0%, #fff7f0 100%);
}

.promo-copy {
    position: relative;
    z-index: 1;
}

    .promo-copy span {
        display: block;
        color: var(--brand);
        font-size: 10px;
    }

    .promo-copy strong {
        display: block;
        font-size: 13px;
        margin: 2px 0 3px;
    }

    .promo-copy a {
        font-size: 10px;
        color: #7e5360;
    }

.promo-art {
    position: absolute;
    left: 25px;
    top: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #f7dbe2;
    display: grid;
    place-items: center;
}

    .promo-art span {
        color: #bd3151;
        font-size: 54px;
        font-weight: 800;
        transform: rotate(-12deg);
    }

    .promo-art i, .promo-art b {
        position: absolute;
        width: 25px;
        height: 25px;
        border-radius: 8px;
        background: #fff;
        transform: rotate(25deg);
        top: 28px;
        right: 10px;
    }

    .promo-art b {
        top: auto;
        right: auto;
        bottom: 18px;
        left: 14px;
        background: #e9a8b8;
    }

.demo-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 25px 24px 70px;
}

.breadcrumb {
    font-size: 11px;
    color: #8d95a2;
    margin-bottom: 20px;
}

    .breadcrumb span {
        margin: 0 8px;
    }

.hero {
    min-height: 340px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(115deg, #f7f8fb, #fff4f6);
    padding: 45px 55px;
}

.hero-copy {
    align-self: center;
}

.hero-label {
    display: inline-block;
    background: #fff;
    color: var(--brand);
    border: 1px solid #f0d8df;
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 11px;
}

.hero h1 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.5;
    letter-spacing: -.8px;
    margin: 15px 0 10px;
}

.hero p {
    max-width: 430px;
    color: #778091;
    font-size: 13px;
    margin: 0 0 22px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    padding: 11px 20px;
    font-size: 12px;
    box-shadow: 0 7px 16px #c62b4d26;
}

    .primary-button:hover {
        background: var(--brand-dark);
    }

.hero-art {
    position: relative;
    min-height: 250px;
    display: grid;
    place-items: center;
}

.hero-circle {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #f2d8e0;
    position: absolute;
}

.hero-box {
    width: 165px;
    height: 145px;
    border-radius: 20px;
    background: linear-gradient(135deg, #d43d5e, #a71e40);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 800;
    transform: rotate(-8deg);
    box-shadow: 0 25px 45px #a71e4030;
    position: relative;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 80px;
    border-radius: 16px;
    background: #fff;
    color: var(--brand);
    font-size: 25px;
    box-shadow: 0 12px 30px #30384914;
}

    .floating-card small {
        font-size: 9px;
        color: #6e7685;
    }

.card-one {
    top: 15px;
    right: 8%;
    transform: rotate(8deg);
}

.card-two {
    bottom: 5px;
    left: 9%;
    transform: rotate(-8deg);
}

.below {
    padding: 35px 5px;
}

    .below h2 {
        font-size: 20px;
        margin: 0 0 6px;
    }

    .below p {
        color: var(--muted);
        font-size: 13px;
        margin: 0;
    }



@media (min-width: 900px) {
    .nav-item.has-mega:hover .mega-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item.has-mega:hover .nav-trigger .chevron {
        transform: rotate(180deg);
    }
}

@media (max-width: 1000px) {
    .header-main {
        gap: 16px;
    }

    .brand {
        min-width: auto;
    }

    .header-actions {
        gap: 10px;
    }

    .main-nav {
        gap: 18px;
        overflow: visible;
    }

    .mega-panel {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .mega-content {
        padding: 20px;
        padding: 20px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .header-main {
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .brand {
        flex: 1;
    }

    .header-actions {
        font-size: 11px;
    }

    .search {
        order: 3;
        flex-basis: 100%;
    }

    .main-nav {
        padding: 0 16px;
        gap: 20px;
        overflow-x: auto;
        min-height: 48px;
    }

        .main-nav > a, .nav-trigger {
            font-size: 12px;
        }

    .mega-panel {
        position: fixed;
        top: 155px;
        right: 10px;
        left: 10px;
        max-height: calc(100vh - 175px);
        overflow: auto;
        grid-template-columns: 1fr;
        border-radius: 15px;
    }

    .mega-sidebar {
        border-left: 0;
        border-bottom: 1px solid var(--line);
        padding: 12px;
    }

    .sidebar-heading {
        padding-bottom: 8px;
    }

    .category-tab {
        display: inline-flex;
        width: auto;
        margin: 2px;
        padding: 7px 9px;
    }

        .category-tab .tab-arrow {
            display: none;
        }

    .tab-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .mega-content {
        padding: 16px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .category-card {
        padding: 7px;
        gap: 8px;
    }

    .category-thumb {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .category-card strong {
        font-size: 11px;
    }

    .category-card small {
        font-size: 9px;
    }

    .mega-promo {
        min-height: 80px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }

    .hero-art {
        min-height: 220px;
        grid-row: 1;
    }

    .hero-copy {
        grid-row: 2;
    }
}

@media (max-width: 420px) {
    .header-actions a:first-child {
        display: none;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 68px;
    }

    .mega-content-top {
        align-items: flex-start;
    }

    .hero {
        padding: 22px 18px;
    }

    .hero-art {
        transform: scale(.9);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
