/* =========================================================
              HOMEPAGE HERO & FEATURE SECTIONS
   ========================================================= */


/* ===== HERO SLIDER ===== */

.home-main-slider {
    margin: 20px auto 25px;
    padding: 5px;
}

@media (max-width: 991px) {
    .home-main-slider {
        margin: 15px auto 18px;
        padding: 3px;
    }
}

@media (max-width: 767px) {
    .home-main-slider {
        margin: 0px;
        padding: 0;
    }
}


/* ===== SLIDER IMAGE WRAPPER ===== */

.slider-img-wrap {
    position: relative;
    width: 100%;
    min-height: 190px;
    display: flex;
    overflow: hidden;
    background: #ffffff;
    border-radius: 5px;
    aspect-ratio: 18 / 8.5;
}

@media (max-width: 991px) {
    .slider-img-wrap {
        min-height: 120px;
        height: auto;
        border-radius: 3px;
        aspect-ratio: 17 / 8;
    }
}

@media (max-width: 767px) {
    .slider-img-wrap {
        border-top: 2px solid #0f4c81;
        min-height: 100px;
        padding: 12px 0px;
        margin: 0px;
        border-radius: 0;
        aspect-ratio: 14 / 9;
        background: #e7f1fc;
    }
}


/* ===== SLIDER TRACK & IMAGES ===== */

.slider-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.42s cubic-bezier(0.65, 0.04, 0.35, 1);
}

.slider-img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 160px;
    display: block;
    background: #ffffff;
    border-radius: 2px;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 991px) {
    .slider-img {
        min-height: 110px;
        border-radius: 3px;
    }
}

@media (max-width: 767px) {
    .slider-img {
        min-height: 65px;
        border-radius: 0;
    }
}


/* ===== SLIDER DOTS ===== */

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 3;
    padding: 3px 12px;
    display: flex;
    gap: 9px;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 12px;
    transform: translateX(-50%);
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    background: #c9d6e6;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.13s;
}

.slider-dots .dot.active {
    background: #156ecc;
}

@media (max-width: 991px) {
    .slider-dots {
        bottom: 9px;
        padding: 2px 8px;
        gap: 7px;
    }

    .slider-dots .dot {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 767px) {
    .slider-dots {
        bottom: 22px;
        gap: 5px;
    }

    .slider-dots .dot {
        width: 6px;
        height: 6px;
    }
}


/* ===== SLIDER ARROWS ===== */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 248, 253, 0.72);
    color: #063b5f;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.93;
    transform: translateY(-50%);
    transition: background 0.13s, color 0.13s;
}

.slider-arrow.prev {
    left: 12px;
}

.slider-arrow.next {
    right: 12px;
}

.slider-arrow:hover {
    background: #e4f0ff;
    color: #005199;
}

@media (max-width: 991px) {
    .slider-arrow {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .slider-arrow {
        width: 25px;
        height: 25px;
    }

    .slider-arrow.prev {
        left: 8px;
    }

    .slider-arrow.next {
        right: 8px;
    }
}


/* ===== NEWS TICKER ===== */

.news-ticker-widget {
    margin: 15px 5px;
}

.news-ticker-box {
    padding: 1px 18px 1px 6px;
    display: flex;
    align-items: center;
    background: #f1f7fe;
    border: 1.5px solid #95d6ee;
    border-radius: 4px;
    box-shadow: 0 1px 8px 0 rgba(48, 133, 201, 0.10);
}

.news-ticker-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff4;
    border-radius: 50%;
}

.news-ticker-marquee {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    white-space: nowrap;
}

.news-ticker-scroll {
    color: #16405b;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.4px;
    text-align: center;
}

.news-ticker-scroll strong {
    color: #222222;
    font-size: 11.8px;
}

@media (max-width: 991px) {
    .news-ticker-widget {
        margin: 10px 2px;
    }

    .news-ticker-box {
        margin: 0 2px;
        padding: 2px 15px 2px 5px;
        border-radius: 3px;
    }

    .news-ticker-icon {
        width: 16px;
        height: 16px;
        margin-right: 5px;
    }

    .news-ticker-marquee {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .news-ticker-widget {
        margin: 8px 0;
    }

    .news-ticker-box {
        display: none !important;
    }

    .news-ticker-icon {
        width: 12px;
        height: 12px;
        margin-right: 3px;
    }

    .news-ticker-marquee {
        font-size: 11px;
    }
}


/* ===== FEATURE GRID ===== */

.webmobile-feature-grid {
    width: 100%;
    margin-bottom: 20px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid-row-top {
    width: 100%;
}

.grid-row-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 991px) {
    .webmobile-feature-grid {
        margin-bottom: 14px;
        padding: 3px;
        gap: 8px;
    }

    .grid-row-bottom {
        gap: 7px;
    }
}

@media (max-width: 767px) {
    .webmobile-feature-grid {
        margin-bottom: 8px;
        padding: 2px;
        gap: 6px;
    }

    .grid-row-bottom {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}


/* ===== FEATURE CARDS ===== */

.feature-card {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.main-banner {
    height: 400px;
}

.sub-banner {
    height: 240px;
}

.feature-card img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .feature-card,
    .feature-card img {
        border-radius: 5px;
    }

    .main-banner {
        height: 260px;
    }

    .sub-banner {
        height: 150px;
    }
}

@media (max-width: 767px) {
    .feature-card,
    .feature-card img {
        border-radius: 4px;
    }

    .main-banner {
        height: 140px;
    }

    .sub-banner {
        height: 90px;
    }
}


/* ===== CARD TEXT OVERLAY ===== */

.card-text-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
    font-family: sans-serif;
}

.sub-text {
    padding: 15px;
}

@media (max-width: 991px) {
    .card-text-overlay {
        padding: 12px;
        font-size: 14px;
    }

    .sub-text {
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .card-text-overlay {
        padding: 7px;
        font-size: 12px;
    }

    .sub-text {
        padding: 5px;
    }
}

/* =========================================================
                 HOMEPAGE BRANDS SCROLL
   ========================================================= */


/* ===== BRANDS SCROLL WRAPPER ===== */

.brands-scroll-row-wrapper {
    display: none;
}

@media (max-width: 991px) {
    .brands-scroll-row-wrapper {
        margin: 40px 3px 8px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        border-top: 2px solid #0f4c81;
    }
}

@media (max-width: 767px) {
    .brands-scroll-row-wrapper {
        margin: 0px 0 8px;
    }
}


/* ===== BRANDS TITLE ROW ===== */

@media (max-width: 991px) {
    .brands-title-row {
        margin: 20px 0 15px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .brands-title {
        margin-bottom: 0;
        padding-left: 0;
        color: #175d89;
        font-size: 24px;
        font-weight: 900;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .brands-title {
        font-size: 20px;
    }
    .brands-title-row {
        margin-top: 15px;
        margin-bottom: 0;
        padding: 0 10px;
    }
}


/* ===== BRANDS HEADER ROW ===== */

@media (max-width: 991px) {
    .brands-header-row {
        width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
    }
}


/* ===== BRANDS SCROLL ROW ===== */

@media (max-width: 991px) {
    .brands-scroll-row {
        width: 100%;
        padding: 10px 0;
        display: flex;
        flex: 1;
        gap: 8px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

@media (max-width: 767px) {
    .brands-scroll-row {
        margin: 35px 0 20px;
        padding: 4px 0 4px 10px;
        gap: 8px;
    }
}

.brands-scroll-row::-webkit-scrollbar {
    display: none;
}


/* ===== BRAND CARDS ===== */

@media (max-width: 991px) {
    .brand-icon-link {
        width: 200px;
        min-width: 170px;
        max-width: 210px;
        height: 120px;
        min-height: 110px;
        max-height: 130px;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #ffffff;
        border: 1.2px solid #c3d6ea; /* Slightly darker border than before */
        border-radius: 6px;
   
    }

    .brand-icon-link img {
        width: 108px;
        height: 74px;
        display: block;
        background: #ffffff;
        border: none;
        border-radius: 2.2px;
        box-shadow: none;
        filter: none;
        object-fit: contain;
    }
}

@media (max-width: 767px) {
    .brand-icon-link {
        width: 130px;
        min-width: 130px;
        max-width: 130px;
        height: 90px;
        min-height: 90px;
        max-height: 90px;
        padding: 10px;
        border-radius: 4px;
    }

    .brand-icon-link img {
        height: 70px;
        border-radius: 1.2px;
    }
}

.brand-icon-link:hover,
.brand-icon-link:focus {
    border: 1.6px solid #1d8add;
    box-shadow: 0 5px 30px rgba(21, 88, 191, 0.11);
}


/* ===== SCROLL BUTTONS ===== */

@media (max-width: 991px) {
    .brands-scroll-btn {
        width: 30px;
        min-width: 19px;
        height: 120px;
        margin: 0 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f6f7fa;
        color: #2567ad;
        border: 1.5px solid #d8e1ee;
        border-radius: 3px;
        box-shadow: 0 1.2px 8px rgba(46, 111, 255, 0.08);
        font-size: 30px;
        cursor: pointer;
        transition: background 0.19s, border 0.13s;
    }
}

@media (max-width: 767px) {
    .brands-scroll-btn {
        display: none !important;
    }
}

.brands-scroll-btn:active,
.brands-scroll-btn:focus {
    background: #e7edf8;
    border-color: #bacfea;
}


/* ===== VIEW ALL BRANDS ===== */

@media (max-width: 991px) {
    .brands-viewall-row {
        display: none;
    }

    #brands-viewall-mobile {
        padding: 6px 17px;
        font-size: 12px;
        font-weight: 500;
    }
}

@media (max-width: 767px) {

    #brands-viewall-mobile {
        padding: 4px 7px;
        font-size: 11px;
        font-weight: 600;
    }
}

/* =========================================================
                 MOBILE CONTENT SECTIONS
   ========================================================= */


/* ===== BRAND SECTION ===== */

.brand-section-row {
    background-color: #ffffff;
}


/* ===== SECTION HEADER ===== */

.section-header-flex {
    margin: 0 5px 50px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #0f4c81;
}

.section-header-flex h2 {
    display: inline-block;
    color: #175d89;
    font-family: "Nunito", "Inter", "Segoe UI", "Poppins", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

@media (max-width: 991px) {
    .section-header-flex {
        margin: 0 3px;
        padding-top: 16px;
    }

    .section-header-flex h2 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .section-header-flex {
        margin: 0 2px;
        padding: 12px 8px 0;
        border-top: 1.5px solid #85a9c7;
    }

    .section-header-flex h2 {
        /* font-family: "Poppins", "Inter", "Segoe UI", Arial, Helvetica, sans-serif; */
        font-size: 18px;
        letter-spacing: 0.2px;
        font-weight: 600;
    }
}


/* ===== VIEW ALL BUTTON ===== */

.more-btn {
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f4c81;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.more-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.more-btn:hover {
    background: #0456c8;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
}

.more-btn:hover i {
    transform: translateX(3px);
}

.more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .more-btn {
        padding: 5px 8px;
        gap: 5px;
        border-radius: 3px;
        font-size: 9px;
    }

    .more-btn i {
        font-size: 9px;
    }
}

@media (max-width: 767px) {
    .more-btn {
        padding: 3.5px 7px;
        gap: 4px;
        background-color: #1760ae;
        color: #fff;
        border: none;
        border-radius: 4px;
        box-shadow: 0 4px 16px rgba(23, 96, 174, 0.22);
        font-size: 11px;
        font-weight: 600;
   
    }
    

    .more-btn i {
        font-size: 11px;
    }
}

/* =========================================================
                  MOBILE SERIES TABLE
   ========================================================= */


/* ===== TABLE SECTION ===== */

.mobile-table-section {
    width: 100%;
    margin: 50px auto;
    padding: 0 5px;
    background: #ffffff;
}

@media (max-width: 991px) {
    .mobile-table-section {
        margin: 36px auto;
        padding: 0 3px;
    }
}

@media (max-width: 767px) {
    .mobile-table-section {
        padding: 0;
    }
}


/* ===== TABLE TITLE ===== */

.table-title {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .table-title {
        margin-bottom: 10px;
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .table-title {
        margin-bottom: 7px;
        font-size: 15px;
    }
}


/* ===== TABLE CONTAINER ===== */

.table-container {
    width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    -webkit-overflow-scrolling: touch;
    scrollbar-height: thin;
    scrollbar-color: #a3a3a3 #e0e7ef;
}

.table-container::-webkit-scrollbar {
    height: 7px;
    background: #e0e7ef;
}

.table-container::-webkit-scrollbar-thumb {
    background: #a3a3a3;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .table-container {
        margin: 12px 0;
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .table-container {
        margin: 7px 0;
        border-radius: 2.5px;
    }
}


/* ===== MAIN TABLE ===== */

.mobile-table {
    width: 100%;
    min-width: 600px;
    background: #ffffff;
    border-collapse: collapse;
    font-size: 13px;
}

@media (max-width: 991px) {
    .mobile-table {
        min-width: 400px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .mobile-table {
        min-width: 340px;
        font-size: 11px;
    }
}


/* ===== TABLE CELLS ===== */

.mobile-table th,
.mobile-table td {
    padding: 5px 8px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    transition: background 0.2s ease;
}

@media (max-width: 991px) {
    .mobile-table th,
    .mobile-table td {
        padding: 6px;
    }
}

@media (max-width: 767px) {
    .mobile-table th,
    .mobile-table td {
        padding: 6px;
    }
}


/* ===== TABLE HEADER ===== */

.mobile-table th {
    position: sticky;
    top: 0;
    background: #083d6b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    .mobile-table th {
        font-size: 12.5px;
    }
}

@media (max-width: 767px) {
    .mobile-table th:nth-child(3),
    .mobile-table td:nth-child(3),
    .mobile-table th:nth-child(4),
    .mobile-table td:nth-child(4) {
        display: none !important;
    }

    .mobile-table th {
        padding: 8px 6px;
        font-size: 15px;
    }

    .mobile-table th:nth-child(1),
    .mobile-table td:nth-child(1),
    .mobile-table th:nth-child(5),
    .mobile-table td:nth-child(5) {
        text-align: center !important;
    }

    .mobile-table th:nth-child(1),
    .mobile-table td:nth-child(1) {
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        padding: 6px !important;
    }
}


/* ===== TABLE BORDERS & HOVER ===== */

.mobile-table tr td:last-child,
.mobile-table tr th:last-child {
    border-right: none;
}

.mobile-table tr:last-child td {
    border-bottom: none;
}

.mobile-table tbody tr:hover {
    background: #f1f5ff;
}


/* ===== TABLE LINKS ===== */

.mobile-table td a {
    width: 100%;
    display: block;
    color: inherit;
    text-decoration: none;
}


/* ===== NAME COLUMN ===== */

.col-name {
    color: #000000;
    font-family: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

@media (max-width: 991px) {
    .col-name {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .col-name a {
        font-size: 14px;
    }
}


/* ===== PRICE COLUMN ===== */

.col-price {
    color: #000099;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

@media (max-width: 991px) {
    .col-price {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .col-price {
        font-size: 12px;
    }
}


/* ===== BATTERY COLUMN ===== */

.col-battery {
    color: #636363;
    font-family: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

@media (max-width: 991px) {
    .col-battery {
        font-size: 10.5px;
    }
}

@media (max-width: 767px) {
    .col-battery {
        display: none;
    }
}


/* ===== STATUS COLUMN ===== */

.col-status {
    text-align: center;
}

@media (max-width: 767px) {
    .col-status {
        font-size: 13px;
    }
}


/* ===== STATUS BADGE ===== */

.approved {
    width: max-content;
    margin: 0 auto;
    padding: 4px 10px;
    display: block;
    background: #12c855;
    color: #ffffff;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 991px) {
    .approved {
        padding: 4px 7px;
        font-size: 8.5px;
    }
}

@media (max-width: 767px) {
    .approved {
        padding: 3px 6px;
        font-size: 10px;
    }
}


/* ===== RATING BADGE ===== */

.rating-badge {
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a293a;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

@media (max-width: 991px) {
    .rating-badge {
        min-width: 40px;
        border-radius: 9px;
        font-size: 11.5px;
    }
}

@media (max-width: 767px) {
    .rating-badge {
        min-width: 32px;
        display: inline-flex;
        gap: 5px;
        border-radius: 7px;
        font-size: 13px;
    }
}


/* ===== RATING STAR ===== */

.rating-badge .star-yellow {
    margin-left: 2px;
    color: #fbc02d;
    font-size: 15px;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .rating-badge .star-yellow {
        margin-left: 1px;
        font-size: 12.5px;
    }
}

@media (max-width: 767px) {
    .rating-badge .star-yellow {
        margin-left: 1px;
        font-size: 14px;
    }
}


/* ===== RANK COLUMN ===== */

.col-rank {
    padding: 0 10px;
    background-color: #f6fafd;
    color: #1856a6;
    border-right: 1px solid #e5e5e5;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .col-rank {
        padding: 0 8px;
        border-radius: 4px 0 0 4px;
        font-size: 11.5px;
    }
}

@media (max-width: 767px) {
    .col-rank {
        padding: 0 5px;
        border-radius: 3px 0 0 3px;
        font-size: 13px;
    }
}

/* =========================================================
                    MOBILE COMPARE SECTION
   ========================================================= */


/* ===== COMPARE GRID ===== */

.compare-modern-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 991px) {
    .compare-modern-grid {
        margin-top: 22px;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .compare-modern-grid {
        margin-top: 20px;
        padding: 0 12px;
        display: flex !important;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: unset;
    }

    .compare-card {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .compare-section-cards,
    .compare-section {
        width: 100%;
        max-width: 100%;
    }
}


/* ===== COMPARE CARD ===== */

.compare-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
}

@media (max-width: 991px) {
    .compare-card {
        padding: 8px 4px;
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .compare-card {
        padding: 8px 2px;
        border-radius: 2.5px;
    }
}


/* ===== VS BOX ===== */

.compare-vs-box {
    position: relative;
    padding: 16px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

@media (max-width: 991px) {
    .compare-vs-box {
        padding: 12px 7px;
        gap: 5px;
    }
}

@media (max-width: 767px) {
    .compare-vs-box {
        padding: 7px 2px;
        gap: 10px;
    }
}


/* ===== DEVICE COLUMN ===== */

.comp-device {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 991px) {
    .comp-device {
        font-size: 11.5px;
    }
}

@media (max-width: 767px) {
    .comp-device {
        font-size: 10.5px;
    }
}


/* ===== DEVICE IMAGE ===== */

.device-img {
    width: auto;
    height: 90px;
    margin-bottom: 6px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .device-img {
        height: 90px;
        margin-bottom: 4px;
    }
}

@media (max-width: 767px) {
    .device-img {
        width: 100px;
        height: 80px;
        margin-bottom: 2px;
    }
}


/* ===== DEVICE NAME ===== */

.comp-device span {
    display: block;
    color: #22223b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.2px;
    text-align: center;
    word-break: break-word;
}

@media (max-width: 991px) {
    .comp-device span {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .comp-device span {
        font-size: 11.5px;
        letter-spacing: 0.08px;
    }
}


/* ===== VS CIRCLE ===== */

.vs-circle {
    z-index: 2;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0c579c;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    transition:
        background 0.25s,
        transform 0.4s cubic-bezier(0.4, 2, 0.6, 1);
}

.compare-card:hover .vs-circle {
    background-color: #0456c8;
    transform: scale(1.13);
}

@media (max-width: 991px) {
    .vs-circle {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .vs-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}


/* ===== COMPARE ACTION BUTTON ===== */

.btn-compare-action {
    margin-bottom: 6px;
    padding: 5px 12px;
    display: inline-block;
    background: #0c579c;
    color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 3px 11px rgba(12, 87, 156, 0.25);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.4s;
}

.btn-compare-action:hover {
    background: #0456c8;
}

@media (max-width: 991px) {
    .btn-compare-action {
        margin-bottom: 5px;
        padding: 4px 9px;
        border-radius: 4px;
        font-size: 9px;
    }
}

@media (max-width: 767px) {
    .btn-compare-action {
        display: none;
    }
}

/* =========================================================
                    MOBILE NEWS SECTION
   ========================================================= */


/* ===== NEWS SECTION ===== */

.mobile-news-section {
    margin-top: 60px;
    padding: 0 5px;
}

@media (max-width: 991px) {
    .mobile-news-section {
        margin-top: 40px;
        padding: 0 3px;
    }
}

@media (max-width: 767px) {
    .mobile-news-section {
        margin-top: 80px;
        padding: 0;
    }
}


/* ===== NEWS HEADING ===== */

.news-heading {
    margin: 0 3px 10px;
    display: flex;
    align-items: center;
    color: #0f3057;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01px;
}

@media (max-width: 991px) {
    .news-heading {
        margin: 0 2px 8px;
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .news-heading {
        margin: 0 1px 15px;
        padding: 0 8px;
        color: #000000;
        font-size: 20px;
    }
}


/* ===== SECTION DIVIDER ===== */

.section-divider {
    width: 100%;
    margin: 8px 0 16px;
    border: 1px solid #001f5c;
}

@media (max-width: 991px) {
    .section-divider {
        margin: 7px 0 12px;
    }
}

@media (max-width: 767px) {
    .section-divider {
        margin: 7px 0 15px;
        border-color: #bdbdbd;
        border-width: 1.3px;
    }
}


/* ===== NEWS GRID ===== */

.news-grid {
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.news-card:nth-child(n + 7) {
    display: none;
}

@media (max-width: 991px) {
    .news-grid {
        margin: 18px 0;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .news-grid {
        margin: 10px 0 12px;
        padding: 0 8px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow-x: unset;
        -webkit-overflow-scrolling: touch;
    }

    .news-card:nth-child(n + 7) {
        display: flex;
    }
}


/* ===== NEWS CARD ===== */

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 6px;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

@media (max-width: 991px) {
    .news-card {
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .news-card {
        min-width: 210px;
        max-width: 100%;
        flex-direction: row;
        align-items: center;
        border-radius: 2px;
    }
}


/* ===== NEWS IMAGE ===== */

.news-card-imgbox {
    position: relative;
    width: 100%;
    height: 140px;
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    background: #ffffff;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.news-card-imgbox img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    will-change: transform;
    transition:
        transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.28s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-card:hover .news-card-imgbox img,
.news-card:focus-within .news-card-imgbox img {
    transform: scale(1.03) translateY(-1.5px);
}

@media (max-width: 991px) {
    .news-card-imgbox {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .news-card-imgbox {
        width: 180px;
        min-width: 90px;
        max-width: 170px;
        height: 100px;
        flex-grow: 0;
        object-fit: cover;
    }
}


/* ===== NEWS CONTENT ===== */

.news-card-content {
    padding: 0;
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 767px) {
    .news-card-content {
        padding: 0 8px;
    }
}


/* ===== NEWS TITLE ===== */

.news-card-content h4 {
    margin-top: 10px;
    margin-bottom: 6px;
    padding: 0 8px;
    display: -webkit-box;
    overflow: hidden;
    color: #1760ae;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 991px) {
    .news-card-content h4 {
        margin-top: 8px;
        margin-bottom: 5px;
        padding: 0 6px;
        font-size: 13.5px;
    }
}

@media (max-width: 767px) {
    .news-card-content h4 {
        margin-top: 0;
        margin-bottom: 3px;
        padding: 0;
        font-size: 14px;
    }
}


/* ===== NEWS DESCRIPTION ===== */

.news-card-content p {
    margin-bottom: 6px;
    padding: 0 8px;
    display: -webkit-box;
    flex-grow: 1;
    overflow: hidden;
    color: #555555;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.02px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 991px) {
    .news-card-content p {
        margin-bottom: 8px;
        padding: 0 6px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .news-card-content p {
        margin-bottom: 0;
        padding: 0;
        font-size: 13.5px;
    }
}


/* ===== READ MORE ===== */

.news-readmore {
    padding: 0 8px 10px;
    display: inline-block;
    align-self: flex-start;
    color: #0c579c;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
}

.news-readmore:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .news-readmore {
        padding: 0 6px 8px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .news-readmore {
        display: none;
    }
}


/* ===== NEWS CATEGORY ===== */

.news-category {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 1;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.8);
    color: #000000;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

@media (max-width: 991px) {
    .news-category {
        top: 6px;
        left: 6px;
        padding: 0 5px;
        border-radius: 3px;
        font-size: 9px;
    }
}

@media (max-width: 767px) {
    .news-category {
        top: 4px;
        left: 4px;
        padding: 0 5px;
        border-radius: 2px;
        font-size: 9px;
    }
}

/* =========================================================
                    BUYING GUIDE SECTION
   ========================================================= */


/* ===== GUIDE CONTAINER ===== */

.buying-guides-container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 18px;
    padding: 0 5px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (max-width: 991px) {
    .buying-guides-container {
        max-width: 97vw;
        margin-top: 30px;
        margin-bottom: 14px;
        padding: 0 3px;
    }
}

@media (max-width: 767px) {
    .buying-guides-container {
        display: none !important;
    }
}


/* ===== GUIDE CARD ===== */

.buying-guide-card {
    margin-top: 25px;
    padding: 0;
    background: #f0f7ff;
    border: 1px solid #d0e4f7;
    border-radius: 6px;
}

@media (max-width: 991px) {
    .buying-guide-card {
        margin-top: 15px;
        padding: 0;
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .buying-guide-card {
        margin: 8px 0 0;
        padding: 0;
        border-radius: 2.5px;
    }
}


/* ===== GUIDE TITLE ===== */

.guide-title {
    margin-top: 10px;
    padding: 0 10px;
    color: #0c3050;
    font-size: 18px;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .guide-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .guide-title {
        padding: 0 12px;
        font-size: 17px;
    }
}


/* ===== GUIDE DESCRIPTION ===== */

.guide-description {
    margin: 5px 0 10px;
    padding: 0 10px;
    color: #555555;
    font-size: 14.5px;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.guide-description strong {
    color: #666666;
    font-size: 13.5px;
}

@media (max-width: 991px) {
    .guide-description {
        margin: 8px 0;
        font-size: 14.5px;
    }

    .guide-description strong {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .guide-description {
        margin: 4px 0 6px;
        padding: 0 12px;
        display: -webkit-box;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .guide-description strong {
        font-size: 14px;
    }
}


/* ===== READ MORE BUTTON ===== */

.read-more-btn {
    margin: 0 0 10px 10px;
    padding: 8px 16px;
    display: inline-block;
    color: #0c579c;
    border: 1px solid #0c579c;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #0c579c;
    color: #ffffff;
}

@media (max-width: 991px) {
    .read-more-btn {
        padding: 6px 12px;
        border-radius: 3px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .read-more-btn {
        margin: 0 0 12px 12px;
        padding: 4px 9px;
        border-radius: 2px;
        font-size: 14px;
    }
}