/*
 * NÔNG SẢN TÂY BẮC - Trang Chủ CSS
 * Tiền tố class: tt (trang chủ)
 */

/* ========================================
   HERO BANNER SECTION
   ======================================== */
.tt-hero {
    position: relative;
    overflow: hidden;
    background-color: #f8f8f5;
    width: 100%;
    max-width: 1519px;
    margin: 0 auto 39px auto;
    padding: 0;
}

.tt-hero a {
    display: block;
}

.tt-hero-banner {
    width: 100%;
    height: auto;
    display: block;
}

.tt-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 100px 40px 40px 40px; /* padding-top cho menu, padding 2 bên nhỏ hơn */
    min-height: 500px;
}

.tt-hero-content {
    flex: 0 0 50%;
    padding-right: 60px;
    position: relative;
    z-index: 2;
}

.tt-hero-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.tt-hero-logo-img {
    width: 140px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.tt-hero-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tt-hero-brand-line1,
.tt-hero-brand-line2 {
    font-size: 56px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1.1;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.tt-hero-tagline {
    font-size: 28px;
    font-weight: 300;
    color: #5a7a32;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tt-hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    color: #5a7a32;
    font-style: italic;
    opacity: 0.9;
}

.tt-hero-image {
    flex: 0 0 55%;
    position: relative;
}

.tt-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

/* Responsive Hero */
@media (max-width: 991px) {
    .tt-hero-wrapper {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }
    
    .tt-hero-content {
        flex: none;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .tt-hero-logo-wrapper {
        justify-content: center;
    }
    
    .tt-hero-brand-text {
        font-size: 36px;
    }
    
    .tt-hero-image {
        flex: none;
        width: 100%;
    }
}

/* ========================================
   CATEGORY SECTION (Danh Mục Nổi Bật)
   ======================================== */
.tt-category {
    padding: 25px 0;
    background-color: var(--color-bg-white);
}

.tt-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3f6206;
}

.tt-category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-title);
    margin: 0;
}

.tt-category-title i {
    color: var(--color-primary);
    margin-left: 8px;
}

.tt-category-nav {
    display: flex;
    gap: 10px;
}

.tt-category-nav button {
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.tt-category-nav button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

.tt-category-slider {
    overflow: hidden;
    position: relative;
}

.tt-category-list {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    flex-wrap: nowrap;
}

.tt-category-item {
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: var(--color-bg-white);
    min-width: 170px;
}

.tt-category-item:hover {
/*    transform: translateY(-3px);*/
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tt-category-icon {
    width: 100%;
    height: 80px;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
    border: none;
    transition: all var(--transition-fast);
}

.tt-category-item:hover .tt-category-icon {
    transform: scale(1.05);
}

.tt-category-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

.tt-category-name {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
    margin-top: 5px;
}

/* ========================================
   PRODUCTS SECTION (Nông Sản Chính Vụ)
   ======================================== */
.tt-products {
    padding: 25px 0;
    background-color: var(--color-bg-white);
}

.tt-products-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3f6206;
}

.tt-products-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-title);
    margin: 0;
}

.tt-products-title i {
    color: var(--color-primary);
    margin-left: 8px;
}

.tt-products-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 5px;
}

/* Countdown Timer */
.tt-products-header-left {
    display: flex;
    flex-direction: column;
/*    gap: 10px;*/
}

.tt-countdown {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tt-countdown-item {
    background-color: #4a6f28;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    min-width: 50px;
}

.tt-countdown-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.tt-countdown-label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

/* Products Navigation Arrows */
.tt-products-nav {
    display: flex;
    gap: 8px;
    align-items: end;
}

.tt-products-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #4a6f28;
    background-color: #fff;
    color: #4a6f28;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tt-products-nav-btn:hover {
    background-color: #4a6f28;
    color: #fff;
}

/* Product Link Wrapper */
.tt-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Product Discount Badge */
.tt-product-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #4a6f28;
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

/* Product Progress Bar */
.tt-product-progress {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    margin: 10px 0 8px;
    overflow: hidden;
}

.tt-product-progress-bar {
    height: 100%;
    background-color: #4a6f28;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Product Sold Text */
.tt-product-sold {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Product Tags/Filters */
.tt-product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tt-product-tag {
    padding: 6px 15px;
    background-color: var(--color-bg-gray);
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.tt-product-tag:hover,
.tt-product-tag.active {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.tt-product-tag.hot {
    background-color: #e74c3c;
    color: var(--color-text-white);
}

.tt-product-tag.new {
    background-color: #3498db;
    color: var(--color-text-white);
}

.tt-product-tag.sale {
    background-color: #f39c12;
    color: var(--color-text-white);
}

/* Products Grid - Slider */
.tt-products-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    transition: transform 0.4s ease;
}

.tt-products-grid .tt-product-card {
    flex: 0 0 calc((100% - 80px) / 5);
    min-width: calc((100% - 80px) / 5);
}

.tt-products .container {
    overflow: hidden;
}

/* Product Card */
.tt-product-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.tt-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.tt-product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.tt-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

/* Product Badges */
.tt-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.tt-product-badge {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    color: var(--color-text-white);
}

.tt-product-badge.sale {
    background-color: #e74c3c;
}

.tt-product-badge.new {
    background-color: #3498db;
}

.tt-product-badge.hot {
    background-color: #f39c12;
}

.tt-product-badge.organic {
    background-color: var(--color-primary);
}

/* Product Actions */
.tt-product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    z-index: 2;
}

/*.tt-product-card:hover .tt-product-actions {
    opacity: 1;
    transform: translateX(0);
}*/

.tt-product-action {
    width: 32px;
    height: 32px;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.tt-product-action:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* Product Info */
.tt-product-info {
    padding: 15px;
}

.tt-product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.tt-product-name a {
    color: inherit;
}

.tt-product-name a:hover {
    color: var(--color-primary);
}

.tt-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tt-product-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #e74c3c;
}

.tt-product-price-old {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.tt-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-muted);
}

.tt-product-sold {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tt-product-sold i {
    color: var(--color-primary);
}

/* View More Button */
.tt-products-more {
    text-align: center;
}

.tt-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background-color: var(--color-bg-gray);
    color: var(--color-text);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tt-btn-more:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* ========================================
   SERVICES SECTION (Dịch Vụ Đặc Biệt)
   ======================================== */
.tt-services {
    padding: 25px 0;
    background-color: #fff;
}

.group-title-services {
    margin-bottom: 20px;
    border-bottom: 1px solid #3f6206;
}

.tt-services-title {
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 10px;
    color: var(--color-text-title);
}

.tt-services-title em {
    font-style: normal;
}

.tt-services-subtitle {
    text-align: left;
    color: var(--color-text-muted);
/*    margin-bottom: 40px;*/
    font-style: normal;
}
.group-title-services p {
    margin-bottom: 10px;
}

.tt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tt-service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all var(--transition-fast);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tt-service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* Large product image at top */
.tt-service-image {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.tt-service-image img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Legacy icon support */
.tt-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.tt-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tt-service-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4a6f28;
}

/* Dash separator under title */
.tt-service-dash {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #4a6f28;
    margin: 0 auto 15px;
}

.tt-service-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Button style for link */
.tt-service-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #4a6f28;
    border-radius: 4px;
    color: #4a6f28;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tt-service-btn:hover {
    background-color: #4a6f28;
    color: #fff;
}

/* Legacy link support */
.tt-service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
}

.tt-service-link:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   BANNER SECTION
   ======================================== */
.tt-banner {
    padding: 30px 0;
}

.tt-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tt-banner-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.tt-banner-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.tt-banner-item:hover img {
    transform: scale(1.05);
}

.tt-banner-content {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    color: var(--color-text-white);
}

.tt-banner-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tt-banner-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* ========================================
   FEATURED PRODUCTS SECTIONS
   (Gạo Ngon Tây Bắc, Thịt Gác Bếp, etc.)
   ======================================== */
.tt-featured {
    padding: 50px 0;
}

.tt-featured.bg-gray {
    background-color: var(--color-bg-gray);
}

.tt-featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tt-featured-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-featured-title i {
    color: var(--color-primary);
}

.tt-featured-nav {
    display: flex;
    gap: 10px;
}

.tt-featured-nav button {
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.tt-featured-nav button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

/* Featured Slider */
.tt-featured-slider .swiper-slide {
    height: auto;
}

/* Large Banner */
.tt-large-banner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 30px 0;
}

.tt-large-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tt-large-banner-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.tt-large-banner-text {
    font-family: 'Dancing Script', cursive;
    font-size: 48px;
    color: var(--color-text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   TABS SECTION (Gạo Tây Bắc, Thảo Dược...)
   ======================================== */
.tt-tabs {
    padding: 50px 0;
}

.tt-tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 30px;
}

.tt-tab-btn {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
}

.tt-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: transparent;
    transition: background-color var(--transition-fast);
}

.tt-tab-btn:hover,
.tt-tab-btn.active {
    color: var(--color-primary);
}

.tt-tab-btn.active::after {
    background-color: var(--color-primary);
}

.tt-tab-btn i {
    margin-left: 8px;
    color: var(--color-primary);
}

.tt-tab-content {
    display: none;
}

.tt-tab-content.active {
    display: block;
}

.tt-tab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tab Product Card */
.tt-tab-product {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.tt-tab-product:hover {
    box-shadow: var(--shadow-md);
}

.tt-tab-product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.tt-tab-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-tab-product-info {
    flex: 1;
}

.tt-tab-product-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    margin-bottom: 5px;
}

.tt-tab-product-badge.hot {
    background-color: #e74c3c;
    color: var(--color-text-white);
}

.tt-tab-product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 5px;
    line-height: 1.4;
}

.tt-tab-product-name a:hover {
    color: var(--color-primary);
}

.tt-tab-product-price {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 600;
}

.tt-tab-product-price-old {
    font-size: 12px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 5px;
}

/* ========================================
   CATEGORIES COLUMNS SECTION (3 cột danh mục)
   ======================================== */
.tt-categories-columns {
    padding: 25px 0;
    background-color: var(--color-bg-white);
}

.tt-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tt-category-column {
    background-color: var(--color-bg-white);
}

.tt-category-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
}

.tt-category-column-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.tt-category-column-title a {
    color: var(--color-text-title);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.tt-category-column-title a:hover {
    color: var(--color-primary);
}

.tt-category-column-title i {
    color: var(--color-primary);
    margin-left: 8px;
    font-size: 16px;
}

.tt-category-column-nav {
    display: flex;
    gap: 5px;
}

.tt-col-nav-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 12px;
    color: var(--color-text);
}

.tt-col-nav-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

.tt-category-column-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
/*    max-height: 420px; */
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* Wrapper for carousel sliding */
.tt-category-column-products .tt-col-products-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease;
}

/* Category Column Product Card */
.tt-col-product {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border);
}

.tt-col-product:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.tt-col-product-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.tt-col-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-col-product-discount {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
}

.tt-col-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tt-col-product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
    /* Fix equal height - limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px; /* 2 lines x 14px x 1.4 line-height ≈ 40px */
}

.tt-col-product-name a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.tt-col-product-name a:hover {
    color: var(--color-primary);
}

.tt-col-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tt-col-price-current {
    font-size: 15px;
    color: #e74c3c;
    font-weight: 700;
}

.tt-col-price-old {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.tt-col-product-actions {
    display: flex;
    gap: 8px;
}

.tt-col-action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 13px;
    color: var(--color-text);
}

.tt-col-action-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

.tt-category-column-more {
    text-align: center;
    margin-top: 20px;
}

.tt-col-btn-more {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tt-col-btn-more:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

/* Responsive Categories Columns */
@media (max-width: 991px) {
    .tt-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tt-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .tt-col-product-image {
        width: 80px;
        height: 80px;
    }
}

/* ========================================
   NEWS SECTION (Tin Tức Mới Nhất)
   ======================================== */
.tt-news {
    padding: 25px 0;
    background-color: var(--color-bg-gray);
}

.tt-news-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3f6206;
}

.tt-news-header-left {
    flex: 1;
}

.tt-news-header-left p {
    margin-bottom: 0;
}

.tt-news-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-title);
    margin-bottom: 5px;
}

.tt-news-title i {
    color: var(--color-primary);
    margin-left: 8px;
}

.tt-news-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
}

.tt-news-nav {
    display: flex;
    gap: 8px;
}

.tt-news-nav-btn {
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-primary);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.tt-news-nav-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.tt-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tt-news-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.tt-news-card:hover {
    box-shadow: var(--shadow-lg);
}

.tt-news-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.tt-news-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.tt-news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.tt-news-card:hover .tt-news-image img {
    transform: scale(1.05);
}

/* Date badge - top right corner */
.tt-news-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 8px 10px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 50px;
}

.tt-news-day {
    font-size: 14px;
    font-weight: 700;
    display: block;
}

.tt-news-year {
    font-size: 12px;
    font-weight: 400;
    display: block;
}

/* Overlay - ẩn vì đã gộp vào tt-news-content */
.tt-news-overlay {
    display: none;
}

.tt-news-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-news-desc {
    font-size: 13px;
    color: #e0e0e0;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-news-readmore {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: fit-content;
}

.tt-news-readmore:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* News Slider */
.tt-news-slider {
    overflow: hidden;
    position: relative;
}

.tt-news-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.tt-news-card {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
}

/* News Title Visible - Overlay on image with transparent green background */
.tt-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 15px;
    background-color: rgba(74, 111, 40, 0.85);
    z-index: 2;
    transition: all 0.4s ease;
}

/* Mô tả và nút đọc tiếp - ẩn bằng cách trượt xuống */
.tt-news-content .tt-news-desc,
.tt-news-content .tt-news-readmore {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0;
}

/* Hover: trượt lên - hiển thị mô tả và nút đọc tiếp */
.tt-news-card:hover .tt-news-content .tt-news-desc {
    max-height: 80px;
    opacity: 1;
    margin: 10px 0 12px 0;
}

.tt-news-card:hover .tt-news-content .tt-news-readmore {
    max-height: 40px;
    opacity: 1;
}

.tt-news-content .tt-news-desc {
    font-size: 13px;
    color: #e8e8e8;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tt-news-content .tt-news-readmore {
    display: inline-block;
    padding: 6px 16px;
    background-color: #fff;
    color: var(--color-primary);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tt-news-content .tt-news-readmore:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.tt-news-title-visible {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.tt-news-card:hover .tt-news-title-visible {
    color: #fff;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1199px) {
    .tt-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tt-tab-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .tt-hero-slide {
        height: 400px;
    }
    
    .tt-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tt-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tt-tab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tt-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tt-hero-slide {
        height: 350px;
    }
    
    .tt-hero-tagline {
        font-size: 20px;
    }
    
    .tt-category-list {
        gap: 20px;
    }
    
    .tt-category-icon {
        width: 60px;
        height: 60px;
    }
    
    .tt-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tt-services-grid {
        grid-template-columns: 1fr;
    }
    
    .tt-banner-grid {
        grid-template-columns: 1fr;
    }
    
    .tt-tabs-header {
        flex-wrap: wrap;
    }
    
    .tt-tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .tt-tab-grid {
        grid-template-columns: 1fr;
    }
    
    .tt-news-grid {
        grid-template-columns: 1fr;
    }
    
    .tt-large-banner-text {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .tt-hero-slide {
        height: 280px;
    }
    
    .tt-hero-logo {
        max-width: 180px;
    }
    
    .tt-hero-tagline {
        font-size: 16px;
    }
    
    .tt-products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tt-product-tags {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .tt-product-tag {
        flex-shrink: 0;
    }
}

/* ========================================
   SẢN PHẨM MỚI SECTION
   ======================================== */
.tt-new-products {
    padding: 25px 0;
    background-color: #fff;
}

.tt-new-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3f6206;
}

.tt-new-products-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-title);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-new-products-title i {
    color: #4a6f28;
}

.tt-new-products-nav {
    display: flex;
    gap: 8px;
}

.tt-new-products-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tt-new-products-nav-btn:hover {
    background: #4a6f28;
    border-color: #4a6f28;
    color: #fff;
}

.tt-new-products-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.tt-new-products-feature {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.tt-new-products-feature .tt-feature-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tt-new-products-feature .tt-feature-link img {
    width: 100%;
    height: 442px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tt-new-products-feature .tt-feature-link:hover img {
    transform: scale(1.05);
}

.tt-new-products-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tt-new-products-feature .tt-feature-link:hover img {
    transform: scale(1.05);
}

.tt-new-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
}

.tt-new-products-slider {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease;
    flex-wrap: nowrap;
}

.tt-new-products-slider .tt-new-product-card {
    flex: 0 0 calc(25% - 12px);
    min-width: calc(25% - 12px);
}

.tt-new-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tt-new-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.tt-new-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tt-new-product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.tt-new-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tt-new-product-card:hover .tt-new-product-image img {
    transform: scale(1.05);
}

.tt-new-product-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4a6f28;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.tt-new-product-info {
    padding: 15px;
}

.tt-new-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39.2px; /* 14px * 1.4 line-height * 2 lines = fixed height for consistent price alignment */
}

.tt-new-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.tt-new-product-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #4a6f28;
}

.tt-new-product-price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.tt-new-product-progress {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.tt-new-product-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4a6f28, #6b9b3a);
    border-radius: 3px;
}

.tt-new-product-sold {
    font-size: 12px;
    color: #666;
}

.tt-new-products-more {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tt-btn-viewall {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #4a6f28;
    border-radius: 4px;
    color: #4a6f28;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    transition: all 0.3s ease;
}

.tt-btn-viewall:hover {
    background: #4a6f28;
    color: #fff;
}

/* ========================================
   SINGLE BANNER SECTION
   ======================================== */
.tt-single-banner {
    padding: 40px 0;
    background-color: transparent;
}

.tt-single-banner-link {
    display: block;
    transition: all 0.3s ease;
}

.tt-single-banner-link:hover {
    opacity: 0.9;
}

.tt-single-banner-link img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Responsive for new sections */
@media (max-width: 1199px) {
    .tt-new-products-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .tt-new-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tt-new-products-feature {
        height: 300px;
    }
    
    .tt-new-products-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .tt-new-products-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .tt-new-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tt-new-products-feature {
        height: 200px;
    }
}

/* ========================================
   PRODUCT HOVER ACTIONS - Custom Colors
   ======================================== */

/* Override default action button styles */
.tt-product-action {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* Cart button - Green */
.tt-product-action.tt-action-cart {
    color: #4a6f28;
}

.tt-product-action.tt-action-cart:hover {
    background-color: #4a6f28;
    color: #fff;
}

/* View/Search button - Green */
.tt-product-action.tt-action-view {
    color: #4a6f28;
}

.tt-product-action.tt-action-view:hover {
    background-color: #4a6f28;
    color: #fff;
}

/* Wishlist/Heart button - Red */
.tt-product-action.tt-action-wishlist {
    color: #e74c3c;
}

.tt-product-action.tt-action-wishlist:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* Hover effect for New Products cards */
.tt-new-product-card {
    position: relative;
    transition: all 0.3s ease;
}

.tt-new-product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.tt-new-product-image {
    position: relative;
    overflow: hidden;
}

.tt-new-product-card:hover .tt-new-product-image img {
    transform: scale(1.05);
}

.tt-new-product-image .tt-product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.tt-new-product-card:hover .tt-product-actions {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

/* Ensure image transition for new products */
.tt-new-product-image img {
    transition: transform 0.3s ease;
}

/* ========================================
   RESPONSIVE MOBILE - 3 SECTIONS
   (Nông Sản Chính Vụ, Sản Phẩm Mới, Tin Tức)
   ======================================== */

/* ===== TABLET (max-width: 991px) ===== */
@media (max-width: 991px) {
    /* --- Nông Sản Chính Vụ --- */
    .tt-products-grid .tt-product-card {
        flex: 0 0 calc((100% - 40px) / 3);
        min-width: calc((100% - 40px) / 3);
    }
    
    .tt-countdown-item {
        padding: 6px 10px;
        min-width: 45px;
    }
    
    .tt-countdown-value {
        font-size: 18px;
    }
    
    .tt-countdown-label {
        font-size: 10px;
    }
    
    /* --- Sản Phẩm Mới --- */
    .tt-new-products-slider .tt-new-product-card {
        flex: 0 0 calc(33.333% - 10px);
        min-width: calc(33.333% - 10px);
    }
    
    /* --- Tin Tức --- */
    .tt-news-card {
        flex: 0 0 calc(33.333% - 15px);
        min-width: calc(33.333% - 15px);
    }
}

/* ===== SMALL TABLET (max-width: 767px) ===== */
@media (max-width: 767px) {
    /* --- Nông Sản Chính Vụ --- */
    .tt-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tt-products-header-left {
        width: 100%;
    }
    
    .tt-products-nav {
        align-self: flex-end;
        margin-top: -50px;
    }
    
    .tt-products-title {
        font-size: 18px;
    }
    
    .tt-products-subtitle {
        font-size: 13px;
    }
    
    .tt-countdown {
        gap: 6px;
    }
    
    .tt-countdown-item {
        padding: 5px 8px;
        min-width: 40px;
    }
    
    .tt-countdown-value {
        font-size: 16px;
    }
    
    .tt-countdown-label {
        font-size: 9px;
    }
    
    .tt-products-grid .tt-product-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .tt-product-info {
        padding: 12px;
    }
    
    .tt-product-name {
        font-size: 13px;
        min-height: 36px;
    }
    
    .tt-product-price-current {
        font-size: 14px;
    }
    
    .tt-product-price-old {
        font-size: 12px;
    }
    
    /* --- Sản Phẩm Mới --- */
    .tt-new-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tt-new-products-nav {
        align-self: flex-end;
        margin-top: -45px;
    }
    
    .tt-new-products-title {
        font-size: 18px;
    }
    
    .tt-new-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tt-new-products-feature {
        height: 200px;
        order: -1;
    }
    
    .tt-new-products-slider .tt-new-product-card {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
    
    .tt-new-product-info {
        padding: 12px;
    }
    
    .tt-new-product-name {
        font-size: 13px;
        min-height: 36px;
    }
    
    .tt-new-product-price-current {
        font-size: 14px;
    }
    
    .tt-new-product-price-old {
        font-size: 12px;
    }
    
    /* --- Tin Tức --- */
    .tt-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tt-news-nav {
        align-self: flex-end;
        margin-top: -45px;
    }
    
    .tt-news-title {
        font-size: 18px;
    }
    
    .tt-news-subtitle {
        font-size: 13px;
    }
    
    .tt-news-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .tt-news-title-visible {
        font-size: 13px;
    }
    
    .tt-news-content {
        padding: 10px 12px;
    }
    
    .tt-news-date {
        padding: 6px 8px;
        min-width: 45px;
    }
    
    .tt-news-day {
        font-size: 12px;
    }
    
    .tt-news-year {
        font-size: 10px;
    }
}

/* ===== MOBILE PORTRAIT (max-width: 575px) ===== */
@media (max-width: 575px) {
    /* --- Nông Sản Chính Vụ --- */
    .tt-products {
        padding: 20px 0;
    }
    
    .tt-products-header {
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .tt-products-nav {
        margin-top: -45px;
    }
    
    .tt-products-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .tt-products-title {
        font-size: 16px;
    }
    
    .tt-products-subtitle {
        font-size: 12px;
        margin-top: 3px;
    }
    
    .tt-countdown {
        gap: 5px;
        margin-top: 8px;
    }
    
    .tt-countdown-item {
        padding: 4px 6px;
        min-width: 36px;
        border-radius: 3px;
    }
    
    .tt-countdown-value {
        font-size: 14px;
    }
    
    .tt-countdown-label {
        font-size: 8px;
    }
    
    .tt-products-grid {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .tt-products-grid .tt-product-card {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    
    .tt-product-card {
        border-radius: 6px;
    }
    
    .tt-product-discount {
        padding: 4px 8px;
        font-size: 11px;
        top: 8px;
        left: 8px;
    }
    
    .tt-product-info {
        padding: 10px;
    }
    
    .tt-product-name {
        font-size: 12px;
        min-height: 34px;
        margin-bottom: 6px;
    }
    
    .tt-product-price {
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 6px;
    }
    
    .tt-product-price-current {
        font-size: 13px;
    }
    
    .tt-product-price-old {
        font-size: 11px;
    }
    
    .tt-product-progress {
        height: 5px;
        margin: 8px 0 6px;
    }
    
    .tt-product-sold {
        font-size: 11px;
    }
    
    .tt-product-actions {
        gap: 5px;
    }
    
    .tt-product-action {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .tt-btn-more {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    /* --- Sản Phẩm Mới --- */
    .tt-new-products {
        padding: 20px 0;
    }
    
    .tt-new-products-header {
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .tt-new-products-nav {
        margin-top: -40px;
    }
    
    .tt-new-products-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .tt-new-products-title {
        font-size: 16px;
    }
    
    .tt-new-products-grid {
        gap: 12px;
    }
    
    .tt-new-products-feature {
        height: 180px;
        border-radius: 6px;
    }
    
    .tt-new-products-list {
        gap: 10px;
    }
    
    .tt-new-products-slider {
        gap: 10px;
    }
    
    .tt-new-products-slider .tt-new-product-card {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    
    .tt-new-product-card {
        border-radius: 6px;
    }
    
    .tt-new-product-discount {
        padding: 3px 8px;
        font-size: 11px;
        top: 8px;
        left: 8px;
    }
    
    .tt-new-product-info {
        padding: 10px;
    }
    
    .tt-new-product-name {
        font-size: 12px;
        min-height: 34px;
        margin-bottom: 8px;
    }
    
    .tt-new-product-price {
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 8px;
    }
    
    .tt-new-product-price-current {
        font-size: 13px;
    }
    
    .tt-new-product-price-old {
        font-size: 11px;
    }
    
    .tt-new-product-progress {
        height: 5px;
        margin-bottom: 6px;
    }
    
    .tt-new-product-sold {
        font-size: 11px;
    }
    
    .tt-new-products-more {
        margin-top: 20px;
    }
    
    .tt-btn-viewall {
        padding: 8px 25px;
        font-size: 13px;
    }
    
    /* --- Tin Tức --- */
    .tt-news {
        padding: 20px 0;
    }
    
    .tt-news-header {
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .tt-news-nav {
        margin-top: -40px;
    }
    
    .tt-news-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .tt-news-title {
        font-size: 16px;
    }
    
    .tt-news-subtitle {
        font-size: 12px;
    }
    
    .tt-news-grid {
        gap: 12px;
    }
    
    .tt-news-card {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
        border-radius: 6px;
    }
    
    .tt-news-date {
        padding: 5px 6px;
        min-width: 40px;
        top: 8px;
        right: 8px;
        border-radius: 3px;
    }
    
    .tt-news-day {
        font-size: 11px;
    }
    
    .tt-news-year {
        font-size: 9px;
    }
    
    .tt-news-content {
        padding: 8px 10px;
    }
    
    .tt-news-title-visible {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    .tt-news-content .tt-news-desc {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    .tt-news-content .tt-news-readmore {
        padding: 5px 12px;
        font-size: 11px;
    }
}

/* ===== EXTRA SMALL MOBILE (max-width: 399px) ===== */
@media (max-width: 399px) {
    /* --- Nông Sản Chính Vụ --- */
    .tt-products-title {
        font-size: 15px;
    }
    
    .tt-products-subtitle {
        font-size: 11px;
    }
    
    .tt-countdown-item {
        padding: 3px 5px;
        min-width: 32px;
    }
    
    .tt-countdown-value {
        font-size: 12px;
    }
    
    .tt-countdown-label {
        font-size: 7px;
    }
    
    .tt-product-name {
        font-size: 11px;
        min-height: 31px;
    }
    
    .tt-product-price-current {
        font-size: 12px;
    }
    
    .tt-product-price-old {
        font-size: 10px;
    }
    
    /* --- Sản Phẩm Mới --- */
    .tt-new-products-title {
        font-size: 15px;
    }
    
    .tt-new-products-feature {
        height: 150px;
    }
    
    .tt-new-product-name {
        font-size: 11px;
        min-height: 31px;
    }
    
    .tt-new-product-price-current {
        font-size: 12px;
    }
    
    .tt-new-product-price-old {
        font-size: 10px;
    }
    
    /* --- Tin Tức --- */
    .tt-news-title {
        font-size: 15px;
    }
    
    .tt-news-subtitle {
        font-size: 11px;
    }
    
    .tt-news-title-visible {
        font-size: 11px;
    }
    
    .tt-news-date {
        padding: 4px 5px;
        min-width: 36px;
    }
    
    .tt-news-day {
        font-size: 10px;
    }
    
    .tt-news-year {
        font-size: 8px;
    }
}
