/**
 * KeyMoto Catalog Modern Styles - Simple and Reliable
 * Простые и надежные стили для каталога KeyMoto
 */

/* Modern Font Import - Inter (современный шрифт) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Apply modern font only to specific elements */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Product Attributes (первые 3 параметра) */
.product-attributes-short {
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    min-height: 60px; /* Фиксированная высота для выравнивания */
}

.product-attributes-short .attr-item {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 4px;
}

.product-attributes-short .attr-label {
    font-weight: 500;
    color: #333;
    margin-right: 4px;
}

.product-attributes-short .attr-value {
    color: #666;
}

.product-attributes-short .attr-separator {
    margin: 0 4px;
    color: #ccc;
}

/* Modern "Хочу такой" Button */
.btn-product,
.product-action .button.add_to_cart_button,
.add_to_cart_button.button,
.product-action a.button {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 14px 24px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.25) !important;
    width: 100% !important;
    display: block !important;
}

.btn-product:hover,
.product-action .button.add_to_cart_button:hover,
.add_to_cart_button.button:hover,
.product-action a.button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004d6f 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.35) !important;
    color: #ffffff !important;
}

.btn-product:active,
.product-action .button.add_to_cart_button:active,
.add_to_cart_button.button:active {
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-attributes-short {
        font-size: 12px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .product-attributes-short {
        font-size: 11px;
        min-height: 45px;
    }
    
    .product-attributes-short .attr-item {
        display: block;
        margin-right: 0;
        margin-bottom: 6px;
    }
}
