@font-face {
    font-family: 'Benguiat Gothic';
    src: url('/assets/fonts/bengotbi/bengothn.woff2') format('woff2'),
        url('/assets/fonts/bengotbi/BENGOTHN.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benguiat Gothic';
    src: url('/assets/fonts/bengotbi/bengotni.woff2') format('woff2'),
        url('/assets/fonts/bengotbi/BENGOTNI.TTF') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Benguiat Gothic';
    src: url('/assets/fonts/bengotbi/bengothb.woff2') format('woff2'),
        url('/assets/fonts/bengotbi/BENGOTHB.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benguiat Gothic';
    src: url('/assets/fonts/bengotbi/bengotbi.woff2') format('woff2'),
        url('/assets/fonts/bengotbi/BENGOTBI.TTF') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

.font-heading {
    font-family: 'Benguiat Gothic', system-ui, -apple-system, sans-serif;
}

.document-content {
    color: #4b5563;
    line-height: 1.75;
    font-size: 15px;
}

.document-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.document-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.document-content p {
    margin-bottom: 1rem;
}

.document-content a {
    color: #dc2626;
    text-decoration: none;
}

.document-content a:not(.flex):hover {
    text-decoration: underline;
}

.document-content strong {
    color: #1f2937;
    font-weight: 600;
}

.document-content ul,
.document-content ol {
    margin: 0.75rem 0 1rem 1.5rem;
    padding: 0;
}

.document-content ul {
    list-style-type: disc;
}

.document-content ol {
    list-style-type: decimal;
}

.document-content ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.25rem;
}

.document-content li {
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}

.document-content li ul,
.document-content li ol {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.document-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.document-content th {
    background-color: #f3f4f6;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    text-align: left;
    font-weight: 600;
    color: #374151;
}

.document-content td {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
}

@media (prefers-color-scheme: dark) {
    .dark .document-content {
        color: #9ca3af;
    }

    .dark .document-content h2 {
        color: #f3f4f6;
        border-bottom-color: #374151;
    }

    .dark .document-content h3 {
        color: #d1d5db;
    }

    .dark .document-content strong {
        color: #e5e7eb;
    }

    .dark .document-content a {
        color: #ef4444;
    }

    .dark .document-content th {
        background-color: #1f2937;
        border-color: #374151;
        color: #d1d5db;
    }

    .dark .document-content td {
        border-color: #374151;
    }
}

.material-symbols-outlined.hidden {
    display: none;
}

.glass-panel {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark .glass-panel {
    background: rgba(17, 24, 39, 0.72);
    border-color: rgba(55, 65, 81, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.dark .glass-panel:hover {
    background: rgba(17, 24, 39, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.dark .glass-card {
    background: rgb(31, 41, 55);
    border-color: rgba(55, 65, 81, 0.6);
    box-shadow: none;
}

.dark .glass-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.glass-panel-static {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.dark .glass-panel-static {
    background: rgba(17, 24, 39, 0.72);
    border-color: rgba(55, 65, 81, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' 0,
        'opsz' 24;
    vertical-align: middle;
}

nav a .material-symbols-outlined,
nav button .material-symbols-outlined {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.bg-white,
.dark\:bg-gray-800 {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

* {
    -webkit-tap-highlight-color: transparent;
}

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

header {
    display: none;
}

body {
    padding-bottom: 70px;
}

.transition-all {
    transition: all 0.3s ease;
}

.auth-tab {
    color: #6b7280;
}

.auth-tab:hover {
    color: #111827;
}

.auth-tab.active {
    background-color: white;
    color: #ff0b16;
    font-weight: 600;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.dark .auth-tab {
    color: #9ca3af;
}

.dark .auth-tab:hover {
    color: #f3f4f6;
}

.dark .auth-tab.active {
    background-color: #1f2937;
    color: #ff0b16;
    font-weight: 600;
}

.floating-badge,
.cart-count {
    transition: transform 0.2s ease;
}

.badge-bounce {
    animation: badgeBounce 0.3s ease;
}

@keyframes badgeBounce {

    0%,
    100% {
        transform: translate(25%, -25%) scale(1);
    }

    50% {
        transform: translate(25%, -25%) scale(1.3);
    }
}

.rotate-wiggle {
    animation: rotateWiggle 0.5s ease;
}

@keyframes rotateWiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.floating-icon-btn,
.floating-nav-link,
.floating-text-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-icon-btn:active,
.floating-nav-link:active {
    transform: scale(0.95);
}

.floating-header {
    --floating-bg: rgba(255, 255, 255, 0.75);
    --floating-border: rgba(255, 255, 255, 0.3);
    --floating-shadow: rgba(0, 0, 0, 0.08);
    top: 0.75rem;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-header.at-top {
    top: 1.5rem;
}

.header-glass-inner {
    padding: 0.625rem 1.25rem;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-header.at-top .header-glass-inner {
    padding: 0.75rem 1.25rem;
}

.dark .floating-header {
    --floating-bg: rgba(17, 24, 39, 0.8);
    --floating-border: rgba(55, 65, 81, 0.5);
    --floating-shadow: rgba(0, 0, 0, 0.3);
}

.header-glass-panel {
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.7);
    background-image: linear-gradient(90deg, #ff0b16, #ff4d52);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: var(--scroll-progress, 0%) 2px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.header-glass-panel:hover {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-header.at-top .header-glass-panel {
    background-color: transparent;
    background-size: 0% 0px;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.floating-header.at-top .header-glass-panel:hover {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.dark .header-glass-panel {
    background-color: rgba(17, 24, 39, 0.7);
    background-image: linear-gradient(90deg, #ff6b6f, #ff9a9d);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dark .header-glass-panel:hover {
    background-color: rgba(17, 24, 39, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark .floating-header.at-top .header-glass-panel {
    background-color: transparent;
    background-size: 0% 0px;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.dark .floating-header.at-top .header-glass-panel:hover {
    background-color: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.header-separator {
    width: 1px;
    height: 1.25rem;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 1px;
    margin: 0 0.375rem;
    flex-shrink: 0;
}

.dark .header-separator {
    background: rgba(255, 255, 255, 0.1);
}

.header-dropdown {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background-color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    z-index: 9000;
}

.dark .header-dropdown {
    background-color: rgba(17, 24, 39, 0.55);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.04);
}

.header-dropdown-section {
    background-color: rgba(0, 0, 0, 0.025);
    border-color: rgba(0, 0, 0, 0.06);
}

.dark .header-dropdown-section {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
    body:not(.auth-page) {
        padding-top: 90px;
    }
}

.header-search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
}

.header-search-bar:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.header-search-bar:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.06);
    border-color: #ff0b16;
    box-shadow: 0 0 0 3px rgba(255, 11, 22, 0.1);
}

.header-search-bar .search-icon {
    color: #9ca3af;
    font-size: 1.25rem;
}

.header-search-bar .search-placeholder {
    flex: 1;
    text-align: left;
    color: #9ca3af;
    font-size: 0.9375rem;
}

.header-search-bar .search-shortcut {
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    font-family: system-ui, -apple-system, sans-serif;
}

.dark .header-search-bar {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .header-search-bar:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark .header-search-bar:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b6f;
    box-shadow: 0 0 0 3px rgba(255, 107, 111, 0.15);
}

.dark .header-search-bar .search-icon,
.dark .header-search-bar .search-placeholder {
    color: #6b7280;
}

.dark .header-search-bar .search-shortcut {
    background: rgba(255, 255, 255, 0.1);
    color: #6b7280;
}

.header-vykup-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.header-vykup-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.header-vykup-btn:active {
    transform: translateY(0);
}

.header-vykup-btn .material-symbols-outlined {
    font-size: 1.125rem;
}

.dark .header-vykup-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.dark .header-vykup-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.floating-nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.floating-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

.floating-nav-link.active {
    background: rgba(255, 11, 22, 0.1);
    color: #ff0b16;
}

.floating-nav-link .material-symbols-outlined {
    font-size: 1.25rem;
}

.floating-nav-link .link-text {
    display: none;
}

@media (min-width: 1024px) {
    .floating-nav-link .link-text {
        display: inline;
    }
}

.floating-nav-link.highlight {
    background: linear-gradient(135deg, rgba(255, 11, 22, 0.1) 0%, rgba(255, 11, 22, 0.05) 100%);
    color: #ff0b16;
    border: 1px solid rgba(255, 11, 22, 0.2);
}

.floating-nav-link.highlight:hover {
    background: linear-gradient(135deg, rgba(255, 11, 22, 0.15) 0%, rgba(255, 11, 22, 0.08) 100%);
    border-color: rgba(255, 11, 22, 0.3);
}

.floating-nav-link.green {
    color: #059669;
}

.floating-nav-link.green:hover {
    background: rgba(5, 150, 105, 0.1);
}

.floating-nav-link.green.active {
    background: rgba(5, 150, 105, 0.15);
}

.dark .floating-nav-link {
    color: #9ca3af;
}

.dark .floating-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
}

.dark .floating-nav-link.active {
    background: rgba(255, 11, 22, 0.15);
    color: #ff6b6f;
}

.dark .floating-nav-link.highlight {
    background: linear-gradient(135deg, rgba(255, 11, 22, 0.15) 0%, rgba(255, 11, 22, 0.08) 100%);
    color: #ff6b6f;
    border-color: rgba(255, 11, 22, 0.3);
}

.dark .floating-nav-link.green {
    color: #34d399;
}

.dark .floating-nav-link.green:hover {
    background: rgba(52, 211, 153, 0.15);
}

.floating-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    color: #4b5563;
    transition: all 0.2s ease;
}

.floating-icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

.floating-icon-btn .material-symbols-outlined {
    font-size: 1.375rem;
}

.dark .floating-icon-btn {
    color: #9ca3af;
}

.dark .floating-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
}

.floating-text-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.floating-text-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

.floating-text-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

.dark .floating-text-btn {
    color: #9ca3af;
}

.dark .floating-text-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
}

.floating-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.125rem;
    text-align: center;
    color: white;
    background: #ff0b16;
    border-radius: 9999px;
    transform: translate(25%, -25%);
    box-shadow: 0 2px 4px rgba(255, 11, 22, 0.3);
}

.floating-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 60;
}

.group:hover .floating-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dark .floating-dropdown {
    background: #1f2937;
    border-color: #374151;
}

.floating-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    transition: all 0.15s ease;
}

.floating-dropdown-item:hover {
    background: #f3f4f6;
    color: #111827;
}

.dark .floating-dropdown-item {
    color: #d1d5db;
}

.dark .floating-dropdown-item:hover {
    background: #374151;
    color: #f3f4f6;
}

.floating-text-link {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.floating-text-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

.floating-text-link.active {
    color: #ff0b16;
}

.dark .floating-text-link {
    color: #9ca3af;
}

.dark .floating-text-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
}

.dark .floating-text-link.active {
    color: #ff6b6f;
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translate(-50%, 100%) scale(0.95);
    padding: 0.375rem 0.75rem;
    background: #111827;
    color: #f9fafb;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    pointer-events: none;
    z-index: 100;
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translate(-50%, 0);
    border: 5px solid transparent;
    border-bottom-color: #111827;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    pointer-events: none;
    z-index: 100;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

[data-tooltip]:hover::after {
    transform: translate(-50%, 100%) scale(1);
}

.dark [data-tooltip]::after {
    background: #f9fafb;
    color: #111827;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark [data-tooltip]::before {
    border-bottom-color: #f9fafb;
}

.dark .dark-mode-icon-moon {
    display: none;
}

.dark .dark-mode-icon-sun {
    display: inline-block;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 40;
}

.dark .bottom-nav {
    background: #1f2937;
    border-top: 1px solid #374151;
}

html.dark .bottom-nav,
html.dark .bottom-nav a,
html.dark .bottom-nav span,
html.dark .bottom-nav p {
    color: #f3f4f6;
}

.bottom-nav-floating {
    position: fixed;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    left: 0.75rem;
    right: 0.75rem;
    z-index: 40;
}

.bottom-nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.5rem 0.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.dark .bottom-nav-container {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(55, 65, 81, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.bottom-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    color: #6b7280;
    transition: color 0.2s ease, background 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:active {
    transform: scale(0.92);
}

.bottom-nav-item .material-symbols-outlined {
    font-size: 1.5rem;
    margin-bottom: 0.125rem;
}

.bottom-nav-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.bottom-nav-item.active {
    color: #ff0b16;
}

.bottom-nav-item.active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

@media (hover: hover) {
    .bottom-nav-item:hover {
        color: #ff0b16;
        background: rgba(255, 11, 22, 0.08);
    }
}

.dark .bottom-nav-item {
    color: #9ca3af;
}

.dark .bottom-nav-item.active {
    color: #ff6b6f;
}

@media (hover: hover) {
    .dark .bottom-nav-item:hover {
        color: #ff6b6f;
        background: rgba(255, 107, 111, 0.1);
    }
}

.bottom-nav-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    color: white;
    background: #ff0b16;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(255, 11, 22, 0.3);
}

.bottom-nav-pill {
    position: absolute;
    bottom: 0.375rem;
    height: 3px;
    background: #ff0b16;
    border-radius: 1.5px;
    opacity: 0;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease;
}

.dark .bottom-nav-pill {
    background: #ff6b6f;
}

body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

/* ==========================================
   UNIFIED MOBILE SHEET SYSTEM
   Consistent bottom-sheet for all mobile panels
   ========================================== */

.mobile-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.mobile-sheet-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 56;
    max-height: 85vh;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.dark .mobile-sheet {
    background: #1f2937;
    color: #f3f4f6;
}

html.dark .mobile-sheet a,
html.dark .mobile-sheet h3,
html.dark .mobile-sheet span,
html.dark .mobile-sheet p {
    color: #f3f4f6;
}

.mobile-sheet.active {
    transform: translateY(0);
}

.mobile-sheet-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 12px auto 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-sheet-handle:hover {
    background: #9ca3af;
}

.mobile-sheet-handle:active {
    background: #6b7280;
}

.dark .mobile-sheet-handle {
    background: #4b5563;
}

.dark .mobile-sheet-handle:hover {
    background: #6b7280;
}

.mobile-sheet-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(85vh - 28px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-sheet-body::-webkit-scrollbar {
    width: 6px;
}

.mobile-sheet-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-sheet-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.mobile-sheet-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark .mobile-sheet-body::-webkit-scrollbar-track {
    background: #1f2937;
}

.dark .mobile-sheet-body::-webkit-scrollbar-thumb {
    background: #4b5563;
}

/* Legacy aliases for categories bottom-sheet */
.bottom-sheet {}

.bottom-sheet,
.sheet-overlay {
    display: none;
}

@media (min-width: 768px) {
    header {
        display: block;
    }

    body {
        padding-bottom: 0;
    }

    .bottom-nav,
    .bottom-nav-floating {
        display: none;
    }

    .mobile-sheet,
    .mobile-sheet-overlay,
    .bottom-sheet {
        display: none !important;
    }

    .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.spotlight-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.spotlight-overlay.hidden {
    display: none;
}

.spotlight-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dark .spotlight-backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.spotlight-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    padding: 0 1rem;
}

.spotlight-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
    animation: spotlightSlideDown 0.2s ease-out;
}

.dark .spotlight-box {
    background: rgba(31, 41, 55, 0.95);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes spotlightSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.spotlight-input-wrapper {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .spotlight-input-wrapper {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.spotlight-icon {
    font-size: 1.5rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.spotlight-input-wrapper input {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 400;
    background: transparent;
    border: none;
    outline: none;
    color: #111827;
}

.spotlight-input-wrapper input::placeholder {
    color: #9ca3af;
}

.dark .spotlight-input-wrapper input {
    color: #f3f4f6;
}

.dark .spotlight-input-wrapper input::placeholder {
    color: #6b7280;
}

.spotlight-shortcut {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.spotlight-shortcut kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.375rem;
    font-size: 0.6875rem;
    font-weight: 500;
    font-family: inherit;
    color: #6b7280;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
}

.dark .spotlight-shortcut kbd {
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.spotlight-cancel-btn {
    display: none;
}

.spotlight-results {
    max-height: 400px;
    overflow-y: auto;
}

.spotlight-results.hidden {
    display: none;
}

.spotlight-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.spotlight-result-item:hover,
.spotlight-result-item.selected {
    background: rgba(0, 0, 0, 0.04);
}

.dark .spotlight-result-item:hover,
.dark .spotlight-result-item.selected {
    background: rgba(255, 255, 255, 0.06);
}

.spotlight-result-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 0.5rem;
    background: #f3f4f6;
}

.dark .spotlight-result-item img {
    background: #374151;
}

.spotlight-result-info {
    flex: 1;
    min-width: 0;
}

.spotlight-result-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark .spotlight-result-name {
    color: #f3f4f6;
}

.spotlight-result-meta {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

.dark .spotlight-result-meta {
    color: #9ca3af;
}

.spotlight-result-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ff0b16;
    white-space: nowrap;
}

.spotlight-no-results {
    padding: 2rem 1.25rem;
    text-align: center;
    color: #6b7280;
}

.dark .spotlight-no-results {
    color: #9ca3af;
}

.spotlight-no-results a {
    display: inline-block;
    margin-top: 0.75rem;
    color: #ff0b16;
    font-size: 0.875rem;
}

.spotlight-no-results a:hover {
    text-decoration: underline;
}

.spotlight-section {
    padding: 0.5rem 0;
}

.spotlight-section-title {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.spotlight-result-item.highlight {
    color: #ff0b16;
}

.spotlight-result-item.highlight .material-symbols-outlined:first-child {
    color: #ff0b16;
}

.spotlight-result-item.green {
    color: #059669;
}

.spotlight-result-item.green .material-symbols-outlined:first-child {
    color: #059669;
}

.spotlight-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .spotlight-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.spotlight-result-name mark {
    background: rgba(255, 11, 22, 0.15);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.spotlight-skeleton {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
}

.skeleton-img {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-info {
    flex: 1;
}

.skeleton-title {
    height: 1rem;
    width: 70%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 0.5rem;
}

.skeleton-meta {
    height: 0.75rem;
    width: 40%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-price {
    width: 60px;
    height: 1rem;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.dark .skeleton-img,
.dark .skeleton-title,
.dark .skeleton-meta,
.dark .skeleton-price {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 767px) {
    .spotlight-overlay {
        padding-top: 0;
        align-items: flex-end;
    }

    .spotlight-container {
        max-width: 100%;
        padding: 0;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .spotlight-box {
        border-radius: 1.25rem 1.25rem 0 0;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        animation: spotlightSlideUp 0.25s ease-out;
    }

    .dark .spotlight-box {
        background: rgba(17, 24, 39, 0.98);
    }

    @keyframes spotlightSlideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .spotlight-input-wrapper {
        padding: 0.875rem 1rem;
        padding-top: calc(env(safe-area-inset-top, 0px) + 1.75rem);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        position: sticky;
        top: 0;
        background: inherit;
        z-index: 1;
    }

    .dark .spotlight-input-wrapper {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .spotlight-input-wrapper input {
        font-size: 1rem;
    }

    .spotlight-shortcut {
        display: none;
    }

    .spotlight-cancel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.25rem 0.75rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #e11d48;
        background: none;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }

    .spotlight-backdrop {
        background: rgba(0, 0, 0, 0.5);
    }

    .spotlight-results {
        flex: 1;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .spotlight-result-item {
        padding: 1rem;
    }

    .spotlight-result-item img {
        width: 56px;
        height: 56px;
    }

    .spotlight-result-name {
        font-size: 1rem;
    }

    .spotlight-result-meta {
        font-size: 0.875rem;
    }

    .spotlight-result-price {
        font-size: 1rem;
    }

    .spotlight-input-wrapper::before {
        content: '';
        position: absolute;
        top: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #d1d5db;
        border-radius: 2px;
    }

    .dark .spotlight-input-wrapper::before {
        background: #4b5563;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .spotlight-container {
        max-width: 560px;
    }

    .spotlight-box {
        border-radius: 1rem;
    }
}

@keyframes typingPlaceholder {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.spotlight-input-wrapper input::placeholder {
    transition: opacity 0.3s ease;
}

.spotlight-input-wrapper input.typing-animation::placeholder {
    animation: typingPlaceholder 1s ease-in-out infinite;
}

.hero-slider .slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
}

.slider-dot {
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.3);
}

.hero-fullscreen {
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 768px) {
    .hero-fullscreen {
        min-height: calc(100vh - 2rem);
    }
}

.category-box {
    position: relative;
}

.category-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 40px -10px rgba(255, 11, 22, 0.3);
}

.category-box:hover::after {
    opacity: 1;
}

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

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

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-start {
    scroll-snap-align: start;
}

.snap-mandatory {
    scroll-snap-type: x mandatory;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    pointer-events: none;
}

.cookie-consent.cookie-consent-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-inner,
.cookie-settings-panel {
    max-width: 42rem;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 1.25rem;
}

.dark .cookie-consent-inner,
.dark .cookie-settings-panel {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(55, 65, 81, 0.5);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 11, 22, 0.1);
    border-radius: 0.75rem;
    color: #ff0b16;
}

.cookie-consent-icon .material-symbols-outlined {
    font-size: 1.25rem;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #ff0b16;
    color: white;
}

.cookie-btn-primary:hover {
    background: #e00a14;
    box-shadow: 0 2px 8px rgba(255, 11, 22, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.dark .cookie-btn-secondary {
    color: #9ca3af;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

.cookie-btn-outline {
    background: transparent;
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.cookie-btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dark .cookie-btn-outline {
    color: #d1d5db;
    border-color: rgba(255, 255, 255, 0.15);
}

.dark .cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.cookie-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .cookie-settings-header {
    border-color: rgba(255, 255, 255, 0.08);
}

.cookie-settings-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-settings-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

.dark .cookie-settings-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
}

.cookie-settings-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-category {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.03);
}

.dark .cookie-category {
    background: rgba(255, 255, 255, 0.04);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-settings-footer {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .cookie-settings-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 2.75rem;
    height: 1.5rem;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 1.125rem;
    width: 1.125rem;
    left: 0.1875rem;
    bottom: 0.1875rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cookie-toggle input:checked+.cookie-toggle-slider {
    background: #ff0b16;
}

.cookie-toggle input:checked+.cookie-toggle-slider::before {
    transform: translateX(1.25rem);
}

.dark .cookie-toggle-slider {
    background: #4b5563;
}

@media (max-width: 640px) {
    .cookie-consent {
        padding: 0.75rem;
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent-inner,
    .cookie-settings-panel {
        padding: 1rem;
        border-radius: 1rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-actions .cookie-btn {
        width: 100%;
        text-align: center;
        padding: 0.625rem 1rem;
    }

    .cookie-settings-footer {
        flex-direction: column-reverse;
    }

    .cookie-settings-footer .cookie-btn {
        width: 100%;
        text-align: center;
        padding: 0.625rem 1rem;
    }
}

.promo-banner {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 9998;
    max-width: 22rem;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    pointer-events: none;
}

.promo-banner.promo-banner-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.promo-banner-inner {
    position: relative;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    box-shadow:
        0 10px 50px rgba(220, 38, 38, 0.35),
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    overflow: hidden;
}

.promo-banner-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.dark .promo-banner-inner {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 10px 60px rgba(239, 68, 68, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.promo-banner-close {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-banner-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.promo-banner-close .material-symbols-outlined {
    font-size: 1.125rem;
}

.promo-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-right: 1.5rem;
}

.promo-banner-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 0.75rem;
    color: white;
}

.promo-banner-icon .material-symbols-outlined {
    font-size: 1.375rem;
}

.promo-banner-headline {
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.promo-banner-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.promo-banner-actions {
    display: flex;
    gap: 0.5rem;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.promo-btn-primary {
    flex: 1;
    background: white;
    color: #dc2626;
}

.promo-btn-primary:hover {
    background: #fef2f2;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.25);
    color: #b91c1c;
}

.promo-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.promo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@media (max-width: 767px) {
    .promo-banner {
        bottom: 5.5rem;
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
        transform: translateY(calc(100% + 6rem));
    }

    .promo-banner.promo-banner-visible {
        transform: translateY(0);
    }

    .promo-banner-actions {
        flex-direction: column;
    }

    .promo-btn {
        width: 100%;
        text-align: center;
        padding: 0.625rem 1rem;
    }
}