.product-info-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 40rem;
    margin: 1.75rem 0 1.75rem;
    border-bottom: 1px solid #d2dae5;
}

.product-info-switcher__tab {
    position: relative;
    min-height: 3.2rem;
    padding: 0.75rem 1rem 1rem;
    color: #9daab1;
    font-weight: 500;
    transition: color 0.2s ease;
}

.product-info-switcher__tab:hover {
    color: #262673;
}

.product-info-switcher__tab.is-active {
    color: #262673;
}

.product-info-switcher__tab::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #262673;
    content: '';
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-info-switcher__tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.product-info-switcher__tab:focus-visible {
    outline: 2px solid #697ead;
    outline-offset: 2px;
}

.product-info-panel[hidden] {
    display: none;
}

.product-info-panel > .content {
    margin-top: 0;
}

.product-info-panel > .content:first-child {
    margin-bottom: 1.75rem;
}

.product-info-additional {
    margin-top: 0;
}

.product-info-characteristics {
    margin-top: 1.75rem;
}

.product-info-empty {
    margin: 0;
    color: #9daab1;
}

.product-info-panel {
    animation: product-info-panel-in 0.22s ease;
}

@keyframes product-info-panel-in {
    from {
        opacity: 0;
        transform: translateY(0.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 639px) {
    .product-info-switcher {
        margin-top: 1.25rem;
    }

    .product-info-switcher__tab {
        padding-inline: 0.5rem;
        font-size: 0.875rem;
    }
}
