/* ========================================================================
   Pascha Reinfeld – Complete CSS Update
   Modern pizza/restaurant ordering UI – no HTML changes required
   Compatible with existing ASP.NET IDs/classes from pascha.html
   ======================================================================== */

/* =============================
   01. Theme tokens
   ============================= */
:root {
    --bg: #120b08;
    --bg-2: #1b100b;
    --surface: rgba(255, 248, 235, .96);
    --surface-dark: rgba(30, 18, 12, .92);
    --surface-soft: #fff6e6;

    --text: #23150e;
    --text-soft: #6d5546;
    --text-invert: #fff8ea;

    --red: #b91c1c;
    --red-2: #dc2626;
    --red-dark: #7f1111;
    --gold: #f59e0b;
    --gold-2: #fbbf24;
    --cream: #fff0cf;
    --green: #15803d;

    --border: rgba(80, 36, 18, .14);
    --border-light: rgba(255, 255, 255, .14);
    --shadow: 0 18px 50px rgba(46, 15, 6, .22);
    --shadow-strong: 0 28px 80px rgba(46, 15, 6, .34);

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1200px;

    --topbar-h: 66px;
    --catbar-h: 62px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

/* =============================
   02. Base / Reset
   ============================= */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--topbar-h) + var(--catbar-h) + 24px);
}

body#BodyTag,
body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    background:
        radial-gradient(900px 460px at 10% -10%, rgba(220, 38, 38, .28), transparent 60%),
        radial-gradient(800px 440px at 95% 5%, rgba(245, 158, 11, .30), transparent 58%),
        linear-gradient(180deg, #fff4dc 0%, #fff8ed 38%, #f8ead4 100%);
}

body#BodyTag::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(127, 17, 17, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 17, 17, .035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 82%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
.aspNetHidden { display: none !important; }

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid rgba(245, 158, 11, .55);
    outline-offset: 3px;
}

/* =============================
   03. Fixed top action buttons
   ============================= */
.hamburger,
button.hamburger,
a.hamburger {
    position: fixed !important;
    top: 12px;
    width: 44px;
    height: 44px;
    z-index: 5000;
    display: grid !important;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.34);
    background: rgba(255, 248, 235, .88);
    color: var(--red-dark);
    box-shadow: 0 10px 28px rgba(71, 25, 9, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}

.hamburger:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fff8ea, #ffe1a6);
    color: var(--red);
    box-shadow: 0 16px 34px rgba(71, 25, 9, .22);
}
.hamburger:active { transform: translateY(0) scale(.97); }

#btnHamburger { left: 14px; }
#btHome { left: 68px; }
#btLogin { left: 122px; }
#btnSearch { right: 68px; }
#btlanguge { right: 14px; }

#lbDatum.datum,
#lbDatum {
    position: fixed !important;
    top: 12px;
    right: 124px;
    z-index: 4990;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.34);
    background: rgba(255, 248, 235, .88);
    color: var(--red-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
    box-shadow: 0 10px 28px rgba(71, 25, 9, .14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    white-space: nowrap;
}

/* =============================
   04. Hamburger navigation panel
   JS may toggle .active or inline display:block
   ============================= */
#PanelNavigator.panel-navigator,
.panel-navigator {
    position: fixed !important;
    top: calc(var(--topbar-h) + 8px) !important;
    left: 14px !important;
    width: min(340px, calc(100vw - 28px));
    max-height: calc(100vh - 94px);
    overflow: auto;
    z-index: 5200;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255, 248, 235, .96);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: block !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(.98);
    transform-origin: top left;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
}

#PanelNavigator.panel-navigator.active,
#PanelNavigator.panel-navigator.is-open,
#PanelNavigator.panel-navigator[style*="display: block"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.panel-navigator a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 7px 0;
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid rgba(127, 17, 17, .10);
    background: linear-gradient(135deg, #fff, #fff1d2);
    color: var(--text);
    font-weight: 850;
    transition: transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}

.panel-navigator a:hover {
    transform: translateX(3px);
    border-color: rgba(185, 28, 28, .24);
    background: linear-gradient(135deg, #fff4d8, #ffd58a);
}

.panel-navigator a.badge {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--gold));
    border-color: rgba(255,255,255,.22);
}

body.overlay-active::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 5100;
    background: rgba(35, 12, 4, .42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* =============================
   05. Search & language panel
   Closed by default, JS display:block stays respected
   ============================= */
.divsearch,
#PanelSearch,
#Panellang {
    position: fixed !important;
    top: calc(var(--topbar-h) + 10px) !important;
    right: 14px !important;
    left: auto !important;
    z-index: 5300 !important;
    width: min(560px, calc(100vw - 28px)) !important;
    max-height: calc(100vh - 96px);
    overflow: auto;
    padding: 12px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    background: rgba(255, 248, 235, .96) !important;
    box-shadow: var(--shadow-strong) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: none;
}

.divsearch[style*="display: block"],
#PanelSearch[style*="display: block"],
#Panellang[style*="display: block"] {
    animation: panelDrop .22s var(--ease) both;
}

@keyframes panelDrop {
    from { opacity: 0; transform: translateY(-8px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.divsearch .eingabe,
#PanelSearch .eingabe {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.input-field,
#tbTextMaster {
    flex: 1 1 auto;
    min-width: 0;
    width: 100% !important;
    height: 46px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid rgba(127, 17, 17, .18);
    background: #fff;
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.input-field:focus,
#tbTextMaster:focus {
    border-color: rgba(185, 28, 28, .42);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .22);
}

.login-button,
#btSearchMaster,
.btn,
.btn-primary,
.btn-outline,
.btn-ghost {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(127, 17, 17, .16);
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s var(--ease), box-shadow .16s var(--ease), filter .16s var(--ease), background .16s var(--ease);
}

.login-button,
#btSearchMaster,
.btn-primary {
    padding: 0 18px;
    background: linear-gradient(135deg, var(--red), var(--gold));
    color: #fff;
    box-shadow: 0 12px 24px rgba(185, 28, 28, .22);
}

#btSearchMaster { width: auto !important; min-width: 88px; }

.btn-outline {
    padding: 0 16px;
    background: transparent;
    color: var(--red-dark);
    border-color: rgba(185, 28, 28, .28);
}

.btn-ghost,
.btn {
    padding: 0 16px;
    background: #fff6e6;
    color: var(--text);
}

.login-button:hover,
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.lang-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
    min-width: 120px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(127, 17, 17, .14);
    background: linear-gradient(135deg, #fff, #fff1d2);
    color: var(--text);
    font-weight: 850;
}
.lang-item:hover { background: linear-gradient(135deg, #fff3d5, #ffd58a); }
.lang-item img { width: 26px; height: 18px; object-fit: cover; border-radius: 4px; }

/* =============================
   06. Hero banner
   ============================= */
.bannerimg {
    width: min(var(--container), calc(100% - 28px));
    margin: calc(var(--topbar-h) + 12px) auto 18px;
    padding: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(185, 28, 28, .14), rgba(245, 158, 11, .20));
    box-shadow: var(--shadow);
    overflow: hidden;
}

#imgBanner {
    width: 100% !important;
    height: clamp(160px, 25vw, 280px);
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.44);
    filter: saturate(1.06) contrast(1.02);
}

/* =============================
   07. Layout container
   ============================= */
.inner {
    width: min(var(--container), calc(100% - 28px));
    margin: 0 auto;
    padding: 0 0 56px;
}

form#form1 { margin: 0; }

/* =============================
   08. Category menu bar
   ============================= */
#menu.menu,
.menu {
    position: sticky;
    top: 8px;
    z-index: 2400;
    width: 100%;
    height: auto;
    max-width: var(--container);
    margin: 0 auto 20px;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255, 248, 235, .88);
    box-shadow: 0 14px 40px rgba(71, 25, 9, .14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

#Post_Panelwarenkorp { display: none; }

.menu-items,
#Post_PanelShopCategory.menu-items {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0 2px 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.menu-items::-webkit-scrollbar { height: 8px; }
.menu-items::-webkit-scrollbar-track { background: rgba(127,17,17,.08); border-radius: 999px; }
.menu-items::-webkit-scrollbar-thumb { background: rgba(185,28,28,.28); border-radius: 999px; }

.menu-items a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(127, 17, 17, .12);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    scroll-snap-align: start;
    box-shadow: 0 8px 16px rgba(71, 25, 9, .06);
    transition: transform .16s var(--ease), background .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}

.menu-items a::before {
    content: "🍕";
    margin-right: 7px;
    font-size: 14px;
}
.menu-items a:nth-child(n+2)::before { content: "•"; color: var(--gold); }

.menu-items a:hover {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--gold));
    box-shadow: 0 14px 28px rgba(185, 28, 28, .18);
}

/* =============================
   09. Product categories
   ============================= */
#Post_PanelProdukt {
    display: grid;
    gap: 28px;
}

.Category {
    --cols: 1;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255, 248, 235, .82);
    box-shadow: var(--shadow);
    scroll-margin-top: 96px;
    position: relative;
    overflow: hidden;
    animation: sectionIn .55s var(--ease) both;
}

.Category::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}

.Category > span:first-child {
    grid-column: 1 / -1;
    display: block;
}

.Category > span > h1,
.Category h1 {
    margin: 2px 0 4px;
    color: var(--red-dark);
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 950;
}

.Category > span > h1::after {
    content: "";
    display: block;
    width: 74px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

@media (min-width: 680px) { .Category { --cols: 2; } }
@media (min-width: 1080px) { .Category { --cols: 3; } }

@keyframes sectionIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================
   10. Product card
   Markup: div.Product with image, spans, input.Product.bt
   ============================= */
.Category .Product,
.Product {
    min-width: 0;
}

.Category > .Product {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-auto-rows: min-content;
    gap: 8px 14px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(127, 17, 17, .10);
    background: #fff;
    box-shadow: 0 12px 28px rgba(71, 25, 9, .08);
    overflow: hidden;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
    animation: cardIn .45s var(--ease) both;
}

.Category > .Product:nth-of-type(2n) { animation-delay: .04s; }
.Category > .Product:nth-of-type(3n) { animation-delay: .08s; }

@keyframes cardIn {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (hover:hover) {
    .Category > .Product:hover {
        transform: translateY(-5px);
        border-color: rgba(185, 28, 28, .26);
        box-shadow: 0 20px 44px rgba(71, 25, 9, .16);
    }
}

.Product img {
    grid-row: 1 / span 4;
    width: 96px;
    height: 96px;
    border-radius: 18px;
    object-fit: cover;
    background:
        linear-gradient(135deg, rgba(245,158,11,.14), rgba(185,28,28,.12)),
        #fff0cf;
    border: 1px solid rgba(127, 17, 17, .10);
    cursor: zoom-in;
}

.Product img[src*="Noimage"] {
    object-fit: contain;
    padding: 12px;
    opacity: .78;
}

.Product img.fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    padding: 28px !important;
    background: rgba(12, 6, 3, .94) !important;
    z-index: 99999 !important;
    border: 0 !important;
    border-radius: 0 !important;
    cursor: zoom-out;
}

.Product span { min-width: 0; }
.Product span h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -.01em;
}

/* price */
.Product > span:nth-of-type(2) {
    color: var(--red);
    font-size: 18px;
    font-weight: 1000;
    line-height: 1.1;
}

/* availability */
.Product span h2 {
    display: inline-flex;
    margin: 2px 0;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(185, 28, 28, .18);
    background: rgba(185, 28, 28, .08);
    color: var(--red-dark);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* description */
.Product > span:last-of-type {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.35;
    max-height: 5.4em;
    overflow: hidden;
}

/* hide useless stock text when products are disabled */
.Product > span:last-of-type br:last-child { display: none; }

input.Product.bt {
    justify-self: end;
    align-self: end;
    min-width: 44px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--gold));
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(185, 28, 28, .22);
    transition: transform .16s var(--ease), filter .16s var(--ease), box-shadow .16s var(--ease);
}

input.Product.bt:hover { transform: scale(1.06); filter: brightness(1.03); }
input.Product.bt:active { transform: scale(.96); }

input.Product.bt:disabled,
input.aspNetDisabled.Product.bt {
    display: none;
}

/* =============================
   11. Cookie banner
   ============================= */
.cookie-banner,
#cookieBanner {
    position: fixed !important;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 6000;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(35, 21, 14, .94);
    color: var(--text-invert);
    box-shadow: 0 26px 70px rgba(46, 15, 6, .38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.cookie-banner-inner {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.cookie-banner-text h3 {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 950;
    color: #fff;
}
.cookie-banner-text p {
    margin: 0;
    color: rgba(255,248,234,.78);
    font-size: 13px;
    line-height: 1.4;
}
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* =============================
   12. Privacy modal
   ============================= */
.privacy-modal {
    position: fixed !important;
    inset: 0;
    z-index: 7000;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(18, 8, 3, .66);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.privacy-modal-dialog {
    width: min(720px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.22);
    background: var(--surface);
    box-shadow: var(--shadow-strong);
}

.privacy-modal-header,
.privacy-modal-footer {
    padding: 16px 18px;
    background: linear-gradient(135deg, #fff3d3, #fffaf0);
    border-color: rgba(127, 17, 17, .10);
}
.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(127, 17, 17, .10);
}
.privacy-modal-header h3 { margin: 0; color: var(--red-dark); font-size: 18px; font-weight: 950; }
.icon-button {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(127, 17, 17, .12);
    background: #fff;
    color: var(--red-dark);
    cursor: pointer;
}
.privacy-modal-body { padding: 16px 18px; color: var(--text-soft); }
.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 10px 0;
    padding: 13px;
    border-radius: 18px;
    border: 1px solid rgba(127, 17, 17, .10);
    background: #fffaf0;
}
.toggle-row strong { color: var(--text); }
.toggle-row small { color: var(--text-soft); }
.toggle-row input[type="checkbox"] {
    width: 44px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 999px;
    border: 1px solid rgba(127, 17, 17, .18);
    background: rgba(127, 17, 17, .12);
    position: relative;
    flex: 0 0 auto;
}
.toggle-row input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    transition: transform .18s var(--ease), background .18s var(--ease);
}
.toggle-row input[type="checkbox"]:checked { background: linear-gradient(135deg, var(--red), var(--gold)); }
.toggle-row input[type="checkbox"]:checked::after { transform: translateX(20px); }
.privacy-modal-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(127, 17, 17, .10);
}

/* =============================
   13. Notification & footer
   ============================= */
.notification {
    position: fixed !important;
    left: 16px;
    bottom: 16px;
    z-index: 6500;
    width: min(560px, calc(100vw - 32px));
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(35, 21, 14, .94);
    color: var(--text-invert);
    box-shadow: var(--shadow-strong);
    display: none;
}
.close-btn,
#close-notification {
    float: right;
    margin-left: 10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
}

.footer,
#footer {
    width: min(var(--container), calc(100% - 28px));
    margin: 28px auto 40px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255, 248, 235, .76);
    color: var(--text-soft);
    box-shadow: 0 12px 34px rgba(71, 25, 9, .10);
}
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-menu a {
    padding: 10px 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(127, 17, 17, .10);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}
.footer-menu a:hover { background: #fff1d2; }
.footer-social { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.footer-copyright,
.footer-company {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
}
.hansadigital {
    display: block;
    width: min(200px, 70vw);
    margin: 12px auto 0;
    opacity: .88;
}

/* =============================
   14. Extra media blocks
   ============================= */
.PanelExtra {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}
.PanelExtra img.post-extra-img,
.PanelExtra video,
.PanelExtra audio {
    width: 100%;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(127, 17, 17, .10);
    box-shadow: 0 10px 24px rgba(71, 25, 9, .10);
}
.PanelExtra img.post-extra-img { aspect-ratio: 16 / 10; object-fit: cover; }
.PanelExtra video { aspect-ratio: 16 / 9; background: #000; }
.PanelExtra audio { background: #fff; padding: 10px; }
@media (min-width: 640px) { .PanelExtra { grid-template-columns: repeat(2, minmax(0, 1fr)); } .PanelExtra video, .PanelExtra audio { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .PanelExtra { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =============================
   15. Responsive
   ============================= */
@media (max-width: 760px) {
    :root { --topbar-h: 62px; }

    #btLogin { display: none !important; }
    #btHome { left: 68px; }
    #lbDatum { display: none !important; }

    .bannerimg {
        width: calc(100% - 20px);
        margin-top: calc(var(--topbar-h) + 8px);
        border-radius: 22px;
    }
    #imgBanner {
        height: clamp(130px, 34vw, 190px);
        border-radius: 22px;
    }

    .inner { width: calc(100% - 20px); }

    #menu.menu,
    .menu {
        top: 6px;
        margin-bottom: 14px;
        border-radius: 18px;
        padding: 8px;
    }
    .menu-items a {
        min-height: 40px;
        padding: 0 13px;
        font-size: 13px;
    }

    .Category {
        padding: 13px;
        gap: 12px;
        border-radius: 22px;
    }

    .Category > .Product {
        grid-template-columns: 82px 1fr;
        gap: 7px 12px;
        padding: 12px;
        border-radius: 18px;
    }
    .Product img {
        width: 82px;
        height: 82px;
        border-radius: 15px;
    }
    .Product span h3 { font-size: 15px; }
    .Product > span:nth-of-type(2) { font-size: 16px; }
    .Product > span:last-of-type { font-size: 12px; max-height: 4.1em; }

    .cookie-banner,
    #cookieBanner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 20px;
        max-height: 78vh;
        overflow: auto;
    }
    .cookie-banner-inner {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .cookie-banner-actions {
        justify-content: stretch;
    }
    .cookie-banner-actions .btn,
    .cookie-banner-actions input,
    .cookie-banner-actions button {
        flex: 1 1 100%;
        width: 100%;
    }

    .divsearch,
    #PanelSearch,
    #Panellang {
        top: calc(var(--topbar-h) + 6px) !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
    }
}

@media (max-width: 430px) {
    #btnHamburger { left: 10px; }
    #btHome { left: 60px; }
    #btnSearch { right: 60px; }
    #btlanguge { right: 10px; }

    .hamburger { width: 42px; height: 42px; }

    .Category > .Product {
        grid-template-columns: 76px 1fr;
    }
    .Product img { width: 76px; height: 76px; }
    .Product span h2 { font-size: 10px; padding: 4px 8px; }
}

/* =============================
   16. Motion control
   ============================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

@supports (animation-timeline: view()) {
    .Category {
        animation-name: sectionView;
        animation-timeline: view();
        animation-range: entry 0% cover 26%;
    }
    @keyframes sectionView {
        from { opacity: .25; transform: translateY(22px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
