/* =============================================================
   PujaSanskriti - Components CSS
   ============================================================= */

/* ── Product Cards ──────────────────────────────────────────── */
.product-card {
    background: var(--ps-white);
    border-radius: var(--ps-radius-lg);
    border: 1.5px solid var(--ps-border);
    overflow: hidden;
    transition: var(--ps-transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ps-shadow-hover);
    border-color: transparent;
}
.product-card-image {
    position: relative;
    overflow: hidden;
    background: var(--ps-cream);
    aspect-ratio: 1 / 1;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--ps-border);
    background: var(--ps-cream);
}

.product-badge {
    position: absolute;
    top: .75rem; left: .75rem;
    background: var(--ps-saffron);
    color: var(--ps-white);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .2rem .6rem;
    border-radius: var(--ps-radius-pill);
}
.product-badge.badge-new    { background: #28a745; }
.product-badge.badge-sale   { background: #dc3545; }
.product-badge.badge-hot    { background: var(--ps-saffron); }
.product-badge.badge-kit    { background: var(--ps-gold); }

.product-wishlist-btn {
    position: absolute;
    top: .75rem; right: .75rem;
    width: 34px; height: 34px;
    background: var(--ps-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--ps-border);
    color: var(--ps-text-muted);
    font-size: .85rem;
    cursor: pointer;
    transition: var(--ps-transition-fast);
    box-shadow: var(--ps-shadow-sm);
}
.product-wishlist-btn:hover,
.product-wishlist-btn.active { color: #dc3545; border-color: #dc3545; background: #fff5f5; }

.product-quick-add {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--ps-saffron);
    color: var(--ps-white);
    text-align: center;
    padding: .6rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(100%);
    transition: var(--ps-transition-fast);
    border: none;
    width: 100%;
}
.product-card:hover .product-quick-add { transform: translateY(0); }

.product-card-body {
    padding: 1rem 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-category {
    font-size: .7rem;
    font-weight: 600;
    color: var(--ps-saffron);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .3rem;
}
.product-name {
    font-family: var(--ps-font-serif);
    font-size: 1rem;
    color: var(--ps-dark);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .6rem;
    font-size: .78rem;
}
.stars { color: var(--ps-gold); }
.rating-count { color: var(--ps-text-muted); }

.product-price {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-top: auto;
}
.price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ps-maroon);
}
.price-original {
    font-size: .85rem;
    color: var(--ps-text-muted);
    text-decoration: line-through;
}
.price-discount {
    font-size: .75rem;
    font-weight: 700;
    color: #28a745;
    background: #e8f5e9;
    padding: .1rem .4rem;
    border-radius: var(--ps-radius-pill);
}

.product-card-footer {
    padding: .75rem 1.1rem;
    border-top: 1px solid var(--ps-border);
    background: var(--ps-cream);
}
.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--ps-maroon), var(--ps-maroon-dark));
    color: var(--ps-white);
    border: none;
    border-radius: var(--ps-radius-sm);
    padding: .55rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ps-transition-fast);
    display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--ps-saffron), var(--ps-saffron-dark));
}

/* ── Pandit Cards (Modern Vedic Luxury) ──────────────────────── */
.pandit-card,
.pandit-featured-card,
.pandit-listing-card {
    background: var(--ps-white);
    border-radius: var(--ps-radius-lg);
    border: 1px solid #ebd9c2;
    overflow: hidden;
    transition: var(--ps-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(139, 26, 26, 0.05);
}
.pandit-card:hover,
.pandit-featured-card:hover,
.pandit-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(139, 26, 26, 0.12);
    border-color: #dfcaa8;
}

/* Featured Pandit Card (Landing Page) */
.pandit-featured-card {
    border-top: 3.5px solid var(--ps-gold);
}
.pandit-featured-header {
    background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
    padding: 1.25rem 1.25rem 0.5rem;
    text-align: center;
    position: relative;
    border-bottom: 1px dashed #f3e5d0;
}
.pandit-featured-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.badge-vedic-pill {
    background: rgba(200, 150, 46, 0.12);
    color: #8b5500;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: var(--ps-radius-pill);
    border: 1px solid rgba(200, 150, 46, 0.3);
    display: inline-flex;
    align-items: center;
}
.badge-rating-pill {
    background: #fff;
    color: var(--ps-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--ps-radius-pill);
    border: 1px solid #f0dfcb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: inline-flex;
    align-items: center;
}
.pandit-avatar-wrap {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto 0.65rem;
}
.pandit-avatar-wrap img,
.pandit-avatar-wrap .pandit-avatar-placeholder {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ps-gold);
    box-shadow: 0 4px 14px rgba(200, 150, 46, 0.28);
    display: block;
}
.pandit-avatar-placeholder {
    background: linear-gradient(135deg, var(--ps-saffron), var(--ps-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--ps-font-serif);
}
.pandit-avatar-wrap .verified-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background: #28a745;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.pandit-featured-name {
    font-family: var(--ps-font-serif);
    color: var(--ps-maroon) !important;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    line-height: 1.25;
}
.pandit-featured-specialization {
    color: var(--ps-saffron-dark) !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Credential strip inside cards */
.pandit-cred-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fff9f0;
    border: 1px solid #f6e6d2;
    border-radius: 10px;
    padding: 0.45rem 0.5rem;
    margin: 0.75rem 0;
    font-size: 0.78rem;
    color: var(--ps-text-muted);
}
.pandit-cred-strip .cred-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.pandit-cred-strip .cred-divider {
    width: 1px;
    height: 16px;
    background: #e6d3bd;
}

/* Ceremony & Language tags */
.ceremony-tag {
    background: #fff8ee;
    color: #8b3e00;
    border: 1px solid #f6d8b2;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    display: inline-flex;
    align-items: center;
    transition: var(--ps-transition-fast);
}
.ceremony-tag:hover {
    background: #ffeed5;
    border-color: var(--ps-saffron);
}
.lang-chip {
    background: #faf6f0;
    color: #5a4a3a;
    border: 1px solid #eadbc8;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 12px;
    padding: 0.15rem 0.5rem;
    display: inline-block;
}
.lang-chip-more {
    background: var(--ps-cream);
    color: var(--ps-maroon);
    border: 1px dashed var(--ps-border);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.15rem 0.5rem;
    cursor: default;
}

/* Pandit Card Footers */
.dakshina-box {
    display: flex;
    flex-direction: column;
}
.dakshina-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ps-text-muted);
    line-height: 1;
    margin-bottom: 2px;
}
.dakshina-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ps-maroon);
    line-height: 1.1;
}

/* Pandit Listing Card (Directory) */
.pandit-listing-card {
    border-top: 3.5px solid var(--ps-saffron);
    padding: 1.35rem 1.4rem;
}
.pandit-listing-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.pandit-listing-avatar-wrap {
    position: relative;
    width: 74px;
    height: 74px;
    flex-shrink: 0;
}
.pandit-listing-avatar-wrap img,
.pandit-listing-avatar-wrap .pandit-avatar-placeholder {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ps-gold);
    box-shadow: 0 4px 12px rgba(200, 150, 46, 0.22);
    display: block;
}
.pandit-listing-avatar-wrap .verified-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: #28a745;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.badge-vedic-tag {
    background: rgba(40, 167, 69, 0.1);
    color: #1e7e34;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}
.pandit-listing-name {
    font-family: var(--ps-font-serif);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--ps-maroon) !important;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}
.pandit-fee {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ps-maroon);
    margin-bottom: 1rem;
}
.pandit-fee small { font-size: .75rem; font-weight: 400; color: var(--ps-text-muted); }

.book-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--ps-saffron), var(--ps-saffron-dark));
    color: var(--ps-white);
    border: none;
    border-radius: var(--ps-radius-sm);
    padding: .65rem;
    font-weight: 600;
    font-size: .875rem;
    cursor: pointer;
    transition: var(--ps-transition-fast);
    text-align: center;
    display: block;
    text-decoration: none;
}
.book-btn:hover {
    background: linear-gradient(135deg, var(--ps-gold), var(--ps-gold-dark));
    color: var(--ps-white);
}

/* ── Service Cards ──────────────────────────────────────────── */
.service-card {
    background: var(--ps-white);
    border-radius: var(--ps-radius-lg);
    border: 1.5px solid var(--ps-border);
    padding: 2rem 1.5rem;
    transition: var(--ps-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ps-saffron), var(--ps-gold));
    opacity: 0;
    transition: var(--ps-transition-fast);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--ps-shadow-hover); }
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--ps-cream), var(--ps-beige));
    border-radius: var(--ps-radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--ps-saffron);
    margin-bottom: 1.25rem;
    border: 1.5px solid var(--ps-border);
    transition: var(--ps-transition-fast);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--ps-saffron), var(--ps-gold));
    color: var(--ps-white);
    border-color: transparent;
}
.service-name {
    font-family: var(--ps-font-serif);
    font-size: 1.05rem;
    color: var(--ps-dark);
    margin-bottom: .5rem;
}
.service-desc { font-size: .85rem; color: var(--ps-text-muted); line-height: 1.6; margin-bottom: 1rem; }
.service-price {
    font-weight: 700;
    color: var(--ps-maroon);
    font-size: .95rem;
}
.service-price small { font-weight: 400; color: var(--ps-text-muted); font-size: .75rem; }

/* ── Booking Steps ──────────────────────────────────────────── */
.booking-steps {
    display: flex;
    counter-reset: step;
    position: relative;
}
.booking-step {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}
.booking-step::after {
    content: '';
    position: absolute;
    top: 2.25rem; left: 60%;
    width: 80%; height: 2px;
    background: var(--ps-border);
}
.booking-step:last-child::after { display: none; }
.booking-step-num {
    width: 48px; height: 48px;
    background: var(--ps-white);
    border: 2px solid var(--ps-saffron);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ps-saffron);
    margin: 0 auto .75rem;
    position: relative;
    z-index: 1;
    background: var(--ps-white);
}
.booking-step.active .booking-step-num {
    background: var(--ps-saffron);
    color: var(--ps-white);
}

/* ── Rating Stars ───────────────────────────────────────────── */
.star-rating { display: flex; gap: 3px; }
.star-rating i { color: #ddd; cursor: pointer; transition: var(--ps-transition-fast); }
.star-rating i.filled,
.star-rating i:hover,
.star-rating i.hover { color: var(--ps-gold); }
.star-rating-display i { color: var(--ps-gold); font-size: .8rem; }
.star-rating-display i.empty { color: #ddd; }

/* ── Badges / Chips ─────────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--ps-cream);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-pill);
    padding: .25rem .75rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--ps-text);
}
.chip.active { background: var(--ps-saffron); color: var(--ps-white); border-color: var(--ps-saffron); }
.chip-maroon { background: var(--ps-maroon); color: var(--ps-white); border-color: var(--ps-maroon); }
.chip-gold   { background: var(--ps-gold);   color: var(--ps-white); border-color: var(--ps-gold); }

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .2rem .65rem;
    border-radius: var(--ps-radius-pill);
}
.status-pending    { background: #fff3cd; color: #856404; }
.status-confirmed  { background: #d1ecf1; color: #0c5460; }
.status-completed  { background: #d4edda; color: #155724; }
.status-cancelled  { background: #f8d7da; color: #721c24; }
.status-paid       { background: #d4edda; color: #155724; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped    { background: #e2d9f3; color: #4a0e8f; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination-ps { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.page-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--ps-radius-sm);
    border: 1.5px solid var(--ps-border);
    background: var(--ps-white);
    color: var(--ps-text);
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ps-transition-fast);
    text-decoration: none;
}
.page-btn:hover { border-color: var(--ps-saffron); color: var(--ps-saffron); }
.page-btn.active { background: var(--ps-saffron); color: var(--ps-white); border-color: var(--ps-saffron); }
.page-btn:disabled,
.page-btn.disabled { opacity: .4; cursor: not-allowed; }

/* ── Cart Styles ────────────────────────────────────────────── */
.cart-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--ps-white);
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border);
    margin-bottom: .75rem;
}
.cart-item-image {
    width: 90px; height: 90px;
    border-radius: var(--ps-radius-sm);
    object-fit: cover;
    background: var(--ps-cream);
    flex-shrink: 0;
}
.cart-item-details { flex: 1; }
.cart-item-name {
    font-weight: 600;
    color: var(--ps-dark);
    font-size: .95rem;
    margin-bottom: .25rem;
}
.cart-item-price { color: var(--ps-maroon); font-weight: 700; }
.qty-control {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
}
.qty-btn {
    width: 30px; height: 30px;
    border-radius: var(--ps-radius-sm);
    border: 1.5px solid var(--ps-border);
    background: var(--ps-white);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem;
    transition: var(--ps-transition-fast);
    color: var(--ps-text);
}
.qty-btn:hover { border-color: var(--ps-saffron); color: var(--ps-saffron); }
.qty-input {
    width: 45px;
    text-align: center;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    padding: .25rem;
    font-size: .875rem;
}

/* ── Order Summary Box ──────────────────────────────────────── */
.order-summary-box {
    background: var(--ps-cream);
    border-radius: var(--ps-radius-lg);
    padding: 1.75rem;
    border: 1.5px solid var(--ps-border);
    position: sticky;
    top: calc(var(--navbar-h) + 1rem);
}
.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
    font-size: .9rem;
    border-bottom: 1px dashed var(--ps-border);
}
.order-summary-row:last-of-type { border-bottom: none; }
.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ps-maroon);
    border-top: 2px solid var(--ps-border);
    margin-top: .5rem;
}

/* ── Dashboard Cards ────────────────────────────────────────── */
.dash-stat-card {
    background: var(--ps-white);
    border-radius: var(--ps-radius-lg);
    padding: 1.5rem;
    border: 1.5px solid var(--ps-border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--ps-transition-fast);
}
.dash-stat-card:hover { box-shadow: var(--ps-shadow); transform: translateY(-2px); }
.dash-stat-icon {
    width: 56px; height: 56px;
    border-radius: var(--ps-radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.dash-stat-icon.saffron { background: rgba(255,107,0,.12); color: var(--ps-saffron); }
.dash-stat-icon.maroon  { background: rgba(139,26,26,.1);  color: var(--ps-maroon); }
.dash-stat-icon.gold    { background: rgba(200,150,46,.12); color: var(--ps-gold); }
.dash-stat-icon.green   { background: rgba(40,167,69,.1);   color: #28a745; }
.dash-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--ps-dark); line-height: 1; }
.dash-stat-label { font-size: .8rem; color: var(--ps-text-muted); margin-top: .2rem; }

/* ── Empty States ───────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--ps-text-muted);
}
.empty-state-icon {
    font-size: 4rem;
    color: var(--ps-border);
    margin-bottom: 1rem;
}
.empty-state h5 { color: var(--ps-text); margin-bottom: .5rem; }
.empty-state p { font-size: .9rem; max-width: 320px; margin: 0 auto 1.5rem; }

/* ── Filter Sidebar ─────────────────────────────────────────── */
.filter-sidebar {
    background: var(--ps-white);
    border-radius: var(--ps-radius-lg);
    padding: 1.5rem;
    border: 1.5px solid var(--ps-border);
    position: sticky;
    top: calc(var(--navbar-h) + 1rem);
}
.filter-section-title {
    font-weight: 700;
    font-size: .85rem;
    color: var(--ps-dark);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--ps-border);
}
.filter-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 0;
    font-size: .875rem;
    cursor: pointer;
    color: var(--ps-text);
}
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] { accent-color: var(--ps-saffron); }

/* ── Modals ─────────────────────────────────────────────────── */
.modal-ps .modal-content {
    border-radius: var(--ps-radius-lg);
    border: none;
    box-shadow: var(--ps-shadow-lg);
    overflow: hidden;
}
.modal-ps .modal-header {
    background: linear-gradient(135deg, var(--ps-maroon), var(--ps-maroon-dark));
    color: var(--ps-white);
    border: none;
    padding: 1.25rem 1.5rem;
}
.modal-ps .modal-title { font-family: var(--ps-font-serif); }
.modal-ps .btn-close { filter: invert(1); }
.modal-ps .modal-footer { border-top: 1px solid var(--ps-border); padding: 1rem 1.5rem; }

/* ── Tables ─────────────────────────────────────────────────── */
.table-ps {
    background: var(--ps-white);
    border-radius: var(--ps-radius);
    overflow: hidden;
    border: 1px solid var(--ps-border);
}
.table-ps thead tr {
    background: var(--ps-cream);
}
.table-ps thead th {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ps-text-muted);
    border-bottom: 2px solid var(--ps-border);
    padding: .85rem 1rem;
}
.table-ps tbody td {
    padding: .85rem 1rem;
    font-size: .875rem;
    border-bottom: 1px solid var(--ps-border);
    vertical-align: middle;
}
.table-ps tbody tr:last-child td { border-bottom: none; }
.table-ps tbody tr:hover { background: var(--ps-ivory); }

/* ── Quantity Input ─────────────────────────────────────────── */
.quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    overflow: hidden;
}
.quantity-wrapper input {
    width: 52px;
    text-align: center;
    border: none;
    outline: none;
    font-size: .9rem;
    font-weight: 600;
    background: var(--ps-white);
}
.quantity-wrapper button {
    width: 34px; height: 34px;
    background: var(--ps-cream);
    border: none;
    cursor: pointer;
    font-size: .85rem;
    color: var(--ps-text);
    transition: var(--ps-transition-fast);
}
.quantity-wrapper button:hover { background: var(--ps-saffron); color: var(--ps-white); }

/* ── Festival Banner ────────────────────────────────────────── */
.festival-banner {
    background: linear-gradient(135deg, #FF6B00 0%, #C8962E 50%, #8B1A1A 100%);
    border-radius: var(--ps-radius-lg);
    padding: 2.5rem;
    color: var(--ps-white);
    overflow: hidden;
    position: relative;
}
.festival-banner::before {
    content: 'ॐ';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: .08;
    font-family: var(--ps-font-hindi);
}

/* ── Scroll to Top ──────────────────────────────────────────── */
#scrollTop {
    position: fixed;
    bottom: 2rem; right: 1.5rem;
    width: 44px; height: 44px;
    background: var(--ps-saffron);
    color: var(--ps-white);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--ps-shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--ps-transition);
    z-index: 999;
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { background: var(--ps-saffron-dark); transform: translateY(-3px); }

/* ── Auth OTP Tabs & Inputs ─────────────────────────────────── */
.auth-tabs {
    display: flex;
    background: var(--ps-cream);
    border-radius: var(--ps-radius-pill);
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--ps-border);
}
.auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 14px;
    border-radius: var(--ps-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ps-text-muted);
    transition: var(--ps-transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.auth-tab-btn.active {
    background: var(--ps-white);
    color: var(--ps-maroon);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.otp-input-large {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.45em !important;
    text-align: center !important;
    padding: 0.6rem 0.5rem !important;
    background: #fffcf8 !important;
    border: 2px solid var(--ps-gold) !important;
    border-radius: 12px !important;
}
.otp-input-large:focus {
    border-color: var(--ps-saffron) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15) !important;
}
.phone-prefix-addon {
    background: var(--ps-cream);
    border: 1.5px solid var(--ps-border);
    border-right: none;
    border-radius: var(--ps-radius-pill) 0 0 var(--ps-radius-pill);
    font-weight: 700;
    color: var(--ps-dark);
    padding: 0.5rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}
.phone-prefix-input {
    border-radius: 0 var(--ps-radius-pill) var(--ps-radius-pill) 0 !important;
}

/* ── Professional Dual-Point Horizontal Range Slider ───────── */
.price-filter-card {
    background: #fffcf8;
    border: 1.5px solid #ebd9c2;
    border-radius: var(--ps-radius);
    padding: 1rem;
    transition: var(--ps-transition-fast);
}
.price-filter-card:hover {
    border-color: #dfcaa8;
    box-shadow: 0 4px 14px rgba(139, 26, 26, 0.05);
}
.dual-range-container {
    position: relative;
    height: 38px;
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}
.dual-range-track {
    position: absolute;
    width: 100%;
    height: 7px;
    background: #eeddc9;
    border-radius: 6px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.dual-range-highlight {
    position: absolute;
    height: 7px;
    background: linear-gradient(90deg, var(--ps-saffron) 0%, var(--ps-gold) 100%);
    border-radius: 6px;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 1px 4px rgba(255, 107, 0, 0.35);
}
.dual-range-container input[type="range"] {
    position: absolute;
    width: 100%;
    height: 7px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    outline: none;
}
.dual-range-container input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--ps-saffron);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dual-range-container input[type="range"]::-webkit-slider-thumb:hover,
.dual-range-container input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.18);
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.2);
    border-color: var(--ps-maroon);
}
.dual-range-container input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--ps-saffron);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dual-range-container input[type="range"]::-moz-range-thumb:hover,
.dual-range-container input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.18);
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.2);
    border-color: var(--ps-maroon);
}
