* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
}

.container {
    max-width: 90%;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    padding: 30px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        border-radius: 10px;
    }
}

/* Шапка */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

h1 {
    color: #333;
    font-size: 28px;
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }
}

/* Кнопки */
.btn-admin, .btn-login, .btn-edit, .btn-delete, .btn-logout, .btn-view, .btn-add, .btn-public, .btn-share, .btn-back, .btn-save, .btn-cancel {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 480px) {
    .btn-admin, .btn-login, .btn-logout, .btn-view, .btn-add, .btn-public, .btn-share, .btn-back, .btn-save, .btn-cancel {
        padding: 8px 15px;
        font-size: 13px;
    }
}

.btn-admin {
    background: #667eea;
    color: white;
}

.btn-login {
    background: #48bb78;
    color: white;
}

.btn-logout {
    background: #f56565;
    color: white;
}

.btn-view {
    background: #4299e1;
    color: white;
}

.btn-add {
    background: #48bb78;
    color: white;
}

.btn-public {
    background: #48bb78;
    color: white;
}

.btn-share {
    background: #4299e1;
    color: white;
}

.btn-back {
    background: #a0aec0;
    color: white;
}

.btn-save {
    background: #48bb78;
    color: white;
}

.btn-cancel {
    background: #a0aec0;
    color: white;
}

.btn-small-add {
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
}

.btn-small-add:hover {
    background: #5a67d8;
}

.btn-edit, .btn-delete {
    background: #ebebeb;
	color: #333;
}

@media (max-width: 480px) {
    .btn-edit, .btn-delete {
        font-size: 16px;
        padding: 8px;
    }
}

.btn-copy {
    background: #4299e1;
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 5px;
}

.btn-copy:hover {
    background: #3182ce;
}

/* Сетка проектов */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

@media (max-width: 480px) {
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.project-header h2 {
    color: #2d3748;
    font-size: 22px;
    margin: 0;
}

@media (max-width: 480px) {
    .project-header h2 {
        font-size: 18px;
    }
}

.project-address {
    color: #718096;
    margin-bottom: 10px;
    font-size: 14px;
}

.project-description, .description {
    color: #4a5568;
    margin-bottom: 20px;
    padding: 10px;
    background: #edf2f7;
    border-radius: 8px;
    font-size: 14px;
}

/* Списки в проектах */
.lists-in-project {
    margin-top: 20px;
}

.lists-in-project h3 {
    color: #4a5568;
    font-size: 16px;
    margin-bottom: 12px;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.list-item:last-child {
    border-bottom: none;
}

.list-link {
    color: #4299e1;
    text-decoration: none;
    font-size: 15px;
}

.list-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.list-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-lists {
    color: #a0aec0;
    font-style: italic;
    font-size: 14px;
    padding: 10px 0;
}

/* Баджи статуса */
.badge-public, .badge-private {
    display: flex;
	justify-content: center;
	align-items: center;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.badge-public {
    background: #c6f6d5;
    color: #22543d;
}

.badge-private {
    background: #fed7d7;
    color: #742a2a;
}

.public-badge {
    font-size: 16px;
    margin-left: 5px;
}

/* Категории */
.category {
    margin-bottom: 40px;
}

.category h2 {
    color: #4a5568;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 5px solid #667eea;
    font-size: 20px;
}

@media (max-width: 480px) {
    .category h2 {
        font-size: 18px;
    }
}

/* Таблицы */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.product-table, .admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

@media (max-width: 768px) {
    .product-table, .admin-table {
        min-width: 500px;
    }
}

th {
    background: #f7fafc;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    font-size: 14px;
}

td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    font-size: 14px;
}

tr:hover {
    background: #fafafa;
}

/* Ячейки с фото */
.photo-cell {
    width: 80px;
}

@media (max-width: 480px) {
    .photo-cell {
        width: 60px;
    }
}

.photo-cell img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .photo-cell img {
        width: 50px;
        height: 50px;
    }
}

.no-photo {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

@media (max-width: 480px) {
    .no-photo {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.name-cell {
    font-weight: 500;
    color: #2d3748;
}

.link-cell a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.link-cell a:hover {
    text-decoration: underline;
}

.quantity-cell, .amperage-cell {
    font-weight: 500;
    color: #4a5568;
}

.price-cell, .total-cell {
    font-weight: 600;
    color: #2d3748;
}

.total-cell {
    color: #667eea;
}

.actions-cell {
    white-space: nowrap;
}

/* Общая сумма */
.total-sum {
    text-align: right;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
    font-size: 24px;
    color: #2d3748;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .total-sum {
        font-size: 18px;
        padding: 15px;
    }
}

/* Пустой список */
.empty-list {
    text-align: center;
    padding: 50px;
    color: #a0aec0;
}

@media (max-width: 480px) {
    .empty-list {
        padding: 30px 15px;
    }
}

/* Админ-панель */
.admin-panel .admin-nav {
    display: flex;
    gap: 10px;
}

@media (max-width: 480px) {
    .admin-panel .admin-nav {
        flex-direction: column;
    }
}

.admin-table .admin-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

.project-block {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 2px solid #e2e8f0;
}

.lists-section {
    margin-top: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 15px;
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.section-header h3 {
    color: #4a5568;
    font-size: 18px;
}

/* Формы входа */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
}

@media (max-width: 480px) {
    .login-form {
        padding: 30px 20px;
    }
}

.login-form h2 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.error-message, .error {
    color: #f56565;
    margin-bottom: 15px;
    text-align: center;
}

/* Формы добавления/редактирования */
.form-container {
    max-width: 600px;
    margin: 20px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

@media (max-width: 480px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 14px;
    }
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox label {
    margin: 0 0 0 8px;
}

.form-group.checkbox input {
    width: auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

.form-group.half {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }
}

/* Область вставки фото */
.photo-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 15px;
    background: #f7fafc;
    transition: all 0.3s;
}

.photo-upload-area:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.paste-area {
    min-height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    background: white;
    font-family: inherit;
    outline: none;
    cursor: text;
    transition: all 0.3s;
    margin-top: 10px;
}

.paste-area:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.paste-area.success {
    background: #f0fff4;
    border-color: #48bb78;
    color: #276749;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paste-area[data-placeholder]:empty:before {
    content: attr(data-placeholder);
    color: #a0aec0;
}

.image-preview {
    margin-top: 15px;
    text-align: center;
}

.preview-img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hint {
    display: block;
    margin-top: 8px;
    color: #718096;
    font-size: 14px;
}

.current-photo {
    margin: 15px 0;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    text-align: center;
}

.current-photo p {
    margin-top: 8px;
    color: #718096;
    font-size: 14px;
}

.current-photo img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 100px;
}

.public-link {
    display: flex;
    gap: 10px;
}

.public-link input {
    flex: 1;
    background: #edf2f7;
    border: 1px solid #cbd5e0;
    padding: 8px;
    border-radius: 4px;
}

/* Модальное окно для фото */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid white;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from { transform: translate(-50%, -50%) scale(0.1); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

@media (max-width: 480px) {
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

.clickable-photo {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable-photo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Публичный просмотр */
.public-view {
    border: 3px solid #48bb78;
}

.public-banner {
    background: #48bb78;
    color: white;
    text-align: center;
    padding: 10px;
    margin: -30px -30px 20px -30px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .public-banner {
        margin: -20px -20px 15px -20px;
    }
}

/* Информация о проекте */
.project-info {
    color: #718096;
    margin-top: 5px;
    line-height: 1.5;
}

.list-description {
    background: #ebf8ff;
    padding: 10px 15px;
    border-radius: 8px;
    color: #2c5282;
    margin: 15px 0;
}

/* Админские действия */
.admin-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .admin-actions {
        flex-direction: column;
    }
}

.header-actions {
    text-align: right;
}

.navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Утилиты */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Стили для тач-устройств */
@media (hover: none) and (pointer: coarse) {
    .clickable-photo:hover {
        transform: none;
    }
    
    .btn-edit, .btn-delete {
        padding: 8px 12px;
    }
    
    .list-link {
        padding: 12px 0;
    }
}

/* Стили для параметров */
.parameter-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

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

.parameter-cell {
    font-weight: 500;
    color: #4a5568;
}

.parameter-none {
    color: #a0aec0;
    font-style: italic;
    font-size: 12px;
}

/* Подсказки для разных типов товаров */
.category-hint {
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
}

.product-type-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #edf2f7;
    border-radius: 4px;
    font-size: 11px;
    color: #4a5568;
    margin-left: 5px;
}

/* Стили для единиц измерения */
.unit-badge {
    font-size: 11px;
    color: #718096;
    margin-left: 2px;
}

/* Стили для произвольного параметра */
.parameter-cell {
    font-weight: 500;
    color: #4a5568;
    max-width: 150px;
    word-break: break-word;
}

.parameter-none {
    color: #a0aec0;
    font-style: italic;
    font-size: 12px;
}

/* Подсказка для поля параметра */
.hint {
    display: block;
    margin-top: 5px;
    color: #718096;
    font-size: 12px;
}

/* Примеры в placeholder */
input[name="custom_parameter"]::placeholder {
    color: #a0aec0;
    font-size: 13px;
    font-style: italic;
}
/* Стили для настраиваемого параметра */
.parameter-block {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.parameter-examples {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e0;
}

.parameter-examples p {
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 14px;
}

.examples-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.example-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
}

.example-item:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.parameter-cell {
    max-width: 200px;
    word-break: break-word;
}

.parameter-name {
    font-weight: 600;
    color: #4a5568;
}

.parameter-value {
    font-weight: 500;
    color: #667eea;
    margin-left: 3px;
}

.parameter-none {
    color: #a0aec0;
    font-style: italic;
    font-size: 12px;
}

/* Подсветка для разных типов параметров */
.parameter-name::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #cbd5e0;
    margin: 0 5px -2px 5px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .examples-grid {
        gap: 5px;
    }
    
    .example-item {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .parameter-name, .parameter-value {
        font-size: 12px;
    }
}

/* Мобильное отображение товаров вертикально */
@media (max-width: 768px) {
    /* Скрываем таблицу на мобильных */
    .product-table {
        display: none;
    }
    
    /* Показываем карточки товаров */
    .mobile-products {
        display: block;
    }
    
    .product-card {
        display: block;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .product-card-header {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }
    
    .product-card .product-photo {
        width: 70px;
        height: 70px;
        margin-right: 15px;
        flex-shrink: 0;
    }
    
    .product-card .product-photo img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
    }
    
    .product-card .product-photo .no-photo {
        width: 70px;
        height: 70px;
        background: #f7fafc;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        border: 1px solid #e2e8f0;
    }
    
    .product-card .product-title {
        flex: 1;
    }
    
    .product-card .product-title h3 {
        font-size: 16px;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .product-card .product-title .product-category {
        font-size: 13px;
        color: #718096;
        display: inline-block;
        background: #edf2f7;
        padding: 2px 8px;
        border-radius: 12px;
    }
    
    .product-card .product-details {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 12px;
        padding: 10px;
        background: #f8fafc;
        border-radius: 8px;
    }
    
    .product-card .detail-item {
        flex: 1 1 calc(50% - 5px);
        min-width: 120px;
    }
    
    .product-card .detail-label {
        font-size: 12px;
        color: #718096;
        margin-bottom: 2px;
    }
    
    .product-card .detail-value {
        font-size: 15px;
        font-weight: 600;
        color: #2d3748;
    }
    
    .product-card .detail-value.parameter {
        color: #667eea;
    }
    
    .product-card .detail-value.price {
        color: #48bb78;
    }
    
    .product-card .detail-value.total {
        color: #f56565;
    }
    
    .product-card .product-link {
        display: inline-flex;
        align-items: center;
        background: #667eea;
        color: white;
        padding: 8px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        margin-top: 5px;
    }
    
    .product-card .product-link:hover {
        background: #5a67d8;
    }
    
    .product-card .product-actions {
        display: flex;
        gap: 8px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e2e8f0;
    }
    
    .product-card .btn-edit, 
    .product-card .btn-delete {
        flex: 1;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
        font-size: 14px;
    }
    
    .product-card .btn-edit {
        background: #4299e1;
        color: white;
        text-decoration: none;
    }
    
    .product-card .btn-delete {
        background: #f56565;
        color: white;
        text-decoration: none;
    }
    
    /* Специфичные стили для админки */
    .admin-view .product-card .detail-item {
        flex: 1 1 calc(33.333% - 7px);
    }
    
    /* Стили для публичного просмотра */
    .public-view .product-card .product-actions {
        display: none;
    }
    
    .public-view .product-card .product-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Десктоп версия - показываем таблицу */
@media (min-width: 769px) {
    .mobile-products {
        display: none;
    }
    
    .product-table {
        display: table;
    }
}

/* Улучшенная адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .product-card .product-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-card .detail-item {
        width: 100%;
    }
    
    .product-card .product-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-card .product-photo {
        margin-bottom: 10px;
    }
    
    .product-card .product-title h3 {
        font-size: 15px;
    }
}

/* Категории в мобильной версии */
@media (max-width: 768px) {
    .category {
        margin-bottom: 25px;
    }
    
    .category h2 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-left: 8px;
        border-left-width: 4px;
    }
}

/* Общая сумма в мобильной версии */
@media (max-width: 768px) {
    .total-sum {
        padding: 15px;
        font-size: 18px;
        margin-top: 20px;
    }
    
    .total-sum h3 {
        font-size: 16px;
    }
}

/* Параметр в карточке */
.product-card .parameter-display {
    display: inline-flex;
    align-items: center;
    background: #ebf8ff;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 13px;
}

.product-card .parameter-name {
    font-weight: 500;
    color: #2c5282;
    margin-right: 4px;
}

.product-card .parameter-value {
    font-weight: 600;
    color: #2b6cb0;
}

/* Статус товара */
.product-card .product-status {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.product-card .badge-public {
    font-size: 11px;
    padding: 2px 6px;
}

/* Стили для кнопок экспорта */
.export-buttons {
    display: flex;
    gap: 5px;
    margin: 0 5px;
}

.btn-export {
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-pdf {
    background: #f56565;
    color: white;
}

.btn-pdf:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

.btn-excel {
    background: #48bb78;
    color: white;
}

.btn-excel:hover {
    background: #38a169;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .export-buttons {
        width: 100%;
        flex-direction: row;
    }
    
    .btn-export {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}