/* --------------------------------------------------
   DESIGN TOKENS — warm hospitality / table-tent theme
-------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700&family=Dancing+Script:wght@600;700&family=Lato:wght@400;700&display=swap");

:root {
    --st-font: "Lato", "Segoe UI", sans-serif;
    --st-font-display: "Josefin Sans", "Segoe UI", sans-serif;
    --st-font-script: "Dancing Script", cursive;
    --st-bg: #FAF9F6;
    --st-surface: #ffffff;
    --st-text: #2A2018;
    --st-text-muted: #6B5B52;
    --st-heading: #3C2A21;
    --st-border: rgba(91, 44, 48, 0.12);
    --st-border-strong: rgba(91, 44, 48, 0.22);
    --st-primary: #5B2C30;
    --st-primary-hover: #3C2A21;
    --st-primary-dark: #3C2A21;
    --st-primary-soft: #F5EDE8;
    --st-navy: #3C2A21;
    --st-navy-mid: #5B2C30;
    --st-accent: #B26B5D;
    --st-accent-soft: #FAF0ED;
    --st-danger: #c0392b;
    --st-danger-hover: #962d22;
    --st-danger-soft: #fdecea;
    --st-success-soft: #F5EDE8;
    --st-success-text: #5B2C30;
    --st-radius: 6px;
    --st-radius-sm: 4px;
    --st-shadow: 0 2px 10px rgba(60, 42, 33, 0.06);
    --st-shadow-md: 0 6px 20px rgba(60, 42, 33, 0.1);
    --st-shadow-lg: 0 12px 32px rgba(60, 42, 33, 0.12);
    --st-focus: 0 0 0 3px rgba(178, 107, 93, 0.3);
    --st-grad-page: linear-gradient(165deg, #FAF9F6 0%, #F5F0EB 45%, #FAF9F6 100%);
    --st-grad-hero: linear-gradient(145deg, #3C2A21 0%, #5B2C30 40%, #B26B5D 85%, #D4A574 100%);
    --st-grad-btn: linear-gradient(180deg, #5B2C30 0%, #3C2A21 100%);
    --st-grad-card: linear-gradient(180deg, #ffffff 0%, #FAF9F6 100%);
    --st-grad-accent: linear-gradient(90deg, #B26B5D, #5B2C30);
    --st-grad-icon: linear-gradient(145deg, #5B2C30 0%, #B26B5D 100%);
}

/* Prevent Bootstrap .nav-link from overriding site header links */
.site-header a,
.site-header button {
    text-decoration: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--st-font);
    background: var(--st-grad-page);
    background-attachment: fixed;
    color: var(--st-text);
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--st-heading);
    font-family: var(--st-font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

a {
    color: var(--st-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--st-primary-hover);
}

/* --------------------------------------------------
   LAYOUT
-------------------------------------------------- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px;
}

.content {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

/* --------------------------------------------------
   HEADERS
-------------------------------------------------- */
.page-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--st-heading);
    letter-spacing: -0.03em;
}

.page-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: var(--st-grad-accent);
}

/* --------------------------------------------------
   CARD
-------------------------------------------------- */
.card {
    background: var(--st-grad-card);
    border-radius: var(--st-radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
    transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: var(--st-shadow-md);
    border-color: var(--st-border-strong);
    transform: translateY(-1px);
}

/* --------------------------------------------------
   FORM ELEMENTS
-------------------------------------------------- */
.form-group {
    margin-bottom: 1.15rem;
}

label,
.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
    display: block;
    color: var(--st-heading);
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select,
.form-control {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ccc;
    border-radius: var(--st-radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--st-text);
    background: var(--st-surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    border-color: var(--st-primary);
    outline: none;
    box-shadow: var(--st-focus);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--st-primary);
}

/* --------------------------------------------------
   BUTTONS — Groupon green CTAs
-------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    font-size: 0.925rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.01em;
    transition: background 0.15s ease, border-color 0.15s ease,
                box-shadow 0.15s ease, transform 0.1s ease, color 0.15s ease;
}

.btn-primary {
    background: var(--st-grad-btn);
    color: #fff;
    border-color: var(--st-primary);
    box-shadow: 0 2px 4px rgba(0, 138, 34, 0.25);
}

.btn-primary:hover {
    background: var(--st-primary-hover);
    color: #fff;
    border-color: var(--st-primary-hover);
    box-shadow: 0 4px 8px rgba(0, 138, 34, 0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--st-heading);
    border-color: #ccc;
    box-shadow: none;
}

.btn-secondary:hover {
    background: #fafafa;
    color: var(--st-heading);
    border-color: #999;
}

.btn-danger {
    background-color: var(--st-danger);
    color: #fff;
    border-color: var(--st-danger);
}

.btn-danger:hover {
    background-color: var(--st-danger-hover);
    border-color: var(--st-danger-hover);
    color: #fff;
}

.btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.28rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.25rem;
    box-shadow: none;
    border-radius: 4px;
    letter-spacing: 0;
}

.btn-sm.btn-primary {
    box-shadow: none;
}

.btn-sm.btn-primary:hover {
    box-shadow: none;
    transform: none;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    max-width: 520px;
}

.row-actions .btn {
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--st-focus);
}

/* --------------------------------------------------
   TABLES
-------------------------------------------------- */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.25rem;
    background: var(--st-surface);
    border-radius: var(--st-radius);
    overflow: hidden;
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
}

.table th,
.table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--st-border);
    text-align: left;
    vertical-align: middle;
}

.table th {
    background: linear-gradient(180deg, #F5EDE8 0%, #FAF0ED 100%);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--st-primary-dark);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background-color: #fafafa;
}

/* --------------------------------------------------
   BADGES
-------------------------------------------------- */
.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-active {
    background-color: var(--st-success-soft);
    color: var(--st-success-text);
}

.badge-inactive {
    background-color: var(--st-danger-soft);
    color: #991b1b;
}

/* --------------------------------------------------
   SPACING / FLEX
-------------------------------------------------- */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }

.flex { display: flex; }

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --------------------------------------------------
   ACTION PAGE BUTTONS
-------------------------------------------------- */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.action-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 0.95rem 1rem;
    font-size: 1rem;
}

/* --------------------------------------------------
   HOME / LANDING — Groupon-style hero
-------------------------------------------------- */
.home {
    max-width: 1140px;
}

.home-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.25rem;
    align-items: center;
    background: var(--st-grad-hero);
    color: #fff;
    border-radius: 16px;
    padding: 3rem 3rem;
    margin-bottom: 2.75rem;
    box-shadow: var(--st-shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.2), transparent 40%),
        radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.08), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.home-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -60px;
    bottom: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.home-hero > * {
    position: relative;
    z-index: 1;
}

.home-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 1.15rem;
}

.home-hero-brand::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.home-hero h1 {
    color: #fff;
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    margin-bottom: 1rem;
    max-width: 18ch;
}

.home-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 44ch;
    margin-bottom: 1.75rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-hero .btn-primary {
    background: #fff;
    color: var(--st-primary);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-hero .btn-primary:hover {
    background: #f5f5f5;
    color: var(--st-primary-dark);
    border-color: #f5f5f5;
}

.home-hero .btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.home-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.home-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-qr-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.home-qr-card svg {
    width: 118px;
    height: 118px;
    margin-bottom: 0.9rem;
}

.home-qr-card strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.home-qr-card span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.home-block {
    margin-bottom: 2.75rem;
}

.home-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.home-section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 0.65rem;
    border-radius: 999px;
    background: var(--st-grad-accent);
}

.home-section-sub {
    color: var(--st-text-muted);
    margin: 0.85rem 0 1.5rem;
    max-width: 58ch;
    font-size: 0.98rem;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.home-step {
    background: var(--st-grad-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 1.5rem;
    box-shadow: var(--st-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.home-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--st-grad-accent);
    opacity: 0.85;
}

.home-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--st-shadow-md);
}

.home-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--st-grad-icon);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 138, 34, 0.25);
}

.home-step h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.home-step p {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.home-feature {
    background: var(--st-grad-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 1.5rem 1.45rem 1.55rem;
    box-shadow: var(--st-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.home-feature::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--st-grad-accent);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.home-feature:hover {
    box-shadow: var(--st-shadow-md);
    transform: translateY(-2px);
}

.home-feature:hover::before {
    opacity: 1;
}

.home-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--st-radius-sm);
    background: var(--st-grad-icon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.home-feature-icon svg {
    width: 22px;
    height: 22px;
}

.home-feature h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.home-feature p {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.home-model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

.home-model {
    display: flex;
    gap: 1.1rem;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 1.4rem 1.45rem;
    box-shadow: var(--st-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-model:hover {
    transform: translateY(-2px);
    box-shadow: var(--st-shadow-md);
}

.home-model-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--st-radius-sm);
    background: var(--st-grad-icon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-model-icon svg {
    width: 24px;
    height: 24px;
}

.home-model h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.home-model p {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #F5EDE8 50%, #FAF0ED 100%);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 1.85rem 2rem;
    box-shadow: var(--st-shadow-md);
    color: var(--st-text);
    position: relative;
    overflow: hidden;
}

.home-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--st-grad-accent);
}

.home-cta h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: var(--st-heading);
}

.home-cta p {
    color: var(--st-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.home-cta-actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* --------------------------------------------------
   ACCOUNT / AUTH
-------------------------------------------------- */
.validation-message,
.text-danger,
.field-error {
    font-size: 0.85rem;
    color: var(--st-danger);
    font-weight: 600;
}

.alert {
    border-radius: var(--st-radius-sm);
    border: none;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr;
        padding: 2.1rem 1.6rem;
        gap: 1.75rem;
    }

    .home-hero h1 {
        max-width: none;
    }

    .home-hero-visual {
        order: -1;
    }

    .home-steps {
        grid-template-columns: 1fr;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-model-grid {
        grid-template-columns: 1fr;
    }

    .home-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .page-title {
        font-size: 1.45rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .card {
        padding: 1.25rem;
    }
}

/* Google Places autocomplete dropdown above Blazor cards/modals */
.pac-container {
    z-index: 10000 !important;
}

/* --------------------------------------------------
   BOOTSTRAP OVERRIDES — warm maroon theme
-------------------------------------------------- */
:root {
    --bs-primary: #5B2C30;
    --bs-primary-rgb: 91, 44, 48;
    --bs-link-color: #5B2C30;
    --bs-link-hover-color: #3C2A21;
    --bs-btn-bg: #5B2C30;
    --bs-btn-border-color: #5B2C30;
    --bs-btn-hover-bg: #3C2A21;
    --bs-btn-hover-border-color: #3C2A21;
    --bs-btn-active-bg: #3C2A21;
    --bs-btn-active-border-color: #3C2A21;
}

button.btn.btn-primary,
a.btn.btn-primary,
input.btn.btn-primary,
.btn.btn-primary {
    --bs-btn-bg: #5B2C30;
    --bs-btn-border-color: #5B2C30;
    --bs-btn-hover-bg: #3C2A21;
    --bs-btn-hover-border-color: #3C2A21;
    --bs-btn-active-bg: #3C2A21;
    --bs-btn-active-border-color: #3C2A21;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    background: var(--st-grad-btn) !important;
    background-color: #5B2C30 !important;
    color: #fff !important;
    border-color: #5B2C30 !important;
    border-radius: var(--st-radius-sm);
}

button.btn.btn-primary:hover,
a.btn.btn-primary:hover,
.btn.btn-primary:hover {
    background: #3C2A21 !important;
    background-color: #3C2A21 !important;
    color: #fff !important;
    border-color: #3C2A21 !important;
}

button.btn.btn-sm.btn-primary,
.btn.btn-sm.btn-primary {
    background: #5B2C30 !important;
    background-color: #5B2C30 !important;
    color: #fff !important;
    border-color: #5B2C30 !important;
}

button.btn.btn-danger,
a.btn.btn-danger,
.btn.btn-danger {
    --bs-btn-bg: #d32f2f;
    --bs-btn-border-color: #d32f2f;
    background-color: #d32f2f !important;
    color: #fff !important;
    border-color: #d32f2f !important;
}

button.btn.btn-danger:hover,
.btn.btn-danger:hover {
    background-color: #b71c1c !important;
    border-color: #b71c1c !important;
    color: #fff !important;
}

button.btn.btn-secondary,
a.btn.btn-secondary,
.btn.btn-secondary {
    background-color: #fff !important;
    color: #230f33 !important;
    border-color: #ccc !important;
}

.site-header .header-nav a,
.site-header .header-nav button,
.site-header .header-nav a.site-nav-link,
.site-header .header-nav button.site-nav-link {
    color: #333 !important;
    text-decoration: none !important;
}

.site-header .header-nav a:hover,
.site-header .header-nav button:hover {
    color: #B26B5D !important;
}

.site-header .header-nav a.active {
    color: #5B2C30 !important;
    background: #F5EDE8;
}

.site-header .header-nav a.site-nav-cta,
.site-header .header-nav a.site-nav-cta:hover,
.site-header .header-nav a.site-nav-cta.active {
    background: #5B2C30 !important;
    color: #fff !important;
}

.site-header .header-nav a.site-nav-cta:hover {
    background: #3C2A21 !important;
}

.site-header .header-nav a.site-nav-account {
    color: #757575 !important;
}

.site-header .brand {
    color: #5B2C30 !important;
}

/* Language bar — layout-only pin to very top (no code changes needed) */
:root {
    --st-lang-bar-height: 42px;
}

.lang-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #3C2A21 0%, #5B2C30 50%, #B26B5D 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 138, 34, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
}

body:has(.lang-bar) .site-header {
    top: var(--st-lang-bar-height);
}

.lang-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.lang-bar label {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.lang-select {
    border: 2px solid #fff;
    border-radius: 4px;
    padding: 6px 28px 6px 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    background: #fff;
    color: #230f33;
    cursor: pointer;
    min-width: 180px;
    max-width: 260px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.lang-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.lang-bar-full {
    width: 100%;
    gap: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
}

.lang-bar-full .lang-select {
    flex: 1;
    min-width: 0;
    max-width: none;
}

.field-highlight {
    outline: 2px solid #B26B5D;
    outline-offset: 4px;
    border-radius: 6px;
    transition: outline-color 0.2s;
}
