:root { --bg-page: #e8e5e3; --bg-surface: #f2f0ef; --bg-element: #e0dbda; --color-plum: #6b5b65; --color-plum-hover: #52454d; --color-powder: #c4bbbb; --text-dark: #3a3337; --text-muted: #83787d; --text-btn: #f2f0ef; --shadow-soft: 0 10px 30px rgba(107, 91, 101, 0.08); --border-color: #dbd7d5; }
[data-theme="dark"] { --bg-page: #121212; --bg-surface: #1e1e1e; --bg-element: #2c2c2c; --color-plum: #d4a373; --color-plum-hover: #b5885c; --color-powder: #555555; --text-dark: #f0f0f0; --text-muted: #aaaaaa; --text-btn: #121212; --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.6); --border-color: #383838; }

* { box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; padding-top: 110px; background-color: var(--bg-page); background-image: radial-gradient(at 0% 0%, rgba(107, 91, 101, 0.06) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(196, 187, 187, 0.15) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(107, 91, 101, 0.06) 0px, transparent 50%); background-attachment: fixed; color: var(--text-dark); overflow-x: hidden; transition: background-color 0.4s, color 0.4s; -webkit-tap-highlight-color: transparent; }
[data-theme="dark"] body { background-image: radial-gradient(at 0% 0%, rgba(212, 163, 115, 0.05) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(85, 85, 85, 0.1) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(212, 163, 115, 0.05) 0px, transparent 50%); }

.btn { display: inline-block; padding: 14px 30px; background-color: var(--color-plum); color: var(--text-btn); border-radius: 30px; font-weight: 600; font-size: 13px; transition: 0.3s; cursor: pointer; border: none; text-align: center; text-transform: uppercase; text-decoration: none;}
.btn:hover { background-color: var(--color-plum-hover); transform: translateY(-2px); }
.form-control { width: 100%; padding: 12px; background-color: var(--bg-element); border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-dark); font-size: 14px; font-family: 'Montserrat'; outline: none; transition: 0.3s;}
.form-control:focus { border-color: var(--color-plum); }
.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
[data-theme="dark"] .form-control { background-color: #252525; color: #ffffff; border-color: #444; }
[data-theme="dark"] select.form-control option { background-color: #252525; color: #fff; }

/* --- HEADER (ЕДИНСТВЕННЫЙ ЭЛЕМЕНТ С LIQUID GLASS) --- */
header { position: fixed; top: 15px; left: 50%; transform: translateX(-50%); width: 96%; max-width: 1600px; border-radius: 30px; background-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 12px 30px; min-height: 70px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06); gap: 20px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(255,255,255,0.7); }
header.scrolled { background-color: rgba(255, 255, 255, 0.35); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); border-color: rgba(255,255,255,0.3); backdrop-filter: blur(25px); }
[data-theme="dark"] header { background-color: rgba(25, 25, 25, 0.55); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); }
[data-theme="dark"] header.scrolled { background-color: rgba(20, 20, 20, 0.4); }

#mobile-menu-btn { display: none; background: none; border: none; padding: 5px; color: var(--text-dark); cursor: pointer; }
.header-left { display: flex; align-items: center; gap: 30px; flex: 1; }
.logo-container { cursor: pointer; transition: 0.4s; display: flex; align-items: center; flex-shrink: 0;}
.framed-logo { display: flex; align-items: center; text-decoration: none; user-select: none; }
.framed-jh { border: 1px solid var(--color-plum); padding: 2px 10px; font-weight: 500; font-size: 28px; font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--color-plum); letter-spacing: 1px; border-radius: 4px; transition: all 0.3s ease; }
.framed-hair { font-family: 'Montserrat', sans-serif; font-weight: 300; font-size: 16px; color: var(--text-dark); margin-left: 10px; letter-spacing: 6px; text-transform: uppercase; }
.logo-container:hover .framed-jh { background-color: var(--color-plum); color: white; box-shadow: 0 4px 10px rgba(107, 91, 101, 0.2); transform: translateY(-2px); }
.mobile-logo-center { display: none; }
.desktop-nav { display: flex; gap: 20px; flex-wrap: nowrap; }
.desktop-nav a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; padding: 5px 0; position: relative; transition: 0.3s; cursor: pointer; white-space: nowrap;}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--color-plum); }
.desktop-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: var(--color-plum); transition: 0.4s; transform: translateX(-50%); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }

.header-search-wrapper { flex: 1.5; display: flex; justify-content: center; }
.header-search-container { position: relative; width: 100%; max-width: 500px; min-width: 250px; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--color-plum); opacity: 0.7; pointer-events: none; z-index: 2; transition: 0.3s;}
.header-search-input { width: 100%; padding: 14px 20px 14px 45px; border-radius: 30px; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-dark); outline: none; font-family: 'Montserrat'; font-size: 14px; transition: all 0.3s; }
.header-search-input:focus { border-color: var(--color-plum); background: var(--bg-element); transform: translateY(-1px);}
.header-search-input:focus + .search-icon { opacity: 1; color: var(--color-plum); }
.header-search-input::placeholder { color: var(--text-muted); font-weight: 500; }

.live-results-dropdown { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: var(--bg-surface); border-radius: 20px; box-shadow: var(--shadow-soft); z-index: 1000; display: none; border: 1px solid var(--border-color); max-height: 400px; overflow-y: auto; flex-direction: column; padding: 10px; }
.live-results-dropdown.active { display: flex; }
.result-item { padding: 10px; display: flex; align-items: center; gap: 15px; cursor: pointer; border-radius: 12px; transition: 0.2s; color: var(--text-dark); }
.result-item:hover { background: var(--bg-element); }
.result-item img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; }
.result-item div { font-size: 14px; font-weight: 600; line-height: 1.3; }

.header-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 5px;}
.theme-toggle-btn { background: transparent; border: none; font-size: 22px; cursor: pointer; color: var(--text-dark); transition: 0.3s; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center;}
.theme-toggle-btn:hover { background-color: var(--bg-element); }
.header-btn { display: flex; align-items: center; justify-content: center; background-color: transparent; color: var(--text-dark); border: none; padding: 8px; border-radius: 50%; cursor: pointer; transition: 0.3s; position: relative; text-decoration: none;}
.header-btn:hover { background-color: var(--bg-element); color: var(--color-plum);}
.header-btn svg { stroke: currentColor; fill: none; transition: 0.3s; width: 22px; height: 22px; stroke-width: 1.5;}
#fav-count, #cart-count { position: absolute; top: 0px; right: 0px; background: #ff4757; color: white; min-width: 16px; height: 16px; font-size: 9px; padding: 0 4px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 2px solid var(--bg-surface);}

.mobile-drawer { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 15000; opacity: 0; pointer-events: none; transition: 0.3s; display: flex; }
.mobile-drawer.active { opacity: 1; pointer-events: all; }
.mobile-drawer-content { width: 300px; max-width: 80%; background: var(--bg-surface); height: 100%; padding: 30px 20px; transform: translateX(-100%); transition: transform 0.4s; display: flex; flex-direction: column; position: relative; border-right: 1px solid var(--border-color); overflow-y: auto; }
.mobile-drawer.active .mobile-drawer-content { transform: translateX(0); }
.drawer-close { position: absolute; top: 15px; right: 15px; background: var(--bg-element); border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--text-dark); display: flex; align-items: center; justify-content: center; transition: 0.3s;}
.drawer-close:hover { background: #ff4757; color: white;}
.drawer-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 20px;}
.drawer-nav a, .drawer-nav button { text-decoration: none; color: var(--text-dark); font-size: 15px; font-weight: 700; text-transform: uppercase; padding: 15px; border-radius: 12px; transition: 0.3s; display: flex; align-items: center; gap: 12px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: 'Montserrat'; width: 100%;}
.drawer-nav a svg, .drawer-nav button svg { stroke: currentColor; fill: none; }
.drawer-nav a:hover, .drawer-nav button:hover { background: var(--bg-element); color: var(--color-plum); }

main { padding: 0 20px 40px; max-width: 1400px; margin: 0 auto; min-height: 70vh; }
.page { display: none; animation: fadeIn 0.4s; } .page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.section-title { font-size: 28px; font-weight: 300; margin: 0 0 30px; color: var(--color-plum); text-align: center; display: flex; align-items: center; justify-content: center; gap: 12px;}
.section-title svg { stroke: currentColor; }

/* --- КАРУСЕЛЬ БАНЕРОВ --- */
.carousel-wrapper { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); overflow: hidden; background: var(--bg-page); padding: 0; }
.carousel-track { display: flex; align-items: center; gap: 0; width: max-content; margin-left: -32.5vw; }
/* ДОБАВЛЕНА ПЛАВНАЯ АНИМАЦИЯ ПРИ СМЕНЕ ФОНА И CSS ПЕРЕМЕННАЯ */
.carousel-slide { width: 55vw; max-width: 55vw; height: 500px; border-radius: 0; background-image: var(--bg-light); background-size: cover; background-position: center; flex-shrink: 0; position: relative; display: flex; padding: 40px 60px; box-sizing: border-box; transition: background-image 0.4s ease-in-out; }
[data-theme="dark"] .carousel-slide { background-image: var(--bg-dark); }

.slide-content { position: relative; z-index: 2; color: white; width: 100%; text-align: center; }
.slide-content h2, .slide-content p { text-shadow: 0 2px 15px rgba(0,0,0,0.6); }
.slide-content h2 { margin: 0 0 15px; font-weight: 400; line-height: 1.2; }
.slide-content p { margin-bottom: 25px; line-height: 1.6; }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent !important; border: none; color: var(--color-plum); width: 50px; height: 50px; cursor: pointer; transition: 0.3s; z-index: 20; display: flex; align-items: center; justify-content: center; box-shadow: none !important; opacity: 1; font-size: 40px; font-weight: 600; }
.carousel-btn:hover { background: transparent !important; transform: translateY(-50%) scale(1.15); color: var(--text-dark); }
.carousel-btn svg { width: 35px; height: 35px; stroke-width: 2.5; stroke: currentColor; fill: none; }
.carousel-btn.prev { left: 20vw; }
.carousel-btn.next { right: 20vw; }

.carousel-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-element); transition: 0.3s; cursor: pointer; }
.carousel-dot.active { background: var(--color-plum); transform: scale(1.3); }

/* ИСПРАВЛЕНА ОШИБКА АРТЕФАКТОВ: инвертируем только логитипы брендов в сетке, а не товары */
[data-theme="dark"] .brand-logo-card img { 
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* БІГУЧА СТРІЧКА */
.marquee-wrapper { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); overflow: hidden; background: var(--color-plum); color: var(--text-btn); padding: 12px 0; margin-top: 0; margin-bottom: 60px; display: flex; white-space: nowrap; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.marquee-content { animation: marquee 25s linear infinite reverse; display: flex; gap: 50px; font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* КАРТКИ БРЕНДІВ І КАТЕГОРІЙ */
.brands-grid-home { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; margin-bottom: 70px; }
.brand-logo-card { width: 160px; height: 90px; background: var(--bg-surface); border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 15px; box-shadow: var(--shadow-soft); transition: 0.3s; cursor: pointer; border: 1px solid var(--border-color); }
.brand-logo-card:hover { transform: translateY(-5px); border-color: var(--color-plum); box-shadow: 0 15px 25px rgba(0,0,0,0.08); }
.brand-logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; }
.brand-logo-card:hover img { filter: grayscale(0%); opacity: 1; }

.cat-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: pointer; transition: 0.3s; width: 110px;}
.cat-circle { width: 100px; height: 100px; border-radius: 50%; background: var(--bg-surface); border: 1px solid var(--border-color); display: flex; justify-content: center; align-items: center; transition: 0.3s; box-shadow: var(--shadow-soft); padding: 15px; color: var(--color-plum); transform: translateZ(0);}
.cat-circle svg { width: 36px; height: 36px; stroke: currentColor; fill: none; transition: 0.3s; }
.cat-card:hover .cat-circle { transform: translateY(-5px); border: 2px solid var(--color-powder); color: var(--color-plum-hover); }
.cat-card:hover .cat-circle svg { transform: scale(1.15); }
.cat-title { font-size: 13px; font-weight: 600; color: var(--text-dark); text-align: center; }

/* КАРУСЕЛЬ ДЛЯ НОВИНОК ТА АКЦІЙ */
.auto-carousel-container { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); overflow: hidden; padding: 10px 0 30px; margin-bottom: 40px; }
.auto-carousel-track { display: flex; gap: 25px; width: max-content; transition: transform 0.6s ease-in-out; padding: 0 20px; }
.horizontal-card { display: flex; width: 480px; background: var(--bg-surface); border-radius: 20px; padding: 20px; border: 1px solid var(--border-color); flex-shrink: 0; align-items: stretch; gap: 20px; cursor: pointer; transition: 0.3s; position: relative; min-height: 180px; box-shadow: var(--shadow-soft); }
.horizontal-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--color-powder); }
.hc-badges { position: absolute; top: 15px; left: 15px; display: flex; flex-direction: column; gap: 4px; z-index: 5;}

/* ПОДИУМ И ИДЕАЛЬНАЯ ПРОЗРАЧНОСТЬ ДЛЯ ГОРИЗОНТАЛЬНЫХ КАРТОЧЕК */
.hc-img { width: 140px; height: 140px; background: #ffffff; border-radius: 15px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; align-self: center;}
[data-theme="dark"] .hc-img { background-color: #ffffff; opacity: 0.95; }
.hc-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.hc-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hc-brand { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-dark); margin-bottom: 4px; letter-spacing: 0.5px;}
.hc-title { font-size: 15px; color: var(--text-dark); line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700;}
.hc-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; font-weight: 500; }
.hc-price { font-size: 18px; font-weight: 800; color: var(--text-dark); display: flex; flex-direction: column; margin-top: auto;}
.hc-price-old { text-decoration: line-through; font-size: 12px; color: var(--text-muted); font-weight: 600;}

/* КАТАЛОГ СІТКА КАРТОЧОК ТОВАРІВ */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; justify-items: center; margin-bottom: 30px; }
.product-card { background: var(--bg-surface); width: 100%; box-sizing: border-box; border-radius: 20px; padding: 20px; transition: 0.4s; display: flex; flex-direction: column; cursor: pointer; position: relative; border: 1px solid var(--border-color); transform: translateZ(0); box-shadow: var(--shadow-soft); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--color-powder);}

.btn-fav { position: absolute; top: 15px; left: 15px; background: var(--bg-element); border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.08); color: var(--text-muted); }
.btn-fav svg { fill: transparent; stroke: currentColor; transition: 0.3s; width: 20px; height: 20px; stroke-width:1.5;}
.btn-fav:hover { transform: scale(1.15); color: #ff4757; background: var(--bg-surface); border: 1px solid var(--border-color); box-shadow: 0 6px 15px rgba(255, 71, 87, 0.2); }
.btn-fav.active { color: #ff4757; } .btn-fav.active svg { fill: currentColor; }

.pm-fav-btn { width: 50px; height: 50px; border-radius: 15px; background: var(--bg-element); border: 1px solid var(--border-color); color: var(--text-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.pm-fav-btn svg { fill: transparent; stroke: currentColor; transition: 0.3s; width: 22px; height: 22px; stroke-width:1.5;}
.pm-fav-btn:hover { background: var(--bg-surface); color: #ff4757; border-color: #ff4757; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 71, 87, 0.2); }
.pm-fav-btn.active { color: #ff4757; border-color: #ff4757; background: var(--bg-surface); } .pm-fav-btn.active svg { fill: currentColor; transform: scale(1.1); }
.badges-container { position: absolute; top: 15px; right: 15px; display: flex; flex-direction: column; gap: 5px; z-index: 10;}

.badge { color: white; font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.badge-top { background: #ff8fa3; color: white; border: none;} 
.badge-new { background: #6b5b65; color: var(--text-btn); border: none;} 
.badge-promo { background: #ff4757; color: white; border: none;} 

/* ПОДИУМ И ИДЕАЛЬНАЯ ПРОЗРАЧНОСТЬ ДЛЯ ОБЫЧНЫХ КАРТОЧЕК */
.product-image { background-color: #ffffff; height: 260px; border-radius: 15px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; padding: 10px;}
[data-theme="dark"] .product-image { background-color: #ffffff; opacity: 0.95; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; mix-blend-mode: multiply; }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-brand { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.5px;}
.product-title { font-size: 16px; margin: 0 0 4px 0; color: var(--text-dark); font-weight: 700; line-height: 1.3; text-transform: uppercase;}
.product-subtitle { font-size: 13px; margin: 0 0 10px 0; color: var(--text-muted); font-weight: 500; line-height: 1.3; flex-grow: 1;}
.product-sku-lbl { font-size: 11px; color: var(--color-powder); font-family: monospace; display: block; margin-bottom: 12px;}
.product-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto;}
.product-price { font-size: 20px; color: var(--text-dark); font-weight: 800; display: flex; align-items: baseline; gap: 8px;}
.product-price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; font-weight: 600;}
.product-price-new { color: #ff4757; }
.btn-add { background: var(--bg-element); color: var(--text-dark); border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; font-size: 24px; font-weight: 300; transition: 0.3s; display:flex; align-items:center; justify-content:center;}
.btn-add:hover { background: var(--color-plum); color: var(--text-btn); }

/* ФІЛЬТРИ */
.catalog-layout { display: flex; gap: 30px; align-items: flex-start; }
.sidebar-filters { width: 270px; flex-shrink: 0; background: var(--bg-surface); padding: 25px; border-radius: 20px; border: 1px solid var(--border-color); position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; overflow-x: hidden; box-shadow: var(--shadow-soft); }
.sidebar-filters::-webkit-scrollbar { width: 5px; } .sidebar-filters::-webkit-scrollbar-track { background: transparent; } .sidebar-filters::-webkit-scrollbar-thumb { background: var(--color-powder); border-radius: 10px; }
.filter-section { margin-bottom: 25px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.filter-title { font-size: 15px; font-weight: 700; margin-bottom: 15px; color: var(--color-plum); text-transform: uppercase; }
.filter-checkbox { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; cursor: pointer; font-size: 14px; color: var(--text-dark); user-select: none; }
.filter-checkbox input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 2px solid var(--border-color); border-radius: 4px; background-color: var(--bg-surface); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; flex-shrink: 0; margin: 0; }
.filter-checkbox input:hover { border-color: var(--color-plum); background-color: var(--bg-element); transform: scale(1.05); }
.filter-checkbox input:checked { background-color: var(--color-plum); border-color: var(--color-plum); }
.filter-checkbox input:checked::after { content: ''; width: 4px; height: 9px; border: solid var(--text-btn); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-bottom: 2px; }
.brand-group { margin-bottom: 10px; }
.brand-header { display: flex; align-items: center; justify-content: space-between; }
.brand-toggle { cursor: pointer; padding: 5px; font-size: 10px; transition: 0.3s; color: var(--text-muted); }
.brand-collections { padding-left: 26px; display: none; margin-top: 5px; }
.brand-collections.open { display: block; }
.price-inputs { display: flex; gap: 10px; align-items: center; margin-bottom: 15px; }
.price-inputs input { width: 50%; padding: 10px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-element); color: var(--text-dark); font-family: 'Montserrat'; text-align: center; outline: none; transition: 0.3s;}
.btn-price-apply { width: 100%; padding: 12px; border-radius: 10px; background: var(--color-plum); color: var(--text-btn); border: none; font-weight: 600; cursor: pointer; transition: 0.3s; font-family: 'Montserrat'; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px;}
.catalog-content { flex: 1; width: 100%; }
.catalog-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px;}
.custom-select-wrapper { position: relative; width: 220px; cursor: pointer; user-select: none; }
.custom-select-trigger { padding: 12px 20px; border-radius: 30px; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--color-plum); font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.custom-select-trigger::after { content: '▼'; font-size: 10px; color: var(--color-plum); transition: 0.3s;}
.custom-select-wrapper.open .custom-select-trigger { border-color: var(--color-plum); background: var(--color-plum); color: white; }
.custom-select-wrapper.open .custom-select-trigger::after { color: white; transform: rotate(180deg); }
.custom-options { position: absolute; top: 110%; left: 0; right: 0; display: none; background: var(--bg-surface); border-radius: 15px; border: 1px solid var(--border-color); box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 100; overflow: hidden; }
.custom-select-wrapper.open .custom-options { display: block; }
.custom-option { padding: 12px 20px; color: var(--text-dark); transition: 0.2s; font-size: 13px; }
.custom-option:hover { background: var(--bg-element); color: var(--color-plum); font-weight: 600;}

/* ІНШІ СТОРІНКИ */
.box-container { background-color: var(--bg-surface); border-radius: 30px; padding: 40px; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); box-sizing: border-box; width: 100%;}
.checkout-layout { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.checkout-form-side { flex: 1.5; min-width: 300px; }
.checkout-summary-side { flex: 1; min-width: 300px; background: var(--bg-surface); padding: 30px; border-radius: 25px; position: sticky; top: 100px; border: 1px solid var(--border-color);}
.form-group { margin-bottom: 20px; text-align: left; position: relative; }
.form-group label { display: block; margin-bottom: 8px; color: var(--color-plum); font-size: 12px; font-weight: 700; text-transform: uppercase;}
.consultation-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; justify-content: center; margin-bottom: 40px;}
.consultation-text { flex: 1; min-width: 300px; text-align: left; }
.consultation-cards { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 20px; }
.c-card { background: var(--bg-surface); padding: 25px; border-radius: 20px; border: 1px solid var(--border-color); display: flex; align-items: center; gap: 20px; text-decoration: none; transition: 0.3s; box-shadow: var(--shadow-soft);}
.c-card:hover { transform: translateY(-5px); border-color: var(--color-plum); }
.c-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0;}
.c-info h3 { margin: 0 0 5px 0; color: var(--text-dark); font-size: 18px;}
.c-info p { margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 500;}
.faq-item { margin-bottom: 15px; border: 1px solid var(--border-color); border-radius: 15px; overflow: hidden; background: transparent; }
.faq-question { padding: 15px 20px; background: var(--bg-element); color: var(--text-dark); font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 18px; color: var(--color-plum); }
.faq-answer { padding: 0 20px; background: var(--bg-surface); color: var(--text-muted); font-size: 14px; line-height: 1.6; max-height: 0; overflow: hidden; transition: 0.3s; }
.faq-item.active .faq-answer { padding: 15px 20px; max-height: 200px; }
.faq-item.active .faq-question::after { content: '-'; }

/* ЧАТ */
.support-fab { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: linear-gradient(135deg, var(--color-plum), var(--color-powder)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; cursor: pointer; box-shadow: 0 10px 25px rgba(107, 91, 101, 0.4); transition: 0.3s; z-index: 999; border:none; }
.support-fab:hover { transform: scale(1.1); }
.support-chat-box { position: fixed; bottom: 100px; left: 30px; width: 340px; height: 450px; background: var(--bg-surface); border-radius: 20px; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); z-index: 999; display: none; flex-direction: column; overflow: hidden; }
.support-chat-box.active { display: flex; }
.support-header { background: var(--color-plum); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600;}
.chat-messages { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; background: transparent;}
.msg { padding: 10px 15px; border-radius: 15px; max-width: 85%; font-size: 14px; line-height: 1.4; word-wrap: break-word; color: #fff;}
.msg-client { background: var(--color-plum); align-self: flex-end; border-bottom-right-radius: 4px;}
.msg-admin { background: #555; align-self: flex-start; border-bottom-left-radius: 4px;}
.chat-input-area { display: flex; padding: 10px; background: var(--bg-element); border-top: 1px solid var(--border-color); gap: 10px;}

/* ПРОФІЛЬ */
.profile-container { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap;}
.profile-sidebar { width: 250px; background: var(--bg-surface); padding: 20px; border-radius: 20px; border: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; box-shadow: var(--shadow-soft);}
.profile-nav-btn { background: transparent; border: none; text-align: left; padding: 12px 15px; border-radius: 10px; font-size: 14px; cursor: pointer; font-family: 'Montserrat'; font-weight: 600; transition: 0.3s; color: var(--text-dark); display: flex; align-items: center; gap: 10px;}
.profile-nav-btn svg { stroke: currentColor; fill: none; flex-shrink: 0; }
.profile-nav-btn:hover { background: var(--bg-element); } .profile-nav-btn.active { background: var(--color-plum); color: var(--text-btn); }
.profile-content { flex: 1; min-width: 300px; background: var(--bg-surface); padding: 30px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); }
.profile-tab { display: none; } .profile-tab.active { display: block; }
.order-card { background: var(--bg-element); padding: 20px; border-radius: 15px; margin-bottom: 20px; border: 1px solid var(--border-color); }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); flex-wrap: wrap; gap: 10px;}
.status-pill { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.s-нове { background: #e3f2fd; color: #1abc9c; } .s-обробка { background: #fff3cd; color: #f39c12; } .s-відправлено { background: #e8eaed; color: #2980b9; } .s-виконано { background: #e8f8f5; color: #27ae60; } .s-скасовано { background: #fce4e4; color: #c0392b; }
[data-theme="dark"] .s-нове { background: rgba(26, 188, 156, 0.2); } [data-theme="dark"] .s-обробка { background: rgba(243, 156, 18, 0.2); } [data-theme="dark"] .s-відправлено { background: rgba(41, 128, 185, 0.2); } [data-theme="dark"] .s-виконано { background: rgba(39, 174, 96, 0.2); } [data-theme="dark"] .s-скасовано { background: rgba(192, 57, 43, 0.2); }

/* МОДАЛЬНІ ВІКНА */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(12px); display: none; align-items: center; justify-content: center; z-index: 13000; opacity: 0; transition: 0.3s; padding: 20px;}
.modal-overlay.show { opacity: 1; display: flex; }
.modal-content { background: var(--bg-surface); padding: 40px; border-radius: 25px; width: 100%; max-width: 450px; transform: scale(0.9); transition: 0.3s; border: 1px solid var(--border-color); position: relative; max-height: 90vh; overflow-y: auto; box-shadow: 0 15px 35px rgba(0,0,0,0.2);}
.modal-overlay.show .modal-content { transform: scale(1); }
.pm-close { position: absolute; top: 15px; right: 15px; background: var(--bg-element); border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 16px; cursor: pointer; z-index: 10; color: var(--text-dark); display:flex; align-items:center; justify-content:center; transition: 0.3s;}
.pm-close:hover { background: #ff4757; color: white; }

.product-modal-content { background: var(--bg-surface); border-radius: 25px; width: 100%; max-width: 900px; max-height: 90vh; overflow-y: auto; display: flex; position: relative; transform: translateY(20px); transition: 0.4s; flex-wrap: wrap; border: 1px solid var(--border-color); box-shadow: 0 15px 35px rgba(0,0,0,0.2);}
.modal-overlay.show .product-modal-content { transform: translateY(0); }

/* ПОДИУМ И ИДЕАЛЬНАЯ ПРОЗРАЧНОСТЬ ДЛЯ МОДАЛЬНЫХ ОКОН */
.pm-image-col { flex: 1; min-width: 300px; min-height: 350px; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 20px; border-radius: 20px; margin: 20px;}
[data-theme="dark"] .pm-image-col { background-color: #ffffff; opacity: 0.95; }
.pm-image-col img { width: 100%; height: 100%; max-height: 400px; object-fit: contain; mix-blend-mode: multiply; }

.pm-info-col { flex: 1; min-width: 300px; padding: 20px 40px 40px 20px; display: flex; flex-direction: column; justify-content: center;}
.btn-social { padding: 14px; border-radius: 12px; border: none; font-weight: 600; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 14px; font-family: 'Montserrat'; transition: 0.3s; width: 100%;}
.btn-google { background: #fff; color: #333; border: 1px solid #ddd; } .btn-google:hover { background: #f1f1f1; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* ФУТЕР */
.footer { background: var(--bg-surface); padding: 60px 20px 30px; margin-top: 0; color: var(--text-dark); border-top: 1px solid var(--border-color);}
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-weight: 800; font-size: 24px; color: var(--color-plum); margin: 0 0 15px 0; }
.footer-col h4 { font-weight: 700; font-size: 16px; margin: 0 0 20px 0; text-transform: uppercase; color: var(--text-dark); }
.footer-col p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0 0 10px 0; }
.footer-col a { display: block; text-decoration: none; color: var(--text-muted); font-size: 14px; margin-bottom: 12px; transition: 0.3s; }
.footer-col a:hover { color: var(--color-plum); transform: translateX(5px); }
.footer-bottom { max-width: 1200px; margin: 0 auto; text-align: center; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 12px; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 15px; }

/* АДМІНКА */
#admin-dashboard { display: none; position: fixed; inset: 0; background: var(--bg-surface); z-index: 12000; flex-direction: row; }
#admin-dashboard.active { display: flex; }
.admin-sidebar { width: 260px; background: var(--color-plum); color: var(--text-btn); display: flex; flex-direction: column; padding: 20px 0; overflow-y:auto; flex-shrink: 0;}
.admin-nav-btn { background: transparent; border: none; color: rgba(255,255,255,0.7); text-align: left; padding: 15px 20px; font-size: 15px; cursor: pointer; transition: 0.3s; }
.admin-nav-btn.active { color: white; background: rgba(255,255,255,0.1); border-left: 4px solid var(--color-powder); }
.admin-main { flex: 1; overflow-y: auto; padding: 30px; background: var(--bg-page); color: var(--text-dark);}
.admin-tab { display: none; } .admin-tab.active { display: block; }
.table-responsive { overflow-x: auto; width: 100%; border-radius: 15px; box-shadow: var(--shadow-soft); }
.table-admin { width: 100%; border-collapse: collapse; background: var(--bg-surface); min-width: 600px; }
.table-admin th, .table-admin td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.action-btn { padding: 8px 12px; border: none; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: bold; margin-right: 5px; color: white;}
.btn-edit { background: #f39c12; } .btn-del { background: #e74c3c; }
.admin-chat-layout { display: flex !important; flex-direction: row !important; height: 75vh; min-height: 500px; background: var(--bg-surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); }
.admin-chat-list { flex: 0 0 300px !important; border-right: 1px solid var(--border-color); background: var(--bg-element); overflow-y: auto; }
.admin-chat-window { flex: 1 1 auto !important; display: flex; flex-direction: column; background: var(--bg-page); }

/* МЕДІА ЗАПИТИ */
@media (max-width: 900px) {
    .carousel-wrapper { display: none !important; }
    
    header { display: grid !important; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; gap: 15px 0; padding: 10px 15px; min-height: unset; width: calc(100% - 20px) !important; top: 10px !important; border-radius: 20px !important; }
    body { padding-top: 140px; } 
    .header-left { display: none !important; } 
    #mobile-menu-btn { grid-column: 1; grid-row: 1; justify-self: flex-start; display: flex !important; padding: 5px; margin: 0; }
    .mobile-logo-center { grid-column: 2; grid-row: 1; display: block !important; justify-self: center; align-self: center; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; font-style: italic; letter-spacing: 2px; color: var(--color-plum); cursor: pointer; text-decoration: none; }
    .header-right { grid-column: 3; grid-row: 1; justify-self: flex-end; display: flex !important; gap: 5px; margin: 0; }
    .header-search-wrapper { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-top: 0; }
    .head-btn-theme { display: none !important; }
    #cart-count { position: absolute; top: -2px; right: -6px; background: #ff4757; color: white; min-width: 16px; height: 16px; font-size: 9px; padding: 0 4px; border-radius: 10px; display:flex; align-items:center; justify-content:center;}
    .header-search-input { padding: 10px 15px 10px 40px; border-radius: 12px; font-size: 16px !important; }
    .form-control { font-size: 16px !important; }
    .search-icon { left: 12px; }
    
    .carousel-slide { width: 85vw; height: 350px; padding: 30px 20px; }
    .horizontal-card { width: 340px; padding: 15px; gap: 15px; }
    .hc-img { width: 100px; height: 100px; }
    .hc-title { font-size: 13px; }
    .hc-desc { font-size: 11px; margin-bottom: 8px; }
    .hc-price { font-size: 16px; }

    .cat-grid { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 5px 15px 15px; gap: 15px; margin-bottom: 30px; scrollbar-width: none;}
    .cat-grid::-webkit-scrollbar { display: none; }
    .cat-card { width: 75px; flex-shrink: 0; }
    .cat-circle { width: 70px; height: 70px; padding: 12px; }
    .cat-title { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
    
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0;}
    .product-card { padding: 12px; border-radius: 15px; }
    .product-image { height: 160px; margin-bottom: 10px; border-radius: 12px;}
    .product-title { font-size: 13px; margin-bottom: 4px; line-height: 1.2;}
    .product-subtitle { font-size: 11px; margin-bottom: 8px;}
    .product-price { font-size: 15px; }
    .btn-add { width: 35px; height: 35px; font-size: 20px; }
    .btn-fav { width: 30px; height: 30px; top: 10px; left: 10px; padding: 5px;}
    .btn-fav svg { width: 16px; height: 16px; }
    .badges-container { top: 10px; right: 10px; gap: 3px;}
    .badge { font-size: 9px; padding: 4px 6px; }
    
    main { padding: 0 15px 40px; }
    #home { padding-top: 0; }
    .section-title { font-size: 20px; margin-bottom: 20px; }
    .catalog-layout { flex-direction: column; } 
    .sidebar-filters { width: 100%; position: static; margin-bottom: 20px; max-height: none; overflow: hidden; border-radius: 15px;}
    .custom-select-wrapper { width: 100%; }
    .consultation-wrap { flex-direction: column; text-align: center; }
    .consultation-text { text-align: center; }
    .modal-content { padding: 25px; }
    .pm-image-col { margin: 0 0 20px 0; min-height: 250px;}
    .pm-info-col { padding: 0; }
    #admin-dashboard { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; max-height: 250px; flex-direction: row; flex-wrap: wrap; }
    .admin-nav-btn { width: 50%; padding: 10px; font-size: 13px; border-left: none; border-bottom: 2px solid transparent;}
    .admin-nav-btn.active { border-bottom: 2px solid var(--color-powder); }
    .admin-chat-layout { flex-direction: column !important; }
    .admin-chat-list { flex: 0 0 200px !important; border-right: none; border-bottom: 1px solid var(--border-color); }
}

@media (max-width: 400px) {
    .product-image { height: 130px; }
    .product-title { font-size: 12px; }
    .product-price { font-size: 14px; }
    .badge { font-size: 8px; padding: 3px 5px; }
    .horizontal-card { flex-direction: column; align-items: center; text-align: center; }
}

/* РЕЖИМ СИМУЛЯЦІЇ МОБІЛЬНОГО ДЛЯ ПК */
body.mobile-mode { max-width: 430px !important; margin: 0 auto !important; box-shadow: 0 0 50px rgba(0,0,0,0.15) !important; overflow-x: hidden !important; position: relative !important; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); padding-top: 140px !important; }
body.mobile-mode .carousel-wrapper { display: none !important; }
body.mobile-mode header { display: grid !important; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; gap: 15px 0; padding: 10px 15px; min-height: unset; border-bottom: 1px solid rgba(255,255,255,0.2); box-shadow: 0 5px 15px rgba(0,0,0,0.05); width: calc(100% - 20px) !important; top: 10px !important; left: 50% !important; transform: translateX(-50%) !important; border-radius: 20px !important; }
body.mobile-mode .header-left { display: none !important; } 
body.mobile-mode #mobile-menu-btn { display: flex !important; } 
body.mobile-mode .mobile-logo-center { display: block !important; }
body.mobile-mode .header-search-wrapper { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-top: 0; }
body.mobile-mode .head-btn-theme { display: none !important; }
body.mobile-mode #cart-count { position: absolute; top: -2px; right: -6px; background: #ff4757; color: white; min-width: 16px; height: 16px; font-size: 9px; padding: 0 4px; border-radius: 10px; display:flex; align-items:center; justify-content:center;}
body.mobile-mode .header-search-input { padding: 10px 15px 10px 40px; border-radius: 12px; font-size: 16px !important; }
body.mobile-mode .form-control { font-size: 16px !important; }
body.mobile-mode .search-icon { left: 12px; }
body.mobile-mode .marquee-wrapper, body.mobile-mode .auto-carousel-container { width: 100% !important; left: 0 !important; transform: none !important; }
body.mobile-mode .horizontal-card { width: 340px !important; padding: 15px !important; gap: 15px !important; }
body.mobile-mode .hc-img { width: 100px !important; height: 100px !important; }
body.mobile-mode .hc-title { font-size: 13px !important; }
body.mobile-mode .hc-desc { font-size: 11px !important; margin-bottom: 8px !important; }
body.mobile-mode .hc-price { font-size: 16px !important; }
body.mobile-mode .cat-grid { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 5px 15px 15px; gap: 15px; margin-bottom: 30px; scrollbar-width: none;}
body.mobile-mode .cat-grid::-webkit-scrollbar { display: none; }
body.mobile-mode .cat-card { width: 75px; flex-shrink: 0; }
body.mobile-mode .cat-circle { width: 70px; height: 70px; padding: 12px; }
body.mobile-mode .cat-title { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
body.mobile-mode .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0;}
body.mobile-mode .product-card { padding: 12px; border-radius: 15px; }
body.mobile-mode .product-image { height: 160px; margin-bottom: 10px; border-radius: 12px;}
body.mobile-mode .product-title { font-size: 13px; margin-bottom: 4px; line-height: 1.2;}
body.mobile-mode .product-subtitle { font-size: 11px; margin-bottom: 8px;}
body.mobile-mode .product-price { font-size: 15px; }
body.mobile-mode .btn-add { width: 35px; height: 35px; font-size: 20px; }
body.mobile-mode .btn-fav { width: 30px; height: 30px; top: 10px; left: 10px; padding: 5px;}
body.mobile-mode .btn-fav svg { width: 16px; height: 16px; }
body.mobile-mode .badges-container { top: 10px; right: 10px; gap: 3px;}
body.mobile-mode .badge { font-size: 9px; padding: 4px 6px; }
body.mobile-mode main { padding: 0 15px 40px; }
body.mobile-mode #home { padding-top: 0; }
body.mobile-mode .section-title { font-size: 20px; margin-bottom: 20px; }
body.mobile-mode .catalog-layout { flex-direction: column; } 
body.mobile-mode .sidebar-filters { width: 100%; position: static; margin-bottom: 20px; max-height: none; overflow: hidden; border-radius: 15px;}
body.mobile-mode .custom-select-wrapper { width: 100%; }
body.mobile-mode .consultation-wrap { flex-direction: column; text-align: center; }
body.mobile-mode .consultation-text { text-align: center; }
body.mobile-mode .modal-content { padding: 25px; }
body.mobile-mode .pm-image-col { margin: 0 0 20px 0; min-height: 250px;}
body.mobile-mode .pm-info-col { padding: 0; }
body.mobile-mode #admin-dashboard { flex-direction: column; }
body.mobile-mode .admin-sidebar { width: 100%; height: auto; max-height: 250px; flex-direction: row; flex-wrap: wrap; }
body.mobile-mode .admin-nav-btn { width: 50%; padding: 10px; font-size: 13px; border-left: none; border-bottom: 2px solid transparent;}
body.mobile-mode .admin-nav-btn.active { border-bottom: 2px solid var(--color-powder); }
body.mobile-mode .admin-chat-layout { flex-direction: column !important; }
body.mobile-mode .admin-chat-list { flex: 0 0 200px !important; border-right: none; border-bottom: 1px solid var(--border-color); }
body.mobile-mode .footer-grid { grid-template-columns: 1fr; gap: 20px;}