/**
 * TNTBook Custom Styles
 * @version 1.3.0
 */

:root {
    --tnt-header-dark: #131921;
    --tnt-header-medium: #232f3e;
    --tnt-header-hover: #485769;
    --tnt-primary: #0a6ebd;
    --tnt-primary-dark: #085998;
    --tnt-primary-light: #e7f1fa;
    --tnt-yellow: #febd69;
    --tnt-yellow-dark: #f3a847;
    --tnt-orange: #f59e0b;
    --tnt-success: #10b981;
    --tnt-danger: #ef4444;
    --tnt-bg: #fafafa;
    --tnt-bg-white: #ffffff;
    --tnt-bg-gray: #f3f4f6;
    --tnt-text: #1f2937;
    --tnt-text-light: #6b7280;
    --tnt-text-muted: #9ca3af;
    --tnt-text-white: #ffffff;
    --tnt-border: #e5e7eb;
    --tnt-border-light: #f3f4f6;
    --tnt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tnt-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --tnt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --tnt-radius-sm: 4px;
    --tnt-radius: 6px;
    --tnt-radius-lg: 12px;
    --tnt-radius-full: 9999px;
    --tnt-transition: all 0.2s ease;
}

/* ===== تنظیمات پایه ===== */

body, button, input, select, textarea,
.ast-button, .ast-custom-button,
h1, h2, h3, h4, h5, h6,
.site-title, .site-title a, .entry-title, .menu-link {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    background-color: var(--tnt-bg) !important;
    color: var(--tnt-text);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--tnt-text);
}

.tnt-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.tnt-action-label { white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.2; }

/* ===== صفحه اصلی ===== */

.home .ast-container,
.home .site-content > .ast-container,
.home #primary,
.home .ast-no-sidebar #primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home .site-content { padding: 0 !important; }

.home .entry-content, .home article {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.home .entry-header,
.home .ast-article-single,
.home .ast-no-sidebar.ast-separate-container .ast-article-single { display: none !important; }

.home .ast-separate-container { background: transparent !important; padding: 0 !important; }

.home { background-color: #eaeded; }

/* ===== اسلایدر ===== */

/* ===== بنرهای دسته‌بندی ===== */

/* ===== بنرهای تبلیغاتی ===== */

/* ============================================
   صفحه فروشگاه - چیدمان 6 ستونه
   ============================================ */

.woocommerce-page .ast-container,
.archive .ast-container {
    max-width: 1500px !important;
    padding: 20px 14px !important;
}

/* حذف سایدبار */
.woocommerce-page #secondary,
.archive #secondary { display: none !important; }

.woocommerce-page #primary,
.archive #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* عنوان صفحه فروشگاه */
.woocommerce-products-header__title {
    font-size: 18px !important;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--tnt-text);
    text-align: right;
}

/* گرید 6 ستونه */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: none !important;
}

.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after { display: none !important; }

/* ============================================
   کارت محصول سفارشی
   ============================================ */

.tnt-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: var(--tnt-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.tnt-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* عکس محصول */
.tnt-product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f9fafb;
    text-decoration: none !important;
}

.tnt-product-image {
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tnt-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tnt-product-card:hover .tnt-product-img { transform: scale(1.05); }

.tnt-product-placeholder {
    font-size: 80px;
    opacity: 0.3;
}

/* نشان تخفیف */
.tnt-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--tnt-danger);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--tnt-radius-sm);
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

/* جزئیات Hover (مثل tntbook) */
.tnt-product-hover-details {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--tnt-transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.tnt-product-card:hover .tnt-product-hover-details {
    opacity: 1;
    visibility: visible;
}

.tnt-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 4px 0;
    border-bottom: 1px dashed var(--tnt-border-light);
}

.tnt-detail-row:last-child { border: none; }

.tnt-detail-label {
    color: var(--tnt-text-light);
    font-weight: 500;
}

.tnt-detail-value {
    color: var(--tnt-text);
    font-weight: 600;
    text-align: left;
}

/* اطلاعات محصول */
.tnt-product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.tnt-product-title-link {
    text-decoration: none !important;
    color: var(--tnt-text) !important;
}

.tnt-product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--tnt-text);
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.tnt-product-author {
    font-size: 12px;
    color: var(--tnt-text-light);
    margin: 0;
    font-weight: 500;
}

/* قیمت و دکمه‌ها */
.tnt-product-footer {
    padding: 10px 12px;
    border-top: 1px solid var(--tnt-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tnt-product-price {
    flex: 1;
    text-align: right;
}

.tnt-product-price .price {
    color: var(--tnt-primary);
    font-weight: 700;
    font-size: 14px;
}

.tnt-product-price .price del {
    color: var(--tnt-text-muted);
    font-size: 11px;
    font-weight: 400;
    display: block;
    margin-bottom: 2px;
}

.tnt-product-price .price ins {
    text-decoration: none;
    color: var(--tnt-danger);
    font-weight: 800;
}

.tnt-product-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.tnt-action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tnt-primary-light);
    color: var(--tnt-primary) !important;
    border-radius: var(--tnt-radius-sm);
    text-decoration: none !important;
    transition: var(--tnt-transition);
    border: 1px solid transparent;
}

.tnt-action-btn:hover {
    background: var(--tnt-primary);
    color: #fff !important;
    transform: scale(1.05);
}

.tnt-action-cart {
    background: var(--tnt-primary);
    color: #fff !important;
}

.tnt-action-cart:hover {
    background: var(--tnt-primary-dark);
}

/* ============================================
   ریسپانسیو
   ============================================ */

/* تبلت بزرگ */
@media (max-width: 1400px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* تبلت */
@media (max-width: 1200px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .tnt-hero-slider { height: 520px; }
    .tnt-slide-content h2 { font-size: 44px; }
    .tnt-category-banners { margin-top: -180px; }
    .tnt-cat-card { min-height: 320px; }
    .tnt-cat-icon { font-size: 90px; }
}

/* تبلت کوچک */
@media (max-width: 992px) {
    .tnt-hero-slider { height: 480px; }
    .tnt-hero-slider::after { height: 200px; }
    .tnt-slide-content h2 { font-size: 36px; }
    .tnt-slide-content p { font-size: 17px; }
    .tnt-slide-image { font-size: 200px; }
    .tnt-slider-dots { bottom: 220px; }
    .tnt-category-banners { margin-top: -160px; }
    .tnt-category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tnt-cat-card { min-height: 300px; }
    .tnt-promo-grid { grid-template-columns: 1fr; }
    
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .tnt-container { padding: 0 12px; }
    .tnt-action-item:not(.tnt-cart) .tnt-action-label { display: none; }
    .tnt-action-item { padding: 8px 8px; }
    .tnt-logo-text { font-size: 22px; }
    .tnt-logo-icon { font-size: 26px; }
}

/* موبایل */
@media (max-width: 768px) {
    .tnt-header-top { padding: 8px 0; }
    .tnt-header-top .tnt-container { flex-wrap: wrap; gap: 8px; min-height: auto; }
    .tnt-logo { order: 1; flex: 0 0 auto; padding: 4px 6px; }
    .tnt-actions { order: 2; margin-right: auto; }
    .tnt-search { order: 3; width: 100%; max-width: 100%; flex: 0 0 100%; margin: 4px 0 0 0; }
    .tnt-search-input { padding: 8px 12px !important; font-size: 14px; height: 38px; }
    .tnt-search-btn { min-width: 44px; height: 38px; }
    .tnt-cart .tnt-action-label { display: none; }
    .tnt-nav-all { padding: 10px 12px; font-size: 13px; }
    .tnt-nav-list { display: none; }
    
    .tnt-nav-list.mobile-active {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; right: 0; left: 0;
        background: var(--tnt-header-medium);
        padding: 8px !important;
        box-shadow: var(--tnt-shadow-lg);
        z-index: 998; gap: 0;
    }
    
    .tnt-nav-list.mobile-active .tnt-nav-item { width: 100%; }
    .tnt-nav-list.mobile-active .tnt-nav-link {
        padding: 12px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: #fff !important;
    }
    .tnt-mobile-toggle { display: flex; }
    .tnt-header-bottom .tnt-container { position: relative; }
    
    .tnt-hero-slider { height: 400px; }
    .tnt-hero-slider::after { height: 150px; }
    .tnt-slide-content { padding: 0 20px; }
    .tnt-slide-content h2 { font-size: 26px; }
    .tnt-slide-content p { font-size: 14px; margin-bottom: 18px; }
    .tnt-slide-btn { padding: 11px 28px; font-size: 14px; }
    .tnt-slide-image { font-size: 140px; }
    .tnt-slider-prev, .tnt-slider-next { width: 40px; height: 40px; top: 35%; }
    .tnt-slider-prev { right: 12px; }
    .tnt-slider-next { left: 12px; }
    .tnt-slider-dots { bottom: 170px; }
    .tnt-category-banners { margin-top: -130px; }
    .tnt-cat-card { min-height: 240px; }
    .tnt-cat-card-header { padding: 14px 14px 8px; }
    .tnt-cat-title { font-size: 15px; }
    .tnt-cat-icon { font-size: 70px; }
    .tnt-cat-card-footer { padding: 10px 14px; }
    .tnt-cat-link { font-size: 12px; }
    .tnt-promo-card { padding: 24px 20px; }
    .tnt-promo-card h3 { font-size: 20px; }
    .tnt-promo-icon { font-size: 50px; }
    
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .tnt-product-title { font-size: 13px; min-height: 36px; }
    .tnt-product-info { padding: 10px; }
    .tnt-product-footer { padding: 8px 10px; }
    .tnt-action-btn { width: 30px; height: 30px; }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .tnt-logo-text { font-size: 18px; }
    .tnt-logo-icon { font-size: 22px; }
    .tnt-action-item svg { width: 20px; height: 20px; }
    .tnt-hero-slider { height: 360px; }
    .tnt-slide-content h2 { font-size: 22px; }
    .tnt-category-grid { gap: 8px; }
    .tnt-cat-card { min-height: 200px; }
    .tnt-cat-icon { font-size: 55px; }
    .tnt-cat-title { font-size: 13px; }
    
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 8px !important;
    }
}

/* اصلاحات RTL */
.price, .amount, .woocommerce-Price-amount {
    direction: rtl;
    unicode-bidi: embed;
}

/* ============================================
   TNTBook Product Card - Part 1: Grid & Card
   ============================================ */

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    list-style: none !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
    display: none !important;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(10, 110, 189, 0.15) !important;
    border-color: var(--tnt-primary) !important;
    transform: translateY(-3px) !important;
}

/* ============================================
   TNTBook Product Card - Part 2: Image & Badges
   ============================================ */

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 2/3 !important;
    overflow: hidden !important;
    background: #f9fafb !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-loop-product__link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 10px !important;
    margin: 0 !important;
    display: block !important;
}

.woocommerce ul.products li.product .ast-onsale-card,
.woocommerce ul.products li.product .onsale {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    background: var(--tnt-danger) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    border: none !important;
    z-index: 3 !important;
    transform: none !important;
}

.woocommerce ul.products li.product .ast-on-card-button.ast-select-options-trigger {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    background: rgba(10, 110, 189, 0.95) !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 3 !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.woocommerce ul.products li.product:hover .ast-on-card-button.ast-select-options-trigger {
    opacity: 1 !important;
}

.woocommerce ul.products li.product .ast-on-card-button .ast-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: #fff !important;
}

/* ============================================
   TNTBook Product Card - Part 3: Hover Overlay
   ============================================ */

.tnt-book-hover-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 2 !important;
}

.woocommerce ul.products li.product:hover .tnt-book-hover-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}

.tnt-overlay-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.tnt-overlay-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 11px !important;
    padding: 4px 0 !important;
    border-bottom: 1px dashed #e5e7eb !important;
    line-height: 1.5 !important;
}

.tnt-overlay-row:last-child {
    border-bottom: none !important;
}

.tnt-overlay-label {
    color: var(--tnt-text-light) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.tnt-overlay-value {
    color: var(--tnt-text) !important;
    font-weight: 700 !important;
    text-align: left !important;
}

/* ============================================
   TNTBook Product Card - Part 4: Summary Content
   ============================================ */

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    gap: 6px !important;
    text-align: center !important;
}

.woocommerce ul.products li.product .ast-woo-product-category {
    font-size: 11px !important;
    color: var(--tnt-primary) !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--tnt-text) !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    min-height: 38px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
}

.woocommerce ul.products li.product a.ast-loop-product__link {
    text-decoration: none !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tnt-book-short-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tnt-book-author,
.tnt-book-publisher {
    font-size: 11px !important;
    color: var(--tnt-text-light) !important;
    line-height: 1.4 !important;
    text-align: center !important;
    display: block !important;
}

.tnt-book-author {
    font-weight: 600 !important;
    color: var(--tnt-text) !important;
}

.woocommerce ul.products li.product .price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--tnt-primary) !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    direction: rtl !important;
}

.woocommerce ul.products li.product .price del {
    color: var(--tnt-text-muted) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-left: 6px !important;
    opacity: 0.7 !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--tnt-danger) !important;
    font-weight: 800 !important;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap > a.button {
    background: var(--tnt-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px !important;
    margin: auto 0 0 0 !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    display: block !important;
    text-decoration: none !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap > a.button:hover {
    background: var(--tnt-primary-dark) !important;
    color: #fff !important;
}

.woocommerce ul.products li.product .button.added {
    background: var(--tnt-success) !important;
}

/* ============================================
   TNTBook Product Card - Part 5: Responsive
   ============================================ */

/* لپ‌تاپ کوچک (max 1200): 4 ستون */
@media (max-width: 1200px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
    }
}

/* تبلت (max 992): 3 ستون */
@media (max-width: 992px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* موبایل (max 768): 2 ستون */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
        min-height: 34px !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 13px !important;
    }

    .tnt-overlay-row {
        font-size: 10px !important;
    }

    .tnt-book-author,
    .tnt-book-publisher {
        font-size: 10px !important;
    }
}

/* موبایل کوچک (max 480) */
@media (max-width: 480px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 8px !important;
    }

    .woocommerce ul.products li.product .astra-shop-summary-wrap {
        padding: 8px !important;
    }
}

/* ============================================
   TNTBook Product Card - Part 6: Fix & Card Icons
   ============================================ */

/* حذف کامل دکمه شناور آبی بالای تصویر (نوار) */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .ast-on-card-button.ast-select-options-trigger {
    display: none !important;
}

/* حذف دکمه بزرگ "افزودن به سبد" پایین کارت (اگه هنوز نمایش داده میشه) */
.woocommerce ul.products li.product .astra-shop-summary-wrap > a.button,
.woocommerce ul.products li.product .astra-shop-summary-wrap > a.add_to_cart_button {
    display: none !important;
}

/* ===== 2 آیکن دایره‌ای پایین کارت ===== */
.tnt-card-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 8px 0 4px 0 !important;
    padding: 0 !important;
}

.tnt-card-actions .tnt-action-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1.5px solid var(--tnt-primary) !important;
    color: var(--tnt-primary) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tnt-card-actions .tnt-action-btn:hover {
    background: var(--tnt-primary) !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

.tnt-card-actions .tnt-action-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
}

/* وضعیت loading دکمه سبد */
.tnt-card-actions .tnt-action-btn.loading {
    opacity: 0.7 !important;
    cursor: wait !important;
}

.tnt-card-actions .tnt-action-btn.added {
    background: var(--tnt-success) !important;
    border-color: var(--tnt-success) !important;
    color: #fff !important;
}

/* ===== نمایش ناشر (به جای نویسنده/ناشر) ===== */
.tnt-book-publisher-wrap {
    display: block !important;
    margin: 2px 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.tnt-book-publisher-wrap .tnt-book-publisher {
    font-size: 11px !important;
    color: var(--tnt-text-light) !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    display: inline-block !important;
}

/* مخفی کردن tnt-book-short-info قدیمی (اگر هست) */
.tnt-book-short-info {
    display: none !important;
}

/* ============================================
   TNTBook Product Card - Part 7: User Feedback Fixes
   ============================================ */

/* 1. غیرفعال کردن موقت Hover Overlay */
.tnt-book-hover-overlay {
    display: none !important;
}

/* 2. کاهش فاصله بین عنوان و ناشر */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 4px 0 2px 0 !important;
    min-height: auto !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.tnt-book-publisher-wrap {
    margin: 0 0 4px 0 !important;
}

/* افزایش سایز فونت‌های زیر تصویر */
.woocommerce ul.products li.product .ast-woo-product-category {
    font-size: 12px !important;
    margin-bottom: 4px !important;
}

.tnt-book-publisher-wrap .tnt-book-publisher {
    font-size: 13px !important;
    color: var(--tnt-text-light) !important;
    font-weight: 500 !important;
}

/* 3. ردیف پایین: قیمت + آیکن‌ها در یک ردیف */
.tnt-card-actions {
    display: none !important;
}

/* 4. ساخت ردیف جدید: قیمت + آیکن‌ها */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 12px !important;
    gap: 4px !important;
}

/* قیمت بزرگ‌تر */
.woocommerce ul.products li.product .price {
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: right !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
}

/* قیمت اصلی (خط زده) بالا */
.woocommerce ul.products li.product .price del {
    display: block !important;
    font-size: 12px !important;
    color: var(--tnt-text-muted) !important;
    margin: 0 !important;
    opacity: 0.7 !important;
    order: 1 !important;
}

/* قیمت تخفیف خورده پایین */
.woocommerce ul.products li.product .price ins {
    display: block !important;
    font-size: 15px !important;
    color: var(--tnt-danger) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    margin: 0 !important;
    order: 2 !important;
}

/* ردیف قیمت + آیکن‌ها */
.tnt-price-actions-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 6px 0 0 0 !important;
    padding-top: 8px !important;
    border-top: 1px solid #f3f4f6 !important;
}

.tnt-price-actions-row .tnt-action-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1.5px solid var(--tnt-primary) !important;
    color: var(--tnt-primary) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.tnt-price-actions-row .tnt-action-btn:hover {
    background: var(--tnt-primary) !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

.tnt-price-actions-row .tnt-action-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.tnt-price-actions-row .tnt-actions-group {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
}

.tnt-price-actions-row .tnt-action-btn.added {
    background: var(--tnt-success) !important;
    border-color: var(--tnt-success) !important;
    color: #fff !important;
}

/* ============================================
   TNTBOOK-STYLE HEADER v2
   ============================================ */

/* === رنگ‌های دقیق tntbook === */
:root {
    --tnt-header-dark: #131921;
    --tnt-header-medium: #232F3E;
    --tnt-yellow: #FEBD69;
    --tnt-yellow-hover: #F0A040;
    --tnt-link: #007185;
    --tnt-link-hover: #005A6B;
    --tnt-price-red: #B12704;
    --tnt-success-green: #007600;
    --tnt-bg-light: #EAEDED;
    --tnt-border: #DDD;
}

/* === Actions (حساب + سفارش + سبد) === */
.tnt-actions {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
}

/* === Responsive === */
@media (max-width: 992px) {
    .tnt-deliver-to {
        display: none !important;
    }

    .tnt-action-line1 {
        display: none !important;
    }

    .tnt-search-cat {
        max-width: 100px !important;
    }
}

@media (max-width: 768px) {
    .tnt-header-top .tnt-container {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .tnt-logo {
        order: 1 !important;
        flex: 0 0 auto !important;
        padding: 4px 8px !important;
    }

    .tnt-actions {
        order: 2 !important;
        margin-right: auto !important;
    }

    .tnt-search {
        order: 3 !important;
        flex: 0 0 100% !important;
        margin: 4px 0 0 0 !important;
    }

    .tnt-search-cat {
        display: none !important;
    }

    .tnt-orders {
        display: none !important;
    }

    .tnt-cart-label {
        display: none !important;
    }

    .tnt-logo-text {
        font-size: 18px !important;
    }

    .tnt-logo-tld {
        font-size: 10px !important;
    }

    .tnt-mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .tnt-nav-list {
        display: none !important;
    }

    .tnt-nav-list.mobile-active {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        background: var(--tnt-header-medium) !important;
        padding: 8px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
        z-index: 999 !important;
    }

    .tnt-nav-list.mobile-active .tnt-nav-item {
        width: 100% !important;
    }

    .tnt-nav-list.mobile-active .tnt-nav-link {
        padding: 12px 14px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }

    .tnt-header-bottom .tnt-container {
        position: relative !important;
    }
}

/* ============================================
   TNTBOOK-STYLE HERO SLIDER v2
   ============================================ */

/* Pattern overlay (تزئین زمینه) */

/* Pattern - الگوهای متفاوت برای هر اسلاید */

/* محتوای اسلاید */

/* دکمه CTA - زرد tntbookی */

/* دکمه‌های ناوبری اسلایدر */
.tnt-slider-prev,

.tnt-slider-prev:hover,

/* نقاط ناوبری */

/* ============================================
   CATEGORY CARDS (TNTBook Style)
   ============================================ */

.tnt-cat-count {
    font-size: 12px !important;
    color: var(--tnt-text-light, #565959) !important;
    font-weight: 500 !important;
}

/* ============================================
   PROMO BANNERS (2 bottom banners)
   ============================================ */

.tnt-promo-title {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
}

.tnt-promo-subtitle {
    color: rgba(255,255,255,0.95) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0 !important;
}

.tnt-promo-desc {
    color: rgba(255,255,255,0.85) !important;
    margin: 0 0 18px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .tnt-hero-slider {
        height: 450px !important;
    }
    .tnt-slide-title {
        font-size: 40px !important;
    }
    .tnt-category-banners {
        margin-top: -70px !important;
    }
}

@media (max-width: 992px) {
    .tnt-hero-slider {
        height: 400px !important;
    }
    .tnt-slide-title {
        font-size: 32px !important;
    }
    .tnt-slide-subtitle {
        font-size: 16px !important;
    }
    .tnt-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .tnt-promo-grid {
        grid-template-columns: 1fr !important;
    }
    .tnt-cat-card {
        min-height: 250px !important;
    }
    .tnt-cat-icon {
        font-size: 70px !important;
    }
}

@media (max-width: 768px) {
    .tnt-hero-slider {
        height: 350px !important;
    }
    .tnt-slide-content {
        padding: 0 20px !important;
    }
    .tnt-slide-title {
        font-size: 24px !important;
    }
    .tnt-slide-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    .tnt-slide-btn {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }
    .tnt-slider-prev,
    .tnt-slider-next {
        width: 40px !important;
        height: 40px !important;
    }
    .tnt-slider-prev {
        right: 10px !important;
    }
    .tnt-slider-next {
        left: 10px !important;
    }
    .tnt-slider-dots {
        bottom: 15px !important;
    }
    .tnt-category-banners {
        margin-top: -50px !important;
    }
    .tnt-cat-card {
        min-height: 200px !important;
    }
    .tnt-cat-card-header {
        padding: 12px 14px 8px !important;
    }
    .tnt-cat-title {
        font-size: 14px !important;
    }
    .tnt-cat-count {
        font-size: 11px !important;
    }
    .tnt-cat-icon {
        font-size: 55px !important;
    }
    .tnt-promo-card {
        padding: 25px 20px !important;
        min-height: 160px !important;
    }
    .tnt-promo-title {
        font-size: 18px !important;
    }
    .tnt-promo-subtitle {
        font-size: 15px !important;
    }
    .tnt-promo-icon {
        font-size: 70px !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   🎨 TNTBOOK PRODUCT SECTIONS (v6.0.0)
   فلش‌های دایره‌ای کوچک - مثل سایت نمونه
═══════════════════════════════════════════════════════════ */

.tntb-section {
    padding: 14px 0 12px;
    background: #ffffff;
}

.tntb-section + .tntb-section {
    border-top: 1px solid #e7e7e7;
}

.tntb-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 18px;
    width: 100%;
    box-sizing: border-box;
}

/* ─── هدر سکشن ─── */
.tntb-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 16px;
    padding: 0 4px;
}

.tntb-section-title {
    font-size: 21px;
    font-weight: 700;
    color: #0F1111;
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tntb-section-icon {
    font-size: 22px;
    line-height: 1;
}

.tntb-section-viewall {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #007185;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.tntb-section-viewall:hover {
    color: #C7511F;
    text-decoration: underline;
}

/* ─── کاروسل ─── */
.tntb-carousel {
    position: relative;
}

.tntb-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 6px;
}

.tntb-track::-webkit-scrollbar {
    display: none;
}

/* ─── دکمه‌های ناوبری (دایره کوچک، وسط ارتفاع تصویر) ─── */
.tntb-carousel-nav {
    position: absolute;
    top: 30%;
    z-index: 20;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F1111;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    padding: 0;
    opacity: 1;
    visibility: visible;
}

.tntb-carousel-nav:hover {
    background: #f0f2f2 !important;
    border-color: #888888 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.tntb-carousel-nav:active {
    background: #d5d9d9 !important;
}

.tntb-carousel-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
    pointer-events: none;
}

.tntb-carousel-prev {
    right: 8px;
}

.tntb-carousel-next {
    left: 8px;
}

.tntb-carousel-nav.tntb-nav-disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ─── کارت محصول ─── */
.tntb-card {
    flex: 0 0 calc((100% - 10px * 6) / 7);
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
}

.tntb-card-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.3;
    overflow: hidden;
    background: #f7f7f7;
    border-radius: 3px;
    margin-bottom: 6px;
    transition: opacity 0.15s ease;
}

.tntb-card-image-link:hover {
    opacity: 0.92;
}

.tntb-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.tntb-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #ccc;
}

/* ─── بدنه کارت ─── */
.tntb-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 2px;
}

.tntb-card-title-link {
    text-decoration: none;
    color: inherit;
}

.tntb-card-title {
    font-size: 13px;
    font-weight: 400;
    color: #0F1111;
    margin: 0 0 2px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
    transition: color 0.15s ease;
}

.tntb-card-title-link:hover .tntb-card-title {
    color: #C7511F;
    text-decoration: underline;
}

.tntb-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 1px 0;
    line-height: 1;
    flex-wrap: nowrap;
    direction: ltr;
    justify-content: flex-start;
}

.tntb-rating-num {
    font-size: 13px;
    color: #0F1111;
    font-weight: 400;
    order: 1;
}

.tntb-stars {
    display: inline-flex;
    align-items: center;
    gap: 0;
    order: 2;
}

.tntb-star {
    font-size: 13px;
    line-height: 1;
    color: #DDD;
    display: inline-block;
}

.tntb-star-full {
    color: #FFA41C;
}

.tntb-star-half {
    background: linear-gradient(90deg, #FFA41C 50%, #DDD 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tntb-card-reviews {
    font-size: 13px;
    color: #007185;
    line-height: 1;
    order: 3;
    margin-right: 4px;
}

.tntb-card-format {
    font-size: 13px;
    color: #565959;
    margin: 1px 0;
    line-height: 1.2;
}

.tntb-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.tntb-price-current {
    font-size: 16px;
    font-weight: 500;
    color: #0F1111;
    line-height: 1.2;
}

.tntb-price-current .woocommerce-Price-amount {
    color: #0F1111;
    font-weight: 500;
}

.tntb-price-current .woocommerce-Price-currencySymbol {
    font-size: 11px;
    vertical-align: top;
    margin-right: 2px;
    font-weight: 400;
}

.tntb-price-old {
    font-size: 12px;
    color: #565959;
    text-decoration: line-through;
}

.tntb-price-old .woocommerce-Price-amount {
    color: #565959;
}

/* ═══════════════════════════════════════
   📱 RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 1400px) {
    .tntb-card {
        flex: 0 0 calc((100% - 10px * 5) / 6);
    }
}

@media (max-width: 1200px) {
    .tntb-card {
        flex: 0 0 calc((100% - 10px * 4) / 5);
    }
}

@media (max-width: 1024px) {
    .tntb-card {
        flex: 0 0 calc((100% - 10px * 3) / 4);
    }
    .tntb-section-title {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .tntb-section {
        padding: 12px 0 10px;
    }
    .tntb-card {
        flex: 0 0 calc((100% - 10px * 2) / 3);
    }
    .tntb-section-title {
        font-size: 17px;
    }
    .tntb-card-title {
        font-size: 12px;
        min-height: 32px;
    }
    .tntb-price-current {
        font-size: 14px;
    }
    .tntb-carousel-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .tntb-container {
        padding: 0 12px;
    }
    .tntb-card {
        flex: 0 0 140px;
    }
    .tntb-track {
        gap: 8px;
    }
    .tntb-card-title {
        font-size: 12px;
        min-height: 32px;
    }
    .tntb-price-current {
        font-size: 14px;
    }
    .tntb-section-title {
        font-size: 16px;
    }
    .tntb-section-icon {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .tntb-card {
        flex: 0 0 130px;
    }
}

/* ═══════════════════════════════════════════════════════════
   📐 LAYOUT UNIFICATION (v1.0.0)
   هماهنگ کردن عرض همه بخش‌ها به 1500px
═══════════════════════════════════════════════════════════ */

.tntb-section {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* SLIDER ARROWS FIX - دایره خاکستری + فلش مشکی */
.tnt-slider-prev,

.tnt-slider-prev:hover,

.tnt-slider-prev svg,

/* FORCE black arrows on slider buttons */
.tnt-slider-prev,

.tnt-slider-prev svg,

.tnt-slider-prev svg *,

/* SLIDER ARROWS - فقط فلش مشکی بزرگ بدون دایره */
.tnt-slider-prev,

.tnt-slider-prev:hover,

.tnt-slider-prev svg,

/* ═══════════════════════════════════════════════════════════
   🎨 CATEGORY CARDS v2.0 - 4 items per card (TNTBook style)
═══════════════════════════════════════════════════════════ */

/* Grid 2x2 برای آیتم‌ها */

.tnt-cat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f7f7f7 !important;
    border-radius: 6px !important;
    padding: 16px 8px !important;
    text-decoration: none !important;
    color: #0F1111 !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    min-height: 110px !important;
}

.tnt-cat-item:hover {
    background: #ebf6f8 !important;
    transform: translateY(-2px) !important;
    color: #C7511F !important;
}

.tnt-cat-item-icon {
    font-size: 42px !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.tnt-cat-item-name {
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .tnt-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .tnt-category-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .tnt-cat-item {
        min-height: 90px !important;
        padding: 12px 6px !important;
    }
    .tnt-cat-item-icon {
        font-size: 36px !important;
    }
    .tnt-cat-item-name {
        font-size: 12px !important;
    }
}

/* CATEGORY CARDS v3 - عرض کامل مثل الگو */

.tnt-cat-item {
    min-height: 120px !important;
    padding: 18px 8px !important;
}

.tnt-cat-item-icon {
    font-size: 48px !important;
    margin-bottom: 10px !important;
}

.tnt-cat-item-name {
    font-size: 14px !important;
    font-weight: 600 !important;
}

@media (max-width: 1400px) {
    .tnt-category-banners {
        margin-top: -140px !important;
    }
}

@media (max-width: 1024px) {
    .tnt-category-banners {
        margin-top: -100px !important;
    }
    .tnt-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .tnt-category-banners {
        margin-top: -40px !important;
    }
    .tnt-category-grid {
        grid-template-columns: 1fr !important;
    }
}

/* HERO SLIDER & CATEGORY CARDS - تطبیق با الگو */

/* بنر کم ارتفاع‌تر */

/* کارت‌ها عرض کامل */

/* ═══════════════════════════════════════════════════════════
   🎯 FINAL OVERRIDE - بنر کوتاه + کارت‌ها عرض کامل
═══════════════════════════════════════════════════════════ */

/* 1) بنر 30% کوتاه‌تر = 290px */

/* 2) کارت‌ها زیر بنر (نه overlap) */

/* 4) Grid - 4 کارت با فاصله کم */

/* 5) کارت بزرگتر و حرفه‌ای‌تر */

/* Responsive */
@media (max-width: 1024px) {
    .tnt-hero-slider {
        height: 240px !important;
    }
    .tnt-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .tnt-hero-slider {
        height: 200px !important;
    }
    .tnt-category-grid {
        grid-template-columns: 1fr !important;
    }
    .tnt-category-banners {
        padding: 0 12px !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   🎯 FINAL FIX v2 - بنر کوتاه + fade + کارت عرض کامل
═══════════════════════════════════════════════════════════ */

/* 1) بنر 232px (20% کوتاه‌تر) */

/* 2) هر اسلاید: گرادیانت عمودی - پررنگ بالا، fade سفید پایین */

/* لایه fade overlay */

/* 3) کارت‌ها: عرض کامل 1500px */

/* Responsive */
@media (max-width: 1024px) {
    section.tnt-hero-slider { height: 200px !important; }
    section.tnt-category-banners .tnt-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    section.tnt-hero-slider { height: 170px !important; }
    section.tnt-category-banners .tnt-category-grid {
        grid-template-columns: 1fr !important;
    }
    section.tnt-category-banners {
        padding: 0 12px !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   🎯 FINAL FIX v3 - Full Width + Color Fade
═══════════════════════════════════════════════════════════ */

/* بنر و کارت‌ها: عرض کامل صفحه */

/* گرادیانت رنگی: از پررنگ به نیمه‌شفاف (نه سفید) */

/* Responsive */
@media (max-width: 1024px) {
    section.tnt-category-banners .tnt-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    section.tnt-category-banners .tnt-category-grid {
        grid-template-columns: 1fr !important;
    }
}

/* رنگ یکدست بنرها - بدون گرادیانت */

/* بنر بلندتر + overlap بیشتر کارت‌ها */

@media (max-width: 1024px) {
    section.tnt-hero-slider { height: 240px !important; }
    section.tnt-category-banners { margin-top: -60px !important; }
}

@media (max-width: 600px) {
    section.tnt-hero-slider { height: 200px !important; }
    section.tnt-category-banners { margin-top: -30px !important; }
}

/* بنر تا پایین کارت‌ها ادامه پیدا کنه */

@media (max-width: 1024px) {
    section.tnt-hero-slider { height: 400px !important; }
    section.tnt-category-banners { margin-top: -220px !important; }
}

@media (max-width: 600px) {
    section.tnt-hero-slider { height: 360px !important; }
    section.tnt-category-banners { margin-top: -200px !important; }
}

/* بنر بلندتر تا پایین کارت‌ها + متن بالا */

@media (max-width: 1024px) {
    section.tnt-hero-slider { height: 480px !important; }
    section.tnt-category-banners { margin-top: -340px !important; }
}

@media (max-width: 600px) {
    section.tnt-hero-slider { height: 440px !important; }
    section.tnt-category-banners { margin-top: -300px !important; }
}

/* فاصله بیشتر بین کارت‌ها + متن بالاتر */

/* فاصله خطوط متن کمتر */

/* فلش‌های اسلایدر: بالای کارت‌ها */
.tnt-slider-prev,

/* 15% فاصله بیشتر زیر دکمه */

/* 15% فاصله بیشتر بالای متن (پایین‌تر اومدن متن) */

/* یکپارچه‌سازی عرض همه بخش‌ها */
section.tnt-hero-slider,
section.tnt-category-banners,
section.tntb-section {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* متن و فلش‌های اسلایدر بالاتر */
section.tnt-hero-slider .tnt-slide-content,

.tnt-slider-prev,

/* متن و فلش‌ها 5 سانتی‌متر بالاتر */
section.tnt-hero-slider .tnt-slide-content,

.tnt-slider-prev,

/* یکپارچه‌سازی عرض همه بخش‌ها */
section.tnt-hero-slider,
section.tnt-category-banners,
section.tntb-section {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

ERR unknown command `FLUcat`, with args beginning with: 

/* اصلاح موقعیت متن و فلش‌ها */
section.tnt-hero-slider .tnt-slide-content,

.tnt-slider-prev,

/* FORCE - نوشته‌های بنر داخل بنر */
section.tnt-hero-slider .tnt-slide,
section.tnt-hero-slider div.tnt-slide,

section.tnt-hero-slider .tnt-slide-content,

.tnt-slider-prev,

/* یکپارچه‌سازی عرض همه بخش‌ها */
section.tnt-hero-slider,
section.tnt-category-banners,
section.tntb-section {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* فاصله 75px چپ و راست برای سکشن محصولات + 6 محصول در ردیف */
section.tntb-section {
    padding-left: 75px !important;
    padding-right: 75px !important;
    box-sizing: border-box !important;
}

section.tntb-section .tntb-card {
    flex: 0 0 calc((100% - 10px * 5) / 6) !important;
}

@media (max-width: 1400px) {
    section.tntb-section .tntb-card {
        flex: 0 0 calc((100% - 10px * 4) / 5) !important;
    }
}

@media (max-width: 1024px) {
    section.tntb-section {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    section.tntb-section .tntb-card {
        flex: 0 0 calc((100% - 10px * 3) / 4) !important;
    }
}

@media (max-width: 768px) {
    section.tntb-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* فاصله متعادل از دو طرف + فلش‌ها داخل صفحه + 6 محصول */
section.tntb-section {
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

section.tntb-section .tntb-container {
    overflow: visible !important;
}

section.tntb-section .tntb-carousel {
    overflow: visible !important;
    position: relative !important;
}

/* فلش‌ها داخل سکشن (نه بیرون) */
section.tntb-section .tntb-carousel-prev {
    right: -8px !important;
    z-index: 30 !important;
}

section.tntb-section .tntb-carousel-next {
    left: -8px !important;
    z-index: 30 !important;
}

/* 6 محصول در دسکتاپ بزرگ */
@media (min-width: 1401px) {
    section.tntb-section .tntb-card {
        flex: 0 0 calc((100% - 10px * 5) / 6) !important;
    }
}

@media (max-width: 1400px) and (min-width: 1201px) {
    section.tntb-section .tntb-card {
        flex: 0 0 calc((100% - 10px * 5) / 6) !important;
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {
    section.tntb-section .tntb-card {
        flex: 0 0 calc((100% - 10px * 4) / 5) !important;
    }
}

@media (max-width: 768px) {
    section.tntb-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* فاصله متعادل + 6 محصول */
section.tntb-section {
    padding-left: 60px !important;
    padding-right: 60px !important;
}

/* 6 محصول در دسکتاپ بزرگ */
@media (min-width: 1201px) {
    section.tntb-section .tntb-card {
        flex: 0 0 calc((100% - 10px * 5) / 6) !important;
    }
}

@media (max-width: 1024px) {
    section.tntb-section {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 768px) {
    section.tntb-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* فاصله متعادل سکشن محصولات از دو طرف */
section.tntb-section .tntb-container {
    padding-left: 60px !important;
    padding-right: 60px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
}

section.tntb-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1024px) {
    section.tntb-section .tntb-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 768px) {
    section.tntb-section .tntb-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   🎯 SECTION FINAL FIX - فاصله متعادل + فلش‌ها
═══════════════════════════════════════════════════════════ */

/* سکشن عرض کامل */
body section.tntb-section {
    max-width: 100% !important;
    width: 100% !important;
    padding: 14px 0 12px !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* container داخل سکشن: فاصله 60px از دو طرف */
body section.tntb-section > .tntb-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
}

/* carousel نسبت به container */
body section.tntb-section .tntb-carousel {
    position: relative !important;
    overflow: visible !important;
}

/* فلش راست (prev در RTL) - داخل padding */
body section.tntb-section .tntb-carousel-prev {
    right: 10px !important;
    z-index: 30 !important;
}

/* فلش چپ (next در RTL) - داخل padding */
body section.tntb-section .tntb-carousel-next {
    left: 10px !important;
    z-index: 30 !important;
}

@media (max-width: 1024px) {
    body section.tntb-section > .tntb-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 768px) {
    body section.tntb-section > .tntb-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   🎯 CARD CONTENT FINAL - فاصله، فونت، چینش قیمت
═══════════════════════════════════════════════════════════ */

/* فاصله بین ستاره و نام محصول (نیم سانتی متر = 5px) */
.tntb-card-rating {
    margin-bottom: 5px !important;
}

/* نام محصول: بزرگتر + bold */
.tntb-card-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-top: 5px !important;
    margin-bottom: 8px !important;
}

/* قیمت: chev و راست‌چین در یک خط */
.tntb-card-price {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 6px !important;
    margin-top: 4px !important;
}

/* قیمت اصلی (خط‌خورده) - چپ‌چین */
.tntb-price-old {
    order: 2 !important;
    text-align: left !important;
    font-size: 13px !important;
    color: #888 !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
}

/* قیمت تخفیف یا قیمت اصلی (پررنگ) - راست‌چین */
.tntb-price-current {
    order: 1 !important;
    text-align: right !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0F1111 !important;
    white-space: nowrap !important;
}

/* فاصله بین عدد و "ریال" با spacing */
.tntb-price-current .woocommerce-Price-currencySymbol,
.tntb-price-old .woocommerce-Price-currencySymbol {
    margin-right: 8px !important;
    font-size: 12px !important;
    vertical-align: baseline !important;
    font-weight: 400 !important;
}

.tntb-price-old .woocommerce-Price-currencySymbol {
    margin-right: 7px !important;
}

/* ═══════════════════════════════════════════════════════════
   🎯 CARD CONTENT v2 - min-height ستاره + فاصله ریال + فونت بزرگتر
═══════════════════════════════════════════════════════════ */

/* min-height ستاره: حفظ فضا حتی بدون ستاره */
.tntb-card-rating {
    min-height: 20px !important;
    margin-bottom: 5px !important;
}

/* فاصله بیشتر بین قیمت و ریال (حدود 1cm = 12px) */
.tntb-price-current .woocommerce-Price-currencySymbol,
.tntb-price-old .woocommerce-Price-currencySymbol {
    margin-right: 12px !important;
}

/* فونت قیمت 2pt بزرگتر */
.tntb-price-current {
    font-size: 17px !important;
}

.tntb-price-old {
    font-size: 15px !important;
}

.tntb-price-current .woocommerce-Price-currencySymbol,
.tntb-price-old .woocommerce-Price-currencySymbol {
    font-size: 14px !important;
}

/* ستاره‌های امتیاز 4pt بزرگتر */
.tntb-star {
    font-size: 17px !important;
}

/* اعداد امتیاز و نظرات: لاتین (no-persian) */
.tntb-rating-num,
.tntb-card-reviews {
    font-size: 14px !important;
}

/* ═══════════════════════════════════════════════════════════
   🎯 FINAL CARD ADJUSTMENTS
═══════════════════════════════════════════════════════════ */

/* ستاره‌ها 5 پوینت بزرگتر */
.tntb-star {
    font-size: 22px !important;
}

/* قیمت‌ها زیر هم، هر دو چپ‌چین */
.tntb-card-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    margin-top: -5px !important;
    width: 100% !important;
}

/* قیمت اصلی - بالا (خط‌خورده) */
.tntb-price-old {
    order: 1 !important;
    text-align: left !important;
    align-self: flex-start !important;
    font-size: 13px !important;
    color: #888 !important;
    text-decoration: line-through !important;
}

/* قیمت تخفیف - پایین (پررنگ) */
.tntb-price-current {
    order: 2 !important;
    text-align: left !important;
    align-self: flex-start !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0F1111 !important;
}

/* ستاره‌ها 28px - مطابق الگو */
.tntb-star {
    font-size: 28px !important;
}

/* ستاره‌ها 28px - مطابق الگو */
.tntb-star {
    font-size: 28px !important;
}

/* FORCE ستاره‌ها 48px */
body .tntb-card .tntb-stars .tntb-star,
body .tntb-card .tntb-card-rating .tntb-star,
body .tntb-stars span.tntb-star,
.tntb-card-rating span.tntb-star {
    font-size: 48px !important;
    line-height: 1 !important;
}

body .tntb-card .tntb-card-rating {
    min-height: 50px !important;
    line-height: 1 !important;
    align-items: center !important;
}

body .tntb-card .tntb-stars {
    line-height: 1 !important;
}

/* ستاره‌ها 24px (نهایی) */
body .tntb-card .tntb-stars .tntb-star,
body .tntb-card .tntb-card-rating .tntb-star,
body .tntb-stars span.tntb-star,
.tntb-card-rating span.tntb-star {
    font-size: 24px !important;
}

body .tntb-card .tntb-card-rating {
    min-height: 28px !important;
}

/* ═══════════════════════════════════════════════════════════
   🎯 PRICE LAYOUT - دو ردیف، چپ‌چین، ارتفاع ثابت
═══════════════════════════════════════════════════════════ */

/* container قیمت */
body .tntb-card .tntb-card-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 50px !important;
    margin-top: -2px !important;
    gap: 0 !important;
}

/* قیمت اصلی - بالا - خط‌خورده */
body .tntb-card .tntb-price-old {
    order: 1 !important;
    text-align: left !important;
    align-self: flex-start !important;
    font-size: 14px !important;
    color: #888 !important;
    text-decoration: line-through !important;
    height: 22px !important;
    line-height: 22px !important;
    margin: 0 !important;
    direction: ltr !important;
}

/* قیمت تخفیف یا قیمت معمولی - پایین - پررنگ */
body .tntb-card .tntb-price-current {
    order: 2 !important;
    text-align: left !important;
    align-self: flex-start !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0F1111 !important;
    height: 24px !important;
    line-height: 24px !important;
    margin: 0 !important;
    direction: ltr !important;
}

/* فاصله بین عدد و "ریال" */
body .tntb-card .tntb-price-current .woocommerce-Price-currencySymbol,
body .tntb-card .tntb-price-old .woocommerce-Price-currencySymbol {
    margin-right: 16px !important;
    margin-left: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* اگر قیمت تخفیف نیست، قیمت اصلی به جای قیمت پایین قرار بگیره
   و فضای بالا خالی بمونه - با placeholder */
body .tntb-card .tntb-card-price:not(:has(.tntb-price-old))::before {
    content: '' !important;
    display: block !important;
    order: 1 !important;
    height: 22px !important;
}

/* ═══════════════════════════════════════════════════════════
   🎯 PRICE FINAL - دو ردیف ترازشده
═══════════════════════════════════════════════════════════ */

body .tntb-card .tntb-card-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 2px !important;
    margin-top: 0 !important;
}

body .tntb-card .tntb-price-row {
    width: 100% !important;
    text-align: left !important;
    direction: ltr !important;
    min-height: 22px !important;
    line-height: 1.3 !important;
}

body .tntb-card .tntb-price-row-old,
body .tntb-card .tntb-price-row-empty {
    min-height: 20px !important;
}

body .tntb-card .tntb-price-old {
    font-size: 14px !important;
    color: #888 !important;
    text-decoration: line-through !important;
}

body .tntb-card .tntb-price-current {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0F1111 !important;
}

body .tntb-card .tntb-price-current .woocommerce-Price-currencySymbol,
body .tntb-card .tntb-price-old .woocommerce-Price-currencySymbol {
    margin-right: 16px !important;
    margin-left: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* قیمت‌ها راست‌چین + فاصله بیشتر بین عدد و ریال */
body .tntb-card .tntb-card-price {
    align-items: flex-end !important;
}

body .tntb-card .tntb-price-row {
    text-align: right !important;
    direction: rtl !important;
}

body .tntb-card .tntb-price-current .woocommerce-Price-currencySymbol,
body .tntb-card .tntb-price-old .woocommerce-Price-currencySymbol {
    margin-right: 12px !important;
    margin-left: 0 !important;
}

/* کاهش فاصله نام کالا و قیمت اصلی */
body .tntb-card .tntb-card-title {
    margin-bottom: 2px !important;
}

body .tntb-card .tntb-card-price {
    margin-top: -8px !important;
}

body .tntb-card .tntb-price-row-old,
body .tntb-card .tntb-price-row-empty {
    min-height: 16px !important;
}

body .tntb-card .tntb-price-row {
    line-height: 1.1 !important;
}


/* رسپانسیو */
@media (max-width: 768px) {
    .tnt-logo {
        padding: 6px 8px;
    }
    .tnt-logo-text {
        font-size: 15px !important;
    }
    .tnt-logo-tld {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .tnt-logo-text {
        font-size: 14px !important;
    }
    .tnt-logo-tld {
        display: none;
    }
}

/* رسپانسیو موبایل */
@media (max-width: 768px) {
    .tnt-search {
        margin: 0 8px;
    }
    .tnt-search-form {
        height: 36px;
    }
    .tnt-search-cat {
        min-width: 70px;
        max-width: 100px;
        font-size: 11px !important;
    }
    .tnt-search-input {
        font-size: 13px !important;
    }
    .tnt-search-btn {
        padding: 0 14px !important;
        min-width: 40px;
    }
    }

@media (max-width: 480px) {
    .tnt-search-cat {
        display: none;
    }
}

/* ============ موبایل ============ */
@media (max-width: 768px) {
    .tnt-account-text {
        display: none !important;
    }
    .tnt-cart-label {
        display: none !important;
    }
}

/* در موبایل: نمایش دکمه کنار لوگو */
@media (max-width: 768px) {
    .tnt-mobile-toggle {
        display: flex !important;
        order: 0;
        margin-right: 4px;
    }
    .tnt-logo {
        order: 1;
    }
    /* حذف نوار جداگانه دکمه موبایل */
    .tnt-header-bottom .tnt-mobile-toggle {
        display: none !important;
    }
}

/* ============ موبایل: سبد و دسته‌بندی ============ */
@media (max-width: 768px) {

    /* سبد خرید موبایل - ساده و تمیز */
    .tnt-cart-svg {
        width: 28px !important;
        height: 28px !important;
    }
    .tnt-cart-count {
        top: 0px !important;
        right: 10px !important;
        font-size: 12px !important;
    }
    .tnt-cart-label {
        display: none !important;
    }

    /* آدمک موبایل - کوچک */
    .tnt-account-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .tnt-account-text {
        display: none !important;
    }

    /* دکمه ≡ دسته‌بندی - کنار لوگو در موبایل */
    .tnt-mobile-toggle {
        display: flex !important;
        order: 0;
    }

    /* ترتیب آیتم‌های هدر در موبایل */
    .tnt-header-wrap {
        flex-wrap: wrap;
        position: relative;
    }

    /* ردیف اول موبایل: ≡ + لوگو + actions */
    .tnt-mobile-toggle { order: 1; }
    .tnt-logo { order: 2; }
    .tnt-deliver-to { display: none !important; }
    .tnt-actions { order: 3; margin-right: auto; }

    /* ردیف دوم موبایل: جستجو */
    .tnt-search {
        order: 4;
        flex-basis: 100%;
        margin: 8px 0 0 0 !important;
    }

    /* مخفی کردن select دسته در موبایل */
    .tnt-search-cat {
        display: none !important;
    }
}

/* =========================================================
   🚀 NEW AMAZON MOBILE HEADER (v3.0)
   ========================================================= */
.mobile-only { display: none !important; }

/* Desktop Fixes for New Structure */
@media (min-width: 769px) {
    .tnt-mobile-row-1 { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; gap: 20px !important; }
    .tnt-mobile-left { display: flex !important; align-items: center !important; gap: 15px !important; }
    .tnt-mobile-location { display: none !important; }
    .tnt-search.tnt-mobile-row-2.desktop-only { flex: 1 !important; margin: 0 15px !important; max-width: 800px !important; display: block !important; }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }

    /* Header Backgrounds */
    .tnt-header { background: #131921 !important; color: #fff; padding-bottom: 0 !important; }
    .tnt-header-top { background: #131921 !important; padding: 10px 12px 10px 12px !important; border: none !important; }
    .tnt-container { padding: 0 !important; }

    /* Row 1: Logo & Actions */
    .tnt-mobile-row-1 { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; margin-bottom: 10px !important; direction: rtl !important; }
    
    /* Left: Burger + Logo */
    .tnt-mobile-left { display: flex !important; align-items: center !important; gap: 12px !important; }
    .tnt-mobile-toggle { background: transparent !important; border: none !important; color: #fff !important; padding: 0 !important; cursor: pointer; }
    .tnt-logo { padding: 0 !important; margin: 0 !important; }
    .tnt-logo-text { font-size: 22px !important; color: #fff !important; line-height: 1 !important; }

    /* Right: Sign In + Profile + Cart */
    .tnt-actions { display: flex !important; align-items: center !important; gap: 14px !important; }
    .tnt-mobile-login-text { color: #fff !important; font-size: 14px !important; font-weight: 500 !important; text-decoration: none !important; }
    .tnt-account-icon svg { width: 22px !important; height: 22px !important; color: #fff !important; }
    .tnt-cart { position: relative !important; padding: 0 !important; margin-top: 5px !important; }
    .tnt-cart-svg { width: 30px !important; height: 30px !important; stroke: #fff !important; }
    .tnt-cart-count { position: absolute !important; top: -5px !important; right: 12px !important; color: #F08804 !important; font-size: 14px !important; font-weight: 800 !important; }

    /* Row 2: Search */
    .tnt-mobile-row-2 { width: 100% !important; margin: 0 !important; }
    .tnt-search-form { display: flex !important; height: 44px !important; border-radius: 6px !important; overflow: hidden !important; background: #fff !important; }
    .tnt-search-input { flex: 1 !important; border: none !important; padding: 0 12px !important; font-size: 15px !important; color: #111 !important; }
    .tnt-search-btn { background: #FEBD69 !important; border: none !important; width: 48px !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #111 !important; }
    
    /* Horizontal Nav Bar */
    .tnt-header-bottom { background: #232f3e !important; padding: 0 !important; border: none !important; }
    .tnt-nav-list { display: flex !important; overflow-x: auto !important; white-space: nowrap !important; padding: 10px 14px !important; margin: 0 !important; gap: 18px !important; scrollbar-width: none !important; -webkit-overflow-scrolling: touch; }
    .tnt-nav-list::-webkit-scrollbar { display: none !important; }
    .tnt-nav-item { list-style: none !important; }
    .tnt-nav-link { color: #fff !important; font-size: 14px !important; font-weight: 400 !important; text-decoration: none !important; display: block !important; }

    /* Deliver To Bar */
    .tnt-mobile-location { background: #37475a !important; color: #fff !important; padding: 12px 14px !important; display: flex !important; align-items: center !important; gap: 8px !important; font-size: 13px !important; font-weight: 500 !important; }
    .tnt-chevron-down { font-size: 11px !important; color: #ccc !important; margin-right: auto !important; }
}

@media (max-width: 850px) {
    #tnt-amz-header .tnt-amz-desktop-only { display: none !important; }
    #tnt-amz-header .tnt-amz-mobile-only { display: flex !important; }
}

/* === Desktop Specifics === */
@media (min-width: 851px) {
    #tnt-amz-header .tnt-amz-delivery-desktop {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 5px !important;
    }
    #tnt-amz-header .tnt-amz-delivery-desktop svg { width: 18px !important; height: 18px !important; margin-top: 8px !important; }
    #tnt-amz-header .tnt-amz-delivery-text { display: flex !important; flex-direction: column !important; line-height: 1.2 !important; font-size: 12px !important; color: #ccc !important; }
    #tnt-amz-header .tnt-amz-delivery-text strong { font-size: 14px !important; color: #fff !important; }
    
    #tnt-amz-header .tnt-amz-search-desktop { flex: 1 !important; max-width: 850px !important; margin: 0 15px !important; }
    #tnt-amz-header .tnt-amz-search-cat {
        background-color: #f3f3f3 !important;
        border: none !important;
        border-left: 1px solid #cdcdcd !important;
        padding: 0 10px 0 25px !important;
        color: #555 !important;
        font-size: 12px !important;
        cursor: pointer !important;
        appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: 8px center !important;
    }
    
    #tnt-amz-header .tnt-amz-account-box { display: flex !important; flex-direction: column !important; line-height: 1.2 !important; padding: 5px !important; }
    #tnt-amz-header .tnt-amz-account-box span { font-size: 12px !important; }
    #tnt-amz-header .tnt-amz-account-box strong { font-size: 14px !important; font-weight: 700 !important; }
    #tnt-amz-header .tnt-amz-cart-label { font-size: 14px !important; font-weight: 700 !important; margin-bottom: 4px !important; }
}

/* === Mobile Specifics === */
@media (max-width: 850px) {
    #tnt-amz-header .tnt-amz-top-row { padding: 12px 14px 8px 14px !important; }
    #tnt-amz-header .tnt-amz-logo { font-size: 22px !important; }
    #tnt-amz-header .tnt-amz-login-text { font-size: 14px !important; margin-left: 5px !important; }
    #tnt-amz-header .tnt-amz-user-icon svg { width: 24px !important; height: 24px !important; }
    #tnt-amz-header .tnt-amz-cart-wrap svg { width: 32px !important; height: 32px !important; }
    #tnt-amz-header .tnt-amz-cart-count { font-size: 14px !important; top: -3px !important; right: 11px !important; }
    
    #tnt-amz-header .tnt-amz-search-mobile { width: 100% !important; padding: 0 14px 10px 14px !important; }
}

