:root {
    --brand-primario: #0a4d8c;
    --brand-secondario: #ffffff;
    --brand-accent: #ff7a18;
    --brand-text: #222222;
    --brand-bg: #f7f7f7;
}

body {
    background: var(--brand-bg);
    color: var(--brand-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,249,255,0.96) 100%);
    color: var(--brand-text);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.shop-header__rail {
    background: linear-gradient(90deg, #102542 0%, var(--brand-primario) 100%);
    color: rgba(255,255,255,0.86);
}

.shop-header__rail-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-header__rail-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--brand-accent);
}

.shop-header__shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.shop-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--brand-text);
    text-decoration: none;
}

.shop-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-primario), #102542);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(10, 77, 140, 0.22);
}

.shop-brand__copy {
    display: grid;
}

.shop-brand__copy strong {
    font-size: 1.05rem;
    line-height: 1.1;
}

.shop-brand__copy span {
    color: #64748b;
    font-size: 0.92rem;
}

.shop-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--brand-text);
    font-weight: 700;
    text-decoration: none;
}

.shop-nav-links a:hover {
    background: rgba(10, 77, 140, 0.08);
    color: var(--brand-primario);
}

.shop-header__checkout:hover {
    color: #ffffff;
    background: var(--brand-accent);
}

a {
    color: var(--brand-accent);
}

.button {
    background: var(--brand-accent);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    display: inline-block;
    text-decoration: none;
}

.card {
    border: 1px solid rgba(0,0,0,0.08);
    background: #ffffff;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px;
}

section {
    margin-bottom: 24px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-bottom: 16px;
}

label {
    display: block;
    color: var(--brand-text);
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 6px;
}

button.button {
    border: none;
    cursor: pointer;
}

.layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.sidebar {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px;
}

.filter-panel h2,
.filter-group h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.filter-group {
    margin-bottom: 18px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.product-gallery img {
    width: 100%;
    border-radius: 12px;
}

.product-actions {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 24px;
}

.configurator {
    margin-top: 16px;
}

.configurator label {
    display: block;
    margin-bottom: 14px;
}

@media (max-width: 920px) {
    .shop-header__shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-nav-links {
        width: 100%;
    }
}
