:root {
    --bg: #050505;
    --panel: #111111;
    --panel-soft: #171717;
    --text: #f5f5f5;
    --muted: #ababab;
    --line: #232323;
    --header: rgba(5, 5, 5, 0.95);
    --green: #22dd22;
    --green-soft: rgba(34, 221, 34, 0.12);
    --danger: #ef4444;
    --description-bg: #17231a;
    --radius: 8px;
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    --page-offset: 5.75rem;
    --font-body: 1rem;
    --font-body-tight: 0.95rem;
    --font-label: 0.92rem;
    --font-caption: 0.84rem;
    --font-brand: 1.5rem;
    --font-page-title: 2.15rem;
    --font-section-title: 1.55rem;
    --font-hero-title: 3.2rem;
    --font-card-title: 1.08rem;
    --font-price: 1.12rem;
}

html[data-theme="light"] {
    --bg: #f4f7f3;
    --panel: #ffffff;
    --panel-soft: #edf3ee;
    --text: #0f1712;
    --muted: #5e6d64;
    --line: #d7e1d9;
    --header: rgba(244, 247, 243, 0.94);
    --green: #179c36;
    --green-soft: rgba(23, 156, 54, 0.12);
    --danger: #dc2626;
    --description-bg: #edf8ef;
    --shadow: 0 18px 42px rgba(22, 40, 28, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: var(--font-body);
    line-height: 1.65;
    transition: background 0.25s ease, color 0.25s ease;
    overflow-x: hidden;
}

[dir="rtl"] body {
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.page-shell {
    padding-top: var(--page-offset);
}

.section {
    padding: 2.5rem 0;
}

.section-tight {
    padding: 1.5rem 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    background: var(--header);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 5.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    font-size: var(--font-brand);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    max-width: 10ch;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.primary-nav > a,
.nav-categories summary,
.admin-link {
    padding: 0.7rem 0.95rem;
    border-radius: var(--radius);
    color: var(--muted);
    font-size: var(--font-body-tight);
}

.primary-nav > a.active,
.primary-nav > a:hover,
.nav-categories[open] summary,
.admin-link.active,
.admin-link:hover {
    color: var(--text);
    background: var(--panel-soft);
}

.nav-categories {
    position: relative;
}

.nav-categories summary {
    cursor: pointer;
    list-style: none;
}

.nav-categories summary::-webkit-details-marker {
    display: none;
}

.nav-categories-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 320px;
    max-height: min(70vh, 560px);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.nav-category-group {
    display: grid;
    gap: 0.4rem;
}

.nav-category-root {
    font-weight: 700;
}

.nav-category-child {
    color: var(--muted);
    font-size: var(--font-body-tight);
}

.nav-category-child:hover {
    color: var(--green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-actions form {
    margin: 0;
}

.preference-group {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
}

.segment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: var(--font-caption);
    font-weight: 700;
}

.segment.active,
.segment:hover {
    background: var(--panel-soft);
    color: var(--text);
}

.theme-toggle {
    min-width: 7rem;
}

.theme-toggle-swatch {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background:
        linear-gradient(135deg, #f9fafb 0 50%, #1b1d1f 50% 100%);
    border: 1px solid var(--line);
}

.mobile-nav-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    font-size: var(--font-body-tight);
    min-height: 2.85rem;
}

.nav-scrim {
    display: none;
    border: 0;
    padding: 0;
    background: transparent;
}

body.nav-open {
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: var(--radius);
    padding: 0.8rem 1.1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
    min-height: 2.9rem;
    font-size: var(--font-body-tight);
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--green);
    color: #051005;
    font-weight: 700;
}

.btn-outline {
    border-color: var(--green);
    color: var(--green);
    background: transparent;
}

.btn-ghost {
    border-color: var(--line);
    background: var(--panel);
    color: var(--text);
}

.btn-block {
    width: 100%;
}

.btn.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.count-pill,
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    min-height: 1.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--green);
    color: #021102;
    font-size: var(--font-caption);
    font-weight: 700;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    padding: 2.4rem 0 2rem;
}

.hero-card,
.panel,
.category-card,
.product-card,
.stats-card,
.table-panel,
.summary-card,
.auth-card,
.empty-state,
.success-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-title,
.page-title,
.section-title {
    margin: 0 0 0.8rem;
    line-height: 1.1;
}

.hero-title {
    font-size: clamp(1.85rem, 3.35vw, var(--font-hero-title));
    max-width: 13.5ch;
    text-wrap: balance;
}

.page-title {
    font-size: var(--font-page-title);
}

.section-title {
    font-size: var(--font-section-title);
}

.hero-copy p,
.section-subtitle,
.muted {
    color: var(--muted);
}

.hero-copy p,
.section-subtitle {
    max-width: 62ch;
    font-size: var(--font-body);
}

.hero-actions,
.toolbar,
.split-actions,
.summary-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.hero-visual {
    min-height: 340px;
    max-height: 420px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(34, 221, 34, 0.16), transparent 55%),
        linear-gradient(180deg, var(--panel-soft), var(--panel));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.hero-visual::before {
    inset: 12% 12% auto auto;
    width: 180px;
    height: 220px;
}

.hero-visual::after {
    inset: auto auto 12% 10%;
    width: 220px;
    height: 160px;
}

.hero-visual img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-kpi {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-size: var(--font-body-tight);
}

.eyebrow {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: var(--font-caption);
    font-weight: 700;
}

.feature-grid,
.category-grid,
.product-grid,
.stats-grid,
.detail-grid {
    display: grid;
    gap: 1rem;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid,
.product-grid,
.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.stats-card {
    padding: 1.2rem;
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.feature-card strong,
.stats-card strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.category-card {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.category-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.category-visual {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel-soft);
    margin-bottom: 0.35rem;
}

.category-list,
.mini-list,
.detail-list,
.stack-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.category-list a,
.mini-list a {
    color: var(--muted);
}

.category-list a:hover,
.mini-list a:hover {
    color: var(--green);
}

.category-card .category-list {
    max-height: 13rem;
    overflow-y: auto;
    padding-right: 0.25rem;
    overscroll-behavior: contain;
}

[dir="rtl"] .category-card .category-list {
    padding-right: 0;
    padding-left: 0.25rem;
}

.product-card {
    overflow: hidden;
}

.product-card img,
.detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #0d0d0d;
}

.product-card-body,
.summary-card,
.auth-card,
.success-card {
    padding: 1.2rem;
}

.product-card h3,
.detail-copy h1 {
    margin: 0.5rem 0;
}

.product-card h3 {
    font-size: var(--font-card-title);
    line-height: 1.35;
}

.product-description-text {
    margin: 0.75rem 0 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--description-bg);
    color: var(--text);
}

.product-card-description {
    margin: 0.85rem 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--description-bg);
    color: var(--text);
}

.product-meta,
.price-row,
.table-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.price {
    color: var(--green);
    font-size: var(--font-price);
    font-weight: 700;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: var(--font-caption);
    font-weight: 700;
}

.badge.badge-danger {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

.shop-layout,
.detail-layout,
.checkout-layout,
.cart-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
}

.detail-layout {
    grid-template-columns: 1fr 1fr;
}

.checkout-layout,
.cart-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.sidebar {
    position: sticky;
    top: 6.5rem;
    align-self: start;
    padding: 1rem;
}

.filter-form,
.auth-form,
.stack-form {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.4rem;
}

.field label {
    font-size: var(--font-label);
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel-soft);
    color: var(--text);
    padding: 0.85rem 0.95rem;
    font-size: var(--font-body-tight);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.table-panel {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

th,
td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: start;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: var(--font-caption);
    font-weight: 700;
    background: var(--panel-soft);
}

.cell-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.summary-card {
    position: sticky;
    top: 6.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
}

.summary-row.total {
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 700;
}

.line-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.line-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius);
}

.auth-wrap {
    display: flex;
    justify-content: center;
    padding: 2rem 0 4rem;
}

.auth-card {
    width: min(520px, 100%);
}

.alert {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.alert-success {
    background: rgba(34, 221, 34, 0.12);
    color: #c7ffc7;
    border-color: rgba(34, 221, 34, 0.25);
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #ffd2d2;
    border-color: rgba(239, 68, 68, 0.25);
}

.error-list {
    margin: 0;
    padding-left: 1rem;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pager-text {
    color: var(--muted);
}

.admin-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.25rem;
}

.admin-sidebar {
    position: sticky;
    top: 6.5rem;
    align-self: start;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admin-main {
    min-width: 0;
}

.toolbar {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.toolbar form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.toolbar form input {
    min-width: 220px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    padding: 0.8rem 0.9rem;
    font-size: var(--font-body-tight);
}

.empty-state,
.success-card {
    padding: 2rem;
    text-align: center;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.6rem 0 2rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

[dir="rtl"] .header-inner,
[dir="rtl"] .footer-inner,
[dir="rtl"] .toolbar,
[dir="rtl"] .product-meta,
[dir="rtl"] .price-row,
[dir="rtl"] .summary-row {
    direction: rtl;
}

[dir="rtl"] .nav-categories-panel {
    left: 0;
    right: auto;
}

[dir="rtl"] .line-item {
    grid-template-columns: minmax(0, 1fr) 72px;
}

[dir="rtl"] .primary-nav {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 980px) {
    :root {
        --page-offset: 5.5rem;
        --font-page-title: 1.95rem;
        --font-section-title: 1.4rem;
        --font-hero-title: 2.65rem;
    }

    .shop-layout,
    .detail-layout,
    .checkout-layout,
    .cart-layout,
    .admin-layout,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
        gap: 1.25rem;
        padding: 1.75rem 0 1.25rem;
    }

    .feature-grid,
    .category-grid,
    .product-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar,
    .summary-card,
    .admin-sidebar {
        position: static;
    }

    .hero-visual {
        min-height: 260px;
        max-height: 320px;
    }
}

@media (max-width: 900px) {
    :root {
        --page-offset: 0rem;
        --font-brand: 1.1rem;
        --font-page-title: 1.75rem;
        --font-section-title: 1.3rem;
        --font-hero-title: 2rem;
        --font-card-title: 1rem;
    }

    .site-header {
        position: sticky;
        top: 0;
        backdrop-filter: none;
    }

    .header-inner {
        min-height: auto;
        padding: 0.65rem 4.6rem 0.65rem 0;
        flex-wrap: wrap;
        gap: 0.55rem;
        position: relative;
    }

    [dir="rtl"] .header-inner {
        padding: 0.65rem 0 0.65rem 4.6rem;
    }

    .brand {
        max-width: none;
        flex: 1 1 auto;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        order: 2;
        position: absolute;
        top: 0.65rem;
        right: 0;
        z-index: 140;
        min-height: 2.4rem;
        padding: 0.55rem 0.75rem;
    }

    .primary-nav {
        display: flex;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        z-index: 120;
        width: min(320px, 86vw);
        height: 100dvh;
        max-height: 100dvh;
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
        background: var(--panel);
        border-right: 1px solid var(--line);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        order: 4;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    .primary-nav.open {
        transform: translateX(0);
    }

    .nav-scrim.open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(0, 0, 0, 0.5);
        cursor: default;
    }

    [dir="rtl"] .primary-nav {
        left: auto;
        right: 0;
        border-right: 0;
        border-left: 1px solid var(--line);
        transform: translateX(105%);
    }

    [dir="rtl"] .primary-nav.open {
        transform: translateX(0);
    }

    .header-actions {
        display: flex;
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        gap: 0.3rem;
        flex-wrap: nowrap;
        justify-content: stretch;
        overflow: visible;
    }

    .nav-categories-panel {
        position: static;
        min-width: 0;
        max-height: 50vh;
        margin-top: 0.75rem;
    }

    .theme-toggle {
        min-width: 0;
    }

    .segment {
        min-width: 1.8rem;
        padding: 0.3rem 0.42rem;
        font-size: 0.68rem;
    }

    .theme-toggle,
    .header-actions .btn {
        min-height: 2.1rem;
        padding: 0.38rem 0.44rem;
        font-size: 0.68rem;
        white-space: nowrap;
    }

    .header-actions > a.btn,
    .header-actions > form,
    .header-actions > button,
    .header-actions > .preference-group {
        flex: 0 0 auto;
        min-width: 0;
    }

    .header-actions > form .btn {
        width: 100%;
    }

    .header-actions > a.btn {
        width: auto;
    }

    .preference-group {
        flex-basis: 4.25rem;
        gap: 0.18rem;
        padding: 0.22rem;
    }

    .theme-toggle {
        flex: 0 0 3.9rem;
        gap: 0.3rem;
        width: auto;
    }

    [dir="rtl"] .mobile-nav-toggle {
        left: 0;
        right: auto;
    }

    .header-actions > a[href*="login"] {
        flex: 0 0 5.15rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-actions > a[href*="register"] {
        flex: 0 0 5.45rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-copy p,
    .section-subtitle {
        font-size: var(--font-body-tight);
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(100%, 420px);
        min-height: 190px;
        max-height: 220px;
        justify-self: center;
    }

    .hero-kpi {
        font-size: 0.88rem;
    }

    .product-card-body,
    .summary-card,
    .auth-card,
    .success-card,
    .feature-card,
    .category-card,
    .sidebar {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    :root {
        --page-offset: 0rem;
        --font-page-title: 1.55rem;
        --font-section-title: 1.18rem;
        --font-hero-title: 1.82rem;
        --font-price: 1.04rem;
    }

    .container {
        width: min(1180px, calc(100% - 1rem));
    }

    .feature-grid,
    .category-grid,
    .product-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .toolbar,
    .footer-inner,
    .price-row,
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .city-row {
        width: 100%;
    }

    .hero {
        padding: 1rem 0 1.5rem;
        gap: 1rem;
    }

    .hero-title {
        max-width: none;
    }

    .hero-visual {
        min-height: 170px;
        max-height: 200px;
    }

    .hero-actions .btn,
    .summary-actions .btn,
    .split-actions .btn,
    .price-row .btn {
        width: 100%;
    }

    .line-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 0.7rem;
    }

    .line-item img {
        width: 56px;
        height: 56px;
    }

    th,
    td {
        padding: 0.75rem;
    }
}

@media (max-width: 420px) {
    :root {
        --page-offset: 0rem;
        --font-brand: 1rem;
        --font-hero-title: 1.55rem;
    }

    .btn,
    .mobile-nav-toggle {
        padding: 0.5rem 0.6rem;
    }

    .brand {
        font-size: 0.95rem;
    }

    .theme-toggle,
    .header-actions .btn {
        font-size: 0.68rem;
        padding-inline: 0.38rem;
    }

    .theme-toggle-swatch {
        width: 0.65rem;
        height: 0.65rem;
    }
}
