/*
 * Front-end base styles for DOMESPHARMA plugin.
 * Currently used to neutralize the automatic featured image rendering
 * on single dp_product pages when a theme outputs it by default.
 */

/* Hide theme-provided featured image blocks on dp_product singles */
.single-dp_product .post-thumbnail,
.single-dp_product .entry-thumbnail,
.single-dp_product .entry-featured-media,
.single-dp_product .post-media,
.single-dp_product .post-image,
.single-dp_product .cmo-article-featured-wrapper,
.single-dp_product .entry-media,
.single-dp_product .article__featured-image {
    display: none !important;
}

/* Hide theme meta/author/share blocks that appear before Elementor content */
.single-dp_product .cmo-article-meta-wrapper,
.single-dp_product .cmo-page-social-share,
.single-dp_product .cmo-article-author {
    display: none !important;
}
/* Prevent double bullets on product content lists */
.single-dp_product .elementor-widget-text-editor ul,
.single-dp_product .entry-content ul {
    list-style: disc;
    padding-left: 1.3em;
}

.single-dp_product .dp-pd__list {
    list-style: disc;
    list-style-position: outside;
    padding-left: 1.3em;
}

.single-dp_product .dp-pd__list > li {
    display: list-item;
    list-style: inherit;
}

.single-dp_product .elementor-widget-text-editor ul.dp-pd__list--numbered,
.single-dp_product .entry-content ul.dp-pd__list--numbered,
.single-dp_product .dp-pd__list--numbered {
    list-style: none;
    padding-left: 0;
}

.single-dp_product .dp-pd__list--numbered > li {
    display: flex;
    list-style: none;
}

.single-dp_product .elementor-widget-text-editor ul li::before,
.single-dp_product .entry-content ul li::before,
.single-dp_product .dp-pd__list > li::before,
.single-dp_product .dp-pd__list--numbered > li::before,
.single-dp_product .dp-ps__breadcrumbs li::before {
    content: none !important;
}

.single-dp_product .dp-inline-sup {
    font-size: 0.72em;
    line-height: 0;
    vertical-align: super;
    font-family: inherit;
    font-weight: 400;
}

/*
 * Keep vertical page scrolling fluid on touch devices when gestures start
 * over interactive product widgets or product imagery.
 */
.single-dp_product .dp-ps,
.single-dp_product .dp-pd,
.single-dp_product .dp-related-products,
.single-dp_product .dp-ps__media,
.single-dp_product .dp-pd__tabs,
.single-dp_product .dp-pd__tab,
.single-dp_product .dp-pd__usage-media,
.single-dp_product .dp-related-products__card-link,
.single-dp_product .dp-related-products__image-wrapper,
.single-dp_product .dp-ps a,
.single-dp_product .dp-ps button,
.single-dp_product .dp-ps img,
.single-dp_product .dp-pd a,
.single-dp_product .dp-pd button,
.single-dp_product .dp-pd img,
.single-dp_product .dp-related-products a,
.single-dp_product .dp-related-products button,
.single-dp_product .dp-related-products img {
    touch-action: pan-y pinch-zoom;
}

.single-dp_product .dp-ps__image img,
.single-dp_product .dp-pd__image img,
.single-dp_product .dp-pd__usage-media img,
.single-dp_product .dp-related-products__image-wrapper img {
    -webkit-user-drag: none;
    user-select: none;
}

/*
 * Keep vertical scrolling fluid on range pages and product archive pages
 * when gestures start on cards, filters, buttons, links, or product images.
 */
.tax-dp_range .dp-pg,
.tax-dp_range .dp-pg a,
.tax-dp_range .dp-pg button,
.tax-dp_range .dp-pg img,
.tax-dp_range .dp-pg__custom-select,
.tax-dp_range .dp-pg__custom-select-trigger,
.tax-dp_range .dp-pg__custom-select-dropdown,
.tax-dp_range .dp-pg__card-link,
.post-type-archive-dp_product .dp-pg,
.post-type-archive-dp_product .dp-pg a,
.post-type-archive-dp_product .dp-pg button,
.post-type-archive-dp_product .dp-pg img,
.post-type-archive-dp_product .dp-pg__custom-select,
.post-type-archive-dp_product .dp-pg__custom-select-trigger,
.post-type-archive-dp_product .dp-pg__custom-select-dropdown,
.post-type-archive-dp_product .dp-pg__card-link {
    touch-action: pan-y pinch-zoom;
}

.tax-dp_range .dp-pg__thumb img,
.post-type-archive-dp_product .dp-pg__thumb img {
    -webkit-user-drag: none;
    user-select: none;
}

