.dp-wc-listing-page {
    margin: 32px 0;
}

/* Breadcrumb */

.dp-wc-breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
    color: #777;
}

.dp-wc-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.dp-wc-breadcrumb a:hover {
    color: #1f1f1f;
    text-decoration: underline;
}

.dp-wc-breadcrumb-separator {
    display: inline-block;
    margin: 0 8px;
    color: #aaa;
}

/* Main WooCommerce-style layout */

.dp-wc-listing-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 48px;
    align-items: start;
}

.dp-wc-listing-images,
.dp-wc-listing-summary {
    min-width: 0;
}

/* Images */

.dp-wc-main-image,
.dp-wc-gallery {
    border: 1px solid #e5e5e5;
    background: #fff;
    overflow: hidden;
}

.dp-wc-main-image__img {
    display: block;
    width: 100%;
    height: auto;
}

.dp-wc-main-image--placeholder {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    background: #f7f7f7;
}

.dp-wc-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.dp-wc-thumbnail {
    display: block;
    border: 1px solid #e5e5e5;
    background: #fff;
    overflow: hidden;
}

.dp-wc-thumbnail__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Summary */

.dp-wc-title {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
}

.dp-wc-author {
    margin-bottom: 22px;
    color: #666;
}

.dp-wc-description {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.7;
}

/* Buttons / actions */

.dp-wc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.dp-wc-bookmark,
.dp-wc-enquiry {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.dp-wc-enquiry-button,
.dp-wc-login-enquiry,
.dp-wc-register-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.dp-wc-enquiry-button {
    border: 1px solid #1f1f1f;
    background: #1f1f1f;
    color: #fff;
}

.dp-wc-login-enquiry {
    border: 1px solid #1f1f1f;
    background: #1f1f1f;
    color: #fff;
}

.dp-wc-register-enquiry {
    border: 1px solid #d5d5d5;
    background: #fff;
    color: #1f1f1f;
}

.dp-wc-enquiry-unavailable {
    color: #777;
    font-size: 14px;
}

/**
 * Directories Pro bookmark button styling.
 * Selectors are broad because Directories Pro button markup can vary.
 */
.dp-wc-bookmark a,
.dp-wc-bookmark button,
.dp-wc-bookmark .drts-btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

/* Mobile */

@media (max-width: 768px) {
    .dp-wc-listing-detail {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dp-wc-title {
        font-size: 28px;
    }

    .dp-wc-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .dp-wc-actions {
        align-items: stretch;
    }

    .dp-wc-bookmark,
    .dp-wc-enquiry,
    .dp-wc-enquiry-button,
    .dp-wc-login-enquiry,
    .dp-wc-register-enquiry {
        width: 100%;
    }
}