
/* CUSTOM POPUP */

.custom-popup {
    position: fixed;
    bottom: 10%;
    right: 5%;
    width: 320px; /* Default width */
    max-width: 90%; /* Ensures it doesn't exceed the screen width */
    background: transparent;
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    z-index: 1050;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
    animation: popupSlideIn 0.8s ease-in-out forwards;
    background-clip: padding-box;
}



.custom-popup img {
    height: 200px;
}

.custom-popup h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.custom-popup .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
}

/* Inner Animated Border */
.custom-popup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    /* border: 5px solid transparent; */
    background:  #254ae5;
    background-clip: padding-box;
    background-size: 300% 300%;
    animation: glowingBorder 3s linear infinite, borderPulse 1.5s ease-in-out infinite;
    z-index: -1;
}

/* Outer Animated Glowing Effect */
.custom-popup::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 16px;
    background: linear-gradient(45deg, rgba(243, 156, 18, 0.3), rgba(231, 76, 60, 0.3), rgba(52, 152, 219, 0.3), rgba(46, 204, 113, 0.3));
    background-size: 300% 300%;
    animation: glowingBorder 4s linear infinite;
    z-index: -2;
    filter: blur(10px);
}

/* Bitmoji Styling */
.bitmoji-image {
    height: auto;
    margin: 10px auto;
    display: block;
    position: absolute;
    left: -160px;
    top: -40px;
    opacity: 1;
    transform: translateY(-30px);
    animation: bitmojiSlideIn 0.8s ease-in-out forwards;
}

/* Animations */
@keyframes popupSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bitmojiSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) rotate(-10deg);
    }
    60% {
        opacity: 1;
        transform: translateY(10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes glowingBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



/* For tablets and smaller screens */
@media (max-width: 768px) {
    .custom-popup {
        width: 280px; /* Slightly smaller width for tablets */
        right: 3%;
        bottom: 8%;
        padding: 15px; /* Reduced padding */
    }
}

/* For mobile devices */
@media (max-width: 576px) {
    .custom-popup {
        width: 57%;
        right: 4%;
        bottom: 3%;
        padding: 10px;
    }
    .bitmoji-image{
        left: -160px;
        top: -51px;
        height: 180px;
    }
}
@media (max-width: 425px) {
    .custom-popup {
        width: 57%;
        right: 4%;
        bottom: 3%;
        padding: 10px;
    }
    .bitmoji-image{
        left: -160px;
        top: -51px;
        height: 180px;
    }
}





.custom-popup-1 {
    position: fixed;
    bottom: 10%;
    right: 5%;
    width: 25%;
    height: 45%;
    background: transparent;
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    z-index: 1050;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
    animation: popupSlideIn 0.8s ease-in-out forwards;
    background-clip: padding-box;
}



.custom-popup-1 img {
    height: 200px;
}

.custom-popup-1 h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.custom-popup-1 .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
}

/* Inner Animated Border */
.custom-popup-1::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    /* border: 5px solid transparent; */
    background: linear-gradient(45deg, #f39c12, #e74c3c, #9b59b6, #3498db, #1abc9c, #f1c40f);
    background-clip: padding-box;
    background-size: 300% 300%;
    animation: glowingBorder 3s linear infinite, borderPulse 1.5s ease-in-out infinite;
    z-index: -1;
}

/* Outer Animated Glowing Effect */
.custom-popup-1::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 16px;
    background: linear-gradient(45deg, rgba(243, 156, 18, 0.3), rgba(231, 76, 60, 0.3), rgba(52, 152, 219, 0.3), rgba(46, 204, 113, 0.3));
    background-size: 300% 300%;
    animation: glowingBorder 4s linear infinite;
    z-index: -2;
    filter: blur(10px);
}

/* Bitmoji Styling */
.bitmoji-image-1 {
    height: auto;
    margin: 10px auto;
    display: block;
    position: absolute;
    left: 120px;
    top: -167px;
    opacity: 1;
    transform: translateY(-30px);
    animation: bitmojiSlideIn 0.8s ease-in-out forwards;
}

/* Animations */
@keyframes popupSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bitmojiSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) rotate(-10deg);
    }
    60% {
        opacity: 1;
        transform: translateY(10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes glowingBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.product-card {
max-height: 270px;
background-color: var(--card-background);
border-radius: 10px;
overflow: hidden;
/* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
transform: translateY(-5px);
/* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); */
}

.product-card__image {
height: 250px;
overflow: hidden;
}

.product-card__image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
transform: scale(1.05);
}

.product-card__info {
padding: 10px;
position: absolute;
/* display: flex
; */
bottom: 0px;
color: white;
background: rgba(0, 0, 0, 0.4);
border-radius: 10px;
/* text-align: center; */
width: 100%;
}

.product-card__title {
font-size: 1.5rem;
/* text-align: center; */
font-weight: 700;
margin-bottom: 5px;
/* filter: brightness(0.5); */
color: var(--text-color);
}

.product-card__description {
font-size: 0.9rem;
color: #666;
margin-bottom: 20px;
}

.product-card__price-row {
/* display: flex;
justify-content: space-between;
align-items: center; */
}

.product-card__price {
font-size: 1.25rem;
font-weight: 600;
color: var(--primary-color);
}

.product-card__btn {
background-color: var(--primary-color);
color: white;
border: none;
padding: 10px 20px;
border-radius: 50px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
}

.product-card__btn:hover {
background-color: #C71729;
}

@media (max-width: 480px) {
.cont {
max-width: 100%;
padding: 0 20px;
}

.product-card__image {
height: 200px;
}

.product-card__title {
font-size: 1.3rem;
}

.product-card__description {
font-size: 0.8rem;
}

.product-card__price {
font-size: 1.1rem;
}

.product-card__btn {
padding: 8px 16px;
font-size: 0.8rem;
}
}



/* For tablets and smaller screens */
@media (max-width: 768px) {
    .custom-popup-1 {
        width: 50%; /* Slightly smaller width for tablets */
        right: 3%;
        bottom: 8%;
        padding: 15px; /* Reduced padding */
    }

    .bitmoji-image-1{
        left: 75px;
        top: -167px;
        height: 180px;
    }
}

/* For mobile devices */
@media (max-width: 576px) {
    .custom-popup-1 {
        width: 60%;
        right: 4%;
        bottom: 3%;
        padding: 20px;
    }
    .bitmoji-image-1{
        left: 45px;
        top: -167px;
        height: 180px;
    }
}
@media (max-width: 425px) {
    .custom-popup-1 {
        width: 90%;
        right: 4%;
        bottom: 3%;
        padding: 20px;
    }
    .bitmoji-image-1{
        left: 25px;
        top: -167px;
        height: 180px;
    }
}
