/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1765349789
Updated: 2025-12-10 06:56:29

*/

/* ==========================================================================
   PRODUCT CATEGORY ARCHIVE - THEO DANH MỤC CON
   ========================================================================== */
.category-content {
    color: #000 !important;
    font-size: 20px !important;
}
.product-category-archive-page {
    background-color: #ffffff;
    padding: 20px 0 50px;
}

.product-category-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 1. BANNER TIÊU ĐỀ DANH MỤC CHA (XANH DƯƠNG) */
.cat-parent-banner {
    background-color: #0066cc;
    padding: 12px 20px;
    border-radius: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.cat-parent-banner .cat-parent-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

/* 2. KHỐI DANH MỤC CON */
.cat-sub-section {
    margin-bottom: 30px;
}

/* 3. THANH TIÊU ĐỀ DANH MỤC CON (NỀN XÁM, CHỮ ĐỎ + NÚT XEM TẤT CẢ) */
.cat-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #f4f4f4;
    padding: 8px 16px;
    margin-bottom: 16px;
    border-left: 4px solid #1A73E8;
}

.cat-sub-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.cat-sub-title a {
    color: #1A73E8;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.cat-sub-title a:hover {
    color: #aa0000;
    text-decoration: underline;
}

/* Nút Xem tất cả sản phẩm */
.btn-view-all-subcat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #1A73E8;
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid #1A73E8;
    border-radius: 3px;
    background-color: #ffffff;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-view-all-subcat:hover {
    background-color: #1A73E8;
    color: #ffffff;
}

.btn-view-all-subcat .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-view-all-subcat:hover .arrow {
    transform: translateX(4px);
}

/* 4. SLIDER SẢN PHẨM & LƯỚI SẢN PHẨM */
.cat-product-swiper {
    position: relative;
    padding: 4px 0 10px;
    overflow: hidden;
}

.cat-product-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.cat-product-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Nút điều hướng Slider tròn gọn gàng */
.cat-product-swiper .swiper-button-prev,
.cat-product-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #333333;
    top: 38%;
    transition: all 0.25s ease;
}

.cat-product-swiper .swiper-button-prev:after,
.cat-product-swiper .swiper-button-next:after {
    font-size: 14px;
    font-weight: 800;
}

.cat-product-swiper .swiper-button-prev:hover,
.cat-product-swiper .swiper-button-next:hover {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.35);
}

.cat-product-swiper .swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none;
}

.product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

/* 5. THẺ SẢN PHẨM (PRODUCT CARD) */
.product-catalog-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.product-card-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 6px;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 2px;
}

.product-card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

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

.product-card-meta {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
}

/* Nhãn tag danh mục màu xám viết hoa */
.product-card-tag {
    display: block;
    font-size: 10.5px;
    font-weight: 500;
    color: #8c8c8c;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Tên sản phẩm */
.product-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card-title a:hover {
    color: #0066cc;
}

/* Thông báo trống & phân trang */
.cat-empty-notice {
    padding: 30px 15px;
    text-align: center;
    color: #666;
    background: #f9f9f9;
    border-radius: 4px;
}

.catalog-pagination {
    margin-top: 30px;
    text-align: center;
}

.catalog-pagination .page-numbers {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.catalog-pagination .page-numbers.current {
    background-color: #0066cc;
    color: #ffffff;
    border-color: #0066cc;
}

.catalog-pagination .page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}

/* 6. RESPONSIVE */
@media (max-width: 1200px) {
    .product-catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 860px) {
    .product-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .cat-parent-banner .cat-parent-title {
        font-size: 18px;
    }
    .cat-sub-title {
        font-size: 14px;
    }
}

@media (max-width: 580px) {
    .product-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cat-parent-banner {
        padding: 10px 15px;
    }
    .cat-parent-banner .cat-parent-title {
        font-size: 16px;
    }
    .product-card-title {
        font-size: 12px;
    }
    .btn-view-all-subcat {
        font-size: 11.5px;
        padding: 3px 8px;
    }
    .cat-product-swiper .swiper-button-prev,
    .cat-product-swiper .swiper-button-next {
        width: 30px;
        height: 30px;
    }
    .cat-product-swiper .swiper-button-prev:after,
    .cat-product-swiper .swiper-button-next:after {
        font-size: 11px;
    }
}

/* Làm to và nổi bật dòng mô tả danh mục KINOMORI */
.cat-description-box {
    background: #f0f7ff; /* Nền xanh rất nhạt tạo điểm nhấn êm mắt */
    border-left: 5px solid #0066cc; /* Dải viền xanh dương thương hiệu Kinomori */
    border-radius: 6px;
    padding: 16px 22px;
    margin: 0 auto 24px auto;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08);
}

.cat-description-box p {
    margin: 0;
    font-size: 18px; /* Tăng cỡ chữ to rõ */
    font-weight: 600; /* Làm chữ đậm nét hơn */
    color: #0b3b6f; /* Màu xanh Navy đậm sang trọng, rất nổi bật */
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* Tối ưu hiển thị trên Mobile */
@media (max-width: 767px) {
    .cat-description-box {
        padding: 14px 16px;
        margin-bottom: 20px;
    }
    .cat-description-box p {
        font-size: 16px; /* Cỡ chữ vừa vặn, không bị tràn trên điện thoại */
        line-height: 1.5;
    }
}

/* Nâng cấp khối mô tả danh mục: Đẹp, Sang, Nổi Bật 100% */
.cat-description-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f3fc 100%);
    border: 1.5px solid #b9daf8;
    border-radius: 8px;
    padding: 24px 32px;
    margin: 0 auto 30px auto;
    text-align: center; /* Căn giữa cân đối với banner trên */
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.08);
    position: relative;
}

.cat-description-box p {
    margin: 0;
    font-size: 20px; /* Chữ to rõ ràng trên PC */
    font-weight: 600;
    color: #003366; /* Xanh Navy công nghiệp cao cấp */
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Tự động làm nổi bật các từ khóa đặc biệt */
.cat-description-box p strong,
.cat-description-box p b {
    color: #d32f2f; /* Hoặc giữ màu xanh đậm hơn để nhấn mạnh */
}

/* Responsive mượt mà trên Mobile & Tablet */
@media (max-width: 767px) {
    .cat-description-box {
        padding: 16px 18px;
        margin-bottom: 20px;
    }
    .cat-description-box p {
        font-size: 16px;
        line-height: 1.55;
    }
}
