* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    min-height: 100%;
    overflow-x: clip;
}

body {
    background: linear-gradient(135deg, #F5F1EB 0%, #EDE8E0 100%);
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
}

.top-navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    height: 120px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}

.navbar-container {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-between;
    max-width: 100%;
    padding: 0 2rem;
}

.navbar-logo {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-top: -12px;
}

.logo-image {
    height: 80px;
    width: 150px;
}

.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 24px;
    justify-content: space-between;
    padding: 0;
    transition: transform .3s ease;
    width: 30px;
    z-index: 2001;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    background: #1f2937;
    border-radius: 3px;
    display: block;
    height: 3px;
    transform-origin: center;
    transition: all .3s ease;
    width: 100%;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.sidebar {
    background: white;
    border-right: 1px solid #D5CBBC;
    box-shadow: 2px 0 16px rgba(0, 0, 0, .1);
    height: 100vh;
    left: -320px;
    overflow-y: auto;
    padding-top: 120px;
    position: fixed;
    top: 0;
    transition: left .3s ease;
    width: 320px;
    z-index: 1999;
    overscroll-behavior: contain;
}

.sidebar.open {
    left: 0;
}

.sidebar-overlay {
    background: rgba(0, 0, 0, .5);
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .3s ease;
    z-index: 1998;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
    touch-action: none;
}

html:has(.sidebar.open),
body:has(.sidebar.open) {
    overflow: hidden;
}

html:has(.sidebar.open) {
    scrollbar-gutter: stable;
}

.main-nav {
    border-bottom: 1px solid #C9A84C;
    padding: 1.5rem 1rem;
}

.main-nav-title {
    color: #8A6A3E;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1rem;
    padding: 0 .75rem;
    text-transform: uppercase;
}

.main-nav-link {
    border-radius: 8px;
    color: #1f2937;
    display: block;
    font-weight: 500;
    margin-bottom: .25rem;
    padding: .875rem .75rem;
    text-decoration: none;
    transition: all .2s;
}

.main-nav-link:hover {
    background: #F5F1EB;
    color: #1B3A5C;
}

.main-nav-link.active {
    background: #1B3A5C;
    color: #F5F1EB;
    box-shadow: inset 3px 0 0 #C9A84C;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: #EDE8E0;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 4px;
}

.recipe-nav {
    padding: 1.5rem 1rem;
}

.recipe-nav-title {
    color: #8A6A3E;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1rem;
    padding: 0 .75rem;
    text-transform: uppercase;
}

.accordion-category {
    margin-bottom: .5rem;
}

.accordion-header {
    align-items: center;
    background: #F5F1EB;
    border: 1px solid #D5CBBC;
    border-radius: 8px;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    font-weight: 500;
    justify-content: space-between;
    padding: .875rem .75rem;
    transition: all .2s;
    scroll-margin-top: 136px;
}

.accordion-header:hover {
    background: #EDE8E0;
    border-color: #C9A84C;
}

.accordion-header.active {
    background: #1B3A5C;
    border-color: #C9A84C;
    color: #F5F1EB;
}

.accordion-icon {
    font-size: 1.25rem;
    transition: transform .3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.accordion-content.open {
    grid-template-rows: 1fr;
}

.accordion-content-inner {
    overflow: hidden;
    min-height: 0;
}

.recipe-link {
    border-left: 2px solid transparent;
    color: #1f2937;
    display: block;
    font-size: .9rem;
    margin: .25rem 0;
    padding: .75rem .75rem .75rem 2rem;
    text-decoration: none;
    transition: all .2s;
}

.recipe-link:hover {
    background: #F5F1EB;
    border-left-color: #C9A84C;
    color: #1B3A5C;
}

.recipe-link.active {
    background: #EDE8E0;
    border-left-color: #C9A84C;
    color: #1B3A5C;
    font-weight: 500;
}

.recipe-number {
    color: #8A6A3E;
    display: block;
    font-size: .75rem;
    margin-top: .125rem;
}

.main-content {
    margin-top: 120px;
    min-height: calc(100vh - 120px);
    padding: 3rem 0;
}

.top-search-outer {
    position: relative;
}

.top-search-inner {
    position: fixed;
    right: 100px;
    top: 60px;
    transform: translateY(-50%);
    z-index: 2002;
}

.nd {
    margin-top: 1px;
}

.nav-search-btn {
    background-color: #fff;
    border: 1px solid #D5CBBC;
    border-radius: 20px;
    color: #1B3A5C;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 6px;
    padding: 8px 14px;
    align-items: center;
    transition: background-color .25s, border-color .25s;
}

.nav-search-btn:hover {
    background-color: #F5F1EB;
    border-color: #C9A84C;
}

.nav-search-btn:active {
    background-color: #EDE8E0;
}

a.navbar-search {
    text-decoration: none;
}

.cta-button {
    background: #C9A84C;
    border: none;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(201,168,76,.3);
    color: #0F1928;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 12px 24px;
    transition: all .25s ease;
}

.cta-button:hover {
    box-shadow: 0 12px 28px rgba(201,168,76,.45);
    transform: translateY(-2px);
    background: #B8973D;
}

.footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    margin: 0;
    padding: 3rem 0 0;
    width: 100%;
}

.footer-container {
    margin: 0 auto;
    max-width: 100%;
    padding: 0 3rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #1f2937;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #6b7280;
    font-size: .875rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    color: #6b7280;
    font-size: .875rem;
    text-decoration: none;
    transition: color .3s;
}

.footer-links a:hover {
    color: #1B3A5C;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: .875rem;
    margin: 0;
    padding: 2rem 0;
    text-align: center;
}

html.cs-lock,
body.cs-lock {
    overflow: hidden !important;
}

html.cs-lock {
    scrollbar-gutter: stable;
}

body.cs-lock {
    overscroll-behavior: contain;
}

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

.cs-banner {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 2147483647 !important;
    width: min(520px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 2rem;
    background: #0F1928;
    color: #F5F1EB;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 3px solid #C9A84C;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15,25,40,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%,-47%) scale(0.98);
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.3s;
}

.cs-banner.cs-is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%,-50%) scale(1);
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0s;
}

.cs-banner:focus {
    outline: none;
}

.cs-banner__title {
    font-family: 'Playfair Display',serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    color: #F5F1EB;
    margin: 0 0 0.6rem;
}

.cs-banner__text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(245,241,235,0.78);
    margin: 0 0 1.25rem;
}

.cs-banner__text a {
    color: #C9A84C;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cs-banner__text a:hover {
    color: #F5F1EB;
}

.cs-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.cs-banner__actions .cs-banner__manage {
    grid-column: 1 / -1;
}

.cs-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483646 !important;
    background: rgba(15,25,40,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s, visibility 0s linear 0.28s;
}

.cs-overlay.cs-is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.28s, visibility 0s linear 0s;
}

.cs-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 2147483647 !important;
    display: flex;
    flex-direction: column;
    width: min(720px,calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15,25,40,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%,-47%) scale(0.98);
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.3s;
}

.cs-modal.cs-is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%,-50%) scale(1);
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0s;
}

.cs-modal:focus {
    outline: none;
}

.cs-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    background: #0F1928;
    border-bottom: 3px solid #C9A84C;
    flex-shrink: 0;
}

.cs-modal__title {
    font-family: 'Playfair Display',serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F5F1EB;
    margin: 0;
}

.cs-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px;
    color: #F5F1EB;
    cursor: pointer;
    transition: background 0.18s;
}

.cs-modal__close:hover {
    background: rgba(255,255,255,0.16);
}

.cs-modal__close svg {
    width: 18px;
    height: 18px;
}

.cs-modal__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.25rem 1.5rem 1.5rem;
    background: #F5F1EB;
}

.cs-modal__intro {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #4A3F30;
    margin: 0 0 1.25rem;
}

.cs-modal__intro a {
    color: #1B3A5C;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cs-modal__intro a:hover {
    color: #0F1928;
}

.cs-modal__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-top: 1px solid #D5CBBC;
    flex-shrink: 0;
}

.cs-cat {
    background: #ffffff;
    border: 1px solid #D5CBBC;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cs-cat:last-child {
    margin-bottom: 0;
}

.cs-cat.cs-is-open {
    border-color: #B8A898;
    box-shadow: 0 6px 18px rgba(15,25,40,0.06);
}

.cs-cat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 0.5rem;
}

.cs-cat__btn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem 0.6rem;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    font-family: 'DM Sans',sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    color: #0F1928;
    cursor: pointer;
}

.cs-cat__btn:hover {
    color: #1B3A5C;
}

.cs-cat__chev {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #8A6A3E;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.cs-cat.cs-is-open .cs-cat__chev {
    transform: rotate(180deg);
}

.cs-cat__count {
    font-size: 0.75rem;
    font-weight: 500;
    color: #8A7A6A;
}

.cs-cat__ctl {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.cs-cat__state {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8A6A3E;
}

.cs-cat__desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #4A3F30;
    margin: 0;
    padding: 0 1.1rem 1rem;
}

.cs-cat__panel {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0s linear 0.35s;
}

.cs-cat.cs-is-open .cs-cat__panel {
    max-height: 80rem;
    visibility: visible;
    transition: max-height 0.4s ease, visibility 0s linear 0s;
}

.cs-cat__panel-inner > .cs-table-wrap {
    border-top: 1px solid #E8E2D8;
    padding: 0.25rem 1.1rem 0.75rem;
}

.cs-table-wrap {
    overflow-x: auto;
}

.cs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #2C2416;
}

.cs-table th {
    padding: 0.7rem 0.75rem 0.5rem 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
    color: #8A6A3E;
    white-space: nowrap;
}

.cs-table td {
    padding: 0.7rem 0.75rem 0.7rem 0;
    vertical-align: top;
    border-top: 1px solid #E8E2D8;
}

.cs-table td:last-child,
.cs-table th:last-child {
    padding-right: 0;
}

.cs-table__name {
    font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0F1928;
    white-space: nowrap;
}

.cs-table__dom {
    display: block;
    color: #6B5E4E;
}

.cs-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.cs-switch input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.cs-switch__track {
    position: relative;
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 26px;
    background: #B8A898;
    transition: background 0.25s;
}

.cs-switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15,25,40,0.3);
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.cs-switch input:checked + .cs-switch__track {
    background: #1B3A5C;
}

.cs-switch input:checked + .cs-switch__track::after {
    transform: translateX(20px);
}

.cs-switch input:focus-visible + .cs-switch__track {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

.cs-switch input:disabled {
    cursor: not-allowed;
}

.cs-switch input:disabled + .cs-switch__track {
    opacity: 0.6;
}

.cs-banner .btn,
.cs-modal .btn,
.cs-embed-notice .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.15rem;
    font-family: 'DM Sans',sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
    -webkit-tap-highlight-color: transparent;
}

.cs-banner .btn--gold,
.cs-modal .btn--gold,
.cs-embed-notice .btn--gold {
    background: #C9A84C;
    border-color: #C9A84C;
    color: #0F1928;
}

.cs-banner .btn--gold:hover,
.cs-modal .btn--gold:hover,
.cs-embed-notice .btn--gold:hover {
    background: #B8962F;
    border-color: #B8962F;
    color: #0F1928;
}

.cs-banner .btn--primary,
.cs-modal .btn--primary,
.cs-embed-notice .btn--primary {
    background: #1B3A5C;
    border-color: #1B3A5C;
    color: #F5F1EB;
}

.cs-banner .btn--primary:hover,
.cs-modal .btn--primary:hover,
.cs-embed-notice .btn--primary:hover {
    background: #0F2840;
    border-color: #0F2840;
    color: #F5F1EB;
}

.cs-banner .btn--outline,
.cs-modal .btn--outline,
.cs-embed-notice .btn--outline {
    background: transparent;
    border-color: rgba(245,241,235,0.45);
    color: #F5F1EB;
}

.cs-banner .btn--outline:hover,
.cs-modal .btn--outline:hover,
.cs-embed-notice .btn--outline:hover {
    border-color: #F5F1EB;
    color: #F5F1EB;
}

.cs-banner .btn--outline-dark,
.cs-modal .btn--outline-dark,
.cs-embed-notice .btn--outline-dark {
    background: transparent;
    border-color: #1B3A5C;
    color: #1B3A5C;
}

.cs-banner .btn--outline-dark:hover,
.cs-modal .btn--outline-dark:hover,
.cs-embed-notice .btn--outline-dark:hover {
    background: #1B3A5C;
    border-color: #1B3A5C;
    color: #F5F1EB;
}

.cs-banner .cs-btn--light,
.cs-modal .cs-btn--light,
.cs-embed-notice .cs-btn--light {
    background: #F5F1EB;
    border-color: #F5F1EB;
    color: #0F1928;
}

.cs-banner .cs-btn--light:hover,
.cs-modal .cs-btn--light:hover,
.cs-embed-notice .cs-btn--light:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0F1928;
}

.cs-embed-blocked {
    display: none !important;
}

.cs-embed-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    padding: 1.5rem;
    text-align: center;
    background: #EDE8E0;
    border: 1px solid #D5CBBC;
    border-radius: 6px;
}

.cs-embed-notice p {
    max-width: 420px;
    margin: 0;
    font-size: 0.9rem;
    color: #4A3F30;
}

.cs-embed-notice__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.cs-banner a:focus-visible,
.cs-modal a:focus-visible,
.cs-banner .btn:focus-visible,
.cs-modal .btn:focus-visible,
.cs-embed-notice .btn:focus-visible,
.cs-cat__btn:focus-visible,
.cs-modal__close:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .logo-image {
        height: 80px;
        width: auto;
    }

    .main-content {
        padding: 1.5rem;
    }

    .footer-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 605px) {
    .footer-grid {
        gap: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 536px) {
    .footer-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    .top-search-inner {
        right: 70px;
    }
}

@media (max-width: 374px) {
    .top-search-inner {
        right: 70px;
    }

    .nd {
        display: none;
    }
}

@media (max-width: 340px) {
    .top-search-inner {
        right: 60px;
    }
}

@media (max-width: 600px) {
    .cs-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
    }

    .cs-table,
    .cs-table tbody,
    .cs-table tr,
    .cs-table td {
        display: block;
        width: 100%;
    }

    .cs-table tr {
        padding: 0.7rem 0;
        border-top: 1px solid #E8E2D8;
    }

    .cs-table tr:first-child {
        border-top: 0;
    }

    .cs-table td {
        padding: 0.15rem 0;
        border-top: 0;
    }

    .cs-table__name {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .cs-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #8A6A3E;
    }
}

@media (max-width: 540px) {
    .cs-banner {
        padding: 1.5rem 1.25rem;
    }

    .cs-modal {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100%;
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
    }

    .cs-modal.cs-is-open {
        transform: translateY(0);
    }

    .cs-modal__head {
        padding: 1rem 1.25rem;
    }

    .cs-modal__body {
        padding: 1rem 1.25rem 1.25rem;
    }

    .cs-modal__foot {
        flex-direction: column;
        padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom,0px));
    }

    .cs-modal__foot .btn {
        width: 100%;
    }

    .cs-cat__head {
        padding: 0.9rem 1rem 0.5rem;
    }

    .cs-cat__desc {
        padding: 0 1rem 0.9rem;
    }

    .cs-cat__panel-inner > .cs-table-wrap {
        padding: 0.25rem 1rem 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-banner,
    .cs-overlay,
    .cs-modal,
    .cs-cat,
    .cs-cat__panel,
    .cs-cat__chev,
    .cs-switch__track,
    .cs-switch__track::after {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}

::selection {
    background: #1B3A5C;
    color: #F5F1EB;
}

::-moz-selection {
    background: #1B3A5C;
    color: #F5F1EB;
}

.footer .footer-container {
    max-width: 1100px;
}