/**
 * Site typography — loaded after style.css
 * Headings: Cormorant Garamond | Body/UI: Source Sans 3 | Sanskrit/Kannada: Noto Serif Devanagari
 */
:root {
    --svsp-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --svsp-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --svsp-font-devanagari: "Noto Serif Devanagari", "Noto Sans Devanagari", serif;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessible font scaling (top header A− / A+) — steps adjust root rem size */
html[data-svsp-font-scale="0"],
html:not([data-svsp-font-scale]) {
    font-size: 100%;
}

html[data-svsp-font-scale="1"] {
    font-size: 106.25%;
}

html[data-svsp-font-scale="2"] {
    font-size: 112.5%;
}

html[data-svsp-font-scale="3"] {
    font-size: 118.75%;
}

html[data-svsp-font-scale="4"] {
    font-size: 125%;
}

.svsp-font-btn {
    min-width: 2.5rem;
    line-height: 1.2;
}

/* ── Top utility bar (custom CSS — no Tailwind sm: breakpoints) ── */
.svsp-topbar {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: hsl(var(--primary-foreground));
}

.svsp-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.svsp-topbar__social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.svsp-topbar__social-link {
    color: inherit;
    transition: color 0.2s;
}

.svsp-topbar__social-link:hover {
    color: hsl(var(--accent));
}

.svsp-topbar__panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 0.75rem;
    margin-left: auto;
}

.svsp-topbar__account {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.svsp-topbar__utilities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.svsp-topbar__auth-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.svsp-topbar__auth-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.25;
    text-decoration: none;
    color: hsl(var(--primary-foreground));
    border: 1px solid rgb(255 255 255 / 0.15);
    backdrop-filter: blur(8px);
    transition: background-color 0.2s;
}

.svsp-topbar__auth-btn:hover {
    background-color: rgb(255 255 255 / 0.1);
}

.svsp-topbar__auth-btn--signup {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    border-color: transparent;
    font-weight: 500;
    box-shadow: 0 4px 14px rgb(0 0 0 / 0.15);
}

.svsp-topbar__auth-btn--signup:hover {
    opacity: 0.92;
    background-color: hsl(var(--accent));
}

.svsp-ask-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: hsl(var(--accent-foreground));
    background-color: hsl(var(--accent));
    border: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    cursor: pointer;
    transition: opacity 0.2s;
}

.svsp-ask-ai-btn:hover {
    opacity: 0.9;
}

.svsp-ask-ai-btn__text-short {
    display: none;
}

.svsp-font-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.svsp-topbar .svsp-font-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: hsl(var(--primary-foreground));
    background-color: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.1);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background-color 0.2s;
}

.svsp-topbar .svsp-font-btn:hover:not(:disabled) {
    background-color: rgb(255 255 255 / 0.2);
}

.svsp-topbar .svsp-font-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.svsp-lang-dropdown,
.svsp-profile-dropdown {
    position: relative;
}

.svsp-lang-dropdown__trigger,
.svsp-profile-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: hsl(var(--primary-foreground));
    background-color: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.1);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background-color 0.2s;
}

.svsp-lang-dropdown__trigger:hover,
.svsp-profile-dropdown__trigger:hover {
    background-color: rgb(255 255 255 / 0.2);
}

.svsp-lang-dropdown__label-short {
    display: none;
}

.svsp-lang-dropdown__menu,
.svsp-profile-dropdown__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
	background: #fff;
}

.svsp-lang-dropdown__menu {
    width: 11rem;
    overflow: hidden;
    background: #fff;
    color: #000;
    box-shadow: 0 16px 40px rgb(0 0 0 / 0.18);
}

.svsp-profile-dropdown__menu {
    width: 18rem;
}

.svsp-lang-dropdown:hover .svsp-lang-dropdown__menu,
.svsp-profile-dropdown:hover .svsp-profile-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.svsp-lang-dropdown__option {
    display: block;
    padding: 0.75rem 1rem;
    color: #000;
    text-decoration: none;
    transition: background-color 0.2s;
}

.svsp-lang-dropdown__option:hover {
    background-color: hsl(var(--secondary));
}

.svsp-lang-dropdown__option.is-active {
    background-color: hsl(var(--secondary) / 0.6);
    font-weight: 600;
}

.svsp-profile-dropdown__avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: hsl(var(--accent-foreground));
    background-color: hsl(var(--accent));
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
    flex-shrink: 0;
}

.svsp-profile-dropdown__user {
    display: none;
    text-align: left;
}

.svsp-profile-dropdown__name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.svsp-profile-dropdown__status {
    margin: 0;
    font-size: 0.6875rem;
    opacity: 0.7;
    line-height: 1.2;
}

.svsp-profile-dropdown__chevron {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .svsp-profile-dropdown__user {
        display: block;
    }
}

/* Top bar — mobile */
@media (max-width: 767px) {
    .svsp-topbar__social {
        display: none;
    }

    .svsp-topbar__inner {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .svsp-topbar__panel {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
        gap: 0.5rem;
        min-width: 0;
    }

    .svsp-topbar__account {
        order: 2;
        flex-shrink: 0;
        justify-content: flex-end;
        margin-bottom: 0;
        margin-left: auto;
    }

    .svsp-topbar__utilities {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: auto;
        padding-top: 0;
        border-top: none;
        gap: 0.35rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .svsp-topbar__utilities::-webkit-scrollbar {
        display: none;
    }

    .svsp-topbar__auth-links {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .svsp-ask-ai-btn__text-full {
        display: none;
    }

    .svsp-ask-ai-btn__text-short {
        display: inline;
    }

    .svsp-lang-dropdown__label-full {
        display: none;
    }

    .svsp-lang-dropdown__label-short {
        display: inline;
    }

    .svsp-lang-dropdown:hover .svsp-lang-dropdown__menu,
    .svsp-profile-dropdown:hover .svsp-profile-dropdown__menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .svsp-lang-dropdown.is-open .svsp-lang-dropdown__menu,
    .svsp-profile-dropdown.is-open .svsp-profile-dropdown__menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .svsp-topbar__auth-btn {
        padding: 0.375rem 0.65rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .svsp-topbar__auth-btn--signup:hover {
        transform: none;
    }

    .svsp-topbar .svsp-ask-ai-btn,
    .svsp-topbar .svsp-font-btn,
    .svsp-topbar .svsp-lang-dropdown__trigger {
        padding: 0.35rem 0.55rem;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .svsp-topbar .svsp-profile-dropdown__trigger {
        padding: 0.25rem 0.45rem 0.25rem 0.25rem;
        gap: 0.25rem;
    }

    .svsp-topbar .svsp-profile-dropdown__avatar {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.7rem;
    }

    .svsp-topbar .svsp-profile-dropdown__chevron {
        width: 0.85rem;
        height: 0.85rem;
    }

    .svsp-font-controls {
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .svsp-font-btn {
        min-width: 1.85rem;
    }

    .svsp-profile-dropdown__menu {
        width: min(18rem, calc(100vw - 1.5rem));
        right: 0;
        left: auto;
    }

    .svsp-lang-dropdown__menu {
        left: 0;
        right: auto;
    }
}

@media (max-width: 380px) {
    .svsp-topbar__utilities {
        gap: 0.25rem;
    }

    .svsp-font-btn {
        min-width: 1.7rem;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .svsp-topbar__auth-links {
        gap: 0.3rem;
    }

    .svsp-topbar__auth-btn {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
        font-size: 0.7rem;
    }

    .svsp-topbar .svsp-ask-ai-btn,
    .svsp-topbar .svsp-lang-dropdown__trigger {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }
}

body {
    font-family: var(--svsp-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--svsp-font-display);
}

.font-display {
    font-family: var(--svsp-font-display) !important;
}

.font-body {
    font-family: var(--svsp-font-body) !important;
}

.font-devanagari {
    font-family: var(--svsp-font-devanagari) !important;
}

/**
 * Justify only paragraph (<p>) body copy on the public site.
 * Does not affect headings, lists, nav, footer, buttons, heroes, or chat.
 */
body:not(:has(.app-sidebar)) section p,
body:not(:has(.app-sidebar)) article p,
body:not(:has(.app-sidebar)) .terms-content p,
body:not(:has(.app-sidebar)) .privacy-content p,
body:not(:has(.app-sidebar)) .prose p,
body:not(:has(.app-sidebar)) .cms-richtext p,
body:not(:has(.app-sidebar)) .page-content p {
    text-align: justify;
    text-justify: inter-word;
}

/* Keep short / UI / centered paragraphs unchanged */
body:not(:has(.app-sidebar)) header p,
body:not(:has(.app-sidebar)) nav p,
body:not(:has(.app-sidebar)) footer p,
body:not(:has(.app-sidebar)) .svsp-chat-panel p,
body:not(:has(.app-sidebar)) .svsp-chat-bubble__body,
body:not(:has(.app-sidebar)) .home-hero p,
body:not(:has(.app-sidebar)) .svsp-page-hero p,
body:not(:has(.app-sidebar)) section .text-center > p,
body:not(:has(.app-sidebar)) section p.text-center,
body:not(:has(.app-sidebar)) section p.text-accent,
body:not(:has(.app-sidebar)) section p.font-semibold,
body:not(:has(.app-sidebar)) section p.font-bold,
body:not(:has(.app-sidebar)) section p.text-xs {
    text-align: inherit;
}

body:not(:has(.app-sidebar)) .home-hero p,
body:not(:has(.app-sidebar)) .svsp-page-hero p,
body:not(:has(.app-sidebar)) .svsp-page-hero h1,
body:not(:has(.app-sidebar)) section .text-center > p,
body:not(:has(.app-sidebar)) section .text-center p,
body:not(:has(.app-sidebar)) section .text-center h1,
body:not(:has(.app-sidebar)) section p.text-center,
body:not(:has(.app-sidebar)) .site-cta-above-footer p {
    text-align: center;
}

body:not(:has(.app-sidebar)) .home-hero p.home-hero__desc,
body:not(:has(.app-sidebar)) .home-hero p.home-hero__subtitle,
body:not(:has(.app-sidebar)) section p.text-left {
    text-align: left;
}

/* Bios that sit in centered cards still justify as paragraphs */
body:not(:has(.app-sidebar)) #leadership p.leading-relaxed {
    text-align: justify;
    text-justify: inter-word;
}

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

/**
 * Tighten vertical spacing between public-site sections.
 * (AdminLTE panel uses .app-sidebar — left untouched.)
 */
body:not(:has(.app-sidebar)) section.py-24 {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}
body:not(:has(.app-sidebar)) section.py-20 {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}
body:not(:has(.app-sidebar)) section.py-16,
body:not(:has(.app-sidebar)) section.py-14 {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}
body:not(:has(.app-sidebar)) section.py-12 {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}
body:not(:has(.app-sidebar)) section.py-10 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    body:not(:has(.app-sidebar)) section.md\:py-32 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    body:not(:has(.app-sidebar)) section.md\:py-24 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    body:not(:has(.app-sidebar)) section.md\:py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    body:not(:has(.app-sidebar)) section.md\:py-16 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    body:not(:has(.app-sidebar)) section.md\:py-14 {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }
}

/* Large gaps between blocks inside a page */
body:not(:has(.app-sidebar)) section .mb-24 {
    margin-bottom: 2.5rem !important;
}
body:not(:has(.app-sidebar)) section .mb-20 {
    margin-bottom: 2rem !important;
}
body:not(:has(.app-sidebar)) section .mb-16 {
    margin-bottom: 1.75rem !important;
}
body:not(:has(.app-sidebar)) section .gap-14 {
    gap: 2rem;
}
body:not(:has(.app-sidebar)) section .mb-14 {
    margin-bottom: 1.5rem !important;
}

/* Page hero banners — slightly less tall */
body:not(:has(.app-sidebar)) .svsp-page-hero.py-24,
body:not(:has(.app-sidebar)) section.relative.py-24.overflow-hidden {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Hero banner titles/copy must stay white (compiled CSS has no .text-white) */
body:not(:has(.app-sidebar)) .svsp-page-hero .relative.z-10,
body:not(:has(.app-sidebar)) .svsp-page-hero .relative.z-10 h1,
body:not(:has(.app-sidebar)) .svsp-page-hero .relative.z-10 p,
body:not(:has(.app-sidebar)) section.relative.py-24.overflow-hidden > .relative.z-10,
body:not(:has(.app-sidebar)) section.relative.py-24.overflow-hidden > .relative.z-10 h1,
body:not(:has(.app-sidebar)) section.relative.py-24.overflow-hidden > .relative.z-10 p {
    color: #ffffff !important;
}

.text-white {
    color: #ffffff !important;
}

body:not(:has(.app-sidebar)) .home-video-above-footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/**
 * Homepage hero slider — mobile polish
 */
.home-hero {
	isolation: isolate;
	height: 70vh;
	min-height: 28rem;
}

.home-hero .hero-slide {
	will-change: opacity, transform;
}

.home-hero__content {
	width: 100%;
}

.home-hero__desc {
	text-align: left;
	max-width: 36rem;
}

@media (max-width: 767px) {
	.home-hero {
		height: 42vh !important;
		min-height: 16.5rem !important;
		max-height: 20rem !important;
	}

	.home-hero__overlay {
		background: linear-gradient(
			180deg,
			hsl(var(--brown, 20 30% 18%) / 0.55) 0%,
			hsl(var(--brown, 20 30% 18%) / 0.78) 42%,
			hsl(var(--brown, 20 30% 18%) / 0.9) 100%
		) !important;
	}

	.home-hero__content-wrap {
		align-items: center;
		justify-content: flex-start;
		padding-top: 3.5rem;
		padding-bottom: 2.5rem;
	}

	.home-hero__content {
		padding-right: 2.5rem; /* room for arrows */
		text-align: left;
	}

	.home-hero__content h2,
	.home-hero__title {
		font-size: clamp(1.45rem, 6.5vw, 1.9rem);
		line-height: 1.15;
		margin-bottom: 0.45rem;
		text-align: left;
	}

	.home-hero__subtitle {
		font-size: 0.92rem;
		margin-bottom: 0.3rem;
		text-align: left;
	}

	.home-hero__desc {
		font-size: 0.88rem;
		line-height: 1.4;
		margin-bottom: 0.75rem;
		text-align: left;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}

	.home-hero__actions {
		width: 100%;
		gap: 0.5rem;
		justify-content: flex-start;
	}

	.home-hero__actions a {
		flex: 1 1 auto;
		text-align: center;
		min-width: min(100%, 8.5rem);
		padding: 0.55rem 0.85rem;
		font-size: 0.88rem;
	}

	.home-hero__nav {
		top: auto !important;
		bottom: 0.65rem;
		transform: none !important;
		width: 2.1rem;
		height: 2.1rem;
		font-size: 0.8rem;
		background: hsl(var(--brown, 20 30% 18%) / 0.72);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}

	.home-hero__nav--prev {
		left: auto;
		right: 3rem;
	}

	.home-hero__nav--next {
		right: 0.65rem;
	}

	.home-hero .hero-bg {
		background-position: center top;
	}
}

@media (max-width: 380px) {
	.home-hero {
		height: 38vh !important;
		min-height: 15rem !important;
		max-height: 18rem !important;
	}

	.home-hero__actions a {
		width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.home-hero {
		min-height: 24rem;
		height: 55vh;
	}
}

/* Main header — site title on small screens */
@media (max-width: 767px) {
    header nav.container > a h4 {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    header nav.container > a img {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 380px) {
    header nav.container > a h4 {
        font-size: 0.8rem;
    }
}

/* Site header — main navigation links bold */
header nav.container .lg\:flex.items-center.gap-8 > a,
header nav.container .lg\:flex.items-center.gap-8 > .menu-item-with-submenu > a {
    font-weight: 700;
}

header nav.container .submenu-panel a {
    font-weight: 600;
}

#mobileMenu .block.pl-4 {
    font-weight: 600;
}

/* Mobile navigation drawer */
.svsp-mobile-nav {
	border-top: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	max-height: min(78vh, calc(100dvh - 7rem));
	overflow: hidden;
	position: relative;
	z-index: 40;
}

.svsp-mobile-nav.is-open {
	box-shadow: 0 10px 28px -12px rgb(0 0 0 / 0.22);
}

.svsp-mobile-nav__inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	max-height: min(78vh, calc(100dvh - 7rem));
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

.svsp-mobile-nav__link,
.svsp-mobile-nav__group-toggle,
.svsp-mobile-nav__sublink {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	border: 0;
	border-bottom: 1px solid hsl(var(--border) / 0.75);
	border-radius: 0;
	font-family: var(--svsp-font-body);
	font-size: 0.9375rem;
	line-height: 1.35;
	color: hsl(var(--foreground));
	text-decoration: none;
	background: transparent;
	transition: background-color 0.15s ease, color 0.15s ease;
	box-sizing: border-box;
}

.svsp-mobile-nav__link--primary,
.svsp-mobile-nav__group-toggle {
	font-family: var(--svsp-font-display);
	font-weight: 700;
}

.svsp-mobile-nav__link:hover,
.svsp-mobile-nav__sublink:hover,
.svsp-mobile-nav__group-toggle:hover {
	background: hsl(var(--secondary) / 0.55);
	color: hsl(var(--accent));
}

.svsp-mobile-nav__group {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.svsp-mobile-nav__group-toggle {
	justify-content: space-between;
	gap: 0.65rem;
	cursor: pointer;
	text-align: left;
}

.svsp-mobile-nav__chevron {
	flex-shrink: 0;
	opacity: 0.55;
	transition: transform 0.2s ease;
}

.svsp-mobile-nav__group-toggle[aria-expanded="true"] .svsp-mobile-nav__chevron {
	transform: rotate(180deg);
}

.svsp-mobile-nav__group-toggle[aria-expanded="false"] .svsp-mobile-nav__chevron {
	transform: rotate(0deg);
}

.svsp-mobile-nav__sub {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: hsl(var(--secondary) / 0.28);
}

.svsp-mobile-nav__sub.is-collapsed {
	display: none;
}

.svsp-mobile-nav__sublink {
	min-height: 2.85rem;
	padding-left: 1.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	position: relative;
	border-bottom-color: hsl(var(--border) / 0.55);
}

.svsp-mobile-nav__sublink::before {
	content: "";
	position: absolute;
	left: 0.65rem;
	top: 50%;
	width: 0.28rem;
	height: 0.28rem;
	border-radius: 999px;
	background: hsl(var(--accent));
	transform: translateY(-50%);
}

.svsp-mobile-nav__sublink:last-child {
	border-bottom: 1px solid hsl(var(--border) / 0.75);
}

.svsp-mobile-nav__account {
	margin: 0;
	padding: 0.35rem 0 0.75rem;
	border-top: 6px solid hsl(var(--secondary) / 0.65);
	display: flex;
	flex-direction: column;
	gap: 0;
	background: hsl(var(--secondary) / 0.2);
}

.svsp-mobile-nav__account-title {
	margin: 0;
	padding: 0.65rem 1rem 0.35rem;
	font-family: var(--svsp-font-body);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: hsl(var(--muted-foreground));
}

.svsp-mobile-nav__account .svsp-mobile-nav__link {
	font-weight: 700;
}

.svsp-mobile-nav__link--accent {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground)) !important;
	font-weight: 700;
	justify-content: center;
	margin: 0.5rem 1rem 0;
	border: 0;
	border-radius: 0.55rem;
	min-height: 2.75rem;
}

.svsp-mobile-nav__link--accent:hover {
	opacity: 0.92;
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground)) !important;
}

.svsp-mobile-nav__link--muted {
	color: hsl(var(--muted-foreground));
	font-weight: 600;
}

.svsp-mobile-nav__toggle-btn {
	padding: 0.35rem;
	border-radius: 0.5rem;
	color: hsl(var(--foreground));
}

.svsp-mobile-nav__toggle-btn:hover {
	background: hsl(var(--secondary) / 0.6);
}

body.svsp-mobile-nav-open {
	overflow: hidden;
}

@media (max-width: 380px) {
	.svsp-mobile-nav__link,
	.svsp-mobile-nav__group-toggle,
	.svsp-mobile-nav__sublink {
		font-size: 0.875rem;
		min-height: 2.85rem;
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}
}

	@font-face {
		font-family: 'CameraPlainVariable';
		src: url('https://cdn.gpteng.co/mcp-widgets/v1/fonts/CameraPlainVariable.woff2') format('woff2');
		font-weight: 100 900;
		font-style: normal;
		font-display: swap;
	}

	#lovable-badge {
		--badge-bg: #1b1b1b;
		--badge-text: #c5c1b9;
		--badge-text-hover: #dcdad5;
		--badge-radius: 6px;
		--badge-padding: 8px;
		--badge-gap: 6px;
		--badge-shadow: 
			0 0 0 1px rgba(0, 0, 0, 0.88),
			0 1px 0 0 rgba(0, 0, 0, 0.04),
			0 2px 2px -1px rgba(0, 0, 0, 0.08),
			0 4px 4px -2px rgba(0, 0, 0, 0.08),
			0 8px 8px -4px rgba(0, 0, 0, 0.08),
			0 16px 16px -8px rgba(0, 0, 0, 0.08);
		--badge-transition-duration: 0.2s;
		--badge-transition-easing: cubic-bezier(0.16, 1, 0.32, 1);
		--focus-color: #575ECF;
		--focus-offset: 2px;
		--focus-width: 2px;
		
		position: fixed;
		bottom: 12px;
		right: 12px;
		height: 24px;
		display: flex;
		align-items: center;
		z-index: 1000000;
		background-color: var(--badge-bg);
		color: var(--badge-text);
		border-radius: var(--badge-radius);
		box-shadow: var(--badge-shadow);
		font-size: 12px;
		font-family: CameraPlainVariable, "CameraPlainVariable Fallback", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
		font-weight: 400 !important;
		text-transform: none !important;
		font-feature-settings: normal !important;
		transform: translateZ(0);
		will-change: transform, opacity;
	}

	#lovable-badge-cta {
		display: flex;
		align-items: center;
		gap: var(--badge-gap);
		padding: 0 var(--badge-padding);
		height: 100%;
		color: inherit;
		text-decoration: none;
		white-space: nowrap;
		border-radius: var(--badge-radius) 0 0 var(--badge-radius);
		transition: 
			background-color var(--badge-transition-duration) ease,
			color var(--badge-transition-duration) ease,
			transform 0.1s ease;
	}

	#lovable-badge-cta:hover {
		background: rgba(255, 255, 255, 0.04);
		color: var(--badge-text-hover);
	}

	#lovable-badge-cta:active {
		transform: scale(0.98);
	}

	#lovable-badge-cta:focus {
		outline: none;
	}

	#lovable-badge-cta:focus-visible {
		outline: var(--focus-width) solid var(--focus-color);
		outline-offset: var(--focus-offset);
		z-index: 1;
	}

	#lovable-badge-text {
		line-height: 1;
	}

	#lovable-badge-divider {
		width: 1px;
		height: 24px;
		background-color: rgba(255, 255, 255, 0.04);
		flex-shrink: 0;
	}

	#lovable-badge-close {
		width: 24px;
		height: 24px;
		min-width: 24px;
		min-height: 24px;
		cursor: pointer;
		background: none;
		border: none;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 0 var(--badge-radius) var(--badge-radius) 0;
		flex-shrink: 0;
		transition: 
			background-color var(--badge-transition-duration) ease,
			transform 0.1s ease;
	}

	#lovable-badge-close:hover {
		background: rgba(255, 255, 255, 0.04);
	}

	#lovable-badge-close:active {
		transform: scale(0.92);
	}

	#lovable-badge-close:focus {
		outline: none;
	}

	#lovable-badge-close:focus-visible {
		outline: var(--focus-width) solid var(--focus-color);
		outline-offset: calc(var(--focus-offset) * -1);
		z-index: 1;
	}

	#lovable-badge-close svg path {
		fill: var(--badge-text);
		transition: fill var(--badge-transition-duration) ease;
	}

	#lovable-badge-close:hover svg path {
		fill: var(--badge-text-hover);
	}

	@media (prefers-reduced-motion: reduce) {
		#lovable-badge-cta,
		#lovable-badge-close,
		#lovable-badge-close svg path {
			transition: none;
		}
		
		#lovable-badge-cta:active,
		#lovable-badge-close:active {
			transform: none;
		}
	}

	@media (prefers-contrast: high) {
		#lovable-badge {
			--badge-bg: #000;
			--badge-text: #fff;
			--badge-text-hover: #fff;
			border: 2px solid currentColor;
		}
		
		#lovable-badge-cta:focus-visible,
		#lovable-badge-close:focus-visible {
			outline-width: 3px;
		}
	}

	/* style.css is a trimmed Tailwind build: py-12 was never emitted. Used by demo.php etc. */
	.py-12 {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	/* About page: header submenu anchors (sticky nav offset) */
	#history,
	#leadership {
		scroll-margin-top: 5.5rem;
	}

	/* Home page video thumbnail above footer (index.php only) */
	.home-video-above-footer {
		padding: 3rem 0;
		background: hsl(var(--secondary) / 0.45);
		border-top: 1px solid hsl(var(--border));
	}

	.home-video-above-footer__inner {
		max-width: 56rem;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.home-video-above-footer__title {
		margin: 0 0 0.5rem;
		font-size: clamp(1.5rem, 3vw, 2.25rem);
		font-weight: 700;
		color: hsl(var(--foreground));
	}

	.home-video-above-footer__subtitle {
		margin: 0 0 1.5rem;
		font-size: 1.0625rem;
		color: hsl(var(--muted-foreground));
		max-width: 36rem;
		margin-left: auto;
		margin-right: auto;
	}

	.home-video-above-footer__thumb-btn {
		position: relative;
		display: inline-block;
		max-width: 100%;
		width: min(100%, 42rem);
		border: none;
		padding: 0;
		background: transparent;
		cursor: pointer;
		border-radius: 0.75rem;
		overflow: hidden;
		box-shadow: 0 12px 40px rgb(0 0 0 / 0.15);
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.home-video-above-footer__thumb-btn:hover {
		transform: translateY(-2px);
		box-shadow: 0 16px 48px rgb(0 0 0 / 0.2);
	}

	.home-video-above-footer__thumb-btn:focus-visible {
		outline: 2px solid hsl(var(--accent));
		outline-offset: 4px;
	}

	.home-video-above-footer__thumb-img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		object-fit: cover;
		vertical-align: middle;
	}

	.home-video-above-footer__play {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgb(0 0 0 / 0.35);
		color: #fff;
		transition: background 0.2s ease;
	}

	.home-video-above-footer__thumb-btn:hover .home-video-above-footer__play {
		background: rgb(0 0 0 / 0.45);
	}

	.home-video-modal__panel {
		max-height: 90vh;
		overflow-y: auto;
	}

	/* Global CTA above footer */
	.site-cta-above-footer {
		position: relative;
		overflow: hidden;
		background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.92) 55%, hsl(var(--accent) / 0.35) 100%);
		color: hsl(var(--primary-foreground));
		padding: 3.5rem 0;
	}

	.site-cta-above-footer__pattern {
		position: absolute;
		inset: 0;
		opacity: 0.14;
		background-color: transparent;
		background-image:
			radial-gradient(ellipse 70% 55% at 50% 50%, hsl(var(--cream, var(--primary-foreground)) / 0.08) 0%, transparent 70%),
			url("../mandala-watermark-4CHEVV2P.jpg");
		background-size: cover, 420px;
		background-position: center, center;
		background-repeat: no-repeat, repeat;
		pointer-events: none;
	}

	.site-cta-above-footer__inner {
		position: relative;
		z-index: 1;
		max-width: 52rem;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.site-cta-above-footer__kicker {
		margin: 0 0 0.5rem;
		font-size: 1.125rem;
		line-height: 1.4;
		opacity: 0.85;
		text-align: center;
	}

	.site-cta-above-footer__title {
		margin: 0;
		font-size: clamp(1.75rem, 4vw, 2.5rem);
		font-weight: 700;
		line-height: 1.15;
		color: hsl(var(--cream, var(--primary-foreground)));
	}

	.site-cta-above-footer__rule {
		max-width: 8rem;
		margin: 1rem auto 1.25rem;
	}

	.site-cta-above-footer__subtitle {
		margin: 0 auto 1.75rem;
		max-width: 40rem;
		font-size: 1.0625rem;
		line-height: 1.65;
		color: hsl(var(--cream, var(--primary-foreground)) / 0.82);
		text-align: center;
	}

	.site-cta-above-footer__actions {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 0.875rem;
	}

	.site-cta-above-footer__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 3rem;
		padding: 0.75rem 1.5rem;
		border-radius: 0.5rem;
		font-size: 0.9375rem;
		font-weight: 600;
		text-decoration: none;
		border: 2px solid transparent;
		transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	}

	.site-cta-above-footer__btn:hover {
		transform: translateY(-1px);
		box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
	}

	.site-cta-above-footer__btn--primary {
		background: hsl(var(--cream, var(--primary-foreground)));
		color: hsl(var(--primary));
		border-color: hsl(var(--cream, var(--primary-foreground)));
	}

	.site-cta-above-footer__btn--primary:hover {
		background: hsl(var(--background));
		color: hsl(var(--primary));
	}

	.site-cta-above-footer__btn--accent {
		background: hsl(var(--accent));
		color: hsl(var(--accent-foreground));
		border-color: hsl(var(--accent));
	}

	.site-cta-above-footer__btn--accent:hover {
		filter: brightness(1.06);
		color: hsl(var(--accent-foreground));
	}

	/* About page — hero + responsive images */
	.svsp-page-hero {
		position: relative;
	}

	.about-media {
		position: relative;
		width: 100%;
		max-width: 28rem;
		margin-left: auto;
		margin-right: auto;
	}

	.about-media--landscape {
		aspect-ratio: 4 / 3;
	}

	.about-media__img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 0.75rem;
		box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	}

	@media (max-width: 639px) {
		.site-cta-above-footer {
			padding: 2.75rem 0;
		}

		.site-cta-above-footer__actions {
			flex-direction: column;
			width: 100%;
		}

		.site-cta-above-footer__btn {
			width: 100%;
			max-width: 20rem;
		}
	}

/* My orders — expanded detail panel */
.my-order-detail__pre {
	margin: 0;
	max-height: 14rem;
	overflow: auto;
	padding: 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--secondary) / 0.35);
	font-size: 0.7rem;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
}

.my-order-detail__card {
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5);
}

.order-detail-row:not(.hidden) {
	border-top: 2px solid hsl(var(--accent) / 0.35);
}

@media print {
	body.svsp-receipt-print * {
		visibility: hidden !important;
	}

	body.svsp-receipt-print #orderReceiptDocument,
	body.svsp-receipt-print #orderReceiptDocument * {
		visibility: visible !important;
	}

	body.svsp-receipt-print #orderReceiptDocument {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	header,
	footer,
	.no-print,
	.ornamental-border {
		display: none !important;
	}
}

/* ===== SVSP site chatbot (modern) ===== */
.svsp-chat-backdrop {
	position: fixed;
	inset: 0;
	z-index: 94;
	background: rgba(15, 23, 42, 0.42);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.22s ease;
	pointer-events: none;
}
.svsp-chat-backdrop.is-visible {
	opacity: 1;
	pointer-events: auto;
}
.svsp-chat-backdrop.hidden:not(.is-visible) {
	display: block !important;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.svsp-chat-fab {
	position: fixed;
	right: 1.35rem;
	bottom: 1.35rem;
	z-index: 96;
	width: 3.5rem;
	height: 3.5rem;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		145deg,
		hsl(var(--accent)) 0%,
		hsl(var(--primary)) 52%,
		hsl(var(--maroon, var(--primary))) 100%
	);
	color: hsl(var(--primary-foreground));
	box-shadow:
		0 12px 32px -8px hsl(var(--primary) / 0.5),
		0 4px 12px hsl(var(--foreground) / 0.12);
	transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s ease;
}
.svsp-chat-fab__ring {
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid hsl(var(--accent) / 0.45);
	animation: svsp-chat-pulse 2.4s ease-out infinite;
	pointer-events: none;
}
.svsp-chat-fab.is-active .svsp-chat-fab__ring {
	animation: none;
	opacity: 0;
}
.svsp-chat-fab__icon {
	position: relative;
	z-index: 1;
	display: flex;
}
.svsp-chat-fab:hover {
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 16px 40px -10px hsl(var(--primary) / 0.55);
}
.svsp-chat-fab.is-active {
	transform: scale(0.94);
	background: linear-gradient(145deg, hsl(var(--muted-foreground) / 0.85), hsl(var(--foreground) / 0.75));
	color: hsl(var(--cream, var(--primary-foreground)));
}

@keyframes svsp-chat-pulse {
	0% { transform: scale(1); opacity: 0.7; }
	70% { transform: scale(1.18); opacity: 0; }
	100% { transform: scale(1.18); opacity: 0; }
}

.svsp-chat-panel {
	position: fixed;
	right: 1.35rem;
	bottom: 5.5rem;
	z-index: 95;
	width: min(26rem, calc(100vw - 1.75rem));
	max-height: min(36rem, calc(100dvh - 7rem));
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(16px) scale(0.97);
	transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
	pointer-events: none;
}
.svsp-chat-panel.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}
.svsp-chat-panel.hidden:not(.is-open) {
	display: none !important;
}

.svsp-chat-panel__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-height: min(36rem, calc(100dvh - 7rem));
	min-height: 0;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 1.25rem;
	box-shadow:
		0 28px 64px -20px rgba(15, 23, 42, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.6) inset;
	overflow: hidden;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.svsp-chat-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1rem 0.9rem;
	background: linear-gradient(
		135deg,
		hsl(var(--primary)) 0%,
		hsl(var(--maroon, var(--primary))) 55%,
		hsl(var(--accent) / 0.92) 100%
	);
	color: hsl(var(--primary-foreground));
	position: relative;
	overflow: hidden;
}
.svsp-chat-panel__head::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 100% 0%, hsl(var(--cream, var(--primary-foreground)) / 0.18), transparent 55%);
	pointer-events: none;
}
.svsp-chat-panel__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	position: relative;
	z-index: 1;
	min-width: 0;
}
.svsp-chat-panel__head-text {
	min-width: 0;
}
.svsp-chat-panel__title {
	font-family: var(--font-display, Georgia, serif);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.svsp-chat-panel__status {
	font-size: 0.7rem;
	margin: 0.25rem 0 0;
	opacity: 0.9;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.25rem;
}
.svsp-chat-panel__dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
	animation: svsp-chat-blink 2s ease-in-out infinite;
}
.svsp-chat-panel__sep {
	opacity: 0.5;
}
@keyframes svsp-chat-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}
.svsp-chat-panel__close {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: inherit;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 0.65rem;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}
.svsp-chat-panel__close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.svsp-chat-avatar {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.svsp-chat-avatar--sm {
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 0.6rem;
}
.svsp-chat-avatar--bot {
	background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
	color: hsl(var(--primary-foreground));
	box-shadow: 0 4px 12px -4px hsl(var(--primary) / 0.45);
}
.svsp-chat-avatar--user {
	background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--gold, var(--accent))));
	color: hsl(var(--accent-foreground));
	box-shadow: 0 4px 12px -4px hsl(var(--accent) / 0.45);
}

.svsp-chat-messages {
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 1rem 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	background:
		linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	min-height: 10rem;
	min-width: 0;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}
.svsp-chat-messages::-webkit-scrollbar {
	width: 5px;
}
.svsp-chat-messages::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 999px;
}

.svsp-chat-row {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}
.svsp-chat-row--user {
	flex-direction: row-reverse;
	align-self: flex-end;
}
.svsp-chat-row--bot {
	align-self: flex-start;
}
.svsp-chat-row--enter {
	animation: svsp-chat-msg-in 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}
@keyframes svsp-chat-msg-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.svsp-chat-bubble {
	max-width: min(100%, calc(100% - 2.75rem));
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}
.svsp-chat-bubble__body {
	font-size: 0.84rem;
	line-height: 1.5;
	padding: 0.65rem 0.85rem;
	border-radius: 1rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.svsp-chat-row--user .svsp-chat-bubble__body {
	background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--maroon, var(--primary))));
	color: hsl(var(--primary-foreground));
	border-bottom-right-radius: 0.25rem;
	box-shadow: 0 6px 16px -6px hsl(var(--primary) / 0.4);
}
.svsp-chat-row--bot .svsp-chat-bubble__body {
	background: #fff;
	color: #1e293b;
	border: 1px solid #e2e8f0;
	border-bottom-left-radius: 0.25rem;
	box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.12);
}
.svsp-chat-bubble__time {
	font-size: 0.62rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0 0.15rem;
}
.svsp-chat-row--user .svsp-chat-bubble__time {
	text-align: right;
}

.svsp-chat-source {
	font-size: 0.6rem;
	font-weight: 700;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.svsp-chat-source--faq {
	background: hsl(var(--secondary));
	color: hsl(var(--primary));
}
.svsp-chat-source--ai {
	background: hsl(var(--accent) / 0.2);
	color: hsl(var(--accent-foreground));
}

.svsp-chat-link {
	color: hsl(var(--primary));
	text-decoration: underline;
	font-weight: 600;
}
.svsp-chat-links {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-top: 0.55rem;
}
.svsp-chat-link-pill {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.45rem 0.65rem;
	max-width: 100%;
	min-width: 0;
	border-radius: 0.65rem;
	background: linear-gradient(135deg, hsl(var(--cream, var(--secondary))), hsl(var(--secondary)));
	text-decoration: none;
	color: hsl(var(--primary));
	border: 1px solid hsl(var(--border));
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.svsp-chat-link-pill span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.svsp-chat-link-pill:hover {
	transform: translateX(2px);
	box-shadow: 0 4px 12px -6px hsl(var(--primary) / 0.3);
	border-color: hsl(var(--accent) / 0.55);
}

.svsp-chat-typing {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	padding: 0 0.85rem 0.5rem;
	background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}
.svsp-chat-typing.hidden {
	display: none !important;
}
.svsp-chat-typing__bubble {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.85rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	border-bottom-left-radius: 0.25rem;
	box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.1);
}
.svsp-chat-typing__label {
	font-size: 0.72rem;
	color: #64748b;
	font-weight: 600;
}
.svsp-chat-typing__dots {
	display: flex;
	gap: 0.2rem;
}
.svsp-chat-typing__dots span {
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: hsl(var(--accent));
	animation: svsp-chat-dot 1.2s ease-in-out infinite;
}
.svsp-chat-typing__dots span:nth-child(2) { animation-delay: 0.15s; }
.svsp-chat-typing__dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes svsp-chat-dot {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
	30% { transform: translateY(-4px); opacity: 1; }
}

.svsp-chat-suggestions-wrap {
	padding: 0.65rem 0.85rem 0.5rem;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}
.svsp-chat-suggestions-label {
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
	margin: 0 0 0.4rem;
}
.svsp-chat-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.svsp-chat-suggestion {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.72rem;
	font-weight: 600;
	padding: 0.4rem 0.65rem;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #334155;
	cursor: pointer;
	transition: all 0.18s ease;
	box-shadow: 0 2px 6px -4px rgba(15, 23, 42, 0.1);
}
.svsp-chat-suggestion svg {
	opacity: 0.45;
	flex-shrink: 0;
}
.svsp-chat-suggestion:hover {
	background: hsl(var(--secondary));
	border-color: hsl(var(--accent) / 0.55);
	color: hsl(var(--primary));
	transform: translateY(-1px);
	box-shadow: 0 6px 14px -8px hsl(var(--primary) / 0.3);
}

.svsp-chat-panel__foot {
	padding: 0.75rem 0.85rem 0.85rem;
	border-top: 1px solid #e2e8f0;
	background: #fff;
}
.svsp-chat-input-wrap {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0.35rem 0.35rem 0.35rem 1rem;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.svsp-chat-input-wrap:focus-within {
	border-color: hsl(var(--accent));
	box-shadow: 0 0 0 3px hsl(var(--accent) / 0.22);
	background: #fff;
}
.svsp-chat-input {
	flex: 1;
	min-width: 0;
	padding: 0.5rem 0;
	border: none;
	background: transparent;
	font-size: 0.84rem;
	color: #1e293b;
}
.svsp-chat-input:focus {
	outline: none;
}
.svsp-chat-input::placeholder {
	color: #94a3b8;
}
.svsp-chat-send {
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 50%;
	border: none;
	background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--primary)));
	color: hsl(var(--primary-foreground));
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, opacity 0.15s ease;
	box-shadow: 0 4px 12px -4px hsl(var(--primary) / 0.45);
}
.svsp-chat-send:hover:not(:disabled) {
	transform: scale(1.06);
}
.svsp-chat-send:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.svsp-chat-powered {
	font-size: 0.62rem;
	color: #94a3b8;
	text-align: center;
	margin: 0.45rem 0 0;
	letter-spacing: 0.02em;
}

body.svsp-chat-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.svsp-chat-panel {
		right: 0;
		left: 0;
		bottom: 0;
		width: 100%;
		max-height: none;
		height: min(100dvh, 100vh);
		border-radius: 0;
		transform: translateY(12px) scale(1);
	}
	.svsp-chat-panel.is-open {
		transform: translateY(0) scale(1);
	}
	.svsp-chat-panel__inner {
		max-height: none;
		height: 100%;
		border-radius: 1.15rem 1.15rem 0 0;
		padding-bottom: env(safe-area-inset-bottom, 0);
	}
	.svsp-chat-panel__head {
		padding-top: max(0.85rem, env(safe-area-inset-top, 0));
	}
	.svsp-chat-messages {
		min-height: 0;
		flex: 1 1 auto;
	}
	.svsp-chat-suggestions {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.15rem;
		scrollbar-width: none;
	}
	.svsp-chat-suggestions::-webkit-scrollbar {
		display: none;
	}
	.svsp-chat-suggestion {
		flex-shrink: 0;
		max-width: 85vw;
		white-space: nowrap;
	}
	.svsp-chat-fab {
		right: max(1rem, env(safe-area-inset-right, 0));
		bottom: max(1rem, env(safe-area-inset-bottom, 0));
	}
	.svsp-chat-panel__foot {
		padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0));
	}
}

/* My orders — status badge colors (explicit CSS; Tailwind purge-safe) */
.my-orders-page {
	padding-top: 3rem;
	padding-bottom: 4rem;
}

@media (min-width: 768px) {
	.my-orders-page {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}

.my-orders-filter__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.my-orders-filter__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.my-orders-filter__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
		align-items: end;
	}

	.my-orders-filter__search {
		grid-column: auto;
	}

	.my-orders-filter__actions-label {
		visibility: hidden;
	}
}

.my-orders-filter__actions .flex {
	width: 100%;
}

@media (max-width: 639px) {
	.my-orders-filter__actions-label {
		display: none;
	}

	.my-orders-filter__actions .flex {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

.my-orders-list {
	display: flex;
	flex-direction: column;
}

.my-orders-list__head {
	display: none;
}

.my-orders-card {
	border-bottom: 1px solid hsl(var(--border));
	background: hsl(var(--card));
}

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

.my-orders-card__grid {
	display: grid;
	gap: 0.75rem;
	padding: 1rem;
	font-family: var(--svsp-font-body);
	font-size: 0.875rem;
}

.my-orders-card__cell {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
}

.my-orders-card__label {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: hsl(var(--muted-foreground));
}

.my-orders-card__value {
	color: hsl(var(--foreground));
	min-width: 0;
	word-break: break-word;
}

.my-orders-card__product {
	font-weight: 600;
	line-height: 1.4;
}

.my-orders-card__dispatch {
	display: inline-flex;
	margin-top: 0.35rem;
}

.my-orders-card__total {
	font-family: var(--svsp-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: hsl(var(--accent));
}

.my-orders-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.my-orders-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0.35rem 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease;
}

.my-orders-card__btn:hover {
	background: hsl(var(--secondary));
}

.my-orders-card__btn--accent {
	border-color: hsl(var(--accent) / 0.4);
	background: hsl(var(--accent) / 0.1);
	color: hsl(var(--accent));
}

.my-orders-card__btn--accent:hover {
	background: hsl(var(--accent) / 0.18);
}

@media (max-width: 767px) {
	.my-orders-card__cell--total,
	.my-orders-card__cell--actions {
		padding-top: 0.15rem;
		border-top: 1px dashed hsl(var(--border) / 0.8);
	}

	.my-orders-card__cell--actions .my-orders-card__actions {
		width: 100%;
	}

	.my-orders-card__cell--actions .my-orders-card__btn {
		flex: 1 1 calc(50% - 0.25rem);
	}
}

@media (min-width: 768px) {
	.my-orders-list__head {
		display: grid;
		grid-template-columns: 5.5rem 5.5rem minmax(0, 1fr) minmax(0, 8.5rem) 5.5rem minmax(9rem, auto);
		gap: 0.75rem 1rem;
		align-items: center;
		padding: 0.75rem 1rem;
		font-family: var(--svsp-font-body);
		font-size: 0.75rem;
		font-weight: 600;
		color: hsl(var(--muted-foreground));
		background: hsl(var(--secondary) / 0.6);
		border-bottom: 1px solid hsl(var(--border));
	}

	.my-orders-list__head span:nth-child(5),
	.my-orders-list__head span:nth-child(6) {
		text-align: right;
	}

	.my-orders-card__grid {
		grid-template-columns: 5.5rem 5.5rem minmax(0, 1fr) minmax(0, 8.5rem) 5.5rem minmax(9rem, auto);
		gap: 0.75rem 1rem;
		align-items: center;
		padding: 0.85rem 1rem;
	}

	.my-orders-card__label {
		display: none;
	}

	.my-orders-card__cell--total .my-orders-card__value {
		text-align: right;
		width: 100%;
	}

	.my-orders-card__cell--actions .my-orders-card__actions {
		justify-content: flex-end;
		width: 100%;
	}

	.my-orders-card:hover .my-orders-card__grid {
		background: hsl(var(--secondary) / 0.12);
	}
}

.my-orders-pagination {
	gap: 0.35rem;
}

.my-orders-pagination a,
.my-orders-pagination span {
	font-size: 0.8125rem;
	padding: 0.45rem 0.75rem;
}

@media (max-width: 479px) {
	.my-orders-pagination {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}

	.my-orders-pagination a,
	.my-orders-pagination span {
		justify-content: center;
		width: 100%;
		min-width: 0;
	}

	.my-orders-pagination a:not([href*="page"]),
	.my-orders-pagination span:not([aria-current]) {
		grid-column: span 1;
	}

	.my-orders-pagination .inline-flex.min-w-\[2\.25rem\] {
		min-width: 0;
	}
}

.my-order-status {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	border-width: 1px;
	border-style: solid;
	padding: 0.25rem 0.7rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.my-order-status--paid {
	background-color: #d1fae5 !important;
	color: #065f46 !important;
	border-color: #34d399 !important;
}

.my-order-status--cancelled {
	background-color: #e2e8f0 !important;
	color: #1e293b !important;
	border-color: #94a3b8 !important;
}

.my-order-status--progress {
	background-color: #fef3c7 !important;
	color: #92400e !important;
	border-color: #f59e0b !important;
}

.my-order-status--failed {
	background-color: #fee2e2 !important;
	color: #991b1b !important;
	border-color: #f87171 !important;
}

.my-order-status--other {
	background-color: #f1f5f9 !important;
	color: #334155 !important;
	border-color: #cbd5e1 !important;
}

/* My orders — expanded detail panel (full-width stacked receipt layout) */
#myOrdersTableWrap .order-detail-row__inner {
	padding: 0;
	border-top: 1px solid hsl(var(--border));
	background: hsl(var(--secondary) / 0.35);
}

.my-order-detail {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 1rem 1.1rem 1.15rem;
	background: hsl(var(--card));
	border-left: 3px solid hsl(var(--primary));
	font-family: var(--svsp-font-body);
}

@media (min-width: 768px) {
	.my-order-detail {
		padding: 1.15rem 1.35rem 1.35rem;
	}
}

.my-order-detail__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.85rem 1.25rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid hsl(var(--border));
}

.my-order-detail__header-main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.65rem 0.85rem;
	min-width: 0;
	flex: 1 1 14rem;
}

.my-order-detail__header-text {
	min-width: 0;
}

.my-order-detail__order-id {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__summary {
	margin: 0.2rem 0 0;
	font-family: var(--svsp-font-display);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: hsl(var(--foreground));
	word-break: break-word;
}

.my-order-detail__header-aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.55rem;
	flex: 0 0 auto;
}

@media (max-width: 639px) {
	.my-order-detail__header {
		flex-direction: column;
	}

	.my-order-detail__header-aside {
		align-items: flex-start;
		width: 100%;
		padding-top: 0.35rem;
		border-top: 1px solid hsl(var(--border) / 0.7);
	}

	.my-order-detail__actions {
		justify-content: flex-start;
		width: 100%;
	}

	.my-order-detail__btn {
		flex: 1 1 auto;
	}

	.my-order-detail__summary {
		font-size: 1rem;
	}

	.my-order-detail__total {
		font-size: 1.35rem;
	}

	.my-order-detail__items-table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.my-order-detail__total {
	margin: 0;
	font-family: var(--svsp-font-display);
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1;
	color: hsl(var(--accent));
	font-variant-numeric: tabular-nums;
}

.my-order-detail__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.4rem;
}

.my-order-detail__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0.35rem 0.85rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.my-order-detail__btn:hover {
	background: hsl(var(--secondary));
}

.my-order-detail__btn--primary {
	border-color: hsl(var(--primary) / 0.35);
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.my-order-detail__btn--primary:hover {
	opacity: 0.92;
	background: hsl(var(--primary));
}

.my-order-detail__meta {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem 1.25rem;
	margin: 0.9rem 0 0;
	padding: 0;
}

@media (min-width: 640px) {
	.my-order-detail__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.my-order-detail__meta {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.my-order-detail__meta-item {
	min-width: 0;
}

.my-order-detail__meta-item dt {
	margin: 0 0 0.15rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__meta-item dd {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--foreground));
	line-height: 1.4;
	word-break: break-word;
}

.my-order-detail__mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.78rem !important;
	word-break: break-all;
}

.my-order-detail__block {
	margin-top: 1rem;
}

.my-order-detail__block-title {
	margin: 0 0 0.55rem;
	font-family: var(--svsp-font-display);
	font-size: 0.98rem;
	font-weight: 700;
	color: hsl(var(--foreground));
}

.my-order-detail__block-body {
	margin: 0;
	font-size: 0.9rem;
	color: hsl(var(--foreground));
	line-height: 1.45;
}

.my-order-detail__link {
	color: hsl(var(--accent));
	font-weight: 600;
	text-decoration: none;
}

.my-order-detail__link:hover {
	text-decoration: underline;
}

.my-order-detail__lang {
	margin-left: 0.3rem;
	font-size: 0.72rem;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
	margin-top: 0.9rem;
	padding: 0.55rem 0.75rem;
	border-radius: 0.6rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--secondary) / 0.45);
	font-size: 0.85rem;
}

.my-order-detail__coupon strong {
	font-size: 0.68rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__items {
	overflow-x: auto;
	border: 1px solid hsl(var(--border));
	border-radius: 0.65rem;
	background: hsl(var(--background));
}

.my-order-detail__items-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.my-order-detail__items-table th,
.my-order-detail__items-table td {
	padding: 0.55rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid hsl(var(--border));
	vertical-align: top;
}

.my-order-detail__items-table thead th {
	background: hsl(var(--secondary) / 0.55);
	color: hsl(var(--muted-foreground));
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.my-order-detail__items-table tbody tr:last-child td {
	border-bottom: none;
}

.my-order-detail__items-table tfoot td {
	border-bottom: none;
	border-top: 1px solid hsl(var(--border));
	background: hsl(var(--secondary) / 0.35);
	font-size: 0.82rem;
}

.my-order-detail__items-table .is-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	width: 5.5rem;
}

.my-order-detail__items-table .is-right {
	text-align: right;
	color: hsl(var(--muted-foreground));
	font-weight: 600;
}

.my-order-detail__items-table .is-strong {
	font-weight: 700;
}

.my-order-detail__txn {
	margin-top: 1rem;
	border: 1px solid hsl(var(--border));
	border-radius: 0.65rem;
	background: hsl(var(--secondary) / 0.25);
	overflow: hidden;
}

.my-order-detail__txn-summary {
	cursor: pointer;
	list-style: none;
	padding: 0.7rem 0.85rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: hsl(var(--foreground));
	user-select: none;
}

.my-order-detail__txn-summary::-webkit-details-marker {
	display: none;
}

.my-order-detail__txn-summary::before {
	content: "+";
	display: inline-block;
	width: 1.1rem;
	margin-right: 0.35rem;
	color: hsl(var(--accent));
	font-weight: 800;
}

.my-order-detail__txn[open] .my-order-detail__txn-summary::before {
	content: "−";
}

.my-order-detail__txn-body {
	padding: 0 0.85rem 0.9rem;
	border-top: 1px solid hsl(var(--border));
}

.my-order-detail__txn-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.7rem 1rem;
	margin: 0.75rem 0 0;
	padding: 0;
}

@media (min-width: 640px) {
	.my-order-detail__txn-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.my-order-detail__txn-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.my-order-detail__txn-grid dt {
	margin: 0 0 0.12rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__txn-grid dd {
	margin: 0;
	font-size: 0.85rem;
	color: hsl(var(--foreground));
	word-break: break-word;
}

.my-order-detail__txn-span {
	grid-column: 1 / -1;
}

.my-order-detail__gateway {
	margin-top: 0.85rem;
}

.my-order-detail__gateway-title {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__gateway dl {
	margin: 0;
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	background: hsl(var(--card));
	overflow: hidden;
}

.my-order-detail__gateway dl > div {
	display: grid;
	grid-template-columns: minmax(6rem, 8.5rem) minmax(0, 1fr);
	gap: 0.4rem 0.75rem;
	padding: 0.45rem 0.65rem;
	border-bottom: 1px solid hsl(var(--border));
}

.my-order-detail__gateway dl > div:last-child {
	border-bottom: none;
}

.my-order-detail__gateway dt {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 650;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__gateway dd {
	margin: 0;
}

.my-order-detail__dispatch-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.85rem;
	background: hsl(var(--secondary) / 0.28);
	padding: 1rem 1.1rem 1.1rem;
}

.my-order-detail__dispatch-head {
	margin-bottom: 0.55rem;
}

.my-order-detail__dispatch-pill {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	border: 1px solid transparent;
	padding: 0.28rem 0.7rem;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.my-order-detail__dispatch-pill--pending {
	background: #f1f3f6;
	color: #535766;
	border-color: #d0d4db;
}

.my-order-detail__dispatch-pill--processing {
	background: #fff6e5;
	color: #9a6700;
	border-color: #f0d48a;
}

.my-order-detail__dispatch-pill--dispatched {
	background: #e8f0fe;
	color: #1d4ed8;
	border-color: #bfdbfe;
}

.my-order-detail__dispatch-pill--delivered {
	background: #e8f8ef;
	color: #1b7a3d;
	border-color: #a8e0bd;
}

.my-order-detail__dispatch-pill--returned {
	background: #fdecee;
	color: #b42318;
	border-color: #f2b8b5;
}

.my-order-detail__dispatch-note {
	margin: 0 0 0.9rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__dispatch-note--muted {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8125rem;
}

.my-order-detail__dispatch-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	margin-bottom: 0.9rem;
}

@media (min-width: 520px) {
	.my-order-detail__dispatch-grid {
		grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
	}
}

.my-order-detail__dispatch-field {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 0.65rem;
	padding: 0.6rem 0.75rem;
	min-width: 0;
}

.my-order-detail__dispatch-label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.my-order-detail__dispatch-value {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: hsl(var(--foreground));
	word-break: break-word;
}

.my-order-detail__dispatch-track {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1rem;
	border-radius: 0.65rem;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 0.8125rem;
	font-weight: 650;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.my-order-detail__dispatch-track:hover {
	opacity: 0.92;
	color: hsl(var(--primary-foreground));
}

.pub-compare-price {
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	text-decoration-color: hsl(var(--muted-foreground));
}

/* Publication detail page — responsive layout */
.pub-detail-page {
	padding-top: 2rem;
	padding-bottom: 2.5rem;
}

.pub-detail-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 768px) {
	.pub-detail-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 2.5rem;
	}
}

.pub-detail-cover {
	position: relative;
}

.pub-detail-cover__ratio {
	width: 100%;
	aspect-ratio: 3 / 4;
	max-height: 22rem;
	pointer-events: none;
}

@media (min-width: 768px) {
	.pub-detail-cover__ratio {
		max-height: 24rem;
	}
}

.pub-detail-cover__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	background: hsl(var(--secondary));
}

.pub-detail-cover__empty {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	text-align: center;
	font-family: var(--svsp-font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.pub-detail-trust .flex {
	align-items: flex-start;
}

.pub-detail-trust span {
	line-height: 1.45;
	word-break: break-word;
}

.pub-detail-main h2 {
	font-size: 1.65rem;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.pub-detail-main h2 {
		font-size: 2.25rem;
	}
}

.pub-detail-buy__price .font-display {
	font-size: 2rem;
	line-height: 1.1;
}

@media (min-width: 640px) {
	.pub-detail-buy__price .font-display {
		font-size: 2.25rem;
	}
}

.pub-detail-buy__actions {
	width: 100%;
}

.pub-detail-buy__qty {
	flex-shrink: 0;
}

.pub-detail-buy__btn {
	min-height: 2.85rem;
}

@media (max-width: 639px) {
	.pub-detail-page {
		padding-top: 1.5rem;
	}

	.pub-detail-gallery {
		max-width: 20rem;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}

	.pub-detail-cover__ratio {
		max-height: none;
	}

	.pub-detail-main h2 {
		font-size: 1.5rem;
	}

	.pub-detail-meta {
		grid-template-columns: 1fr 1fr;
		gap: 0.65rem;
	}

	.pub-detail-meta > div {
		padding: 0.65rem;
	}

	.pub-detail-buy {
		padding: 1rem !important;
	}

	.pub-detail-buy__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.pub-detail-buy__qty {
		width: 100%;
		justify-content: center;
	}

	.pub-detail-buy__btn {
		width: 100%;
		min-width: 0 !important;
		flex: 1 1 auto !important;
	}

	.pub-detail-tabs [role="tablist"] {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		max-width: 100%;
	}

	.pub-detail-tabs [role="tablist"]::-webkit-scrollbar {
		display: none;
	}

	.pub-detail-tabs .pub-tab {
		flex-shrink: 0;
	}

	.pub-detail-tabs [role="tabpanel"] {
		padding: 1rem !important;
	}

	.pub-detail-related {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (min-width: 640px) and (max-width: 767px) {
	.pub-detail-related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.pub-detail-hero .container {
	padding-top: 1.75rem;
	padding-bottom: 1.75rem;
}

@media (max-width: 479px) {
	.pub-detail-hero h1 {
		font-size: 1.35rem;
	}

	.pub-detail-hero .font-devanagari {
		font-size: 1.1rem;
	}
}

/* About — History timeline year (keep "13th Century" on one line) */
.history-timeline-year {
	width: 8.75rem;
	flex-shrink: 0;
	text-align: right;
}

.history-timeline-year span {
	white-space: nowrap;
}

/* Footer org name beside logo */
.footer-org-name {
	font-size: 1.15rem;
	line-height: 1.35;
	margin: 0;
}

@media (min-width: 768px) {
	.footer-org-name {
		font-size: 1.35rem;
	}
}

/* Public gallery */
.svsp-gallery-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.25rem;
	margin-bottom: 2.25rem;
}
.svsp-gallery-toolbar .svsp-gallery-filters {
	margin-bottom: 0;
	flex: 1 1 auto;
	justify-content: flex-start;
}
.svsp-gallery-view-toggle {
	display: inline-flex;
	align-self: flex-start;
	flex: 0 0 auto;
	padding: 0.2rem;
	border-radius: 999px;
	border: 1.5px solid hsl(var(--primary) / 0.28);
	background: hsl(var(--background));
	box-shadow: 0 1px 3px hsl(var(--foreground) / 0.08);
}
.svsp-gallery-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: hsl(var(--primary));
	font-family: var(--svsp-font-body);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.svsp-gallery-view-btn.is-on {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: 0 2px 8px hsl(var(--primary) / 0.28);
}
.svsp-gallery-view-btn svg { flex: 0 0 auto; }
.svsp-gallery-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin-bottom: 2.25rem;
}
.svsp-gallery-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.15rem;
	border-radius: 999px;
	border: 1.5px solid hsl(var(--primary) / 0.45);
	background: hsl(var(--card));
	color: hsl(var(--primary));
	font-family: var(--svsp-font-body);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 1px 4px hsl(var(--foreground) / 0.1);
	transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.svsp-gallery-chip:hover {
	background: hsl(var(--primary) / 0.08);
	border-color: hsl(var(--primary) / 0.55);
	color: hsl(var(--primary));
}
.svsp-gallery-chip.is-on {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: 0 2px 10px hsl(var(--primary) / 0.32);
}
.svsp-gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
@media (min-width: 640px) {
	.svsp-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.svsp-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.svsp-gallery-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--card));
	border-radius: 0.85rem;
	overflow: hidden;
	cursor: zoom-in;
	box-shadow: 0 2px 8px hsl(var(--foreground) / 0.06);
	text-align: left;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svsp-gallery-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px hsl(var(--foreground) / 0.12);
	border-color: hsl(var(--primary) / 0.25);
}
.svsp-gallery-card__frame {
	display: block;
	position: relative;
	flex: 0 0 auto;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: hsl(var(--muted) / 0.55);
}
.svsp-gallery-card__count {
	position: absolute;
	right: 0.65rem;
	bottom: 0.65rem;
	min-width: 1.85rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	box-shadow: 0 2px 8px hsl(var(--foreground) / 0.2);
}
.svsp-gallery-card__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}
.svsp-gallery-card:hover .svsp-gallery-card__frame img {
	transform: scale(1.04);
}
.svsp-gallery-card__caption {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1 1 auto;
	padding: 0.9rem 1rem 1rem;
	border-top: 1px solid hsl(var(--border) / 0.7);
	background: hsl(var(--card));
}
.svsp-gallery-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.65rem;
}
.svsp-gallery-card__title {
	flex: 1 1 auto;
	font-family: var(--svsp-font-display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	color: hsl(var(--foreground));
}
.svsp-gallery-card__badge {
	flex: 0 0 auto;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: hsl(var(--muted));
	color: hsl(var(--muted-foreground));
	font-family: var(--svsp-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}
.svsp-gallery-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
}
.svsp-gallery-card__cat {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	background: hsl(var(--primary) / 0.1);
	border: 1px solid hsl(var(--primary) / 0.22);
	color: hsl(var(--primary));
	font-family: var(--svsp-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.svsp-gallery-card__date {
	font-family: var(--svsp-font-body);
	font-size: 0.8rem;
	color: hsl(var(--muted-foreground));
}
.svsp-gallery-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 18rem;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
	text-align: center;
}
.svsp-gallery-empty p {
	width: 100%;
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.svsp-gallery-table-wrap[hidden] { display: none !important; }
.svsp-gallery-grid[hidden] { display: none !important; }
.svsp-gallery-table-scroll {
	overflow-x: auto;
	border-radius: 0.75rem;
	border: 1px solid #e8e0d4;
	background: #fff;
	box-shadow: 0 1px 2px rgba(40, 20, 10, 0.06), 0 8px 24px -16px rgba(40, 20, 10, 0.2);
}
.svsp-gallery-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--svsp-font-body);
	font-size: 0.92rem;
}
.svsp-gallery-table th,
.svsp-gallery-table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #efe6d8;
	text-align: left;
	vertical-align: middle;
}
.svsp-gallery-table th {
	font-family: var(--svsp-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	background: hsl(var(--muted) / 0.45);
}
.svsp-gallery-table tbody tr:last-child td { border-bottom: 0; }
.svsp-gallery-table tbody tr:hover { background: #fcf9f4; }
.svsp-gallery-table__thumb {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0.45rem;
	overflow: hidden;
	cursor: zoom-in;
}
.svsp-gallery-table__thumb img {
	display: block;
	width: 72px;
	height: 56px;
	object-fit: cover;
}
.svsp-gallery-table__title {
	display: block;
	font-family: var(--svsp-font-display);
	font-size: 1rem;
	color: hsl(var(--foreground));
}
.svsp-gallery-table__caption {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.82rem;
	color: hsl(var(--muted-foreground));
}
.svsp-gallery-table__view {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1.5px solid hsl(var(--primary) / 0.35);
	background: hsl(var(--background));
	color: hsl(var(--primary));
	font-family: var(--svsp-font-body);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.svsp-gallery-table__view:hover {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}
@media (max-width: 767px) {
	.svsp-gallery-view-btn__label { display: none; }
	.svsp-gallery-table thead { display: none; }
	.svsp-gallery-table,
	.svsp-gallery-table tbody,
	.svsp-gallery-table tr,
	.svsp-gallery-table td { display: block; width: 100%; }
	.svsp-gallery-table tr {
		padding: 0.85rem 1rem;
		border-bottom: 1px solid #efe6d8;
	}
	.svsp-gallery-table td {
		padding: 0.35rem 0;
		border-bottom: 0;
	}
	.svsp-gallery-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 0.72rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: hsl(var(--muted-foreground));
		margin-bottom: 0.2rem;
	}
	.svsp-gallery-table td:last-child { margin-top: 0.5rem; }
}
body.svsp-lightbox-open { overflow: hidden; }
.svsp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 3.5rem;
}
.svsp-lightbox[hidden] { display: none !important; }
.svsp-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 10, 6, 0.88);
}
.svsp-lightbox__stage {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: min(92vw, 1100px);
	max-height: 90vh;
	text-align: center;
}
.svsp-lightbox__stage img {
	max-width: 100%;
	max-height: 74vh;
	object-fit: contain;
	border-radius: 0.4rem;
	box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.svsp-lightbox__stage figcaption {
	color: #f4eadc;
	margin-top: 0.85rem;
	font-family: var(--svsp-font-body);
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.svsp-lightbox__stage strong { font-family: var(--svsp-font-display); font-size: 1.25rem; }
.svsp-lightbox__stage span { opacity: .75; font-size: .85rem; }
.svsp-lightbox__stage em { font-style: normal; opacity: .9; font-size: .95rem; }
.svsp-lightbox__x,
.svsp-lightbox__nav {
	position: absolute;
	z-index: 2;
	border: 0;
	background: rgba(255,255,255,.08);
	color: #fff;
	cursor: pointer;
	border-radius: 999px;
}
.svsp-lightbox__x {
	top: 1rem;
	right: 1rem;
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1.6rem;
	line-height: 1;
}
.svsp-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 2.6rem;
	height: 2.6rem;
	font-size: 1.8rem;
	line-height: 1;
}
.svsp-lightbox__nav.is-prev { left: 0.75rem; }
.svsp-lightbox__nav.is-next { right: 0.75rem; }
.svsp-lightbox__x:hover,
.svsp-lightbox__nav:hover { background: rgba(255,255,255,.18); }
@media (max-width: 639px) {
	.svsp-lightbox { padding: 3.5rem 0.6rem 1rem; }
	.svsp-lightbox__nav { top: auto; bottom: 1rem; transform: none; }
	.svsp-lightbox__nav.is-prev { left: 1rem; }
	.svsp-lightbox__nav.is-next { right: 1rem; }
}

