﻿
:root {
    --ns-ink: #18242a;
    --ns-muted: #78858b;
    --ns-gold: #bd7e36;
    --ns-gold-light: #f4e4cf;
    --ns-line: #e8ecec;
    --ns-bg: #f8faf9;
    --ns-white: #ffffff;
    --ns-dark: #1b282e;
    --ns-red: #a9493e;
    --ns-shadow: 0 18px 55px rgba(25, 42, 48, .10);
    --ns-radius: 20px;
}

@font-face {
    font-family: 'peydawebfanum-bold';
    src: url('assets/fonts/payda/peydawebfanum-bold.woff2') format('woff2');
    font-display: swap;
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--ns-bg);
    color: var(--ns-ink);
    font-family: "peydawebfanum-bold","Vazirmatn", sans-serif;
}

    body.ns-lock {
        overflow: hidden;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.ns-container {
    width: min(1320px, calc(100% - 36px));
    margin-inline: auto;
}

.ns-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--ns-line);
    box-shadow: 0 4px 20px rgba(20, 36, 42, .04);
    transition: transform .32s ease;
    backdrop-filter: blur(18px);
}

    .ns-header.ns-hidden {
        transform: translateY(-105%);
    }

.ns-header-top {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.ns-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ns-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--ns-dark);
    color: var(--ns-gold);
    font-family: "Yeseva One", serif;
    font-size: 22px;
}

.ns-brand small {
    display: block;
    color: var(--ns-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ns-search {
    flex: 1;
    max-width: 650px;
    display: flex;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    background: #f1f4f4;
    transition: .2s ease;
}

    .ns-search:focus-within {
        border-color: var(--ns-gold);
        background: var(--ns-white);
    }

    .ns-search input {
        flex: 1;
        min-width: 0;
        padding: 14px 18px;
        outline: 0;
        border: 0;
        background: transparent;
        color: var(--ns-ink);
    }

    .ns-search button {
        width: 58px;
        border: 0;
        background: transparent;
        color: var(--ns-gold);
        font-size: 20px;
    }

.ns-header-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-right: auto;
}

.ns-action {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--ns-ink);
    font-size: 13px;
    white-space: nowrap;
}

    .ns-action:hover {
        color: var(--ns-gold);
    }

.ns-cart-count {
    position: absolute;
    top: -12px;
    left: -10px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ns-red);
    color: #fff;
    font-size: 10px;
}

.ns-nav {
    height: 55px;
    display: flex;
    align-items: center;
    gap: 28px;
}

    .ns-nav > a,
    .ns-category-trigger {
        border: 0;
        background: transparent;
        color: var(--ns-ink);
        font-size: 14px;
        font-weight: 600;
    }

.ns-category-wrap {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ns-category-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

    .ns-category-trigger span {
        color: var(--ns-gold);
        font-size: 18px;
        transition: transform .2s ease;
    }

.ns-category-wrap:hover .ns-category-trigger span {
    transform: rotate(180deg);
}

.ns-mega-menu {
    position: absolute;
    top: 55px;
    right: 0;
    width: min(1060px, 90vw);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    padding: 27px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    border: 1px solid var(--ns-line);
    border-top: 3px solid var(--ns-gold);
    border-radius: 0 0 18px 18px;
    background: var(--ns-white);
    box-shadow: var(--ns-shadow);
    transition: .22s ease;
}

.ns-category-wrap:hover .ns-mega-menu,
.ns-category-wrap:focus-within .ns-mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.ns-category-column {
    min-width: 0;
}

.ns-category-heading,
.ns-tree-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ns-category-heading {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ns-line);
    font-size: 14px;
    font-weight: 900;
}

.ns-tree-arrow {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--ns-line);
    border-radius: 7px;
    background: var(--ns-white);
    color: var(--ns-gold);
    font-size: 17px;
    line-height: 1;
}

.ns-tree {
    display: none;
    margin-top: 8px;
    padding-right: 13px;
    border-right: 1px solid var(--ns-line);
}

    .ns-tree.ns-open {
        display: block;
    }

.ns-tree-row {
    min-height: 32px;
    color: var(--ns-muted);
    font-size: 12px;
}

    .ns-tree-row a:hover {
        color: var(--ns-gold);
    }

.ns-hero {
    padding: 24px 0 0;
}

.ns-hero-slide {
/*    min-height: 440px;*/
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 27px;
    background: linear-gradient(115deg, #19262b, #354a4f);
}

.ns-hero-content {
    width: 100%;
    padding: 55px;
    color: #fff;
}

.ns-kicker {
    color: var(--ns-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.ns-hero h1 {
    max-width: 570px;
    margin: 14px 0;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1.25;
}

.ns-hero p {
    max-width: 470px;
    color: #c6d0d2;
    line-height: 2;
}

.ns-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: var(--ns-gold);
    color: #fff;
    font-weight: 800;
    transition: .2s ease;
}

    .ns-button:hover {
        transform: translateY(-3px);
        background: #a96c2c;
    }

.ns-hero-art {
    position: relative;
    flex: 1;
    align-self: stretch;
    overflow: hidden;
    background: radial-gradient(circle at 60% 45%, rgba(220, 166, 94, .45), transparent 32%), linear-gradient(135deg, #93602e, #202e32 64%);
}

    .ns-hero-art::before {
        content: "";
        position: absolute;
        width: 270px;
        height: 410px;
        right: 24%;
        top: 30px;
        border-radius: 48% 48% 18px 18px;
        border: 2px solid rgba(255, 255, 255, .3);
        transform: rotate(14deg);
        box-shadow: 0 0 80px rgba(255, 204, 128, .3);
    }

    .ns-hero-art::after {
        content: "N";
        position: absolute;
        right: 37%;
        top: 115px;
        color: rgba(255, 255, 255, .7);
        font-family: "Yeseva One", serif;
        font-size: 150px;
        transform: rotate(14deg);
    }

.ns-slider-controls {
    position: absolute;
    bottom: 27px;
    right: 55px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

    .ns-slider-controls button {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        color: #fff;
        font-size: 18px;
    }

.ns-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 25px 0 65px;
}

.ns-service {
    padding: 23px;
    border: 1px solid var(--ns-line);
    border-radius: 16px;
    background: var(--ns-white);
}

    .ns-service strong,
    .ns-service span {
        display: block;
    }

    .ns-service strong {
        margin-bottom: 7px;
        font-size: 14px;
    }

    .ns-service span {
        color: var(--ns-muted);
        font-size: 12px;
    }

.ns-section {
    margin-bottom: 72px;
}

.ns-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 23px;
}

.ns-section-title {
    margin: 5px 0 0;
    font-size: 27px;
}

.ns-section-link {
    color: var(--ns-gold);
    font-size: 13px;
    font-weight: 800;
}

.ns-product-swiper {
    overflow: hidden;
    padding: 5px 2px 25px;
}

.ns-product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--ns-line);
    border-radius: 18px;
    background: var(--ns-white);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .ns-product-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--ns-shadow);
    }

.ns-product-image {
    position: relative;
    height: 210px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f1f3f1;
}

    .ns-product-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .4s ease;
    }

.ns-product-card:hover img {
    transform: scale(1.06);
}

.ns-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 6px;
    background: var(--ns-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.ns-product-body {
    padding: 17px;
}

.ns-product-category {
    color: var(--ns-gold);
    font-size: 11px;
}

.ns-product-name {
    min-height: 48px;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.8;
}

.ns-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ns-price {
    font-weight: 900;
}

    .ns-price small {
        color: var(--ns-muted);
        font-size: 10px;
        font-weight: 500;
    }

.ns-quick-view {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ns-line);
    border-radius: 9px;
    background: var(--ns-white);
    color: var(--ns-gold);
    font-size: 17px;
}

    .ns-quick-view:hover {
        background: var(--ns-gold-light);
    }

.ns-promo-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 17px;
    margin-bottom: 72px;
}

.ns-promo {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 29px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    transition: transform .25s ease;
}

    .ns-promo:hover {
        transform: translateY(-5px);
    }

    .ns-promo strong {
        margin: 8px 0;
        font-size: 25px;
    }

    .ns-promo span {
        opacity: .75;
        font-size: 13px;
    }

.ns-promo-dark {
    background: linear-gradient(135deg, #26383e, #10191d);
}

.ns-promo-gold {
    background: linear-gradient(135deg, #d5a263, #925c2c);
}

.ns-promo-red {
    background: linear-gradient(135deg, #9c4942, #481d20);
}

.ns-categories-section {
    padding: 42px;
    border-radius: 25px;
    background: #f0ede7;
}

.ns-category-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.ns-category-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 19px;
    border-radius: 15px;
    background: var(--ns-white);
    transition: .25s ease;
}

    .ns-category-card:hover {
        transform: translateY(-5px);
        background: var(--ns-dark);
        color: #fff;
    }

    .ns-category-card span {
        color: var(--ns-gold);
        font-size: 12px;
    }

    .ns-category-card strong {
        margin-top: 8px;
        font-size: 17px;
    }

.ns-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 40px;
    border-radius: 23px;
    background: var(--ns-gold-light);
}

    .ns-newsletter h2 {
        margin: 9px 0;
        font-size: 25px;
    }

    .ns-newsletter p {
        margin: 0;
        color: var(--ns-muted);
        font-size: 13px;
    }

.ns-newsletter-form {
    min-width: min(100%, 410px);
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

    .ns-newsletter-form input {
        flex: 1;
        min-width: 0;
        padding: 14px;
        border: 0;
        outline: 0;
    }

    .ns-newsletter-form button {
        padding: 0 20px;
        border: 0;
        background: var(--ns-dark);
        color: #fff;
    }

.ns-footer {
    margin-top: 72px;
    margin-bottom:-58px;
    background: var(--ns-dark);
    color: #fff;
    text-align:center;
}

.ns-footer-main {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 45px;
    padding: 60px 0 42px;
}

.ns-footer .ns-brand {
    color: #fff;
}

.ns-footer-description {
    max-width: 330px;
    color: #aebcc0;
    font-size: 13px;
    line-height: 2;
}

.ns-footer h3 {
    margin: 0 0 18px;
    font-size: 15px;
}

.ns-footer a,
.ns-footer li {
    color: #aebcc0;
    font-size: 13px;
}

    .ns-footer a:hover {
        color: var(--ns-gold);
    }

.ns-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ns-footer li {
    margin: 12px 0;
}

.ns-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #8f9da1;
    font-size: 11px;
}

.ns-mobile-bottom,
.ns-mobile-category-panel {
    display: none;
}

.ns-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    background: rgba(11, 22, 27, .62);
    transition: .25s ease;
}

    .ns-modal-backdrop.ns-modal-open {
        visibility: visible;
        opacity: 1;
    }

.ns-modal {
    width: min(530px, 100%);
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    transform: translateY(15px);
    transition: .25s ease;
}

.ns-modal-backdrop.ns-modal-open .ns-modal {
    transform: translateY(0);
}

.ns-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f0f3f3;
    color: var(--ns-ink);
    font-size: 20px;
}

.ns-modal h2 {
    margin: 0 0 10px;
}

.ns-modal p {
    color: var(--ns-muted);
    line-height: 2;
    font-size: 13px;
}

.ns-modal-price {
    margin: 20px 0;
    color: var(--ns-gold);
    font-size: 22px;
    font-weight: 900;
}

@media (max-width: 1050px) {
    .ns-mega-menu {
        width: 800px;
    }

    .ns-hero-content {
        padding: 42px;
    }

    .ns-category-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    body {
        padding-bottom: 72px;
    }

    .ns-container {
        width: min(100% - 24px, 650px);
    }

    .ns-header-top {
        min-height: 70px;
        gap: 10px;
    }

    .ns-brand {
        font-size: 17px;
    }

    .ns-brand-mark {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .ns-search {
        position: absolute;
        top: 78px;
        right: 12px;
        left: 12px;
        max-width: none;
    }

    .ns-header-actions {
        gap: 9px;
    }

    .ns-action {
        font-size: 11px;
    }

    .ns-nav {
        display: none;
    }

    .ns-hero {
        padding-top: 66px;
    }

    .ns-hero-slide {
/*        min-height: 490px;*/
        display: block;
    }

    .ns-hero-content {
        width: 100%;
        padding: 34px 25px;
    }

    .ns-hero h1 {
        font-size: 31px;
    }

    .ns-hero-art {
        min-height: 180px;
    }

        .ns-hero-art::before {
            width: 150px;
            height: 220px;
            top: 18px;
        }

        .ns-hero-art::after {
            top: 48px;
            font-size: 85px;
        }

    .ns-slider-controls {
        right: 25px;
        bottom: 20px;
    }

    .ns-services {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
    }

    .ns-service {
        padding: 17px 13px;
    }

    .ns-section,
    .ns-promo-grid {
        margin-bottom: 52px;
    }

    .ns-section-title {
        font-size: 22px;
    }

    .ns-promo-grid {
        grid-template-columns: 1fr;
    }

    .ns-promo {
        min-height: 170px;
    }

    .ns-categories-section {
        padding: 25px 15px;
    }

    .ns-category-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .ns-category-card {
        min-height: 135px;
    }

    .ns-newsletter {
        display: block;
        padding: 27px 20px;
    }

    .ns-newsletter-form {
        min-width: 0;
        margin-top: 22px;
    }

    .ns-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 18px;
        padding: 43px 0 30px;
    }

    .ns-footer-brand {
        grid-column: 1 / -1;
    }

    .ns-footer-bottom {
        display: block;
        line-height: 2;
    }

    .ns-mobile-bottom {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1500;
        height: 58px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        border-top: 1px solid var(--ns-line);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -8px 25px rgba(20, 30, 40, .12);
        backdrop-filter: blur(16px);
    }

    .ns-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0;
        background: transparent;
        color: var(--ns-muted);
        font-size: 10px;
    }

        .ns-mobile-nav-item.ns-active,
        .ns-mobile-nav-item:hover {
            color: var(--ns-gold);
        }

    .ns-mobile-nav-icon {
        font-size: 21px;
        line-height: 1;
    }

    .ns-mobile-category-panel {
        position: fixed;
        inset: 0;
        z-index: 1800;
        display: block;
        overflow-y: auto;
        padding: 22px 16px 90px;
        background: #fff;
        transform: translateX(100%);
        transition: transform .3s ease;
    }

        .ns-mobile-category-panel.ns-panel-open {
            transform: translateX(0);
        }

    .ns-mobile-panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 17px;
        border-bottom: 1px solid var(--ns-line);
    }

        .ns-mobile-panel-header h2 {
            margin: 0;
            font-size: 21px;
        }

    .ns-mobile-panel-close {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: #f1f4f4;
        color: var(--ns-ink);
        font-size: 23px;
    }

    .ns-mobile-category-row {
        min-height: 55px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border-bottom: 1px solid var(--ns-line);
        font-size: 14px;
        font-weight: 800;
    }

        .ns-mobile-category-row a {
            flex: 1;
        }

    .ns-mobile-category-tree {
        display: none;
        margin-right: 13px;
        padding-right: 14px;
        border-right: 1px solid var(--ns-line);
    }

        .ns-mobile-category-tree.ns-open {
            display: block;
        }
}

@media (max-width: 430px) {
    .ns-header-actions .ns-account-text {
        display: none;
    }

    .ns-services {
        gap: 9px;
    }

    .ns-service span {
        font-size: 10px;
    }

    .ns-footer-main {
        grid-template-columns: 1fr;
    }

    .ns-category-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.ns-container.ns-services{
    justify-items:center;
    margin:auto;
}


/* جلوگیری از اسکرول افقی در کل صفحه */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

    /* وقتی پنل بازه، بدنه قفل بشه و اسکرول افقی نداشته باشه */
    body.ns-lock {
        overflow: hidden !important;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

/* پنل موبایل */
.ns-mobile-category-panel {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 22px 16px 90px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

    .ns-mobile-category-panel.ns-panel-open {
        transform: translateX(0);
    }

/* محتوای لیست دسته‌بندی */
.ns-mobile-category-list {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding:10px;
}

.ns-mobile-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 55px;
    border-bottom: 1px solid var(--ns-line);
    font-size: 14px;
    font-weight: 800;
    width: 100%;
    box-sizing: border-box;
    padding: 0 4px;
}

    .ns-mobile-category-row a {
        flex: 1;
        word-break: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.ns-mobile-category-tree {
    display: none;
    margin-right: 13px;
    padding-right: 14px;
    border-right: 1px solid var(--ns-line);
    width: 100%;
    box-sizing: border-box;
}

    .ns-mobile-category-tree.ns-open {
        display: block;
    }

.ns-category-card img{
    width:100%;
}

.ns-product-page {
    padding: 20px 0 60px;
}

.ns-breadcrumb {
    padding: 10px 0 20px;
}

.ns-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

    .ns-breadcrumb-list li + li::before {
        content: "›";
        margin-left: 12px;
        color: var(--ns-muted, #78858b);
    }

    .ns-breadcrumb-list a {
        color: var(--ns-muted, #78858b);
        transition: color .2s;
    }

        .ns-breadcrumb-list a:hover {
            color: var(--ns-gold, #bd7e36);
        }

    .ns-breadcrumb-list .ns-active {
        color: var(--ns-ink, #18242a);
        font-weight: 700;
    }

.ns-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 320px;
    gap: 32px;
    align-items: start;
}

/* گالری */
.ns-product-gallery {
    position: sticky;
    top: 100px;
    overflow:auto;
}

.ns-gallery-main {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f8faf9;
}

    .ns-gallery-main .swiper {
        width: 100%;
        height: 420px;
    }

    .ns-gallery-main .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .ns-gallery-main .swiper-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

.ns-badge-discount {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: var(--ns-red, #a9493e);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
}

.ns-gallery-actions {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ns-gallery-action {
    width: 40px;
    height: 40px;
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 50%;
    background: var(--ns-white, #fff);
    color: var(--ns-ink, #18242a);
    font-size: 18px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s;
}

    .ns-gallery-action:hover {
        background: var(--ns-gold-light, #f4e4cf);
        border-color: var(--ns-gold, #bd7e36);
    }

.product-gallery-thumb {
    margin-top: 12px;
    height: 80px;
}

    .product-gallery-thumb .swiper-slide {
        opacity: .5;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: opacity .2s;
    }

    .product-gallery-thumb .swiper-slide-thumb-active {
        opacity: 1;
        border: 2px solid var(--ns-gold, #bd7e36);
    }

    .product-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* اطلاعات محصول */
.ns-product-title {
    font-size: 22px;
    margin: 0 0 6px;
    font-weight: 900;
}

.ns-product-sku {
    color: var(--ns-muted, #78858b);
    font-size: 12px;
    margin: 0 0 12px;
}

.ns-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ns-stars {
    color: #f5a623;
    font-size: 16px;
    letter-spacing: 2px;
}

.ns-rating-count {
    color: var(--ns-gold, #bd7e36);
    font-size: 13px;
    font-weight: 600;
}

.ns-product-features {
    border-top: 1px solid var(--ns-line, #e8ecec);
    padding-top: 16px;
}

    .ns-product-features h4 {
        font-size: 15px;
        margin: 0 0 12px;
        font-weight: 700;
    }

    .ns-product-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 16px;
    }

    .ns-product-features li {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        padding: 4px 0;
        border-bottom: 1px dashed var(--ns-line, #e8ecec);
    }

        .ns-product-features li span {
            color: var(--ns-muted, #78858b);
        }

        .ns-product-features li strong {
            font-weight: 700;
        }

/* بخش خرید */
.ns-product-purchase {
    position: sticky;
    top: 100px;
}

.ns-purchase-box {
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 18px;
    padding: 24px;
    background: var(--ns-white, #fff);
    box-shadow: var(--ns-shadow, 0 18px 55px rgba(25, 42, 48, .10));
}

.ns-price-box {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ns-line, #e8ecec);
}

.ns-price-amount {
    font-size: 28px;
    font-weight: 900;
    display: block;
}

    .ns-price-amount small {
        font-size: 14px;
        font-weight: 500;
        color: var(--ns-muted, #78858b);
    }

.ns-price-old {
    font-size: 14px;
    color: var(--ns-muted, #78858b);
    text-decoration: line-through;
    display: block;
    margin-top: 4px;
}

.ns-quantity {
    margin-bottom: 20px;
}

    .ns-quantity label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 6px;
    }

.ns-quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
}

    .ns-quantity-control button {
        width: 40px;
        height: 40px;
        border: 0;
        background: var(--ns-bg, #f8faf9);
        font-size: 20px;
        font-weight: 300;
        cursor: pointer;
        transition: background .2s;
    }

        .ns-quantity-control button:hover {
            background: var(--ns-gold-light, #f4e4cf);
        }

    .ns-quantity-control input {
        width: 60px;
        height: 40px;
        border: 0;
        border-left: 1px solid var(--ns-line, #e8ecec);
        border-right: 1px solid var(--ns-line, #e8ecec);
        text-align: center;
        font-size: 16px;
        font-weight: 700;
        outline: 0;
        background: var(--ns-white, #fff);
    }

.ns-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
    width: 100%;
}

.ns-button-primary {
    background: var(--ns-gold, #bd7e36);
    color: #fff;
}

    .ns-button-primary:hover {
        background: #a96c2c;
        transform: translateY(-2px);
    }

.ns-button-secondary {
    background: var(--ns-dark, #1b282e);
    color: #fff;
    margin-top: 8px;
}

    .ns-button-secondary:hover {
        background: #2a3c44;
    }

.ns-button-disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

.ns-button-outline {
    background: transparent;
    border: 2px solid var(--ns-gold, #bd7e36);
    color: var(--ns-gold, #bd7e36);
    width: auto;
}

    .ns-button-outline:hover {
        background: var(--ns-gold, #bd7e36);
        color: #fff;
    }

/* تب‌ها */
.ns-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--ns-line, #e8ecec);
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
    flex-wrap: wrap;
}

.ns-tab-item {
    margin: 0;
}

.ns-tab-btn {
    padding: 12px 24px;
    border: 0;
    background: transparent;
    font-weight: 700;
    font-size: 15px;
    color: var(--ns-muted, #78858b);
    cursor: pointer;
    transition: .2s;
    position: relative;
}

    .ns-tab-btn::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--ns-gold, #bd7e36);
        transition: .2s;
        transform: translateX(-50%);
    }

    .ns-tab-btn:hover {
        color: var(--ns-ink, #18242a);
    }

    .ns-tab-btn.active {
        color: var(--ns-ink, #18242a);
    }

        .ns-tab-btn.active::after {
            width: 80%;
        }

.ns-badge-tab {
    background: var(--ns-gold, #bd7e36);
    color: #fff;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    margin-right: 6px;
}

.ns-tabs-content {
    padding: 0 0 30px;
}

.ns-tab-pane {
    display: none;
}

    .ns-tab-pane.active {
        display: block;
    }

.ns-description h3 {
    font-size: 20px;
    margin: 0 0 16px;
}

.ns-description p {
    line-height: 2;
    color: #444;
}

/* نظرات */
.ns-comment-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 30px;
}

.ns-rating-box {
    text-align: center;
    padding: 20px;
    background: var(--ns-bg, #f8faf9);
    border-radius: 16px;
}

.ns-rating-label {
    display: block;
    font-size: 13px;
    color: var(--ns-muted, #78858b);
}

.ns-rating-number {
    font-size: 42px;
    font-weight: 900;
    display: block;
    margin: 6px 0;
}

.ns-rating-bars {
    margin-top: 16px;
}

.ns-rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin: 4px 0;
}

    .ns-rating-bar span:first-child {
        min-width: 60px;
    }

.ns-progress {
    flex: 1;
    height: 6px;
    background: var(--ns-line, #e8ecec);
    border-radius: 4px;
    overflow: hidden;
}

.ns-progress-fill {
    height: 100%;
    background: var(--ns-gold, #bd7e36);
    border-radius: 4px;
    transition: width .6s ease;
}

.ns-bar-count {
    min-width: 24px;
    text-align: right;
    color: var(--ns-muted, #78858b);
}

.ns-comment-inputs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ns-input-group {
    position: relative;
}

    .ns-input-group.ns-full {
        grid-column: 1 / -1;
    }

.ns-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 10px;
    font-size: 14px;
    outline: 0;
    transition: border-color .2s;
    background: var(--ns-white, #fff);
    color: var(--ns-ink, #18242a);
    resize: vertical;
}

    .ns-input:focus {
        border-color: var(--ns-gold, #bd7e36);
    }

.ns-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    border: 0;
    padding: 0;
    margin: 6px 0;
}

    .rating input {
        display: none;
    }

    .rating label {
        font-size: 28px;
        color: #ddd;
        cursor: pointer;
        transition: color .2s;
        padding: 0 2px;
    }

        .rating input:checked ~ label,
        .rating label:hover,
        .rating label:hover ~ label {
            color: #f5a623;
        }

.ns-comment-item {
    padding: 16px;
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--ns-white, #fff);
}

.ns-comment-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ns-comment-user {
    font-weight: 700;
}

.ns-comment-date {
    color: var(--ns-muted, #78858b);
    font-size: 12px;
}

.ns-comment-text {
    line-height: 1.8;
    margin: 8px 0 12px;
}

.ns-comment-actions {
    display: flex;
    gap: 12px;
}

    .ns-comment-actions button {
        border: 0;
        background: transparent;
        font-size: 13px;
        color: var(--ns-muted, #78858b);
        cursor: pointer;
        transition: color .2s;
        padding: 0;
    }

        .ns-comment-actions button:hover {
            color: var(--ns-gold, #bd7e36);
        }

.ns-load-more {
    text-align: center;
    margin-top: 20px;
}

    .ns-load-more .ns-button {
        width: auto;
        padding: 10px 32px;
    }

/* پرسش و پاسخ */
.ns-qa-section h3 {
    font-size: 20px;
    margin: 0 0 4px;
}

.ns-qa-hint {
    color: var(--ns-muted, #78858b);
    font-size: 13px;
    margin: 0 0 16px;
}

.ns-qa-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin-bottom: 30px;
}

    .ns-qa-form .ns-button {
        width: auto;
        align-self: flex-start;
    }

.ns-qa-item {
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--ns-white, #fff);
}

.ns-qa-question,
.ns-qa-answer {
    display: flex;
    gap: 12px;
}

.ns-qa-question {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--ns-line, #e8ecec);
}

.ns-qa-icon {
    font-size: 20px;
    line-height: 1.4;
    flex-shrink: 0;
}

.ns-qa-meta {
    color: var(--ns-muted, #78858b);
    font-size: 12px;
}

.ns-qa-likes {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

    .ns-qa-likes button {
        border: 0;
        background: transparent;
        font-size: 13px;
        color: var(--ns-muted, #78858b);
        cursor: pointer;
        padding: 0;
    }

        .ns-qa-likes button:hover {
            color: var(--ns-gold, #bd7e36);
        }

.ns-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--ns-muted, #78858b);
}

/* محصولات مشابه و مقالات */
.ns-product-similar,
.ns-product-blogs {
    margin-top: 48px;
}

.ns-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .ns-section-head h2 {
        font-size: 22px;
        margin: 0;
    }

.ns-section-link {
    color: var(--ns-gold, #bd7e36);
    font-weight: 700;
    font-size: 14px;
}

.ns-product-swiper,
.ns-blog-swiper {
    padding: 4px 2px 20px;
    overflow: hidden;
}

.ns-product-card {
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 16px;
    overflow: hidden;
    background: var(--ns-white, #fff);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

    .ns-product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--ns-shadow, 0 18px 55px rgba(25, 42, 48, .10));
    }

    .ns-product-card .ns-product-image {
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8faf9;
        overflow: hidden;
    }

        .ns-product-card .ns-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s ease;
        }

    .ns-product-card:hover .ns-product-image img {
        transform: scale(1.06);
    }

    .ns-product-card .ns-product-body {
        padding: 14px 16px;
    }

    .ns-product-card .ns-product-name {
        font-size: 14px;
        margin: 0 0 8px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ns-product-card .ns-product-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ns-product-card .ns-price {
        font-weight: 900;
        font-size: 14px;
    }

        .ns-product-card .ns-price small {
            font-size: 10px;
            font-weight: 500;
            color: var(--ns-muted, #78858b);
        }

    .ns-product-card .ns-quick-view {
        width: 32px;
        height: 32px;
        border: 1px solid var(--ns-line, #e8ecec);
        border-radius: 8px;
        background: var(--ns-white, #fff);
        color: var(--ns-gold, #bd7e36);
        font-size: 16px;
        cursor: pointer;
        transition: .2s;
    }

        .ns-product-card .ns-quick-view:hover {
            background: var(--ns-gold-light, #f4e4cf);
        }

/* بلاگ کارت */
.ns-blog-card {
    border: 1px solid var(--ns-line, #e8ecec);
    border-radius: 16px;
    overflow: hidden;
    background: var(--ns-white, #fff);
    transition: transform .25s ease;
    height: 100%;
}

    .ns-blog-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--ns-shadow, 0 18px 55px rgba(25, 42, 48, .10));
    }

.ns-blog-image {
    height: 160px;
    overflow: hidden;
}

    .ns-blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.ns-blog-card:hover .ns-blog-image img {
    transform: scale(1.06);
}

.ns-blog-body {
    padding: 14px 16px;
}

    .ns-blog-body h4 {
        font-size: 15px;
        margin: 0 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.ns-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--ns-muted, #78858b);
}

.ns-blog-link {
    color: var(--ns-gold, #bd7e36);
    font-weight: 700;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .ns-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ns-product-purchase {
        grid-column: 1 / -1;
        position: static;
    }

    .ns-purchase-box {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        gap: 20px;
        align-items: center;
    }

    .ns-price-box {
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .ns-quantity {
        margin-bottom: 0;
    }

    .ns-button {
        width: auto;
    }
}

@media (max-width: 768px) {
    .ns-product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ns-purchase-box {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ns-product-gallery {
        position: static;
    }

    .ns-gallery-main .swiper {
        height: 320px;
    }

    .ns-product-features ul {
        grid-template-columns: 1fr;
    }

    .ns-comment-grid {
        grid-template-columns: 1fr;
    }

    .ns-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .ns-tabs-nav {
        gap: 4px;
    }

    .ns-product-title {
        font-size: 18px;
    }

    .ns-price-amount {
        font-size: 22px;
    }

    .ns-product-purchase {
        position: static;
    }
}

@media (max-width: 480px) {
    .ns-gallery-main .swiper {
        height: 240px;
    }

    .ns-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .ns-quantity-control input {
        width: 48px;
    }

    .ns-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.ns-hero-content{
    padding:0px;
}

.ns-hero-swiper {
    height: 600px;
}
.img-hero-slide {
    height: 600px;
    width:100%;
}

@media (max-width: 780px) {
    .ns-hero-swiper {
        height: 200px;
    }

    .img-hero-slide {
        height: 200px;
    }
}


/* ============================================================
   Standalone Product Gallery (pgal)
   ============================================================ */
.pgal {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pgal-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    overflow: hidden;
    border-radius: 18px;
    background: #f8faf9;
}

.pgal-track {
    display: flex;
    height: 100%;
    direction: ltr; /* برای اینکه translateX ساده بمونه */
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.pgal-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
/*    padding: 12px;*/
    box-sizing: border-box;
}

    .pgal-slide img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        user-select: none;
        -webkit-user-drag: none;
        pointer-events: none;
    }

/* دکمه‌های پیمایش */
.pgal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #18242a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 3;
    transition: background .2s, color .2s;
}

    .pgal-nav:hover {
        background: #fff;
        color: #bd7e36;
    }

.pgal-prev {
    right: 12px;
}

.pgal-next {
    left: 12px;
}

/* Thumbnails */
.pgal-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

    .pgal-thumbs::-webkit-scrollbar {
        height: 6px;
    }

    .pgal-thumbs::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

.pgal-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f1f4f4;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
}

    .pgal-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .pgal-thumb.is-active {
        border-color: #bd7e36;
    }

    .pgal-thumb:hover {
        border-color: rgba(189, 126, 54, .55);
    }

@media (max-width: 768px) {
    .pgal-viewport {
/*        max-height: 340px;*/
    }

    .pgal-thumb {
        width: 60px;
        height: 60px;
    }

    .pgal-nav {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
}

#nsMobileMenuBtn {
    display: none;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8ecec;
    border-radius: 10px;
    background: #fff;
    color: #18242a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

    #nsMobileMenuBtn:hover {
        background: #f4e4cf;
        color: #bd7e36;
        border-color: #bd7e36;
    }

#nsMobileMenuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1700;
    background: rgba(11, 22, 27, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

    #nsMobileMenuOverlay.ns-open {
        opacity: 1;
        visibility: visible;
    }

#nsMobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1750;
    width: 320px;
    max-width: 85vw;
    display: flex;
    flex-direction: column;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -6px 0 24px rgba(0, 0, 0, .15);
}

    #nsMobileMenu.ns-open {
        transform: translateX(0) !important;
    }

    #nsMobileMenu .ns-mm-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid #e8ecec;
        flex-shrink: 0;
    }

    #nsMobileMenu .ns-mm-title {
        font-size: 16px;
        font-weight: 800;
        color: #18242a;
    }

    #nsMobileMenu .ns-mm-close {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: #f1f4f4;
        color: #18242a;
        font-size: 18px;
        cursor: pointer;
        padding: 0;
    }

        #nsMobileMenu .ns-mm-close:hover {
            background: #f4e4cf;
            color: #bd7e36;
        }

    #nsMobileMenu .ns-mm-list {
        flex: 1;
        overflow-y: auto;
        padding: 8px 0;
    }

        #nsMobileMenu .ns-mm-list a {
            display: block;
            padding: 14px 22px;
            color: #18242a;
            font-size: 14px;
            font-weight: 600;
            border-bottom: 1px solid #e8ecec;
            text-decoration: none;
        }

            #nsMobileMenu .ns-mm-list a:last-child {
                border-bottom: 0;
            }

            #nsMobileMenu .ns-mm-list a:hover {
                background: #f4e4cf;
                color: #bd7e36;
            }


@media (max-width: 800px) {
    #nsMobileMenuBtn {
        display: flex !important;
    }
    .ns-shop-page{
        margin-top:80px;
    }
    .ns-brand {
        margin: auto;
    }
    .ns-header-actions{
        display:none;
    }
}

@media (min-width: 801px) {
    #nsMobileMenuBtn,
    #nsMobileMenu,
    #nsMobileMenuOverlay {
        display: none !important;
    }
    .ns-brand{
        display:block;
    }
}

.nsMobileMenuBtn{
    border:none;
}

.cart-footer{
    position:relative;
}

.footer-cart-count {
    position: absolute;
    background-color: var(--ns-red);
    color: white;
    padding: 3px;
    border-radius: 50%;
    top: 0;
    left: 12px;
    font-size: 12px;
    height: 19px;
    min-width: 19px;
    place-items: center;
    text-align: center;
}

.order-item-status {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.section-image {
    width: 100%;
    padding: 15px 0;
}

.for-image-end {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
}

    .for-image-end a {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 10px;
    }

    .for-image-end img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

    .for-image-end a:hover img {
        transform: scale(1.03);
    }


@media (max-width: 767px) {
    .for-image-end {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 12px;
    }
}

.for-image-end a:last-child:nth-child(4n + 1) {
    grid-column: 2 / span 2;
}

@media (max-width: 767px) {
    .for-image-end a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 50%;
        justify-self: center;
    }
}