.tax-dq_product_cat .dq-breadcrumb {
    padding-top: 24px;
    padding-bottom: 6px;
    color: #8a8a8a;
    font-size: 14px;
}

.tax-dq_product_cat .dq-breadcrumb a {
    color: #70ad1a;
}

.dq-catalog-head {
    background: #fff;
    padding: 10px 0 16px;
}

.dq-catalog-head__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dq-catalog-head h1 {
    margin: 0;
    color: #191919;
    font-size: clamp(25px, 2.2vw, 34px);
    line-height: 1.2;
    font-weight:700;
}

.dq-catalog-head__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    color: #222;
    white-space: nowrap;
}

.dq-catalog-head__tools select {
    min-width: 270px;
    height: 42px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 0 42px 0 14px;
    background: #fff;
    color: #666;
    font: inherit;
}

.dq-catalog-intro {
    padding: 10px 0 30px;
    background: #fff;
}

.dq-catalog-intro .dq-row {
    margin-bottom: 0;
}

.dq-catalog-intro h2 {
    margin-bottom: 12px;
    color: #191919;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.25;
}

.dq-catalog-intro .dq-richtext {
    color: #222;
    font-size: 16px;
}

.dq-catalog-intro .dq-richtext p {
    margin: 0 0 18px;
}

.dq-catalog-intro .dq-richtext ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.dq-catalog-intro .dq-richtext li {
    margin: 8px 0;
}

.dq-product-catalog {
    padding: 22px 0 58px;
    background: #fff;
}

.dq-product-catalog .dq-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dq-catalog-card {
    border: 0;
    border-radius: 0;
    overflow: visible;
    text-align: center;
    box-shadow: none;
}

.dq-catalog-card > a {
    display: block;
}

.dq-catalog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f4f4;
}

.dq-catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.dq-catalog-card__quick {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translate(-50%, 8px);
    padding: 8px 14px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.dq-catalog-card:hover .dq-catalog-card__media img {
    transform: scale(1.035);
}

.dq-catalog-card:hover .dq-catalog-card__quick,
.dq-catalog-card:focus-within .dq-catalog-card__quick {
    opacity: 1;
    transform: translate(-50%, 0);
}

.dq-catalog-card h3 {
    margin: 13px 4px 5px;
    color: #262626;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

.dq-catalog-card .dq-product-contact {
    margin: 0;
    color: #e00000;
    font-size: 15px;
    font-weight:700;
}

/* Fallback product taxonomy archive: hide empty sidebars and use the available width. */
.tax-dq_product_cat .dq-layout {
    align-items: start;
    gap: 26px;
}

/* Never expose editorial expert metadata on product catalogue cards. */
.tax-dq_product_cat .dq-expert-mini,
.post-type-archive-dq_product .dq-expert-mini {
    display: none !important;
}

.tax-dq_product_cat .dq-layout.dq-sidebar-none .dq-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.tax-dq_product_cat .dq-layout .dq-card {
    overflow: hidden;
    border: 1px solid #e2e7ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 34, 56, .055);
}

.tax-dq_product_cat .dq-layout .dq-card > a {
    display: block;
    height: 100%;
}

.tax-dq_product_cat .dq-layout .dq-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.tax-dq_product_cat .dq-layout .dq-card h2 {
    margin: 0;
    padding: 18px 20px 7px;
    color: #172033;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.38;
}

.tax-dq_product_cat .dq-layout .dq-card p {
    margin: 0;
    padding: 0 20px 20px;
    color: #667085;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.62;
}

.tax-dq_product_cat .dq-sidebar {
    position: sticky;
    top: 96px;
    padding: 8px 18px;
    border: 1px solid #e2e7ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 34, 56, .055);
}

.tax-dq_product_cat .dq-sidebar .dq-side-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf0f2;
    list-style: none;
}

.tax-dq_product_cat .dq-sidebar .dq-side-menu li:last-child { border-bottom: 0; }
.tax-dq_product_cat .dq-sidebar .dq-side-menu a {
    display: block;
    padding: 13px 2px;
    color: #273548;
    font-weight: 500;
    line-height: 1.45;
}
.tax-dq_product_cat .dq-sidebar .dq-side-menu a:hover { color: #e79518; }

@media (max-width: 1180px) {
    .tax-dq_product_cat .dq-layout.dq-sidebar-none .dq-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dq-catalog-head__row {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .dq-catalog-head__tools {
        width: 100%;
        justify-content: space-between;
        white-space: normal;
    }

    .dq-product-catalog .dq-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .dq-catalog-card__quick {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .tax-dq_product_cat .dq-layout.dq-sidebar-none .dq-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .tax-dq_product_cat .dq-sidebar { position: static; margin-top: 22px; }
}

@media (max-width: 560px) {
    .tax-dq_product_cat .dq-breadcrumb {
        padding-top: 14px;
    }

    .dq-catalog-head {
        padding-top: 6px;
    }

    .dq-catalog-head__tools {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
    }

    .dq-catalog-head__tools form,
    .dq-catalog-head__tools select {
        width: 100%;
        min-width: 0;
    }

    .dq-catalog-intro {
        padding-bottom: 18px;
    }

    .dq-catalog-intro .dq-richtext {
        font-size: 15px;
    }

    .dq-product-catalog {
        padding-top: 12px;
    }

    .dq-catalog-card h3 {
        margin-top: 9px;
        font-size: 14px;
    }

    .tax-dq_product_cat .dq-layout .dq-card h2 {
        padding: 13px 13px 5px;
        font-size: 15px;
    }

    .tax-dq_product_cat .dq-layout .dq-card p {
        padding: 0 13px 15px;
        font-size: 14px;
    }
}
