
/* =========================================================
   MARKET BHAV — HEADER & FOOTER
   Pure CSS | Responsive | CSS-only navigation drawer
   ========================================================= */

/* Load Font Awesome in your existing <head>:
<link rel="stylesheet"
 href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
*/

/* -------------------------
   Theme variables
   ------------------------- */ 

:root {
    --mb-green: #2E7D32;
    --mb-green-dark: #1B5E20;
    --mb-green-light: #E8F5E9;
    --mb-green-mid: #4CAF50;
    --mb-orange: #9C3D00;
    --mb-orange-light: #9C3D00;
    --mb-orange-dark: #9C3D00;
    --mb-danger: #C62828;
    --mb-danger-light: #FFEBEE;

    --mb-footer-text: #FFFFFF;
    --mb-footer-text-dim: #757575;
    --mb-footer-text-dimmer: #616161;
    --mb-footer-border: #333333;

    --mb-text: #212121;
    --mb-text-muted: #5F5F5F;
    --mb-border: #E0E0E0;
    --mb-surface: #FFFFFF;

    --mb-font: "Roboto", sans-serif;

    --mb-header-height: 68px;
    --mb-drawer-width: 340px;
    --mb-transition: 0.28s ease;
}

/* Locale-based body font.
   The corresponding Google Font is loaded by Blade. */
body {
    @if (App::currentLocale() === 'hi')
        font-family: "Noto Sans", sans-serif;
    @else
        font-family: "Roboto", sans-serif;
    @endif
}

/* Keep sizing predictable without changing unrelated elements. */
.mb-header,
.mb-header *,
.mb-footer,
.mb-footer * {
    box-sizing: border-box;
}

.mb-header img,
.mb-footer img {
    display: block;
    max-width: 100%;
    height: auto;
}

.mb-header a,
.mb-footer a {
    text-decoration: none;
}

.mb-header button,
.mb-header input,
.mb-footer button,
.mb-footer input {
    font: inherit;
}

.mb-header a,
.mb-footer a,
.mb-header label,
.mb-header summary {
    -webkit-tap-highlight-color: transparent;
}

.mb-header a:focus-visible,
.mb-header label:focus-visible,
.mb-header summary:focus-visible,
.mb-footer a:focus-visible {
    outline: 3px solid var(--mb-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =========================================================
   HEADER
========================================================= */

.mb-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    background: var(--mb-surface);
    border-bottom: 1px solid var(--mb-border);
    color: var(--mb-text);
}

.mb-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--mb-header-height);
    width: 100%;
    padding: 8px 16px;
}

.mb-header__logo {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 220px;
}

.mb-header__logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
    object-position: left center;
}

.mb-header__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: var(--mb-green-dark);
    background: var(--mb-green-light);
    border: 1px solid #C8E6C9;
    border-radius: 10px;
    font-size: 21px;
    cursor: pointer;
    transition:
        background var(--mb-transition),
        color var(--mb-transition);
}

.mb-header__menu:hover {
    background: var(--mb-green);
    color: var(--mb-surface);
}

/* Compact authentication action */

.mb-header__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: auto;
}

.mb-header__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid var(--mb-green);
    border-radius: 9px;
    color: var(--mb-green-dark);
    background: var(--mb-surface);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background var(--mb-transition),
        color var(--mb-transition);
}

.mb-header__login:hover {
    background: var(--mb-green);
    color: var(--mb-surface);
}

/* =========================================================
   CSS-ONLY DRAWER
========================================================= */

.mb-drawer__toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.mb-drawer__toggle:focus-visible ~ .mb-header__menu {
    outline: 3px solid var(--mb-orange);
    outline-offset: 3px;
}

.mb-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1002;

    display: flex;
    flex-direction: column;

    width: min(var(--mb-drawer-width), 88vw);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    padding: 0 0 24px;
    background: var(--mb-surface);
    box-shadow: 8px 0 28px rgb(0 0 0 / 16%);

    visibility: hidden;
    transform: translateX(-105%);
    transition:
        transform var(--mb-transition),
        visibility var(--mb-transition);
}

.mb-drawer__toggle:checked ~ .mb-drawer {
    visibility: visible;
    transform: translateX(0);
}

/* Drawer backdrop */

.mb-drawer__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: block;
    background: rgb(0 0 0 / 52%);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition:
        opacity var(--mb-transition),
        visibility var(--mb-transition);
}

.mb-drawer__toggle:checked ~ .mb-drawer__backdrop {
    opacity: 1;
    visibility: visible;
}

/* Drawer top bar */

.mb-drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 12px 16px;
    background: var(--mb-green-light);
    border-bottom: 1px solid #C8E6C9;
}

.mb-drawer__brand {
    display: block;
    min-width: 0;
    max-width: 200px;
}

.mb-drawer__brand img {
    max-width: 100%;
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.mb-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: var(--mb-surface);
    color: var(--mb-danger);
    border: 1px solid var(--mb-border);
    font-size: 22px;
    cursor: pointer;
}

.mb-drawer__close:hover {
    background: var(--mb-danger-light);
}

/* Main drawer links */

.mb-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 20px;
}

.mb-nav__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--mb-text);
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition:
        color var(--mb-transition),
        background var(--mb-transition);
}

.mb-nav__link > .fa-solid,
.mb-nav__link > .fa-regular {
    flex: 0 0 21px;
    width: 21px;
    text-align: center;
    font-size: 18px;
    color: var(--mb-green);
}

.mb-nav__link:hover,
.mb-nav__link:focus-visible {
    background: var(--mb-green-light);
    color: var(--mb-green-dark);
}

/* More dropdown */

.mb-nav__more {
    width: 100%;
}

.mb-nav__more > summary {
    list-style: none;
}

.mb-nav__more > summary::-webkit-details-marker {
    display: none;
}

.mb-nav__more-title {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.mb-nav__more-title > i {
    flex: 0 0 21px;
    width: 21px;
    text-align: center;
    font-size: 18px;
    color: var(--mb-green);
}

.mb-nav__chevron {
    margin-left: auto;
    color: var(--mb-text-muted);
    font-size: 14px;
    transition: transform var(--mb-transition);
}

.mb-nav__more[open] > summary {
    background: var(--mb-green-light);
    color: var(--mb-green-dark);
}

.mb-nav__more[open] .mb-nav__chevron {
    transform: rotate(180deg);
}

.mb-nav__submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 0 6px 17px;
    margin: 4px 0 6px 15px;
    border-left: 2px solid #C8E6C9;
}

.mb-nav__submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 9px 10px;
    border-radius: 7px;
    color: var(--mb-text-muted);
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    transition:
        background var(--mb-transition),
        color var(--mb-transition);
}

.mb-nav__submenu a i {
    flex: 0 0 19px;
    width: 19px;
    color: var(--mb-green);
    text-align: center;
}

.mb-nav__submenu a:hover {
    background: var(--mb-green-light);
    color: var(--mb-green-dark);
}

/* Language selector */

.mb-nav__language {
    padding: 15px 12px 12px;
    margin-top: 5px;
    border-top: 1px solid var(--mb-border);
}

.mb-nav__section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--mb-text);
    font-size: 16px;
    font-weight: 700;
}

.mb-nav__section-title i {
    color: var(--mb-green);
    font-size: 19px;
}

.mb-nav__language-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mb-nav__language-options a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 6px;
    border: 1px solid var(--mb-border);
    border-radius: 8px;
    background: var(--mb-surface);
    color: var(--mb-text);
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mb-nav__language-options a.is-active {
    color: var(--mb-green-dark);
    border-color: var(--mb-green);
    background: var(--mb-green-light);
    font-weight: 700;
}

.mb-nav__language-options a:hover {
    border-color: var(--mb-green);
}

/* Drawer authentication action */

.mb-nav__auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin: 10px 0 0;
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--mb-green);
    color: var(--mb-surface);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.mb-nav__auth:hover {
    background: var(--mb-green-dark);
}


/* Breadcrumb */

.mb-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--rate-muted);
}

.mb-breadcrumb span {
    color: #58585a;
}

/* =========================================================
   FOOTER
========================================================= */

.mb-footer {
    width: 100%;
    max-width: 1040px;
    margin-inline: auto;
    background: var(--mb-green-dark);
    color: var(--footer-text);;
	border: 1px solid var(--mb-green-dark);
    border-radius: 16px;
}

.mb-footer__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding: 30px 24px;
}

.mb-footer__brand,
.mb-footer__section {
    min-width: 0;
}

.mb-footer__logo {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    margin-bottom: 14px;
}

.mb-footer__logo img {
    width: auto;
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
}

.mb-footer__description {
    max-width: 440px;
    margin: 0;
    color: var(--mb-footer-text);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.mb-footer__heading {
	position: relative;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: none;
    color: var(--mb-surface);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
.mb-footer__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px; /* Underline length */
    height: 2px;
    background: var(--mb-green-mid);
}

.mb-footer__links,
.mb-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mb-footer__links a,
.mb-footer__contact a {
    display: inline-block;
    max-width: 100%;
    padding: 7px 0;
    color: var(--mb-footer-text);
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    transition: color var(--mb-transition);
}

.mb-footer__links a:hover,
.mb-footer__contact a:hover {
    color: var(--mb-surface);
}

.mb-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.mb-footer__contact li > i {
    flex: 0 0 18px;
    width: 18px;
    margin-top: 12px;
    color: var(--mb-surface);
    text-align: center;
    font-size: 17px;
}

.mb-footer__contact a {
    min-width: 0;
}

.mb-footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.mb-footer__social a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    max-width: 100%;
    padding: 8px 0;
    color: var(--mb-footer-text);
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: color var(--mb-transition);
}

.mb-footer__social a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    color: var(--mb-surface);
    font-size: 20px;
}

.mb-footer__social a:hover {
    color: var(--mb-surface);
}

/* Copyright */

.mb-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 15px 18px;
    border-top: 1px solid var(--mb-green-mid);
    text-align: center;
}

.mb-footer__bottom p {
    margin: 0;
    color: var(--mb-footer-text);
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}


/* =========================
   FAQ ACCORDION
   Native HTML details/summary.
   No JavaScript required.
   ========================= */

.mb-faq-section {
    margin-bottom: 10px;
}

.mb-faq-list {
    overflow: hidden;
    border: 1px solid var(--mb-border);
    border-radius: 10px;
    background: #FFFFFF;
}

.mb-faq-item {
    border-bottom: 1px solid #ECEEEC;
}

.mb-faq-item:last-child {
    border-bottom: 0;
}

.mb-faq-item > summary {
    position: relative;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 15px;
    padding-right: 43px;
    color: var(--mb-text);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.55;
    cursor: pointer;
    list-style: none;
}

.mb-faq-item > summary::-webkit-details-marker {
    display: none;
}

.mb-faq-item > summary::after {
    position: absolute;
    top: 50%;
    right: 16px;
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--mb-green);
    background: var(--mb-green-light);
    content: "+";
    font-size: 17px;
    font-weight: 750;
    transform: translateY(-50%);
}

.mb-faq-item[open] > summary {
    color: var(--mb-green-dark);
    background: #F8FCF8;
}

.mb-faq-item[open] > summary::after {
    content: "−";
}

.mb-faq-answer {
    padding: 0 15px 15px;
    background: #FFFFFF;
}

.mb-faq-answer p {
    color: var(--mb-text-muted);
    font-size: 16px;
    line-height: 1.8;
}



/* =========================================================
   LARGE MOBILE / SMALL TABLET: 769px–1080px
========================================================= */

@media (min-width: 769px) and (max-width: 1080px) {
    .mb-header__inner {
        gap: 16px;
        padding: 10px 24px;
    }

    .mb-header__logo {
        max-width: 260px;
    }

    .mb-header__logo img {
        max-height: 48px;
    }

    .mb-drawer {
        width: min(380px, 72vw);
    }

    .mb-footer__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 28px;
        padding: 32px 28px;
    }

    .mb-footer__brand {
        grid-column: 1 / -1;
        max-width: 680px;
    }

    .mb-footer__description {
        max-width: 620px;
    }
}

/* =========================================================
   MEDIUM MOBILE / TABLET: 361px–768px
========================================================= */

@media (min-width: 361px) and (max-width: 768px) {
    :root {
        --mb-header-height: 64px;
        --mb-drawer-width: 340px;
    }

    .mb-header__inner {
        gap: 10px;
        padding: 8px 12px;
    }

    .mb-header__logo {
        max-width: 200px;
    }

    .mb-header__logo img {
        max-height: 42px;
    }

    .mb-header__login {
        gap: 7px;
        padding-inline: 11px;
    }

    .mb-drawer__top {
        min-height: 68px;
    }

    .mb-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 18px;
        padding: 26px 18px;
    }

    .mb-footer__brand {
        grid-column: 1 / -1;
    }

    .mb-footer__heading {
        margin-bottom: 12px;
    }

    .mb-footer__bottom {
        padding-inline: 14px;
    }
	
	.mb-faq-item > summary {
        min-height: 52px;
        padding: 12px;
        padding-right: 40px;
        font-size: 16px;
    }

    .mb-faq-item > summary::after {
        right: 11px;
    }
}

/* =========================================================
   SMALL MOBILE: 360px AND BELOW
========================================================= */

@media (max-width: 360px) {
    :root {
        --mb-header-height: 60px;
        --mb-drawer-width: 310px;
    }

    .mb-header__inner {
        gap: 8px;
        padding: 7px 9px;
    }

    .mb-header__menu {
        flex-basis: 40px;
        width: 40px;
        height: 42px;
        font-size: 19px;
    }

    .mb-header__logo {
        max-width: 155px;
    }

    .mb-header__logo img {
        max-height: 37px;
    }

    .mb-header__login {
        gap: 0;
        min-height: 42px;
        padding: 0 9px;
        font-size: 16px;
    }

    .mb-header__login i {
        font-size: 17px;
    }

    .mb-header__login span {
        display: none;
    }

    .mb-drawer {
        width: min(310px, 90vw);
    }

    .mb-drawer__top {
        min-height: 64px;
        padding: 10px 12px;
    }

    .mb-drawer__brand {
        max-width: 175px;
    }

    .mb-drawer__brand img {
        max-height: 40px;
    }

    .mb-drawer__links {
        padding: 10px 9px 18px;
    }

    .mb-nav__link {
        gap: 11px;
        padding-inline: 10px;
    }

    .mb-nav__submenu {
        padding-left: 11px;
        margin-left: 11px;
    }

    .mb-nav__submenu a {
        gap: 9px;
        padding-inline: 7px;
    }

    .mb-nav__language {
        padding-inline: 9px;
    }

    .mb-nav__language-options {
        gap: 6px;
    }

    .mb-nav__language-options a {
        padding-inline: 4px;
    }

    .mb-footer__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
        padding: 24px 16px;
    }

    .mb-footer__brand {
        grid-column: auto;
    }

    .mb-footer__logo {
        max-width: 190px;
    }

    .mb-footer__description {
        line-height: 1.7;
    }

    .mb-footer__heading {
        margin-bottom: 10px;
    }

    .mb-footer__bottom {
        padding: 14px 12px;
    }

    .mb-footer__bottom p {
        max-width: 100%;
    }
	
	.mb-faq-item > summary {
        min-height: 52px;
        padding: 12px 10px;
        padding-right: 37px;
        font-size: 16px;
    }

    .mb-faq-item > summary::after {
        right: 9px;
    }

    .mb-faq-answer {
        padding: 0 10px 12px;
    }

    .mb-faq-answer p {
        font-size: 16px;
    }
	
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .mb-header *,
    .mb-footer * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   COOKIE POPUP
========================================================= */


#cookie-banner,#cookie-banner * {
    box-sizing: border-box
}

#cookie-banner {
    display: none;
    position: fixed;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 99980;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 22px;
    color: #343a35;
    background: #fff;
    border: 1px solid #e5ece6;
    border-top: 4px solid #33a94f;
    border-radius: 16px;
    box-shadow: 0 12px 42px rgb(29 53 34 / .18);
    font-family: inherit;
    animation: kd-cookie-in 0.35s ease both
}

#cookie-banner .cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0
}

#cookie-banner .cookie-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: #eef9f1;
    border-radius: 12px;
    font-size: 23px
}

#cookie-banner .cookie-text {
    min-width: 0
}

#cookie-banner .cookie-text strong {
    display: block;
    margin: 0 0 5px;
    color: #27883e;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4
}

#cookie-banner .cookie-text p {
    margin: 0;
    color: #626762;
    font-size: 14px;
    line-height: 1.65
}

#cookie-banner .cookie-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 10px
}

#cookie-banner button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid #fff0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease,color 0.2s ease,border-color 0.2s ease,transform 0.2s ease
}

#cookie-banner button:hover {
    transform: translateY(-1px)
}

#cookie-banner .deny {
    color: #58585a;
    background: #fff;
    border-color: #d9ded9
}

#cookie-banner .deny:hover {
    color: #333;
    background: #f5f6f5;
    border-color: #bfc7bf
}

#cookie-banner .accept {
    color: #fff;
    background: #33a94f;
    border-color: #33a94f
}

#cookie-banner .accept:hover {
    background: #27883e;
    border-color: #27883e
}

@keyframes kd-cookie-in {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width: 600px) {
    #cookie-banner {
        left:12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px;
        display: none
    }

    #cookie-banner .cookie-actions {
        width: 100%
    }

    #cookie-banner .cookie-actions button {
        flex: 1;
        padding: 11px 10px;
        white-space: normal
    }
}

@media (max-width: 768px) {
    #cookie-banner {
        left:16px;
        right: 16px;
        bottom: 16px;
        gap: 16px;
        padding: 17px
    }

    #cookie-banner .cookie-actions {
        gap: 8px
    }

    #cookie-banner button {
        padding: 10px 14px
    }
}

@media (max-width: 576px) {
    #cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: none;
        padding: 15px;
        border-radius: 14px
    }

    #cookie-banner .cookie-content {
        gap: 11px;
        margin-bottom: 14px
    }

    #cookie-banner .cookie-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 20px;
        border-radius: 10px
    }

    #cookie-banner .cookie-text strong {
        font-size: 15px
    }

    #cookie-banner .cookie-text p {
        font-size: 14px;
        line-height: 1.5
    }

    #cookie-banner .cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 9px;
        width: 100%
    }

    #cookie-banner button {
        width: 100%;
        min-height: 44px;
        padding: 10px 8px;
        font-size: 14px;
        white-space: normal
    }
}

@media (prefers-reduced-motion:reduce) {
    #loginPopup.popup-overlay,#loginPopup .popup-box,#cookie-banner {
        animation: none
    }

    #loginPopup .close-popup,#cookie-banner button {
        transition: none
    }
}
