/*
 * Раздел AquaDoor — дополнение к стилям rindor.ru.
 *
 * Основное оформление берётся из стилей сайта (css.css, offers_switcher.css,
 * fast_order_modal.css): плитки товаров, крошки, вкладки, кнопки, выбор
 * размера и окно заказа размечены теми же классами, что в каталоге. Здесь —
 * только то, чего на сайте нет: плитки серий, строка фактов, вопросы и
 * мелкие поправки. Все правила начинаются с .aqd, чтобы ничего не задеть
 * за пределами раздела.
 *
 * Цвета — палитра сайта: #001e29 текст, #026471 акцент, #558996 приглушённый
 * акцент, #f2f1ed и #e6e1de бежевые поля и линии.
 */

.aqd { color: #001e29; }
.aqd .catalog { line-height: 22px; }

/* --- тексты */
.aqd .aqd-lead,
.aqd .aqd-lead p { font-size: 15px; line-height: 24px; color: #001e29; max-width: 900px; }
.aqd .aqd-intro { font-size: 14px; line-height: 22px; color: #333; max-width: 900px; margin: 10px 0 25px; }
.aqd .aqd-h2 { font-size: 22px; line-height: 28px; font-weight: 800; color: #000; margin: 35px 0 15px; }
.aqd .aqd-distinct { font-size: 17px; line-height: 26px; max-width: 900px; margin: 15px 0 8px; }
.aqd .aqd-distinct strong { color: #026471; }
.aqd .aqd-essence { color: #333; max-width: 900px; }

.aqd .aqd-text { max-width: 980px; margin-top: 30px; }
.aqd .aqd-text h2 { font-size: 22px; line-height: 28px; margin: 30px 0 12px; }
.aqd .aqd-text h3 { font-size: 18px; line-height: 24px; margin: 22px 0 10px; }
.aqd .aqd-text h4 { font-size: 16px; margin: 18px 0 8px; }
.aqd .aqd-text p { margin: 0 0 12px; }
.aqd .aqd-text ul,
.aqd .aqd-text ol { margin: 0 0 14px; padding-left: 22px; }
.aqd .aqd-text li { margin: 0 0 8px; }
.aqd .aqd-text a { color: #026471; }
.aqd .item-info td.item_code a { color: #026471; }

/* --- плитки серий: разметка cat-box сайта, плюс цена и ссылка внизу */
.aqd .aqd-series { margin-top: 5px; }
.aqd .aqd-series-tile { margin-bottom: 24px; }
.aqd .aqd-series-tile .box { display: flex; flex-direction: column; background: #fff; padding: 12px 0 0; }
.aqd .aqd-series-tile .box p { margin: 0; }
.aqd .aqd-series-tile .box p.aqd-tagline { padding-top: 0; font-weight: 600; font-size: 14px; color: #558996; }
.aqd .aqd-series-tile .box p.aqd-distinction { flex-grow: 1; color: #333; }
.aqd .aqd-series-tile .box p.aqd-tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #f2f1ed; padding-top: 12px; padding-bottom: 14px; margin-top: 6px; font-size: 14px; color: #001e29; }
.aqd .aqd-series-tile .box p.aqd-tile-foot strong { font-size: 18px; font-weight: 700; }
.aqd .aqd-series-tile .box p a.aqd-more { display: inline; background: none; padding: 0; font-size: 14px; font-weight: 600; color: #026471; white-space: nowrap; }

/* --- сортировка: подсветка выбранного порядка */
.aqd .aqd-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 20px; }
.aqd .aqd-sort .aqd-count { font-size: 13px; color: #767c82; }

/* --- плитки товаров: фото одной высоты, как в каталоге сайта */
.aqd .aqd-tile .box div.img { height: 260px; display: flex; align-items: center; justify-content: center; padding: 0 10px; }
.aqd .aqd-tile .box div.img img { max-height: 250px; max-width: 100%; width: auto; height: auto; }
.aqd .aqd-tile .box div.describe { padding-top: 10px; }
.aqd .aqd-tile .box div.describe p { margin: 0 0 8px; }

/* --- строка фактов на странице серии */
.aqd .aqd-facts { margin: 22px 0 6px; }
.aqd .aqd-fact { height: 100%; background: #f2f1ed; border: 1px solid #e6e1de; border-radius: 6px; padding: 12px 16px; margin-bottom: 12px; }
.aqd .aqd-fact-label { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: #558996; }
.aqd .aqd-fact-value { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: #001e29; }
.aqd .aqd-fact-value.aqd-fact-price { font-size: 22px; line-height: 28px; font-weight: 700; color: #026471; }

.aqd .aqd-uses p { margin: 0 0 14px; color: #333; }
.aqd .aqd-uses strong { color: #001e29; }
.aqd .aqd-notes { margin-top: 10px; border-top: 1px solid #e6e1de; padding-top: 14px; }
.aqd .aqd-notes p { color: #333; font-size: 13px; line-height: 20px; }
.aqd .aqd-warn { border-left: 3px solid #558996; padding-left: 12px; }

/* --- ссылки на другие серии */
.aqd .aqd-other-series { margin: 30px 0 10px; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.aqd .aqd-other-series span { font-weight: 600; margin-right: 4px; }
.aqd .aqd-other-series a { display: inline-block; border: 1px solid #e6e1de; border-radius: 4px; padding: 6px 12px; color: #001e29; text-decoration: none; font-size: 13px; }
.aqd .aqd-other-series a:hover { background: #f2f1ed; }

/* --- вопросы: раскрывающиеся строки, без скрипта */
.aqd .aqd-faq { max-width: 980px; margin-top: 10px; }
.aqd .aqd-faq-item { border-bottom: 1px solid #e6e1de; }
.aqd .aqd-faq-item summary { cursor: pointer; list-style: none; padding: 14px 30px 14px 0; position: relative; font-weight: 600; font-size: 15px; }
.aqd .aqd-faq-item summary::-webkit-details-marker { display: none; }
.aqd .aqd-faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 11px; font-size: 20px; color: #026471; }
.aqd .aqd-faq-item[open] summary::after { content: "\2212"; }
.aqd .aqd-faq-item p { margin: 0 0 16px; color: #333; max-width: 900px; }

.aqd .aqd-articles ul { padding-left: 20px; }
.aqd .aqd-articles a { color: #026471; }

/* --- карточка (выбор по группам, кружок цвета и примечания выводит модуль каталога: offers_switcher.css, catalog_items.css) */
.aqd-product .item-foto-box { text-align: center; }
.aqd-product .item-foto-box img.item-big-img { max-width: 100%; height: auto; max-height: 640px; width: auto; }
.aqd-product .item-cart-box { margin-top: 18px; }
.aqd-product .catalog-offers-axis { margin-bottom: 18px; }
.aqd-product .catalog-offers-value { min-width: 54px; justify-content: center; }
.aqd-product .cart-total-box { background: #f2f1ed; border: 1px solid #e6e1de; border-radius: 4px; padding: 6px 12px 12px; margin-top: 6px; }
.aqd-product .item-price-box label { font-weight: 700; font-size: 30px; line-height: 38px; }
.aqd-product .item-price-box small.aqd-unit { font-size: 14px; color: #558996; font-weight: 500; }
.aqd-product .aqd-picked { font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 400; color: #666; }
.aqd-product .item-cart-button-box .to_shopping { width: 100%; margin: 6px 0; }
.aqd-product .item-buy-click-box .buy-click { display: block; text-align: center; margin: 6px 0; }
.aqd-product .aqd-bundle { font-family: 'Rubik', sans-serif; font-size: 13px; color: #666; margin-top: 10px; }
.aqd-product .item-describe { margin-top: 30px; }
.aqd-product .item-describe #tabs section { line-height: 22px; }
.aqd-product table.aqd-specs { border-collapse: collapse; width: 100%; max-width: 820px; }
.aqd-product table.aqd-specs td { border-bottom: 1px solid #e6e1de; padding: 9px 12px 9px 0; vertical-align: top; }
.aqd-product table.aqd-specs td:first-child { color: #666; width: 42%; }

@media (max-width: 767px) {
  .aqd .aqd-h2 { font-size: 19px; line-height: 24px; }
  .aqd .aqd-distinct { font-size: 15px; line-height: 23px; }
  .aqd .aqd-tile .box div.img { height: 220px; }
  .aqd .aqd-tile .box div.img img { max-height: 210px; }
  .aqd-product .item-price-box label { font-size: 26px; }
  .aqd .aqd-series-tile .box p.aqd-tile-foot { flex-wrap: wrap; }
}

.aqd-product .catalog-offers-articul { display: none; }
