.product-feature-showcase {
    background-color: var(--color-white);
    color: var(--color-ink);
    padding: clamp(4rem, 7vw, 7rem) 1.5rem;
}

.product-feature-showcase__inner {
    width: min(100%, var(--container-width));
    margin: 0 auto;
}

.product-feature-showcase__heading {
    max-width: 62rem;
    margin: 0 auto;
    color: var(--color-ink);
    font-size: var(--section-title-font-size);
    font-weight: var(--section-title-font-weight);
    font-style: normal;
    line-height: var(--section-title-line-height);
    letter-spacing: 0;
    text-align: center;
}

.product-feature-showcase__heading span {
    display: inline;
}

.product-feature-showcase__heading-accent {
    color: var(--color-highlight);
}

.product-feature-showcase__intro {
    max-width: 48rem;
    margin: 1.25rem auto clamp(2.5rem, 5vw, 3.75rem);
    text-align: center;
}

.product-feature-showcase__intro-copy {
    margin: 0;
    color: rgba(6, 8, 29, 0.62);
    font-size: clamp(1.0625rem, 1.45vw, 1.375rem);
    font-weight: 600;
    line-height: 1.55;
}

.product-feature-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.product-feature-showcase__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10.75rem;
    min-height: 3.5rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        color var(--transition-base),
        background-color var(--transition-base),
        border-color var(--transition-base);
}

.product-feature-showcase__button:hover,
.product-feature-showcase__button:focus-visible {
    transform: translateY(-0.125rem);
    box-shadow: var(--button-hover-shadow);
}

.product-feature-showcase__button--light {
    color: var(--color-ink);
    background-color: var(--color-white);
    border-color: rgba(6, 8, 29, 0.18);
}

.product-feature-showcase__button--light:hover,
.product-feature-showcase__button--light:focus-visible {
    color: var(--color-white);
    background-color: var(--color-ink);
}

.product-feature-showcase__grid {
    display: grid;
    grid-template-columns: minmax(18rem, 31.25rem) minmax(22rem, 1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
    max-width: 76rem;
    margin: 0 auto;
}

.product-feature-showcase__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.03;
    max-height: 38rem;
    overflow: hidden;
    border-radius: 1.5rem;
    background-color: #edf1e7;
}

.product-feature-showcase__media-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(1.25rem) scale(0.985);
    transition:
        opacity 360ms ease,
        transform 420ms ease;
}

.product-feature-showcase__media-panel.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 1;
}

.product-feature-showcase__visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-feature-showcase__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-feature-showcase__feature {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(6, 8, 29, 0.14);
    border-radius: 1rem;
    background-color: var(--color-white);
    transform: translateY(0);
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

.product-feature-showcase__feature.is-active {
    border-color: rgba(110, 119, 64, 0.28);
    box-shadow: 0 1.5rem 3rem rgba(6, 8, 29, 0.06);
    transform: translateY(-0.125rem);
}

.product-feature-showcase__feature::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    left: 0;
    bottom: 0.75rem;
    width: 3px;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    background-color: var(--color-primary);
    opacity: 0;
    transform: scaleY(0.6);
    transition:
        opacity 260ms ease,
        transform 260ms ease;
}

.product-feature-showcase__feature.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}

.product-feature-showcase__toggle {
    display: flex;
    width: 100%;
    min-height: 5.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 0;
    color: var(--color-ink);
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-base);
}

.product-feature-showcase__feature.is-active .product-feature-showcase__toggle {
    color: var(--color-primary);
}

.product-feature-showcase__feature-title {
    font-size: clamp(1.125rem, 1.4vw, 1.375rem);
    font-weight: 800;
    line-height: 1.25;
}

.product-feature-showcase__icon {
    position: relative;
    width: 1.125rem;
    height: 1.125rem;
    flex: 0 0 1.125rem;
}

.product-feature-showcase__icon::before,
.product-feature-showcase__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.125rem;
    height: 0.125rem;
    border-radius: var(--radius-pill);
    background-color: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 220ms ease;
}

.product-feature-showcase__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.product-feature-showcase__feature.is-active .product-feature-showcase__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.product-feature-showcase__copy-wrap {
    max-height: 0;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
        max-height 320ms ease,
        opacity 240ms ease,
        transform 320ms ease;
}

.product-feature-showcase__feature.is-active .product-feature-showcase__copy-wrap {
    max-height: 12rem;
    opacity: 1;
    transform: translateY(0);
}

.product-feature-showcase__copy {
    min-height: 0;
    overflow: hidden;
}

.product-feature-showcase__copy::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 1.75rem;
    background-color: rgba(6, 8, 29, 0.1);
}

.product-feature-showcase__copy p {
    margin: 0;
    padding: 1.5rem 1.75rem 1.75rem;
    color: rgba(6, 8, 29, 0.58);
    font-size: 1.0625rem;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .product-feature-showcase__grid {
        grid-template-columns: 1fr;
        max-width: 44rem;
    }

    .product-feature-showcase__media {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
}

@media (max-width: 640px) {
    .product-feature-showcase {
        padding: 3.5rem 1rem;
    }

    .product-feature-showcase__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-feature-showcase__button {
        width: 100%;
    }

    .product-feature-showcase__media {
        border-radius: 1rem;
        aspect-ratio: 1 / 1;
    }

    .product-feature-showcase__toggle {
        min-height: 4.75rem;
        padding: 1.25rem;
    }

    .product-feature-showcase__copy::before {
        margin: 0 1.25rem;
    }

    .product-feature-showcase__copy p {
        padding: 1.25rem;
        font-size: 1rem;
    }
}
