* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-main: #050816;
    --bg-sidebar: #050816;
    --bg-elevated: #0b1020;
    --border-subtle: #1f2937;
    --accent: #10a37f;
    --accent-soft: rgba(16, 163, 127, 0.15);
    --text-primary: #e5e7eb;
    --text-secondary: #6b7280;
    --icon-color: #4b5563;
    --radius-lg: 16px;
    --radius-md: 10px;
    --sat: env(safe-area-inset-top, 0px);
    --sar: env(safe-area-inset-right, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
    --sal: env(safe-area-inset-left, 0px);
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #020617 100%);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
}

.sidebar {
    position: relative;
    width: 208px;
    background: linear-gradient(to bottom, #020617, #020617 60%, #050816 100%);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    padding: 8px;
    gap: 4px;
}

.sidebar.sidebar-collapsed { width: 56px; padding: 8px; }
.sidebar.sidebar-collapsed .menu-item span:not(.menu-item-icon),
.sidebar.sidebar-collapsed .browser-text { display: none; }
.sidebar.sidebar-collapsed .menu-item { justify-content: center; }
.sidebar.sidebar-collapsed .browser-button { justify-content: center; min-width: 40px; }

.menu-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.menu-item:hover { background: #111827; color: var(--text-primary); transform: translateY(-1px); }
.menu-item.active { background: var(--accent-soft); color: var(--text-primary); }

.menu-item-icon {
    width: 22px; height: 22px; min-width: 22px;
    border-radius: 999px;
    background: #020617;
    border: 1px solid #111827;
    display: flex; align-items: center; justify-content: center;
}

.menu-item-icon svg { width: 16px; height: 16px; color: currentColor; }

.sidebar-footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 10px;
    margin-top: 4px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.browser-button {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: inherit;
    width: 100%;
}

.browser-button:hover { background: rgba(17, 24, 39, 0.5); border-color: rgba(31, 41, 55, 0.5); }
.browser-icon-wrapper svg { width: 16px; height: 16px; fill: currentColor; }

.account-section { position: relative; }

.account-dropdown {
    position: absolute;
    bottom: 100%;
    left: -12px; right: -12px;
    margin-bottom: 4px;
    background: radial-gradient(circle at top left, rgba(16, 163, 127, 0.18), transparent 55%), rgba(15, 23, 42, 0.98);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 41, 55, 0.95);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.95);
    padding: 16px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: 400px;
    overflow-y: auto;
}

.account-dropdown.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover { background: rgba(31, 41, 55, 0.8); }
.dropdown-item svg { width: 16px; height: 16px; fill: currentColor; opacity: 0.8; }
.dropdown-separator { height: 1px; background: var(--border-subtle); margin: 8px 0; }
.dropdown-item--more-toggle { color: var(--text-secondary); font-size: 13px; }
.account-dropdown-more[hidden] { display: none !important; }

.app-wrap { display: flex; flex: 1; min-height: 0; flex-direction: row; }

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background:
        radial-gradient(circle at top, rgba(45, 212, 191, 0.08) 0, transparent 40%),
        radial-gradient(circle at bottom, rgba(59, 130, 246, 0.11) 0, transparent 50%),
        #020617;
}

body.sidebar-collapsed .content-header .header-brand {
    width: 160px;
    max-width: 160px;
    flex: 0 0 160px;
    padding-left: 4px;
    padding-right: 8px;
}

body.sidebar-collapsed .content-header .header-brand .header-logo-btn {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
}

.content-header {
    width: 100%;
    flex-shrink: 0;
    min-height: 48px;
    height: 52px;
    display: flex;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 8px 5px 4px;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
    box-sizing: border-box;
}

.content-header .header-brand {
    width: 208px;
    max-width: 208px;
    flex-shrink: 0;
    padding-left: 4px;
    padding-right: 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 8px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 0;
    min-width: 0;
    height: 100%;
}

.header-brand .header-logo-btn {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
}

.header-logo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 10px;
    height: 36px;
    min-height: 36px;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: none;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-logo-btn:hover {
    color: var(--text-primary);
    background: rgba(17, 24, 39, 0.6);
}

#header-logo-btn {
    font-size: 12px;
    padding-left: 0;
    padding-right: 10px;
}

.peoprint-logo {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 4px;
    margin-left: 4px;
    margin-right: 0;
    height: 100%;
    cursor: default;
    user-select: none;
    transition: opacity 0.2s ease;
    overflow: visible;
    flex-shrink: 0;
    position: relative;
}

.peoprint-logo-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.header-logo-btn.logo-phone,
.header-contact-fab.header-logo-btn {
    text-transform: none;
    letter-spacing: normal;
}

.header-contact-fab {
    display: none;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    border: none;
    cursor: pointer;
}

.header-contact-fab:focus,
.header-contact-fab:focus-visible {
    outline: none;
}

.header-contact-fab-phone {
    display: none;
    color: inherit;
    white-space: nowrap;
    line-height: 1;
    font: inherit;
    background: transparent;
    pointer-events: none;
}

.header-contact-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 200px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 1003;
    padding: 6px;
}

.header-contact-dropdown.visible { display: block; }

.header-contact-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
}

.header-contact-dropdown a:hover { background: #111827; color: var(--text-primary); }
.header-contact-dropdown svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }

.logo-social-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
    overflow: visible;
    flex-shrink: 0;
}

.logo-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--text-secondary);
    transition: color 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    flex-shrink: 0;
    overflow: visible;
}

.logo-social-link:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.logo-social-link.logo-social-link-viber:hover {
    background: #7360f2;
    color: white;
    border-radius: 50%;
}

.logo-social-link svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    fill: currentColor;
    flex-shrink: 0;
    overflow: visible;
}

.logo-phone { white-space: nowrap; }

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    flex-shrink: 0;
    border: none;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-secondary);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}

.mobile-menu-btn:hover { background: #111827; color: var(--text-primary); }
.mobile-menu-btn svg { width: 20px; height: 20px; }

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.mobile-header-actions .header-action-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-secondary);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.mobile-header-actions .header-action-btn:hover { background: #111827; color: var(--text-primary); }
.mobile-header-actions .header-action-btn svg { width: 18px; height: 18px; }

.header-action-btn.cart-wrap { position: relative; }
.cart-popover-wrap { position: relative; display: inline-block; }

.plus-dropdown-wrap {
    position: relative;
    z-index: 100;
}

.plus-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    z-index: 1001;
    padding: 6px;
}

.plus-dropdown.visible { display: block; }

.plus-dropdown button,
.plus-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.plus-dropdown button:hover,
.plus-dropdown a:hover { background: #111827; color: var(--text-primary); }

.plus-dropdown button svg,
.plus-dropdown a svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.sidebar-overlay.visible { display: block; opacity: 1; pointer-events: auto; }

.sidebar-close-drawer-btn {
    display: none;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: none; border-radius: 10px;
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-secondary);
    cursor: pointer;
}

.sidebar-close-drawer-btn svg { width: 22px; height: 22px; }

.content-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

.browser-tabs {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    gap: 8px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.8);
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
    overflow-x: auto;
    flex-shrink: 0;
}

.browser-tabs[hidden] {
    display: none !important;
}

.browser-tab {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.browser-tab:hover { background: rgba(31, 41, 55, 0.6); color: var(--text-primary); }
.browser-tab.active { background: var(--accent-soft); color: var(--text-primary); border-color: rgba(16, 163, 127, 0.35); }

.page-panel {
    max-width: 720px;
    margin: 0 auto;
}

.page-panel h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-panel p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 15px;
}

.page-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.2s, transform 0.1s;
}

.page-cta:hover { opacity: 0.92; transform: translateY(-1px); }

.access-denied-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: min(420px, calc(100vh - 200px));
    padding: 48px 24px;
    text-align: center;
}

.access-denied-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    opacity: 0.55;
}

.access-denied-icon svg {
    width: 100%;
    height: 100%;
}

.access-denied-message {
    max-width: 320px;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Universe tab */
.content-body.universe-active {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content-body.universe-active #content-area {
    flex: 1;
    min-height: 0;
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.universe-root,
.universe-page {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.universe-loading {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.universe-item-page {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #020617;
}

.universe-item-card {
    position: relative;
    height: 100%;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 844 / 390;
    border: 1px solid rgba(31, 41, 55, 0.95);
    border-radius: 0;
    overflow: hidden;
    background: #020617;
    box-sizing: border-box;
}

.universe-item-card .universe-tile-media {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.universe-item-card .universe-tile-img,
.universe-item-card .universe-tile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.universe-item-card .universe-tile-3d {
    width: 100%;
    height: 100%;
}

.universe-item-page--threejs {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: #111;
}

.universe-threejs-frame {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    display: block;
    background: #111;
}

.universe-category-title {
    flex-shrink: 0;
    padding: 10px 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.universe-back-btn {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 5;
    padding: 6px 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0;
    background: rgba(2, 6, 23, 0.75);
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.universe-back-btn:hover {
    border-color: var(--accent);
    color: #ecfdf5;
}

.universe-viewport {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    outline: none;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    display: block;
    position: relative;
}

.universe-wheel {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    width: max-content;
    height: var(--universe-grid-h, 100%);
    will-change: transform;
}

.universe-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: var(--universe-tile-w, 180px);
    height: var(--universe-grid-h, 100%);
    min-height: 0;
}

.universe-tile {
    position: relative;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: var(--universe-tile-w, 180px);
    height: var(--universe-tile-h, 83px);
    min-width: var(--universe-tile-w, 180px);
    max-width: var(--universe-tile-w, 180px);
    min-height: var(--universe-tile-h, 83px);
    max-height: var(--universe-tile-h, 83px);
    border: 1px solid rgba(31, 41, 55, 0.95);
    border-radius: 0;
    margin: 0;
    padding: 0;
    background: #020617;
    overflow: hidden;
    cursor: default;
    font: inherit;
    color: inherit;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.universe-tile-empty {
    background: rgba(15, 23, 42, 0.6);
}

.universe-tile-center {
    cursor: pointer;
    box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.75);
    z-index: 1;
}

.universe-tile-center:hover {
    box-shadow: inset 0 0 0 2px rgba(52, 211, 153, 0.95), 0 0 24px rgba(16, 185, 129, 0.2);
}

.universe-tile-media {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.universe-tile-img,
.universe-tile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.universe-tile-3d {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

@media (max-width: 900px) {
    .universe-tile-center { box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.75); }
}

/* Shop tab — blurred vitrina preview */
.content-body.shop-preview-active {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content-body.shop-preview-active #content-area {
    flex: 1;
    min-height: 0;
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.shop-preview-page {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-preview-bg {
    position: absolute;
    inset: -24px;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.shop-preview-bg-inner {
    width: 100%;
    height: 100%;
    transform: scale(1.06);
    filter: blur(14px) saturate(0.88) brightness(0.72);
    opacity: 0.95;
}

.shop-preview-scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(2, 6, 23, 0.15) 0%, rgba(2, 6, 23, 0.55) 100%);
    pointer-events: none;
}

.shop-enter-btn {
    position: relative;
    z-index: 2;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
    text-transform: uppercase;
    color: #f8fafc;
    background: transparent;
    border: 2px solid rgba(226, 232, 240, 0.55);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.4),
        0 0 48px rgba(16, 185, 129, 0.12),
        inset 0 0 32px rgba(16, 185, 129, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, color 0.2s ease;
}

.shop-enter-btn:hover {
    color: #ecfdf5;
    border-color: rgba(52, 211, 153, 0.85);
    transform: scale(1.05);
    box-shadow:
        0 0 0 1px rgba(52, 211, 153, 0.25),
        0 0 64px rgba(16, 185, 129, 0.28),
        inset 0 0 40px rgba(16, 185, 129, 0.08);
}

.shop-enter-btn:active {
    transform: scale(0.98);
}

.shop-vitrina-layout {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
}

.shop-vitrina-hero {
    width: 100%;
    margin-bottom: 24px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.95);
}

.shop-vitrina-hero-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 1;
    min-height: 100px;
}

.shop-vitrina-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.shop-vitrina-hero-slide.active { opacity: 1; }

.shop-vitrina-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-vitrina-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 48px;
}

.shop-vitrina-section {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(31, 41, 55, 0.9);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.shop-vitrina-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.shop-vitrina-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.shop-vitrina-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #020617;
    border: 1px solid rgba(31, 41, 55, 0.8);
}

.shop-vitrina-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-vitrina-loading {
    padding: 48px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 900px) {
    .shop-vitrina-grid { grid-template-columns: 1fr 1fr; }
    .shop-vitrina-hero-inner { aspect-ratio: 8 / 3; min-height: 140px; }
    .shop-enter-btn {
        width: 140px;
        height: 140px;
        font-size: 17px;
    }
}

.page-placeholder {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(31, 41, 55, 0.9);
    background: rgba(15, 23, 42, 0.4);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.chat-panel {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.5);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-bubble.system {
    background: rgba(31, 41, 55, 0.8);
    color: var(--text-secondary);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
}

.chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(2, 6, 23, 0.6);
}

.chat-input-row input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: #020617;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
}

.chat-input-row button {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.callback-banner {
    position: fixed;
    bottom: calc(24px + var(--sab));
    right: calc(24px + var(--sar));
    left: auto;
    width: 320px;
    max-width: calc(100vw - 48px);
    background: radial-gradient(circle at top left, rgba(16, 163, 127, 0.18), transparent 55%),
                rgba(15, 23, 42, 0.98);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.95), 0 0 0 1px rgba(15, 23, 42, 0.9);
    padding: 18px 18px 16px;
    z-index: 1000;
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.callback-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.callback-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.callback-banner-header h3 { font-size: 15px; font-weight: 500; }

.close-banner {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.close-banner:hover {
    background: #111827;
    color: #f87171;
    transform: rotate(6deg);
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.callback-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.callback-form .form-group label {
    font-size: 12px;
    color: var(--text-secondary);
}

.callback-form .form-group .required { color: #f97316; }

.callback-form .form-group input,
.callback-form .form-group textarea {
    background: #020617;
    border-radius: 999px;
    border: 1px solid #1f2937;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.callback-form .form-group textarea {
    border-radius: 12px;
    min-height: 60px;
    resize: vertical;
}

.callback-form .form-group input:focus,
.callback-form .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(16, 163, 127, 0.6);
    background: #020617;
}

.callback-form .form-group input.error,
.callback-form .form-group textarea.error {
    border-color: #f97373;
}

.time-selector { display: flex; justify-content: center; }

.time-controls-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-controls {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.time-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #1f2937;
    background: #111827;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.time-btn:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: var(--accent);
    transform: scale(1.05);
}

.time-btn:active { transform: scale(0.95); }

.time-separator {
    width: 1px;
    height: 24px;
    background: var(--border-subtle);
}

.time-display { display: flex; justify-content: center; }

.time-display input {
    text-align: center;
    width: 60px;
    background: #020617;
    border-radius: 6px;
    border: 1px solid #1f2937;
    padding: 8px 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    -moz-appearance: textfield;
}

.time-display input::-webkit-outer-spin-button,
.time-display input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.time-display input:focus { border-color: var(--accent); }

.error-message {
    font-size: 11px;
    color: #f97373;
    display: none;
}

.error-message.show { display: block; }

.submit-button {
    margin-top: 4px;
    padding: 9px 14px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(to right, #10b981, #22c55e);
    color: #ecfdf5;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.1s ease;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
    filter: brightness(1.03);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: default;
    box-shadow: none;
}

.success-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.success-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.success-modal-content {
    width: 420px;
    max-width: calc(100% - 32px);
    background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.15), transparent 55%),
                rgba(15, 23, 42, 0.98);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.95), 0 0 0 1px rgba(16, 185, 129, 0.2), 0 0 40px rgba(16, 185, 129, 0.1);
    padding: 24px;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.visible .success-modal-content { transform: scale(1); }

.success-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.success-icon::before {
    content: '✓';
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.success-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.success-modal-message {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.success-order-id {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 20px;
}

.success-order-id-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.success-order-id-value {
    font-size: 13px;
    color: #10b981;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    word-break: break-all;
}

.error-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.error-icon::before {
    content: '!';
    color: white;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.error-modal-content {
    width: 420px;
    max-width: calc(100% - 32px);
    background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.16), transparent 55%),
                rgba(15, 23, 42, 0.98);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.95), 0 0 0 1px rgba(239, 68, 68, 0.25), 0 0 40px rgba(239, 68, 68, 0.08);
    padding: 24px;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.visible .error-modal-content { transform: scale(1); }

.error-modal-message {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.success-modal-button {
    width: 100%;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(to right, #10b981, #22c55e);
    color: #ecfdf5;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.1s ease;
}

.success-modal-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
    filter: brightness(1.03);
}

@media (max-width: 900px) {
    body { flex-direction: column; overflow-x: hidden; }
    .sidebar {
        position: fixed;
        top: 0; left: -208px;
        width: 208px;
        max-width: 85vw;
        height: 100dvh;
        z-index: 101;
        transition: left 0.25s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.3);
        padding: calc(8px + var(--sat)) calc(12px + var(--sar)) calc(12px + var(--sab)) calc(12px + var(--sal));
    }
    body.sidebar-drawer-open .sidebar { left: 0; }
    body.sidebar-drawer-open .sidebar-overlay.visible { display: block; opacity: 1; pointer-events: auto; }
    body.sidebar-drawer-open .sidebar-close-drawer-btn { display: flex; }
    .content-header {
        position: sticky;
        top: 0;
        padding-top: max(4px, var(--sat));
        z-index: 1003;
        flex-shrink: 0;
        height: 48px;
        padding: 4px 6px 4px 4px;
        gap: 8px;
        flex-wrap: nowrap;
        overflow: visible;
        min-width: 0;
        background: #020617;
        border-bottom: 1px solid rgba(31, 41, 55, 0.85);
    }
    .plus-dropdown-wrap { overflow: visible; }
    .plus-dropdown {
        position: fixed;
        top: 48px;
        right: 12px;
        left: auto;
        margin-top: 0;
        z-index: 1002;
    }
    .header-contact-dropdown {
        position: fixed;
        top: 48px;
        right: 12px;
        left: 12px;
        width: auto;
        margin-top: 0;
    }
    .content-header .header-contact-fab { display: flex; }
    .content-header .header-contact-fab .header-contact-fab-phone { display: block; }
    .peoprint-logo-inline { display: none !important; }
    .content-header .peoprint-logo {
        margin-right: 0;
        margin-left: 0;
        min-width: 0;
        flex: 0 0 auto;
        overflow: visible;
    }
    .content-header .header-brand {
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
        flex-shrink: 0;
        margin-right: 0;
        padding-left: 4px;
        padding-right: 0;
        gap: 8px;
    }
    .content-header #header-logo-btn {
        font-size: 12px;
        padding-left: 0;
        letter-spacing: 0.06em;
    }
    .content-header .header-contact-fab.header-logo-btn,
    .content-header .logo-phone.header-logo-btn {
        font-size: 13px;
        height: 36px;
        min-height: 36px;
        padding: 0 10px;
    }
    .content-header .header-logo-btn.logo-phone,
    .content-header .header-contact-fab.header-logo-btn {
        letter-spacing: normal;
    }
    .content-header .logo-social-links { margin-right: 6px; flex-shrink: 0; }
    .content-header .logo-phone {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .mobile-header-actions { display: flex; }
    .cart-popover-wrap { position: relative; overflow: visible; }
    .callback-banner {
        right: calc(12px + var(--sar));
        left: auto;
        bottom: calc(12px + var(--sab));
        width: calc(100vw - 24px - var(--sal) - var(--sar));
        max-width: 100%;
    }
    .account-dropdown {
        bottom: 100%;
        left: -24px; right: -12px;
        width: auto;
    }
}
