/*
 * OSHAPTY Demo Store Builder — v1.7.0
 * Fixes gray media background surfaces around transparent PNG product images
 * in WooCommerce / WoodMart product cards and single-product galleries.
 */

:root {
    --oshapty-demo-media-bg: #ffffff;
}

/* Product card media surfaces */
.woocommerce ul.products li.product .product-wrapper,
.woocommerce ul.products li.product .product-element-top,
.woocommerce ul.products li.product .product-image-wrap,
.woocommerce ul.products li.product .product-image-link,
.woocommerce ul.products li.product .wrap-loading,
.woocommerce ul.products li.product .wd-entities-title + * ,
.wd-product .product-wrapper,
.wd-product .product-element-top,
.wd-product .product-image-wrap,
.wd-product .product-image-link,
.wd-product .wrap-loading,
.product-grid-item .product-wrapper,
.product-grid-item .product-element-top,
.product-grid-item .product-image-wrap,
.product-grid-item .product-image-link,
.product-grid-item .wrap-loading,
.content-product-imagin,
.content-product-imagin a,
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image > a,
.single-product .product-images-inner,
.single-product .wd-owl,
.single-product .wd-carousel-item {
    background: var(--oshapty-demo-media-bg) !important;
    background-color: var(--oshapty-demo-media-bg) !important;
    box-shadow: none !important;
}

/* Remove theme-generated image overlays / placeholder layers */
.woocommerce ul.products li.product .product-wrapper::before,
.woocommerce ul.products li.product .product-wrapper::after,
.woocommerce ul.products li.product .product-element-top::before,
.woocommerce ul.products li.product .product-element-top::after,
.woocommerce ul.products li.product .product-image-wrap::before,
.woocommerce ul.products li.product .product-image-wrap::after,
.woocommerce ul.products li.product .product-image-link::before,
.woocommerce ul.products li.product .product-image-link::after,
.wd-product .product-wrapper::before,
.wd-product .product-wrapper::after,
.wd-product .product-element-top::before,
.wd-product .product-element-top::after,
.wd-product .product-image-wrap::before,
.wd-product .product-image-wrap::after,
.wd-product .product-image-link::before,
.wd-product .product-image-link::after,
.product-grid-item .product-wrapper::before,
.product-grid-item .product-wrapper::after,
.product-grid-item .product-element-top::before,
.product-grid-item .product-element-top::after,
.product-grid-item .product-image-wrap::before,
.product-grid-item .product-image-wrap::after,
.product-grid-item .product-image-link::before,
.product-grid-item .product-image-link::after,
.content-product-imagin::before,
.content-product-imagin::after,
.single-product .woocommerce-product-gallery::before,
.single-product .woocommerce-product-gallery::after,
.single-product .woocommerce-product-gallery__wrapper::before,
.single-product .woocommerce-product-gallery__wrapper::after,
.single-product .woocommerce-product-gallery__image::before,
.single-product .woocommerce-product-gallery__image::after {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Ensure the PNG itself stays clean */
.woocommerce ul.products li.product .product-element-top img,
.woocommerce ul.products li.product .product-image-link img,
.woocommerce ul.products li.product .hover-img img,
.wd-product .product-element-top img,
.wd-product .product-image-link img,
.wd-product .hover-img img,
.product-grid-item .product-element-top img,
.product-grid-item .product-image-link img,
.product-grid-item .hover-img img,
.single-product .woocommerce-product-gallery img,
.single-product .product-images-inner img {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

/* If WoodMart applies object wrapper background through picture/source containers */
.woocommerce ul.products li.product picture,
.woocommerce ul.products li.product source,
.wd-product picture,
.product-grid-item picture,
.single-product picture {
    background: transparent !important;
    background-color: transparent !important;
}

/* =========================================================
   OSHAPTY v1.7 — Investor Showcase product presentation
   ========================================================= */
.oshapty-showcase-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.oshapty-showcase-meta > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 999px;
    background: #fff;
    color: #171717;
    line-height: 1;
}

.oshapty-showcase-meta .oshapty-showcase-brand {
    background: #111;
    border-color: #111;
    color: #fff;
    font-weight: 800;
}

.oshapty-showcase-meta .oshapty-showcase-code {
    font-weight: 800;
}

.oshapty-showcase-meta .oshapty-showcase-edition {
    color: #555;
}

.oshapty-product-copy {
    max-width: 820px;
    color: #202020;
    line-height: 1.9;
}

.oshapty-product-intro {
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(17, 17, 17, .09);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.oshapty-product-intro p,
.oshapty-product-note {
    margin: 8px 0 0;
}

.oshapty-product-kicker {
    display: inline-block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #666;
}

.oshapty-product-highlights {
    margin: 0 0 18px;
}

.oshapty-product-highlights h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.oshapty-product-highlights ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oshapty-product-highlights li {
    position: relative;
    margin: 0;
    padding: 11px 14px 11px 36px;
    border-radius: 12px;
    background: #f7f7f7;
}

.oshapty-product-highlights li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 11px;
    font-weight: 900;
}

.oshapty-product-note {
    padding-top: 14px;
    border-top: 1px solid rgba(17, 17, 17, .09);
    color: #666;
    font-size: 13px;
}

/* Make variable-product choices feel deliberate in WoodMart/WooCommerce. */
.single-product form.variations_form table.variations {
    margin-top: 12px;
}

.single-product form.variations_form table.variations th.label {
    min-width: 92px;
    vertical-align: middle;
}

.single-product form.variations_form table.variations th.label label {
    font-weight: 800;
    color: #171717;
}

.single-product form.variations_form table.variations select {
    min-height: 44px;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .oshapty-product-highlights ul {
        grid-template-columns: 1fr;
    }

    .oshapty-showcase-meta {
        gap: 6px;
    }

    .oshapty-showcase-meta > span {
        min-height: 26px;
        padding: 6px 9px;
        font-size: 10px;
    }
}
