.header {
    position: static;
}

p {
    line-height: 2;
}


/**
*  SECTION 1
**/

#sec-1 {
    margin-top: 0.25rem;
    background: linear-gradient(90deg, rgb(24,50,65) 0%, rgb(24,50,65) 25%, rgb(33,66,86) 100%);
}

#sec-1 .row {
    flex-wrap: nowrap;
    height: 21rem;
    align-items: center;
    gap: 2rem;
}

#sec-1 img {
    height: 100%;
}

.description {
    padding: 1rem 2rem; 
}

#sec-1 h1, #sec-1 p {
    color: var(--lighter-blue);
}

#sec-1 .wrap {
    padding: 0;
}

#sec-1 h3 {
    color: var(--light-blue);
    font-size: 1rem;
}


/**
* SECTION 2
**/

#sec-2 {
    text-align: center;
}

.product-cat-wrapper {
    display: flex;
    margin: 2rem auto;
    max-width: fit-content;
    align-items: center;
}

.product-cat-slide-button {
    display: none;
    padding: 0.75rem;
    user-select: none;
    cursor: pointer;
    opacity: 0.4;
}

.product-cat-slide-button:hover {
    opacity: 1;
}

.product-cat-select {
    display: flex;
    max-width: 100%;
    width: fit-content;
    padding: 0 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-sizing: border-box;  
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.product-cat-select::-webkit-scrollbar {
    display: none;
}

.product-cat {
    color: var(--text);
    padding: 0.75rem 2.5rem;
    cursor: pointer;
    white-space: nowrap;
}

.product-cat:hover {
    background: rgba(231,241,248,0.2);
    background: linear-gradient(180deg, rgba(231,241,248,0.5) 0%, rgba(231,241,248,0) 50%);
}

.product-cat.selected {
    font-weight: bold;
    border-bottom: 3px solid var(--blue);
}

.product {
    box-sizing: border-box;
    margin: auto;
    padding-top: 1.5rem;
    width: 75%;
    text-align: left;
}

h2#product-name {
    font-size: 1.6rem;
}

.product-desc ul {
    margin: 0;
}

/**
* IMAGE
**/
.product-img {
    height: fit-content;
    max-width: 25rem;
    margin: auto;
    margin-bottom: 2rem;
    text-align: center;
}

.img-wrap {
    position: relative;
}

.image-slides {
    display: none;
    width: 100%;
    border-radius: 0.5rem;
}

.image-slides.active {
    display: block;
}

.img-desc {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.7);
    color: white;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-blue);
    padding: 1rem;
    font-size: 1.25rem;
    transition: 0.1s;
    user-select: none;
}

.prev:hover, .next:hover {
    color: var(--light-blue);
}

.prev {
    left: 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.next {
    right: 0;
    border-radius: 0.5rem 0 0 0.5rem;
}

.dot-wrapper {
    padding-top: 1.5rem;
}

.dot {
    cursor: pointer;
    height: 0.6rem;
    width: 0.6rem;
    margin: 0 0.4rem;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

table, td {
    border: 1px solid rgb(200,200,200);
    border-collapse: collapse;
}

table {
    width: 100%;
    margin: 1.5rem 1rem;
}

td {
    padding: 0.5rem 1.5rem;
    color: var(--text);
    font-size: 0.9rem;
}


/** SEC-3 (Contacts) **/
#sec-3 {
    background-color: var(--lighter-blue);
    text-align: center;
}


@media (max-width: 1200px) {

}

@media (max-width: 992px) {
    #sec-1 {
        background-image: url(../img/warehouse-dark.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    #sec-1 img {
        display: none;
    }
    
    .product-cat {
        font-size: 0.875rem;
        padding: 0.75rem 1.75rem;
    }

    .product {
        width: 90%;
    }

    .product-cat-slide-button {
        display: block;
    }

    .product-cat-select {
        overflow-x: scroll;
    }
}

@media (max-width: 768px) {
    .product {
        padding: 1.5rem 2rem;
        gap: 2rem;
        width: 100%;
    }

    .product-img {
        width: 20rem;
    }

    h2#product-name {
        font-size: 1.45rem;
    }
}

@media (max-width: 576px) {
    .product-cat {
        padding: 0.75rem 1.25rem;
    }
}