/* ═══════════════════════════════════════════════════════════════
   Shopping — Shared Stylesheet
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Arial, "Helvetica Neue", sans-serif;
    background: #f7f8fa;
    color: #0f1111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
    background: #131921;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

.header-logo {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.header-logo .accent { color: #f90; }

/* ── Language dropdown (shared for header & footer) ─────────── */
.lang-select select {
    background: transparent;
    border: 1px solid #4a5568;
    color: #cbd5e0;
    padding: 5px 26px 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color .15s, color .15s;
}
.lang-select select:hover,
.lang-select select:focus { border-color: #f90; color: #fff; outline: none; }
.lang-select select option { background: #232f3e; color: #fff; }

/* ── Top accent bar (used on check / 500) ───────────────────── */
.top-bar { height: 4px; flex-shrink: 0; }
.top-bar-blue  { background: linear-gradient(90deg, #1a2332 0%, #e87722 100%); }
.top-bar-red   { background: linear-gradient(90deg, #1a2332 0%, #c62828 100%); }

/* ── Main flex area ─────────────────────────────────────────── */
.main-content { flex: 1; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: #232f3e;
    padding: 22px 20px 18px;
    text-align: center;
    flex-shrink: 0;
}
.footer-inner { max-width: 780px; margin: 0 auto; }

.footer-nav { margin-bottom: 14px; }
.footer-nav a {
    color: #c8cdd4;
    text-decoration: none;
    font-size: 13px;
    margin: 0 10px;
    transition: color .15s;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-nav .sep { color: #4a5a6a; }

.footer-lang { margin-bottom: 12px; }
.footer-lang select {
    background: transparent;
    border: 1px solid #4a5568;
    color: #a0aec0;
    padding: 4px 26px 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color .15s, color .15s;
}
.footer-lang select:hover,
.footer-lang select:focus { border-color: #f90; color: #fff; outline: none; }
.footer-lang select option { background: #232f3e; color: #fff; }

.footer-copy { font-size: 12px; color: #6a7a8a; }

/* ── Utility ─────────────────────────────────────────────────── */
@media (max-width: 520px) {
    .site-header { padding: 0 14px; }
}
