/* Обычные страницы (page) — широкий editorial layout в стиле Zara */
.pearl-page {
    margin: 0;
    overflow-x: hidden;
}

.pearl-page .pearl-home-overlay {
    z-index: 120;
}

/* Внешняя оболочка: отступы под гамбургер слева и правое меню справа, широкий canvas */
.pearl-page-shell {
    padding: 110px 24px 80px;
    min-height: 100vh;
}

@media (min-width: 769px) {
    .pearl-page-shell {
        padding-left: 72px;   /* левое поле после гамбургера */
        padding-right: 200px; /* правое поле под колонку меню */
    }
}

/* Внутренний контейнер контента: ограниченная ширина по центру, без ощущения узкой колонки */
.pearl-page-layout {
    max-width: 1360px;
    margin: 0 auto;
}

.pearl-page-content-wrap {
    outline: none;
}

.pearl-page-header {
    margin-bottom: 2rem;
}

/* Заголовок страницы — editorial title, тот же стек шрифтов что и у названия товара (не логотип decoral) */
.pearl-page-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 0.5em;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.pearl-page-body {
    font-size: 1rem;
    line-height: 1.6;
}

.pearl-page-body p {
    margin: 0 0 1em;
}

.pearl-page-body h2 {
    font-size: 1.25rem;
    margin: 1.5em 0 0.5em;
}

.pearl-page-body h3 {
    font-size: 1.1rem;
    margin: 1.25em 0 0.5em;
}

.pearl-page-body ul,
.pearl-page-body ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.pearl-page-body a {
    color: inherit;
    text-decoration: underline;
}

/* Нижний блок навигации для редакционных серий (дочерние страницы) */
.pearl-editorial-nav {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.pearl-editorial-nav-back {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.pearl-editorial-nav-back a {
    text-decoration: none;
}

.pearl-editorial-nav-back a:hover {
    text-decoration: underline;
}

.pearl-editorial-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.pearl-editorial-nav-list li.current .pearl-editorial-nav-current {
    font-weight: 600;
}

.pearl-editorial-nav-list a {
    text-decoration: none;
}

.pearl-editorial-nav-list a:hover {
    text-decoration: underline;
}

/* Мобильная верхняя панель: только поиск и корзина (без фильтра/вида) */
.pearl-page-mobile-topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 135;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 12px 10px 72px;
}

@media (max-width: 768px) {
    .pearl-page .pearl-right-menu {
        display: none !important;
    }
    .pearl-page-mobile-topbar {
        display: flex !important;
    }
    .pearl-page-shell {
        padding-top: 60px;
    }
    .pearl-page .pearl-hamburger {
        z-index: 140;
        top: 14px;
        left: 14px;
    }
}
