/*
Theme Name:   Nel Gallery
Theme URI:    https://nelgallery.com
Description:  چایلد تم اختصاصی نل گالری، طراحی لوکس و مینیمال برای فروشگاه طلا
Author:       Nel Gallery
Template:     blocksy
Version:      2.3.0
Text Domain:  nel-gallery-theme
*/

/* ==========================================================================
   ۱. متغیرهای طراحی (Design Tokens)
   ========================================================================== */
:root {
    /* پالت جدید: آیوری گرم / ذغالی / طلایی کدر / تاپ */
    --ngc-primary: #a6825a;       /* طلایی کدر - لهجه */
    --ngc-primary-dark: #8a6b47;  /* طلایی تیره‌تر - هاور */
    --ngc-primary-light: #eee6d9; /* تاپ روشن - پس‌زمینه‌های ملایم */
    --ngc-black: #2b2825;         /* ذغالی تیره - متن اصلی، نه مشکی خالص */
    --ngc-white: #faf6f0;         /* آیوری گرم - پس‌زمینه اصلی، نه سفید خالص */
    --ngc-gray-light: #eee6d9;    /* تاپ روشن */
    --ngc-gray-mid: #857f76;      /* ذغالی کم‌رنگ - متن ثانویه */
    --ngc-gray-border: #ddd2c0;   /* تاپ - خط‌ها و بوردرها */

    --ngc-font-main: 'Vazirmatn', Tahoma, sans-serif;
    --ngc-font-display: 'Cormorant Garamond', serif;   /* برای لوگوی انگلیسی */
    --ngc-font-headline: 'Markazi Text', serif;         /* برای تیترهای بزرگ فارسی */

    --ngc-space-sm: 12px;
    --ngc-space-md: 24px;
    --ngc-space-lg: 48px;
    --ngc-space-xl: 96px;
}

/* ==========================================================================
   ۲. پایه، تایپوگرافی، راست‌چین
   ========================================================================== */
body {
    font-family: var(--ngc-font-main);
    font-size: 15px;
    color: var(--ngc-black);
    background-color: var(--ngc-white);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    padding-top: 106px; /* ۳۰px نوار باریک + ۷۶px هدر اصلی */
}
h1, h2, h3, h4 { font-family: var(--ngc-font-main); font-weight: 300; color: var(--ngc-black); }
a { color: inherit; transition: color 0.25s ease; }

/* وقتی اسکرول کردی و نوار باریک از دید رفت، هدر اصلی خودش رو می‌چسبونه
   دقیقاً به بالای صفحه (بدون فاصله‌ی خالی) — با کمک یه کلاس کوچیک از جاوااسکریپت. */
.ngc-header-main.is-stuck { top: 0; }

/* وقتی به‌عنوان ادمین لاگین هستی، وردپرس یه نوار مشکی بالای صفحه اضافه می‌کنه —
   این قوانین باعث می‌شن هدر ما زیر اون نوار بره، نه روش overlap کنه.
   این فقط تو حالت لاگین (خودت) دیده می‌شه، مشتری‌ها اصلاً نمی‌بینن. */
body.admin-bar { padding-top: 138px; }
body.admin-bar .ngc-header-main { top: 62px; }
body.admin-bar .ngc-header-main.is-stuck { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar { padding-top: 152px; }
    body.admin-bar .ngc-header-main { top: 76px; }
    body.admin-bar .ngc-header-main.is-stuck { top: 46px; }
}

/* ==========================================================================
   ۳. دکمه‌ها (پایه، برای صفحات محصول/فروشگاه)
   ========================================================================== */
.button, button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button {
    background-color: var(--ngc-black) !important;
    color: var(--ngc-white) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 32px !important;
    font-size: 14px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease !important;
}
.button:hover, button:hover, .woocommerce a.button:hover {
    background-color: var(--ngc-primary) !important;
}

/* ==========================================================================
   ۴. کارت محصول در آرشیو/فروشگاه ووکامرس
   ========================================================================== */
.woocommerce ul.products li.product { text-align: center; margin-bottom: var(--ngc-space-lg) !important; }
.woocommerce ul.products li.product img { border-radius: 0; margin-bottom: var(--ngc-space-sm) !important; }
.woocommerce ul.products li.product .price { color: var(--ngc-primary); font-weight: 500; }
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 400; }

/* ==========================================================================
   ۵. نوار خیلی باریک بالای سایت
   ========================================================================== */
.ngc-topbar {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ngc-gray-light);
    border-bottom: 1px solid var(--ngc-gray-border);
    font-size: 11px;
    color: var(--ngc-gray-mid);
    letter-spacing: 0.3px;
}
.ngc-topbar-divider { color: var(--ngc-gray-border); }

/* ==========================================================================
   ۶. هدر اصلی (راست: منو / وسط: لوگو / چپ: آیکون‌ها)
   ========================================================================== */
.ngc-header-main {
    height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 32px;
    position: fixed;
    top: 30px;
    right: 0;
    left: 0;
    width: 100%;
    background: var(--ngc-white);
    border-bottom: 1px solid var(--ngc-gray-border);
    z-index: 999;
}

.ngc-logo {
    grid-column: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    text-decoration: none;
}
.ngc-logo img { max-height: 44px; margin: 0 auto; }
.ngc-logo-word {
    font-family: var(--ngc-font-display);
    font-size: 22px;
    letter-spacing: 5px;
    color: var(--ngc-black);
}
.ngc-logo-rule {
    width: 50px;
    height: 1px;
    background: var(--ngc-primary);
    margin: 6px auto;
}
.ngc-logo-tag {
    font-family: var(--ngc-font-main);
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--ngc-gray-mid);
}

/* ==========================================================================
   ۷. منوی سمت راست هدر + مگامنو
   ========================================================================== */
.ngc-header-nav {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
}
.ngc-header-nav a { text-decoration: none; white-space: nowrap; color: var(--ngc-black); }

.ngc-header-nav ul.ngc-editable-menu {
    list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center;
}
.ngc-editable-menu li { position: relative; }
.ngc-editable-menu a { text-decoration: none; }
.ngc-editable-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%; right: 0;
    background: var(--ngc-white);
    border: 1px solid var(--ngc-gray-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 12px 0;
    min-width: 180px;
    list-style: none;
    z-index: 10;
}
.ngc-editable-menu li:hover > .sub-menu { display: block; }
.ngc-editable-menu .sub-menu a { display: block; padding: 8px 20px; font-size: 13px; }
.ngc-editable-menu .sub-menu a:hover { color: var(--ngc-primary); }

.ngc-has-mega { position: relative; }
.ngc-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--ngc-white);
    border: 1px solid var(--ngc-gray-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 28px 40px;
    gap: 40px;
    z-index: 10;
    min-width: 520px;
    max-width: 900px;
    flex-wrap: wrap;
}
.ngc-has-mega:hover .ngc-mega-menu { display: flex; }
.ngc-mega-col { min-width: 140px; }
.ngc-mega-col h4 { font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.ngc-mega-col h4 a { color: var(--ngc-primary); text-decoration: none; }
.ngc-mega-col a { display: block; font-size: 13px; color: #555; padding: 4px 0; text-decoration: none; }
.ngc-mega-col a:hover { color: var(--ngc-primary); }

/* ==========================================================================
   ۷ب. آیکون‌های سمت چپ هدر
   ========================================================================== */
.ngc-header-icons {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}
.ngc-icon-btn {
    position: relative;
    display: flex;
    color: var(--ngc-black);
}
.ngc-icon-btn svg { width: 20px; height: 20px; stroke: var(--ngc-black); transition: stroke 0.2s; }
.ngc-icon-btn:hover svg { stroke: var(--ngc-primary); }
.ngc-cart-count {
    position: absolute;
    top: -7px; left: -9px;
    background: var(--ngc-primary);
    color: var(--ngc-white);
    font-size: 10px;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   ۸. هیرو
   ========================================================================== */
.ngc-hero {
    background: var(--ngc-white);
    min-height: 440px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 24px;
}
.ngc-hero__slideshow {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--ngc-gray-light);
}
.ngc-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.ngc-slide.is-active { opacity: 1; }
.ngc-slide-dots {
    position: absolute;
    bottom: 20px; right: 50%; transform: translateX(50%);
    display: flex; gap: 8px; z-index: 5;
}
.ngc-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); transition: all 0.3s; }
.ngc-dot.is-active { background: var(--ngc-white); width: 18px; border-radius: 3px; }

.ngc-hero__inner { padding: 0; max-width: 400px; text-align: right; }
.ngc-hero__overline {
    display: inline-block;
    color: var(--ngc-primary);
    font-size: 16px;
    letter-spacing: 7px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}
.ngc-hero__overline::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 36px; height: 1.5px;
    background: var(--ngc-primary);
}
.ngc-hero__title {
    font-family: var(--ngc-font-headline);
    font-weight: 600;
    font-size: 42px;
    color: var(--ngc-black);
    line-height: 1.3;
    margin-bottom: 16px;
}
.ngc-hero__subtitle { color: var(--ngc-gray-mid); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.ngc-hero__details {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--ngc-gray-mid);
    margin-bottom: 32px;
}
.ngc-hero__details span:not(:last-child)::after {
    content: '·';
    margin-right: 14px;
    color: var(--ngc-primary);
}
.ngc-hero__cta {
    display: inline-block; color: var(--ngc-black) !important;
    font-size: 13px; letter-spacing: 1px; text-decoration: none;
    padding-bottom: 4px; border-bottom: 1px solid var(--ngc-black);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.ngc-hero__cta:hover { color: var(--ngc-primary) !important; border-color: var(--ngc-primary); }
@media (max-width: 800px) { .ngc-hero { grid-template-columns: 1fr; } }


/* ==========================================================================
   ۹. آیکون‌های دسته‌بندی (مینیمال، بدون رنگ پرشده)
   ========================================================================== */
.ngc-cat-icons {
    display: flex; justify-content: center; gap: 48px;
    padding: 48px 24px 8px; flex-wrap: wrap;
    max-width: 1000px; margin: 0 auto;
}
.ngc-cat-icon-item { text-align: center; text-decoration: none; }
.ngc-cat-icon-item .ngc-ring {
    width: 60px; height: 60px; border-radius: 50%;
    border: 1px solid var(--ngc-gray-border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px; transition: border-color 0.25s;
}
.ngc-cat-icon-item .ngc-ring svg { width: 22px; height: 22px; stroke: #888; transition: stroke 0.25s; }
.ngc-cat-icon-item:hover .ngc-ring { border-color: var(--ngc-primary); }
.ngc-cat-icon-item:hover .ngc-ring svg { stroke: var(--ngc-primary); }
.ngc-cat-icon-item span { font-size: 12px; color: #777; }

/* ==========================================================================
   ۱۰. عنوان بخش‌ها
   ========================================================================== */
.ngc-section-title {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; max-width: 1280px; margin: 56px auto 32px;
}
.ngc-section-title h2 { font-size: 22px; font-weight: 500; }
.ngc-section-title .ngc-view-all { font-size: 13px; color: var(--ngc-primary); text-decoration: none; }

/* ==========================================================================
   ۱۱. کاروسل محصولات (هوم‌پیج)
   ========================================================================== */
.ngc-carousel-wrap { padding: 0 0 72px; }
.ngc-carousel {
    display: flex; gap: 28px; overflow-x: auto; padding: 0 24px 12px;
    scroll-snap-type: x mandatory;
}
.ngc-carousel::-webkit-scrollbar { height: 4px; }
.ngc-carousel::-webkit-scrollbar-thumb { background: var(--ngc-gray-border); }
.ngc-prod-card { flex: 0 0 220px; scroll-snap-align: start; text-align: center; position: relative; }
.ngc-prod-card .ngc-prod-img {
    aspect-ratio: 1/1; background: var(--ngc-gray-light); background-size: cover; background-position: center;
    margin-bottom: 16px;
}
.ngc-prod-card h4 { font-size: 13px; font-weight: 400; margin-bottom: 8px; color: #555; }
.ngc-prod-card .ngc-price { color: var(--ngc-primary); font-weight: 500; font-size: 14px; }
.ngc-prod-card .ngc-badge {
    position: absolute; top: 8px; right: 8px;
    background: var(--ngc-white); border: 1px solid var(--ngc-gray-border);
    font-size: 10px; padding: 3px 9px; color: var(--ngc-primary);
}

/* ==========================================================================
   ۱۲. بنر دو ستونه (پیشنهاد ویژه / پرطرفدار)
   ========================================================================== */
.ngc-top-offers {
    max-width: 1280px; margin: 24px auto 72px; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.ngc-offer-tile {
    position: relative; aspect-ratio: 4/5;
    background: var(--ngc-gray-light); background-size: cover; background-position: center;
    display: flex; align-items: flex-end; text-decoration: none;
}
.ngc-offer-tile .ngc-offer-caption { padding: 28px; }
.ngc-offer-tile .ngc-offer-label {
    font-family: var(--ngc-font-display); font-style: italic; font-size: 30px;
    color: var(--ngc-black); display: block; margin-bottom: 6px;
}
.ngc-offer-tile .ngc-offer-link { font-size: 12px; letter-spacing: 1px; color: var(--ngc-primary); border-bottom: 1px solid var(--ngc-primary); padding-bottom: 2px; }
@media (max-width: 800px) { .ngc-top-offers { grid-template-columns: 1fr; } }

/* ==========================================================================
   ۱۳. ردیف محصولات برجسته (مربعی، بدون اسکرول)
   ========================================================================== */
.ngc-highlight-strip { max-width: 1280px; margin: 0 auto 80px; padding: 0 24px; }
.ngc-highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .ngc-highlight-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   ۱۴. نوار اعتماد
   ========================================================================== */
.ngc-trust-bar { background: var(--ngc-white); padding: 56px 24px; border-top: 1px solid var(--ngc-gray-border); border-bottom: 1px solid var(--ngc-gray-border); }
.ngc-trust-bar__inner { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 32px; }
.ngc-trust-item { flex: 1; min-width: 160px; }
.ngc-trust-item__icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--ngc-white); border: 1px solid var(--ngc-gray-border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; color: var(--ngc-primary); font-size: 18px;
}
.ngc-trust-item__title { font-size: 13px; font-weight: 500; color: #555; }

/* ==========================================================================
   ۱۵. خبرنامه
   ========================================================================== */
.ngc-newsletter { background: var(--ngc-black); color: var(--ngc-white); text-align: center; padding: 64px 24px; }
.ngc-newsletter h2 { color: var(--ngc-white); margin-bottom: 8px; font-size: 22px; }
.ngc-newsletter p { color: #ccc; margin-bottom: 20px; font-size: 14px; }
.ngc-newsletter form { display: flex; justify-content: center; gap: 8px; max-width: 380px; margin: 0 auto; flex-wrap: wrap; }
.ngc-newsletter input { flex: 1; min-width: 180px; padding: 13px 16px; border: 1px solid #444; background: transparent; color: var(--ngc-white); font-family: inherit; }
.ngc-newsletter button { background: var(--ngc-primary) !important; color: var(--ngc-white) !important; border: none; padding: 13px 26px !important; font-family: inherit; cursor: pointer; font-size: 13px !important; }

@media (max-width: 900px) {
    .ngc-mega-menu { min-width: 90vw; right: -50%; }
}

/* ==========================================================================
   ۱۷. بنر صفحه فروشگاه/دسته‌بندی
   ========================================================================== */
.ngc-cat-banner {
    min-height: 280px;
    background-color: var(--ngc-gray-light);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ngc-cat-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.15);
}
.ngc-cat-banner h1 {
    position: relative;
    color: var(--ngc-white);
    font-size: 40px;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* ==========================================================================
   ۱۸. چیدمان دو ستونه فروشگاه (سایدبار + محصولات)
   ========================================================================== */
.ngc-shop-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}
.ngc-shop-sidebar {
    border: 1px solid var(--ngc-gray-border);
    padding: 24px;
}
.ngc-shop-sidebar h4 {
    font-size: 14px; font-weight: 500; margin: 24px 0 12px;
}
.ngc-shop-sidebar h4:first-child { margin-top: 0; }
.ngc-shop-sidebar .price_slider_wrapper { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--ngc-gray-border); }

/* بازطراحی اسلایدر قیمت (ووکامرس از jQuery UI استفاده می‌کنه) با پالت سایت */
.ngc-shop-sidebar .price_slider.ui-slider {
    height: 3px;
    background: var(--ngc-gray-border);
    border: none;
    border-radius: 0;
    margin: 12px 4px 20px;
}
.ngc-shop-sidebar .price_slider .ui-slider-range {
    background: var(--ngc-primary);
    height: 3px;
}
.ngc-shop-sidebar .price_slider .ui-slider-handle {
    width: 13px; height: 13px;
    top: -5px;
    background: var(--ngc-black);
    border: 2px solid var(--ngc-white);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--ngc-black);
    cursor: pointer;
    outline: none;
}
.ngc-shop-sidebar .price_slider_amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.ngc-shop-sidebar .price_slider_amount .price_label {
    font-size: 12px;
    color: var(--ngc-gray-mid);
    order: 1;
}
.ngc-shop-sidebar .price_slider_amount button {
    order: 2;
    font-size: 11px !important;
    padding: 8px 16px !important;
}
.ngc-weight-filter { display: flex; flex-direction: column; gap: 10px; }
.ngc-weight-filter .ngc-weight-inputs { display: flex; gap: 8px; }
.ngc-weight-filter input[type="number"] {
    width: 100%; padding: 10px; border: 1px solid var(--ngc-gray-border);
    font-family: inherit; font-size: 13px;
}
.ngc-weight-filter button {
    width: 100%; margin-top: 4px;
}
.ngc-shop-main .woocommerce-ordering { margin-bottom: 24px; }
@media (max-width: 800px) {
    .ngc-shop-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ۱۶. منوی موبایل (همبرگری)
   ========================================================================== */
.ngc-mobile-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 27px;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 8px !important;
    z-index: 20;
}
.ngc-mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ngc-black);
    margin: 5px 0;
    transition: 0.3s;
}
.ngc-mobile-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ngc-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.ngc-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 700px) {
    .ngc-mobile-toggle { display: block; }
    body { padding-top: 76px !important; } /* فقط ارتفاع هدر اصلی، نوار باریک بالا تو موبایل مخفیه */
    .ngc-topbar { display: none; }
    .ngc-header-main { top: 0; grid-template-columns: auto 1fr auto; }
    .ngc-logo { grid-column: 2; }
    .ngc-header-icons { grid-column: 3; }

    .ngc-header-nav {
        position: static;
        display: none;
    }
    .ngc-header-nav.is-mobile-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 100%; right: 0; left: 0;
        background: var(--ngc-white);
        z-index: 15;
        box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    }
    .ngc-header-nav.is-mobile-open ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .ngc-header-nav.is-mobile-open > a,
    .ngc-header-nav.is-mobile-open .ngc-has-mega > a {
        display: block;
        width: 100%;
        padding: 14px 24px;
        border-bottom: 1px solid var(--ngc-gray-border);
    }
    .ngc-editable-menu.is-mobile-open,
    .ngc-header-nav.is-mobile-open .ngc-editable-menu { flex-direction: column; width: 100%; }
    .ngc-header-nav.is-mobile-open .ngc-editable-menu a {
        display: block; width: 100%; padding: 14px 24px; border-bottom: 1px solid var(--ngc-gray-border);
    }
    .ngc-has-mega .ngc-mega-menu {
        position: static;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        min-width: 0;
        flex-direction: column;
        gap: 0;
        padding: 0 24px 12px;
    }
    .ngc-has-mega.is-mobile-expanded .ngc-mega-menu { display: flex; }
    .ngc-header-main { position: fixed; }
}

/* ==========================================================================
   ۱۹. فوتر
   ========================================================================== */
.ngc-footer {
    background: var(--ngc-gray-light);
    border-top: 1px solid var(--ngc-gray-border);
    padding: 64px 24px 0;
}
.ngc-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 48px;
}
.ngc-footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}
.ngc-footer-col a {
    display: block;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    padding: 5px 0;
}
.ngc-footer-col a:hover { color: var(--ngc-primary); }
.ngc-footer-about {
    font-size: 13px;
    color: #777;
    margin-bottom: 16px;
    max-width: 260px;
}
.ngc-footer-social { display: flex; gap: 16px; }
.ngc-footer-social a { padding: 0; display: inline; }
.ngc-footer-bottom {
    border-top: 1px solid var(--ngc-gray-border);
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--ngc-gray-mid);
}
.ngc-trust-seal-placeholder {
    border: 1px dashed var(--ngc-gray-border);
    padding: 8px 14px;
    color: #bbb;
}
@media (max-width: 800px) {
    .ngc-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ngc-footer__inner { grid-template-columns: 1fr; }
    .ngc-footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   ۲۰. اصلاحات اختصاصی موبایل — فاصله‌ها، سایزها، و چیدمان‌های تنگاتنگ‌تر
   ========================================================================== */
@media (max-width: 700px) {
    /* هیرو: overline تکراری رو حذف کن (لوگوی هدر خودش این اسم رو داره) */
    .ngc-hero__overline { display: none; }
    .ngc-hero {
        min-height: auto;
        gap: 28px;
        margin: 16px auto;
        padding: 0 20px;
    }
    .ngc-hero__title { font-size: 30px; }
    .ngc-hero__subtitle { font-size: 14px; }
    .ngc-hero__details { flex-wrap: wrap; gap: 8px 12px; margin-bottom: 24px; }

    /* نوار اعتماد: ۲ ستونه به‌جای عمودی */
    .ngc-trust-bar { padding: 32px 20px; }
    .ngc-trust-bar__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 12px;
    }
    .ngc-trust-item { min-width: 0; }
    .ngc-trust-item__icon { width: 36px; height: 36px; font-size: 15px; margin-bottom: 8px; }
    .ngc-trust-item__title { font-size: 12px; }

    /* فاصله‌های عمومی بخش‌ها رو رو موبایل جمع‌وجورتر کن */
    .ngc-section-title { margin: 36px auto 20px; padding: 0 20px; }
    .ngc-section-title h2 { font-size: 18px; }
    .ngc-categories, .ngc-story, .ngc-highlight-strip, .ngc-top-offers { padding-left: 20px; padding-right: 20px; }
    .ngc-top-offers { grid-template-columns: 1fr; gap: 16px; margin: 16px auto 40px; }
    .ngc-cat-icons { gap: 24px; padding: 28px 20px 4px; }
    .ngc-cat-icon-item .ngc-ring { width: 48px; height: 48px; }
    .ngc-cat-icon-item .ngc-ring svg { width: 18px; height: 18px; }
    .ngc-carousel-wrap { padding: 0 0 40px; }
    .ngc-newsletter { padding: 40px 20px; }
}
