

/* Start:/local/templates/shop_v1/components/bitrix/menu/shop_bottom_nav/style.css?17835137812098*/
/* Bottom-nav витрины — визуально повторяет .lo-nav из мобильного приложения:
   белая карточка с тенью, круглые кликабельные слоты, активный подсвечивается
   акцентом. Клик по любому пункту с bridgeMessage закрывает IAB и (опц.)
   переводит приложение на нужный роут — навигация внутри shop идёт через
   header/cart/ссылки, а этот бар нужен для выхода из витрины. */

.shop-bottom-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--white);
    border-radius: 10px;
    height: 59px;
    width: calc(100% - 32px);
    max-width: 318px;
    box-shadow: 0 0 8px 4px rgba(164, 164, 163, 0.45);
    overflow: hidden;
}
.shop-bottom-nav__item {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}
.shop-bottom-nav__btn {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    border: none;
    padding: 0;
    color: #008eaa;
    transition: color 0.18s, background 0.18s;
    font-family: var(--font);
    font-size: 10px;
    line-height: 1;
}
.shop-bottom-nav__btn:hover,
.shop-bottom-nav__btn:focus-visible {
    background: rgba(0, 180, 216, 0.06);
    outline: none;
}
.shop-bottom-nav__icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
}
.shop-bottom-nav__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: fill 0.18s;
}
.shop-bottom-nav__label {
    display: none; /* в приложении подписей нет — иконок достаточно */
}
.shop-bottom-nav__item--active .shop-bottom-nav__btn {
    color: var(--white);
    background: var(--accent);
    border-radius: 8px;
}

/* End */


/* Start:/local/templates/shop_v1/styles.css?17835137813718*/
:root {
    --accent: #00b4d8;
    --accent-hover: #0096b8;
    --dark: #111;
    --muted: #8e8e93;
    --light: #f5f5f7;
    --border: #e0e0e0;
    --white: #fff;
    --danger: #ff3b30;
    --success: #34c759;
    --font: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shell-max-width: 480px;
    --header-height: 50px;
    --bottom-nav-height: 80px;
    --sticky-bar-height: 76px;
    --content-padding: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.shop-body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--light);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Shell — центрируем на десктопе, растягиваем на мобилке */
.shop-shell {
    max-width: var(--shell-max-width);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.06);
}

/* Header — sticky сверху, акцентный фон */
.shop-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header-height);
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 var(--content-padding) 0 4px;
    padding-top: env(safe-area-inset-top, 0);
    height: calc(var(--header-height) + env(safe-area-inset-top, 0));
}
.shop-header__btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0;
    flex-shrink: 0;
}
.shop-header__btn:hover,
.shop-header__btn:focus-visible { opacity: 0.85; }
.shop-header__title {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Main — прокручиваемая рабочая зона */
.shop-main {
    flex: 1;
    min-height: 0;
    padding: 0 0 calc(var(--bottom-nav-height) + var(--sticky-bar-height));
}

/* Sticky-bar — placeholder в footer, наполняется через AddViewContent('sticky_bar') */
.shop-sticky-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: var(--bottom-nav-height);
    z-index: 15;
    width: 100%;
    max-width: var(--shell-max-width);
    background: var(--white);
    padding: 12px var(--content-padding);
    box-shadow: 0 -1px 0 var(--border);
    display: flex;
    gap: 10px;
    align-items: center;
}
.shop-sticky-bar:empty {
    display: none;
}

/* Bottom-nav — фикс внизу */
.shop-bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 10;
    width: 100%;
    max-width: var(--shell-max-width);
    height: var(--bottom-nav-height);
    padding-bottom: env(safe-area-inset-bottom, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    pointer-events: none;
}
.shop-bottom-nav > * { pointer-events: auto; }

/* Утилиты для страниц-заглушек */
.shop-wip {
    padding: 40px var(--content-padding);
    text-align: center;
    color: var(--muted);
}
.shop-wip h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 12px;
}
.shop-wip p { font-size: 14px; line-height: 1.5; margin: 0; }

/* End */
/* /local/templates/shop_v1/components/bitrix/menu/shop_bottom_nav/style.css?17835137812098 */
/* /local/templates/shop_v1/styles.css?17835137813718 */
