

/* Start:/local/components/allaboutit/catalog.grid/templates/.default/style.css?17634489553481*/
.aai-catalog {
    max-width: 1280px;
    margin: 0 auto 40px;
    padding: 20px 15px 40px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.aai-catalog-title {
    margin: 10px 0 24px;
    font-size: 28px;
    font-weight: 600;
}

.aai-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.aai-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.aai-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.aai-card__image {
    position: relative;
    padding-top: 70%;
    overflow: hidden;
    background: #f5f5f5;
}

.aai-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aai-card__body {
    padding: 14px 14px 16px;
}

.aai-card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.aai-card__article {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.aai-card__price {
    font-size: 17px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.aai-card__text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
}

.aai-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

/* Пагинация */
.aai-catalog-pagination {
    margin-top: 24px;
    text-align: center;
}

/* Детальная страница */
.aai-catalog-detail {
    padding-top: 10px;
}

.aai-catalog-back {
    margin-bottom: 16px;
}

.aai-btn-back {
    display: inline-block;
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.aai-btn-back:hover {
    text-decoration: underline;
}

.aai-card-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
    padding: 20px;
}

.aai-card-detail__image {
    flex: 0 0 360px;
    max-width: 100%;
}

.aai-card-detail__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.aai-card-detail__content {
    flex: 1 1 280px;
    min-width: 0;
}

.aai-card-detail__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}

.aai-card-detail__article {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.aai-card-detail__price {
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 16px;
}

.aai-card-detail__text {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 18px;
}

.aai-card-detail__props h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.aai-props-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.aai-props-table td {
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
}

.aai-props-table__name {
    width: 40%;
    color: #6b7280;
    padding-right: 16px;
}

.aai-props-table__value {
    color: #111827;
}

.aai-catalog-empty {
    padding: 40px 0;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 768px) {
    .aai-card-detail {
        flex-direction: column;
    }

    .aai-card-detail__image {
        flex: 0 0 auto;
    }

    .aai-card-detail__title {
        font-size: 20px;
    }
}

/* End */


/* Start:/bitrix/components/bitrix/main.pagenavigation/templates/modern/style.min.css?1750245845659*/
div.modern-page-navigation{padding:.5em 0}div.modern-page-navigation a,span.modern-page-current,span.modern-page-dots{border-left-width:1px;border-left-style:solid;padding-left:.75em;padding-right:.5em;text-decoration:none}div.modern-page-navigation a.modern-page-previous{border-right-width:1px;border-right-style:solid;border-left:none}div.modern-page-navigation a.modern-page-first,div.modern-page-navigation span.modern-page-first{border-left:none;padding-left:.5em}span.modern-page-current{font-weight:bold}div.modern-page-navigation a,span.modern-page-current,div.modern-page-navigation a.modern-page-previous,span.modern-page-dots{border-color:#cdcdcd}
/* End */
/* /local/components/allaboutit/catalog.grid/templates/.default/style.css?17634489553481 */
/* /bitrix/components/bitrix/main.pagenavigation/templates/modern/style.min.css?1750245845659 */
