/* ===== СТИЛИ ИЗ product-styles.css (ДОБАВИТЬ ЭТО) ===== */
.french-flag-btn {
    width: 30px;
    height: 22px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: linear-gradient(90deg, 
        #002395 33%, 
        #ffffff 33%, 
        #ffffff 66%, 
        #ED2939 66%
    );
    padding: 0;
    margin-left: 0.5rem;
    position: relative;
    overflow: hidden;
}

.french-flag-btn:hover {
    border-color: #0a1931;
    transform: scale(1.05);
    transition: all 0.2s;
}

/* Добавим тень для объема */
.french-flag-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    pointer-events: none;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #0a1931;
    text-decoration: none;
    font-weight: 600;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.thumbnail.active {
    border-color: #0a1931;
    opacity: 1;
}

.product-info-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #0a1931;
}

.product-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.price-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #8b0000;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a1931;
}

.vat {
    color: #666;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.delivery-info {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    border-left: 4px solid #4a90e2;
}

.product-specifications {
    margin: 2rem 0;
}

.product-specifications h3 {
    color: #0a1931;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-specifications ul {
    list-style: none;
    padding: 0;
}

.product-specifications li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
}

.product-specifications li strong {
    min-width: 200px;
    color: #333;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.product-actions .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quantity-selector select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-features {
    margin-top: 2rem;
}

.product-features h3 {
    color: #0a1931;
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b0000;
    font-weight: bold;
}

.product-description-detail {
    background: #fff;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-description-detail h2 {
    color: #0a1931;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.product-description-detail h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #8b0000;
}

.specification-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.specification-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.specification-table thead {
    background: linear-gradient(135deg, #0a1931 0%, #1a365d 100%);
    color: white;
}

.specification-table th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.specification-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.specification-table tr:last-child td {
    border-bottom: none;
}

.specification-table tr:nth-child(even) {
    background-color: #f9fafc;
}

.specification-table tr:hover {
    background-color: #f0f7ff;
    transition: background-color 0.2s;
}

/* Адаптивность */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-info-detail h1 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .product-detail-grid {
        padding: 1rem;
    }
    
    .product-description-detail {
        padding: 1.5rem;
    }
    
    .product-specifications li {
        flex-direction: column;
    }
    
    .product-specifications li strong {
        min-width: auto;
        margin-bottom: 0.2rem;
    }
}

/* ===== КОНЕЦ СТИЛЕЙ ИЗ product-styles.css ===== */

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ АКСЕССУАРОВ (ваш существующий код) ===== */
.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.compatible-item, .not-compatible-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.compatible-item {
    border-left: 4px solid #28a745;
}

.not-compatible-item {
    border-left: 4px solid #dc3545;
}

.compatible-icon {
    font-size: 1.5rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.compatible-item .compatible-icon {
    background: #d4edda;
    color: #155724;
}

.not-compatible-item .compatible-icon {
    background: #f8d7da;
    color: #721c24;
}

.compatibility-tag {
    background: #e8f4ff;
    color: #0a1931;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #c2e0ff;
    display: inline-block;
    margin: 0.2rem;
}

.compatibility-tag.compatible {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.compatibility-tag.not-compatible {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    color: #856404;
}

.installation-steps {
    background: #fff8f0;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid #ffd8b2;
}

.installation-steps ol {
    padding-left: 1.5rem;
}

.installation-steps li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* ===== НОВЫЕ СТИЛИ ДЛЯ КАРТОЧЕК АКСЕССУАРОВ (ДОБАВИТЬ ЭТО) ===== */

/* Сетка для аксессуаров */
.accessoires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Единый стиль для ВСЕХ карточек товаров */
.product-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-card .product-image {
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-title {
    color: #0a1931;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 3em;
}

.product-card .product-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.product-card .product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.product-card .feature-tag {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    white-space: nowrap;
}

.product-card .product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b0000;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Унифицированные кнопки для карточек */
.product-card .product-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

/* Одинаковые кнопки для ВСЕХ карточек */
.product-card .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Стили для кнопок */
.btn-primary {
    background-color: #0a1931;
    color: white;
}

.btn-primary:hover {
    background-color: #1a2b45;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #0a1931;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Блок "Скоро в продаже" */
.product-card.coming-soon {
    background: #f8f9fa;
    border: 2px dashed #ddd;
}

.product-card.coming-soon .product-title {
    color: #666 !important;
}

.product-card.coming-soon .product-description {
    color: #888 !important;
}

.product-card.coming-soon .product-price {
    color: #aaa !important;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Убедитесь, что кнопки одинаковые */
.btn-small {
    box-sizing: border-box;
    height: 40px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность для карточек */
@media (max-width: 768px) {
    .accessoires-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-card .btn-small {
        max-width: 100%;
        min-width: 100%;
    }
}
/* ===== АНИМАЦИЯ КАРТОЧЕК АКСЕССУАРОВ ===== */

/* Анимация при наведении на всю карточку */
.accessoire-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.accessoire-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #d1e3ff;
}

/* Анимация изображения */
.accessoire-card:hover img {
    transform: scale(1.08);
    transition: transform 0.6s ease;
}

/* Эффект "подсветки" */
.accessoire-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a1931, #4a90e2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.accessoire-card:hover::after {
    transform: scaleX(1);
}

/* Анимация кнопок */
.accessoire-card .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accessoire-card .btn-primary:hover {
    background: linear-gradient(135deg, #1a2b45 0%, #2a4a7d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 25, 49, 0.3);
}

.accessoire-card .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #0a1931;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Эффект "пульсации" для кнопок */
.accessoire-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.accessoire-card .btn:active::before {
    width: 300px;
    height: 300px;
}

/* Анимация тегов характеристик */
.accessoire-card .feature-tag {
    transition: all 0.3s ease;
}

.accessoire-card:hover .feature-tag {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Анимация цены */
.accessoire-card .product-price {
    transition: color 0.3s ease, transform 0.3s ease;
}

.accessoire-card:hover .product-price {
    color: #c00;
    transform: scale(1.05);
}

/* Для карточек "Скоро в продаже" - более мягкая анимация */
.accessoire-card[style*="background: #f8f9fa"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}/* Стили для сетки аксессуаров */
.accessoires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Стили для карточек аксессуаров */
.accessoire-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Анимация при наведении */
.accessoire-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.accessoire-card .product-image {
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessoire-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.accessoire-card:hover .product-image img {
    transform: scale(1.08);
}

.accessoire-card .product-title {
    color: #0a1931;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.accessoire-card:hover .product-title {
    color: #1a56db;
}

.accessoire-card .product-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.accessoire-card .product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b0000;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.accessoire-card:hover .product-price {
    color: #c00;
    transform: scale(1.05);
}

/* Теги характеристик */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: #f0f7ff;
    color: #1a56db;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #d1e3ff;
    transition: all 0.3s ease;
}

.accessoire-card:hover .feature-tag {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Контейнер для кнопок */
.accessoire-card .button-container {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

/* Кнопки */
.accessoire-card .btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.accessoire-card .btn-primary {
    background-color: #0a1931;
    color: white;
}

.accessoire-card .btn-primary:hover {
    background: linear-gradient(135deg, #1a2b45 0%, #2a4a7d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10,25,49,0.3);
}

.accessoire-card .btn-secondary {
    background-color: #f0f0f0;
    color: #0a1931;
    border: 1px solid #ddd;
}

.accessoire-card .btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ===== КОНЕЦ НОВЫХ СТИЛЕЙ ===== */