:root {
    --bg: #0b1224;
    --bg-soft: #101a33;
    --card: #141f3d;
    --primary: #f4c95d;
    --primary-dark: #d7a832;
    --text: #f5f7ff;
    --muted: #a7b2d4;
    --accent: #4dd0e1;
    --success: #5fd38d;
    --danger: #ff6b6b;
    --shadow: rgba(15, 23, 42, 0.45);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.spiritual-bg {
    background-color: #0b1224;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(244, 201, 93, 0.18), transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(255, 161, 90, 0.16), transparent 50%),
        radial-gradient(circle at 20% 85%, rgba(77, 208, 225, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(11, 18, 36, 0.9), rgba(11, 18, 36, 0.98));
    background-attachment: fixed;
}

body.spiritual-bg::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(244, 201, 93, 0.08) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #b15928;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(244, 201, 93, 0.12);
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 600;
}

.brand-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.brand-tag {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav a {
    color: #000;
    font-weight: 600;
}

.nav a:hover {
    color: #1b1b1b;
}

.blink-link {
    position: relative;
    color: var(--primary);
    font-weight: 600;
    animation: blinkPulse 1.2s ease-in-out infinite;
}

@keyframes blinkPulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(244, 201, 93, 0);
    }
    50% {
        opacity: 0.45;
        text-shadow: 0 0 12px rgba(244, 201, 93, 0.8);
    }
}

.user-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(77, 208, 225, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--text);
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #000;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero {
    padding: 5rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(77, 208, 225, 0.18), transparent 45%),
        radial-gradient(circle at top left, rgba(244, 201, 93, 0.12), transparent 55%);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-lead {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 1.4rem;
}

.hero-lead::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(11, 18, 36, 0.9), rgba(11, 18, 36, 0.52)), url('../../images/ganesha.png');
    background-repeat: no-repeat;
    background-position: left 4% center;
    background-size: min(430px, 52%);
    opacity: 0.46;
    pointer-events: none;
}

.hero-lead > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.hero-card {
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px var(--shadow);
    display: grid;
    gap: 1.25rem;
}

.search-form {
    display: grid;
    gap: 1rem;
}

.input-group {
    display: grid;
    gap: 0.35rem;
}

label {
    color: var(--muted);
    font-size: 0.85rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-family: inherit;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.35rem 0.75rem;
}

.input-with-prefix input {
    border: none;
    background: transparent;
    padding: 0.6rem 0.4rem;
}

.input-with-prefix input:focus {
    outline: none;
}

.input-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(244, 201, 93, 0.18);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

select option {
    background: var(--card);
    color: var(--text);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

section {
    padding: 4rem 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}

.section-heading p {
    color: var(--muted);
    max-width: 520px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.pandit-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 40px var(--shadow);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pandit-card {
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: 500px;
}

.pandit-card .pandit-thumb {
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 190px;
}

.pandit-card h3 {
    margin-bottom: 0.35rem;
}

.pandit-card p {
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.product-image {
    width: 100%;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.06);
}

.pandit-thumb {
    width: 100%;
    height: 170px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.06);
}

.pandit-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pandit-thumb-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #101a33;
    background: linear-gradient(135deg, #f4c95d, #4dd0e1);
}

.puja-thumb {
    width: 100%;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.06);
}

.puja-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(93, 173, 226, 0.15);
    color: var(--accent);
    font-size: 0.75rem;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.kpi {
    background: var(--bg-soft);
    padding: 1rem 1.25rem;
    border-radius: 16px;
}

.kpi h4 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.kpi span {
    color: var(--muted);
    font-size: 0.85rem;
}

.badge {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    background: rgba(95, 211, 141, 0.15);
    color: var(--success);
}

.muted {
    color: var(--muted);
}

.cta {
    background: linear-gradient(135deg, rgba(244, 201, 93, 0.16), rgba(77, 208, 225, 0.12));
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #b15928;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.site-footer h4 {
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

.page-hero {
    padding: 3rem 0 2rem;
    background: var(--bg-soft);
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.notice {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: rgba(95, 211, 141, 0.1);
    border: 1px solid rgba(95, 211, 141, 0.3);
    color: var(--success);
}

.cart-panel {
    display: grid;
    gap: 1rem;
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.6fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.qty-input {
    width: 70px;
    text-align: center;
}

.remove-btn {
    border: none;
    background: transparent;
    color: var(--danger);
    cursor: pointer;
    font-weight: 600;
}

.cart-subtotal {
    text-align: right;
    font-weight: 600;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(244, 201, 93, 0.18);
    color: var(--primary);
    font-weight: 700;
    padding: 0 0.6rem;
}

.hidden {
    display: none !important;
}

.tab-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tab-button {
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button.active {
    background: rgba(244, 201, 93, 0.18);
    border-color: rgba(244, 201, 93, 0.6);
    color: var(--primary);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.plan-card {
    text-align: left;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    position: relative;
}

.plan-card h4 {
    margin-bottom: 0.4rem;
}

.plan-card.selected {
    border-color: rgba(244, 201, 93, 0.8);
    box-shadow: 0 16px 30px rgba(244, 201, 93, 0.12);
    background: rgba(244, 201, 93, 0.1);
}

.plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-radio-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(244, 201, 93, 0.45);
    display: grid;
    place-items: center;
    margin-top: 2px;
    background: rgba(244, 201, 93, 0.08);
    transition: all 0.2s ease;
}

.plan-radio-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.plan-card.selected .plan-radio-indicator {
    border-color: rgba(244, 201, 93, 0.9);
    box-shadow: 0 0 0 4px rgba(244, 201, 93, 0.2);
}

.plan-card.selected .plan-radio-indicator::after {
    transform: scale(1);
}

.about-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(244, 201, 93, 0.2), transparent 55%),
        radial-gradient(circle at bottom left, rgba(77, 208, 225, 0.2), transparent 55%),
        var(--bg-soft);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(16, 26, 51, 0.88), rgba(16, 26, 51, 0.58)), url('../../images/ganesha.png');
    background-repeat: no-repeat;
    background-position: right 4% center;
    background-size: min(500px, 46%);
    opacity: 0.5;
    pointer-events: none;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    max-width: 900px;
}

.about-hero-inner p {
    margin-bottom: 0;
}

.about-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.about-block h2,
.about-block h3 {
    margin-bottom: 0.8rem;
}

.about-services-grid .card {
    padding: 1rem 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.about-why-grid .card p {
    margin-bottom: 0;
}

.about-cta {
    max-width: 960px;
    margin: 0 auto;
}

.about-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.about-cta p {
    color: var(--text);
    margin-bottom: 0;
}

.about-promise {
    display: grid;
    gap: 0.65rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        right: 5%;
        background: #b15928;
        padding: 1rem;
        border-radius: 18px;
        flex-direction: column;
        width: 220px;
        box-shadow: 0 18px 40px var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-lead {
        padding: 1rem;
    }

    .hero-lead::before {
        background-position: left -24px top 12px;
        background-size: min(280px, 65%);
        opacity: 0.33;
    }

    .cta {
        padding: 2rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .cart-subtotal {
        text-align: left;
    }

    .about-services-grid .card {
        padding: 0.9rem 1rem;
    }

    .about-hero::before {
        background-position: right -30px top 18px;
        background-size: min(340px, 64%);
        opacity: 0.38;
    }

}
