/* Responsive styles with 960px breakpoint */
@media screen and (max-width: 960px) {
    .header {
        display: none;
    }

    /* ===== COMMON ELEMENTS ===== */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-menu .level-1 {
        display: none;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: block;
    }

    .mobile-header {
        display: flex;
    }

    /* Typography adjustments */
    h1,
    .h1 {
        font-size: 24px;
    }

    h2,
    .h2 {
        font-size: 20px;
    }

    h3,
    .h3 {
        font-size: 18px;
    }

    /* Images */
    img {
        max-width: 100%;
    }
    /* ===== POPUP ===== */
    .popup-container {
        max-width: 350px;
        border-radius: 15px;
    }
    .popup-image {
        max-height: 300px;
    }
    .popup-close-btn {
        width: 28px;
        height: 28px;
    }

    /* ===== FOOTER ===== */
    .flex-footer {
        flex-wrap: wrap;
        gap: 30px;
        padding: 0 15px;
    }

    .footer-company {
        flex: 100%;
        order: -1;
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-company h4 {
        font-size: 16px;
        text-align: center;
    }

    .footer-company .company-desc {
        font-size: 14px;
    }

    .footer-menu,
    .footer-support {
        flex: 1 1 45%;
    }

    .footer-payment {
        flex: 100%;
        order: 3;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .payment-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .social-links {
        max-width: 50%;
        padding: 15px 0;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .line-footer {
        max-width: 50%;
        margin: 15px auto;
    }

    .footer-address,
    .footer-phone {
        font-size: 14px;
        display: flex;
        justify-content: center;
    }

    .footer {
        padding-top: 30px;
    }

    .footer-main {
        padding-bottom: 20px;
    }

    /* ===== PROCEDURE AFFILIATE INDEX ===== */
    .procedure-affiliate-index {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .affiliate-container {
        padding: 30px 20px;
    }

    .procedure-affiliate-heading h2 {
        font-size: 20px;
    }

    .procedure-affiliate-heading {
        margin-bottom: 35px;
    }

    .procedure-items {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px auto;
    }

    .procedure-item {
        gap: 15px;
    }

    .step-icon .icon-circle img {
        width: 80px;
        height: 80px;
    }

    .step-content {
        max-width: 100%;
    }

    .step-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .step-content h3::after {
        width: 160px;
    }

    .step-content .desc {
        font-size: 13px;
        max-width: 100%;
        line-height: 1.5;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 13px;
        top: -12px;
        right: -12px;
    }

    /* ===== NEWS INDEX ===== */
    .news-index {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .news-wrapper {
        padding: 15px;
    }

    .heading-title-news {
        margin-bottom: 20px;
        gap: 10px;
    }

    .heading-title-news h2 {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .heading-title-news h2::after {
        width: 70px;
    }

    .news-view-all {
        font-size: 14px;
    }

    .news-item-index .info {
        padding: 12px 0;
    }

    .news-item-index h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .news-item-index p {
        font-size: 13px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
    }

    .slider-btn i {
        font-size: 14px;
    }

    /* ===== MARKET COMBO ===== */
    .market-combo {
        padding: 30px 0;
    }

    .market-combo-heading h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .market-combo-heading h2::after {
        height: 2px;
    }

    .combo-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .combo-banner {
        max-width: 100%;
        text-align: center;
    }

    .combo-products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .combo-product-item {
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    }

    .combo-product-content {
        gap: 15px;
    }

    .combo-product-info-title h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .combo-price {
        font-size: 20px;
    }

    .combo-badge {
        padding: 3px 6px;
        font-size: 10px;
    }

    .combo-view-detail {
        font-size: 14px;
        padding: 4px 28px;
    }

    /* ===== PRODUCT HOT, NEW, BEST SELLER INDEX  ===== */
    .product-hot,
    .product-new,
    .product-best-seller {
        padding: 30px 0;
    }

    .product-home-wrapper {
        padding: 15px;
    }

    .product-hot-title,
    .product-new-title,
    .product-best-seller-title {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .product-hot-title h2,
    .product-new-title h2,
    .product-best-seller-title h2 {
        font-size: 20px;
    }

    .product-hot-title::after,
    .product-new-title::after,
    .product-best-seller-title::after {
        left: -15px;
        right: -15px;
    }

    .view-more {
        font-size: 14px;
    }

    .product-hot-grid,
    .product-new-grid,
    .product-best-seller-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-item-hot,
    .product-item-new,
    .product-item-best-seller {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .product-item-hot:hover,
    .product-item-new:hover,
    .product-item-best-seller:hover {
        transform: translateY(-3px);
    }

    .product-heart {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }

    .product-heart img {
        width: 28px;
        height: 28px;
    }

    .product-name a {
        font-size: 14px;
    }

    .product-badge {
        padding: 3px 6px;
        font-size: 10px;
    }

    .product-price {
        padding: 6px 0 12px 0;
    }

    .price-current {
        font-size: 18px;
    }

    .price-old {
        font-size: 12px;
        margin-left: 5px;
    }

    .view-detail {
        padding: 5px 15px;
        font-size: 14px;
    }

    /* ===== LIST CATEGORY ===== */
    .list-category {
        padding: 25px 0;
    }

    .list-category-wrapper {
        padding: 15px 0 0 0;
    }

    .list-category-title {
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .list-category-title h2 {
        font-size: 20px;
    }

    .list-category-grid {
        display: none;
    }

    .category-carousel-container {
        padding: 0 15px;
        margin-bottom: 15px;
        position: relative;
    }

    .category-carousel .list-category-item {
        border: 1px solid var(--color-primary);
        margin: 5px;
        text-align: center;
    }

    .category-carousel .list-category-item a {
        padding: 15px 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }

    .category-carousel .category-image {
        margin-bottom: 8px;
    }

    .category-nav {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        z-index: 1;
        display: flex;
        justify-content: space-between;
        padding: 0 5px;
    }

    .category-nav .slider-btn {
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        pointer-events: auto;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* ===== PRODUCT SALE ===== */
    .product-sale {
        padding: 25px 0;
    }

    .product-sale-wrapper {
        padding: 15px;
    }

    .product-sale-title {
        margin-bottom: 20px;
    }

    .product-sale-title h2 {
        font-size: 20px;
    }

    .product-sale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-item-sale {
        padding: 25px 0;
    }

    .product-price-tmd a {
        font-size: 18px;
    }

    .product-price-tmd span {
        font-size: 18px;
    }

    .hot-selling-badge {
        width: 150px;
        transform: scale(0.85);
        transform-origin: center;
    }

    /* ===== PARTNER SECTION ===== */
    .partner {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .heading-title-partner {
        margin-bottom: 25px;
    }

    .heading-title-partner h2 {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .heading-title-partner h2::after {
        width: 50px;
    }

    .partner-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    .partner-item {
        padding: 10px;
    }

    .partner-item:hover {
        transform: translateY(-2px);
    }

    /* ===== SLIDESHOW ===== */
    .slideshow {
        padding: 15px 0;
    }

    .banner-grid {
        grid-template-areas:
            "main main"
            "sub1 sub2";
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .main-banner {
        grid-area: main;
    }

    .sub-banner-1 {
        grid-area: sub1;
    }

    .sub-banner-2 {
        grid-area: sub2;
    }

    .slider-nav {
        width: 100%;
    }

    .slider-btn {
        opacity: 0.9;
    }

    /* ===== FULL TIME JOB ===== */
    .full-time-job,
    .part-time-job {
        padding: 40px 0;
    }

    .job-section-header {
        margin-bottom: 25px;
        padding-bottom: 10px;
    }

    .job-section-header h2 {
        font-size: 20px;
    }

    .job-section-header .view-more {
        font-size: 14px;
    }

    .job-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }

    .job-logo {
        padding: 15px;
    }

    .view-detail-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .job-info {
        padding: 12px 0;
    }

    .job-info h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .job-apply-btn {
        font-size: 18px;
    }

    .pagination-box {
        margin-top: 15px;
    }

    .job-section-header h2::after {
        left: 0;
        right: 0;
    }

    /* ===== REGULATIONS ===== */
    .regulations {
        padding: 40px 0;
    }

    .regulations-header {
        margin-bottom: 30px;
    }

    .regulations-header h2 {
        font-size: 20px;
    }

    .regulations-header h2:after {
        width: 70px;
        bottom: -8px;
        height: 1px;
    }

    .regulations-content {
        padding: 0 10px;
    }

    .regulations-list {
        padding-left: 20px;
    }

    .regulation-item {
        margin-bottom: 20px;
        padding-left: 10px;
        font-size: 15px;
    }

    .regulation-text {
        line-height: 1.5;
    }

    .group-job {
        padding: 40px 0;
    }

    /* .group-job .container {
        background-color: var(--bg-body);
    } */

    .group-job-header {
        margin-bottom: 30px;
    }

    .group-job-header h2 {
        font-size: 20px;
    }

    .group-job-header h2:after {
        width: 70px;
        height: 1px;
        bottom: -8px;
    }

    .group-job-content {
        padding: 10px 0;
    }

    .team-badges {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-name {
        font-size: 29px;
        top: 25%;
    }

    .video-section-header h2 {
        font-size: 20px;
    }

    .video-section-header h2:after {
        width: 70px;
        height: 1px;
        bottom: -8px;
    }

    /* ===== RECRUITMENT DETAIL ===== */
    .recruitment-detail {
        padding: 30px 0;
    }

    .company-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .recruitment-flex {
        flex-direction: column;
        gap: 25px;
    }

    .recruitment-images {
        width: 100%;
        flex-direction: row;
        gap: 15px;
    }

    .thumbnails-column {
        max-width: 75px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .thumbnail-item {
        width: 100%;
    }

    .main-image-container {
        text-align: center;
    }

    .main-image-container img {
        max-height: 400px;
        object-fit: contain;
    }

    .contact-form {
        width: 100%;
        padding: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-form-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-label {
        font-size: 15px;
    }

    .gender-options {
        gap: 20px;
    }

    .submit-btn {
        width: 100%;
        font-size: 15px;
    }

    /* Recruitment Description */
    .recruitment-description {
        padding: 30px 0;
        margin-top: 20px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .job-feature-label {
        font-size: 16px;
        margin: 15px 0 10px;
    }

    .job-description-list > li {
        font-size: 15px;
        padding-left: 20px;
    }

    .job-description-list ul {
        margin: 8px 0 15px 15px;
    }

    .job-description-list ul li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Part Time Job Carousel */
    .part-time-job-carousel .container {
        padding: 30px 15px;
    }

    .job-carousel {
        margin: 0 -15px;
    }

    /** Chart **/
    .flex-chart {
        flex-direction: column;
    }
    .chart-right {
        max-width: 100%;
    }
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .chart-container {
        min-width: 1000px;
    }
    .chart-left {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .market-session {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .company-info ul {
        margin-left: 17px;
    }
}
