:root {
    --color-primary: #ffcc00;
    --color-bg: #e9ecef;
    --header-height: 62px;
    --controls-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--color-bg);
}

body {
    display: flex;
    flex-direction: column;
}

.main-header {
    height: var(--header-height);
    flex-shrink: 0;
    background: #fff;
    padding: 0 20px;
    border-bottom: 3px solid var(--color-primary);
    z-index: 10;
}

.header-container {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img    { height: 38px; }
.header-info { font-weight: bold; color: #555; font-size: 15px; }

.catalog-wrapper {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    position: relative;
}

.controls-bar {
    height: var(--controls-height);
    flex-shrink: 0;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 20;
    padding: 0 10px;
    gap: 8px;
}

@media (max-width: 640px) {
    :root {
        --header-height: 48px;
        --controls-height: 54px;
    }

    .logo-img    { height: 26px; }
    .header-info { font-size: 12px; }

    .catalog-wrapper { padding: 4px 2px; }

    .controls-bar {
        gap: 4px;
        padding: 0 4px;
        justify-content: center;
    }
}