/* =========================================================================
   MRK Parfum — витрина на телефоне как мобильное приложение.

   Файл подключён в layout.blade.php с media="(max-width: 767.98px)", поэтому
   браузер применяет его ТОЛЬКО на телефоне: десктоп и планшет не затрагиваются.
   Язык тот же, что у уже «приложенных» экранов (каталог .mcat, карточка товара
   .pdm, сравнение .cmp, кабинет .app-bar): белый фон, чернила #141414, золото,
   тёплая поверхность #f6f4f1, круглые кнопки 38px, листы снизу.
   ========================================================================= */

:root {
   --mapp-ink: #141414;
   --mapp-gold: #c5a059;
   --mapp-gold-deep: #c9a24b;
   --mapp-gold-soft: #b39b7a;
   --mapp-muted: #8f8679;
   --mapp-line: rgba(20, 20, 20, .08);
   --mapp-surface: #f6f4f1;
   --mapp-radius: 18px;
   --mapp-gutter: 14px;
   --mapp-sheet-shadow: 0 -12px 40px rgba(20, 20, 20, .18);
}

/* ── Общее «ощущение приложения» ─────────────────────────────────────── */
html {
   -webkit-text-size-adjust: 100%;
   scroll-padding-top: 72px;
}
body {
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   -webkit-tap-highlight-color: transparent;
}
a, button, [role="button"], label, input, select, textarea, summary {
   touch-action: manipulation;
}
/* Кольцо «наверх» — мебель сайта; к тому же оно садится прямо на таб-бар. */
.progress-wrap { display: none !important; }
/* Верхняя цветная полоса шапки: на главной её заменяет .mrk-promo,
   на внутренних экранах шапки сайта нет вовсе. */
.aq-header-top-area { display: none !important; }

/* Поля ввода: 16px — иначе iOS зумит страницу при фокусе. */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], select, textarea {
   font-size: 16px !important;
}

/* =========================================================================
   1. Шапка экрана (внутренние страницы: корзина, избранное, акции, …)
   ========================================================================= */
body.mapp-inner > header,
body.mapp-inner > footer {
   display: none !important;
}
body.mapp-inner { background: #fff; }

.mapp-bar {
   position: sticky;
   top: 0;
   z-index: 1000;
   display: flex;
   align-items: center;
   gap: 10px;
   min-height: 56px;
   padding: 8px 12px;
   padding-top: calc(8px + env(safe-area-inset-top));
   background: rgba(255, 255, 255, .94);
   -webkit-backdrop-filter: saturate(180%) blur(16px);
   backdrop-filter: saturate(180%) blur(16px);
   border-bottom: 1px solid var(--mapp-line);
}
.mapp-bar-btn {
   position: relative;
   flex: 0 0 38px;
   width: 38px;
   height: 38px;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0;
   border: 0;
   border-radius: 50%;
   background: var(--mapp-surface);
   color: var(--mapp-ink);
   transition: transform .18s ease, background-color .2s ease;
}
.mapp-bar-btn:hover { color: var(--mapp-ink); }
.mapp-bar-btn:active { transform: scale(.9); background: #ece7e0; }
.mapp-bar-title {
   flex: 1 1 auto;
   min-width: 0;
   text-align: center;
}
.mapp-bar-eyebrow {
   display: block;
   margin-bottom: 3px;
   font-size: 8.5px;
   font-weight: 700;
   line-height: 1;
   letter-spacing: 2px;
   text-transform: uppercase;
   color: var(--mapp-gold-deep);
}
.mapp-bar-h {
   display: block;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.2;
   letter-spacing: -.2px;
   color: var(--mapp-ink);
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}
.mapp-bar-badge {
   position: absolute;
   top: -3px;
   inset-inline-end: -3px;
   min-width: 17px;
   height: 17px;
   padding: 0 4px;
   border-radius: 9px;
   background: var(--mapp-ink);
   color: #fff;
   font-size: 10px;
   font-weight: 700;
   line-height: 17px;
   text-align: center;
   box-shadow: 0 0 0 2px #fff;
}
.mapp-bar-badge[hidden] { display: none; }

/* Шапка экрана уже называет страницу — «хлебные крошки» и геройные заголовки уходят. */
body.mapp-inner .aq-breadcrumb-area,
body.mapp-inner .aq-promo-breadcrumbs,
body.mapp-inner .aq-news-crumbs,
body.mapp-inner .aq-art-crumbs,
body.mapp-inner .aq-about-crumbs,
body.mapp-inner .aq-contact-crumbs,
body.mapp-inner .aq-news-title,
body.mapp-inner .aq-about-page-title {
   display: none !important;
}
body.mapp-inner main > .container,
body.mapp-inner main .container {
   padding-inline: var(--mapp-gutter);
}

/* =========================================================================
   2. Таб-бар — подсветка активной вкладки «пилюлей», как в нативных app
   ========================================================================= */
/* Высота таб-бара не меняется (body padding-bottom в layout — её зеркало):
   «пилюля» — псевдоэлемент позади иконки, в поток не входит. */
.aq-bottom-menu-item i {
   position: relative;
   isolation: isolate;
}
.aq-bottom-menu-item i::before {
   content: "";
   position: absolute;
   inset: -5px -15px;
   z-index: -1;
   border-radius: 13px;
   background: transparent;
   transition: background-color .25s ease;
}
.aq-bottom-menu-item.is-current i::before { background: rgba(201, 162, 75, .15); }
.aq-bottom-menu-item .count-box { z-index: 1; }

/* =========================================================================
   3. Боковое меню (бургер) — «ящик» приложения
   ========================================================================= */
.aq-offcanvas-wrap {
   display: flex;
   flex-direction: column;
   border-radius: 0 24px 24px 0;
   box-shadow: 12px 0 40px rgba(20, 20, 20, .16);
   padding-top: env(safe-area-inset-top);
   padding-bottom: env(safe-area-inset-bottom);
   overflow: hidden;
}
/* Тема держит верх и низ ящика position:fixed/absolute; во флекс-колонке они — обычные строки. */
.aq-offcanvas-top,
.aq-offcanvas-bottom {
   position: relative !important;
   inset: auto !important;
   flex: 0 0 auto;
   width: auto !important;
}
.aq-offcanvas-top {
   padding-inline: 20px !important;
   border-bottom: 1px solid var(--mapp-line);
}
.aq-offcanvas-close span {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 38px;
   height: 38px;
   border-radius: 50%;
   background: var(--mapp-surface);
}
.aq-offcanvas-menu-wrap {
   flex: 1 1 auto;
   height: auto !important;
   min-height: 0;
   overflow-y: auto;
   padding: 10px 12px !important;
}
.aq-offcanvas-menu,
.aq-offcanvas-menu nav,
.aq-offcanvas-menu nav > ul {
   margin: 0 !important;
   padding: 0 !important;
}
.aq-offcanvas-menu nav > ul > li {
   list-style: none;
   margin: 0 !important;
   padding: 0 !important;
   border: 0 !important;
}
.aq-offcanvas-menu nav > ul > li > a {
   position: relative;
   display: flex !important;
   align-items: center;
   min-height: 50px;
   padding: 0 36px 0 12px !important;
   border-radius: 14px;
   font-size: 16px !important;
   font-weight: 600 !important;
   letter-spacing: -.1px;
   color: var(--mapp-ink) !important;
   transition: background-color .2s ease;
}
.aq-offcanvas-menu nav > ul > li > a::after {
   content: "";
   position: absolute;
   inset-inline-end: 14px;
   top: 50%;
   width: 8px;
   height: 8px;
   border-top: 1.8px solid #b8afa3;
   border-right: 1.8px solid #b8afa3;
   transform: translateY(-50%) rotate(45deg);
}
.aq-offcanvas-menu nav > ul > li > a:active { background: var(--mapp-surface); }
.aq-offcanvas-menu nav > ul > li + li > a { border-top: 1px solid transparent; }
.aq-offcanvas-bottom {
   padding: 16px 20px !important;
   border-top: 1px solid var(--mapp-line);
   background: #fff;
}
.aq-offcanvas-btn-wrap { gap: 10px; }
.aq-offcanvas-btn {
   flex: 1 1 0;
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   height: 46px;
   padding: 0 12px !important;
   border-radius: 23px !important;
   background: var(--mapp-surface) !important;
   color: var(--mapp-ink) !important;
   font-size: 14px !important;
   font-weight: 700 !important;
   border: 0 !important;
}
.aq-offcanvas-btn.btn-black-bg {
   background: var(--mapp-ink) !important;
   color: #fff !important;
}

/* =========================================================================
   4. Мини-корзина → лист снизу
   ========================================================================= */
.aq-cartmini-area {
   top: auto !important;
   bottom: 0;
   inset-inline: 0;
   width: 100% !important;
   height: auto !important;
   max-height: 88vh;
   max-height: 88dvh;
   border-radius: 24px 24px 0 0;
   box-shadow: none;
   transform: translateY(calc(100% + 40px)) !important;
   transition: transform .38s cubic-bezier(.32, .72, 0, 1) !important;
   overflow: hidden;
}
.aq-cartmini-area.opened {
   transform: translateY(0) !important;
   box-shadow: var(--mapp-sheet-shadow);
}
/* «Ручка» листа */
.aq-cartmini-area::before,
.aq-wishlist-popup-wrap::before {
   content: "";
   position: absolute;
   top: 8px;
   left: 50%;
   width: 38px;
   height: 4px;
   margin-left: -19px;
   border-radius: 2px;
   background: rgba(20, 20, 20, .16);
   z-index: 2;
}
.aq-cartmini-header {
   position: relative;
   padding: 22px 20px 12px !important;
}
.aq-cartmini-title {
   margin: 0;
   font-size: 18px !important;
   font-weight: 700;
   letter-spacing: -.2px;
}
/* Иконка — SVG-маска (icons.css): фон = цвет глифа, поэтому «кружок» рисуем тенью-обводкой. */
.aq-cartmini-close-icon {
   top: 28px !important;
   inset-inline-end: 29px !important;
   width: 10px !important;
   height: 16px !important;
   border-radius: 0 !important;
   background-color: currentColor !important;
   transform: none !important;
   font-size: 16px !important;
   color: var(--mapp-ink) !important;
   opacity: 1 !important;
}
.aq-cartmini-close-icon::after {
   content: "";
   position: absolute;
   inset: -11px -13px;
}
.aq-cartmini-header::after {
   content: "";
   position: absolute;
   top: 18px;
   inset-inline-end: 16px;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: var(--mapp-surface);
   z-index: -1;
}
.aq-cartmini-header { isolation: isolate; }
.aq-cartmini-body {
   flex: 1 1 auto;
   height: auto !important;
   min-height: 0;
   max-height: 52vh;
   max-height: 52dvh;
   padding: 6px 20px 10px !important;
   overflow-y: auto !important;
   border-top: 1px solid var(--mapp-line) !important;
   -webkit-overflow-scrolling: touch;
}
.aq-cartmini-product-item {
   gap: 14px;
   margin: 0 !important;
   padding: 14px 0;
   border-bottom: 1px solid var(--mapp-line);
}
.aq-cartmini-product-item:last-of-type { border-bottom: 0; }
.aq-cartmini-product-thumbnail {
   flex: 0 0 76px;
   width: 76px;
   height: 76px;
   margin: 0 !important;
   border-radius: 14px;
   background: var(--mapp-surface);
   overflow: hidden;
}
.aq-cartmini-product-thumbnail img {
   width: 100% !important;
   height: 100% !important;
   object-fit: contain;
   padding: 4px;
}
.aq-cartmini-product-summary { flex: 1 1 auto; min-width: 0; }
.aq-cartmini-product-title { font-size: 14px !important; font-weight: 600; margin-bottom: 2px !important; }
.aq-cartmini-product-price { font-weight: 700; }
.aq-cartmini-product-item .aq-product-quantity {
   display: inline-flex;
   align-items: center;
   height: 34px;
   border: 1px solid #e4dfdb !important;
   border-radius: 17px !important;
   overflow: hidden;
}
.cartmini-empty { padding: 26px 0 10px; }
.cartmini-empty img { width: 150px !important; max-width: 60%; margin: 0 auto 10px; }
.cartmini-empty p { font-size: 15px; font-weight: 600; color: var(--mapp-ink); }
.cartmini-empty .aq-btn-black {
   height: 46px;
   line-height: 46px;
   padding: 0 26px;
   border-radius: 23px !important;
   background: var(--mapp-ink) !important;
   color: #fff !important;
   border: 0 !important;
}
.aq-cartmini-footer {
   padding: 14px 20px !important;
   padding-bottom: calc(14px + env(safe-area-inset-bottom)) !important;
   border-top: 1px solid var(--mapp-line);
   background: #fff;
}
.aq-cartmini-total { margin-bottom: 12px !important; }
.aq-cartmini-total-title { font-size: 14px !important; color: var(--mapp-muted) !important; }
.aq-cartmini-total-value { font-size: 18px !important; font-weight: 800 !important; }
.aq-cartmini-main-btn { flex-direction: column; gap: 8px; }
.aq-cartmini-main-btn .aq-btn-black {
   height: 50px;
   line-height: 50px !important;
   margin: 0 !important;
   border-radius: 25px !important;
   font-size: 13px !important;
   letter-spacing: .04em;
}

/* =========================================================================
   5. «Добавлено в избранное» → лист снизу
   ========================================================================= */
.aq-wishlist-popup {
   top: auto !important;
   bottom: 0;
   inset-inline: 0 !important;
   left: 0 !important;
   width: 100%;
   transform: translateY(calc(100% + 40px)) !important;
   transition: transform .38s cubic-bezier(.32, .72, 0, 1), opacity .2s ease, visibility .38s !important;
}
.aq-wishlist-popup.opened { transform: translateY(0) !important; }
.aq-wishlist-popup-wrap {
   max-width: none !important;
   border-radius: 24px 24px 0 0;
   box-shadow: var(--mapp-sheet-shadow);
   overflow: hidden;
   padding-bottom: env(safe-area-inset-bottom);
}
.aq-wishlist-popup-top {
   padding: 26px 20px 12px !important;
   background: #fff !important;
   color: var(--mapp-ink) !important;
   border-bottom: 1px solid var(--mapp-line);
}
.aq-wishlist-popup-name,
.aq-wishlist-popup-count {
   color: var(--mapp-ink) !important;
   font-size: 18px !important;
   font-weight: 700 !important;
}
.aq-wishlist-popup-close {
   display: flex !important;
   align-items: center;
   justify-content: center;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: var(--mapp-surface);
   color: var(--mapp-ink) !important;
}
.aq-wishlist-popup-close i { color: var(--mapp-ink) !important; }
.aq-wishlist-popup-middle { padding: 8px 20px !important; max-height: 50vh; overflow-y: auto; }
.aq-wishlist-popup-item {
   flex-wrap: wrap;
   justify-content: space-between !important;
   gap: 12px;
   padding: 12px 0 !important;
}
.aq-wishlist-popup-thumb img {
   width: 64px !important;
   height: 64px !important;
   object-fit: contain;
   border-radius: 12px;
   background: var(--mapp-surface);
}
.aq-wishlist-popup-btn { width: 100%; }
.aq-wishlist-popup-btn .aq-btn-black {
   width: 100%;
   height: 46px;
   border-radius: 23px !important;
}
.aq-wishlist-popup-bottom {
   display: flex;
   gap: 10px;
   padding: 12px 20px 16px !important;
   background: #fff !important;
   border-top: 1px solid var(--mapp-line);
}
.aq-wishlist-popup-bottom a,
.aq-wishlist-popup-bottom button {
   flex: 1 1 0;
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   height: 46px;
   padding: 0 10px !important;
   border-radius: 23px;
   background: var(--mapp-surface);
   color: var(--mapp-ink) !important;
   font-size: 13px !important;
   font-weight: 700 !important;
   text-transform: none !important;
   text-align: center;
   line-height: 1.2 !important;
}
.aq-wishlist-popup-bottom a:first-child {
   background: var(--mapp-ink);
   color: #fff !important;
}

/* =========================================================================
   6. Вход / регистрация / восстановление → лист снизу
   ========================================================================= */
#exampleModalToggle .modal-dialog,
#exampleModalToggle2 .modal-dialog,
#exampleModalToggle3 .modal-dialog {
   display: flex;
   align-items: flex-end;
   min-height: 100%;
   width: 100% !important;
   max-width: none !important;
   margin: 0 !important;
}
#exampleModalToggle.fade .modal-dialog,
#exampleModalToggle2.fade .modal-dialog,
#exampleModalToggle3.fade .modal-dialog {
   transform: translateY(100%);
   transition: transform .38s cubic-bezier(.32, .72, 0, 1);
}
#exampleModalToggle.show .modal-dialog,
#exampleModalToggle2.show .modal-dialog,
#exampleModalToggle3.show .modal-dialog {
   transform: none;
}
#exampleModalToggle .modal-content,
#exampleModalToggle2 .modal-content,
#exampleModalToggle3 .modal-content {
   width: 100%;
   max-height: 94vh;
   max-height: 94dvh;
   overflow-y: auto;
   border: 0;
   border-radius: 24px 24px 0 0 !important;
   padding: 30px 20px calc(22px + env(safe-area-inset-bottom)) !important;
   box-shadow: var(--mapp-sheet-shadow);
}
#exampleModalToggle .modal-content::before,
#exampleModalToggle2 .modal-content::before,
#exampleModalToggle3 .modal-content::before {
   content: "";
   position: absolute;
   top: 8px;
   left: 50%;
   width: 38px;
   height: 4px;
   margin-left: -19px;
   border-radius: 2px;
   background: rgba(20, 20, 20, .16);
}
#exampleModalToggle .btn-close,
#exampleModalToggle2 .btn-close,
#exampleModalToggle3 .btn-close {
   top: 16px !important;
   inset-inline-end: 16px !important;
   width: 36px !important;
   height: 36px !important;
   padding: 0 !important;
   border-radius: 50%;
   background-color: var(--mapp-surface) !important;
   background-size: 11px !important;
   opacity: 1 !important;
}
#exampleModalToggle .aq-login-wrapper,
#exampleModalToggle2 .aq-login-wrapper,
#exampleModalToggle3 .aq-login-wrapper {
   padding: 0 !important;
   width: auto !important;
   max-width: none !important;
}
#exampleModalToggle .aq-login-wrapper,
#exampleModalToggle2 .aq-login-wrapper,
#exampleModalToggle3 .aq-login-wrapper {
   background: transparent !important;
   box-shadow: none !important;
   border: 0 !important;
   border-radius: 0 !important;
   padding-top: 18px !important;
}
.aq-login-wrapper .aq-login-top { margin-bottom: 20px !important; }
.aq-login-title { font-size: 22px !important; letter-spacing: -.3px; }
.aq-login-wrapper input:not([type="checkbox"]):not([type="radio"]) {
   height: 50px;
   border-radius: 14px !important;
   background: var(--mapp-surface) !important;
   border-color: transparent !important;
}
.aq-login-wrapper input:not([type="checkbox"]):not([type="radio"]):focus {
   background: #fff !important;
   border-color: rgba(179, 155, 122, .6) !important;
   box-shadow: 0 0 0 3px rgba(179, 155, 122, .14);
}
.aq-login-wrapper .aq-btn-black,
.aq-login-wrapper button[type="submit"] {
   height: 52px;
   border-radius: 26px !important;
}

/* =========================================================================
   7. Поиск — полноэкранный экран поиска
   ========================================================================= */
.aq-search-wrap {
   padding-top: env(safe-area-inset-top);
   border-radius: 0 0 24px 24px;
   max-height: 100vh;
   max-height: 100dvh;
   overflow-y: auto;
}

/* =========================================================================
   8. Карточки товаров на главной — плотная сетка без «дыр» между рядами
   ========================================================================= */
.aq-product-5-area .row.g-3 { --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
.aq-product-5-area .row.g-3 > .col { margin-bottom: 0 !important; }
.aq-product-5-area .container { padding-inline: var(--mapp-gutter); }
.mrk-popular-card { height: 100%; }
.mrk-popular-card .aq-product-title a {
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}
.aq-product-item:active .aq-product-thumb img { transform: scale(.985); }
.aq-product-thumb img { transition: transform .2s ease; }

/* =========================================================================
   9. Подвал (главная) — как экран «Настройки» в приложении:
      бренд, карточка контактов, группы ссылок (аккордеон) одной карточкой,
      карточка подписки с соцсетями, оплата и копирайт. Фон уходит под таб-бар.
   ========================================================================= */
body > footer {   /* именно сайтовый подвал: в карточках отзывов тоже есть <footer> */
   /* Серый фон продолжается под таб-баром — без белой полосы внизу */
   margin-bottom: calc(-72px - env(safe-area-inset-bottom));
   padding-bottom: calc(72px + env(safe-area-inset-bottom));
   /* Верх прозрачный — видны скруглённые углы .aq-footer-area; ниже — серый фон подвала */
   background: linear-gradient(to bottom, transparent 0 30px, #f1efee 30px);
}
footer .aq-footer-area {
   padding-top: 26px !important;
   border-radius: 26px 26px 0 0;
}
footer .aq-footer-area .container,
footer .aq-copyright-area .container { padding-inline: var(--mapp-gutter); }
footer .aq-footer-widget { margin-bottom: 0 !important; }
footer .aq-footer-widget-wrap > .row { --bs-gutter-x: 0; --bs-gutter-y: 0; }

/* Бренд + контакты */
footer .footer-col-6-1 { margin-bottom: 14px !important; }
footer .aq-footer-logo {
   margin-bottom: 16px !important;
   text-align: center;
}
footer .aq-footer-logo img { width: 92px !important; height: auto; }
footer .aq-footer-contact-wrap {
   padding: 0 14px;
   border-radius: 18px;
   background: #fff;
   box-shadow: 0 2px 10px rgba(20, 20, 20, .04);
}
footer .aq-footer-contact-item {
   position: relative;
   display: flex !important;
   align-items: center !important;
   gap: 12px;
   min-height: 56px;
   margin: 0 !important;
   padding: 8px 18px 8px 0;
}
footer .aq-footer-contact-item + .aq-footer-contact-item { border-top: 1px solid rgba(20, 20, 20, .07); }
footer .aq-footer-contact-item::after {
   content: "";
   position: absolute;
   inset-inline-end: 4px;
   top: 50%;
   width: 7px;
   height: 7px;
   border-top: 1.7px solid #c2b8aa;
   border-right: 1.7px solid #c2b8aa;
   transform: translateY(-50%) rotate(45deg);
   pointer-events: none;
}
footer .aq-footer-contact-item > span {
   flex: 0 0 36px;
   width: 36px;
   height: 36px;
   margin: 0 !important;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: rgba(201, 162, 75, .12);
   color: var(--mapp-gold-deep);
}
footer .aq-footer-contact-item > span svg { width: 17px; height: 17px; }
footer .aq-footer-contact-item > span svg path { stroke: currentColor; }
/* У телефона в разметке нет иконки — рисуем такую же «пилюлю» псевдоэлементом */
footer .aq-footer-contact-item > a:only-child::before {
   content: "";
   flex: 0 0 36px;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23c9a24b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.1 9.9a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 17px no-repeat,
      rgba(201, 162, 75, .12);
}
footer .aq-footer-contact-item > a {
   flex: 1 1 auto;
   min-width: 0;
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 14.5px !important;
   line-height: 1.35;
   color: var(--mapp-ink) !important;
   word-break: break-word;
}
footer .aq-footer-contact-item > a.fs-bold { font-size: 16px !important; font-weight: 700; }
footer .aq-footer-contact-item:active { opacity: .7; }

/* Группы ссылок — одна белая карточка из трёх строк-аккордеонов */
footer .aq-footer-widget.mapp-acc {
   padding: 0 16px;
   background: #fff;
   border-top: 1px solid rgba(20, 20, 20, .07);
}
footer .aq-footer-widget-wrap > .row > :nth-child(2) .aq-footer-widget.mapp-acc {
   border-top: 0;
   border-radius: 18px 18px 0 0;
}
footer .aq-footer-widget-wrap > .row > :nth-child(4) .aq-footer-widget.mapp-acc {
   border-radius: 0 0 18px 18px;
   box-shadow: 0 6px 10px -6px rgba(20, 20, 20, .06);
}
footer .aq-footer-widget.mapp-acc .aq-footer-widget-title {
   position: relative;
   display: flex;
   align-items: center;
   min-height: 54px;
   margin: 0 !important;
   padding-inline-end: 28px;
   font-size: 15.5px !important;
   font-weight: 600;
   color: var(--mapp-ink);
   cursor: pointer;
   user-select: none;
}
footer .aq-footer-widget.mapp-acc .aq-footer-widget-title::after {
   content: "";
   position: absolute;
   inset-inline-end: 6px;
   top: 50%;
   width: 8px;
   height: 8px;
   border-right: 1.8px solid #b8afa3;
   border-bottom: 1.8px solid #b8afa3;
   transform: translateY(-70%) rotate(45deg);
   transition: transform .25s ease;
}
footer .aq-footer-widget.mapp-acc.is-open .aq-footer-widget-title::after {
   transform: translateY(-20%) rotate(-135deg);
}
footer .aq-footer-widget.mapp-acc .aq-footer-widget-menu {
   display: none;
   padding: 0 0 10px;
}
footer .aq-footer-widget.mapp-acc.is-open .aq-footer-widget-menu { display: block; }
footer .aq-footer-widget-menu ul { margin: 0; padding: 0; }
footer .aq-footer-widget-menu ul li { margin: 0 !important; padding: 0 !important; list-style: none; }
footer .aq-footer-widget-menu ul li a {
   display: block;
   padding: 9px 12px;
   border-radius: 12px;
   font-size: 14.5px;
   color: #4e4841 !important;
}
footer .aq-footer-widget-menu ul li a:active { background: #f6f4f1; }
footer .aq-footer-widget-menu ul li::before,
footer .aq-footer-widget-menu ul li a::before { display: none !important; }

/* Подписка + соцсети — своя карточка */
footer .aq-footer-widget:not(.mapp-acc):not(.footer-col-6-1) {
   margin-top: 14px !important;
   padding: 18px 16px;
   border: 0;
   border-radius: 18px;
   background: #fff;
   box-shadow: 0 2px 10px rgba(20, 20, 20, .04);
}
footer .aq-footer-widget:not(.mapp-acc):not(.footer-col-6-1) > .aq-footer-widget-title {
   margin-bottom: 4px !important;
   font-size: 17px !important;
   font-weight: 700;
}
footer .mrk-subscribe { margin-bottom: 18px !important; }
footer .mrk-subscribe p.mb-10 { font-size: 13.5px; color: #8f8679; margin-bottom: 12px !important; }
/* Bootstrap 5 не знает .sr-only — подпись «Email» была видна и сдвигала кнопку */
footer .aq-footer-widget-input label.sr-only {
   position: absolute !important;
   width: 1px;
   height: 1px;
   margin: -1px;
   padding: 0;
   overflow: hidden;
   clip: rect(0 0 0 0);
   white-space: nowrap;
   border: 0;
}
footer .aq-footer-widget-input input {
   height: 50px !important;
   padding-inline: 18px 60px !important;
   border-radius: 25px !important;
   border: 0 !important;
   background: #f6f4f1 !important;
}
footer .aq-footer-widget-input .aq-btn-subscribe {
   top: 5px !important;
   bottom: 5px !important;
   inset-inline-end: 5px !important;
   right: 5px !important;
   width: 40px !important;
   height: 40px !important;
   transform: none !important;
   border-radius: 50% !important;
}
footer .aq-footer-widget-social-title {
   margin-bottom: 10px !important;
   font-size: 12px !important;
   font-weight: 700;
   letter-spacing: 1.4px;
   text-transform: uppercase;
   color: #8f8679;
}
footer .aq-footer-widget-social { display: flex; flex-wrap: wrap; gap: 10px; }
footer .aq-footer-widget-social a {
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   width: 44px !important;
   height: 44px !important;
   margin: 0 !important;
   border: 0 !important;
   border-radius: 50% !important;
   background: #f6f4f1 !important;
   color: var(--mapp-ink) !important;
}
footer .aq-footer-widget-social a:active { transform: scale(.92); }

/* Оплата + копирайт */
footer .aq-copyright-area { padding-top: 6px; }
footer .aq-copyright-border { border: 0 !important; padding-top: 10px !important; padding-bottom: 6px !important; }
footer .aq-copyright-area .row { flex-direction: column-reverse; }
footer .aq-copyright-payment {
   padding-bottom: 12px !important;
   text-align: center !important;
}
footer .aq-copyright-payment img { max-height: 26px; width: auto; }
footer .aq-copyright-text { padding-bottom: 6px !important; }
footer .aq-copyright-text p {
   font-size: 12px !important;
   line-height: 1.5;
   color: #9a9187 !important;
   text-align: center;
}

/* =========================================================================
   10. Корзина (страница)
   ========================================================================= */
body.mapp-inner .aq-cart-area {
   padding-top: 14px !important;
   padding-bottom: 28px !important;
}
.mrk-cart-panel,
.mrk-cart-summary {
   border-radius: var(--mapp-radius) !important;
}
.mrk-cart-head { padding: 14px 16px !important; }
.mrk-cart-item {
   display: grid !important;
   grid-template-columns: 76px minmax(0, 1fr);
   gap: 10px 14px !important;
   padding: 14px 16px !important;
}
.mrk-cart-item-img {
   width: 76px !important;
   height: 76px !important;
   border-radius: 14px !important;
   border: 0 !important;
   background: var(--mapp-surface) !important;
}
.mrk-cart-item-title { font-size: 14.5px !important; }
.mrk-cart-item-controls {
   grid-column: 1 / -1;
   width: auto !important;
}
.mrk-cart-qty { height: 38px; background: var(--mapp-surface) !important; border-color: transparent !important; }
.mrk-cart-qty .aq-cart-page-qty-btn { padding: 8px 14px !important; font-size: 17px !important; }
.mrk-cart-item-total { min-width: 0 !important; margin-inline-start: auto; }
.mrk-cart-summary { margin-top: 12px !important; padding: 18px 16px !important; }
.mrk-cart-btn-gold, .mrk-cart-btn-outline { height: 50px !important; }
.mrk-cart-empty { padding: 48px 16px !important; }

/* =========================================================================
   11. Избранное (страница) — таблица превращается в список карточек
   ========================================================================= */
body.mapp-inner #aq-wishlist-page-container {
   margin: 0 !important;
}
#aq-wishlist-page-container { overflow: visible !important; }
#aq-wishlist-page-container .table {
   width: 100% !important;
   min-width: 0 !important;
   margin: 0;
}
#aq-wishlist-page-container tbody { display: block; }
#aq-wishlist-page-container thead { display: none; }
#aq-wishlist-page-table-body tr {
   display: grid;
   grid-template-columns: 84px minmax(0, 1fr) 38px;
   grid-template-areas:
      "img title remove"
      "img price remove"
      "img cta   cta";
   align-items: center;
   gap: 4px 14px;
   margin-bottom: 10px;
   padding: 12px;
   border: 1px solid var(--mapp-line);
   border-radius: var(--mapp-radius);
   background: #fff;
   box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
}
#aq-wishlist-page-table-body td {
   display: block;
   padding: 0 !important;
   border: 0 !important;
   width: auto !important;
}
#aq-wishlist-page-table-body .aq-cart-img { grid-area: img; }
#aq-wishlist-page-table-body .aq-cart-img img {
   width: 84px !important;
   height: 84px;
   object-fit: contain;
   border-radius: 14px;
   background: var(--mapp-surface);
   padding: 4px;
}
#aq-wishlist-page-table-body .aq-cart-title { grid-area: title; align-self: end; }
#aq-wishlist-page-table-body .aq-cart-title a {
   font-size: 14.5px;
   font-weight: 600;
   line-height: 1.3;
   color: var(--mapp-ink);
}
#aq-wishlist-page-table-body .aq-cart-price { grid-area: price; font-weight: 700; font-size: 14px; }
#aq-wishlist-page-table-body .aq-cart-quantity { grid-area: cta; margin-top: 6px; }
#aq-wishlist-page-table-body .aq-wishlist-page-add-to-cart {
   width: 100%;
   height: 40px;
   padding: 0 !important;
   border-radius: 20px !important;
}
#aq-wishlist-page-table-body .aq-cart-action {
   grid-area: remove;
   align-self: start;
   text-align: end;
}
#aq-wishlist-page-table-body .aq-cart-action-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 34px;
   height: 34px;
   padding: 0;
   border-radius: 50%;
   background: var(--mapp-surface);
}
#aq-wishlist-page-table-body .aq-cart-action-btn span { display: none; }
#aq-wishlist-page-footer .aq-cart-update { margin: 0 !important; }
#aq-wishlist-page-footer .aq-cart-update-btn {
   width: 100%;
   height: 50px;
   padding: 0 !important;
}
/* Пустой список — в том же виде, что пустая корзина и сравнение */
#aq-wishlist-page-container > .text-center { padding: 56px 16px !important; }
#aq-wishlist-page-container > .text-center h3 {
   font-size: 20px !important;
   font-weight: 700;
   letter-spacing: -.2px;
}
#aq-wishlist-page-container > .text-center p { font-size: 14px; color: var(--mapp-muted); }

/* =========================================================================
   12. Оформление заказа / формы
   ========================================================================= */
/* Страница оформления использует тот же .aq-cart-area, отступы — из раздела 10. */
body.mapp-inner .aq-cart-area .container { padding-inline: var(--mapp-gutter); }

/* =========================================================================
   13. Акции, новости, статья, о компании, контакты — меньше «воздуха» сверху
   ========================================================================= */
body.mapp-inner .aq-promo-area,
body.mapp-inner .aq-news-area,
body.mapp-inner .aq-art,
body.mapp-inner .aq-about-page,
body.mapp-inner .aq-contact {
   padding-top: 14px !important;
   padding-bottom: 28px !important;
}
body.mapp-inner .aq-promo-hero,
body.mapp-inner .aq-contact-head,
body.mapp-inner .aq-news-head,
body.mapp-inner .aq-about-head {
   margin-top: 0 !important;
}
body.mapp-inner .aq-news-head,
body.mapp-inner .aq-about-head {
   margin-bottom: 14px !important;
   padding-bottom: 14px !important;
}
body.mapp-inner .aq-promo-hero { border-radius: var(--mapp-radius) !important; }
body.mapp-inner .aq-contact-title { font-size: 24px !important; letter-spacing: -.3px; }
body.mapp-inner .aq-art-title { font-size: 24px !important; line-height: 1.25 !important; letter-spacing: -.3px; }
body.mapp-inner .aq-art-cover img,
body.mapp-inner .aq-about-thumb img { border-radius: var(--mapp-radius) !important; }

/* =========================================================================
   14. Заказ оформлен / мой заказ
   ========================================================================= */
body.mapp-inner .mrk-os-area,
body.mapp-inner .mrk-od-area {
   padding-top: 14px !important;
   padding-bottom: 28px !important;
}
body.mapp-inner .mrk-os-card,
body.mapp-inner .mrk-od-card {
   border-radius: var(--mapp-radius) !important;
}

/* =========================================================================
   15. Шапка: иконки справа (поиск · уведомления · корзина) — всегда в одну строку.
   Колонка — треть экрана; с колокольчиком (для вошедших) три иконки с отступами
   темы по 15px на узких телефонах не помещались, и корзина падала на вторую строку.
   ========================================================================= */
.aq-header-right-options {
   padding-inline-end: 6px;
}
.aq-header-right-options > ul {
   display: flex;
   flex-wrap: nowrap;
   align-items: center;
   justify-content: flex-end;
   gap: clamp(8px, 3.2vw, 14px);
   margin: 0;
   padding: 0;
}
.aq-header-right-options > ul > li {
   flex: 0 0 auto;
   display: flex;
   align-items: center;
   margin: 0 !important;
}
.aq-header-right-options > ul > li > button,
.aq-header-right-options > ul > li > a {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0;
   line-height: 1;
}
/* Бейдж корзины не должен выталкивать строку за край экрана */
.aq-header-right-options > ul > li .count-box {
   right: -9px;
   width: 20px;
   height: 20px;
   font-size: 11px;
   line-height: 20px;
}

/* =========================================================================
   16. Карточка товара: категория · название · цена — плотным блоком.
   Раньше между ними были «дыры»: у подписи категории line-height 26px при шрифте
   8.5–11px, под название всегда резервировались две строки (min-height), у цены —
   тоже 26px. Теперь строки идут вплотную с ровными отступами 3/5px.
   ========================================================================= */
.aq-product-item .aq-product-content .aqf-product-3-category {
   display: block;
   line-height: 1.2 !important;
   margin: 0 0 3px !important;
}
.aq-product-item .aq-product-content .aq-product-title {
   min-height: 0 !important;
   margin: 0 0 5px !important;
   line-height: 1.3 !important;
}
.aq-product-item .aq-product-content .aq-product-price {
   line-height: 1.25 !important;
   margin: 0 !important;
}

/* =========================================================================
   17. Плавная прокрутка без «дыр» и мерцания (все страницы).

   Замер 2026-09-26: на главной 63, в каталоге 234 элемента с backdrop-filter
   (у каждой карточки «сердечко» со стеклом). На телефоне каждый такой слой
   перерисовывается в каждом кадре прокрутки, и на быстрой прокрутке GPU не успевает:
   появляются пустые (белые) тайлы и мерцание. Поэтому стекло заменено почти
   непрозрачным фоном — визуально то же, но композитору нечего пересчитывать.
   ========================================================================= */
*, *::before, *::after {
   -webkit-backdrop-filter: none !important;
   backdrop-filter: none !important;
}
/* Полупрозрачные панели, которые держались на размытии, — почти сплошные */
.aq-bottom-menu,
body > header,
.mapp-bar,
.mcat-appbar,
.cmp-appbar,
.app-bar,
.pdm-buybar {
   background-color: rgba(255, 255, 255, .985) !important;
}
.aq-product-action .aq-product-action-btn.aq-wishlist-btn,
.mrk-popular-card .aq-product-action .aq-product-action-btn:nth-child(3),
.pdm-ab__btn,
.pd-gallery__expand,
.mcat-fab {
   background-color: rgba(255, 255, 255, .97) !important;
}

/* Закреплённые панели — на собственных слоях: при прокрутке их не перерисовывают */
.aq-bottom-menu,
.mcat-appbar,
.pdm-buybar {
   -webkit-transform: translateZ(0);
   transform: translateZ(0);
}
/* iOS: пока прячется/появляется нижняя панель Safari, под таб-баром на мгновение
   открывалась полоса страницы. Фон таб-бара продолжается вниз за край экрана. */
.aq-bottom-menu::after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   top: 100%;
   height: 120px;
   background: #fff;
   pointer-events: none;
}

/* «Резиновая» оттяжка у верхнего/нижнего края открывала пустое место под шапкой
   и под подвалом. Прокрутка у краёв останавливается, как в приложении. */
html,
body {
   overscroll-behavior-y: none;
}

/* Второе фото карточки показывается только по :hover — на телефоне его не бывает.
   Не рисуем и не декодируем его (lazy-картинки с display:none не загружаются). */
.aq-img-hover { display: none !important; }

/* Пока фото догружается на быстрой прокрутке, на его месте — тёплая подложка, а не «дыра» */
.aq-product-thumb,
.aq-blog-thumb,
.aq-about-thumb,
.pd-gallery,
.aqf-slider-thumb,
.aqf-banner-2-thumb {
   background-color: #f6f4f1;
}

/* На сенсорном экране :hover «залипает» после тапа — карточки прыгали вверх/вниз */
.mrk-popular-card:hover,
.aq-product-item:hover,
.mrk-blog-cards .aq-blog-item:hover,
.aq-blog-item:hover,
.mrk-rev__card:hover {
   transform: none !important;
}
