/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jun 16 2026 | 09:00:37 */
/* Обгортка для блоку аксесуарів */
.uitech-accessories-grid {
    display: flex;
    flex-direction: column; /* На мобільних картки йдуть стовпчиком */
    gap: 20px;
    width: 100%;
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Стиль кожної окремої картки */
.uitech-accessory-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}

/* Контейнер для фото */
.uitech-accessory-img-box {
    width: 100%;
    max-width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.uitech-accessory-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Заголовок товару */
.uitech-accessory-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 20px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Обмежує текст до 3 рядків для гарної сітки */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 63px; /* Фіксована висота, щоб кнопки були на одному рівні */
}

/* Кнопка Amazon */
.uitech-amazon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff9900;
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.uitech-amazon-btn:hover {
    background-color: #e68a00;
}

/* На комп'ютерах (ширина екрана від 768px і більше) блоки стають в один ряд */
@media (min-width: 768px) {
    .uitech-accessories-grid {
        flex-direction: row; /* Горизонтальне розташування */
        justify-content: space-between;
    }
    
    .uitech-accessory-card {
        width: 23%; /* Картки ділять екран на 4 рівні частини */
    }
}