.dq-product-breadcrumb {
    background: var(--dq-primary-soft);
    border-bottom: 1px solid var(--dq-border);
}

.dq-product-breadcrumb .dq-breadcrumb {
    min-height: 48px;
    flex-wrap: wrap;
    gap: 4px 10px;
    padding-block: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.dq-product-detail {
    padding-block: clamp(24px, 4vw, 48px) 56px;
}

.dq-product-detail__grid {
    display: grid;
    gap: 26px;
    align-items: start;
}

.dq-product-detail__grid > * {
    min-width: 0;
}

.dq-product-detail .dq-detail-gallery figure {
    margin: 0;
    border: 1px solid var(--dq-border);
    border-radius: 16px;
    background: var(--dq-primary-soft);
    box-shadow: 0 8px 26px rgb(31 23 29 / .07);
}

.dq-product-detail .dq-detail-gallery [hidden] {
    display: none;
}

.dq-product-detail .dq-detail-gallery figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto 3 / 4;
    contain-intrinsic-size: none;
}

.dq-product-detail .dq-detail-gallery__thumbs {
    margin-top: 10px;
}

.dq-product-detail .dq-detail-gallery__thumbs img {
    contain-intrinsic-size: none;
    object-fit: cover;
    object-position: center 25%;
}

.dq-product-detail__placeholder {
    display: grid;
    min-height: 220px;
    place-items: center;
    border-radius: 12px;
    background: var(--dq-primary-soft);
}

.dq-product-detail__summary h1 {
    margin: 0;
    color: var(--dq-text);
    font-size: clamp(27px, 2.7vw, 40px);
    font-weight: 750;
    line-height: 1.17;
    overflow-wrap: anywhere;
}

.dq-product-detail__intro {
    margin-block: 16px;
    color: #57505b;
    line-height: 1.7;
}

.dq-product-detail__services {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.dq-product-detail__services li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px dashed var(--dq-primary);
    border-radius: 10px;
    background: #fff;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.5;
}

.dq-product-detail__services svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
    color: var(--dq-primary-deep);
}

.dq-product-detail__actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.dq-product-detail__actions .dq-product-detail__action {
    justify-content: flex-start;
    gap: 12px;
    min-height: 56px;
    padding: 12px 16px;
    border-width: 1px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.dq-product-detail__action span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dq-product-detail__action strong {
    font-weight: inherit;
}

.dq-product-detail__related {
    padding: 18px;
    border: 1px solid var(--dq-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgb(31 23 29 / .05);
}

.dq-product-detail__related h2 {
    margin: 0 0 10px;
    color: var(--dq-primary-deep);
    font-size: 20px;
    line-height: 1.3;
}

.dq-product-detail__related ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dq-product-detail__related li + li {
    border-top: 1px solid var(--dq-border);
}

.dq-product-detail__related a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-block: 10px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.dq-product-detail__related img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center 25%;
}

.dq-product-detail__content {
    padding: clamp(16px, 2.4vw, 34px);
    border: 1px solid var(--dq-border);
    border-radius: 14px;
    background: #fff;
    overflow-wrap: anywhere;
}

.dq-product-detail__content > :first-child { margin-top: 0; }
.dq-product-detail__content > :last-child { margin-bottom: 0; }

.dq-product-detail__quote {
    position: relative;
    margin-top: 18px;
    scroll-margin-top: 220px;
}

.dq-consultation-dialog .dq-product-detail__quote {
    margin-top: 0;
    padding: clamp(18px, 4vw, 32px);
    background: #fff;
}

.dq-product-detail__quote h2 { margin: 0; padding-right: 42px; }
.dq-product-detail__quote > p { margin: 8px 0 16px; }
.dq-product-detail__quote .dq-consultation__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 23px;
}
.dq-product-detail__quote .dqc-contact-form { gap: 10px; }
.dq-product-detail__quote .dqc-contact-form label { display: block; }
.dq-product-detail__quote .dqc-contact-form label input,
.dq-product-detail__quote .dqc-contact-form label textarea {
    display: block;
    margin-top: 4px;
    font-weight: 400;
}
.dq-product-detail__quote input[readonly] { background: var(--dq-primary-soft); }
.dq-product-detail__quote-status {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: #edf8ef;
    color: #1e5530;
}

@media (min-width: 700px) {
    .dq-product-detail__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dq-product-detail__content,
    .dq-product-detail__related {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .dq-product-detail__grid {
        grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.16fr) minmax(220px, .7fr);
    }

    .dq-product-detail__related {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .dq-product-detail__content { grid-column: 1 / 3; }
}
