/* ===============================
   БАЗОВЫЕ НАСТРОЙКИ
   =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    color: #1e293b;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ===============================
   КОНТЕЙНЕР
   =============================== */
.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
}

/* ===============================
   КАРТОЧКА
   =============================== */
.card {
    background: #ffffff;
    border-radius: 28px;
    padding: 36px 28px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e9eef2;
}

/* ===============================
   ЗАГОЛОВКИ
   =============================== */
h1 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #1e293b;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #334155;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #475569;
}

/* ===============================
   ТЕКСТ
   =============================== */
label, p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 500;
}

/* ===============================
   ПОЛЯ ВВОДА
   =============================== */
input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 17px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 24px;
    background: #ffffff;
    transition: all 0.15s ease;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* ===============================
   КНОПКИ
   =============================== */
button, .btn {
    width: 100%;
    padding: 16px 22px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
    margin: 10px 0;
    line-height: 1.4;
}

/* Главная кнопка (приёмка) — увеличенная и с градиентом */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 8px 16px -4px rgba(249, 115, 22, 0.3);
    font-size: 19px;
    padding: 20px 24px;
    margin: 16px 0 24px 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px -4px rgba(249, 115, 22, 0.4);
}

/* Второстепенные кнопки */
.btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 16px;
    padding: 14px 20px;
    margin: 8px 0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-info {
    background: #0f172a;
    color: white;
}

.btn-info:hover {
    background: #1e293b;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

/* ===============================
   АРТИКУЛ (КРАСНЫЙ)
   =============================== */
.article-number {
    font-size: 26px;
    font-weight: 600;
    color: #dc2626;
    margin: 20px 0 28px;
    text-align: left;
    background: #fef2f2;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #fee2e2;
}

/* ===============================
   КАРТОЧКИ ДЛЯ ЧЕРНОВИКОВ И ЛОГОВ
   =============================== */
.draft-card, .log-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.15s ease;
}

.draft-card:hover, .log-card:hover {
    border-color: #f97316;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.draft-header, .log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.draft-article, .log-date {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.draft-type, .log-size {
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.draft-date {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ===============================
   КНОПКИ В КАРТОЧКАХ
   =============================== */
.draft-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.15s ease;
}

.btn-continue {
    background: #059669;
}

.btn-continue:hover {
    background: #047857;
}

.btn-delete {
    background: #dc2626;
}

.btn-delete:hover {
    background: #b91c1c;
}

.download-btn {
    background: #059669;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.download-btn:hover {
    background: #047857;
}

/* ===============================
   СТАТУСЫ И СООБЩЕНИЯ
   =============================== */
.success-box, .error-box, .not-found-box, .placeholder-box {
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.success-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.error-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.not-found-box {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

.placeholder-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.success-box h1, .error-box h1, .not-found-box h2 {
    margin-bottom: 12px;
    font-weight: 600;
}

/* ===============================
   ПОДСВЕТКА АРТИКУЛА
   =============================== */
.sku-highlight, .article-highlight {
    background: #fee2e2;
    color: #b91c1c;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

/* ===============================
   ПУСТЫЕ СОСТОЯНИЯ
   =============================== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: #f8fafc;
    border-radius: 16px;
    color: #64748b;
    font-size: 16px;
    border: 1px dashed #cbd5e1;
}

/* ===============================
   СТАТУСЫ ДЛЯ НАСТРОЕК
   =============================== */
.status-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.status-on {
    color: #059669;
    font-size: 20px;
    font-weight: 600;
}

.status-off {
    color: #dc2626;
    font-size: 20px;
    font-weight: 600;
}

.big-toggle {
    width: 100%;
    padding: 24px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    margin: 16px 0;
    transition: all 0.15s ease;
}

.btn-on {
    background: #059669;
    color: white;
}

.btn-on:hover {
    background: #047857;
}

.btn-off {
    background: #dc2626;
    color: white;
}

.btn-off:hover {
    background: #b91c1c;
}

/* ===============================
   ИКОНКИ И ПЛАСЕХОЛДЕРЫ
   =============================== */
.placeholder-icon, .not-found-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

/* ===============================
   ВСПОМОГАТЕЛЬНОЕ
   =============================== */
.mb-20 {
    margin-bottom: 20px;
}

.hint {
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #92400e;
}

.error {
    color: #dc2626;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 14px;
}

/* ===============================
   КНОПКИ ДЛЯ СТРАНИЦЫ УСПЕХА
   =============================== */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.big-button {
    display: block;
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}

.big-button[style*="background: #28a745"] {
    background: #059669 !important;
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
}

.big-button[style*="background: #28a745"]:hover {
    background: #047857 !important;
    transform: translateY(-1px);
}

.big-button[style*="background: #007bff"] {
    background: #f97316 !important;
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2);
}

.big-button[style*="background: #007bff"]:hover {
    background: #ea580c !important;
    transform: translateY(-1px);
}
/* ===============================
   ШАПКА ШАГА (НА ВСЮ ШИРИНУ КАРТОЧКИ)
   =============================== */
.step-header {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    margin: -36px -28px 28px -28px;
    padding: 24px 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), inset 0 1px 3px 0 rgba(0, 0, 0, 0.03);
    border-radius: 28px 28px 0 0;
    border-bottom: 2px solid #f97316;
}

.step-header .article {
    font-size: 22px;
    font-weight: 600;
    color: #b91c1c;
    margin-bottom: 8px;
    background: #fee2e2;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 30px;
    border: 1px solid #fecaca;
}

.step-header .product-type {
    font-size: 15px;
    color: #475569;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.step-header .step-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    border-top: 1px solid #cbd5e1;
    padding-top: 16px;
}

.step-header .step-title span {
    color: #64748b;
    font-weight: 500;
    margin-right: 8px;
}

/* ===============================
   КНОПКИ НАВИГАЦИИ (ОДИНАКОВЫЙ РАЗМЕР)
   =============================== */
.nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 20px;
}

.nav-btn {
    flex: 1;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.nav-btn-back {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.nav-btn-back:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.nav-btn-next {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 10px -2px rgba(249, 115, 22, 0.3);
}

.nav-btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -4px rgba(249, 115, 22, 0.4);
}

/* ===============================
   МЕНЮ — ОТДЕЛЕНИЕ ГЛАВНОЙ КНОПКИ
   =============================== */
.menu-primary {
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
}

.menu-secondary {
    margin-top: 8px;
}

.menu-secondary .btn {
    margin: 8px 0;
}
/* ===============================
   ТЕХНИЧЕСКИЕ РАБОТЫ (MAINTENANCE)
   =============================== */
.maintenance-box {
    background: #fff3cd;
    color: #856404;
    border: 2px solid #ffeeba;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.maintenance-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.maintenance-box h1 {
    color: #856404;
    font-size: 32px;
    margin-bottom: 15px;
}

.maintenance-box p {
    font-size: 18px;
    margin-bottom: 10px;
}

.maintenance-link {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.maintenance-link p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 5px;
}

.maintenance-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

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

/* ===============================
   НАСТРОЙКИ (ADMIN SETTINGS)
   =============================== */
.settings-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.settings-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    background: #e2e8f0;
    color: #334155;
}

.status-badge.status-on {
    background: #059669;
    color: white;
}

.status-badge.status-off {
    background: #dc2626;
    color: white;
}

.toggle-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.15s ease;
}

.toggle-btn.btn-on {
    background: #059669;
    color: white;
}

.toggle-btn.btn-on:hover {
    background: #047857;
}

.toggle-btn.btn-off {
    background: #dc2626;
    color: white;
}

.toggle-btn.btn-off:hover {
    background: #b91c1c;
}

/* ===============================
   ФОРМА ВХОДА — ИСПРАВЛЕННАЯ
   =============================== */
.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 18px 14px 45px;
    margin-bottom: 0;
    height: 52px;
    line-height: normal;
}

.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.password-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 45px;
    margin-bottom: 0;
    height: 52px;
    line-height: normal;
}

.password-wrapper i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    z-index: 1;
}

.password-toggle {
    position: absolute;
    right: 25px;
    top: 32%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #64748b;
    font-size: 18px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.password-toggle:hover {
    color: #f97316;
}

.password-toggle i {
    font-size: 18px;
    line-height: 1;
}

/* Центрирование заголовка */
h1 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #1e293b;
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    justify-content: baseline;
    gap: 10px;
}

h1 i {
    color: #f97316;
    font-size: 28px;
}
/* ===============================
   ФОТО — КАРТОЧКИ И КНОПКИ
   =============================== */
.photo-card {
    margin: 15px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.photo-card:hover {
    border-color: #f97316;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}

.photo-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.btn-save {
    background: #10b981;
    color: white;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-save:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.btn-delete {
    background: #ef4444;
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-delete:hover {
    background: #dc2626;
}

.warning-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
}

/* Прогресс шагов */
.progress-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 6px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 10px;
    transition: width 0.3s ease;
}
/* ===============================
   ИСПРАВЛЕНИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   =============================== */

/* Учитываем безопасные зоны на iPhone */
@supports (padding: max(0px)) {
    body {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom, 8px));
    }
}

/* Для очень маленьких экранов */
@media (max-width: 380px) {
    .nav-item span {
        font-size: 10px;
    }

    .nav-item i {
        font-size: 20px;
    }
}

/* Фикс для Chrome на Android (иногда тоже прячет кнопки) */
.bottom-nav {
    transition: transform 0.2s ease;
}

/* Гарантия, что контент не заходит под меню */
.content-area {
    padding-bottom: 16px;
}

/* Для страниц с формой, чтобы кнопки навигации не прилипали к меню */
.nav-buttons {
    margin-bottom: 30px;
}

/* Дополнительный отступ для последнего элемента в карточке */
.card:last-child {
    margin-bottom: 0;
}

/* Фикс для модальных окон и выпадающих списков */
select, input, textarea {
    font-size: 16px; /* Предотвращает автоматическое масштабирование на iPhone */
}

/* Улучшаем отображение на планшетах */
@media (min-width: 768px) {
    .bottom-nav .nav-items {
        max-width: 500px;
    }
}
/* ===============================
   ЗАЩИТА ОТ ПЕРЕКРЫВАНИЯ БРАУЗЕРОМ
   =============================== */

/* Учитываем безопасную зону снизу на iPhone */
.bottom-nav {
    padding-bottom: max(8px, env(safe-area-inset-bottom, 8px));
}

/* Для старых браузеров */
@supports not (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav {
        padding-bottom: 8px;
    }
}

/* Гарантия, что контент не заходит под меню */
.content-area {
    padding-bottom: 16px;
}

/* Для очень маленьких экранов */
@media (max-width: 380px) {
    .nav-item span {
        font-size: 10px;
    }
    .nav-item i {
        font-size: 20px;
    }
}
.product-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }
        .product-card:hover {
            border-color: #f97316;
            box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
        }
        .product-header {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }
        .product-image {
            width: 80px;
            height: 80px;
            border-radius: 10px;
            overflow: hidden;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            flex-shrink: 0;
        }
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .product-info {
            flex: 1;
        }
        .product-title {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 5px;
            line-height: 1.3;
        }
        .product-sku {
            font-size: 14px;
            color: #f97316;
            font-weight: 500;
            background: #fff7ed;
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 8px;
        }
        .product-price {
            font-size: 20px;
            font-weight: 700;
            color: #059669;
        }
        .storage-label {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 2px;
        }
        .storage-value {
            font-size: 16px;
            font-weight: 600;
            color: #f97316;
        }
        .detail-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #e2e8f0;
        }
        .detail-row:last-child {
            border-bottom: none;
        }
        .detail-label {
            font-size: 14px;
            color: #64748b;
        }
        .detail-value {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
        }
        .action-buttons {
            margin-top: 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .action-btn {
            width: 100%;
            padding: 16px 20px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.15s ease;
            border: none;
            cursor: pointer;
        }
        .btn-location {
            background: #f97316;
            color: white;
        }
        .btn-location:hover {
            background: #ea580c;
        }
        .btn-quantity {
            background: #10b981;
            color: white;
        }
        .btn-quantity:hover {
            background: #059669;
        }
        .btn-photo {
            background: #8b5cf6;
            color: white;
        }
        .btn-photo:hover {
            background: #7c3aed;
        }
        .btn-site {
            background: #0f172a;
            color: white;
            width: 100%;
            padding: 16px 20px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }
        .btn-site:hover {
            background: #1e293b;
        }
        .photo-count {
            font-size: 13px;
            color: #8b5cf6;
            margin-left: 5px;
        }
.product-header {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    .product-image {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        overflow: hidden;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        flex-shrink: 0;
    }
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .product-info {
        flex: 1;
    }
select {
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
select:focus, select:active {
    outline: none;
    border-color: #f97316;
}
select:active, select:hover {
    outline: none;
}