*, ::before, ::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; }
::backdrop { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; }
/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */
*, ::after, ::before { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
::after, ::before { --tw-content: ''; }
:host, html { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; }
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
abbr:where([title]) { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, pre, samp { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea { font-family: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]) { -webkit-appearance: button; background-color: transparent; background-image: none; }
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type=search] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
menu, ol, ul { list-style: none; margin: 0; padding: 0; }
dialog { padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
[role=button], button { cursor: pointer; }
:disabled { cursor: default; }
audio, canvas, embed, iframe, img, object, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
[hidden]:where(:not([hidden=until-found])) { display: none; }

.container { width: 100%; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.pointer-events-none { pointer-events: none; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0px; }
.-bottom-10 { bottom: -2.5rem; }
.-right-10 { right: -2.5rem; }
.right-0 { right: 0px; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.top-0 { top: 0px; }
.top-1\/2 { top: 50%; }
.top-4 { top: 1rem; }
.-right-2 { right: -0.5rem; }
.-top-2 { top: -0.5rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[55\] { z-index: 55; }
.z-\[65\] { z-index: 65; }
.z-\[70\] { z-index: 70; }
.float-right { float: right; }
.clear-both { clear: both; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.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-8 { margin-bottom: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-6 { margin-right: 1.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.-mt-1 { margin-top: -0.25rem; }
.ml-12 { margin-left: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.h-8 { height: 2rem; }
.h-full { height: 100%; }
.h-12 { height: 3rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-48 { height: 12rem; }
.h-5 { height: 1.25rem; }
.max-h-\[50vh\] { max-height: 50vh; }
.max-h-\[90vh\] { max-height: 90vh; }
.min-h-screen { min-height: 100vh; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-12 { width: 3rem; }
.w-4 { width: 1rem; }
.w-10 { width: 2.5rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.flex-grow { flex-grow: 1; }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.translate-x-full { --tw-translate-x: 100%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.rotate-12 { --tw-rotate: 12deg; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.rotate-180 { --tw-rotate: 180deg; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
@keyframes pulse { 50% { opacity: .5; } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.cursor-pointer { cursor: pointer; }
.select-none { -webkit-user-select: none; user-select: none; }
.resize-none { resize: none; }
.appearance-none { -webkit-appearance: none; appearance: none; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-6 { gap: 1.5rem; }
.gap-1 { gap: 0.25rem; }
.gap-4 { gap: 1rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(1rem * var(--tw-space-y-reverse)); }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.375rem * var(--tw-space-y-reverse)); }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.whitespace-nowrap { white-space: nowrap; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-\[1\.5rem\] { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-t { border-top-width: 1px; }
.border-dashed { border-style: dashed; }
.border-gray-100 { --tw-border-opacity: 1; border-color: rgb(243 244 246 / var(--tw-border-opacity, 1)); }
.border-gray-200 { --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); }
.border-red-500 { --tw-border-opacity: 1; border-color: rgb(239 68 68 / var(--tw-border-opacity, 1)); }
.bg-gray-50 { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); }
.bg-gray-100 { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); }
.bg-gray-900\/60 { background-color: rgb(17 24 39 / 0.6); }
.bg-gray-900\/80 { background-color: rgb(17 24 39 / 0.8); }
.bg-red-50 { --tw-bg-opacity: 1; background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1)); }
.bg-red-500 { --tw-bg-opacity: 1; background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1)); }
.bg-white { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); }
.bg-white\/20 { background-color: rgb(255 255 255 / 0.2); }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-2 { padding: 0.5rem; }
.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; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pl-3 { padding-left: 0.75rem; }
.pr-12 { padding-right: 3rem; }
.pr-2 { padding-right: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-0 { padding-top: 0px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-sans { font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-\[11px\] { font-size: 11px; }
.text-\[150px\] { font-size: 150px; }
.text-\[9px\] { font-size: 9px; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[10px\] { font-size: 10px; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-gray-900 { --tw-text-opacity: 1; color: rgb(17 24 39 / var(--tw-text-opacity, 1)); }
.text-gray-400 { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity, 1)); }
.text-gray-500 { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity, 1)); }
.text-gray-600 { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity, 1)); }
.text-red-500 { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity, 1)); }
.text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); }
.text-gray-300 { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity, 1)); }
.text-gray-700 { --tw-text-opacity: 1; color: rgb(55 65 81 / var(--tw-text-opacity, 1)); }
.text-gray-800 { --tw-text-opacity: 1; color: rgb(31 41 55 / var(--tw-text-opacity, 1)); }
.text-green-500 { --tw-text-opacity: 1; color: rgb(34 197 94 / var(--tw-text-opacity, 1)); }
.line-through { -webkit-text-decoration-line: line-through; text-decoration-line: line-through; }
.placeholder-gray-400::placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1)); }
.opacity-20 { opacity: 0.2; }
.opacity-60 { opacity: 0.6; }
.opacity-90 { opacity: 0.9; }
.shadow-2xl { --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-lg { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-sm { --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-xl { --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-red-500\/20 { --tw-shadow-color: rgb(239 68 68 / 0.2); --tw-shadow: var(--tw-shadow-colored); }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.backdrop-blur-sm { --tw-backdrop-blur: blur(4px); -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); }
.transition-colors { transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition { transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.last\:border-0:last-child { border-width: 0px; }
.last\:pb-0:last-child { padding-bottom: 0px; }
.hover\:bg-gray-200:hover { --tw-bg-opacity: 1; background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); }
.hover\:bg-gray-50:hover { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); }
.hover\:bg-red-600:hover { --tw-bg-opacity: 1; background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1)); }
.hover\:bg-red-500:hover { --tw-bg-opacity: 1; background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1)); }
.hover\:bg-gray-100:hover { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); }
.hover\:text-gray-900:hover { --tw-text-opacity: 1; color: rgb(17 24 39 / var(--tw-text-opacity, 1)); }
.hover\:text-red-500:hover { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity, 1)); }
.hover\:text-green-500:hover { --tw-text-opacity: 1; color: rgb(34 197 94 / var(--tw-text-opacity, 1)); }
.hover\:text-white:hover { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:shadow-xl:hover { --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.focus\:border-red-500:focus { --tw-border-opacity: 1; border-color: rgb(239 68 68 / var(--tw-border-opacity, 1)); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

.dark\:border-gray-700:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(55 65 81 / var(--tw-border-opacity, 1)); }
.dark\:border-gray-800:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(31 41 55 / var(--tw-border-opacity, 1)); }
.dark\:border-gray-600:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(75 85 99 / var(--tw-border-opacity, 1)); }
.dark\:bg-gray-900:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1)); }
.dark\:bg-gray-800:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)); }
.dark\:bg-red-500\/10:is(.dark *) { background-color: rgb(239 68 68 / 0.1); }
.dark\:bg-gray-700:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1)); }
.dark\:text-white:is(.dark *) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-300:is(.dark *) { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-400:is(.dark *) { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-500:is(.dark *) { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-600:is(.dark *) { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-200:is(.dark *) { --tw-text-opacity: 1; color: rgb(229 231 235 / var(--tw-text-opacity, 1)); }
.dark\:placeholder-gray-500:is(.dark *)::placeholder { --tw-placeholder-opacity: 1; color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1)); }
.dark\:shadow-none:is(.dark *) { --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.dark\:hover\:bg-gray-700:hover:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1)); }
.dark\:hover\:bg-gray-800:hover:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)); }
.dark\:hover\:text-red-500:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity, 1)); }
.dark\:hover\:text-white:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); }
.dark\:hover\:shadow-red-500\/10:hover:is(.dark *) { --tw-shadow-color: rgb(239 68 68 / 0.1); --tw-shadow: var(--tw-shadow-colored); }

@media (min-width: 640px) {
  .sm\:inline { display: inline; }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:inline { display: inline; }
  .md\:h-10 { height: 2.5rem; }
  .md\:w-\[450px\] { width: 450px; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-5 { gap: 1.25rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .md\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .md\:py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
  .md\:pl-5 { padding-left: 1.25rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-\[10px\] { font-size: 10px; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:h-14 { height: 3.5rem; }
  .md\:h-20 { height: 5rem; }
  .md\:h-24 { height: 6rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Новые стили (добавлены вручную) */
.bg-black\/90 { background-color: rgb(0 0 0 / 0.9); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.border-white\/10 { border-color: rgb(255 255 255 / 0.1); }
.gap-1\.5 { gap: 0.375rem; }
.hover\:text-yellow-500:hover { color: rgb(234 179 8); }
.dark\:hover\:text-yellow-400:hover:is(.dark *) { color: rgb(250 204 21); }

/* Цвета для инвертированной кнопки смены темы */
.bg-gray-900 { background-color: rgb(17 24 39); }
.dark\:bg-white:is(.dark *) { background-color: rgb(255 255 255); }
.dark\:text-gray-900:is(.dark *) { color: rgb(17 24 39); }

/* 3D Переворот карточек */
.perspective-1000 { perspective: 1000px; }
.transform-style-3d { transform-style: preserve-3d; }
.backface-hidden { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.rotate-y-180 { transform: rotateY(180deg); }
.is-flipped { transform: rotateY(180deg); }

/* --- Стили для подсказок DaData --- */
/* Делаем окно современным: скругляем углы, добавляем отступы и тень */
.suggestions-suggestions {
    border-radius: 0.75rem !important; 
    border: 1px solid rgb(229 231 235) !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1) !important;
    overflow: hidden !important;
    margin-top: 4px !important;
    font-family: inherit !important;
}
.suggestions-suggestion {
    padding: 12px 16px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    transition: background-color 0.2s !important;
}
.suggestions-hint {
    padding: 10px 16px !important;
    font-size: 0.75rem !important;
}

/* Стили DaData для ТЕМНОЙ ТЕМЫ */
.dark .suggestions-suggestions {
    background-color: rgb(31 41 55) !important; /* Фон: bg-gray-800 */
    border-color: rgb(75 85 99) !important; /* Рамка: border-gray-600 */
}
.dark .suggestions-suggestion {
    color: rgb(229 231 235) !important; /* Текст: text-gray-200 */
    background-color: rgb(31 41 55) !important;
}
.dark .suggestions-suggestion:hover,
.dark .suggestions-suggestion.suggestions-selected {
    background-color: rgb(55 65 81) !important; /* Фон при наведении: bg-gray-700 */
    color: rgb(255 255 255) !important;
}
.dark .suggestions-hint {
    color: rgb(156 163 175) !important; /* Текст подсказки: text-gray-400 */
    background-color: rgb(31 41 55) !important;
    border-bottom: 1px solid rgb(55 65 81) !important;
}
/* Подсвечиваем совпадающий текст твоим фирменным красным цветом */
.dark .suggestions-suggestion strong {
    color: rgb(239 68 68) !important; /* text-red-500 */
}
.suggestions-suggestion strong {
    color: rgb(239 68 68) !important; 
}

/* ===== Витрина: новый макет (2026) ===== */
:root {
  --site-bg: #101011;
  --accent: #f5b301;
  --accent-hover: #e5a800;
  --accent-text: #101011;
  --accent-shadow: rgba(245, 179, 1, 0.35);
  --sidebar-cat-btn-height: 3.75rem;
  --sidebar-stack-gap: 0.45rem;
  --sidebar-orders-status-gap: 1.25rem;
}

body.site-bg,
.site-bg,
.site-bg-panel {
  background-color: var(--site-bg);
}

.text-gray-100 { color: rgb(243 244 246); }
.text-white\/70 { color: rgb(255 255 255 / 0.7); }
.text-amber-400 { color: rgb(251 191 36); }
.pb-24 { padding-bottom: 6rem; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 1rem); }
.flex-shrink-0 { flex-shrink: 0; }
.gap-2 { gap: 0.5rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-full { grid-column: 1 / -1; }
.min-h-\[320px\] { min-height: 320px; }
.min-h-\[50vh\] { min-height: 50vh; }
.z-30 { z-index: 30; }
.-translate-y-0\.5 { --tw-translate-y: -0.125rem; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.shadow-red-500\/30 { --tw-shadow-color: rgb(239 68 68 / 0.3); --tw-shadow: var(--tw-shadow-colored); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.375rem * var(--tw-space-y-reverse)); }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:overflow-hidden { overflow: hidden; }
  .md\:overflow-y-auto { overflow-y: auto; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .site-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    grid-template-rows: 1fr;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .site-layout > .left-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .site-layout > .site-bg-panel {
    position: relative;
    z-index: 1;
    margin-left: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (min-width: 1200px) {
  .site-layout {
    grid-template-columns: 360px minmax(0, 1fr);
  }
}

.site-header {
  background-color: rgba(16, 16, 17, 0.96);
  backdrop-filter: blur(12px);
}

.site-header__main {
  width: 100%;
}

.site-header__divider {
  display: none;
  height: 1px;
  margin: 0 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-categories--mobile {
  display: none;
}

.site-header__info {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem 0.55rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
}

.site-header__info-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  width: 100%;
}

.site-header__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: none;
  background: transparent;
  flex-shrink: 0;
}

.site-header__timer-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header__quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header__action-sep {
  width: 1px;
  align-self: stretch;
  min-height: 2.25rem;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.site-header__profile-btn--compact {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  flex-shrink: 0;
}

.site-header__timer-row .site-header__cart-btn {
  min-width: 0;
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
}

.site-header__contacts {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 0;
}

.site-header__schedule-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
}

.site-header__info-body .site-header__timer-row + .site-header__contacts {
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__phone + .site-header__schedule-row,
.site-header__contact-links + .site-header__schedule-row {
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__schedule-row .header-promo:not(.hidden) {
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__info-btn {
  display: none;
}

.site-header__icon-btn {
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.site-header__icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-orders-modal-open="1"] body {
  overflow: hidden;
}

#schedule-closed-modal:not(.hidden) {
  display: flex;
}

#schedule-closed-modal {
  background: rgba(40, 8, 8, 0.88);
}

#schedule-closed-modal .schedule-closed-modal__panel {
  border: 2px solid rgba(248, 113, 113, 0.5);
  background: linear-gradient(165deg, rgba(69, 10, 10, 0.97) 0%, rgba(24, 24, 27, 0.98) 55%);
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.2),
    0 0 48px rgba(239, 68, 68, 0.28),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

#schedule-closed-modal .schedule-closed-modal__title {
  color: #fca5a5;
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(239, 68, 68, 0.35);
}

#schedule-closed-modal .schedule-closed-modal__subtitle {
  color: rgba(254, 202, 202, 0.85);
  font-size: 0.875rem;
}

body.orders-paused .product-card__btn,
body.orders-paused .product-card__qty button:last-child {
  opacity: 0.55;
}

.site-info-overlay:not(.hidden) {
  display: flex;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.site-info-sheet {
  box-sizing: border-box;
  padding-top: 1.35rem;
  padding-bottom: max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem));
  padding-left: max(1.5rem, calc(env(safe-area-inset-left, 0px) + 1.25rem));
  padding-right: max(1.25rem, calc(env(safe-area-inset-right, 0px) + 1rem));
}

.site-info-sheet__head {
  margin-bottom: 1rem;
}

.site-info-sheet__content {
  padding-left: 0.35rem;
  padding-right: 0.15rem;
}

.site-info-sheet__phone {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent, #f5c518);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.site-info-sheet__line {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html.dark .site-info-sheet__line {
  color: #f3f4f6;
}

.site-info-sheet__line--muted {
  font-weight: 600;
  color: #6b7280;
}

html.dark .site-info-sheet__line--muted {
  color: #9ca3af;
}

.site-info-sheet__delivery {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html.dark .site-info-sheet__delivery {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.site-info-sheet__delivery-title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #f5c518);
  margin-bottom: 0.35rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header__timer-ring {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.site-header__timer-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.site-header__timer-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 3;
}

.site-header__timer-ring-fg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.8s ease, stroke 0.3s ease;
}

.site-header__timer-ring-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  pointer-events: none;
}

.site-header__timer-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.delivery-timer-label {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}

.site-header__timer-value {
  display: inline-flex;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  min-height: 1.1rem;
}

.delivery-timer__clock {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.delivery-timer__part {
  display: inline-flex;
  align-items: baseline;
  gap: 0.06rem;
}

.delivery-timer__num {
  font-size: 0.85rem;
  font-weight: 900;
  color: #f5b301;
  letter-spacing: 0.03em;
}

.delivery-timer__unit {
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  transform: translateY(-0.05em);
}

.delivery-timer__sep {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.08rem;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}

.site-header__phone:hover {
  color: #f5b301;
}

.site-header__phone::before {
  content: "📞";
  font-size: 0.8rem;
}

.site-header__contact-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header__vk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  border-radius: 0.4rem;
  background: #4a76a8;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.site-header__vk:hover {
  background: #5b88bc;
  color: #fff;
}

.site-info-sheet__vk {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #4a76a8;
  text-decoration: none;
}

html.dark .site-info-sheet__vk {
  color: #7aa3d4;
}

.site-info-sheet__vk:hover {
  color: #5b88bc;
}

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer__social a {
  font-size: 0.875rem;
  font-weight: 800;
  color: #4a76a8;
  text-decoration: none;
}

html.dark .site-footer__social a {
  color: #7aa3d4;
}

.site-footer__social a:hover {
  color: #5b88bc;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-header__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  flex: 0 0 auto;
}

.site-header__schedule-bar {
  width: 100%;
  flex: 1 1 100%;
  padding: 0.35rem 0 0.15rem;
  display: none;
}

.site-header__schedule-bar .site-header__schedule {
  line-height: 1.4;
}

.site-header__schedule-row--desktop {
  display: flex;
}

.site-header__schedule {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  color: #f5b301;
}

.site-orders-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.site-orders-status--sidebar {
  flex-shrink: 0;
  margin: 0.5rem 0.65rem var(--sidebar-stack-gap);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__schedule--one-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-orders-status--mobile-bar {
  display: none;
  width: 100%;
  padding: 0.35rem 0.55rem;
  font-size: 0.65rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-orders-status--mobile-bar .site-orders-status__dot {
  width: 0.4rem;
  height: 0.4rem;
}

.site-orders-status.is-open {
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(74, 222, 128, 0.1);
}

.site-orders-status.is-closed {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.55);
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.45) 0%, rgba(69, 10, 10, 0.35) 100%);
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.25),
    0 4px 18px rgba(239, 68, 68, 0.2);
}

.site-orders-status.is-closed .site-orders-status__text {
  font-weight: 900;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(239, 68, 68, 0.35);
}

.site-orders-status.is-closed .site-orders-status__dot {
  background: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.85);
}

.site-orders-status__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}

.site-orders-status.is-open .site-orders-status__dot {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.65);
}

.site-orders-status__text {
  min-width: 0;
}

.site-header__address {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
  .site-header__schedule-bar {
    display: none !important;
  }

  .site-orders-status--mobile-bar {
    display: none !important;
  }

  .site-header__schedule-row--desktop {
    display: flex;
  }

  .left-panel > .site-orders-status--sidebar:not(.hidden) {
    margin: var(--sidebar-orders-status-gap) 0.65rem 0;
  }

  .left-panel__menu-block {
    padding-top: 0;
  }

  .site-orders-status--sidebar:not(.hidden) {
    font-size: 0.92rem;
    padding: 0.72rem 0.95rem;
    gap: 0.6rem;
    line-height: 1.4;
  }

  .site-orders-status--sidebar .site-orders-status__dot {
    width: 0.55rem;
    height: 0.55rem;
  }
}

@media (max-width: 767px) {
  .site-header__schedule-bar:not(.hidden) {
    display: block;
    padding: 0.2rem 0 0;
    width: 100%;
  }

  .site-header__schedule-bar:not(.hidden) + .site-orders-status--mobile-bar:not(.hidden) {
    margin-top: 0.35rem;
  }

  .site-header__timer-row + .site-orders-status--mobile-bar:not(.hidden) {
    margin-top: 0.35rem;
  }

  .site-header__schedule-row--desktop {
    display: none !important;
  }

  .site-orders-status--mobile-bar:not(.hidden) {
    display: flex;
  }

  .site-header__info {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
  }

  .site-header__timer-row {
    width: 100%;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .site-header__timer-row .site-header__timer:not(.hidden) {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header__info-body {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .site-header__info-body .site-header__timer-row + .site-header__contacts {
    padding-left: 0;
    border-left: none;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    flex-wrap: wrap;
  }

  .site-header__schedule-row {
    flex-wrap: wrap;
    width: 100%;
  }

  .site-header__phone + .site-header__schedule-row,
  .site-header__contact-links + .site-header__schedule-row {
    padding-left: 0;
    border-left: none;
    width: 100%;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-promo {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .header-promo__track {
    min-height: 3.5rem;
    max-height: 4rem;
  }

  .header-promo__text {
    font-size: 0.875rem;
  }

  .header-promo__slide {
    padding-bottom: 1.3rem;
  }

  .site-header__schedule-row .header-promo:not(.hidden) {
    padding-left: 0;
    border-left: none;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header__meta {
    flex: 1 1 100%;
    width: 100%;
  }

  .site-header__phone {
    width: auto;
  }
}

.sidebar-categories {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  align-content: start;
  padding: 0.75rem 0.65rem 1rem;
}

.left-panel__menu-block {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .left-panel__menu-block {
    padding-top: 0;
  }

  .sidebar-categories--desktop {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 0;
    margin-top: 0;
  }

  .left-panel--with-image .left-panel__menu-block {
    padding-top: 0;
  }

  .left-panel--with-image .sidebar-categories--desktop {
    margin-top: 0;
    padding-top: 0;
  }
}

.sidebar-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  min-height: var(--sidebar-cat-btn-height);
  padding: 0.55rem 0.4rem;
  border-radius: 0.7rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(16, 16, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.sidebar-cat-btn--wide {
  grid-column: 1 / -1;
  min-height: 3.1rem;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
}

.sidebar-cat-btn__icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-cat-btn__icon-img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
}

.sidebar-cat-btn--wide .sidebar-cat-btn__icon {
  font-size: 1.5rem;
}

.sidebar-cat-btn--wide .sidebar-cat-btn__icon-img {
  width: 1.5rem;
  height: 1.5rem;
}

.sidebar-cat-btn__label {
  display: block;
  word-break: break-word;
  hyphens: auto;
}

.sidebar-cat-btn:hover {
  color: #fff;
  background: rgba(24, 24, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.sidebar-cat-btn.is-active {
  color: var(--accent-text);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(245, 179, 1, 0.28);
  transform: none;
}

.left-panel {
  position: relative;
  display: flex;
  flex-direction: column;
}

.left-panel__bottom {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 16, 17, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.left-panel--with-image .left-panel__bottom {
  background: rgba(0, 0, 0, 0.22);
}

.left-panel:not(.left-panel--with-image) .left-panel__bottom {
  background: rgba(255, 255, 255, 0.04);
}

.left-panel__status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.left-panel__status.is-open {
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.1);
}

.left-panel__status.is-closed {
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.left-panel__status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}

.left-panel__status.is-open .left-panel__status-dot {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.65);
}

.header-promo {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  align-self: stretch;
}

.header-promo__viewport {
  position: relative;
  width: 100%;
  border-radius: 0.55rem;
  overflow: hidden;
}

.header-promo__track {
  position: relative;
  width: 100%;
  min-height: 3.75rem;
  max-height: 4.25rem;
}

.header-promo__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem 1.35rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.28) 0%, rgba(229, 168, 0, 0.14) 55%, rgba(16, 16, 17, 0.35) 100%);
  border: 1px solid rgba(245, 179, 1, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.header-promo__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.header-promo__icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.header-promo__text {
  margin: 0;
  flex: 1 1 auto;
  max-width: 100%;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  color: #fff7d6;
  text-wrap: balance;
}

.header-promo__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  min-height: 0.45rem;
  pointer-events: none;
}

.header-promo__dots:empty {
  display: none;
}

.header-promo__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.header-promo__dot.is-active {
  background: #f5b301;
  transform: scale(1.2);
}

.header-promo__dot:hover {
  background: rgba(245, 179, 1, 0.75);
}

.left-panel__delivery-wrap {
  margin: 0;
}

.left-panel__delivery {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.left-panel__delivery-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.left-panel__delivery-title {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.left-panel__delivery-text {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.left-panel__delivery-extra {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  color: #f5b301;
  margin: 0.35rem 0 0;
}

.left-panel--with-image .sidebar-categories {
  background: transparent;
}

.left-panel--with-image {
  background-color: #1a1a1a;
}

.left-panel__bg {
  display: block;
  object-position: center center;
  pointer-events: none;
}

.left-panel__bg--cover { object-fit: cover; }
.left-panel__bg--contain { object-fit: contain; background-color: #1a1a1a; }
.left-panel__bg--fill { object-fit: fill; }

.left-panel__bg--desktop {
  display: block;
}

.left-panel__bg--mobile {
  display: none;
}

@media (min-width: 768px) {
  .left-panel__bg--desktop {
    display: block;
  }

  .left-panel__bg--mobile {
    display: none !important;
  }
}

.products-grid {
  align-items: start;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .products-grid {
    gap: 1rem;
  }
}

.border-gray-700 {
  border-color: rgb(55 65 81);
}

/* Корзина: «Сдача с» на ПК — без стрелок type=number */
@media (min-width: 768px) {
  #change-from.change-from-field[type="number"]::-webkit-inner-spin-button,
  #change-from.change-from-field[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  #change-from.change-from-field[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
  }
}

/* Корзина поверх основного макета */
#cart-overlay,
#cart-sidebar {
  z-index: 200;
}

/* Модалки поверх шапки, меню категорий и корзины */
#modal-overlay,
#addons-modal,
#site-info-overlay,
#schedule-closed-modal,
#notification-modal {
  z-index: 500;
}

#cart-sidebar {
  transform: translateX(0);
}

#cart-sidebar.translate-x-full {
  transform: translateX(100%);
}

.cart-mobile-bar {
  display: flex;
}

@media (min-width: 768px) {
  .cart-mobile-bar {
    display: none;
  }
}

.cart-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 9.5rem;
  padding: 0.65rem 1.15rem;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  border-radius: 0.75rem;
  font-weight: 900;
  color: var(--accent-text);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 8px 20px var(--accent-shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cart-header-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 24px var(--accent-shadow);
}

.cart-header-btn .js-cart-total {
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cart-header-btn .cart-header-btn__icon {
  font-size: 1.125rem;
  line-height: 1;
  flex-shrink: 0;
}

.cart-mobile-bar__btn {
  width: 100%;
  max-width: 28rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 1rem;
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--accent-text);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 10px 28px var(--accent-shadow);
}

.cart-mobile-bar__btn .js-cart-total-mobile {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(16, 16, 17, 0.15);
  font-size: 1rem;
  white-space: nowrap;
}

/* Корзина: сворачиваемый блок акций */
.cart-promos {
  margin-bottom: 0.75rem;
}

.cart-promos__toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.65rem 0.85rem;
  border: 2px solid #f5b301;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #fff8e6 0%, #ffefbf 100%);
  color: #7a4f00;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(245, 179, 1, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

html.dark .cart-promos__toggle {
  border-color: rgba(245, 179, 1, 0.55);
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.22) 0%, rgba(245, 179, 1, 0.1) 100%);
  color: #fcd34d;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.cart-promos__toggle:hover {
  border-color: #e5a800;
  transform: translateY(-1px);
}

.cart-promos__toggle:active {
  transform: translateY(0);
}

.cart-promos__toggle[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-width: 1px;
}

.cart-promos__toggle-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.cart-promos__toggle-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-promos__toggle-title {
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.cart-promos__toggle-hint {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0.9;
}

.cart-promos__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(245, 179, 1, 0.35);
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1;
}

html.dark .cart-promos__chevron {
  background: rgba(245, 179, 1, 0.2);
}

.cart-promos__panel {
  overflow: hidden;
  border: 2px solid #f5b301;
  border-top: none;
  border-radius: 0 0 0.85rem 0.85rem;
  background: #fffdf5;
}

html.dark .cart-promos__panel {
  border-color: rgba(245, 179, 1, 0.45);
  background: rgba(245, 179, 1, 0.08);
}

.cart-promos__panel[hidden] {
  display: none !important;
}

.cart-promos__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(245, 179, 1, 0.22);
}

.cart-promos__item:last-child {
  border-bottom: none;
}

.cart-promos__item-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.cart-promos__item-text {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: #9a3412;
}

html.dark .cart-promos__item-text {
  color: #fdba74;
}

/* Бренд: жёлто-оранжевый вместо красного на витрине */
.bg-red-500 {
  background-color: var(--accent) !important;
  background-image: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
  color: var(--accent-text) !important;
}

.hover\:bg-red-600:hover {
  background-color: var(--accent-hover) !important;
  background-image: none !important;
}

.text-red-500 {
  color: var(--accent) !important;
}

.hover\:text-red-500:hover,
.dark\:hover\:text-red-500:hover:is(.dark *) {
  color: var(--accent) !important;
}

.border-red-500,
.border-l-2.border-red-500 {
  border-color: var(--accent) !important;
}

.focus\:border-red-500:focus {
  border-color: var(--accent) !important;
}

.shadow-red-500\/20,
.shadow-red-500\/30 {
  --tw-shadow-color: var(--accent-shadow) !important;
  --tw-shadow: var(--tw-shadow-colored) !important;
}

.bg-red-50 {
  background-color: rgba(245, 179, 1, 0.12) !important;
}

.dark\:bg-red-500\/10:is(.dark *) {
  background-color: rgba(245, 179, 1, 0.12) !important;
}

.dark\:hover\:shadow-red-500\/10:hover:is(.dark *) {
  --tw-shadow-color: rgba(245, 179, 1, 0.15) !important;
}

.suggestions-suggestion strong,
.dark .suggestions-suggestion strong {
  color: var(--accent) !important;
}

.product-card {
  perspective: 1200px;
  cursor: pointer;
  width: 100%;
}

.product-card__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  transition: transform 0.55s ease;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.product-card.is-flipped .product-card__inner {
  transform: rotateY(180deg);
}

.product-card__face {
  position: absolute;
  inset: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  background: #1a1a1c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.product-card__front {
  transform: rotateY(0deg);
  z-index: 2;
}

.product-card__back {
  transform: rotateY(180deg);
}

/* Текст на обороте не зеркалится */
.product-card__back .product-card__back-scroll {
  transform: rotateY(180deg);
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  overflow: hidden;
}

.product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.product-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.55rem 0.65rem 0.65rem;
  text-align: left;
}

.product-card__title {
  flex: 0 0 auto;
  margin: 0 0 0.25rem;
  min-height: 0;
  max-height: calc(1.25em * 3);
  font-size: 0.9375rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  color: #f3f4f6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.product-card__back-scroll h3 {
  color: #f3f4f6;
}

.product-card__footer {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.product-card__price {
  font-size: 0.875rem;
  font-weight: 900;
  color: #f9fafb;
}

.product-card__price span {
  font-size: 0.65rem;
  color: #9ca3af;
  font-weight: 700;
}

.product-card__weight {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  color: #9ca3af;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 0.35rem;
  padding: 0.15rem 0.35rem;
}

html.dark .product-card__weight {
  background: #1f2937;
  border-color: #374151;
}

.product-card__btn,
.product-card__qty {
  width: 100%;
  height: 2rem;
  border-radius: 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-card__btn {
  position: relative;
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--accent-text);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--accent-shadow);
}

.product-card__btn:hover {
  filter: brightness(1.05);
}

.product-card__hint {
  margin: 0.35rem 0 0;
  min-height: 0.875rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
}

.product-card__qty {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #f3f4f6;
  color: #111827;
}

html.dark .product-card__qty {
  background: #1f2937;
  color: #f9fafb;
}

.product-card__qty button {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.product-card__qty span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.product-card__hit {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem 0.35rem 0.45rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #101011;
  background: linear-gradient(135deg, #f5b301 0%, #e5a800 100%);
  border: 2px solid rgba(16, 16, 17, 0.35);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.product-card__hit-icon {
  font-size: 0.8rem;
  line-height: 1;
}

.product-card__badge {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.55rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

html.dark .product-card__badge { border-color: #111827; }

.product-card__back-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  height: 100%;
}

.product-card__description {
  color: rgba(255, 255, 255, 0.75);
  white-space: pre-wrap;
  word-break: break-word;
}

@media (min-width: 768px) {
  .product-card__title {
    font-size: 1rem;
  }
}

/* ===== Только мобильные (телефоны), ПК без изменений ===== */
@media (max-width: 767px) {
  :root {
    --site-mobile-gutter: 1rem;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .site-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
  }

  /* Логотип → баннер → шапка с категориями (без текста «Меню» между ними) */
  .site-layout > .left-panel {
    display: contents;
  }

  .site-layout > .site-bg-panel {
    order: 3;
    width: 100%;
  }

  .site-bg-panel {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .site-menu-content {
    padding-top: 0.5rem;
    padding-left: max(var(--site-mobile-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--site-mobile-gutter), env(safe-area-inset-right, 0px));
  }

  .cart-mobile-bar {
    display: none;
  }

  .cart-header-btn {
    min-width: 0;
    padding: 0.55rem 0.85rem;
    gap: 0.4rem;
    box-shadow: 0 4px 14px var(--accent-shadow);
  }

  .cart-header-btn .js-cart-total {
    font-size: 0.8125rem;
  }

  .cart-header-btn .cart-header-btn__icon {
    font-size: 1rem;
  }

  .site-header {
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
  }

  #cart-sidebar {
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .cart-mobile-bar {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  body.cart-open {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
    touch-action: none;
  }

  button,
  [role="button"],
  a,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .left-panel {
    flex-shrink: 0;
    min-height: 0;
    max-height: none;
  }

  .sidebar-categories--desktop {
    display: none !important;
  }

  .sidebar-categories--mobile {
    display: flex;
  }

  .site-header__divider {
    display: block;
    margin-left: max(var(--site-mobile-gutter), env(safe-area-inset-left, 0px));
    margin-right: max(var(--site-mobile-gutter), env(safe-area-inset-right, 0px));
  }

  .left-panel--with-image {
    min-height: 0;
    padding-top: 0;
    overflow: visible;
  }

  .left-panel--with-image .left-panel__bg--desktop {
    display: none !important;
  }

  .left-panel--with-image {
    display: flex;
    flex-direction: column;
  }

  .left-panel--with-image .left-panel__bg--mobile {
    order: 1;
  }

  .left-panel--with-image .left-panel__bg--mobile {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 4.5rem;
    max-height: 7.5rem;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    object-position: center center;
  }

  .left-panel--with-image.left-panel--has-mobile-banner .left-panel__bg--mobile {
    aspect-ratio: 2 / 1;
    max-height: 8.5rem;
    min-height: 4.75rem;
  }

  .left-panel__bottom {
    display: none !important;
  }

  .site-orders-status--sidebar {
    display: none !important;
  }

  .site-header__contacts {
    display: none !important;
  }

  .site-header__main {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .site-header__info-body {
    padding-top: 0.25rem;
    padding-bottom: 0.35rem;
  }

  .left-panel__bottom {
    gap: 0.45rem;
    padding: 0.5rem 0.65rem 0.65rem;
  }

  .sidebar-categories--mobile {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0 max(var(--site-mobile-gutter), env(safe-area-inset-right, 0px)) 0.65rem
      max(var(--site-mobile-gutter), env(safe-area-inset-left, 0px));
    scroll-padding-inline: max(var(--site-mobile-gutter), env(safe-area-inset-left, 0px));
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .sidebar-categories--mobile::-webkit-scrollbar {
    display: none;
  }

  .sidebar-cat-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 5.25rem;
    max-width: 9.5rem;
    min-height: 3.25rem;
    padding: 0.5rem 0.55rem;
    scroll-snap-align: start;
  }

  .sidebar-cat-btn--wide {
    min-width: 6.75rem;
    max-width: 10.5rem;
    flex-direction: row;
    grid-column: auto;
  }

  .sidebar-cat-btn__label {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
  }

  .site-header__timer-row .site-header__cart-btn {
    padding: 0.45rem 0.65rem;
    min-height: 2.5rem;
  }

  .site-header__profile-btn--compact {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
  }

  .site-header__quick-actions {
    gap: 0.35rem;
  }

  .site-header__info-btn {
    display: inline-flex;
  }

  .site-info-sheet {
    padding-left: max(1.85rem, calc(env(safe-area-inset-left, 0px) + 1.65rem));
    padding-right: max(1.5rem, calc(env(safe-area-inset-right, 0px) + 1.25rem));
  }

  .site-info-sheet__content {
    padding-left: 0.5rem;
    padding-right: 0.25rem;
  }

  .product-card__btn,
  .product-card__qty button {
    min-height: 2.75rem;
  }

  .product-card__hit {
    top: 0.4rem;
    left: 0.4rem;
    font-size: 0.625rem;
    padding: 0.3rem 0.45rem;
  }

  #cart-sidebar .p-6,
  #cart-step-2.p-6 {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }

  #addons-modal > div,
  #notification-modal > div,
  #login-modal,
  #register-modal,
  #profile-modal {
    max-height: min(88dvh, 88vh);
    overflow: hidden;
  }

  #addons-modal {
    align-items: flex-end;
  }

  .product-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .product-card:active {
    transform: none;
  }

  .product-card {
    min-height: 17.5rem;
  }

  .product-card__inner {
    height: 17.5rem;
    min-height: 17.5rem;
    max-height: 17.5rem;
    transform: none !important;
    transform-style: flat;
    -webkit-transform-style: flat;
    transition: none;
  }

  .product-card.is-flipped .product-card__inner {
    transform: none !important;
  }

  /* На iOS 3D-flip зеркалит текст — плавная смена сторон без rotateY */
  .product-card__face {
    transform: none !important;
    -webkit-transform: none !important;
    transform-style: flat;
    -webkit-transform-style: flat;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transition: opacity 0.32s ease, visibility 0.32s ease;
  }

  .product-card__front {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .product-card__back {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    pointer-events: none;
  }

  .product-card.is-flipped .product-card__front {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .product-card.is-flipped .product-card__back {
    opacity: 1;
    visibility: visible;
    z-index: 3;
    pointer-events: auto;
  }

  .product-card__back .product-card__back-scroll {
    transform: none !important;
    -webkit-transform: none !important;
  }

  .product-card__media {
    aspect-ratio: 4 / 3;
    height: 7.5rem;
    max-height: none;
    flex: 0 0 7.5rem;
  }

  .product-card__img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .product-card__body {
    padding: 0.3rem 0.45rem 0.35rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }

  .product-card__title {
    font-size: 0.78rem;
    min-height: 0;
    max-height: calc(1.2em * 3);
    margin: 0 0 0.15rem;
    -webkit-line-clamp: 3;
    line-height: 1.2;
    flex: 0 0 auto;
  }

  .product-card__footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    padding-top: 0.2rem;
  }

  .product-card__meta {
    margin-bottom: 0.2rem;
    gap: 0.2rem;
  }

  .product-card__price {
    font-size: 0.78rem;
  }

  .product-card__weight {
    font-size: 0.55rem;
    padding: 0.1rem 0.28rem;
  }

  .product-card__btn,
  .product-card__qty {
    height: auto;
    min-height: 2.25rem;
    font-size: 0.625rem;
    border-radius: 0.5rem;
    line-height: 1.2;
    flex-shrink: 0;
    position: relative;
    z-index: 4;
  }

  .product-card__qty {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr) 2.1rem;
    align-items: stretch;
    overflow: hidden;
  }

  .product-card__qty button {
    flex: none;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
  }

  .product-card__qty span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    font-size: 0.7rem;
  }

  .product-card__hint {
    font-size: 0.5rem;
    min-height: 0.65rem;
    margin-top: 0.2rem;
  }

  .product-card__badge {
    width: 1rem;
    height: 1rem;
    font-size: 0.5rem;
    top: -0.3rem;
    right: -0.3rem;
  }
}

/* ===== SEO: заголовок страницы ===== */
.seo-page-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  color: #f3f4f6;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .seo-page-title {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (min-width: 768px) {
  .seo-page-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

/* ===== Подвал сайта ===== */
.site-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html.dark .site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #374151;
}

html.dark .site-footer__copyright {
  color: #e5e7eb;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.35;
}

html.dark .site-footer__tagline {
  color: #9ca3af;
}

.site-footer__rule {
  width: 3rem;
  height: 2px;
  margin: 0.1rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent, #f5c518), transparent);
  opacity: 0.85;
}

.site-footer__dev {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
}

.site-footer__dev-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
}

html.dark .site-footer__dev-label {
  color: #9ca3af;
}

.site-footer__dev-link {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent, #f5c518);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.site-footer__dev-link:hover {
  color: #e5b616;
  opacity: 0.9;
}

.site-footer__dev-cta {
  display: inline-block;
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

html.dark .site-footer__dev-cta {
  color: #9ca3af;
  border-color: rgba(255, 255, 255, 0.12);
}

.site-footer__dev-cta:hover {
  color: var(--accent, #f5c518);
  border-color: rgba(245, 197, 24, 0.45);
  background: rgba(245, 197, 24, 0.06);
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 0;
  }

  .site-footer__inner {
    gap: 0.55rem;
  }

  .site-footer__copyright {
    font-size: 1.0625rem;
  }

  .site-footer__tagline {
    font-size: 0.875rem;
  }

  .site-footer__dev-label {
    font-size: 0.875rem;
  }

  .site-footer__dev-link {
    font-size: 1.125rem;
  }

  .site-footer__dev-cta {
    font-size: 0.8125rem;
    padding: 0.55rem 1.15rem;
  }
}

@media (max-width: 767px) {
  .site-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    padding-bottom: 0;
  }
}

@media (min-width: 768px) {
  .sidebar-categories--mobile {
    display: none !important;
  }

  .site-header__divider {
    display: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .sidebar-cat-btn:hover {
    transform: none;
  }

  .product-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Личный кабинет */
.profile-modal {
  min-height: 0;
}

.profile-modal__topbar {
  padding-top: 0.15rem;
}

.profile-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: -0.25rem -0.35rem 0 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.profile-modal__orders {
  min-height: 8rem;
}

@media (max-width: 767px) {
  .profile-modal {
    padding: 1rem 1.1rem 1.25rem;
    max-height: min(88dvh, 88vh);
  }

  .profile-modal__orders {
    min-height: 12rem;
  }

  #profile-modal #order-history {
    max-height: none;
  }
}

/* Личный кабинет: кнопка настроек (шестерёнка) */
.profile-settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}

.dark .profile-settings-btn {
  border-color: #374151;
  background: #1f2937;
}

.profile-settings-btn:hover {
  border-color: #f5b301;
  box-shadow: 0 0 0 2px rgba(245, 179, 1, 0.2);
}

.profile-settings-btn--active {
  border-color: #f5b301;
  background: rgba(245, 179, 1, 0.12);
}

.profile-settings-btn__icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

/* Подсказки адресов (Nominatim / свой список) */
.address-suggest-wrap {
  position: relative;
  width: 100%;
}

.address-suggest-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 80;
  max-height: 14rem;
  overflow-y: auto;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.dark .address-suggest-list {
  background: #1f2937;
  border-color: #4b5563;
}

.address-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.12s;
}

.dark .address-suggest-item {
  color: #e5e7eb;
}

.address-suggest-item:hover,
.address-suggest-item--active {
  background: #f3f4f6;
}

.dark .address-suggest-item:hover,
.dark .address-suggest-item--active {
  background: #374151;
}

.site-footer__legal,
.site-info-sheet__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
}

.site-footer__legal a,
.site-info-sheet__legal a {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer__legal a:hover,
.site-info-sheet__legal a:hover {
  color: var(--accent, #f5c518);
}

.site-info-sheet__legal {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: flex-start;
}

.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.25rem 0 0.15rem;
  cursor: pointer;
}

.legal-consent input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  accent-color: #ef4444;
}

.legal-consent span {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  color: #6b7280;
}

html.dark .legal-consent span {
  color: #9ca3af;
}

.legal-consent a {
  color: #ef4444;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.legal-page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.15rem 4rem;
}

.legal-page__back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #9ca3af;
  text-decoration: none;
}

.legal-page__back:hover {
  color: var(--accent, #f5c518);
}

.legal-page__brand {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #f5c518);
}

.legal-page__title {
  margin: 0 0 0.4rem;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.2;
  color: #f3f4f6;
}

.legal-page__meta {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.legal-page__nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-page__nav a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #d1d5db;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-article {
  margin-bottom: 1.5rem;
}

.legal-article h2 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f9fafb;
}

.legal-article p,
.legal-article li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #d1d5db;
}

.legal-article p {
  margin: 0 0 0.7rem;
}

.legal-article ul {
  margin: 0 0 0.7rem;
  padding-left: 1.15rem;
}

.legal-article li {
  margin-bottom: 0.3rem;
}

.legal-dl {
  margin: 0.75rem 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.legal-dl > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.legal-dl dt {
  color: #9ca3af;
  font-weight: 700;
}

.legal-dl dd {
  margin: 0;
  color: #f3f4f6;
  font-weight: 600;
}

.legal-muted {
  color: #6b7280;
  font-weight: 600;
}

@media (max-width: 640px) {
  .legal-dl > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.cookie-notice {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  background: rgba(24, 24, 27, 0.96);
  border: 1px solid rgba(245, 197, 24, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.cookie-notice.hidden,
.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
  color: #e5e7eb;
}

.cookie-notice__text a {
  color: var(--accent, #f5c518);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.cookie-notice__btn {
  flex-shrink: 0;
  min-height: 2.4rem;
  padding: 0.55rem 0.95rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111827;
  background: var(--accent, #f5c518);
  cursor: pointer;
}

.cookie-notice__btn:hover {
  filter: brightness(1.05);
}

@media (min-width: 768px) {
  .cookie-notice {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(28rem, calc(100vw - 2.5rem));
  }
}