@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;800&display=swap');

.parana-hero-wrapper * {
    font-family: 'Tajawal', sans-serif;
    box-sizing: border-box;
}

.parana-hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: auto;
    padding: 7px;
    background-color: #ECEAF5;
    border-radius: 154px 154px 24px 24px;
    border: 3.13px solid #6966B0;
    width: fit-content;
}

.parana-social-sidebar {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.parana-social-sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: #E5E2F0;
    color: #655EAB;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.parana-social-sidebar a:hover {
    background: #655EAB;
    color: #fff;
    transform: translateY(-3px);
}

.parana-hero-container {
    position: relative;
    border-radius: 154px 154px 24px 24px;
    height: 100%;
}

.main-img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 154px 154px 24px 24px;
    overflow: hidden;
    position: relative;
}

.main-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.parana-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}


img.parana-main-img {
    height: 100%;
}

.parana-badge {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 20;
    direction: rtl;
}

.badge-reviews {
    top: 9px;
    right: -25px;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 22px;
    gap: 12px;
}

.reviews-content {
    display: flex;
    flex-direction: column;
}

.stars {
    font-size: 14px;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 800;
    font-size: 15px;
    color: #000;
}

.reviews-text {
    color: #99A1AF;
    font-size: 12px;
    margin-top: 2px;
    font-weight: 700;
}

.review-thumb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #ddd;
}

.badge-bestseller {
    top: 13%;
    left: -40px;
    width: 239px;
    height: 237px;
    border-radius: 31px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bestseller-label {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #655EAB;
    color: #fff;
    font-size: 11px;
    padding: 6px 15px;
    border-radius: 12px;
    font-weight: 800;
    z-index: 11;
}

.bestseller-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.bestseller-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    gap: 8px;
    background: #fff;
    flex: 1;
}

.bestseller-details .product-info {
    text-align: right;
    flex: 1;
}

img.bestseller-img.elementor.img {
    height: 163px;
}

.bestseller-details .product-title {
    margin: 0 0 5px;
    color: #111;
}

.bestseller-details .product-price {
    color: #655EAB;
}

.bestseller-details .product-price ins {
    text-decoration: none;
}

.bestseller-details .product-price del {
    color: #A0A0A0;
    font-size: 12px;
    margin-left: 5px;
}

.add-to-cart-btn {
    background: #655EAB;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(101, 94, 171, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    transform: scale(1.1);
    background: #504899;
}

.badge-discount {
    left: -41px;
    bottom: 125px;
    background: #655EAB;
    color: #fff;
    border-radius: 20px;
    padding: 15px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(101, 94, 171, 0.35);
}

.discount-label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 700;
}

.discount-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 2px;
}

/* Bottom Right Certified */
.badge-certified {
    bottom: 40px;
    right: -75px;
    padding: 8px 22px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #444;
    font-size: 14px;
}

/* Bottom Center Text */
.parana-bottom-text {
    position: absolute;
    bottom: 45px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 10;
}

.parana-bottom-text h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.parana-bottom-text p {
    margin: 5px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* --- Overlay Link to make entire area clickable --- */
.bs-card-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-indent: -9999px;
    overflow: hidden;
}

/* Ensure interactive elements stay above the overlay */
.parana-badge,
.parana-bottom-text,
.add-to-cart-btn,
.parana-social-sidebar {
    z-index: 5;
}

.add-to-cart-btn {
    position: relative;
    z-index: 10 !important;
}

@media (max-width: 600px) {
    .parana-social-sidebar {
        display: none;
    }

    .badge-bestseller {
        left: -15px;
    }

    .badge-discount {
        left: -10px;
    }
}