/* cards.css - Карточки товаров, кейсов, статей */

.card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.card:hover {
    border-color: #2C5F8A;
}

.product-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #2C5F8A;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 16px;
    background: #F5F7FA;
    border-radius: 4px;
}

.product-badge {
    display: inline-block;
    background: #EBEEF2;
    color: #2C5F8A;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1A1A1A;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.product-features li {
    font-size: 13px;
    color: #6B7280;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li::before {
    content: "•";
    color: #2C5F8A;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.case-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.case-card:hover {
    transform: translateY(-2px);
    border-color: #2C5F8A;
}

.case-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1A1A1A;
}

.case-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.article-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #1A1A1A;
}

.article-title a {
    text-decoration: none;
    color: inherit;
}

.article-title a:hover {
    color: #2C5F8A;
}

.article-excerpt {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .product-card {
        padding: 16px;
    }

    .product-image {
        height: 160px;
    }

    .product-title {
        font-size: 16px;
    }

    .case-image {
        height: 140px;
    }

    .case-content {
        padding: 16px;
    }
}

.metal-card {
    border: 2px solid var(--company-yellow);
    padding: 32px 28px;
    text-align: center;
    transition: none;
    box-shadow: 10px 10px 10px -3px rgba(0,0,0,0.4);
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.metal-card:before {
    content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.3);
}

 .metal-card > * {
      position: relative;
      z-index: 2;
}

.metal-card:hover {
    transition: none;
    transform: none;
}