﻿
.media-wrapper {
    width: 420px;
    height: 490px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 420 / 490;
}

.mpg {
    width: 580px !important;
    height: 490px !important;
    aspect-ratio: 580 / 490 !important;
}

.zpg {
    width: 100% !important;
    max-width: 580px !important;
    aspect-ratio: 580 / 490 !important;
    height: auto !important;
}

.zoom-wrapper {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: zoom-in;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 420 / 490;
    height: auto;
}

@media (max-width: 575.98px) {
    .zoom-wrapper.zoomed img {
        opacity: 1 !important;
    }

    .zoom-wrapper {
        background-image: none !important;
        cursor: default;
    }
}

@media (max-width: 575.98px) {
    .media-wrapper {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        padding: 8px;
        box-sizing: border-box;
    }

    .zoom-wrapper {
        width: 100%;
        height: 490px;
    }

        .zoom-wrapper img {
            height: 490px;
            object-fit: contain;
        }

    .mpg {
        width: 90%;
        height: 490px !important;
    }

    .zpg {
        width: 100% !important;
        height: 490px;
    }
}

.zoom-wrapper img {
    width: 100%;
    height: 490px;
    display: block;
    transition: opacity 0.3s ease;
}

.zoom-wrapper.zoomed img {
    opacity: 0;
}


.RoundButton {
    padding: 0 55px;
    line-height: 48px;
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    background: #4fb68d;
    color: #fff;
    margin-left: 10px;
    cursor: pointer;
    display: block;
}

.benefit-section-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.benefit-card-small {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefit-img-small {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.benefit-title-small {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #4fb68d;
}

.benefit-desc-small {
    font-size: 13px;
    color: #555;
    margin: 0;
}


@media (max-width: 576px) {
    .benefit-card-small {
        gap: 8px;
        padding: 8px;
    }

    .benefit-img-small {
        width: 80px;
        height: 80px;
    }

    .benefit-title-small {
        font-size: 13px;
    }

    .benefit-desc-small {
        font-size: 12px;
    }
}

.btn-share {
    background: #8b0251;
    padding: 10px 15px;
    border-radius: 30px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .btn-share:hover {
        background: #4fb68d;
        transform: translateY(-2px);
    }

    .btn-share svg {
        fill: #fff;
        transition: fill 0.3s ease;
    }

.share-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px;
    z-index: 10;
}

.share-icon {
    margin: 5px;
    transition: transform 0.2s ease, color 0.3s ease;
}

    .share-icon:hover {
        transform: scale(1.1);
        color: #333; /* Consistent hover color */
    }

    .share-icon.facebook {
        color: #1877F2; /* Facebook Blue */
    }

    .share-icon.twitter {
        color: #1DA1F2; /* Twitter Blue */
    }

    .share-icon.linkedin {
        color: #0077B5; /* LinkedIn Blue */
    }

    .share-icon.email {
        color: #D44638; /* Email Red */
    }

    .share-icon.telegram {
        color: #0088cc; /* Telegram Blue */
    }

    .share-icon.instagram {
        color: #E4405F; /* Instagram Pink/Red */
    }

    .share-icon.whatsapp {
        color: #25D366; /* WhatsApp Green */
    }

    .share-icon.copy {
        color: #000; /* Default color for Copy */
    }

    .share-icon:hover {
        color: #333; /* Color when hovering over any icon */
    }

.share-icon {
    margin-right: 10px;
}

.share-container {
    position: relative;
}

    .share-container .btn-share:focus + .share-dropdown,
    .share-container .share-dropdown:hover {
        display: block;
    }
