/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2d2f36;
    background-color: #fff;
    line-height: 1.5;
    font-size: 1rem;
}

h1, h2, h3, h4, .logo__link {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo__link {
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #2c3e2f;
    letter-spacing: -0.5px;
}
.logo__link span {
    color: #e6a17e;
    font-weight: 400;
}

.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: #2d2f36;
    font-weight: 500;
    transition: color 0.2s;
}
.nav__link:hover {
    color: #e6a17e;
}

.header__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: transparent;
    border: 1px solid #2c3e2f;
    color: #2c3e2f;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-login:hover {
    background: #2c3e2f;
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: #2d2f36;
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 4rem 0 5rem;
}
.hero__container {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.hero__content {
    flex: 1.2;
}
.hero__title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.accent-text {
    color: #e6a17e;
    font-style: italic;
}
.hero__desc {
    font-size: 1.1rem;
    color: #5a5c64;
    margin-bottom: 2rem;
    max-width: 90%;
}
.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.btn {
    padding: 0.9rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-primary {
    background: #2c3e2f;
    color: white;
}
.btn-primary:hover {
    background: #1e2b21;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    border: 1px solid #2c3e2f;
    color: #2c3e2f;
}
.btn-secondary:hover {
    background: #f9f6f2;
}
.btn-detail {
    background: transparent;
    border: 1px solid #e6a17e;
    color: #e6a17e;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-detail:hover {
    background: #e6a17e;
    color: white;
    transform: translateY(-2px);
}

.hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e2f;
}
.stat__label {
    font-size: 0.8rem;
    color: #7e8088;
}
.hero__image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.1);
}
.hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section General */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 600;
    position: relative;
}
.link-more {
    color: #e6a17e;
    text-decoration: none;
    font-weight: 500;
}
.categories, .products, .features {
    padding: 5rem 0;
}
.categories {
    background-color: #fefaf7;
}

/* Categories Grid */
.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.category-card {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    transition: 0.2s;
}
.category-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
}
.category-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card__title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.category-card__count {
    color: #e6a17e;
    font-weight: 500;
}

/* Products Grid */
.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: 0.2s;
    border: 1px solid #f0efed;
    position: relative;
    text-align: center;
}
.product-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1rem;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.product-card__desc {
    color: #7e8088;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}
.product-card__price {
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0.8rem 0;
}
.old-price {
    text-decoration: line-through;
    font-size: 0.9rem;
    color: #aaa;
    margin-right: 0.5rem;
}

/* Features */
.features {
    background-color: #2c3e2f;
    color: white;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.feature__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.feature__title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.feature__desc {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e2b21;
    color: #ddd;
    padding-top: 4rem;
}
.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer__col .logo {
    color: white;
}
.footer__about {
    margin: 1rem 0;
    font-size: 0.9rem;
    opacity: 0.7;
}
.footer__title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer__list {
    list-style: none;
}
.footer__list li, .footer__list a {
    margin-bottom: 0.5rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}
.footer__list a:hover {
    color: #e6a17e;
}
.footer__bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #3a4a3a;
    font-size: 0.8rem;
}
.social-link {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.3rem;
    text-decoration: none;
    color: #fff;
}

/* Страница товара (product.html) */
.breadcrumbs {
    padding: 1.5rem 0;
    color: #7e8088;
    font-size: 0.9rem;
}
.breadcrumbs a {
    color: #e6a17e;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

.product-detail {
    padding: 2rem 0 4rem;
}

.product-detail__container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-detail__gallery {
    flex: 1;
    min-width: 300px;
}

.product-detail__main-image {
    border-radius: 24px;
    overflow: hidden;
    background: #f9f9f9;
}
.product-detail__main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail__info {
    flex: 1;
    min-width: 300px;
}

.product-detail__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2c3e2f;
}

.product-detail__rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.stars {
    color: #ffc107;
    font-size: 1.1rem;
}
.reviews-count {
    color: #7e8088;
    font-size: 0.9rem;
}

.product-detail__price {
    margin-bottom: 1.5rem;
}
.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e2f;
}
.product-detail__price .old-price {
    font-size: 1.2rem;
    margin-left: 0.8rem;
}

.product-detail__description,
.product-detail__composition,
.product-detail__care {
    margin-bottom: 1.5rem;
}
.product-detail__description h3,
.product-detail__composition h3,
.product-detail__care h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #2c3e2f;
}
.product-detail__description p {
    color: #5a5c64;
    line-height: 1.6;
}
.product-detail__composition ul,
.product-detail__care ul {
    list-style: none;
    padding-left: 0;
}
.product-detail__composition li,
.product-detail__care li {
    padding: 0.3rem 0;
    color: #5a5c64;
}

.product-detail__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.product-detail__delivery {
    background: #fefaf7;
    padding: 1.5rem;
    border-radius: 20px;
    margin-top: 1rem;
}
.delivery-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.delivery-info:last-child {
    margin-bottom: 0;
}
.delivery-icon {
    font-size: 1.5rem;
}
.delivery-info strong {
    display: block;
    color: #2c3e2f;
}
.delivery-info p {
    font-size: 0.85rem;
    color: #7e8088;
}

.product-detail__recommendations {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Страница входа (login.html) */
.login-page {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.login-container {
    max-width: 500px;
    width: 100%;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 2.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2rem;
    color: #2c3e2f;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #7e8088;
    font-size: 0.95rem;
}

/* Форма */
.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d2f36;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 1rem;
    transition: 0.2s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #e6a17e;
    box-shadow: 0 0 0 3px rgba(230, 161, 126, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #5a5c64;
}

.forgot-password {
    color: #e6a17e;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    padding: 0.9rem;
    background: #2c3e2f;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.btn-login-submit:hover {
    background: #1e2b21;
    transform: translateY(-2px);
}

/* Разделитель */
.login-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: #e0e0e0;
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-divider span {
    background: #fff;
    padding: 0 1rem;
    color: #aaa;
    font-size: 0.85rem;
}

/* Секция админ/менеджер */
.admin-manager-section {
    margin-bottom: 1.5rem;
}

.admin-manager-title {
    text-align: center;
    font-size: 0.9rem;
    color: #7e8088;
    margin-bottom: 1rem;
    font-weight: 500;
}

.role-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-role {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-role {
    background: transparent;
    border-color: #8b5a2b;
    color: #8b5a2b;
}

.admin-role:hover {
    background: #8b5a2b;
    color: white;
    transform: translateY(-2px);
}

.manager-role {
    background: transparent;
    border-color: #2c6e2c;
    color: #2c6e2c;
}

.manager-role:hover {
    background: #2c6e2c;
    color: white;
    transform: translateY(-2px);
}

.role-icon {
    font-size: 1.2rem;
}

.role-hint {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 0.5rem;
}

/* Footer страницы входа */
.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.register-link {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.register-link a {
    color: #e6a17e;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

.demo-note {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.back-home {
    display: inline-block;
    color: #7e8088;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.back-home:hover {
    color: #e6a17e;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero__container {
        flex-direction: column;
        text-align: center;
    }
    .hero__desc {
        max-width: 100%;
    }
    .hero__stats {
        justify-content: center;
    }
    .hero__buttons {
        justify-content: center;
    }
    .section-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }
    .product-detail__container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .container {
        padding: 0 1.5rem;
    }
    .categories, .products, .features {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .footer__container {
        gap: 1.5rem;
        text-align: center;
    }
    .footer__col .socials {
        justify-content: center;
    }
    .product-detail__title {
        font-size: 1.6rem;
    }
    .current-price {
        font-size: 1.5rem;
    }
    .product-detail__actions {
        flex-direction: column;
    }
    
    .login-container {
        padding: 1.8rem;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
    
    .btn-role {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .role-hint {
        margin-left: 0;
    }
}

/* ========== СТИЛИ ДЛЯ ПАНЕЛЕЙ АДМИНИСТРАТОРА И МЕНЕДЖЕРА ========== */

/* Шапка для панелей */
.admin-header, .manager-header {
    background: linear-gradient(135deg, #2c3e2f 0%, #1e2b21 100%);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-badge {
    background: #e6a17e;
    color: #2c3e2f;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.manager-badge {
    background: #6b8c6b;
    color: white;
}

.admin-name {
    color: white;
    font-weight: 500;
}

.logout-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Контейнер админки */
.admin-container {
    display: flex;
    min-height: calc(100vh - 80px);
    background: #f5f5f5;
}

/* Боковое меню */
.admin-sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.admin-nav {
    padding: 1.5rem 0;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    transition: 0.2s;
    border-left: 3px solid transparent;
}

.admin-nav-item:hover {
    background: #f9fafb;
    color: #e6a17e;
}

.admin-nav-item.active {
    background: #fefaf7;
    border-left-color: #e6a17e;
    color: #e6a17e;
}

.nav-icon {
    font-size: 1.2rem;
    width: 28px;
}

/* Основной контент */
.admin-content {
    flex: 1;
    padding: 2rem;
    overflow-x: auto;
}

.admin-tab {
    display: none;
}

.admin-tab.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-header-info h1 {
    font-size: 1.8rem;
    color: #2c3e2f;
}

/* Статистика */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: #fefaf7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h3 {
    font-size: 0.85rem;
    color: #7e8088;
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e2f;
}

.stat-change {
    font-size: 0.75rem;
    color: #7e8088;
}

.stat-change.positive {
    color: #2c7a4d;
}

/* Таблицы */
.orders-table, .products-table, .users-table, .clients-table {
    width: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border-collapse: collapse;
}

.orders-table th, .products-table th, .users-table th, .clients-table th {
    text-align: left;
    padding: 1rem;
    background: #f9fafb;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.orders-table td, .products-table td, .users-table td, .clients-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #2d2f36;
}

.product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

/* Статусы */
.status {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status.success {
    background: #e6f4ea;
    color: #2c7a4d;
}

.status.warning {
    background: #fff3e0;
    color: #e6a17e;
}

.status.pending {
    background: #fef2e0;
    color: #d97706;
}

/* Роли */
.role-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.role-badge.admin {
    background: #fef3e8;
    color: #8b5a2b;
}

.role-badge.manager {
    background: #e8f0e8;
    color: #2c6e2c;
}

.role-badge.user {
    background: #e8f0fe;
    color: #4c6b8a;
}

/* Кнопки */
.btn-small {
    padding: 0.3rem 0.8rem;
    background: transparent;
    border: 1px solid #e6a17e;
    color: #e6a17e;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-small:hover {
    background: #e6a17e;
    color: white;
}

.btn-small.success {
    border-color: #2c7a4d;
    color: #2c7a4d;
}

.btn-small.success:hover {
    background: #2c7a4d;
    color: white;
}

.btn-small.danger {
    border-color: #dc2626;
    color: #dc2626;
}

.btn-small.danger:hover {
    background: #dc2626;
    color: white;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: 0.2s;
}

.btn-icon:hover {
    background: #f0f0f0;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.filter-btn.active, .filter-btn:hover {
    background: #e6a17e;
    border-color: #e6a17e;
    color: white;
}

.add-product-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.search-input {
    padding: 0.6rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    width: 250px;
    font-family: inherit;
}

/* Категории */
.categories-list {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.category-item:last-child {
    border-bottom: none;
}

.category-name {
    font-size: 1rem;
    color: #2d2f36;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
}

/* Отзывы */
.reviews-management {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.review-item.pending {
    border-left: 3px solid #e6a17e;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.review-header strong {
    font-size: 1rem;
    color: #2c3e2f;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-date {
    color: #aaa;
    font-size: 0.75rem;
}

.review-badge {
    background: #fef2e0;
    color: #e6a17e;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
}

.review-text {
    color: #5a5c64;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.review-actions {
    display: flex;
    gap: 0.5rem;
}

/* Настройки */
.settings-form {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    max-width: 600px;
}

.settings-form .form-group {
    margin-bottom: 1.5rem;
}

.settings-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e2f;
}

.settings-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
}

.settings-form input:focus {
    outline: none;
    border-color: #e6a17e;
}

/* Доставка */
.delivery-management {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.delivery-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.delivery-card h3 {
    color: #2c3e2f;
    margin-bottom: 1rem;
}

.delivery-card p {
    color: #5a5c64;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Адаптивность для панелей */
@media (max-width: 992px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
        overflow-x: auto;
    }
    
    .admin-nav {
        display: flex;
        padding: 0.5rem;
        overflow-x: auto;
    }
    
    .admin-nav-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .admin-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: #e6a17e;
    }
    
    .admin-content {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .orders-table, .products-table, .users-table, .clients-table {
        display: block;
        overflow-x: auto;
    }
    
    .admin-header-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-input {
        width: 100%;
    }
}