/* =====================================================
   Elementor Product Widget – Product Showcase
   ===================================================== */

/* ── Container ── */
.epw-product-showcase {
    max-width: 100%;
    font-family: inherit;
}

/* ── Gallery ── */
.epw-gallery {
    margin-bottom: 24px;
}

.epw-gallery__main {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f8f8f8;
    line-height: 0;          /* kill inline-block gap */
}

.epw-gallery__main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Thumbnails row */
.epw-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.epw-gallery__thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.25s ease, opacity 0.25s ease;
    opacity: 0.6;
}

.epw-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.epw-gallery__thumb:hover,
.epw-gallery__thumb--active {
    border-color: var(--e-global-color-primary, #6366f1);
    opacity: 1;
}

/* ── Title ── */
.epw-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

/* ── Price ── */
.epw-price {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 600;
}

.epw-price del {
    opacity: 0.5;
    margin-right: 6px;
}

.epw-price ins {
    text-decoration: none;
    color: var(--e-global-color-primary, #6366f1);
}

/* ── Description ── */
.epw-description {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.epw-description p:last-child {
    margin-bottom: 0;
}

/* ── Placeholder (editor only) ── */
.epw-placeholder {
    font-family: inherit;
}
