/* Reward Points Display for All Product Modules */
/* BIGGER, DYNAMIC DESIGN with Brand Colors and Animations */

/* Default: Top-Right Overlay on Product Image (BIGGER, DYNAMIC Design) */
.module-reward-points {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #a68a6a 0%, #10503D 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(166, 138, 106, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    line-height: 1.2;
    margin: 0;
    width: auto;
    transition: all 0.3s ease;
    animation: rewardPulse 2s ease-in-out infinite;
}

/* Pulsing animation */
@keyframes rewardPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(166, 138, 106, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(166, 138, 106, 0.6);
    }
}

/* Hover effect */
.module-reward-points:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 18px rgba(166, 138, 106, 0.6);
    animation: none;
    /* Stop pulse on hover */
}

.module-reward-points i {
    color: #ffd700;
    font-size: 16px;
    margin: 0;
    display: inline-block;
    animation: giftBounce 1.5s ease-in-out infinite;
}

/* Gift icon bounce animation */
@keyframes giftBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(-5deg);
    }

    75% {
        transform: translateY(-2px) rotate(5deg);
    }
}

.module-reward-points span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Adjust position if badge is present */
.product-thumb:has(.product-badge) .module-reward-points,
.product-image-box:has(.product-badge) .module-reward-points,
.product-thumbnail:has(.product-badge) .module-reward-points {
    top: 50px;
    /* Position below badge (adjusted for bigger size) */
}

/* Ensure parent containers are positioned relatively */
.product-thumb,
.product-image-box,
.product-thumbnail,
.product-image-wrapper,
.scp-image-wrapper,
.lux-stage,
.psh-new-image-wrapper,
.pst-product-image-box {
    position: relative;
}

/* Module-specific positioning */
.bs-product-price-box .module-reward-points,
.special-price .module-reward-points,
.latest-price .module-reward-points,
.featured-price .module-reward-points {
    display: block;
    margin-top: 8px;
    position: relative;
    top: auto;
    right: auto;
}

.premium-flash-pricing .module-reward-points {
    display: block;
    margin-top: 10px;
    position: relative;
    top: auto;
    right: auto;
}

.pst-product-price-box .module-reward-points {
    display: block;
    margin-top: 8px;
    position: relative;
    top: auto;
    right: auto;
}

.product-price+.module-reward-points {
    display: block;
    margin-top: 8px;
    position: relative;
    top: auto;
    right: auto;
}

/* Product Showcase Tabs - Reward Points */
.psh-new-price-box+.module-reward-points,
.psh-new-bottom-section .module-reward-points {
    display: block;
    margin-top: 8px;
    width: 100%;
    position: relative;
    top: auto;
    right: auto;
}

/* Category Page - Reward Points */
.scp-product-info .module-reward-points {
    display: block;
    margin-top: 8px;
    margin-bottom: 8px;
    width: fit-content;
    position: relative;
    top: auto;
    right: auto;
}

/* Product Detail Page - Reward Points */
.ppd-new-pricing-section .module-reward-points {
    display: block;
    margin-top: 12px;
    width: fit-content;
    position: relative;
    top: auto;
    right: auto;
}

/* Responsive - Even bigger on mobile for visibility */
@media (max-width: 768px) {
    .module-reward-points {
        font-size: 13px;
        padding: 7px 12px;
        gap: 5px;
    }

    .module-reward-points i {
        font-size: 15px;
    }

    .module-reward-points span {
        font-size: 13px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 991px) {
    .module-reward-points {
        font-size: 14px;
        padding: 8px 14px;
    }
}

/* Desktop - Maximum impact */
@media (min-width: 992px) {
    .module-reward-points {
        font-size: 15px;
        padding: 9px 16px;
    }

    .module-reward-points i {
        font-size: 17px;
    }

    .module-reward-points span {
        font-size: 15px;
    }
}