.product-section {
    margin-block: 5rem;
}
.catalog-tabs {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}
.tabs-nav {
    width: 20%;
    height: 100vh;
    position: sticky;
    top: 6rem;
}
.title-nav {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.tabs-nav__button {
    padding-block: 1rem;
    padding-left: 2rem;
    border-radius: 1rem;
    width: 100%;
    text-align: start;
    font-size: 1rem;
    font-weight: 500;
}
.tabs-nav__button.is-active {
    font-weight: 600;
    color: var(--color-secondary) !important;
    background-color: #f3f3f3 !important;
}
.tabs-content  {
    width: 80%;
}
.tabs-panel {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}
.tabs-panel.is-active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.tabs-panel__header {
    width: 100%;
    gap: 2rem;
    margin-bottom: 2rem;
}
.tabs-panel__text {
    width: 35%;
    text-align: start;
}
.tabs-panel__title {
    width: 65%;
    text-align: end;
    font-size: 4.8rem;
    font-weight: 800;
    letter-spacing: -4px;
}
.container-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.product-card {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 14px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 1.4rem;
}
.product-card > a {
    padding: 1rem;
}
.product-card__figure {
    border-radius: 1rem;
    overflow: hidden;
}
.product-card__image {
    width: 100%;
}
.product-card__content {
    padding-block: .8rem .2rem;
}
.product-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.product-card__description {
    font-size: .8rem;
    font-weight: 400;
}
.product-card__link {
    padding: 1rem;
    border-radius: 100%;
    transition: scale 300ms ease-in-out;
}
.product-card__icon {
    width: .8rem;
}
@media (max-width: 1200px) {
    .tabs-panel__title { 
        font-size: 4rem;
        width: 60%;
    }
    .tabs-panel__text {
        width: 40%;
    }  
    .product-card__title {
        font-size: 1.2rem;
        letter-spacing: -1px;
    } 
}
@media (max-width: 900px)  {
    .container-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-card__title {
        font-size: 1.5rem;
    }
    .product-card__description {
        font-size: 1rem;
    }
    .product-card__icon {
        width: 1rem;
    }
    .tabs-panel__title {
        font-size: 3.6rem;
    }
}
@media (max-width: 800px) {
    .tabs-panel__title {
        font-size: 3.1rem;
        letter-spacing: -2px;
    }
}
@media (max-width: 750px) {
    .tabs-nav {
        width: 25%;
    }
    .tabs-content {
        width: 75%;
    }
    .tabs-nav__button {
        padding-left: 1.4rem;
    }
    .tabs-panel__text {
        display: none;
    }
    .tabs-panel__title {
        font-size: 3.8rem;
        font-weight: 800;
        width: 100%;
        text-align: center;
        letter-spacing: -2px;
    }
    .product-card__title {
        font-size: 1.2rem;
    }
    .product-card__description {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
@media (max-width: 700px) {
    .product-card__title {
        white-space: nowrap; 
        overflow: hidden;
        text-overflow: ellipsis; 
    }
}
@media (max-width: 600px) {
    .product-section {
        margin-block: 4rem 5rem;
    }
    .catalog-tabs {
        gap: 0rem !important;
    }
    .tabs-nav, .tabs-content {
        width: 100%;
    }
    .tabs-nav {
        height: auto;
        position: relative;
        top: 0;
    }    
    .tabs-nav__list {
        display: flex;
        gap: .4rem;
        align-items: center;
        justify-content: space-around;
        border-bottom: solid 1px #e7e7e7;
        padding-bottom: 2rem;
        margin-bottom: 1.8rem;
        margin-top: 2rem;
    } 
    .tabs-nav__button {
        border-radius: 10rem;
        border: solid 2px white;
        box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
        transition: all 300ms linear;
        text-align: center;
        padding: 1rem 1.4rem;
    }
    .tabs-nav__button.is-active {
        background-color: #212529 !important;
        color: white !important;
        font-weight: 400;
    }
    .title-nav {
        font-size: 2.5rem;
        font-weight: 800;
        letter-spacing: 0px;
        text-align: center;
    }
    .catalog-tabs {
        flex-direction: column;
        gap: 2rem;
    }
    .tabs-panel__title {
        font-size: 3.8rem;
    }
    .container-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-card > a {
        padding: .6rem;
    }
    .product-card__title {
        font-size: 1.2rem;
        font-weight: 500;
        letter-spacing: 0px;
    }
    .product-card__content {
        padding: .6rem .2rem .2rem;
    }
    .product-card__icon {
        width: .9rem;
    }
}
@media (max-width: 550px) { 
    .tabs-nav__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 500px) {
    .tabs-panel__title {
        font-size: 3.2rem;
    }
    .product-card > a {
        padding: .4rem;
    }
    .product-card {
        overflow: hidden;
    }
    .product-card__figure {
        border-radius: 1rem;
    }
    .product-card__description {
        display: none;
    }
    .product-card__title {
        margin-bottom: 0;
    }
    .product-card__content {
        padding-block: .6rem .2rem;
    }
    .container-grid {
        gap: .8rem .6rem;
    }
    .product-card__title {
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0px;
    }
    .product-card__link {
        padding: .6rem;
    }
}
@media (max-width: 350px) {
    .product-card__link {
        display: none;
    }
    .product-card__content {
        padding: .6rem 0 .4rem 0;
        justify-content: center;
    }
    .tabs-panel__title {
        font-size: 2.6rem;
    }
}