:root {
    --ntic-white: #ffffff;
    --ntic-bg: #ffffff;
    --ntic-text: #1e293b;
    --ntic-primary: #2467ad;
    --ntic-primary-dark: #1a4f82;
    --ntic-border: #dddddd;
    --ntic-hover-bg: #f1f5f9;
    --ntic-gray: #64748b;
    --ntic-danger: #ef4444;
    --ntic-success: #22c55e;
    --ntic-orange: #f97316;
    --ntic-red: #f10a0a;
    --ntic-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ntic-header {
    background: var(--ntic-bg);
    box-shadow: 0 1px 0 rgb(0 0 0 / 14%), 0 2px 0 rgb(0 0 0 / 5%);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ntic-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.ntic-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 0px 5px 0px;
}

.ntic-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.ntic-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ntic-logo {
    flex-shrink: 0;
    width: 160px;
}

.ntic-logo img {
    width: 160px;
    height: auto;
}

/* ===== جستجو دسکتاپ ===== */
.ntic-search-wrapper {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 1000;
}

.ntic-search-form {
    display: flex;
    background: #f0f0f1;
    border-radius: 150px;
    direction: ltr;
    align-items: center;
    height: 48px;
    position: relative;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.ntic-search-form:focus-within {
    border-color: var(--ntic-primary);
    background: white;
}

.search-icon-fixed {
    background: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    order: 1;
    flex-shrink: 0;
}

.search-icon-fixed img {
    width: 20px;
    height: 20px;
}

.ntic-search-input {
    flex: 1;
    font-family: 'IRANYekanXFaNum';
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    background: transparent;
    outline: none;
    text-align: right;
    order: 2;
}

.ntic-search-input::placeholder {
    color: #999;
    font-size: 13px;
}

.ntic-search-placeholder-text {
    display: flex;
    align-items: center;
    gap: 4px;
    order: 3;
    padding-right: 20px;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    transition: opacity 0.2s;
    flex-direction: row-reverse;
}

.ntic-search-placeholder-text.hide-on-typing {
    opacity: 0;
    visibility: hidden;
    width: 0;
    padding: 0;
    overflow: hidden;
}

.ntic-search-placeholder-text img {
    width: 70px;
}

.ntic-search-results {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--ntic-shadow);
    margin-top: 8px;
    z-index: 1001;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.ntic-search-results.active {
    display: block;
}

.ntic-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #142f58;
    padding: 18px 15px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

.ntic-hot-products-list {
    padding: 0 15px 15px;
    display: flex;
    flex-wrap: wrap;
}

.ntic-hot-product-item {
    display: flex;
    gap: 8px;
    margin: 5px;
    padding: 10px 12px;
    text-decoration: none;
    background: #ff760014;
    color: var(--ntic-text);
    border-radius: 12px;
    transition: background 0.2s ease;
    flex-direction: row-reverse;
    align-items: center;
}

.ntic-hot-product-item:hover {
    background: var(--ntic-hover-bg);
}

.ntic-hot-product-name {
    flex: 1;
    font-size: 14px;
}

.ntic-hot-arrow {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.ntic-search-banner {
    padding: 0 20px 15px;
}

.ntic-search-banner img {
    width: 100%;
    border-radius: 12px;
}

.ntic-search-categories,
.ntic-search-products {
    padding: 8px 0;
}

.ntic-search-categories {
    border-bottom: 1px solid var(--ntic-border);
}

.ntic-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    text-decoration: none;
    color: var(--ntic-text);
    font-size: 14px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.ntic-suggestion-item:hover {
    background: var(--ntic-hover-bg);
}

.ntic-suggestion-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ntic-no-result {
    padding: 40px 20px;
    text-align: center;
    color: var(--ntic-gray);
}

/* حساب کاربری دسکتاپ */
.ntic-user-menu {
    position: relative;
}

.ntic-user-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 10px 10px 10px;
    border-radius: 5px;
    border: 1px solid #181515;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    color: var(--ntic-text);
    transition: background 0.2s;
}

.ntic-user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 185px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--ntic-shadow);
    margin-top: 8px;
    transition: all 0.2s;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

.ntic-user-menu:hover .ntic-user-dropdown {
    opacity: 1;
    visibility: visible;
}

.ntic-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--ntic-text);
    font-size: 14px;
    border-bottom: 1px solid var(--ntic-border);
    transition: background 0.2s;
}

.ntic-dropdown-item:last-child {
    border-bottom: none;
}

/* سبد خرید */
.ntic-cart-icon {
    position: relative;
    cursor: pointer;
    padding: 12px 10px 8px 10px;
    transition: transform 0.2s;
}

.ntic-cart-icon:hover {
    transform: scale(1.05);
}

.ntic-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--ntic-danger);
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* سایدبار سبد خرید */
.ntic-cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: white;
    z-index: 10001;
    transition: right 0.3s ease;
    box-shadow: var(--ntic-shadow);
    display: flex;
    flex-direction: column;
}

.ntic-cart-sidebar.open {
    right: 0;
}

.ntic-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
}

.ntic-cart-overlay.open {
    display: block;
}

.ntic-cart-header {
    background: linear-gradient(89deg, #2467ad, #2c80d7);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ntic-cart-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.ntic-cart-subtitle {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
    color: white;
}

.ntic-cart-close {
    cursor: pointer;
}

.ntic-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.ntic-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.ntic-empty-cart-text {
    color: var(--ntic-gray);
    font-size: 14px;
    margin: 16px 0;
}

.ntic-empty-cart-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--ntic-primary);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-size: 14px;
    transition: background 0.2s;
}

.ntic-empty-cart-btn:hover {
    background: var(--ntic-primary-dark);
}

.ntic-cart-footer {
    border-top: 1px solid var(--ntic-border);
    padding: 16px;
}

.ntic-cart-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.ntic-cart-footer-inner div {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.ntic-cart-total-label {
    font-size: 12px;
    color: var(--ntic-gray);
}

.ntic-cart-total-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ntic-primary);
}

.ntic-cart-checkout {
    padding: 10px 20px;
    background: var(--ntic-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}

.ntic-cart-checkout:hover {
    background: var(--ntic-primary-dark);
    color: white;
}

/* منوهای دسکتاپ */
.ntic-header-bottom {
    background: var(--ntic-bg);
}

.ntic-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.ntic-nav-sections {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    flex-wrap: wrap;
}

.nav-section-category {
    display: flex;
    align-items: center;
}

.nav-section-category .ntic-nav-link {
    font-size: 14px;
    font-weight: 600;
}

.nav-divider-vertical {
    width: 1px;
    height: 24px;
    background: var(--ntic-border);
    margin: 0 12px;
}

.nav-section-menus {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-section-menus .ntic-nav-link {
    font-size: 13px;
    font-weight: 400;
}

.nav-divider-vertical-second {
    width: 1px;
    height: 24px;
    background: var(--ntic-border);
    margin: 0 12px;
}

.nav-section-question {
    display: flex;
    align-items: center;
}

.nav-section-question .ntic-nav-link {
    font-size: 13px;
    font-weight: 400;
    color: var(--ntic-orange);
}

.nav-section-question .ntic-nav-link:hover {
    color: var(--ntic-orange);
}

.ntic-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--ntic-text);
    position: relative;
    transition: color 0.2s;
}

.ntic-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--ntic-primary);
    transition: width 0.2s;
}

.ntic-nav-link:hover::after {
    width: calc(100% - 32px);
}

.ntic-nav-link:hover {
    color: var(--ntic-primary);
}

.nav-section-question .ntic-nav-link::after {
    background: var(--ntic-orange);
}

/* شبکه‌های اجتماعی دسکتاپ */
.ntic-contact-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ntic-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ntic-social-link:hover {
    transform: translateY(-6px);
}

.ntic-social-divider {
    width: 1px;
    height: 24px;
    background: var(--ntic-border);
    margin: 0 4px;
}

.ntic-phone-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 6px;
    color: var(--ntic-primary);
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.ntic-phone-menu:hover {
    background: var(--ntic-primary);
    color: white;
    transform: translateY(-6px);
}

/* ===== مگامنو دسکتاپ ===== */
.ntic-megamenu-item {
    position: static;
}

.ntic-megamenu-panel {
    position: absolute;
    max-width: 70%;
    top: 100%;
    right: 25px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-start;
}

.ntic-megamenu-item:hover .ntic-megamenu-panel {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.ntic-megamenu-container {
    display: flex;
    width: 100%;
    min-width: 1080px;
    margin: 0;
    direction: rtl;
    background: white;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    height: 70vh;
    max-height: 600px;
    min-height: 400px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 5%);
}

.ntic-megamenu-sidebar {
    width: 235px;
    background: #112d7c08;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
    order: 1;
}

.ntic-megamenu-sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    direction: ltr;
}

.ntic-megamenu-sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.ntic-megamenu-sidebar-scroll::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}

.ntic-megamenu-sidebar-scroll::-webkit-scrollbar-thumb {
    background: #2467ad;
    border-radius: 4px;
}

.ntic-megamenu-sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
    font-size: 14px;
    color: #1f2937;
    border-right: 3px solid transparent;
    margin: 2px 0;
    flex-direction: row-reverse;
}

.ntic-megamenu-sidebar-item:hover {
    background: #f3f4f6;
}

.ntic-megamenu-sidebar-item.active {
    background: white;
    color: #1a79dd;
    font-weight: 500;
}

.ntic-megamenu-sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
}

.ntic-megamenu-sidebar-icon img {
    width: 20px;
    height: 20px;
}

.ntic-megamenu-sidebar-name {
    flex: 1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ntic-megamenu-sidebar-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.ntic-megamenu-sidebar-item:hover .ntic-megamenu-sidebar-arrow {
    opacity: 1;
    transform: translateX(-4px);
}

.ntic-megamenu-content {
    flex: 1;
    padding: 20px 20px;
    background: white;
    overflow-y: auto;
    height: 100%;
    order: 2;
    direction: rtl;
}

.ntic-megamenu-content::-webkit-scrollbar {
    width: 4px;
}

.ntic-megamenu-content::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}

.ntic-megamenu-content::-webkit-scrollbar-thumb {
    background: #2467ad;
    border-radius: 4px;
}

.ntic-megamenu-columns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex-direction: row;
}

.ntic-megamenu-column {
    min-width: 150px;
    max-width: 195px;
    flex: 1;
}

.ntic-megamenu-column-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 0px 8px 0px 8px;
    border-right: 2px solid #eb1919;
    display: inline-block;
}

.ntic-megamenu-column-title a {
    text-decoration: none;
    color: #1f2937;
    transition: color 0.2s;
}

.ntic-megamenu-column-title a:hover {
    color: #2467ad;
}

.ntic-megamenu-column-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.ntic-megamenu-column-list li {
    margin-bottom: 8px;
}

.ntic-megamenu-column-list a {
    text-decoration: none;
    color: #4b5563;
    font-size: 13px;
    transition: all 0.2s ease;
    display: block;
    padding: 4px 0;
}

.ntic-megamenu-column-list a:hover {
    color: #2467ad;
    padding-right: 4px;
}

.ntic-megamenu-banner {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.ntic-megamenu-banner a {
    display: block;
}

.ntic-megamenu-banner img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.ntic-megamenu-banner img:hover {
    transform: scale(1.01);
}

.ntic-megamenu-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #9ca3af;
    font-size: 14px;
    gap: 8px;
}

.ntic-megamenu-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #2467ad;
    border-radius: 50%;
    animation: ntic-spin 0.8s linear infinite;
}

@keyframes ntic-spin {
    to { transform: rotate(360deg); }
}

.ntic-megamenu-all-products {
    margin-bottom: 18px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.ntic-all-products-link {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 450px;
    min-width: 150px;
    text-decoration: none;
    color: #00a1ff;
    font-size: 14px;
    font-weight: 500;
    flex-direction: row;
}

.ntic-all-products-link:hover .ntic-all-products-arrow {
    transform: translateX(5px);
}

.ntic-all-products-text {
    flex: 1;
}

.ntic-all-products-arrow {
    transition: transform 0.2s ease;
    width: 28px;
    height: 14px;
}

/* دسکتاپ */
.ntic-desktop {
    display: block;
}

/* ================================================== */
/* هدر موبایل */
/* ================================================== */
.ntic-mobile {
    display: none;
}

.mobile-top-bar {
    background: white;
    padding: 10px 10px;
    border-radius: 18px;
    margin: 0;
    box-shadow: 0 0px 30px rgb(0 0 0 / 13%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 100;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.mobile-logo-center {
    flex: 1;
    text-align: center;
}

.mobile-logo-center img {
    max-height: 32px;
    width: auto;
}

.mobile-call-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 20000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-global-close {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: rgb(255 255 255);
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20010;
    font-size: 15px;
    font-weight: bold;
    color: #ff0000;
    transition: 0.2s;
    opacity: 0;
    visibility: hidden;
}

.mobile-global-close.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-main-panel {
    position: fixed;
    bottom: 7.5rem;
    right: 4%;
    width: auto;
    min-width: 14rem;
    background: white;
    border-radius: 12px;
    z-index: 20001;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    padding: 20px 15px;
    height: 400px;
    max-height: 70%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
}

.mobile-menu-main-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0px 14px 0px;
    text-decoration: none;
    color: #0e0d0d;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.mobile-menu-item:active {
    background: #e2e8f0;
}

.mobile-menu-item img {
    width: 20px;
    height: 20px;
}

.mobile-social-panel {
    position: fixed;
    bottom: 7.5rem;
    left: 4%;
    width: auto;
    min-width: 3.5rem;
    background: white;
    border-radius: 12px;
    z-index: 20002;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    padding: 12px 12px !important;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50px);
}

.mobile-social-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
    border-radius: 16px;
    transition: 0.2s;
}

.mobile-social-item:active {
    background: #f5f5f5;
}

.mobile-social-item img {
    width: 28px;
    height: 28px;
}

.mobile-bottom-panel {
    position: fixed;
    bottom: 5%;
    left: 3%;
    right: 3%;
    width: 94%;
    background: white;
    border-radius: 12px;
    z-index: 20003;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 12px 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
}

.mobile-bottom-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-size: 10px;
    font-weight: 500;
    transition: 0.2s;
    flex: 1;
    text-align: center;
}

.mobile-bottom-item:active {
    transform: scale(0.95);
}

.mobile-bottom-item img,
.mobile-bottom-item svg {
    width: 28px;
    height: 28px;
}

.mobile-bottom-item .special-sale-icon {
    width: 80px;
    padding: 12px 11px 12px 9px;
    background: #ffd5d5d9;
    border-radius: 5px;
    margin-top: -1px;
    margin-bottom: -8px;
    height: auto;
}

/* ===== صفحه جستجوی تمام صفحه موبایل ===== */
.fullscreen-search {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 30000;
    display: none;
    flex-direction: column;
    padding: 20px;
}

.fullscreen-search.active {
    display: flex;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 20px;
}

.search-back {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: #f0f0f1;
    border-radius: 10px;
    direction: ltr;
    width: 85%;
}

.search-input-full {
    flex: 1;
    padding: 14px 12px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'IRANYekanXFaNum';
    background: transparent;
    outline: none;
    text-align: right;
    order: 2;
    width: 40%;
}

.search-input-full::placeholder {
    color: #999;
    font-size: 13px;
}

.mobile-search-icon-fixed {
    background: transparent;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    order: 1;
    flex-shrink: 0;
}

.mobile-search-icon-fixed img {
    width: 20px;
    height: 20px;
}

.mobile-search-placeholder {
    display: flex;
    align-items: center;
    gap: 4px;
    order: 3;
    padding-right: 20px;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    transition: opacity 0.2s;
    flex-direction: row-reverse;
}

.mobile-search-placeholder.hide-on-typing {
    opacity: 0;
    visibility: hidden;
    width: 0;
    padding: 0;
    overflow: hidden;
}

.mobile-search-placeholder img {
    width: 60px;
}

.search-clear {
    display: none !important;
}

.search-suggestions-list {
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.search-suggestion-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.search-suggestion-product:active {
    background: #f5f5f5;
}

.search-suggestion-info {
    flex: 1;
}

.search-suggestion-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.search-banner-custom {
    margin-top: 15px;
    margin-bottom: 20px;
    border: 2px solid #0060ff;
    border-radius: 16px;
    overflow: hidden;
}

.search-banner-custom img {
    width: 100%;
    display: block;
}

.search-hot {
    margin-top: 15px;
}

.search-hot-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-hot-title img {
    width: 18px;
    height: 18px;
}

.search-hot-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-hot-item {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

/* منوی دسته‌بندی آکاردئونی */
.category-accordion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 40000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-accordion-overlay.active {
    display: block;
    opacity: 1;
}

.category-accordion-container {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    width: 100%;
    height: 85%;
    background: white;
    border-radius: 24px 24px 0 0;
    z-index: 40001;
    transition: bottom 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.category-accordion-container.active {
    bottom: 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.accordion-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.accordion-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.accordion-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

.accordion-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 2px;
}

.accordion-item-header .cat-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-item-header .cat-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.accordion-item-header .arrow {
    transition: transform 0.3s ease;
    width: 18px;
    height: 18px;
}

.accordion-item-header.active .arrow {
    transform: rotate(180deg);
}

.accordion-item-content {
    display: none;
    padding: 5px 0 15px 35px;
}

.accordion-item-content a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    border-radius: 10px;
}

.accordion-item-content a:hover {
    background: #f1f5f9;
    color: #0060ff;
}

/* نوار پایین موبایل */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 35px rgb(0 0 0 / 12%);
    padding: 10px 10px 10px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.2s;
    flex: 1;
    text-decoration: none;
    color: #666;
}

.bottom-nav-item:active {
    background: #f5f5f5;
}

.bottom-nav-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.bottom-nav-label {
    font-size: 10px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .ntic-desktop {
        display: none;
    }
    .ntic-mobile {
        display: block;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .bottom-nav-label {
        font-size: 9px;
    }

    .mobile-social-item img {
        width: 24px;
        height: 24px;
    }
    .mobile-bottom-item img,
    .mobile-bottom-item svg {
        width: 24px;
        height: 24px;
    }
}