.container-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

.products-main-content {
    background-color: #292929;
}

.products-title {
    background-image: url("../../img/products/products_bg.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    padding: 30% 0 20%;
}

.products-title h3 {
    font-size: 30px;
    margin-top: 0;
    color: #f3f3f3;
}

.products-title p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .products-title {
        background-image: url("../../img/products/products_bg.jpg");
        padding: 20% 0 10%;
    }
    .products-title h3 {
        font-size: 80px;
        margin-top: -5%;
    }
    .products-title p {
        font-size: 18px;
    }
}

.products-series-wrap {
    padding-bottom: 16px;
}

.products-series-item {
    display: block;
    margin: 16px 38px 0;
}

.products-series-item img {
    width: 100%;
}

@media (min-width: 768px) {
    .products-series-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 5%;
        padding-bottom: 5%;
        margin-left: auto;
        margin-right: auto;
    }

    .products-series-item {
        width: 30%;
        margin-left: 1.66%;
        margin-right: 1.66%;
        margin-bottom: 25px;
        box-shadow: 0 0 0 0 rgba(44, 44, 44, 0);
        transform: scale(1);
        transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0s;
        transition-property: box-shadow, transform;
    }

    .products-series-item:hover {
        box-shadow: 0px 16px 32px 7px rgba(0, 0, 0, 0.29);
        transform: scale(1.02);
    }
}

/* Force the section to stack vertically */
.detail-bar.benefits-section {
    display: block !important;
    width: 100%;
}

.detail-bar.benefits-section .container {
    display: block !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
}

/* Heading: centered at top */
.benefits-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 50px 0;
    width: 100%;
    display: block;
}

/* 2-column grid below heading */
.benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 80px;
    width: 100%;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #3b6eea;
    margin-top: 7px;
}

.benefit-item p {
    margin: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .benefits-heading {
        font-size: 20px;
    }
}

/* SECTION */
.a30x-specs {
    background: #f3f3f3;
    padding: 80px 0;
    text-align: center;
}

/* TITLE */
.spec-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 35px;
}

/* TABS */
.spec-tabs {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 50px;
}

.spec-tabs .tab {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #222;
}

.spec-tabs .tab.active {
    background: #2f5bea;
    color: #fff;
    padding: 10px 26px;
}

/* CONTENT */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* TABLE */
.spec-table {
    width: 75%;
    margin: auto;
    border-collapse: collapse;
    background: #fff;
}

.spec-table td {
    border: 1px solid #ddd;
    padding: 16px 25px;
    font-size: 16px;
}

.spec-table .left {
    background: #efefef;
    font-weight: 600;
}

/* SCROLL BOX */
.scroll-box {
    width: 55%;
    margin: auto;
    background: #d9d9d9;
    padding: 10px;
    border: 1px solid #bbb;
}

/* SEARCH */
.search-box {
    width: 100%;
    padding: 10px;
    border: 1px solid #999;
    margin-bottom: 10px;
    background: #eee;
}

/* LIST */
.scroll-box ul {
    max-height: 350px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.scroll-box ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 12px;
    border-bottom: 1px solid #888;
    background: #e5e5e5;
    font-size: 15px;
}

/* THREE DOTS */
.scroll-box ul li::after {
    content: "•••";
    color: #2f5bea;
    font-weight: bold;
}

/* LINK */
.more-link {
    text-align: right;
    font-size: 14px;
    margin-top: 10px;
    text-decoration: underline;
}

/* DOWNLOAD BOX */
.download-box {
    width: 50%;
    margin: auto;
    border: 1px solid #ccc;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
}

/* LEFT SIDE */
.download-box .left {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON STYLE */
.download-box .left::before {
    content: "📄";
}

/* RIGHT ICONS */
.download-box .right {
    display: flex;
    gap: 15px;
    font-size: 18px;
    cursor: pointer;
}

.video-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    margin-bottom: 50px;
    font-family: Arial, sans-serif;
}

.section-title {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Swiper Container */
.myVideoSwiper {
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Thumbnail & Play Button */
.video-container {
    width: 100%;
    position: relative;
    background: #000;
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
}

.video-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: #f00;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 5;
}

.play-btn::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

.play-btn:hover {
    background-color: #cc0000;
}

/* Caption Styling */
.video-caption {
    margin-top: 15px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

/* --- CUSTOM BLUE NAVIGATION BUTTONS --- */
.btn-prev-custom,
.btn-next-custom {
    position: absolute;
    top: 50%;
    margin-top: -45px; /* Centers vertically on the video area */
    width: 45px;
    height: 45px;
    background-color: #2b61ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition:
        opacity 0.3s ease,
        background-color 0.3s ease;
}

.btn-prev-custom::after,
.btn-next-custom::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    display: block;
}

.btn-prev-custom {
    left: 20px;
}
.btn-prev-custom::after {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.btn-next-custom {
    right: 20px;
}
.btn-next-custom::after {
    transform: rotate(45deg);
    margin-right: 4px;
}

.btn-prev-custom:hover,
.btn-next-custom:hover {
    background-color: #1a4cd6;
}

/* AUTOMATICALLY HIDE BUTTONS AT START/END */
.swiper-button-disabled {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

/* ── XTOOL Updates Section ── */
.xtool-updates {
    padding: 60px 20px;
    background: #f5f5f5;
    font-family: "Inter", sans-serif;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    width: 100%; /* ← full width */
    box-sizing: border-box;
}

.xtool-updates .section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 40px;
}

.xtool-updates .updates-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 320px;
    gap: 32px;
    align-items: start;
    overflow: hidden;
}

/* ── Article Card ── */
.xtool-updates .article-card {
    cursor: pointer;
    min-width: 0; /* ← critical fix for grid overflow */
    overflow: hidden;
}

.xtool-updates .card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: block;
}

.xtool-updates .card-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xtool-updates .card-image-inner::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 20%;
    width: 160px;
    height: 160px;
    background: radial-gradient(
        circle,
        rgba(50, 120, 255, 0.35) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.xtool-updates .wheel-svg {
    position: absolute;
    right: -30px;
    bottom: -20px;
    width: 260px;
    height: 260px;
    opacity: 0.7;
}

.xtool-updates .card-image-label {
    position: relative;
    z-index: 2;
    padding: 28px;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xtool-updates .label-newsletter {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.xtool-updates .label-monthly {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
    letter-spacing: 0.04em;
}

.xtool-updates .label-date {
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

.xtool-updates .card-body {
    padding: 18px 0 0;
}

.xtool-updates .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
    margin-bottom: 20px;
}

.xtool-updates .article-card:hover .card-title {
    color: #1a56db;
}

.xtool-updates .card-divider {
    height: 1px;
    background: #e5e5e5;
    margin-bottom: 14px;
}

.xtool-updates .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xtool-updates .read-more {
    font-size: 15px;
    font-weight: 400; /* ← lighter weight */
    color: #111;
    text-decoration: none;
    cursor: pointer;
}

.xtool-updates .read-more:hover {
    color: #1a56db;
}

.xtool-updates .card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #999;
}

.xtool-updates .card-date svg {
    width: 14px;
    height: 14px;
}

/* ── Sidebar ── */
.xtool-updates .sidebar-heading {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 16px;
}

.xtool-updates .news-list {
    display: flex;
    flex-direction: column;
}

.xtool-updates .news-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0; /* ← slightly tighter */
    border-top: 1px solid #e5e5e5;
    cursor: pointer;
    transition: opacity 0.2s;
}

.xtool-updates .news-item:hover {
    opacity: 0.7;
}

.xtool-updates .news-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: 3px;
    overflow: hidden;
}

.xtool-updates .news-thumb-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #071236 0%, #0e2060 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.xtool-updates .news-thumb-inner::after {
    content: "";
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.12);
}

.xtool-updates .news-thumb-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.4;
}

.xtool-updates .news-thumb-text .big {
    font-size: 12px;
    display: block;
}

.xtool-updates .news-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
}

.xtool-updates .sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.xtool-updates .view-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1a56db;
    text-decoration: none;
    cursor: pointer;
    transition: gap 0.2s;
}

.xtool-updates .view-more:hover {
    gap: 8px;
}

.xtool-updates .view-more svg {
    width: 14px;
    height: 14px;
}

.xtool-updates .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .xtool-updates .updates-inner {
        grid-template-columns: 1fr 1fr;
    }
    .xtool-updates .sidebar {
        grid-column: 1 / -1;
        border-top: 1px solid #e5e5e5;
        padding-top: 28px;
    }
}

@media (max-width: 560px) {
    .xtool-updates .updates-inner {
        grid-template-columns: 1fr;
    }
}

/* WRAPPER */
.xt-compare-wrap {
    width: 100%;
    overflow-x: auto;
}

/* TABLE */
.xt-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    table-layout: fixed;
}

/* HEADER */
.xt-compare-table thead th {
    background: #efefef;
    padding: 30px 10px;
    text-align: center;
}

/* PRODUCT */
.xt-product-head p {
    margin-bottom: 10px;
    font-weight: 600;
}

.xt-product-head img {
    width: 220px;
}

/* CELLS */
.xt-compare-table td {
    border: 1px solid #ddd;
    padding: 14px;
    text-align: center;
    font-size: 14px;
}

/* LEFT COLUMN */
.xt-left-col {
    text-align: left;
    font-weight: 600;
    background: #f7f7f7;
}

/* SECTION ROW (Hardware bar) */
.xt-section-row td {
    background: #d3d3d3;
    font-weight: 600;
    text-align: left;
    padding: 14px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

/* ZEBRA */
.xt-compare-table tbody tr:nth-child(even):not(.xt-section-row) {
    background: #f9f9f9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .xt-product-head img {
        width: 80px;
    }

    .xt-compare-table td {
        font-size: 12px;
        padding: 10px;
    }
}
