
/* ===== buttons.css ===== */
/*
 * Component : Button (np-btn)
 * File      : css/mobile/components/buttons.css
 * Loaded by : np_register_component('button', 'mobile', ...)
 *
 * Usage (PHP):
 *   echo np_m_button([
 *       'text'     => 'Book a Pandit',
 *       'onclick'  => 'openGeneralBookingModal()',
 *       'icon'     => 'fas fa-arrow-right',            // optional
 *       'variant'  => 'filled',                        // filled | outline | ghost | gradient
 *       'color'    => 'saffron',                       // saffron | green | white | dark
 *       'size'     => 'md',                            // sm | md | lg
 *       'pill'     => true,                            // rounded-full shape
 *       'icon_pos' => 'end',                           // start | end
 *   ]);
 *
 * Icon-end design matches .np-m-hero__cta-btn visual:
 *   <button class="np-btn np-btn--filled np-btn--saffron np-btn--md np-btn--pill np-btn--icon-end">
 *       <span class="np-btn__label">Book Now</span>
 *       <span class="np-btn__icon np-btn__icon--bubble"><i class="fas fa-arrow-right"></i></span>
 *   </button>
 */


/* ═══════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════ */

.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--np-font, 'Noto Sans', sans-serif);
    font-weight: 600;
    text-decoration: none !important;
    border: none !important;
    outline: none;
    white-space: nowrap;
    line-height: 1;
    min-height: 44px;
    /* iOS touch-target minimum */
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.20s ease,
        color 0.20s ease,
        border-color 0.20s ease;
    vertical-align: middle;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.np-btn:focus-visible {
    outline: 2px solid var(--np-saffron, #F37420);
    outline-offset: 3px;
}

/* Prevent anchor underline */
a.np-btn,
a.np-btn:hover,
a.np-btn:visited {
    text-decoration: none;
}


/* ═══════════════════════════════════════════════
   SIZE
   ═══════════════════════════════════════════════ */

.np-btn--sm {
    font-size: 12px;
    padding: 8px 14px;
    min-height: 36px;
    gap: 6px;
}

.np-btn--md {
    font-size: 14px;
    padding: 10px 20px;
}

.np-btn--lg {
    font-size: 15px;
    padding: 13px 24px;
    gap: 10px;
}


/* ═══════════════════════════════════════════════
   SHAPE
   ═══════════════════════════════════════════════ */

.np-btn--pill {
    border-radius: var(--np-radius-pill, 999px);
}

.np-btn--rounded {
    border-radius: var(--np-radius, 10px);
}


/* ═══════════════════════════════════════════════
   FULL WIDTH
   ═══════════════════════════════════════════════ */

.np-btn--block {
    display: flex;
    width: 100%;
}


/* ═══════════════════════════════════════════════
   VARIANT × COLOR : FILLED
   ═══════════════════════════════════════════════ */

.np-btn--filled.np-btn--saffron {
    background: var(--np-saffron, #F37420) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(243, 116, 32, 0.28);
}

.np-btn--filled.np-btn--saffron:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.np-btn--filled.np-btn--green {
    background: var(--np-green, #059669) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.np-btn--filled.np-btn--green:active {
    transform: scale(0.97);
}

.np-btn--filled.np-btn--white {
    background: #fff !important;
    color: var(--np-saffron, #F37420) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.np-btn--filled.np-btn--white:active {
    transform: scale(0.97);
}

.np-btn--filled.np-btn--dark {
    background: var(--np-text-dark, #3E2723) !important;
    color: #fff !important;
}

.np-btn--filled.np-btn--dark:active {
    transform: scale(0.97);
}


/* ═══════════════════════════════════════════════
   VARIANT × COLOR : OUTLINE
   ═══════════════════════════════════════════════ */

.np-btn--outline.np-btn--saffron {
    background: #fff !important;
    color: var(--np-saffron, #F37420) !important;
    border: 2px solid var(--np-saffron, #F37420) !important;
    transition: all 0.3s ease;
}

.np-btn--outline.np-btn--saffron:hover {
    background: var(--np-saffron, #F37420) !important;
    color: #fff !important;
    border-color: var(--np-saffron, #F37420) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 116, 32, 0.25);
}

.np-btn--outline.np-btn--saffron:hover .np-btn__icon,
.np-btn--outline.np-btn--saffron:hover .np-btn__label {
    color: #fff;
}

.np-btn--outline.np-btn--saffron:hover .np-btn__icon--bubble {
    background: rgba(255, 255, 255, 0.25);
}

.np-btn--outline.np-btn--saffron:active {
    transform: scale(0.97);
    box-shadow: none;
}

.np-btn--outline.np-btn--green {
    background: transparent !important;
    color: var(--np-green, #059669) !important;
    border: 1.5px solid var(--np-green, #059669) !important;
}

.np-btn--outline.np-btn--green .np-icon-svg svg {
    fill: var(--np-green, #059669) !important;
}

.np-btn--outline.np-btn--green:active {
    transform: scale(0.97);
    background: var(--np-green-bg, rgba(5, 150, 105, 0.08));
}

.np-btn--outline.np-btn--white {
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.80) !important;
}

.np-btn--outline.np-btn--white:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.97);
}

.np-btn--outline.np-btn--dark {
    background: transparent !important;
    color: var(--np-text-dark, #3E2723) !important;
    border: 1.5px solid var(--np-text-dark, #3E2723) !important;
}

.np-btn--outline.np-btn--dark:active {
    transform: scale(0.97);
}


/* ═══════════════════════════════════════════════
   VARIANT × COLOR : GHOST
   ═══════════════════════════════════════════════ */

.np-btn--ghost.np-btn--saffron {
    background: var(--np-saffron-bg, rgba(243, 116, 32, 0.08)) !important;
    color: var(--np-saffron, #F37420) !important;
    border: none !important;
    border-radius: 5px;
}

.np-btn--ghost.np-btn--saffron:active {
    background: rgba(243, 116, 32, 0.16);
    transform: scale(0.97);
}

.np-btn--ghost.np-btn--green {
    background: var(--np-green-bg, rgba(5, 150, 105, 0.08)) !important;
    color: var(--np-green, #059669) !important;
    border: none !important;
}

.np-btn--ghost.np-btn--green:active {
    background: rgba(5, 150, 105, 0.16);
    transform: scale(0.97);
}

.np-btn--ghost.np-btn--white {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border: none !important;
}

.np-btn--ghost.np-btn--white:active {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(0.97);
}

.np-btn--ghost.np-btn--dark {
    background: rgba(62, 39, 35, 0.07) !important;
    color: var(--np-text-dark, #3E2723) !important;
    border: none !important;
}


/* ═══════════════════════════════════════════════
   VARIANT × COLOR : GRADIENT
   ═══════════════════════════════════════════════ */

.np-btn--gradient.np-btn--saffron {
    background: var(--np-grad-saffron, linear-gradient(135deg, #e05515, #f7971e));
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(243, 116, 32, 0.30);
}

.np-btn--gradient.np-btn--saffron:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.np-btn--gradient.np-btn--green {
    background: var(--np-grad-green, linear-gradient(135deg, #059669, #10B981));
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.30);
}

.np-btn--gradient.np-btn--green:active {
    transform: scale(0.97);
}

/* Festival CTA — reads festival token with saffron-gradient fallback */
.np-btn--gradient.np-btn--festival {
    background: var(--np-festival-btn, var(--np-grad-saffron, linear-gradient(135deg, #e05515, #f7971e)));
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(243, 116, 32, 0.30);
}


/* ═══════════════════════════════════════════════
   ICON WRAPPER
   ═══════════════════════════════════════════════ */

.np-btn__icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    line-height: 1;
}

/* Size overrides for icon */
.np-btn--sm .np-btn__icon {
    width: 18px;
    height: 18px;
    font-size: 9px;
}

.np-btn--lg .np-btn__icon {
    width: 26px;
    height: 26px;
    font-size: 11px;
}

/* Material Symbol icons inside buttons — scale with button text */
.np-btn .material-symbols-outlined {
    font-size: 1em;
    vertical-align: -0.15em;
    line-height: 1;
}

.np-btn--sm .material-symbols-outlined { font-size: 14px; }
.np-btn--md .material-symbols-outlined { font-size: 16px; }
.np-btn--lg .material-symbols-outlined { font-size: 18px; }

/* Icon inside bubble wrapper — fixed small size */
.np-btn__icon .material-symbols-outlined {
    font-size: 14px;
    vertical-align: 0;
}

/*
 * Icon bubble — translucent circle (matches hero CTA arrow visual).
 * Applied when icon_bubble: true (default when icon is set).
 */
.np-btn__icon--bubble {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

/* On outline / ghost, bubble needs a different tint (no white background) */
.np-btn--outline .np-btn__icon--bubble,
.np-btn--ghost .np-btn__icon--bubble {
    background: rgba(0, 0, 0, 0.07);
}

/* On white-filled, bubble is tinted saffron-faint */
.np-btn--filled.np-btn--white .np-btn__icon--bubble {
    background: rgba(243, 116, 32, 0.10);
}


/* ═══════════════════════════════════════════════
   DISABLED
   ═══════════════════════════════════════════════ */

.np-btn:disabled,
.np-btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}


/* ═══════════════════════════════════════════════
   POSITION WRAPPER — align='left'|'center'|'right'
   ═══════════════════════════════════════════════ */

.np-btn-wrap {
    display: flex;
    width: 100%;
}

.np-btn-wrap--left   { justify-content: flex-start; }
.np-btn-wrap--center { justify-content: center; }
.np-btn-wrap--right  { justify-content: flex-end; }

/* ===== buttons.css ===== */
/*
 * Component : Button (np-btn) — Desktop overrides
 * File      : css/desktop/components/buttons.css
 * Loaded by : np_register_component('button', 'desktop', ...)
 *
 * Builds on top of mobile/components/buttons.css semantics.
 * Desktop adds: larger type, richer hover (translateY lift), bigger icon.
 * All base states (shape, variants, colors) are defined in mobile CSS —
 * this file ONLY overrides what differs on ≥992 px viewports.
 */


/* ═══════════════════════════════════════════════
   SIZE — larger at desktop base font 16px
   ═══════════════════════════════════════════════ */

.np-btn--sm {
    font-size: 13px;
    padding: 8px 16px;
}

.np-btn--md {
    font-size: 15px;
    padding: 11px 22px;
}

.np-btn--lg {
    font-size: 16px;
    padding: 14px 28px;
    gap: 10px;
}


/* ═══════════════════════════════════════════════
   ICON — slightly larger on desktop
   ═══════════════════════════════════════════════ */

.np-btn__icon          { width: 24px; height: 24px; font-size: 11px; }
.np-btn--sm .np-btn__icon { width: 20px; height: 20px; font-size: 9px; }
.np-btn--lg .np-btn__icon { width: 28px; height: 28px; font-size: 12px; }

/* Material Symbol icons inside buttons — scale with button text */
.np-btn .material-symbols-outlined {
    font-size: 1em;
    vertical-align: -0.15em;
    line-height: 1;
}

.np-btn--sm .material-symbols-outlined { font-size: 15px; }
.np-btn--md .material-symbols-outlined { font-size: 17px; }
.np-btn--lg .material-symbols-outlined { font-size: 19px; }

/* Icon inside bubble wrapper — fixed small size */
.np-btn__icon .material-symbols-outlined {
    font-size: 15px;
    vertical-align: 0;
}


/* ═══════════════════════════════════════════════
   HOVER — lift + stronger shadow (desktop only)
   ═══════════════════════════════════════════════ */

/* Filled */
.np-btn--filled.np-btn--saffron:hover {
    background: var(--np-saffron-dark, #e05515);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(243, 116, 32, 0.38);
}
.np-btn--filled.np-btn--green:hover {
    background: var(--np-green-mid, #10B981);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.38);
}
.np-btn--filled.np-btn--white:hover {
    background: var(--np-cream, #FFF8F0);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}
.np-btn--filled.np-btn--dark:hover {
    background: #2a1a17;
    transform: translateY(-1px);
}

/* Outline */
.np-btn--outline.np-btn--saffron:hover {
    background: var(--np-saffron, #F37420);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(243, 116, 32, 0.28);
}
.np-btn--outline.np-btn--green:hover {
    background: var(--np-green, #059669);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}
.np-btn--outline.np-btn--white:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}
.np-btn--outline.np-btn--dark:hover {
    background: var(--np-text-dark, #3E2723);
    color: #fff;
    transform: translateY(-1px);
}

/* Ghost */
.np-btn--ghost.np-btn--saffron:hover {
    background: rgba(243, 116, 32, 0.14);
    transform: translateY(-1px);
}
.np-btn--ghost.np-btn--green:hover {
    background: rgba(5, 150, 105, 0.14);
    transform: translateY(-1px);
}

/* Gradient */
.np-btn--gradient.np-btn--saffron:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(243, 116, 32, 0.40);
}
.np-btn--gradient.np-btn--green:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(5, 150, 105, 0.40);
}
.np-btn--gradient.np-btn--festival:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.np-btn--filled.np-btn--saffron:active,
.np-btn--filled.np-btn--green:active,
.np-btn--filled.np-btn--white:active,
.np-btn--outline.np-btn--saffron:active,
.np-btn--outline.np-btn--green:active,
.np-btn--gradient.np-btn--saffron:active,
.np-btn--gradient.np-btn--green:active {
    transform: scale(0.97) translateY(0);
}


/* ═══════════════════════════════════════════════
   POSITION WRAPPER — align='left'|'center'|'right'
   ═══════════════════════════════════════════════ */

.np-btn-wrap {
    display: flex;
    width: 100%;
}

.np-btn-wrap--left   { justify-content: flex-start; }
.np-btn-wrap--center { justify-content: center; }
.np-btn-wrap--right  { justify-content: flex-end; }



/* ===== breadcrumb.css ===== */
/*
 * Component : Breadcrumb (Desktop)
 * File      : css/desktop/components/breadcrumb.css
 * Used on   : any page that calls np_d_breadcrumb()
 * Loaded by : np_register_component() via np_d_breadcrumb()
 */

.np-d-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 20px;
    margin: 0;
    list-style: none;
    font-size: 13px;
    color: var(--np-text-light, #9E8E85);
}

.np-d-breadcrumb li {
    display: flex;
    align-items: center;
}

.np-d-breadcrumb a {
    color: var(--np-text-mid, #6B5B4F);
    text-decoration: none;
    transition: color 0.15s;
}

.np-d-breadcrumb a:hover {
    color: var(--np-saffron, #F37420);
    text-decoration: underline;
}

.np-d-breadcrumb__sep {
    color: var(--np-border, #E0D5CE);
    font-size: 12px;
    line-height: 1;
}

.np-d-breadcrumb__current {
    color: var(--np-text-dark, #3E2723);
    font-weight: 500;
}


/* ===== section-heading.css ===== */
/*
 * Component : Section Heading
 * File      : css/mobile/components/section-heading.css
 * Functions : np_m_section_heading() / np_d_section_heading()
 *
 * Usage:
 *   np_d_section_heading(['title' => 'My Title', 'subtitle' => 'A short line'])
 *
 * Modifiers:
 *   --left / --right       → text-align
 *   --sm / --lg            → title font-size
 *   --accent               → title in saffron colour
 *   --divider              → animated underline bar below title
 */

/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.np-section-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ── Title ───────────────────────────────────────────────────────────────── */
.np-section-heading__title {
    font-family:   var(--np-font);
    font-size:     clamp(1.5rem, 6vw, 1.875rem); /* 24 → 30px on mobile */
    font-weight:   700;
    line-height:   1.25;
    color:         var(--np-text-dark);
    margin:        0 0 0.5rem;
}

/* ── Subtitle ────────────────────────────────────────────────────────────── */
.np-section-heading__subtitle {
    font-family:   var(--np-font);
    font-size:     0.9375rem; /* 15px */
    font-weight:   400;
    line-height:   1.6;
    color:         var(--np-text-mid);
    margin:        0;
}

/* ── Alignment modifiers ─────────────────────────────────────────────────── */
.np-section-heading--center { text-align: center; }
.np-section-heading--left   { text-align: left;   }
.np-section-heading--right  { text-align: right;  }

/* ── Size modifiers ──────────────────────────────────────────────────────── */
.np-section-heading--sm .np-section-heading__title {
    font-size: clamp(1.125rem, 4.5vw, 1.375rem); /* 18 → 22px */
}

.np-section-heading--lg .np-section-heading__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem); /* 28 → 36px */
}

/* ── Accent variant — saffron title ──────────────────────────────────────── */
.np-section-heading--accent .np-section-heading__title {
    color: var(--np-saffron);
}

/* ── Divider variant — animated bar below title ──────────────────────────── */
.np-section-heading--divider .np-section-heading__title {
    position: relative;
    padding-bottom: 0.75rem;
}

.np-section-heading--divider .np-section-heading__title::after {
    content:          '';
    position:         absolute;
    left:             50%;
    bottom:           0;
    transform:        translateX(-50%);
    width:            48px;
    height:           3px;
    border-radius:    2px;
    background:       var(--np-grad-saffron);
    transition:       width 0.4s ease;
}

.np-section-heading--divider.np-section-heading--left .np-section-heading__title::after {
    left:      0;
    transform: none;
}

.np-section-heading--divider.np-section-heading--right .np-section-heading__title::after {
    left:      auto;
    right:     0;
    transform: none;
}

.np-section-heading--divider:hover .np-section-heading__title::after,
.np-section-heading--divider.np-in .np-section-heading__title::after {
    width: 72px;
}


/* ===== section-heading.css ===== */
/*
 * Component : Section Heading (Desktop overrides)
 * File      : css/desktop/components/section-heading.css
 * Base      : css/mobile/components/section-heading.css (loaded first)
 */

/* ── Title — larger at desktop ───────────────────────────────────────────── */
.np-section-heading__title {
    font-size:   2.5rem;   /* 40px */
    line-height: 1.2;
}

/* ── Subtitle — slightly larger ──────────────────────────────────────────── */
.np-section-heading__subtitle {
    font-size: 1.125rem;   /* 18px */
}

/* ── Size modifiers ──────────────────────────────────────────────────────── */
.np-section-heading--sm .np-section-heading__title {
    font-size: 1.75rem;    /* 28px */
}

.np-section-heading--lg .np-section-heading__title {
    font-size: 3rem;       /* 48px */
}

/* ── Divider — slightly wider bar at desktop ─────────────────────────────── */
.np-section-heading--divider .np-section-heading__title::after {
    width: 56px;
}

.np-section-heading--divider:hover .np-section-heading__title::after,
.np-section-heading--divider.np-in .np-section-heading__title::after {
    width: 88px;
}


/* ===== puja-grid.css ===== */
/*
 * Component : Puja Grid (np-puja-grid) — Desktop
 * File      : css/desktop/components/puja-grid.css
 * Loaded by : np_d_puja_grid() → np_register_component('puja-grid', 'desktop', ...)
 *
 * Covers: .puja-services-grid, .puja-service-card, .puja-card-*, .puja-rating,
 *         .puja-conducted, .view-details-btn, .book-puja-btn, .load-more-btn,
 *         .puja-category-tabs, .category-tab
 *
 * NOTE: CSS vars used here are defined in style.css:
 *   --sacred-saffron, --sacred-saffron-light, --sacred-white, --sacred-gold,
 *   --text-dark, --text-muted, --spiritual-primary, --spiritual-bg-light
 */


/* ═══════════════════════════════════════════
   GRID LAYOUT
   ═══════════════════════════════════════════ */

.puja-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}


/* ═══════════════════════════════════════════
   CATEGORY TABS
   ═══════════════════════════════════════════ */

.puja-category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px auto;
    padding: 0;
}

.category-tab {
    background: var(--spiritual-bg-light, #fffde8);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 50px;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-tab:hover {
    background: var(--spiritual-primary, #DAA520);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(218, 165, 32, 0.2);
    border-color: var(--spiritual-primary, #DAA520);
}

.category-tab.active {
    background: var(--sacred-saffron, #F37420);
    color: var(--sacred-white, #fff);
    border-color: var(--sacred-saffron, #F37420);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.category-tab span {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark, #3E2723);
    transition: color 0.3s ease;
}

.category-tab:hover span,
.category-tab.active span {
    color: var(--sacred-white, #fff);
}


/* ═══════════════════════════════════════════
   CARD — BASE
   ═══════════════════════════════════════════ */

.puja-service-card {
    background: var(--sacred-white, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: auto;
    position: relative;
}

.puja-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


/* ═══════════════════════════════════════════
   CARD IMAGE
   ═══════════════════════════════════════════ */

.puja-card-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.puja-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.puja-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.puja-service-card:hover .puja-card-image img {
    transform: scale(1.08);
}


/* ═══════════════════════════════════════════
   CARD BADGE
   ═══════════════════════════════════════════ */

.puja-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--sacred-saffron, #F37420);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sacred-white, #fff);
    z-index: 1;
}


/* ═══════════════════════════════════════════
   CARD CONTENT
   ═══════════════════════════════════════════ */

.puja-card-content {
    padding: 20px;
}

.puja-card-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #3E2723);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.puja-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.puja-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.puja-rating i,
.puja-rating .material-symbols-outlined {
    color: var(--sacred-gold, #DAA520);
    font-size: 14px;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark, #3E2723);
    margin-left: 5px;
}

.puja-conducted {
    font-size: 13px;
    color: var(--text-muted, #888);
}


/* ═══════════════════════════════════════════
   CARD FOOTER BUTTONS
   ═══════════════════════════════════════════ */

.puja-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Override global style.css which hides .card-footer-event on all pages */
.card-footer-event {
    display: inline-flex;
}

.view-details-btn {
    background: transparent;
    color: var(--np-gold);
    border: 1px solid var(--np-gold);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.view-details-btn:hover {
    background: rgba(218, 165, 32, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.15);
    border-color: var(--np-gold);
    color: var(--np-gold);
}

.book-puja-btn {
    background: var(--sacred-saffron, #F37420);
    color: var(--sacred-white, #fff);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-puja-btn:hover {
    background: var(--sacred-saffron-light, #EE6C4D);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 116, 32, 0.3);
}


/* ═══════════════════════════════════════════
   LOAD MORE BUTTON
   ═══════════════════════════════════════════ */

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sacred-white, #fff);
    color: var(--sacred-saffron, #F37420);
    border: 2px solid var(--sacred-saffron, #F37420);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.load-more-btn:hover {
    background: var(--sacred-saffron, #F37420);
    color: var(--sacred-white, #fff);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 116, 32, 0.2);
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 991px)
   ═══════════════════════════════════════════ */

@media (max-width: 991px) {
    .puja-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .puja-category-tabs {
        gap: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 5px;
        margin: 20px 0;
        -webkit-overflow-scrolling: touch;
    }

    .puja-category-tabs::-webkit-scrollbar { height: 0; }

    .category-tab {
        min-width: auto;
        padding: 10px 20px;
        white-space: nowrap;
    }

    .category-tab span { font-size: 14px; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 767px) — 2 per row
   ═══════════════════════════════════════════ */

@media (max-width: 767px) {
    .puja-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .puja-card-image {
        height: 140px;
    }

    .puja-card-badge {
        font-size: 10px;
        padding: 4px 10px;
        top: 10px;
        left: 10px;
    }

    .puja-card-content {
        padding: 10px;
    }

    .puja-card-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .puja-card-stats {
        margin-bottom: 10px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .rating-text {
        font-size: 12px;
    }

    .puja-conducted {
        font-size: 11px;
    }

    .puja-card-footer {
        flex-direction: column;
        gap: 6px;
    }

    .puja-card-footer .view-details-btn,
    .puja-card-footer .book-puja-btn {
        width: 100%;
        text-align: center;
        font-size: 12px;
        padding: 7px 8px;
        justify-content: center;
    }
}

/* ── Search box (show_search) — uses .np-input from forms.css ── */
.np-puja-search-wrap {
    position: relative;
    margin-bottom: 16px;
}
.np-puja-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--np-text-mid, #6B5B4F);
    pointer-events: none;
    z-index: 1;
}
.np-puja-search-wrap .np-input {
    padding-left: 44px;
}


/* ===== forms.css ===== */
/* =============================================================
   np-forms — Shared Form Input Component Styles (Desktop)
   Used on: Kundali, Panchang, Match-Making, and all form pages
   ============================================================= */

/* ── Field wrapper ──────────────────────────────────────────── */
.np-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Label ──────────────────────────────────────────────────── */
.np-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--np-text-dark, #3E2723);
    letter-spacing: 0.01em;
}

.np-label .np-required {
    color: var(--np-saffron, #F37420);
    margin-left: 2px;
}

/* ── Text selection — override browser blue ──────────────────── */
.np-field *::selection,
.np-input::selection,
.np-input-group *::selection,
.np-ts .ts-control *::selection {
    background: rgba(243, 116, 32, 0.20);
    color: var(--np-text-dark, #3E2723);
}

/* ── Base input ─────────────────────────────────────────────── */
.np-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-size: 15px;
    font-family: var(--np-font, 'Noto Sans', sans-serif);
    color: var(--np-text-dark, #3E2723);
    background: #fff;
    border: 1.5px solid #E0D5CC;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    accent-color: var(--np-saffron, #F37420);
    caret-color: var(--np-saffron, #F37420);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.np-input::placeholder {
    color: #B0A098;
    font-size: 14px;
}

.np-input:hover {
    border-color: #C8B8AE;
}

.np-input:focus {
    border-color: var(--np-saffron, #F37420);
    box-shadow: 0 0 0 3px rgba(243, 116, 32, 0.12);
}

/* ── Textarea ───────────────────────────────────────────────── */
textarea.np-input,
.np-textarea {
    height: auto;
    min-height: 100px;
    padding: 12px 14px;
    resize: vertical;
    line-height: 1.6;
}

/* ── States ─────────────────────────────────────────────────── */
.np-input.is-error,
.np-input.is-error:focus {
    border-color: #E53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.10);
}

.np-input.is-success,
.np-input.is-success:focus {
    border-color: #43A047;
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.10);
}

.np-input:disabled {
    background: #F5F0EC;
    border-color: #E0D5CC;
    color: #B0A098;
    cursor: not-allowed;
}

/* ── Helper / error / success text ─────────────────────────── */
.np-helper {
    font-size: 12px;
    color: var(--np-text-mid, #6B5B4F);
    margin-top: 2px;
    line-height: 1.4;
}

.np-error-text {
    font-size: 12px;
    color: #E53935;
    margin-top: 2px;
}

.np-success-text {
    font-size: 12px;
    color: #43A047;
    margin-top: 2px;
}

/* ── Input group (input + button side by side) ────────────── */
.np-input-group {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1.5px solid #E0D5CC;
    border-radius: 10px;
    /* No overflow:hidden — it clips the country-code picker dropdown */
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.np-input-group:hover {
    border-color: #C8B8AE;
}

.np-input-group:focus-within {
    border-color: var(--np-saffron, #F37420);
    box-shadow: 0 0 0 3px rgba(243, 116, 32, 0.12);
}

.np-input-group.is-error {
    border-color: #E53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.10);
}

/* The picker must escape overflow — ensure visibility */
.np-input-group .np-cc-picker {
    overflow: visible;
}

.np-input-group .np-cc-picker__trigger {
    border-radius: 8px 0 0 8px !important;
}

.np-input-group__btn:last-child {
    border-radius: 0 8px 8px 0;
}

/* Clip button corners to match container radius */
.np-input-group>*:first-child {
    border-radius: 8px 0 0 8px;
}

.np-input-group>*:last-child {
    border-radius: 0 8px 8px 0;
}

/* But picker dropdown must escape — reset its own radius */
.np-input-group .np-cc-picker {
    overflow: visible;
    border-radius: 8px 0 0 8px;
}

.np-input-group .np-cc-picker__dropdown {
    border-radius: 12px;
}

.np-input-group .np-input {
    flex: 1;
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 46px;
    background: transparent;
    font-size: 15px;
}

.np-input-group .np-input:focus {
    border: none;
    box-shadow: none;
}

/* Filled (solid) group button */
.np-input-group__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-left: 1.5px solid #E0D5CC;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, opacity 0.2s ease;
    background: var(--np-saffron, #F37420);
    color: #fff;
}

.np-input-group__btn:hover {
    background: var(--np-saffron-dark, #e05515);
}

.np-input-group__btn:active {
    opacity: 0.85;
}

/* Outlined group button */
.np-input-group__btn--outline {
    background: transparent;
    color: var(--np-saffron, #F37420);
    border-left: 1.5px solid #E0D5CC;
}

.np-input-group__btn--outline:hover {
    background: rgba(243, 116, 32, 0.06);
}

/* Ghost/text-only group button */
.np-input-group__btn--ghost {
    background: transparent;
    color: var(--np-text-mid, #6B5B4F);
    font-weight: 500;
    border-left: 1.5px solid #E0D5CC;
}

.np-input-group__btn--ghost:hover {
    background: #F5F0EC;
}

/* btn_color modifiers — override the default saffron fill */
.np-input-group__btn--green {
    background: var(--np-green, #059669) !important;
    color: #fff !important;
}

.np-input-group__btn--green:hover {
    background: #047857 !important;
}

.np-input-group__btn--green:active {
    background: #065f46 !important;
}

.np-input-group__btn--dark {
    background: var(--np-text-dark, #3E2723) !important;
    color: #fff !important;
}

.np-input-group__btn--white {
    background: #fff !important;
    color: var(--np-saffron, #F37420) !important;
}

/* ── Custom select (.np-cs) ──────────────────────────────────── */
.np-cs {
    position: relative;
    width: 100%;
    height: 46px;
    background: #fff;
    border: 1.5px solid #E0D5CC;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--np-text-dark, #3E2723);
    font-family: var(--np-font, 'Noto Sans', sans-serif);
}

.np-cs:hover {
    border-color: #C8B8AE;
}

.np-cs:focus,
.np-cs.is-open {
    border-color: var(--np-saffron, #F37420);
    box-shadow: 0 0 0 3px rgba(243, 116, 32, 0.12);
}

.np-cs__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    height: 100%;
    gap: 8px;
}

.np-cs__text {
    font-size: 15px;
    color: var(--np-text-dark, #3E2723);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.np-cs__text.is-placeholder {
    color: #B0A098;
    font-size: 14px;
}

.np-cs__arrow {
    flex-shrink: 0;
    color: #B0A098;
    transition: transform 0.2s ease, color 0.2s ease;
}

.np-cs.is-open .np-cs__arrow {
    transform: rotate(180deg);
    color: var(--np-saffron, #F37420);
}

.np-cs__list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: -1.5px;
    right: -1.5px;
    z-index: 1050;
    background: #fff;
    border: 1.5px solid var(--np-saffron, #F37420);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    list-style: none;
    padding: 4px 0;
    margin: 0;
    max-height: 240px;
    overflow-y: auto;
}

.np-cs.is-open .np-cs__list {
    display: block;
}

.np-cs__option {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--np-text-dark, #3E2723);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.np-cs__option:hover,
.np-cs__option.is-focused {
    background: var(--np-bg-cream, #FFF8F0);
    color: var(--np-saffron, #F37420);
}

.np-cs__option.is-selected {
    background: rgba(243, 116, 32, 0.08);
    color: var(--np-text-dark, #3E2723);
    font-weight: 600;
}

.np-cs__option.is-selected.is-focused {
    background: rgba(243, 116, 32, 0.14);
    color: var(--np-saffron, #F37420);
}

/* ── Native select (kept for fallback pages) ─────────────────── */
.np-select-native {
    width: 100%;
    height: 46px;
    padding: 0 38px 0 14px;
    font-size: 15px;
    font-family: var(--np-font, 'Noto Sans', sans-serif);
    color: var(--np-text-dark, #3E2723);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B0A098' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1.5px solid #E0D5CC;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    accent-color: var(--np-saffron, #F37420);
    color-scheme: light;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.np-select-native:hover {
    border-color: #C8B8AE;
}

.np-select-native:focus {
    border-color: var(--np-saffron, #F37420);
    box-shadow: 0 0 0 3px rgba(243, 116, 32, 0.12);
}

/* ── Phone group (country code + input) ─────────────────────── */
.np-phone-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #E0D5CC;
    border-radius: 12px;
    /* No overflow:hidden — clips the picker dropdown */
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.np-phone-group:focus-within {
    border-color: var(--np-saffron, #F37420);
    box-shadow: 0 0 0 3px rgba(243, 116, 32, 0.12);
}

/* Allow picker dropdown to escape container */
.np-phone-group .np-cc-picker {
    overflow: visible;
}

.np-phone-group .np-cc-picker__trigger {
    border-radius: 10px 0 0 10px;
}

.np-input--phone {
    border: none !important;
    border-radius: 0 10px 10px 0 !important;
    box-shadow: none !important;
    flex: 1;
    min-width: 0;
}

/* ── Custom country-code picker (.np-cc-picker) ──────────── */
/* Trigger button */
.np-cc-picker {
    position: relative;
    flex-shrink: 0;
}

.np-cc-picker__trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 46px;
    padding: 0 10px 0 12px;
    background: var(--np-bg-cream, #FFF8F0);
    border: none;
    border-right: 1.5px solid #E0D5CC;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--np-font, 'Noto Sans', sans-serif);
    font-weight: 500;
    color: var(--np-text-dark, #3E2723);
    white-space: nowrap;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.np-cc-picker__trigger:hover {
    background: #F0E8E0;
}

.np-cc-picker__trigger svg {
    opacity: 0.55;
    transition: transform 0.2s ease;
}

.np-cc-picker.is-open .np-cc-picker__trigger svg {
    transform: rotate(180deg);
    opacity: 0.9;
}

/* Dropdown panel */
.np-cc-picker__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: -1px;
    z-index: 1200;
    background: #fff;
    border: 1.5px solid var(--np-saffron, #F37420);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
    min-width: 200px;
    overflow: hidden;
}

.np-cc-picker.is-open .np-cc-picker__dropdown {
    display: block;
}

/* Search box */
.np-cc-picker__search-wrap {
    padding: 8px 10px;
    border-bottom: 1px solid #F0E8E0;
}

.np-cc-picker__search {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
    font-family: var(--np-font, 'Noto Sans', sans-serif);
    border: 1.5px solid #E0D5CC;
    border-radius: 8px;
    outline: none;
    background: #FFFBF5;
    color: var(--np-text-dark, #3E2723);
    caret-color: var(--np-saffron, #F37420);
    box-sizing: border-box;
}

.np-cc-picker__search:focus {
    border-color: var(--np-saffron, #F37420);
}

/* Options list */
.np-cc-picker__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
}

.np-cc-picker__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--np-text-dark, #3E2723);
    cursor: pointer;
    transition: background 0.12s;
}

.np-cc-picker__option:hover {
    background: var(--np-bg-cream, #FFF8F0);
}

.np-cc-picker__option.is-selected {
    background: rgba(243, 116, 32, 0.08);
    font-weight: 600;
    color: var(--np-saffron, #F37420);
}

.np-cc-picker__option-flag {
    font-size: 18px;
    line-height: 1;
}

.np-cc-picker__option-name {
    flex: 1;
    font-size: 13px;
    color: var(--np-text-mid, #6B5B4F);
}

.np-cc-picker__option-code {
    font-weight: 600;
    color: var(--np-saffron, #F37420);
    font-size: 13px;
}

/* Hidden native input (value carrier) */
.np-cc-picker input[type="hidden"] {
    display: none;
}

/* When picker is inside .np-phone-group or .np-input-group */
.np-phone-group .np-cc-picker__trigger,
.np-input-group .np-cc-picker__trigger {
    border-radius: 0;
}


/* ── Time input (Flatpickr) ─────────────────────────────────── */
/* Use both selectors — .flatpickr-input.np-input would otherwise win */
.np-time-input,
.flatpickr-input.np-time-input {
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23B0A098' stroke-width='1.8'/%3E%3Cpath d='M12 7v5l3 3' stroke='%23B0A098' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center !important;
    padding-right: 38px !important;
}

/* Flatpickr time-only widget overrides */
.flatpickr-calendar.hasTime.noCalendar {
    border: 1.5px solid var(--np-saffron, #F37420) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    padding: 16px !important;
    width: auto !important;
    min-width: 200px;
}

.flatpickr-time {
    border: none !important;
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
    font-family: var(--np-font, 'Noto Sans', sans-serif) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--np-text-dark, #3E2723) !important;
    background: var(--np-bg-cream, #FFF8F0) !important;
    border-radius: 8px !important;
    border: 1.5px solid #E0D5CC !important;
    height: 48px !important;
}

.flatpickr-time .flatpickr-am-pm {
    min-width: 52px !important;
    text-align: center !important;
    font-size: 16px !important;
}

.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus,
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover {
    background: rgba(243, 116, 32, 0.06) !important;
    border-color: var(--np-saffron, #F37420) !important;
    color: var(--np-saffron, #F37420) !important;
}

.flatpickr-time .numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--np-saffron, #F37420) !important;
}

.flatpickr-time .numInputWrapper span.arrowDown:after {
    border-top-color: var(--np-saffron, #F37420) !important;
}

/* ── Flatpickr date-picker overrides ────────────────────────── */
.flatpickr-input.np-input {
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='18' rx='3' stroke='%23B0A098' stroke-width='1.8'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4' stroke='%23B0A098' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding-right: 38px;
}

.flatpickr-calendar {
    border: 1px solid #E0D5CC !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    font-family: var(--np-font, 'Noto Sans', sans-serif) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--np-saffron, #F37420) !important;
    border-color: var(--np-saffron, #F37420) !important;
}

.flatpickr-day:hover {
    background: var(--np-bg-cream, #FFF8F0) !important;
    border-color: transparent !important;
}

.flatpickr-day.today {
    border-color: var(--np-saffron, #F37420) !important;
}

.flatpickr-months .flatpickr-month,
.flatpickr-weekdays {
    background: var(--np-bg-cream, #FFF8F0) !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    fill: var(--np-saffron, #F37420) !important;
}

/* ── Tom Select overrides ────────────────────────────────────── */
.ts-wrapper.np-ts {
    --ts-border-radius: 10px;
    --ts-border-color: #E0D5CC;
    --ts-font-size: 15px;
    --ts-color: var(--np-text-dark, #3E2723);
}

.np-ts .ts-control {
    min-height: 46px;
    padding: 0 14px;
    border: 1.5px solid #E0D5CC;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    font-size: 15px;
    color: var(--np-text-dark, #3E2723);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.np-ts .ts-control:hover {
    border-color: #C8B8AE;
}

.np-ts.focus .ts-control {
    border-color: var(--np-saffron, #F37420) !important;
    box-shadow: 0 0 0 3px rgba(243, 116, 32, 0.12) !important;
}

.np-ts .ts-control input {
    font-size: 15px;
    color: var(--np-text-dark, #3E2723);
}

.np-ts .ts-control input::placeholder {
    color: #B0A098;
}

.np-ts .ts-dropdown {
    border: 1.5px solid #E0D5CC;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    margin-top: 4px;
    overflow: hidden;
}

.np-ts .ts-dropdown .option {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--np-text-dark, #3E2723);
    cursor: pointer;
    transition: background 0.15s;
}

.np-opt:hover,
.np-opt.active {
    background: var(--np-bg-cream, #FFF8F0);
    color: var(--np-saffron, #F37420);
}

.np-opt.selected {
    background: rgba(243, 116, 32, 0.08);
    color: var(--np-text-dark, #3E2723);
    font-weight: 600;
}

.np-opt.active.selected {
    background: rgba(243, 116, 32, 0.14);
    color: var(--np-saffron, #F37420);
}

.np-ts .ts-dropdown-content {
    max-height: 240px;
}

/* ── Autocomplete dropdown (city search) ────────────────────── */
.np-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1.5px solid #E0D5CC;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    max-height: 240px;
    overflow-y: auto;
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

.np-autocomplete-list li {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--np-text-dark, #3E2723);
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #F5F0EC;
}

.np-autocomplete-list li:last-child {
    border-bottom: none;
}

.np-autocomplete-list li:hover {
    background: var(--np-bg-cream, #FFF8F0);
    color: var(--np-saffron, #F37420);
}

/* ── Form card wrapper ──────────────────────────────────────── */
.np-form-card {
    background: var(--np-bg-light, #FFFBF5);
    border: 1px solid #F3D8B0;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.08);
}

/* ── Submit button ──────────────────────────────────────────── */
.np-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 36px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--np-font, 'Noto Sans', sans-serif);
    color: #fff;
    background: var(--np-grad-btn, linear-gradient(135deg, #b5310a 0%, #e05515 50%, #f7971e 100%));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(243, 116, 32, 0.30);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.np-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(243, 116, 32, 0.38);
}

.np-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(243, 116, 32, 0.28);
}

.np-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.np-select-native option:checked,
.np-select-native option:hover {
    background-color: var(--np-saffron) !important;
    color: #fff !important;

}

.np-select-native:focus {
    outline: none;
    border-color: var(--np-saffron);
    box-shadow: none;
}

/* ===== feature-grid.css ===== */
/*
 * Component : Feature Grid (np-feature-grid) — Desktop
 * File      : css/desktop/components/feature-grid.css
 * Loaded by : np_register_component('feature-grid', 'desktop', ...)
 *
 * Handles: "Our Expert Pandits", "Why [City] Families Trust 99Pandit",
 *          "Why Choose 99Pandit?" — Bootstrap grid layout on desktop.
 *
 * Usage (PHP):
 *   np_d_feature_grid([
 *       'title'    => 'Why Choose 99Pandit?',
 *       'subtitle' => 'We combine tradition with technology...',
 *       'cols'     => 3,
 *       'items'    => [
 *           ['icon' => 'admin_panel_settings', 'title' => 'Verified Pandits Only', 'desc' => '...'],
 *       ],
 *   ]);
 */


/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */

.np-feature-grid__header {
    margin-bottom: 2rem;
}

.np-feature-grid__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--np-text-dark, #3E2723);
    font-family: var(--np-font, 'Noto Sans', sans-serif);
    margin-bottom: 0.5rem;
}

.np-feature-grid__subtitle {
    font-size: 15px;
    color: var(--np-text-mid, #6B5B4F);
    line-height: 1.6;
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════
   CARD
   ═══════════════════════════════════════════════ */

.np-feature-grid__card {
    border: 1px solid rgba(243, 116, 32, 0.30);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    background: #fff;
    height: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.np-feature-grid__card:hover {
    border: 2px solid var(--np-saffron, #F37420);
    box-shadow: 0 4px 20px rgba(243, 116, 32, 0.12);
}

/* Clickable card (href on item) */
a.np-feature-grid__card--link,
a.np-feature-grid__card--link:hover,
a.np-feature-grid__card--link:visited {
    text-decoration: none;
    display: block;
    color: inherit;
}


/* ═══════════════════════════════════════════════
   ICON CIRCLE
   ═══════════════════════════════════════════════ */

.np-feature-grid__icon {
    background: #ffedd5;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.np-feature-grid__icon .material-symbols-outlined {
    color: var(--np-saffron, #F37420);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}


/* ═══════════════════════════════════════════════
   CARD TITLE & DESCRIPTION
   ═══════════════════════════════════════════════ */

.np-feature-grid__card-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--np-saffron, #F37420);
    margin: 0.75rem 0 0.4rem;
}

.np-feature-grid__card-desc {
    font-size: 14px;
    color: var(--np-text-mid, #6B5B4F);
    line-height: 1.6;
    margin: 0;
}


/* ═══════════════════════════════════════════════
   GRID ROW GAP
   ═══════════════════════════════════════════════ */

.np-feature-grid__row {
    row-gap: 1.5rem;
}


/* ===== reviews.css ===== */
/* =============================================================
   Reviews Section — Desktop Component
   Loaded via np_d_reviews_section() → np_register_component()
   ============================================================= */

/* ── Grid ── */
.feedback-minimal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

.feedback-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feedback-card-link-wrapper {
    perspective: 1200px;
    height: 100%;
}

.feedback-card-minimal {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
}

.feedback-card-minimal:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--np-saffron-light, #F3AF42);
}

/* ── Avatar ── */
.feedback-avatar-col {
    flex-shrink: 0;
}

.feedback-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.feedback-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--np-saffron, #F37420);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

/* ── Content ── */
.feedback-content-col {
    flex: 1;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.feedback-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--np-text-dark, #3E2723);
}

.feedback-stars {
    color: var(--np-gold, #DAA520);
    font-size: 11px;
    letter-spacing: 1px;
}

.feedback-text {
    font-size: 13px;
    color: var(--np-text-mid, #6B5B4F);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Buttons ── */
.read-more-review-btn {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--np-saffron, #F37420);
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.read-more-review-btn:hover {
    color: var(--np-saffron-dark, #e05515);
}

.view-all-reviews-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--np-saffron, #F37420) !important;
    border: 2px solid var(--np-saffron, #F37420);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-reviews-btn:hover {
    background: var(--np-saffron, #F37420);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 116, 32, 0.2);
}

/* ── Review Modal ── */
.review-modal-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--np-saffron, #F37420);
    border-radius: 50%;
}

.review-modal-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--np-saffron, #F37420);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(243, 116, 32, 0.2);
}

.review-modal-name {
    font-weight: 700;
    color: var(--np-text-dark, #3E2723);
    font-size: 16px;
}

.review-full-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--np-text-dark, #3E2723);
    margin: 0;
}

/* ── Flip animation (testimonials) ── */
.feedback-card-minimal.flipping {
    transform: rotateY(90deg);
    opacity: 0;
    transition: transform 0.4s ease-in, opacity 0.4s ease-in;
}

.feedback-card-minimal.flipped {
    animation: np-flipIn 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

@keyframes np-flipIn {
    0%   { transform: rotateY(-90deg); opacity: 0; }
    100% { transform: rotateY(0deg);   opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .feedback-minimal-grid {
        grid-template-columns: 1fr;
    }
    .feedback-card-minimal {
        padding: 12px;
    }
}


/* ===== cta-section.css ===== */
/* ══════════════════════════════════════════════
   DESKTOP CTA SECTION COMPONENT  —  np_d_cta_section()
   ══════════════════════════════════════════════ */

.np-d-cta {
    padding: 48px 0;
    text-align: center;
    background: var(--np-bg-light-peach);
}

.np-d-cta__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--np-text-dark, #3E2723);
    margin-bottom: 12px;
}

.np-d-cta__subtitle {
    font-size: 16px;
    color: var(--np-text-mid, #6B5B4F);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.np-d-cta__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.np-d-cta__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    color: var(--np-text-mid, #6B5B4F);
}

.np-d-cta__trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.np-d-cta__trust-item .material-symbols-outlined {
    font-size: 16px;
    color: var(--np-saffron, #F37420);
}

