

/* =========================================================
   FONT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* =========================================================
   GLOBAL BOX SIZING
   ========================================================= */

.anpviz-hero-images,
.anpviz-hero-images *,
.pro-block-section,
.pro-block-section *,
.specs-section,
.specs-section * {
    box-sizing: border-box;
}


/* =========================================================
   HERO IMAGES
   IMPORTANT:
   Do NOT force a fixed aspect ratio.
   Each image keeps its original proportion.
   ========================================================= */

.anpviz-hero-images {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.anpviz-hero-images img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}


/* =========================================================
   FEATURE SECTION
   ========================================================= */

.pro-block-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: #000;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}


/* =========================================================
   TOP NAVIGATION
   ========================================================= */

.top-nav-bar {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #111;
    border-bottom: 1px solid #222;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;
}

.top-nav-bar::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   NAV BUTTON
   ========================================================= */

.nav-btn {
    flex: 1 1 0;
    min-width: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 10px 8px;
    height: 45px;

    color: #666;
    font-size: 18px;
    font-weight: 550;

    cursor: pointer;

    white-space: normal;
    line-height: 1.2;

    position: relative;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}


/* =========================================================
   ACTIVE NAV
   ========================================================= */

.nav-btn.active {
    color: #fff;
    background: #1a1a1a;
}


.nav-btn.active::after {
    content: '';

    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #ff3b30;
}


/* =========================================================
   IMAGE STAGE WRAPPER
   IMPORTANT:
   No fixed aspect-ratio here.
   JS automatically adjusts height according
   to the currently displayed image.
   ========================================================= */

.image-stage-wrapper {
    position: relative;

    width: 100%;
    max-width: 100%;

    overflow: hidden;

    background: #000;

    transition: height 0.25s ease;
}


/* =========================================================
   IMAGE STAGE
   ========================================================= */

.image-stage {
    display: flex;

    width: 100%;
    height: auto;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;
}


.image-stage::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   IMAGE PANEL
   ========================================================= */

.img-panel {
    flex: 0 0 100%;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    scroll-snap-align: start;
}


/* =========================================================
   IMAGE
   IMPORTANT:
   width:100% + height:auto
   means no stretching and no cropping.
   ========================================================= */

.img-panel img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    margin: 0;
    padding: 0;
}


/* =========================================================
   IMAGE ARROWS
   ========================================================= */

.image-slider-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 46px;
    height: 46px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(0, 0, 0, 0.35);

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 20;

    cursor: pointer;

    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    padding: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   DESKTOP:
   SHOW ARROWS ONLY WHEN MOUSE ENTERS IMAGE AREA
   ========================================================= */

.image-stage-wrapper:hover .image-slider-arrow {
    opacity: 1;
    visibility: visible;
}


.image-slider-arrow:hover {
    background: #ff3b30;
    border-color: #ff3b30;
    color: #fff;

    transform: translateY(-50%) scale(1.08);
}


.image-slider-prev {
    left: 18px;
}


.image-slider-next {
    right: 18px;
}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.specs-section {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 20px 0;

    background: #fff;

    font-family: 'Poppins', sans-serif;
}


/* =========================================================
   SPEC TITLE
   ========================================================= */

.specs-title {
    width: 100%;

    margin: 0 0 20px;

    padding: 0;

    text-align: center;

    font-size: 30px;
    font-weight: 700;
}


.specs-title h3 {
    margin: 0;
    padding: 0;

    font-size: inherit;
    font-weight: inherit;

    line-height: 1.3;
}


/* =========================================================
   SPEC CONTAINER
   ========================================================= */

.specs-container {
    display: flex;

    gap: 20px;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;
}


.specs-column {
    flex: 1 1 0;
    min-width: 0;
}


/* =========================================================
   SPEC TABLE
   ========================================================= */

.specs-table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    box-shadow: 0 0 0 1px #d1d1d1;

    border-radius: 12px;

    background: #fff;

    overflow: hidden;
}


.specs-table td {
    padding: 14px 20px;

    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;

    font-size: 16px;

    line-height: 1.5;

    vertical-align: middle;
}


.specs-table td:last-child {
    border-right: none;
}


.specs-table tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   SPEC LABEL
   ========================================================= */

.spec-label {
    width: 35%;

    font-weight: 600;

    background-color: #fafafa;

    font-size: 16px;
}


.spec-value {
    font-weight: 400;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .specs-container {
        flex-direction: column;
        gap: 20px;
    }

    .specs-title {
        font-size: 22px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {


    /* -----------------------------------------
       MOBILE NAV
       ----------------------------------------- */

    .top-nav-bar {
        width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
    }


    .nav-btn {
        flex: 0 0 auto;

        min-width: 120px;
        max-width: 180px;

        height: 48px;

        padding: 8px 14px;

        font-size: 12px;

        line-height: 1.25;

        white-space: normal;
    }


    /* -----------------------------------------
       MOBILE IMAGE STAGE

       NO aspect-ratio here.
       The image determines the height.
       ----------------------------------------- */

    .image-stage-wrapper {
        width: 100%;
        height: auto;

        aspect-ratio: auto;
    }


    .image-stage {
        width: 100%;
        height: auto;
    }


    .img-panel {
        width: 100%;
        height: auto;
    }


    .img-panel img {
        width: 100%;
        height: auto;

        object-fit: contain;
    }


    /* -----------------------------------------
       MOBILE ARROWS

       Mobile devices have no hover,
       so keep arrows subtle but visible.
       ----------------------------------------- */

    .image-slider-arrow {
        width: 36px;
        height: 36px;

        font-size: 25px;

        opacity: 0.55;
        visibility: visible;

        background: rgba(0, 0, 0, 0.28);

        border-color: rgba(255, 255, 255, 0.45);
    }


    .image-slider-prev {
        left: 10px;
    }


    .image-slider-next {
        right: 10px;
    }


    .image-slider-arrow:active {
        background: #ff3b30;
        border-color: #ff3b30;

        transform: translateY(-50%) scale(0.96);
    }


    /* -----------------------------------------
       MOBILE SPECS
       ----------------------------------------- */

    .specs-section {
        padding: 20px 10px;
    }


    .specs-table td {
        padding: 11px 12px;

        font-size: 14px;
    }


    .spec-label {
        width: 35%;

        font-size: 14px;
    }


    .specs-title {
        font-size: 21px;

        padding: 0 5px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nav-btn {
        min-width: 110px;
        max-width: 150px;

        padding: 7px 10px;

        font-size: 11px;
    }


    .image-slider-arrow {
        width: 32px;
        height: 32px;

        font-size: 22px;
    }


    .image-slider-prev {
        left: 7px;
    }


    .image-slider-next {
        right: 7px;
    }


    .specs-title {
        font-size: 19px;
    }


    .specs-table td {
        padding: 10px 9px;

        font-size: 13px;
    }


    .spec-label {
        font-size: 13px;
    }

}

