@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f8f3ec;
    --bg-soft: #fffaf4;
    --surface: #ffffff;
    --surface-alt: #f5ede4;
    --line: #eadfce;
    --line-strong: #d8c7b3;
    --text: #2d241f;
    --muted: #776961;
    --primary: #d3672d;
    --primary-deep: #b74e19;
    --primary-soft: #f5d9ca;
    --success: #5f9d5d;
    --shadow: 0 22px 50px rgba(65, 40, 20, 0.08);
    --radius: 22px;
    --site-header-offset: 108px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(245, 213, 187, 0.55), transparent 26%),
        linear-gradient(180deg, #fdfaf6 0%, var(--bg) 100%);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

body[data-modal-open="true"] {
    overflow: hidden;
}

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

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

iframe,
video,
canvas,
svg {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-shell {
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    padding-top: var(--site-header-offset);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(253, 250, 246, 0.88);
    border-bottom: 1px solid rgba(216, 199, 179, 0.65);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(253, 250, 246, 0.96);
    border-bottom-color: rgba(216, 199, 179, 0.88);
    box-shadow: 0 12px 28px rgba(65, 40, 20, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    flex-wrap: wrap;
}

.site-nav-shell {
    display: contents;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex-shrink: 0;
}

.brand > div {
    min-width: 0;
}

.brand img {
    width: 176px;
    height: auto;
    max-width: min(38vw, 176px);
    object-fit: contain;
    border-radius: 0;
    border: none;
    display: block;
}

.brand-title {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    line-height: 1;
}

.brand-tag {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 18ch;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 10px 14px;
    min-height: 44px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.nav-link {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-link.is-active,
.nav-link:hover {
    background: rgba(211, 103, 45, 0.12);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.pill,
.cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    color: var(--muted);
    min-height: 42px;
}

.subtle-pill {
    background: rgba(255, 255, 255, 0.75);
}

.cart-pill strong {
    color: var(--primary);
}

.user-menu {
    position: relative;
}

.user-trigger {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    color: var(--text);
    min-height: 42px;
    cursor: pointer;
}

.user-trigger::-webkit-details-marker {
    display: none;
}

.avatar-mini {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7e2d4;
    color: var(--primary);
    font-weight: 800;
}

.user-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 190px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 25;
    animation: dropdownIn 0.18s ease;
}

.user-menu-panel a,
.menu-form button {
    width: 100%;
    display: block;
    padding: 14px 16px;
    border: none;
    background: transparent;
    text-align: left;
    color: var(--text);
    cursor: pointer;
}

.user-menu-panel a:hover,
.menu-form button:hover {
    background: rgba(211, 103, 45, 0.08);
}

.menu-form {
    margin: 0;
}

.inline-form {
    margin: 0;
}

body[data-nav-open="true"] {
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 14px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(183, 78, 25, 0.22);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(211, 103, 45, 0.45);
}

.btn-google {
    background: #fff;
    color: var(--text);
    border: 1px solid rgba(216, 199, 179, 0.85);
    box-shadow: 0 10px 24px rgba(42, 28, 18, 0.06);
}

.btn-google:hover {
    border-color: rgba(211, 103, 45, 0.4);
}

.btn-google:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.btn-google.is-disabled {
    pointer-events: none;
    opacity: 0.7;
    transform: none;
}

.google-mark {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 28px;
}

.google-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.small-btn {
    padding: 10px 18px;
    min-height: 42px;
}

.full-width {
    width: 100%;
}

.hero,
.detail-layout,
.cart-layout,
.auth-grid {
    display: grid;
    gap: 26px;
}

.hero {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    padding: 42px 0 18px;
}

.hero-copy,
.section-head,
.card-body,
.temple-overlay,
.modal-content,
.profile-card,
.auth-card,
.policy-card,
.info-box,
.stat-card,
.benefit-item,
.booking-panel {
    min-width: 0;
}

.hero-copy h1,
.page-title,
.site-footer h3,
.section-head h2,
.modal-content h2,
.auth-card h2,
.profile-head h1 {
    font-family: 'Cormorant Garamond', serif;
}

.hero-copy h1 {
    font-size: clamp(3.4rem, 5vw, 5rem);
    line-height: 0.92;
    margin: 12px 0 18px;
    max-width: 520px;
}

.hero-copy p,
.lead-text,
.page-subtitle,
.site-footer p,
.card-body p,
.modal-content p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.eyebrow {
    display: inline-block;
    color: #d97946;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 800;
}

.small-eyebrow {
    font-size: 0.68rem;
}

.hero-media,
.detail-media,
.card-media,
.temple-card,
.modal-media,
.mini-media {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: #f1f3f5;
    aspect-ratio: var(--media-ratio, 3 / 2);
    min-height: 320px;
    width: 100%;
    max-width: 100%;
}

.image-frame {
    isolation: isolate;
}

.has-image {
    background: #f6f7f9;
}

.is-empty-image,
.is-broken {
    background: #eceff3;
}

.image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    color: #677281;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(244, 246, 248, 0.92)),
        #eceff3;
}

.has-image .image-placeholder {
    display: none;
}

.is-broken .image-placeholder,
.is-empty-image .image-placeholder {
    display: grid;
}

.image-placeholder strong {
    display: block;
    color: #435064;
    font-size: 1rem;
}

.image-placeholder span {
    font-size: 0.9rem;
    line-height: 1.5;
}

.image-placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 1px solid rgba(103, 114, 129, 0.2);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(234, 238, 242, 0.95));
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.image-placeholder-icon::before,
.image-placeholder-icon::after {
    content: "";
    position: absolute;
}

.image-placeholder-icon::before {
    inset: 15px 12px 17px;
    border-radius: 10px;
    border: 2px solid rgba(103, 114, 129, 0.45);
}

.image-placeholder-icon::after {
    left: 20px;
    right: 20px;
    bottom: 22px;
    height: 14px;
    background:
        linear-gradient(135deg, transparent 22%, rgba(103, 114, 129, 0.45) 23%, rgba(103, 114, 129, 0.45) 52%, transparent 53%),
        linear-gradient(45deg, transparent 34%, rgba(103, 114, 129, 0.45) 35%, rgba(103, 114, 129, 0.45) 67%, transparent 68%);
}

.hero-slide .image-placeholder,
.detail-media .image-placeholder,
.modal-media .image-placeholder {
    padding: 32px;
}

.temple-card .image-placeholder {
    place-content: start center;
    padding: 34px 24px 156px;
}

.temple-card .image-placeholder strong,
.temple-card .image-placeholder span {
    max-width: 16ch;
}

.media-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-image-contain {
    object-fit: contain;
    padding: 18px;
    background: rgba(255, 255, 255, 0.7);
}

.card-media .media-image-contain,
.temple-card .media-image-contain {
    padding: 10px;
    background: transparent;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 120px 120px 28px 28px;
    min-height: 520px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.4), transparent 26%),
        linear-gradient(180deg, #f5ece1 0%, #e6d8c8 100%);
    box-shadow: 0 28px 56px rgba(65, 40, 20, 0.14);
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.hero-slide {
    min-width: 100%;
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: inherit;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(39, 26, 18, 0.04) 0%, rgba(39, 26, 18, 0.24) 100%);
    z-index: 1;
    pointer-events: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(53, 36, 24, 0.16);
    z-index: 4;
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: #fff;
}

.hero-media {
    min-height: 520px;
    border-radius: 120px 120px 28px 28px;
}

.floating-card {
    position: absolute;
    left: 28px;
    bottom: 42px;
    width: min(280px, calc(100% - 56px));
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 223, 206, 0.95);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    z-index: 3;
}

.floating-card strong,
.checkout-total strong,
.summary-row strong,
.stat-card strong,
.price-row strong {
    display: block;
    font-size: 1.18rem;
}

.floating-card a,
.text-link {
    color: var(--primary);
    font-weight: 700;
}

.hero-card-meta {
    display: block;
    margin-top: 8px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.floating-card,
.card,
.cart-item,
.calendar-item,
.modal-panel,
.policy-card,
.profile-card,
.auth-card {
    max-width: 100%;
}

.muted-label,
.muted-text,
.meta-inline {
    color: var(--muted);
}

.section-block {
    padding: 34px 0;
}

.compact-top {
    padding-top: 28px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-head h2,
.page-title {
    margin: 8px 0 0;
    font-size: clamp(2.5rem, 3.8vw, 4rem);
    line-height: 0.98;
}

.left-title {
    text-align: left;
}

.centered-copy,
.page-title {
    text-align: center;
}

.page-title.left-title {
    text-align: left;
}

.card-grid {
    display: grid;
    gap: 20px;
    align-items: stretch;
}

.four-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.booking-panel,
.profile-card,
.auth-card,
.calendar-item,
.cart-item,
.setup-banner,
.flash,
.sign-in-banner,
.empty-state {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(234, 223, 206, 0.92);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-card,
.seva-card {
    height: 100%;
}

.product-card-clickable {
    cursor: pointer;
}

.product-card-clickable:focus-visible {
    outline: 3px solid rgba(211, 103, 45, 0.35);
    outline-offset: 3px;
}

.status-card {
    display: grid;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(234, 223, 206, 0.8);
}

.status-card:last-child {
    border-bottom: none;
}

.card-media {
    min-height: 190px;
    border-radius: 0;
}

.card-body {
    padding: 18px 18px 20px;
    display: grid;
    gap: 10px;
    align-content: start;
    flex: 1;
}

.card-body h3,
.calendar-copy h3,
.summary-row span {
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.card-kicker {
    margin: 0 0 6px;
    color: #c96f43;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.meta-row,
.price-row,
.tag-row,
.summary-row,
.dual-inputs,
.triple-inputs,
.center-actions,
.chip-row,
.quantity-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dual-inputs > *,
.triple-inputs > * {
    flex: 1 1 220px;
    min-width: 0;
}

.meta-row,
.meta-inline,
.payment-note,
.hint-text,
.success-note {
    font-size: 0.88rem;
}

.meta-row,
.meta-inline {
    color: var(--muted);
}

.price-row {
    align-items: baseline;
    margin: 14px 0;
}

.price-row span {
    color: #a3958b;
    text-decoration: line-through;
}

.cart-control {
    margin-top: 14px;
}

.qty-selector {
    display: grid;
    grid-template-columns: 42px minmax(28px, 1fr) 42px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(211, 103, 45, 0.28);
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
}

.qty-selector form {
    margin: 0;
    display: flex;
}

.qty-selector button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}

.qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

.badge,
.discount-badge {
    position: absolute;
    top: 14px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
}

.badge {
    left: 14px;
    background: rgba(211, 103, 45, 0.92);
}

.discount-badge {
    right: 14px;
    background: rgba(188, 84, 29, 0.92);
}

.subtle-badge {
    background: rgba(45, 36, 31, 0.72);
}

.temple-card {
    display: block;
    min-height: 260px;
    height: 100%;
}

.temple-large {
    min-height: 360px;
}

.temple-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(180deg, rgba(22, 14, 10, 0.02) 0%, rgba(22, 14, 10, 0.72) 100%);
    text-align: left;
}

.temple-overlay h3,
.temple-overlay p,
.temple-overlay small {
    margin: 0;
}

.temple-overlay h3 {
    font-size: 1.45rem;
    line-height: 1.08;
    max-width: 18ch;
}

.temple-overlay p,
.temple-overlay small {
    line-height: 1.5;
}

.temple-overlay small {
    opacity: 0.92;
}

.filter-bar,
.stack-form {
    display: grid;
    gap: 14px;
}

.filter-bar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px) auto;
    margin: 24px 0;
}

.stack-form input,
.stack-form select,
.stack-form textarea,
.booking-panel .form-field select,
.filter-bar input,
.filter-bar select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
}

.stack-form input:disabled,
.stack-form select:disabled,
.stack-form textarea:disabled {
    background: rgba(240, 235, 228, 0.96);
    color: rgba(119, 105, 97, 0.72);
    cursor: not-allowed;
}

.form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.field-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #8c6646;
    letter-spacing: 0.04em;
}

.field-hint,
.field-error {
    margin: -2px 0 0;
    font-size: 0.84rem;
    line-height: 1.5;
}

.field-hint {
    color: var(--muted);
}

.field-error {
    color: #a14231;
    min-height: 1.3em;
}

.booking-date-grid {
    align-items: start;
}

.stack-form textarea {
    min-height: 96px;
    resize: vertical;
}

.stack-form > *,
.filter-bar > * {
    min-width: 0;
}

.detail-layout {
    grid-template-columns: 1.08fr 0.78fr;
    align-items: start;
    padding: 28px 0 40px;
    width: 100%;
    max-width: 100%;
}

.detail-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.detail-gallery-shell .gallery-frame {
    overflow: visible;
}

.detail-gallery-shell .media-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.detail-gallery-shell .media-image-contain {
    padding: 0;
    background: rgba(255, 255, 255, 0.72);
}

.detail-hero-card {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.detail-copy-stack {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.detail-copy-stack .lead-text,
.booking-modal-copy {
    font-size: 1.02rem;
    line-height: 1.8;
}

.content p {
    margin: 0 0 12px;
    line-height: 1.6;
}

.content ul,
.content ol {
    padding-left: 20px;
    margin: 0 0 12px;
}

.content li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.content strong {
    font-weight: 600;
}

.content em {
    font-style: italic;
}

.content h1,
.content h2,
.content h3,
.content h4 {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.16;
}

.content-preview .content p:last-child,
.content p:last-child,
.content ul:last-child,
.content ol:last-child {
    margin-bottom: 0;
}

.detail-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-detail-hero {
    gap: 26px;
}

.product-detail-gallery {
    border-radius: 28px;
}

.product-detail-gallery .gallery-frame {
    border-radius: 28px;
}

.product-detail-media {
    min-height: 540px;
}

.product-detail-copy {
    gap: 14px;
}

.stats-grid,
.benefits-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

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

.stat-card,
.benefit-item,
.info-box {
    padding: 18px;
    border-radius: 18px;
    background: rgba(246, 239, 231, 0.92);
    border: 1px solid rgba(234, 223, 206, 0.95);
}

.soft-box {
    background: rgba(251, 242, 236, 0.92);
}

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

.detail-sidebar {
    position: sticky;
    top: 98px;
}

.booking-panel {
    padding: 24px;
}

.product-detail-panel {
    display: grid;
    gap: 18px;
}

.booking-flow-panel {
    display: grid;
    gap: 14px;
}

.booking-variant-field,
.detail-variant-field {
    margin-bottom: 2px;
}

.booking-status-note {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(95, 157, 93, 0.09);
    border: 1px solid rgba(95, 157, 93, 0.2);
    color: #406b41;
    font-size: 0.9rem;
    line-height: 1.6;
}

.booking-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.booking-facts-grid strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8c6646;
}

.booking-facts-grid p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.booking-temple-box,
.compact-box {
    margin-top: 24px;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0 2px;
}

.summary-row {
    justify-content: space-between;
    padding: 6px 0;
}

.payment-note,
.success-note {
    color: var(--success);
}

.success-note {
    font-weight: 600;
}

.success-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(245, 253, 243, 0.95);
    border: 1px solid rgba(95, 157, 93, 0.25);
}

.centered-card {
    margin: 14px 0;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: grid;
    align-items: start;
    justify-items: center;
    padding: calc(var(--site-header-offset) + 18px) 16px 24px;
    background: rgba(32, 22, 16, 0.45);
    backdrop-filter: blur(8px);
    z-index: 120;
    overflow: auto;
    overscroll-behavior: contain;
}

.modal-panel {
    width: min(960px, calc(100vw - 32px));
    margin: 0 auto;
    max-height: calc(100dvh - var(--site-header-offset) - 42px);
    background: var(--surface);
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(20, 10, 5, 0.2);
    overflow: auto;
    position: relative;
}

.modal-close {
    position: sticky;
    top: 14px;
    left: calc(100% - 52px);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(234, 223, 206, 0.95);
    box-shadow: 0 12px 30px rgba(30, 18, 10, 0.12);
    font-weight: 800;
    color: var(--text);
    z-index: 2;
    margin: 14px 14px -52px 0;
}

.modal-close:hover {
    background: #fff;
    color: var(--primary);
}

.modal-close span {
    font-size: 1.55rem;
    line-height: 1;
}

.modal-media {
    min-height: 290px;
    border-radius: 0;
}

.modal-content {
    padding: 24px;
}

.booking-modal-panel {
    width: min(1120px, calc(100vw - 32px));
}

.temple-modal-panel {
    width: min(90vw, 1180px);
}

.temple-modal-panel .modal-media {
    min-height: 380px;
}

.temple-modal-panel .modal-content {
    padding: 30px 32px 34px;
}

.media-gallery {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 243, 236, 0.92), rgba(255, 255, 255, 0.98));
}

.media-gallery-track {
    display: flex;
    transition: transform 0.32s ease;
    touch-action: pan-y;
    will-change: transform;
}

.media-gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-count {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    z-index: 4;
}

.gallery-controls {
    position: absolute;
    inset: auto 20px 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

.detail-gallery-shell {
    margin-bottom: 18px;
    border-radius: 28px;
}

.detail-gallery-shell .gallery-frame {
    border-radius: 28px;
}

.modal-gallery-shell .gallery-frame,
.product-gallery .gallery-frame {
    border-radius: 0;
}

.product-modal-panel {
    width: min(1320px, calc(100vw - 32px));
}

.product-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(420px, 0.86fr);
    align-items: stretch;
}

.product-modal-media {
    min-height: 560px;
    border-radius: 0;
}

.gallery-arrow {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 24px rgba(27, 17, 11, 0.12);
    cursor: pointer;
    pointer-events: auto;
}

.gallery-arrow:hover {
    color: var(--primary);
}

.product-modal-content {
    display: grid;
    gap: 22px;
    padding: 36px 40px 40px;
}

.product-image-fallback {
    min-height: 100%;
    display: grid;
    place-content: center;
    gap: 10px;
    text-align: center;
    padding: 36px;
}

.product-image-fallback strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.product-purchase-box {
    display: grid;
    gap: 16px;
}

.product-purchase-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-purchase-head h3 {
    margin: 0 0 6px;
}

.product-modal-price {
    font-size: 1.45rem;
}

@media (min-width: 1100px) {
    .temple-modal-panel {
        width: min(70vw, 1240px);
    }

    .temple-modal-panel .modal-media {
        min-height: 480px;
    }

    .temple-modal-panel .modal-content {
        padding: 34px 38px 40px;
    }

    .product-modal-panel {
        width: min(1360px, calc(100vw - 40px));
    }

    .product-modal-grid {
        grid-template-columns: minmax(0, 1.18fr) minmax(460px, 0.82fr);
    }

    .product-modal-media {
        min-height: 620px;
    }

    .product-modal-content {
        gap: 24px;
        padding: 40px 44px 44px;
    }

    .product-modal-content h2 {
        font-size: clamp(2.4rem, 2.7vw, 3.3rem);
        line-height: 0.98;
    }

    .product-purchase-box {
        gap: 18px;
        padding: 24px;
    }
}

.detail-link {
    display: inline-flex;
    margin-bottom: 10px;
}

.home-store-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.booking-modal-content {
    display: grid;
    gap: 18px;
}

.booking-modal-content h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.booking-live-note {
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(95, 157, 93, 0.08);
}

.chip-row {
    margin: 18px 0 22px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    margin: 18px 0 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(234, 223, 206, 0.92);
}

.social-auth-note {
    margin-top: 10px;
}

.chip {
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
}

.chip-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.sign-in-banner,
.setup-banner,
.flash {
    margin: 18px 0 6px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.flash-success {
    border-color: rgba(95, 157, 93, 0.25);
}

.flash-error {
    border-color: rgba(179, 70, 50, 0.2);
}

.booking-history-card {
    gap: 8px;
}

.booking-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-pill-pending {
    background: rgba(211, 103, 45, 0.12);
    color: var(--primary);
}

.status-pill-confirmed {
    background: rgba(95, 157, 93, 0.12);
    color: #4e8a4b;
}

.status-pill-completed {
    background: rgba(77, 121, 191, 0.12);
    color: #345a8f;
}

.status-pill-failed {
    background: rgba(179, 70, 50, 0.12);
    color: #a14231;
}

.cart-layout {
    grid-template-columns: 1.08fr 0.74fr;
    align-items: start;
    padding: 32px 0 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.mini-media {
    min-height: 88px;
    border-radius: 16px;
}

.quantity-actions {
    align-items: center;
    margin-top: 12px;
}

.quantity-actions button {
    border: 1px solid var(--line);
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    cursor: pointer;
}

.ghost-button {
    width: auto !important;
    padding: 0 14px;
}

.summary-column {
    position: sticky;
    top: 96px;
}

.empty-state {
    padding: 28px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 10px;
}

.calendar-block {
    margin-top: 28px;
}

.calendar-block h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 14px;
}

.calendar-item {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    margin-bottom: 14px;
}

.calendar-date {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #fbf1e6;
    color: var(--primary);
}

.calendar-date strong {
    font-size: 1.7rem;
    line-height: 1;
}

.profile-shell,
.auth-shell {
    display: flex;
    justify-content: center;
    padding: 34px 0 46px;
}

.auth-shell {
    flex-direction: column;
    gap: 18px;
}

.auth-mobile-switch {
    display: none;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(234, 223, 206, 0.92);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.auth-switch-btn {
    flex: 1;
    min-height: 46px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    cursor: pointer;
}

.auth-switch-btn.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 14px 28px rgba(211, 103, 45, 0.18);
}

.policy-shell {
    padding: 34px 0 48px;
}

.policy-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(234,223,206,0.92);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.policy-card h1,
.policy-card h2 {
    font-family: 'Cormorant Garamond', serif;
}

.policy-card h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin: 0 0 8px;
}

.policy-card h2 {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.policy-card p {
    color: var(--muted);
    line-height: 1.8;
}

.status-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-card {
    max-width: 620px;
}

.hidden-form {
    display: none;
}

.profile-card,
.auth-card {
    width: min(760px, 100%);
    padding: 26px;
}

.auth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 34px 0 46px;
}

.profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.avatar-circle {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7e2d4;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.15rem;
}

.profile-card label {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.icon-action {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(211, 103, 45, 0.28);
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary);
    cursor: pointer;
}

.site-footer {
    margin-top: 36px;
    padding: 34px 0 48px;
    border-top: 1px solid rgba(216, 199, 179, 0.72);
    background: rgba(249, 243, 234, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 0.9fr;
    gap: 24px;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 12px;
}

.site-footer a {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.site-footer p,
.site-footer a,
.card-body p,
.muted-text,
.success-note,
.payment-note,
.policy-card p,
.policy-card li,
.summary-row span,
.line-clamp-2,
.brand-tag {
    overflow-wrap: anywhere;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4ecb71;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 22px 34px rgba(27, 112, 52, 0.28);
    z-index: 30;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .hero,
    .detail-layout,
    .cart-layout,
    .auth-grid,
    .footer-grid,
    .status-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar,
    .summary-column {
        position: static;
    }

    .four-col,
    .three-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 148px;
        max-width: min(44vw, 148px);
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-nav-shell {
        grid-column: 1 / -1;
        display: none;
        gap: 16px;
        padding: 18px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(234, 223, 206, 0.92);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    body[data-nav-open="true"] .site-nav-shell {
        display: grid;
    }

    .main-nav,
    .header-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .nav-link {
        width: 100%;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-grid,
    .filter-bar,
    .cart-layout,
    .detail-layout {
        gap: 20px;
    }
}

@media (max-width: 920px) {
    .container {
        width: min(100% - 28px, 100%);
    }

    .four-col,
    .three-col,
    .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-bar,
    .cart-layout,
    .detail-layout,
    .auth-grid {
        grid-template-columns: 1fr;
    }

    .summary-column,
    .detail-sidebar {
        position: static;
    }

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

    .hero-copy {
        order: 1;
    }

    .hero-carousel,
    .hero-slide {
        order: 2;
    }

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

    .calendar-item {
        grid-template-columns: 86px 1fr;
    }

    .calendar-item .btn,
    .calendar-item .small-btn {
        grid-column: 2;
        justify-self: start;
    }

    .profile-shell,
    .auth-shell,
    .policy-shell {
        padding: 28px 0 40px;
    }

    .seva-booking-detail-layout .detail-main {
        display: none;
    }

    .seva-booking-detail-layout {
        padding-top: 16px;
    }

    .gallery-controls {
        display: none;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 22px, 100%);
    }

    .four-col,
    .three-col,
    .stats-grid,
    .benefits-grid,
    .booking-facts-grid,
    .filter-bar,
    .dual-inputs,
    .triple-inputs,
    .calendar-item {
        grid-template-columns: 1fr;
    }

    .calendar-item {
        display: grid;
    }

    .hero-copy h1 {
        font-size: 3rem;
    }

    .hero,
    .section-block,
    .profile-shell,
    .auth-shell,
    .policy-shell {
        padding-top: 24px;
    }

    .hero-media {
        min-height: 360px;
        border-radius: 48px 48px 24px 24px;
    }

    .hero-carousel,
    .hero-slide {
        min-height: 360px;
        border-radius: 48px 48px 24px 24px;
    }

    .floating-card {
        left: 18px;
        right: 18px;
        bottom: 46px;
        width: auto;
        padding: 16px;
    }

    .hero-carousel .carousel-arrow {
        display: none;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .booking-history-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        gap: 8px;
    }

    .nav-toggle {
        width: auto;
    }

    .user-menu,
    .user-trigger,
    .user-menu-panel,
    .pill,
    .cart-pill,
    .btn,
    .small-btn {
        width: 100%;
    }

    .user-menu-panel {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .brand {
        align-items: center;
        gap: 10px;
        flex: 1 1 auto;
    }

    .brand img {
        width: 192px;
        max-width: min(56vw, 192px);
    }

    .brand-title {
        font-size: 1.45rem;
        line-height: 0.98;
    }

    .brand-tag {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .floating-card {
        left: 18px;
        right: 18px;
        bottom: 18px;
        width: auto;
    }

    .media-image-contain {
        padding: 14px;
    }

    .modal-backdrop {
        padding: calc(var(--site-header-offset) + 12px) 12px 12px;
    }

    .modal-panel,
    .profile-card,
    .auth-card,
    .policy-card {
        border-radius: 20px;
    }

    .modal-content,
    .profile-card,
    .auth-card,
    .policy-card {
        padding: 18px;
    }

    .product-modal-grid {
        grid-template-columns: 1fr;
    }

    .product-modal-media {
        min-height: 300px;
    }

    .product-modal-content {
        padding: 22px;
    }

    .product-purchase-head {
        flex-direction: column;
    }

    .booking-modal-content h2 {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .calendar-item,
    .cart-item {
        gap: 14px;
        padding: 14px;
    }

    .calendar-item {
        grid-template-columns: 1fr;
    }

    .calendar-item .btn,
    .calendar-item .small-btn {
        grid-column: auto;
        width: 100%;
    }

    .cart-item {
        grid-template-columns: 72px 1fr;
    }

    .quantity-actions,
    .meta-row,
    .price-row,
    .chip-row,
    .center-actions {
        gap: 10px;
    }

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

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 18px, 100%);
    }

    .hero-copy h1,
    .page-title {
        font-size: clamp(2.2rem, 12vw, 2.9rem);
    }

    .brand img {
        width: 176px;
        max-width: min(52vw, 176px);
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .brand-tag {
        font-size: 0.66rem;
    }

    .brand-tag {
        display: none;
    }

    .nav-toggle {
        gap: 6px;
        padding: 9px 12px;
    }

    .nav-toggle-label {
        font-size: 0.86rem;
    }

    .auth-mobile-switch {
        display: flex;
    }

    .auth-grid {
        gap: 16px;
        padding-top: 0;
    }

    .auth-grid[data-auth-view="signin"] [data-auth-panel="signup"],
    .auth-grid[data-auth-view="signup"] [data-auth-panel="signin"] {
        display: none;
    }

    .auth-card {
        width: 100%;
    }

    .three-col,
    .four-col,
    .status-grid {
        grid-template-columns: 1fr;
    }

    .temple-large,
    .temple-card {
        min-height: 300px;
    }

    .temple-overlay {
        padding: 18px;
        gap: 4px;
    }

    .temple-overlay h3 {
        font-size: 1.22rem;
        max-width: none;
    }

    .temple-card .image-placeholder {
        padding: 28px 18px 132px;
    }

    .card-grid {
        gap: 16px;
    }

    .chip-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .chip {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .card-media {
        min-height: 0;
    }

    .hero-copy p,
    .lead-text,
    .page-subtitle,
    .site-footer p,
    .card-body p,
    .modal-content p {
        line-height: 1.6;
    }

    .hero-media,
    .hero-carousel,
    .hero-slide {
        min-height: 300px;
        border-radius: 30px 30px 20px 20px;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .btn,
    .pill,
    .cart-pill,
    .user-trigger {
        padding-inline: 16px;
    }

    .card-body,
    .booking-panel,
    .modal-content,
    .policy-card,
    .profile-card,
    .auth-card {
        padding: 16px;
    }

    .product-modal-content,
    .booking-panel {
        gap: 14px;
    }

    .media-image-contain {
        padding: 12px;
    }

    .badge,
    .discount-badge {
        font-size: 0.68rem;
        padding: 7px 10px;
    }

    .calendar-date {
        width: 64px;
        height: 64px;
    }

    .detail-media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .detail-gallery-shell .media-image {
        object-fit: contain;
    }

    .detail-gallery-shell .media-image-contain {
        padding: 0;
    }

    .detail-copy-stack,
    .content {
        overflow-wrap: anywhere;
    }
}
