.ds-detail-surface {
    --detail-blue: #215a85;
    --detail-border: #d6dfe3;
}
.ds-detail-title {
    margin: 0 0 14px;
    font-size: clamp(23px, 2.2vw, 34px);
    line-height: 1.16;
    color: #203647;
}
.ds-grades {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.ds-grade {
    flex: 1;
    min-width: 0;
    min-height: 87px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid var(--detail-border);
    border-radius: 16px;
    text-align: center;
    color: #203647;
    background: white;
    text-decoration: none;
}
.ds-grade[href="#diamond-cut-learn"] { flex-grow: 1.35; }
.ds-grade:hover { border-color: var(--detail-blue); }
.ds-grade img { width: 23px; height: 23px; margin-bottom: 4px; }
.ds-grade small { font-size: 12px; line-height: 1.25; color: #566973; }
.ds-grade strong { font-size: 16px; line-height: 1.3; }
[id^="diamond-"][id$="-learn"] { scroll-margin-top: 150px; }
.ds-detail-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-height: 44px;
    color: #203647;
    font-size: 28px;
    font-weight: 600;
}
.ds-detail-price s { order: 1; font-size: 16px; font-weight: normal; color: #62717c; }
.ds-detail-surface #main-choose-button { border-radius: 8px; }
.ds-detail-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 15px; margin: 6px 0; }
.ds-gallery-tools { display: none; }
.ds-detail-surface :is(.ds-detail-actions button, .ds-detail-actions > a, .ds-gallery-tools button, .ds-service, .ds-detail-report) {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--detail-blue);
    font: inherit;
    font-size: 15px;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
}
.ds-detail-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ds-detail-surface [data-detail-save].active .ds-detail-icon { color: #bb2835; fill: currentColor; }
.ds-detail-surface .ds-compare-toggle .t-product-action-compare { display: flex; align-items: center; width: auto; height: auto; border: 0; background: none !important; }
.ds-compare-toggle .ds-detail-icon { width: 25px; }
.ds-detail-actions .ds-detail-compare { align-items: flex-start; }
.ds-detail-surface :is(.ds-detail-actions, .ds-gallery-tools, .ds-grades, .ds-service, .ds-detail-report) :focus-visible,
.ds-detail-surface :is(.ds-service, .ds-detail-report):focus-visible { outline: 2px solid var(--detail-blue); outline-offset: 2px; }
.ds-detail-surface .ds-service { font-size: 16px; gap: 10px; }
.ds-detail-surface .ds-service + p { margin: 0 0 8px 30px; }
.ds-detail-surface .ds-detail-report { display: flex; }
@media (max-width: 767px) {
    .ds-detail-surface .t-detail-topbar { display: flex; justify-content: space-between; width: 100%; }
    .ds-gallery-tools { display: inline-flex; }
    .ds-detail-surface .ds-gallery-tools button { width: 44px; }
    .ds-detail-surface .ds-detail-actions > :is([data-detail-save], .ds-row-share) { display: none; }
    .ds-detail-title { margin-bottom: 8px; font-size: 23px; }
    .ds-grades { gap: 5px; }
    .ds-grade { min-height: 60px; border-radius: 13px; padding: 5px 3px; }
    .ds-grade img { width: 17px; height: 17px; margin-bottom: 2px; }
    .ds-grade small { font-size: 11px; }
    .ds-grade strong { font-size: 14px; }
    .ds-detail-actions { gap: 0 16px; }
    .ds-detail-price { min-height: 36px; }
}

.ds-preview-note { margin: 6px 0; color: #536674; font-size: 13px; }
