/*
 * TARKESH Responsive Hotfix V1
 * Final responsive compatibility layer for storefront + admin.
 * Targets modern iOS Safari, Android Chrome/WebView, tablets and desktop.
 * Loaded after all theme CSS so it intentionally resolves legacy breakpoint conflicts.
 */

/* ---------- Global viewport / overflow guards ---------- */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
}

body,
main,
.admin-workspace,
.admin-content,
.container,
.content-card,
.admin-panel,
.panel,
.table-card,
.account-main,
.checkout-main,
.cart-items-panel,
.product-summary,
.product-gallery,
.ajax-search-shell {
    min-width: 0;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

input,
select,
textarea {
    min-width: 0;
}

pre,
code,
.prose,
.content-card,
.admin-panel,
.detail-list dd,
.product-card h2,
.product-card h3,
.admin-list-table,
.admin-modern-table {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Better touch behaviour without changing desktop interactions. */
a,
button,
input,
select,
textarea,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

button,
a.button,
.icon-button,
.admin-primary-btn,
.admin-secondary-btn,
.card-icon-button {
    touch-action: manipulation;
}

/* Scroll containers */
.table-scroll,
.admin-table-wrap,
.admin-table-responsive,
.analytics-table-wrap,
.compare-table-wrap,
.product-thumbs,
.product-rail,
.home-product-carousel,
.analytics-period-switch,
.admin-tabs,
.breadcrumbs,
.pagination {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.table-scroll,
.admin-table-wrap,
.admin-table-responsive,
.analytics-table-wrap,
.compare-table-wrap {
    max-width: 100%;
}

.table-scroll > table,
.compare-table,
.admin-modern-table,
.admin-table,
.data-table,
.analytics-table {
    white-space: normal;
}

.data-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    overflow-wrap: anywhere;
}

/* ---------- Desktop / large tablet stability ---------- */
@media (min-width: 861px) {
    .header-inner {
        grid-template-columns: minmax(190px, 260px) minmax(280px, 1fr) auto;
    }

    .header-actions {
        flex-wrap: nowrap;
    }

    .nav-inner {
        min-width: 0;
    }

    .nav-inner > a {
        white-space: nowrap;
    }
}

@media (min-width: 981px) {
    .admin-workspace {
        min-width: 0;
    }

    .admin-content {
        width: 100%;
        max-width: 100%;
    }
}

/* ---------- Tablet: 641–980 ---------- */
@media (max-width: 980px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-header {
        top: 0;
    }

    .header-inner {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 16px;
        padding-block: 12px;
    }

    .header-inner > .ajax-search-shell {
        grid-column: 1 / -1;
        grid-row: auto;
        width: 100%;
        order: 3;
    }

    .header-actions {
        justify-content: flex-end;
        min-width: 0;
        gap: 7px;
    }

    .icon-button {
        flex: 0 0 auto;
    }

    .search-suggestions {
        max-height: min(56vh, 430px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .home-slide,
    .product-layout,
    .product-details-grid,
    .catalog-layout,
    .account-layout,
    .checkout-layout,
    .cart-layout,
    .contact-layout,
    .faq-layout,
    .home-faq-layout,
    .auth-shell,
    .admin-split,
    .order-detail-grid,
    .admin-editor-two-col,
    .admin-profile-grid,
    .admin-dashboard-columns {
        min-width: 0;
    }

    .product-gallery,
    .cart-summary,
    .checkout-summary {
        position: static;
    }

    .content-card,
    .admin-panel {
        max-width: 100%;
    }

    .admin-shell {
        width: 100%;
        max-width: 100%;
    }

    .admin-sidebar {
        width: min(86vw, 320px);
        max-width: calc(100vw - 32px);
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100svh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .admin-topbar {
        min-width: 0;
        padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
    }

    .admin-topbar-title,
    .admin-topbar-actions {
        min-width: 0;
    }

    .admin-topbar-title strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-page-actions,
    .form-actions,
    .row-actions,
    .admin-form-actions {
        flex-wrap: wrap;
    }
}

/* ---------- Mobile / portrait tablets ---------- */
@media (max-width: 760px) {
    :root {
        --mobile-gutter: 12px;
    }

    .container {
        width: calc(100% - (var(--mobile-gutter) * 2));
        max-width: none;
    }

    body {
        font-size: 14px;
    }

    .announcement-bar {
        padding-inline: 12px;
        text-align: center;
        line-height: 1.65;
    }

    .announcement-bar a,
    .announcement-bar span {
        justify-content: center;
    }

    .brand {
        min-width: 0;
        gap: 9px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 13px;
    }

    .brand strong {
        font-size: 20px;
    }

    .brand small {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-actions {
        gap: 6px;
    }

    .icon-button {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    /* Secondary actions remain available in the mobile drawer. */
    .header-actions > a[href="/compare"],
    .header-actions > a[href*="/account/wishlist"],
    .header-actions > a[href="/admin"] {
        display: none;
    }

    .header-search {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(76px, 92px) minmax(0, 1fr) 46px;
        border-radius: 14px;
    }

    .header-search select,
    .header-search input,
    .header-search button {
        min-height: 44px;
    }

    .header-search input {
        padding-inline: 10px;
        font-size: 16px; /* prevents iOS focus zoom */
    }

    .header-search select {
        width: 100%;
        padding-inline: 8px;
        font-size: 13px;
    }

    .search-suggestions {
        inset-inline: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
    }

    .suggestion-product {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
    }

    .suggestion-product .suggestion-price {
        grid-column: 2;
        justify-self: start;
    }

    .storefront-drawer {
        width: min(90vw, 350px);
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100svh;
        max-width: calc(100vw - 20px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }

    .storefront-drawer-head {
        position: sticky;
        top: 0;
        z-index: 2;
        padding-top: max(14px, env(safe-area-inset-top));
    }

    .storefront-drawer nav a {
        min-height: 48px;
    }

    .page-hero-small {
        padding-block: 34px;
    }

    .page-hero-small h1,
    .admin-page-head h1,
    .section-heading h2 {
        overflow-wrap: anywhere;
    }

    .section {
        padding-block: 42px;
    }

    .section-heading,
    .admin-page-head,
    .analytics-page-head {
        gap: 14px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > a,
    .section-heading .text-link {
        white-space: nowrap;
    }

    /* Hero / home */
    .home-slider-section {
        padding-top: 10px;
    }

    .home-slider {
        border-radius: 18px;
        overflow: hidden;
    }

    .home-slide-copy {
        min-height: 0;
        padding: 28px 20px 20px;
    }

    .home-slide-copy h1,
    .home-slide h1 {
        font-size: clamp(28px, 8.6vw, 38px);
        line-height: 1.38;
    }

    .home-slide-copy > p {
        font-size: 14px;
        line-height: 1.9;
    }

    .home-slide-media {
        min-height: 220px;
        max-height: 340px;
        margin-inline: 14px;
        margin-bottom: 22px;
        padding: 14px;
    }

    .home-slide-media img {
        width: 100%;
        height: 100%;
        max-height: 300px;
        object-fit: contain;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .trust-bar-inner {
        gap: 0;
    }

    .trust-bar-inner > div {
        min-width: 0;
        padding: 14px 10px;
    }

    .quick-search-panel {
        padding: 20px;
        gap: 16px;
        border-radius: 18px;
    }

    .hero-search,
    .catalog-search {
        width: 100%;
        max-width: none;
    }

    .hero-search input,
    .catalog-search input,
    .catalog-search select,
    .field input,
    .field select,
    .field textarea,
    .form-grid input,
    .form-grid select,
    .form-grid textarea,
    .admin-form input,
    .admin-form select,
    .admin-form textarea,
    .admin-modern-form input,
    .admin-modern-form select,
    .admin-modern-form textarea {
        font-size: 16px; /* iOS Safari: no zoom on focus */
    }

    .category-grid {
        gap: 10px;
    }

    .product-grid,
    .search-product-grid {
        gap: 10px;
    }

    .product-card,
    .product-card-premium,
    .search-product-card {
        min-width: 0;
        border-radius: 16px;
    }

    .product-card-body {
        min-width: 0;
        padding: 12px;
    }

    .product-card h2,
    .product-card h3 {
        min-height: 0;
        font-size: 14px;
        line-height: 1.65;
    }

    .product-card-actions,
    .product-quick-actions {
        gap: 7px;
    }

    .product-card-actions .button,
    .product-card-cart .button {
        min-height: 42px;
        padding-inline: 10px;
    }

    .product-layout,
    .product-details-grid {
        gap: 20px;
    }

    .product-layout {
        padding: 14px;
        border-radius: 18px;
    }

    .main-product-image {
        padding: 12px;
        border-radius: 18px;
        aspect-ratio: 1 / 0.88;
    }

    .product-summary h1 {
        font-size: clamp(26px, 7vw, 34px);
    }

    .product-price-box {
        padding: 16px;
        margin-block: 18px;
    }

    .product-price-box strong {
        font-size: 24px;
    }

    .product-actions,
    .add-to-cart-box {
        width: 100%;
    }

    .product-actions .button,
    .add-to-cart-box .button,
    .add-cart-button {
        min-height: 46px;
    }

    .content-card {
        padding: 18px;
        border-radius: 18px;
    }

    .prose table {
        min-width: 520px;
    }

    .prose {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Cart / checkout */
    .cart-layout,
    .checkout-layout {
        gap: 16px;
    }

    .cart-item {
        min-width: 0;
        padding: 11px;
    }

    .cart-item-main,
    .cart-item-qty,
    .cart-item-total {
        min-width: 0;
    }

    .cart-item-main h2 {
        overflow-wrap: anywhere;
    }

    .cart-summary,
    .checkout-summary,
    .checkout-form-card {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        border-radius: 18px;
    }

    .checkout-steps {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .checkout-steps li {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .shipping-option {
        min-width: 0;
    }

    .saved-address-grid,
    .field-row,
    .form-grid,
    .admin-form-grid {
        gap: 10px;
    }

    /* Account */
    .account-layout {
        gap: 16px;
    }

    .account-nav {
        position: static;
        width: 100%;
    }

    .account-nav nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .account-nav nav a {
        min-width: 0;
        min-height: 44px;
    }

    .account-head {
        align-items: flex-start;
        gap: 12px;
    }

    /* Footer / floating controls */
    .footer-grid {
        gap: 24px;
    }

    .compare-tray {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 16px;
    }

    .compare-tray .button {
        flex: 0 0 auto;
        padding-inline: 12px;
    }

    .mobile-whatsapp-float {
        left: max(12px, env(safe-area-inset-left));
        bottom: calc(12px + env(safe-area-inset-bottom));
    }

    body.has-compare-tray .mobile-whatsapp-float {
        bottom: calc(78px + env(safe-area-inset-bottom));
    }

    /* Admin */
    .admin-content {
        padding: 14px;
    }

    .admin-topbar {
        min-height: 66px;
        height: auto;
        gap: 8px;
    }

    .admin-mobile-menu,
    .admin-theme-toggle {
        flex: 0 0 auto;
    }

    .admin-topbar-title {
        flex: 1 1 auto;
    }

    .admin-profile-chip > span:first-child,
    .admin-topbar-title small {
        display: none;
    }

    .admin-live-jalali {
        flex: 0 0 auto;
    }

    .admin-page-head {
        padding: 16px;
        border-radius: 17px;
    }

    .admin-page-actions {
        width: 100%;
    }

    .admin-page-actions > *,
    .admin-form-actions > * {
        flex: 1 1 auto;
    }

    .admin-panel {
        padding: 16px;
        border-radius: 16px;
    }

    .admin-panel-head {
        align-items: flex-start;
        gap: 12px;
    }

    .admin-search {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .admin-search input,
    .admin-search select {
        width: 100%;
        min-width: 0;
    }

    .admin-search select {
        grid-column: 1 / -1;
    }

    .admin-tabs {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .admin-tabs > * {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-kpi-grid,
    .analytics-kpi-grid,
    .analytics-kpi-grid.compact {
        gap: 9px;
    }

    .admin-modern-table,
    .admin-table,
    .data-table,
    .analytics-table {
        min-width: 680px;
    }

    .table-scroll {
        width: 100%;
        border-radius: 14px;
    }

    .row-actions {
        min-width: max-content;
    }

    .analytics-chart-box,
    .analytics-chart-large {
        min-width: 0;
        max-width: 100%;
    }

    .analytics-chart-box canvas,
    .analytics-chart-large canvas {
        max-width: 100% !important;
    }

    .product-admin-card,
    .product-admin-grid > * {
        min-width: 0;
    }

    .admin-upload-box {
        max-width: 100%;
    }
}

/* ---------- Phones ---------- */
@media (max-width: 560px) {
    :root {
        --mobile-gutter: 11px;
    }

    .site-header {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .header-inner {
        gap: 10px 8px;
        padding-block: 9px 10px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 18px;
    }

    .brand strong {
        font-size: 18px;
    }

    .brand small {
        display: none;
    }

    .header-actions {
        gap: 5px;
    }

    .icon-button {
        width: 37px;
        height: 37px;
        border-radius: 11px;
        font-size: 14px;
    }

    .header-search {
        grid-template-columns: 82px minmax(0, 1fr) 43px;
    }

    .header-search input {
        padding-inline: 8px;
    }

    .header-search button {
        width: 43px;
    }

    .home-slide-copy {
        padding: 24px 17px 18px;
    }

    .home-slide-media {
        min-height: 190px;
        max-height: 260px;
        margin-inline: 10px;
        margin-bottom: 18px;
    }

    .hero-proof {
        gap: 8px;
    }

    .hero-proof span {
        width: auto;
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .quick-search-panel {
        padding: 17px;
    }

    .hero-search {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 0;
    }

    .hero-search input {
        font-size: 16px;
    }

    .hero-search button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 44px;
    }

    .section {
        padding-block: 36px;
    }

    .section-heading {
        flex-direction: column;
    }

    .section-heading > a,
    .section-heading .text-link {
        align-self: flex-start;
    }

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

    .product-grid:not(.product-rail),
    .search-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card-media,
    .product-image-wrap {
        padding: 8px;
    }

    .product-card-body {
        padding: 10px;
    }

    .product-card h2,
    .product-card h3 {
        font-size: 13px;
    }

    .price-row {
        gap: 5px;
        margin-top: 10px;
    }

    .price-row strong {
        font-size: 13px;
    }

    .product-card-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-card-actions > *,
    .product-card-actions form,
    .product-card-actions .button {
        width: 100%;
    }

    .product-layout {
        padding: 10px;
    }

    .product-summary h1 {
        font-size: 27px;
    }

    .product-price-box {
        align-items: flex-start;
    }

    .product-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-actions > * {
        width: 100%;
    }

    .content-card,
    .cart-summary,
    .checkout-summary,
    .checkout-form-card {
        padding: 15px;
    }

    .cart-item {
        grid-template-columns: 68px minmax(0, 1fr) 34px;
        gap: 8px;
    }

    .cart-item-image {
        width: 68px;
        height: 68px;
    }

    .cart-item-qty,
    .cart-item-total {
        grid-column: 2 / -1;
    }

    .cart-item-qty input {
        width: 70px;
        font-size: 16px;
    }

    .summary-line {
        gap: 8px;
    }

    .coupon-form > div {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .checkout-items li {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .checkout-items li > :last-child {
        grid-column: 2;
        justify-self: start;
    }

    .account-nav nav {
        grid-template-columns: 1fr;
    }

    .account-head {
        flex-direction: column;
    }

    .order-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .order-item > span,
    .order-item > b {
        justify-self: start;
    }

    .detail-list div {
        gap: 8px;
    }

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

    .footer-bottom {
        gap: 5px;
        padding-bottom: max(18px, calc(12px + env(safe-area-inset-bottom)));
    }

    .compare-tray {
        align-items: stretch;
        flex-direction: column;
    }

    .compare-tray .button {
        width: 100%;
    }

    body.has-compare-tray .mobile-whatsapp-float {
        bottom: calc(112px + env(safe-area-inset-bottom));
    }

    /* Admin phone */
    .admin-content {
        padding: 10px;
    }

    .admin-topbar {
        padding-inline: 10px;
    }

    .admin-live-jalali {
        display: none;
    }

    .admin-page-head {
        padding: 14px;
    }

    .admin-page-head h1 {
        font-size: 22px;
        line-height: 1.45;
    }

    .admin-page-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-page-actions > * {
        width: 100%;
    }

    .admin-panel {
        padding: 13px;
    }

    .admin-panel-head {
        flex-direction: column;
    }

    .admin-search {
        grid-template-columns: 1fr;
    }

    .admin-search > *,
    .admin-search select {
        grid-column: auto;
        width: 100%;
    }

    .admin-kpi-grid,
    .analytics-kpi-grid,
    .analytics-kpi-grid.compact,
    .admin-stat-row,
    .ops-alert-row {
        grid-template-columns: 1fr;
    }

    .product-admin-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-form-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-form-actions > * {
        width: 100%;
    }

    .permission-grid,
    .form-row,
    .inline-form,
    .admin-editor-two-col {
        grid-template-columns: 1fr;
    }

    .analytics-period-switch {
        margin-inline: -4px;
        padding-inline: 4px;
    }

    .analytics-chart-box {
        height: 230px;
    }

    .analytics-chart-large {
        height: 270px;
    }
}

/* ---------- Very small phones / split-screen ---------- */
@media (max-width: 390px) {
    .header-inner {
        grid-template-columns: minmax(88px, 1fr) auto;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .brand strong {
        font-size: 17px;
    }

    .icon-button {
        width: 35px;
        height: 35px;
    }

    .header-actions {
        gap: 4px;
    }

    .header-search {
        grid-template-columns: 76px minmax(0, 1fr) 40px;
    }

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

    .product-card-body {
        padding: 9px;
    }

    .product-card h2,
    .product-card h3 {
        font-size: 12.5px;
    }

    .price-row del,
    .price-row strong {
        font-size: 12px;
    }

    .button,
    .admin-primary-btn,
    .admin-secondary-btn {
        padding-inline: 12px;
    }
}

/* ---------- Landscape phones / compact-height devices ---------- */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 520px) {
    .storefront-drawer,
    .admin-sidebar {
        width: min(72vw, 330px);
    }

    .storefront-drawer nav a,
    .admin-menu > a {
        min-height: 42px;
    }

    .storefront-drawer-head {
        min-height: 62px;
    }

    .home-slide {
        grid-template-columns: 1.15fr .85fr;
    }

    .home-slide-copy {
        padding-block: 22px;
    }

    .home-slide-media {
        min-height: 210px;
        margin-block: 14px;
    }
}

/* ---------- Hover only where a mouse really exists ---------- */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover,
    .product-card-premium:hover,
    .category-card:hover,
    .quick-action:hover {
        transform: none;
    }

    .button,
    button,
    .icon-button,
    .admin-menu a,
    .storefront-drawer nav a {
        min-height: 44px;
    }
}

/* ---------- Accessibility / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .storefront-drawer,
    .storefront-drawer-overlay,
    .admin-sidebar,
    .admin-overlay,
    .product-card,
    .button,
    .icon-button {
        transition-duration: 0.01ms !important;
    }
}


/* Standalone/PWA safe-area support on notched iOS devices. */
@media (display-mode: standalone) and (max-width: 980px) {
    .site-header {
        padding-top: env(safe-area-inset-top);
    }

    .admin-topbar {
        height: auto;
        min-height: calc(70px + env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
    }
}

/* Fallback for extremely narrow Android WebViews / split-screen. */
@media (max-width: 340px) {
    .category-grid,
    .product-grid:not(.product-rail),
    .search-product-grid {
        grid-template-columns: 1fr;
    }

    .header-actions .theme-toggle-button {
        display: none;
    }
}
