/* Product information shared by the full page and the editor's detail dialog. */

.page {
    --product-details-header-height: 80px;
}

.modal-product-detail .page {
    --product-details-header-height: 0px;
}

.page>.details-nav {
    top: var(--product-details-header-height);
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    gap: 4px;
    margin: 20px 0 18px;
    padding: 6px;
    border: 0;
    border-radius: 14px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 4px 16px rgb(15 23 42 / 3%);
    scrollbar-width: thin;
}

.page>.details-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 9px;
    color: #596579;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    transition: background .15s ease, color .15s ease;
}

.page>.details-nav a i {
    margin-right: 8px;
    color: inherit;
    font-size: 16px;
}

.page>.details-nav a.active {
    background: #edf3ff;
    color: #0051bb;
    box-shadow: none;
}

.page>.details-nav a.active i {
    color: inherit;
}

.page>.details-nav a:focus-visible {
    outline: 2px solid #0051bb;
    outline-offset: -2px;
}

.page>.details {
    container: product-details / inline-size;
    min-width: 0;
    gap: 18px;
    margin: 0;
    padding-bottom: 8px;
}

.page>.details .detail-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 22px rgb(15 23 42 / 3%);
    scroll-margin-top: calc(var(--product-details-header-height) + 70px);
}

.page>.details .detail-card:hover {
    transform: none;
}

.page>.details .detail-card::before,
#about.detail-card::after {
    display: none;
}

.page>.details .detail-head {
    gap: 12px;
    margin: 0 0 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid #edf0f5;
}

.page>.details .detail-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #dfe8f7;
    border-radius: 12px;
    background: #f0f5ff;
    color: #0051bb;
    font-size: 21px;
    box-shadow: none;
}

.page>.details .detail-card h2 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 500;
}

.page>.details .detail-heading-copy {
    min-width: 0;
}

.page>.details .detail-heading-copy .detail-description {
    margin: 0px 0 0;
}

#about .about-content {
    margin: 0;
    color: #444a52;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    overflow-wrap: break-word;
}

#about .about-intro {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #444a52;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

#about .about-intro:last-child {
    margin-bottom: 0;
}

#about .about-intro :is(p, ul, ol) {
    margin: 0 0 12px;
}

#about .about-intro> :last-child {
    margin-bottom: 0;
    line-height: 1.3;
}

#about .about-intro :is(img, video) {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

#about .about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#about .about-paragraph {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    background: #f8faff;
    box-shadow: none;
    font-size: 13px;
    line-height: 1.75;
    white-space: normal;
}

#about .about-paragraph:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

#about .about-check {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border: 1px solid #dbe6fb;
    border-radius: 50%;
    background: #fff;
    color: #0051bb;
    font-size: 15px;
}

#about .about-paragraph-copy {
    display: grid;
    min-width: 0;
}

#about .about-paragraph-copy>strong {
    margin: 0;
    color: #26354c;
    font-size: 13px;
    font-weight: 500;
}

#about .about-paragraph-copy>span {
    color: #596579;
    font-weight: 300;
}

.page>.details .care-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.page>.details .care-card {
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    padding: 14px;
    border: 1px solid #e7ecf3;
    border-radius: 12px;
    background: #fcfdff;
    color: #444a52;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
}

.page>.details .care-card i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 0;
    border-radius: 10px;
    background: #eef4ff;
    color: #315cba;
    font-size: 23px;
}

.page>.details .care-card span {
    min-width: 0;
    padding: 0;
    overflow-wrap: break-word;
}

@container product-details (max-width: 900px) {
    .page>.details .care-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container product-details (max-width: 600px) {
    .page>.details .detail-card {
        padding: 18px;
        border-radius: 15px;
    }
    .page>.details .detail-head {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 15px;
    }
    .page>.details .detail-card h2 {
        font-size: 18px;
    }
    .page>.details .detail-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 10px;
        font-size: 19px;
    }
    #about .about-highlights,
    .page>.details .care-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    #about .about-paragraph {
        padding: 13px;
        gap: 10px;
    }
    .page>.details .care-card {
        min-height: 66px;
        padding: 12px;
    }
}

@media (max-width: 600px) {
    .page>.details-nav {
        margin: 14px 0;
    }
    .page>.details-nav a {
        padding: 9px 12px;
    }
}

@media (max-width: 560px) {
    .page {
        --product-details-header-height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page>.details-nav a {
        transition: none;
    }
}