.page-title-txt {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 5;
    color: #fff;
}
.tagline-small {
    font-weight: 600;
    padding-bottom: 1rem;
}
.page-title-txt .main-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    background: none;
    padding: 0;
    color: #fff;
}
.overlay-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #251f1d7d;
    z-index: 2;
}
.about-header-group {
    margin-bottom: 50px;
    position: relative;
}
.ab-line {
    width: auto;
    height: 1px;
    background-color: #ccc;
    flex-grow: 1;
    margin: 0;
}
.new-prod-header, .about-header-group {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: -moz-fit-content;
    width: fit-content;
}
.product-section {
    max-width: 1100px;
    
    /* Canh giữa và khoảng cách bên trên */
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto;

    /* TẠO ĐƯỜNG KẺ NGĂN CÁCH */
    padding-bottom: 80px;         /* Khoảng cách từ nội dung xuống đường kẻ */
    margin-bottom: 80px;          /* Khoảng cách từ đường kẻ xuống sản phẩm tiếp theo */
    border-bottom: 1px solid #ccc; /* Đường kẻ màu xám nhạt */
}
 .bottom-disable{
    border-bottom: 0!important;
 }
 .sub-hero-bg img{
     background-position: center center;
    width: 100%;
    height: 100%;
}
/* (Tùy chọn) Xóa đường kẻ ở sản phẩm cuối cùng để footer không bị dính */
.product-section:last-of-type {
    border-bottom: none;
    margin-bottom: 5rem;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 90px;
    margin: 0 auto;
}
        .product-card {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

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

        .product-image-wrapper {
            position: relative;
            width: 100%;
            padding-top: 75%;
            background: #e8e8e8;
        }

        .product-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

.product-badge {
    position: absolute;
    bottom: 35px;
    left: -23px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
    background: linear-gradient(90deg, rgba(50, 50, 60, 0.80) 0%, rgb(226 104 104) 55%, rgb(255 52 57) 100% );
}

        .product-info {
            padding: 20px;
        }

.product-title {
    font-size: 26px;
    font-weight: 600;
    color: #342C46;
    margin-bottom: 12px;
}
.product-detail {
    display: inline-block;
    font-size: 18px;
    color: #666;
    border: 2px solid #B10005;
    border-radius: 100rem;
    padding: 6px 20px;
    background: #fff;
    transition: all 0.3s ease;
    font-weight: 600;
}
        .product-detail:hover {
            border-color: #E63946;
            color: #E63946;
            background: #fff5f5;
        }

        .product01,.product03{
                padding: 3rem;
        }
        .product02{
                padding: 4.3rem;
        }

/* =========================================
   PHẦN MỚI: OTHER PRODUCT SLIDER (OP)
   ========================================= */

.other-product-section {
    background-color: #fff;
    overflow: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 5rem;
}
.op-header {
    text-align: center;
    margin-bottom: 40px;
    width: fit-content;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.op-title {
    font-size: 32px;
    color: #333; /* Màu chữ tím than giống ảnh */
    margin: 0 0 10px;
    font-weight: 500;
}

.op-line {
    height: 2px;
    background-color: #ccc; /* Đường kẻ dưới tiêu đề */
    margin: 0 auto;
}

/* --- Cấu hình Slider --- */
.op-carousel {
    width: 100%;
    /* margin-left: auto; margin-right: auto; -> Nếu muốn giới hạn chiều rộng */
}

/* Thẻ Card sản phẩm */
.op-card {
    width: 23%; /* PC: Hiển thị 4 cái (23% x 4 + khoảng cách) */
    margin-right: 2%; /* Khoảng cách giữa các thẻ */
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.op-card a {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none;
}

/* Ảnh sản phẩm */
.op-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1; /* Ảnh vuông hoặc chỉnh 4/3 tuỳ ảnh gốc */
    object-fit: cover;
    display: block;
transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Chỉnh lại ease cho mượt hơn */
    
    /* Thêm 3 dòng này để chống rung */
    backface-visibility: hidden;       
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.op-card:hover img {
transform: scale(1.1) translateZ(0);
}

/* Label xám bên dưới giống ảnh mẫu */
.op-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(220, 220, 220, 0.85); /* Màu xám mờ */
    color: #333;
    padding: 15px 0;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s;
}

.op-card:hover .op-label {
    background-color: rgba(200, 200, 200, 0.95); /* Đậm hơn khi hover */
    color: #000;
}

/* --- Tùy chỉnh nút mũi tên Flickity --- */
.other-product-section .flickity-prev-next-button {
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.other-product-section .flickity-prev-next-button:hover {
    background: #fff;
}
.other-product-section .flickity-prev-next-button .flickity-button-icon {
    fill: #333; /* Màu mũi tên */
}
/* --- Tùy chỉnh nút mũi tên Flickity --- */
.other-product-section .flickity-prev-next-button {
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    
    /* Đảm bảo nút nằm giữa theo chiều dọc */
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Đè lên trên ảnh */
}

/* --- CHỈNH VỊ TRÍ NÚT PHẢI (NEXT) --- */
.other-product-section .flickity-prev-next-button.next {
    /* Tăng số này lên để kéo nút từ ngoài vào trong, không bị tràn nữa */
    right: 30px; 
}

/* Hiệu ứng hover */
.other-product-section .flickity-prev-next-button:hover {
    background: #fff;
    opacity: 1;
}

.other-product-section .flickity-prev-next-button .flickity-button-icon {
    fill: #333;
}
.flickity-prev-next-button .flickity-button-icon {
    position: absolute;
    left: 50%!important;
    top: 50%!important;
    width: 45%!important;
    height: 45%!important;
    transform: translate(-50%, -50%)!important;
}

/* =========================================
   BOBBIN DETAIL SECTION STYLE
   ========================================= */
.bobbin-detail-section {
    max-width: 1000px; /* Giới hạn chiều rộng giống ảnh mẫu */
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* --- 1. HEADER STYLE --- */
.bobbin-custom-header {
    margin-bottom: 40px;
}
.bh-top {
    display: flex;
    align-items: baseline; /* Căn chân chữ cho đều */
    gap: 15px;
}
.bh-en {
    font-size: 50px;
    font-weight: 700;
    color: #444; /* Màu xám đen */
    margin: 0;
    line-height: 1;
}
.bh-red {
    color: #E7191F; /* Màu đỏ chữ B */
}
.bh-jp {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}
.bh-line {
    width: 200px; /* Độ dài dòng kẻ */
    height: 2px;
    background-color: #8892b0; /* Màu xanh xám nhạt */
    margin-top: 5px;
}

/* --- 2. LAYOUT 2 CỘT --- */
.bobbin-layout-container {
    display: flex;
    align-items: flex-start; /* Căn đỉnh trên cùng */
}

/* --- CỘT TRÁI --- */
.bobbin-left-col {
    width: 35%;
}

/* Ảnh sản phẩm & Nhãn HA */
.bobbin-img-box {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}
.bobbin-img-box img {
    height: auto;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.bobbin-badge-ha {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: linear-gradient(90deg, rgba(50, 50, 60, 0.80) 0%, rgb(226 104 104) 55%, rgb(255 52 57) 100% );
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    padding: 5px 40px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bobbin-product-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
}

/* Bảng thông số */
.bobbin-spec-table {
    width: 250px;
    border-collapse: collapse;
    font-size: 15px;
    color: #3b5c85;
    border: 1px solid #3b5c85;
}

.bobbin-spec-table th, 
.bobbin-spec-table td {
    padding: 10px 15px;
    border: 1px solid #3b5c85; /* Viền ô */
    vertical-align: middle;
}

.bobbin-spec-table th {
    font-weight: 700;
    width: 30%; /* Độ rộng cột tiêu đề */
    text-align: left;
    white-space: nowrap;
}

.bobbin-spec-table td {
    font-weight: 400;
    line-height: 1.4;
}

/* --- CỘT PHẢI (Bản vẽ) --- */
.bobbin-right-col {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.bobbin-right-col img {
    height: auto;
    max-width: 400px; /* Giới hạn độ to bản vẽ */
}
/* =========================================
   PAGINATION STYLES
   ========================================= */
.pagination-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 80px 0 100px; /* Khoảng cách trên dưới */
    font-family: 'Noto Sans JP', sans-serif;
}

/* Style chung cho các nút */
.pagination-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 45px;
    height: 45px;
    padding: 0 10px;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
}

/* Nút Trước/Sau rộng hơn chút */
.pagination-btn.prev,
.pagination-btn.next {
    padding: 0 20px;
    background-color: #f3f4f6;
}

/* Hiệu ứng Hover (chỉ áp dụng cho nút chưa active/disabled) */
.pagination-btn:not(.active):not(.disabled):hover {
    background-color: #fff5f5;
    border-color: #B10005;
    color: #B10005;
    transform: translateY(-2px);
}

/* Trạng thái Active (Trang hiện tại - Màu đỏ) */
.pagination-btn.active {
    background-color: #B10005; /* Màu đỏ chủ đạo */
    color: #ffffff;
    border-color: #B10005;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(177, 0, 5, 0.3);
}

/* Trạng thái Disabled (Nút mờ đi) */
.pagination-btn.disabled {
    background-color: #e9ecef;
    color: #aaa;
    pointer-events: none;
    border-color: #e9ecef;
    box-shadow: none;
}


/* Tablet (Dưới 1024px) -> Hiện 3 cái */
@media (max-width: 1024px) {
    .op-card {
        width: 31%; 
        margin-right: 2.3%;
    }
}


        /* Responsive */
        @media (max-width: 768px) {
        .product-section {
    padding-left: 2rem;
    padding-right: 2rem;
}
            .bobbin-left-col, 
    .bobbin-right-col {
        width: 100%;
    }
    .bh-en {
        font-size: 40px;
    }
            .product-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .op-card {
        width: 48%; 
        margin-right: 2%;
    }
    .op-title {
        font-size: 24px;
    }
        }
        /* Responsive */
        @media (max-width: 576px) {
.product-section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 1.5rem 5rem 1.5rem;
}
        .bobbin-img-box img,.bobbin-spec-table {
            width: 100%;
        }
.sub-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
    .bobbin-layout-container {
        flex-direction: column; /* Xếp dọc trên điện thoại */
        gap: 40px;
    }
    .op-card {
        width: 80%; 
        margin-right: 15px;
    }
        }

















