/* ─────────────────────────────────────────────────────────────
   Sawmove Portal — Custom CSS (ported from Tailwind theme)
   Theme tokens + component styles matching the original SPA
   ───────────────────────────────────────────────────────────── */

:root {
    --font-size: 16px;
    --background: #ffffff;
    --foreground: #0c1a0f;
    --card: #f2f7f3;
    --card-foreground: #0c1a0f;
    --primary: #1a5c34;
    --primary-foreground: #ffffff;
    --secondary: #e4f0e8;
    --secondary-foreground: #1a5c34;
    --muted: #e8eeea;
    --muted-foreground: #5a6b5d;
    --accent: #52b73a;
    --accent-foreground: #ffffff;
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --border: rgba(26, 92, 52, 0.13);
    --radius: 0.375rem;
    --font-heading: "Barlow Condensed", "Barlow", system-ui, sans-serif;
    --font-sans: "Inter", system-ui, sans-serif;

    /* ── Bootstrap 5 variable overrides ──
       Bootstrap utilities use !important with their own variables
       (--bs-primary, etc.). We override them to match the green theme. */
    --bs-primary: #1a5c34;
    --bs-primary-rgb: 26, 92, 52;
    --bs-primary-text-emphasis: #0e3d22;
    --bs-primary-bg-subtle: #d1e7d6;
    --bs-primary-border-subtle: #a3cfac;

    --bs-secondary: #52b73a;
    --bs-secondary-rgb: 82, 183, 58;
    --bs-secondary-text-emphasis: #2d7220;
    --bs-secondary-bg-subtle: #dcf1d8;
    --bs-secondary-border-subtle: #b9e3b0;

    --bs-success: #52b73a;
    --bs-success-rgb: 82, 183, 58;

    --bs-danger: #d4183d;
    --bs-danger-rgb: 212, 24, 61;

    --bs-body-color: #0c1a0f;
    --bs-body-color-rgb: 12, 26, 15;
    --bs-body-bg: #ffffff;
    --bs-body-bg-rgb: 255, 255, 255;

    --bs-emphasis-color: #0c1a0f;
    --bs-emphasis-color-rgb: 12, 26, 15;

    --bs-link-color: #1a5c34;
    --bs-link-color-rgb: 26, 92, 52;
    --bs-link-hover-color: #0e3d22;
    --bs-link-hover-color-rgb: 14, 61, 34;

    --bs-border-color: rgba(26, 92, 52, 0.13);

    --bs-heading-color: #0c1a0f;

    --bs-dark: #0c1a0f;
    --bs-dark-rgb: 12, 26, 15;
    --bs-light: #f2f7f3;
    --bs-light-rgb: 242, 247, 243;

    --bs-focus-ring-color: rgba(82, 183, 58, 0.25);
}

/* ── Base ── */
* { box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    font-size: var(--font-size);
    line-height: 1.5;
}

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

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.5; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* ── Layout helpers ── */
.pt-16 { padding-top: 4rem; }
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-16 { top: 4rem; }
.bottom-5 { bottom: 1.25rem; }
.bottom-24 { bottom: 6rem; }
.right-4 { right: 1rem; }
.right-5 { right: 1.25rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.min-h-0 { min-height: 0; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ── Spacing ── */
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.p-1 { padding: 0.25rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-1\.5 { margin-left: 0.375rem; }
.mr-1 { margin-right: 0.25rem; }

/* ── Colors ── */
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-card { background-color: var(--card); }
.bg-muted { background-color: var(--muted); }
.bg-white { background-color: #ffffff; }
.bg-accent { background-color: var(--accent); }
.bg-destructive { background-color: var(--destructive); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: #ffffff; }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-destructive { color: var(--destructive); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-amber-600 { color: #d97706; }
.text-blue-600 { color: #2563eb; }

/* ── Border ── */
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-l { border-left: 1px solid var(--border); }
.border-r { border-right: 1px solid var(--border); }
.border-t-0 { border-top: 0; }
.no-border { border: none; }
.rounded { border-radius: 0.25rem; }
.rounded-sm { border-radius: calc(var(--radius) - 4px); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-full { border-radius: 9999px; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }
.border-primary\/20 { border-color: rgba(26,92,52,0.2); }
.border-primary\/30 { border-color: rgba(26,92,52,0.3); }
.border-accent\/20 { border-color: rgba(82,183,58,0.2); }
.border-destructive\/20 { border-color: rgba(212,24,61,0.2); }
.border-amber-100 { border-color: #fef3c7; }
.border-blue-100 { border-color: #dbeafe; }

/* ── Typography ── */
.font-heading { font-family: var(--font-heading); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-none { line-height: 1; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.break-all { word-break: break-all; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

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

/* ── Aspect ratios ── */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.pb-full { padding-bottom: 100%; }

/* ── Hover / transitions ── */
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.transition-all { transition: all 0.15s; }
.transition-shadow { transition: box-shadow 0.15s; }
.transition-transform { transition: transform 0.15s; }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-primary\/80:hover { color: rgba(26,92,52,0.8); }
.hover\:bg-primary\/90:hover { background-color: rgba(26,92,52,0.9); }
.hover\:bg-accent\/90:hover { background-color: rgba(82,183,58,0.9); }
.hover\:bg-card:hover { background-color: var(--card); }
.hover\:bg-secondary:hover { background-color: var(--secondary); }
.hover\:bg-muted:hover { background-color: var(--muted); }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:border-primary\/30:hover { border-color: rgba(26,92,52,0.3); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.hover\:shadow-sm:hover { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:bg-primary\/10 { background-color: rgba(26,92,52,0.1); }

/* ── Shadow ── */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ── Opacity ── */
.opacity-10 { opacity: 0.1; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-40 { opacity: 0.4; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:opacity-60:disabled { opacity: 0.6; }
.disabled\:opacity-40:disabled { opacity: 0.4; }

/* ── Responsive grids (mobile-first) ── */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:text-6xl { font-size: 3.75rem; }
    .sm\:w-\[360px\] { width: 360px; }
    .sm\:right-5 { right: 1.25rem; }
    .sm\:flex { display: flex; }
    .sm\:hidden { display: none; }
    .sm\:p-8 { padding: 2rem; }
    .sm\:gap-3 { gap: 0.75rem; }
    .sm\:w-12 { width: 3rem; }
    .sm\:h-14 { height: 3.5rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:max-w-\[55\%\] { max-width: 55%; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:grid-cols-\[260px_1fr\] { grid-template-columns: 260px 1fr; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .md\:text-7xl { font-size: 4.5rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:flex-row { flex-direction: row; }
    .md\:col-span-1 { grid-column: span 1; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Gradient ── */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--card), var(--background)); }

/* ── Backdrop ── */
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ── Sticky ── */
.sticky { position: sticky; }

/* ── Spin animation ── */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 0.6s linear infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 1.5s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ── Play icon (CSS triangle) ── */
.play-icon {
    width: 0; height: 0;
    border-top: 8px solid transparent;
    border-left: 16px solid white;
    border-bottom: 8px solid transparent;
    margin-left: 2px;
}
.play-icon-lg {
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-left: 20px solid white;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
}
.play-icon-sm {
    width: 0; height: 0;
    border-top: 7px solid transparent;
    border-left: 14px solid white;
    border-bottom: 7px solid transparent;
    margin-left: 2px;
}

/* ── Tabular nums ── */
.tabular-nums { font-variant-numeric: tabular-nums; }

/* ── Cursor ── */
.cursor-pointer { cursor: pointer; }

/* ── Max width for truncate ── */
.max-w-\[120px\] { max-width: 120px; }
.max-w-\[200px\] { max-width: 200px; }
.max-w-\[80\%\] { max-width: 80%; }
.max-w-lg { max-width: 32rem; }
.max-w-xs { max-width: 20rem; }
.max-w-\[calc\(100vw-2rem\)\] { max-width: calc(100vw - 2rem); }
.max-h-\[75vh\] { max-height: 75vh; }

/* ── Divide ── */
.divide-y > * + * { border-top: 1px solid var(--border); }

/* ── Misc ── */
.w-0 { width: 0; }
.h-0 { height: 0; }
.w-0\.5 { width: 2px; }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.h-6 { height: 1.5rem; }
.h-0\.5 { height: 2px; }
.rounded-t-sm { border-top-left-radius: 0; border-top-right-radius: calc(var(--radius) - 4px); border-bottom-left-radius: calc(var(--radius) - 4px); border-bottom-right-radius: calc(var(--radius) - 4px); }
.rounded-tl-sm { border-top-left-radius: calc(var(--radius) - 4px); }

/* ── Focus ── */
.focus\:outline-none:focus { outline: none; }
.focus\:border-primary\/50:focus { border-color: rgba(26,92,52,0.5); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(82,183,58,0.15); }
.focus\:ring-primary\/15:focus { box-shadow: 0 0 0 2px rgba(82,183,58,0.15); }
.focus\:ring-destructive\/20:focus { box-shadow: 0 0 0 2px rgba(212,24,61,0.2); }

/* ── Active scale ── */
.active\:scale-95:active { transform: scale(0.95); }

/* ── Background colors with opacity ── */
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }
.bg-white\/80 { background-color: rgba(255,255,255,0.8); }
.bg-white\/50 { background-color: rgba(255,255,255,0.5); }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.bg-white\/15 { background-color: rgba(255,255,255,0.15); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-accent\/15 { background-color: rgba(82,183,58,0.15); }
.bg-accent\/10 { background-color: rgba(82,183,58,0.1); }
.bg-destructive\/10 { background-color: rgba(212,24,61,0.1); }
.bg-primary\/10 { background-color: rgba(26,92,52,0.1); }
.bg-card\/50 { background-color: rgba(242,247,243,0.5); }
.hover\:bg-card\/50:hover { background-color: rgba(242,247,243,0.5); }
.bg-muted\/50 { background-color: rgba(232,238,234,0.5); }
.bg-muted\/40 { background-color: rgba(232,238,234,0.4); }
.bg-amber-50 { background-color: #fffbeb; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-green-300 { background-color: #86efac; }

/* ── Text with opacity ── */
.text-white\/90 { color: rgba(255,255,255,0.9); }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white\/75 { color: rgba(255,255,255,0.75); }
.text-white\/70 { color: rgba(255,255,255,0.7); }
.text-white\/60 { color: rgba(255,255,255,0.6); }
.text-white\/50 { color: rgba(255,255,255,0.5); }
.text-white\/30 { color: rgba(255,255,255,0.3); }
.text-foreground\/80 { color: rgba(12,26,15,0.8); }
.text-foreground\/70 { color: rgba(12,26,15,0.7); }
.text-foreground\/50 { color: rgba(12,26,15,0.5); }
.text-primary-foreground\/70 { color: rgba(255,255,255,0.7); }
.text-primary-foreground\/50 { color: rgba(255,255,255,0.5); }
.text-primary-foreground\/75 { color: rgba(255,255,255,0.75); }
.text-muted-foreground\/50 { color: rgba(90,107,93,0.5); }
.text-accent\/90 { color: rgba(82,183,58,0.9); }

/* ── Border with opacity ── */
.border-white\/15 { border-color: rgba(255,255,255,0.15); }
.bg-primary-foreground\/50 { background-color: rgba(255,255,255,0.5); }

/* ── Rounded top ── */
.rounded-tr-sm { border-top-right-radius: 0; }

/* ── Flex row reverse ── */
.flex-row-reverse { flex-direction: row-reverse; }

/* ── Bootstrap overrides ── */
.btn-sawmove {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    padding: 0.625rem 1rem;
    border-radius: calc(var(--radius) - 4px);
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.15s;
}
.btn-sawmove:hover { background-color: rgba(26,92,52,0.9); color: white; }
.btn-sawmove:disabled { opacity: 0.6; }

/* ── Accordion ── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item + .faq-item { margin-top: 0.5rem; }
.faq-header {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1rem; text-align: left; background: white;
    transition: background-color 0.15s;
}
.faq-header:hover { background-color: var(--card); }
.faq-body {
    padding: 0.75rem 1rem 1rem 1rem;
    font-size: 0.875rem; color: var(--muted-foreground);
    line-height: 1.625; border-top: 1px solid var(--border);
}

/* ── Nav scrolled state ── */
.nav-scrolled {
    background-color: white !important;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.nav-top {
    background-color: rgba(255,255,255,0.95);
}

/* ── Admin action buttons ── */
.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4375rem 0.75rem;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25;
    white-space: nowrap;
}
.admin-btn i { font-size: 12px; }
.admin-btn-primary {
    color: var(--primary);
    border-color: rgba(var(--bs-primary-rgb), 0.25);
}
.admin-btn-primary:hover {
    background-color: var(--secondary);
    border-color: rgba(var(--bs-primary-rgb), 0.4);
}
.admin-btn-danger {
    color: var(--destructive);
    border-color: rgba(var(--bs-danger-rgb), 0.25);
}
.admin-btn-danger:hover {
    background-color: rgba(var(--bs-danger-rgb), 0.06);
    border-color: rgba(var(--bs-danger-rgb), 0.4);
}
.admin-btn-success {
    color: var(--accent);
    border-color: rgba(var(--bs-success-rgb), 0.3);
}
.admin-btn-success:hover {
    background-color: rgba(var(--bs-success-rgb), 0.08);
    border-color: rgba(var(--bs-success-rgb), 0.45);
}

/* ── Gift status badge ── */
.gift-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 9999px;
    transition: opacity 0.15s ease;
}
.gift-toggle-btn:hover {
    opacity: 0.8;
}
.gift-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 12px;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.gift-badge-on {
    background-color: rgba(var(--bs-success-rgb), 0.1);
    color: var(--accent);
    border-color: rgba(var(--bs-success-rgb), 0.25);
}
.gift-badge-off {
    background-color: rgba(var(--bs-secondary-rgb), 0.5);
    color: var(--muted-foreground);
    border-color: var(--border);
}

/* ── Toast notification ── */
.toast-notify {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.toast-notify.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-notify.success { background-color: var(--accent); }
.toast-notify.error { background-color: var(--destructive); }

/* ── Support page sidebar ── */
.support-search {
    position: relative;
    margin-bottom: 0.75rem;
}
.support-search input {
    width: 100%;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--foreground);
    outline: none;
    transition: border-color 0.15s;
}
.support-search input:focus {
    border-color: rgba(var(--bs-primary-rgb), 0.4);
}
.support-search input::placeholder { color: var(--muted-foreground); }
.support-search .search-icon {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    font-size: 14px;
    pointer-events: none;
}
.support-product-list {
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.support-product-list::-webkit-scrollbar { width: 5px; }
.support-product-list::-webkit-scrollbar-track { background: transparent; }
.support-product-list::-webkit-scrollbar-thumb {
    background: rgba(var(--bs-primary-rgb), 0.15);
    border-radius: 3px;
}
.support-product-list::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--bs-primary-rgb), 0.3);
}
.support-product-btn.hidden-by-search { display: none; }

/* ── Empty-state placeholders ── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--card);
    text-align: center;
}
.empty-state i {
    font-size: 28px;
    color: var(--muted-foreground);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}
.empty-state p {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin: 0;
}
.empty-state p strong { color: var(--foreground); }

/* ── Support video player ── */
.support-video-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
}
.support-video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}
.support-video-card .video-info {
    padding: 0.625rem 0.75rem;
}
.support-video-card .video-info .v-type {
    font-size: 10px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.support-video-card .video-info .v-title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 0.125rem;
}

/* ── Support image gallery ── */
.support-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.625rem;
}
.support-image-item {
    aspect-ratio: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.15s;
}
.support-image-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.support-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Lightbox */
.support-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.75);
    padding: 2rem;
    cursor: zoom-out;
}
.support-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ── Form inputs ── */
.form-input {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.875rem; background: var(--background);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus { outline: none; border-color: rgba(26,92,52,0.5); box-shadow: 0 0 0 2px rgba(82,183,58,0.15); }
.form-input.error { border-color: var(--destructive); }
.form-input.error:focus { box-shadow: 0 0 0 2px rgba(212,24,61,0.2); }

/* ── Product media carousel ── */
.product-media-square {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 1000px;
    max-height: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(228, 240, 232, 0.35);
}
.product-carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.product-carousel-slide.is-active { display: block; }
.product-carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(12, 26, 15, 0.12);
}
.product-carousel-prev { left: 0.75rem; }
.product-carousel-next { right: 0.75rem; }
.product-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.75rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.375rem;
}
.product-carousel-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(26, 92, 52, 0.25);
}
.product-carousel-dot.is-active { background: var(--primary); }
.product-media-caption {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 4;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 0.625rem;
}
.home-lineup-card {
    display: block;
}
.home-lineup-card .product-carousel {
    background: rgba(228, 240, 232, 0.2);
}

/* ── Admin product image sorting ── */
.admin-image-sorter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}
.admin-image-sort-item {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 140px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
}
.admin-image-sort-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.admin-image-sort-index {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    min-width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}
.admin-image-sort-actions {
    position: absolute;
    left: 0.4rem;
    right: 0.4rem;
    bottom: 0.4rem;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}
.admin-image-sort-actions button {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Warranty applications admin page ── */
.admin-warranty-container { width: min(99vw, 2200px); }
.warranty-applications-table { min-width: 0; table-layout: auto; }
.warranty-filter-field { min-width: 220px; }
.warranty-page-current {
    background-color: var(--primary);
    border-color: var(--primary) !important;
    color: #fff;
}

/* ── Mobile menu ── */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }
