:root,
:root[data-theme="sunset"] {
    --theme-accent: #ee9c3f;
    --theme-accent-strong: #d88b33;
    --theme-accent-muted: #f3b062;
    --theme-accent-soft: #fff5e9;
    --theme-accent-soft-strong: #ffe7c8;
    --theme-accent-border: #f7c996;
    --theme-accent-border-light: #fde6cc;
    --theme-accent-contrast: #9a5a16;
    --theme-accent-pale: #fff1de;
    --theme-accent-rgb: 238, 156, 63;
}

:root[data-theme="coral"] {
    --theme-accent: #f26b5b;
    --theme-accent-strong: #de5342;
    --theme-accent-muted: #f59a88;
    --theme-accent-soft: #fff2ef;
    --theme-accent-soft-strong: #ffd9d1;
    --theme-accent-border: #f5b8ad;
    --theme-accent-border-light: #fbe2dc;
    --theme-accent-contrast: #a43e33;
    --theme-accent-pale: #ffe8e2;
    --theme-accent-rgb: 242, 107, 91;
}

:root[data-theme="rose"] {
    --theme-accent: #e86a94;
    --theme-accent-strong: #cd4f78;
    --theme-accent-muted: #f2a3bb;
    --theme-accent-soft: #fff2f7;
    --theme-accent-soft-strong: #ffd9e7;
    --theme-accent-border: #f2b8cd;
    --theme-accent-border-light: #fae2ec;
    --theme-accent-contrast: #9b3658;
    --theme-accent-pale: #ffe8f0;
    --theme-accent-rgb: 232, 106, 148;
}

:root[data-theme="violet"] {
    --theme-accent: #8b5cf6;
    --theme-accent-strong: #6d3fe0;
    --theme-accent-muted: #b295ff;
    --theme-accent-soft: #f4efff;
    --theme-accent-soft-strong: #e4dbff;
    --theme-accent-border: #cdbdff;
    --theme-accent-border-light: #ebe4ff;
    --theme-accent-contrast: #5630af;
    --theme-accent-pale: #f1ebff;
    --theme-accent-rgb: 139, 92, 246;
}

:root[data-theme="ocean"] {
    --theme-accent: #0ea5e9;
    --theme-accent-strong: #0284c7;
    --theme-accent-muted: #67c9f3;
    --theme-accent-soft: #eef9ff;
    --theme-accent-soft-strong: #d5effd;
    --theme-accent-border: #9dd8f3;
    --theme-accent-border-light: #dcf1fb;
    --theme-accent-contrast: #0c6b98;
    --theme-accent-pale: #e5f7ff;
    --theme-accent-rgb: 14, 165, 233;
}

:root[data-theme="emerald"] {
    --theme-accent: #10b981;
    --theme-accent-strong: #0a9b6c;
    --theme-accent-muted: #60d3af;
    --theme-accent-soft: #ecfdf5;
    --theme-accent-soft-strong: #d2f7e7;
    --theme-accent-border: #98e2c5;
    --theme-accent-border-light: #def8ee;
    --theme-accent-contrast: #0b7050;
    --theme-accent-pale: #e4fbf2;
    --theme-accent-rgb: 16, 185, 129;
}

:root[data-theme="lime"] {
    --theme-accent: #84cc16;
    --theme-accent-strong: #65a30d;
    --theme-accent-muted: #b4df63;
    --theme-accent-soft: #f7fde8;
    --theme-accent-soft-strong: #e7f7c8;
    --theme-accent-border: #c7e69a;
    --theme-accent-border-light: #eff9db;
    --theme-accent-contrast: #537a10;
    --theme-accent-pale: #f2fbdc;
    --theme-accent-rgb: 132, 204, 22;
}

html {
    accent-color: var(--theme-accent);
}

body {
    transition: background-color 0.25s ease, color 0.25s ease;
}

::selection {
    background: rgba(var(--theme-accent-rgb), 0.18);
}

.green-gradient,
.bg-orange-gradient {
    background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-muted) 100%) !important;
}

.bg-gradient-mesh {
    background-image: radial-gradient(at 0% 100%, rgba(var(--theme-accent-rgb), 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(var(--theme-accent-rgb), 0.12) 0px, transparent 50%) !important;
}

.phone-bg-glow {
    background: radial-gradient(circle, rgba(var(--theme-accent-rgb), 0.18) 0%, rgba(var(--theme-accent-rgb), 0) 70%) !important;
}

.search-glow:focus-within {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(var(--theme-accent-rgb), 0.28), 0 0 20px rgba(var(--theme-accent-rgb), 0.18) !important;
    border-color: var(--theme-accent) !important;
}

.nav-link:hover {
    color: var(--theme-accent) !important;
}

.text-\[\#ee9c3f\],
.text-orange-600,
.hover\:text-\[\#ee9c3f\]:hover,
.group:hover .group-hover\:text-\[\#ee9c3f\] {
    color: var(--theme-accent) !important;
}

.text-orange-700 {
    color: var(--theme-accent-contrast) !important;
}

.text-orange-100 {
    color: var(--theme-accent-pale) !important;
}

.bg-\[\#ee9c3f\],
.bg-orange-500,
.hover\:bg-\[\#ee9c3f\]:hover,
.group:hover .group-hover\:bg-\[\#ee9c3f\] {
    background-color: var(--theme-accent) !important;
}

.bg-orange-50 {
    background-color: var(--theme-accent-soft) !important;
}

.bg-orange-100 {
    background-color: var(--theme-accent-soft-strong) !important;
}

.border-\[\#ee9c3f\],
.border-orange-100 {
    border-color: var(--theme-accent-border) !important;
}

.border-orange-50 {
    border-color: var(--theme-accent-border-light) !important;
}

.hover\:bg-\[\#d88b33\]:hover {
    background-color: var(--theme-accent-strong) !important;
}

.hover\:bg-\[\#ee9c3f\]:hover {
    background-color: var(--theme-accent) !important;
}

.focus\:border-\[\#ee9c3f\]:focus {
    border-color: var(--theme-accent) !important;
}

.focus\:ring-\[\#ee9c3f\]:focus {
    border-color: var(--theme-accent) !important;
    box-shadow: 0 0 0 3px rgba(var(--theme-accent-rgb), 0.16) !important;
}

.accent-\[\#ee9c3f\],
input[type="range"] {
    accent-color: var(--theme-accent) !important;
}

.from-\[\#ee9c3f\]\/20 {
    --tw-gradient-from: rgba(var(--theme-accent-rgb), 0.2) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(var(--theme-accent-rgb), 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.shadow-orange-200 {
    box-shadow: 0 18px 45px -22px rgba(var(--theme-accent-rgb), 0.45) !important;
}

.theme-switcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.theme-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111111;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 40px -24px rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(16px);
}

.theme-switcher__toggle-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--theme-accent), var(--theme-accent-muted));
    box-shadow: 0 0 0 4px rgba(var(--theme-accent-rgb), 0.14);
}

.theme-switcher__panel {
    width: min(320px, calc(100vw - 32px));
    border-radius: 24px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 70px -34px rgba(17, 17, 17, 0.35);
    padding: 18px;
    backdrop-filter: blur(18px);
}

.theme-switcher__panel[hidden] {
    display: none;
}

.theme-switcher__title {
    font-size: 14px;
    font-weight: 800;
    color: #111111;
}

.theme-switcher__subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.theme-switcher__options {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.theme-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: #ffffff;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-switcher__option:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--theme-accent-rgb), 0.35);
    box-shadow: 0 16px 30px -28px rgba(17, 17, 17, 0.5);
}

.theme-switcher__option.is-active {
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 3px rgba(var(--theme-accent-rgb), 0.14);
}

.theme-switcher__swatch {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--swatch-start), var(--swatch-end));
}

.theme-switcher__meta {
    min-width: 0;
}

.theme-switcher__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #111111;
}

.theme-switcher__desc {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280;
}

@media (max-width: 640px) {
    .theme-switcher {
        right: 16px;
        bottom: 16px;
    }

    .theme-switcher__panel {
        width: min(320px, calc(100vw - 24px));
    }

    .theme-switcher__options {
        grid-template-columns: minmax(0, 1fr);
    }
}