/* Product facts use the full card width beneath a compact label. */

.summary.product-summary {
    min-width: 0;
    container: product-summary / inline-size;
}

.summary.product-summary>.badge {
    display: block;
    color: #6b7b91;
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.summary.product-summary .summary-heading {
    align-items: center;
    gap: 16px;
    margin: 0px 0 3px;
}

.summary.product-summary h1 {
    margin: 0;
    color: #172033;
    font-weight: 700;
    line-height: 1.35;
}

.stage>.wishlist-toggle--detail {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 12;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: none;
}

.summary.product-summary>.price {
    margin: 0 0 20px;
    padding: 0;
    color: #172033;
    font-size: 20px;
    font-weight: 700 !important;
    line-height: 1.2;
}

.summary.product-summary .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    margin: 0 0 18px;
    border: 0;
}

.summary.product-summary .spec {
    min-width: 0;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    align-content: start;
    gap: 10px 7px;
    padding: 14px;
    border: 1px solid #e1e7f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.summary.product-summary .spec-icon {
    grid-row: 1;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #315bd3;
    font-size: 18px;
}

.summary.product-summary .spec small {
    align-self: center;
    margin: 0;
    color: #718096;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.summary.product-summary .spec :is(strong, .spec-value) {
    grid-column: 1 / -1;
    min-width: 0;
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.75;
    overflow-wrap: break-word;
    word-break: normal;
}

.summary.product-summary .spec-sizes {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 5px;
}

.summary.product-summary .spec-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 26px;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 6px;
    background: #f0f4fa;
    color: #40516c;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.summary.product-summary>.option-panel {
    margin-top: 0;
    padding: 16px 0;
    border-top: 1px solid #e1e7f0;
}

.summary.product-summary .option-title {
    gap: 12px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 12px;
}

.summary.product-summary .option-title strong {
    color: #334155;
    font-weight: 600;
}

@container product-summary (max-width: 359px) {
    .summary.product-summary .specs {
        grid-template-columns: minmax(0, 1fr);
    }
    .summary.product-summary .spec {
        padding: 12px 14px;
        gap: 8px 7px;
    }
}