img {
    width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button {
    font-family: 'SF Pro Text';
}

html {
    scroll-padding: 40px;
}

/* -------- */
nav {
    .container {
        .navbar-collapse {
            ul {
                li {
                    a {
                        font-size: 12px;
                    }
                }
            }
        }
    }
}

.special-offer {
    margin-top: 70px;

    .container {
        p {
            font-size: 14px;
        }
    }
}

/* ---------- */
.main-product-frst {
    min-height: 80vh;
    background-image: url(../images-apple/apple-image01.jpg);
    background-position: center center;
    background-size: cover;

    .container {
        .caption {
            h1 {
                font-size: 56px;
            }

            p {
                font-size: 28px;
            }
        }
    }
}

.main-product-sec {
    min-height: 80vh;
    background-image: url(../images-apple/apple-image02.jpg);
    background-position: center center;
    background-size: cover;

    .container {
        .caption {
            h1 {
                font-size: 56px;
            }

            p {
                font-size: 28px;
            }
        }
    }
}

.main-product-thrd {
    min-height: 80vh;
    background-image: url(../images-apple/apple-image03.jpg);
    background-position: center center;
    background-size: cover;

    .container {
        .caption {
            h1 {
                font-size: 56px;
            }

            p {
                font-size: 28px;
            }
        }
    }
}

/* ------------ */
.acessory-products {
    .container-fluid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 16px 16px;
        grid-auto-flow: row;
        grid-template-areas:
            "airpods watch-11"
            "watch-se-3 watch-ultra-3"
            "condition-carrier trade-in";
        min-height: 210vh;
    }

    .accs-item {
        display: flex;
        justify-content: center;
        align-items: start;

        .caption {
            margin-top: 40px;
            width: 60%;
            text-align: center;
            line-height: 1.19048;

            h2 {
                font-size: 40px;
                line-height: 1;
            }

            p {
                font-size: 21px;
            }
        }
    }

    .airpods {
        grid-area: airpods;
        background-image: url(../images-apple/apple-image04.jpg);
        background-position: center center;
        background-size: cover;
    }

    .watch-11 {
        grid-area: watch-11;
        background-image: url(../images-apple/apple-image06.jpg);
        background-position: center center;
        background-size: cover;
    }

    .watch-se-3 {
        grid-area: watch-se-3;
        background-image: url(../images-apple/apple-image08.jpg);
        background-position: center center;
        background-size: cover;
        align-items: end;

        .caption {
            margin-bottom: 40px;
            text-align: center;
        }
    }

    .watch-ultra-3 {
        grid-area: watch-ultra-3;
        background-image: url(../images-apple/apple-image10.jpg);
        background-position: center center;
        background-size: cover;

        .caption {
            color: white;
        }
    }

    .condition-carrier {
        grid-area: condition-carrier;
        background-image: url(../images-apple/apple-image11.jpg);
        background-position: center center;
        background-size: cover;
    }

    .trade-in {
        grid-area: trade-in;
        background-image: url(../images-apple/apple-image13.jpg);
        background-position: center center;
        background-size: cover;
    }

}

/*-------------- */
.apple-tv {
    .container-fluid {
        .carousel-indicators {
            button {
                width: 8px;
                height: 8px;
                margin-inline: 5px;
                border-radius: 50%;
                background-color: black;
            }
        }

        .carousel-item {
            .tv-item {
                position: relative;
                width: 85%;
                margin-inline: auto;

                .caption-layer {
                    position: absolute;
                    inset: 0;
                    display: flex;
                    justify-content: start;
                    align-items: end;
                    overflow: hidden;

                    .caption {
                        opacity: 0;
                        transform: translateY(20px);
                        margin-bottom: 40px;
                        margin-inline-start: 40px;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        transition: all 0.5s ease;

                        p {
                            margin-block: auto;
                            padding: 10px;
                        }
                    }
                }
            }
            &.active .tv-item .caption-layer .caption{
                opacity: 1;
                transform: translateY(0);
            }
        }
    }
}