:root {
    --primary-saffron: #FF6F00;
    --deep-gold: #FF9800;
    --warm-yellow: #FFC107;
    --divine-red: #D32F2F;
    --light-bg: #fffef0;
    --border-color: #ffe0b2;
}
* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

/* --- REUSABLE UTILITIES --- */
.bg-light {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--primary-saffron) 100%) !important;
}
/* LOGO */
.site-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}
/* Sahi CSS */
.gj-datepicker-bootstrap [role=right-icon] button .gj-icon,
.gj-datepicker-bootstrap [role=right-icon] span .gj-icon {
    top: 14px;
    right: 5px;
}

.gj-timepicker-bootstrap [role=right-icon] button .gj-icon,
.gj-timepicker-bootstrap [role=right-icon] span .gj-icon {
    top: 14px;
    right: 5px;
}
/* GURU TITLE */
.guru-title {
    display: flex;
    flex-direction: column;
}

.guru-title h3 {
    margin: 0;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 700;
    color: #000;
}
.guru-title .small-text {
    font-size: 12px;
    color: #444;
    margin-bottom: -3px;
}



.powered-logo .powered-text {
    font-size: 11px;
    color: #666;
    display: block;
    margin-bottom: -2px;
}


.card-hero {
    overflow: hidden;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%) !important;
    border: 1px solid var(--border-color) !important;
    padding: 1rem;
}

/* Slider */
.owl-carousel .item img {
    border-radius: 1rem;
    max-height: 250px;
    /* object-fit: cover; */
}

.owl-theme .owl-dots .owl-dot span {
    background: transparent !important;
    border: 2px solid #FF9800;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Active dot */
.owl-theme .owl-dots .owl-dot.active span {
    background: #FF9800 !important;
    border-color: #FF9800;
}

/* Package Cards */
.package {
    position: relative;
    border: 2px solid #f0f0f0 !important;
    border-radius: 1rem;
    padding: 2.5rem 1rem 1rem;
    transition: all .3s ease;
    /* display: flex; */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-height: 200px;
}

.package h5,
.package .mt-4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    word-wrap: break-word;
}

.package:hover, .package.selected {
    transform: translateY(-5px);
    border-color: var(--primary-saffron) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.person-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    color: #fff;
    padding: .3rem .9rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0 0 0 / 27%);
}

.select-circle {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #aaa;
    background: #fff;
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    height: 60px;
    width: 100%;
    padding: 12px !important;
    border-radius: 0 0 12px 12px !important;
    overflow: hidden;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

/* Shine effect */
.book-now-btn::after{
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -150%; }
    100% { left: 150%; }
}

.price {
    /* color: #fff; */
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
}
.package-footer img.package-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.package.selected .select-circle {
    background: var(--pkg-color) url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.173 13.414a1 1 0 0 1-1.414 0L1.293 9.95a1 1 0 0 1 1.414-1.414l3.05 3.05 7.536-7.536a1 1 0 0 1 1.414 1.414L6.173 13.414z"/></svg>') center/14px no-repeat;
    border-color: var(--pkg-color);
}




/* Sticky Footer */
.sticky-bar {
    position: fixed; /* Sticky ki jagah Fixed zyada stable rehta hai bottom ke liye */
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: #ffffff !important;
    padding: 10px 0;
    border-top: 3px solid var(--primary-saffron);
    box-sizing: border-box; 
    overflow: visible !important;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

/* Pooja name  */
.pooja-calendar {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 800;
    margin-left: 8px;
    color: #000000 !important;
}
.pooja-calendar, .pooja-venue {
    color: var(--divine-red) !important; /* Red adds importance/urgency */
}

.pooja-venue {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 800;
    margin-left: 8px;
    color: #000000 !important;

}

.leading-normal {
    color: #000000 !important;
}

/* Count  */
.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.time-box {
    background: #111;
    color: var(--primary-saffron);
    text-align: center;
    padding: 5px 10px;
    border-radius: 8px;
    min-width: 55px;
}

.time-box span {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
}

.time-box small {
    font-size: 0.7rem;
    color: #fff;
}

/* Tablet */
@media (max-width: 992px) {
    .time-box {
        min-width: 55px;
        padding: 7px 10px;
    }

    .time-box span {
        font-size: 1.4rem;
    }

    .time-box small {
        font-size: 0.75rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .countdown {
        gap: 8px;
    }

    .time-box {
        min-width: 50px;
        padding: 6px 8px;
    }

    .time-box span {
        font-size: 1.2rem;
    }

    .time-box small {
        font-size: 0.7rem;
    }
}

/* Container holding all profile circles */
.tray {
    display: flex;
    align-items: center;
    gap: 2px;
    /* spacing between circles */
}

/* Individual circle container */
.circle-img-container {
    position: relative;
    width: 45px;
    height: 45px;
}

/* The circle image itself */
.circle-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* makes it circular */
    background-size: cover;
    /* image covers circle */
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid #fff;
    /* white border around */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    /* soft shadow */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

/* Hover effect */
.circle-img:hover {
    transform: scale(1.1);
    border-color: #FF6F00;
    /* saffron border on hover */
}

.fa-star {
    color: #FF6F00;
}

.btn-primary {
    background-color: #FF6F00;
    border-color: #FF6F00;
}

.btn-primary:hover {
    background-color: #FF6F00;
    border-color: #FF6F00;
}

.font-10 {
    font-size: 14px;
    color: #000;
    font-weight: 700;
}

.carousel-img {
    width: 100%;
    height: auto;
    /* default for mobile */
    max-height: 500px;
    /* limit on big screens */
    object-fit: contain;
    /* full image visible */
    border-radius: 8px;
}

/* For laptops/desktops */
@media (min-width: 992px) {
    .carousel-img {
        height: 500px;
        /* fix height */
        object-fit: cover;
        /* fills box without stretching */
    }
}

/* For tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-img {
        height: 400px;
    }
}

/* For small mobile */
@media (max-width: 767px) {
    .carousel-img {
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }
}

#footerInfo {
    font-family: 'Roboto', sans-serif;
    color: #222 !important;
}
#footerInfo strong {
    color: var(--primary-saffron);
}

/* Product List Css */
.product-slide {
    position: fixed;
    bottom: 100px;
    /* hidden initially */
    left: 0;
    width: 100%;
    background: #1c1c1c;
    color: #fff;
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, .4);
    transition: bottom 0.3s ease-in-out;
    z-index: 9999;
}

.product-slide.show {
    bottom: 0;
    /* slide up */
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.slide-name {
    font-size: 1rem;
}

.slide-price {
    font-size: 0.9rem;
    color: #FF6F00;
}


.product-name {
    font-size: 14px;
    line-height: 1.2em;
    height: 2.4em;
    /* max 2 lines */
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--warm-yellow) !important;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.15);
    transform: translateY(-3px);
}

.btn-add-slide {
    background-color: #fff !important;
    color: var(--primary-saffron) !important;
    border: 1.5px solid var(--primary-saffron) !important;
    font-weight: 700 !important;
}
.btn-add-slide:hover {
    background-color: var(--primary-saffron) !important;
    color: #fff !important;
}

.slide-img {
    flex-shrink: 0;
}

.owl-carousel .item {
    padding: 5px;
}

#productList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* cards ke beech gap */
}

#productList .product-card {
    flex: 0 0 calc(50% - 10px);
    /* Mobile: 2 cards per row */
    max-width: calc(50% - 10px);
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

@media (min-width: 768px) {
    #productList {
        grid-template-columns: repeat(4, 1fr);
    } 
    .carousel-img {
        height: 450px;
        object-fit: cover;
    }
    .product-floating-card {
        width: 350px;
        bottom: 70px;
    }
    .sticky-bar {
        padding: 15px 0;
    }
    .product-card {
        max-width: 350px;
        /* desktop पर fix size रख सकते हो */
    }
}



.product-card {
    width: 100% !important;
    transition: all 0.3s ease;
    border: 1px solid #eee !important;
    max-width: 100% !important;
}

.text-warning {
    color: #FF6F00 !important;
}
/* Lang */
.linear-gradient {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shimmer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        12deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

.shimmer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4) !important;
}

.shimmer-btn:active {
    transform: translateY(0);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Loading state for shimmer button */
.shimmer-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.shimmer-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
/* ============================================
   REUSABLE BOOK NOW BUTTON WITH SHINE + ARROW
   ============================================ */
.book-now-btn {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--primary-saffron) 100%) !important;
    border: none !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px;
    animation: pulse-orange 2s infinite;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden !important; 
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #fff;
    border-radius: 10px !important;
    max-width: 100%; 
}

/* 1. Pulse Effect for the Proceed Button to draw attention */
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 111, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0); }
}
/* Hover lift */
.book-now-btn:hover {
    transform: scale(1.03) translateY(-3px) !important;
    filter: brightness(1.1);
    color:#fff;
}


/* ========== ARROW CYCLE ANIMATION ========== */
.arrow-icon {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 22px;
    height: 16px;
    overflow: hidden;
    margin-left: 8px;
}

.arrow-icon i {
    position: absolute;
    font-size: 12px;
    color: #fff;
}

/* First arrow */
.arrow-double i:nth-child(1) {
    animation: doubleSlide 1.2s ease-in-out infinite;
}

/* Second arrow (delayed) */
.arrow-double i:nth-child(2) {
    animation: doubleSlide 1.2s ease-in-out infinite;
    animation-delay: 0.6s;
    opacity: 0;
}
@keyframes doubleSlide {
    0% {
        transform: translateX(-15px);
        opacity: 0;
    }
    25% {
        transform: translateX(0);
        opacity: 1;
    }
    55% {
        transform: translateX(0);
        opacity: 1;
    }
    80% {
        transform: translateX(15px);
        opacity: 0;
    }
    100% {
        transform: translateX(-15px);
        opacity: 0;
    }
}

/* ========== PRICE TAG (optional) ========== */
.book-now-btn .price {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

/* ========== RESPONSIVE ========== */

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.shake {
    animation: shake 0.3s ease-in-out;
}
.is-invalid {
    border-color: #dc3545 !important;
}
/* Container logic */
.product-popover-wrapper {
    position: relative;
    display: inline-block;
}

.product-icon-container {
    position: relative;
}

/* Badge for count */
.product-count-badge {
    position: absolute;
    top: -2px;
    right: -5px;
    background: #d32f2f;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Floating Card Design */
.product-floating-card {
    display: none;
    position: absolute;
    bottom: 70px; /* Footer ke base se uper */
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 320px;
    background: white;
    border: 2px solid #ffe0b2;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 -15px 35px rgba(0,0,0,0.3);
}
/* TABLET VIEW (768px and up) */
/* MOBILE VIEW (Specific Fixes) */
@media (max-width: 576px) {
     .guru-title h3 {
        font-size: 16px;
    }
    .site-logo {
        height: 60px;
    }
    .book-now-btn {
        height: 52px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .sticky-bar .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    .sticky-bar .row {
        flex-wrap: nowrap; /* Elements ko ek line mein rakhne ke liye */
    }
    #footerInfo div:first-child {
        max-width: 120px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-floating-card {
        width: 250px;
        right: 22px; /* Adjusted so it stays on screen */
        left: auto;
        transform: none;
        bottom: 60px;
    }

    /* Package and Total text size for mobile */
    .sticky-bar .text-dark.fw-bold { font-size: 12px !important; }
    .sticky-bar .h4 { font-size: 18px !important; }
    .product-floating-card {
        width: 260px;
        left: auto;
        right: -60px; /* Isse card screen ke andar rahega */
        transform: none;
        bottom: 55px;
    }
    .product-count-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    .sticky-bar .container-fluid {
        padding: 0 10px;
    }
    .product-floating-card {
        width: 240px;
        right: -50px;
        left: auto;
        transform: none;
    }

    .time-box {
        min-width: 45px;
        padding: 4px;
    }

    .time-box span {
        font-size: 1.1rem;
    }
}
/* Triangle/Arrow niche ki taraf */
.product-floating-card::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}
/* Hover par dikhane ke liye */
/* Hover logic */
.product-icon-container:hover .product-floating-card {
    display: block;
    animation: popUp-v2 0.3s ease-out;
}
@keyframes popUp-v2 {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}


/* Premium Styling & Vibrancy */
.premium-box {
    background: #FFF8E1;
    border: 1px solid #FFE082;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 111, 0, 0.05);
    min-width: 65px;
    transition: all 0.3s ease;
}
.premium-box:hover {
    transform: translateY(-3px);
    border-color: #FF6F00;
    box-shadow: 0 6px 15px rgba(255, 111, 0, 0.15);
}
.premium-box .number {
    font-size: 1.4rem;
    color: #FF6F00;
    display: block;
    font-family: 'Poppins', sans-serif;
}
.premium-box .time-label {
    font-size: 0.75rem;
    color: #E65100;
    text-transform: uppercase;
    font-weight: 600;
}
.premium-icon-bg {
    width: 45px; 
    height: 45px; 
    background: linear-gradient(135deg, #FF8F00 0%, #FF6F00 100%);
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

/* Beautiful Custom Animations */
@keyframes pulseGlow {
    0% { opacity: 0.9; }
    50% { opacity: 1; text-shadow: 0 0 8px rgba(255, 111, 0, 0.4); }
    100% { opacity: 0.9; }
}
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Applying Animations */
.pulse-glow {
    animation: pulseGlow 2s infinite ease-in-out;
}
.pulse-glow-fast {
    animation: pulseGlow 1s infinite ease-in-out; /* Keeps seconds looking active */
}
.floating-icon {
    animation: floatAnimation 2.5s infinite ease-in-out;
}
.spinning-icon {
    display: inline-block;
    animation: spinSlow 8s infinite linear;
}
.custom-pooja-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.custom-pooja-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 81, 0, 0.1) !important;
}
/* --- RESPONSIVE RATING ROW --- */
.premium-rating-row {
    color: #000;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

/* Default Mobile View (थोड़ा बड़ा और साफ़) */
.divine-gold-star {
    font-size: 1.2rem; /* Mobile पर स्टार का साइज */
    background: linear-gradient(135deg, #FFD700 0%, #FF9100 50%, #FF6F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0px 2px 4px rgba(255, 145, 0, 0.4));
    animation: divineStarGlow 2.5s infinite ease-in-out;
}
.rating-number {
    font-size: 1.1rem; /* Mobile पर 4.9/5 का साइज */
    font-weight: 800;
    color: #111;
}
.rating-count {
    font-size: 0.85rem; /* Mobile पर (1K+ ratings) का साइज */
    color: #666;
    font-weight: 600;
}

/* Desktop & Tablet View (Big Size Display) */
@media (min-width: 768px) {
    .divine-gold-star {
        font-size: 1.5rem; /* बड़ी स्क्रीन पर स्टार और बड़ा दिखेगा */
    }
    .rating-number {
        font-size: 1.3rem; /* बड़ी स्क्रीन पर नंबर का साइज */
    }
    .rating-count {
        font-size: 0.95rem; /* बड़ी स्क्रीन पर काउंट का साइज */
    }
    .premium-rating-row {
        padding-bottom: 6px;
    }
}

/* --- GLOWING ANIMATION KEYFRAMES --- */
@keyframes divineStarGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0px 1px 3px rgba(255, 145, 0, 0.4));
    }
    50% {
        transform: scale(1.18) rotate(6deg); /* हल्का सा टिल्ट और बड़ा ग्लो */
        filter: drop-shadow(0px 0px 10px rgba(255, 215, 0, 0.95)) drop-shadow(0px 2px 6px rgba(255, 111, 0, 0.6));
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0px 1px 3px rgba(255, 145, 0, 0.4));
    }
}

/* Hover Effect */
.rating-badge-container h3:hover .divine-gold-star {
    animation: spinSlow 3s infinite linear;
}