/* ==========================================================================
   UTTAR SWEEKAR — STYLESHEET
   Fonts: Cormorant Garamond (headings) + Mulish (body), with safe fallbacks
   ========================================================================== */

:root {
    /* Brand colors */
    --primary-yellow: #d4af37; /* gold */
    --primary-green: #004d00;
    --footer-green: #001f00; /* super dark green, footer only */
    --background-white: #ffffff;
    --background-off-white: #faf9f3;

    /* Derived tones */
    --text-dark: #0b3d1c;
    --text-muted: #3f6b4a;
    --border-soft: #e7e2d3;
    --green-soft: #e7f0e6;
    --yellow-soft: #f3e6bf;
    --gold-light: #f1d78c;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --radius: 14px;
    --shadow-soft: 0 10px 30px rgba(0, 40, 10, 0.08);
    --shadow-lift: 0 18px 40px rgba(0, 40, 10, 0.14);
    --transition: 0.25s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--background-white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Visible focus state for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */

.section {
    padding: 96px 0;
}

.section-eyebrow {
    font-size: 0.95rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--primary-green);
    margin-bottom: 24px;
    line-height: 1.2;
}

.center {
    text-align: center;
}

.section-title.center {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   IMAGE PLACEHOLDER (reusable)
   ========================================================================== */

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, var(--green-soft), var(--yellow-soft));
    border: 1px dashed var(--primary-green);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 20px;
    overflow: hidden;
}

/* Once a real <img> is placed inside, make it fill the box edge-to-edge
   and drop the dashed placeholder look automatically */
.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.image-placeholder:has(img) {
    border: none;
    background: none;
    padding: 0;
}

/* Same treatment when the box holds an embedded map/video iframe instead of an img */
.image-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
    border-radius: inherit;
    display: block;
}

.image-placeholder:has(iframe) {
    border: none;
    background: none;
    padding: 0;
}

.tall-placeholder {
    aspect-ratio: 3 / 4;
    min-height: 0;
}

.card-placeholder {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-placeholder:has(img) {
    aspect-ratio: auto;
    background: none;
}

.card-placeholder img {
    height: auto;
    object-fit: contain;
}

.map-placeholder {
    min-height: 320px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(0, 40, 10, 0.06);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-mark {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-green);
}

.logo-image {
    height: 92px;
    width: auto;
    display: block;
}

.nav-right-wrap {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-green);
    padding: 6px 2px;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-green);
    padding: 6px 2px;
    transition: color var(--transition);
}

.dropdown-toggle::after {
    content: "▾";
    font-size: 0.65em;
    transition: transform var(--transition);
}

.dropdown-toggle:hover {
    color: var(--primary-green);
}

.nav-item:hover .dropdown-toggle::after,
.nav-item.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 220px;
    background: var(--background-white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: var(--shadow-lift);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 50;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-green);
    transition: background var(--transition), color var(--transition);
}

.dropdown-link:hover {
    background: var(--green-soft);
    color: var(--primary-green);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-green);
    color: var(--background-white);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-soft);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.whatsapp-icon {
    flex-shrink: 0;
}

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--background-off-white);
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-media .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background: var(--background-off-white);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-eyebrow {
    color: var(--primary-green);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.15;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--primary-yellow));
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 1.5px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--background-white);
}

/* ==========================================================================
   FOUNDER SECTION
   ========================================================================== */

.founder {
    background: var(--background-off-white);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.founder-lede {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.founder-block {
    margin-bottom: 22px;
}

.founder-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 6px;
}

.founder-block p {
    color: var(--text-muted);
}

/* ==========================================================================
   BRAND STORY SECTION
   ========================================================================== */

.brand-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.brand-story-image .image-placeholder img {
    object-fit: contain;
    padding: 36px;
    background: var(--background-off-white);
}

.brand-story-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* ==========================================================================
   CARD GRID (Products & Services)
   ========================================================================== */

.products {
    background: var(--background-white);
}

.services {
    background: var(--background-off-white);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* Services: 3 cards per row (wraps to a second row of 3 automatically) */
.services .card-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Products: 4 cards per row (no leftover empty column) */
.products .card-grid {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--background-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.card:hover .card-placeholder {
    transform: scale(1.04);
}

.card-placeholder {
    transition: transform var(--transition);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-green);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-grow: 1;
}

.card-link {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 6px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.testimonial-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px 20px;
    scrollbar-width: thin;
}

.testimonial-track::-webkit-scrollbar {
    height: 6px;
}

.testimonial-track::-webkit-scrollbar-thumb {
    background: var(--border-soft);
    border-radius: 999px;
}

.testimonial-card {
    flex: 0 0 340px;
    min-height: 340px;
    background: var(--background-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.google-badge {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-green);
    background: var(--green-soft);
    padding: 8px 20px;
    border-radius: 999px;
}

.stars {
    color: var(--primary-yellow);
    text-shadow: 0 0 0.5px var(--primary-green);
    font-size: 1.4rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-green);
}

.testimonial-date {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.scroll-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--background-white);
    color: var(--primary-green);
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}

.scroll-btn:hover {
    background: var(--primary-green);
    color: var(--background-white);
}

.testimonial-scrollbar {
    width: 100%;
    max-width: 420px;
    height: 6px;
    background: var(--border-soft);
    border-radius: 999px;
    margin: 28px auto 0;
    overflow: hidden;
}

.testimonial-scrollbar-thumb {
    height: 100%;
    width: 25%;
    background: linear-gradient(135deg, var(--gold-light), var(--primary-yellow));
    border-radius: 999px;
    transform: translateX(0%);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
}

.contact-map {
    min-height: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-soft);
}

.contact-block:last-child {
    border-bottom: none;
}

.contact-icon {
    color: var(--primary-green);
    background: var(--green-soft);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-block h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-green);
}

.contact-block a,
.contact-block p {
    color: var(--text-muted);
}

.contact-block a:hover {
    color: var(--primary-green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--footer-green);
    color: var(--background-off-white);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-mark {
    color: var(--primary-yellow);
}

.footer-logo-image {
    height: 100px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.footer-desc {
    margin-top: 14px;
    color: rgba(250, 249, 243, 0.8);
    font-size: 0.92rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-yellow);
    margin-bottom: 16px;
}

.footer-col p {
    margin-bottom: 8px;
    color: rgba(250, 249, 243, 0.85);
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--background-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--primary-green);
}

.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 24px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(250, 249, 243, 0.75);
}

/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        gap: 40px;
    }
}

/* ==========================================================================
   RESPONSIVE — SMALL TABLET / LARGE MOBILE
   ========================================================================== */

@media (max-width: 860px) {
    .logo-image {
        height: 64px;
    }

    .footer-logo-image {
        height: 80px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 12px 24px rgba(0, 40, 10, 0.08);
        transition: max-height var(--transition);
    }

    .nav-links.open {
        max-height: 300px;
    }

    .nav-link {
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-soft);
    }

    .hamburger {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-soft);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
    }

    .nav-item.open .dropdown-menu {
        max-height: 400px;
    }

    .dropdown-link {
        padding: 12px 40px;
        border-bottom: 1px solid var(--border-soft);
        border-radius: 0;
    }

    .hero {
        min-height: 64vh;
    }

    .founder-grid,
    .brand-story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .brand-story-grid .brand-story-image {
        order: -1;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-block {
        justify-content: center;
        text-align: left;
    }
}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 520px) {
    .section {
        padding: 64px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .navbar-right {
        gap: 10px;
    }

    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn {
        padding: 10px;
    }

    .testimonial-card {
        flex: 0 0 280px;
        min-height: 300px;
        padding: 28px 24px;
    }

    .logo-image {
        height: 56px;
    }

    .footer-logo-image {
        height: 72px;
    }
}

/* ==========================================================================
   CATEGORY PAGE TEMPLATE
   Used by every product/service page: bracelets.html, crystals.html,
   camphor.html, tarot.html, reiki-healing.html, etc.
   Copy one of those files to start a new page — this CSS is shared by all.
   ========================================================================== */

/* --- Category banner (single image, sits right below the navbar) --- */
.category-hero {
    width: 100%;
    overflow: hidden;
    background: var(--background-off-white);
}

.category-hero .image-placeholder {
    width: 100%;
    min-height: 300px; /* fallback height only while the placeholder is still empty */
    border-radius: 0;
    border: none;
}

/* Once a real banner image is added, let the box size itself to the
   image's own aspect ratio so the full banner always shows — nothing
   ever gets cropped off the top or bottom. */
.category-hero .image-placeholder:has(img) {
    height: auto;
    min-height: 0;
}

.category-hero .image-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- Category heading block (eyebrow = category, title = highlighted topic) --- */
.category-intro {
    padding-top: 72px;
}

.category-description {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--text-muted);
}

/* A category page can hold several named collections (e.g. Bracelets page:
   "Aura Cleansing", "Money", a third one) — each is one self-contained
   .category-collection block with its own heading + grid. */
.category-collection {
    margin-bottom: 96px;
    padding-bottom: 96px;
    border-bottom: 1px solid var(--border-soft);
}

.category-collection:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* --- 3-per-row product/service grid --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: var(--background-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.category-card-placeholder {
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-radius: var(--radius) var(--radius) 0 0;
}

.category-card-placeholder:has(img) {
    aspect-ratio: auto;
    background: none;
}

.category-card-placeholder img {
    height: auto;
    object-fit: contain;
}

.category-card-body {
    padding: 22px 24px 26px;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.category-card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* --- Expanded card modal (tap a card to open) --- */
.category-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 61, 28, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition);
    z-index: 300;
}

.category-modal.active {
    opacity: 1;
    visibility: visible;
}

.category-modal-content {
    position: relative;
    background: var(--background-white);
    border-radius: var(--radius);
    max-width: 560px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 32px;
}

.category-modal-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--background-off-white);
}

.category-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.category-modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.category-modal-desc {
    color: var(--text-muted);
}

.category-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--green-soft);
    color: var(--primary-green);
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}

.category-modal-close:hover {
    background: var(--primary-green);
    color: var(--background-white);
}

/* --- Category page responsive --- */
@media (max-width: 860px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-modal-content {
        padding: 24px;
    }
}

/* ==========================================================================
   PRELOADER
   Full-screen logo splash shown until the page has fully loaded.
   Add this markup right after <body> on any page that should use it:

   <div class="preloader" id="preloader">
       <img src="logo.png" alt="Uttar Sweekar" class="preloader-logo">
   </div>
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-white);
    transition: opacity 0.6s ease;
}

.preloader-logo {
    width: 140px;
    height: auto;
    animation: preloader-pulse 1.4s ease-in-out infinite;
}

.preloader-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes preloader-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}