/* --- INJECTED PINTEREST IMAGE SECTION --- */
.eps-pin-section {
    max-width: 450px;
    margin: 45px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    clear: both;
}

.eps-cta-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    color: #222 !important;
    line-height: 1.3 !important;
}

.eps-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.eps-img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.eps-img-wrapper:hover img {
    transform: scale(1.02);
}

/* --- THE RED PINTEREST BUTTON (Used in both blocks) --- */
.eps-save-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e60023;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px 24px;
    margin-top: 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.eps-save-btn:hover {
    background: #ad081b;
    transform: translateY(-2px);
}

/* --- INJECTED BUTTON-ONLY SECTION (No Image) --- */
.eps-button-only-wrapper {
    max-width: 350px;
    margin: 30px auto; /* Centers the standalone button nicely */
    clear: both;
}

.eps-btn-fullwidth {
    margin-top: 0; /* Removes the top margin needed for the image wrapper */
    box-shadow: 0 4px 12px rgba(230, 0, 35, 0.2); /* Adds a subtle red glow to standalone buttons */
}

/* --- IMAGE HOVER BUTTONS (Vanilla JS) --- */
.eps-hover-wrapper {
    position: relative;
    display: block; 
    max-width: 100%;
}

.eps-hover-btn {
    position: absolute;
    top: 20px;
    left: 20px; 
    background: #e60023;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
}

.eps-hover-wrapper:hover .eps-hover-btn {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .eps-hover-btn {
        opacity: 0.95;
        visibility: visible;
        padding: 8px 14px;
        font-size: 13px;
        top: 10px;
        left: 10px;
    }
}