/* ---------- Base / reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #222;
    background: #fafafa;
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: #c2185b; text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font: inherit; }

/* ---------- Header / Nav ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}
.site-header__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}
.brand {
    display: flex;
    flex-direction: column;
    height: 40px;
    justify-content: center;
    font-family: "Satisfy", "Brush Script MT", cursive;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: .9;
    color: #c2185b;
}
.brand { position: relative; }
.brand__heart { position: absolute; right: .4em; top: .2em; width: .45em; height: .45em; fill: currentColor; transform: rotate(18deg); }
.brand__line { display: block; white-space: nowrap; }
.brand__line--2 { margin-left: .9em; margin-top: 0; }
.brand:hover { text-decoration: none; }

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: content-box;
    width: 18px;
    height: 13px;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 8px 7px;
    color: #ff4081;
    forced-color-adjust: none;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ff4081;
    border-radius: 2px;
    forced-color-adjust: none;
}
:root { color-scheme: light; }

.main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.main-nav.open { display: flex; }
.main-nav a {
    padding: 14px 16px;
    border-top: 1px solid #f0f0f0;
    color: #222;
}
.main-nav a:hover { background: #f8f8f8; text-decoration: none; }

@media (min-width: 700px) {
    .nav-toggle { display: none; }
    .main-nav {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        border: none;
    }
    .main-nav a {
        border: none;
        padding: 0 0 0 24px;
    }
}

/* ---------- Layout ---------- */
.site-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    min-height: 60vh;
}
.page-section h1 { margin-top: 0; }
.page-section--narrow { max-width: 640px; margin: 0 auto; }
.empty-state { color: #777; }

.site-footer {
    text-align: center;
    padding: 24px 16px;
    color: #888;
    font-size: 0.9rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    background: #eee;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 0.8rem;
    padding: 16px 8px 6px;
}

/* ---------- Chat / Posts ---------- */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.post-card__media { overflow: hidden; }
.post-card__image { display: block; width: 100%; max-height: 480px; object-fit: cover; }
.fx-pan:hover .post-card__image { animation: post-image-pan 24s linear infinite; }
.fx-zoom .post-card__image { transition: transform 1.2s ease; }
.fx-zoom:hover .post-card__image { transform: scale(1.25); }
.post-card__message { padding: 12px 16px 0; margin: 0; white-space: pre-wrap; }
.post-card__date { display: block; padding: 4px 16px 0; font-size: 0.8rem; color: #999; }
.post-card__actions { padding: 12px 16px; }
.like-btn {
    background: #fdf1f5;
    border: 1px solid #f3c6d6;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.95rem;
}
.like-btn.liked { background: #c2185b; color: #fff; border-color: #c2185b; }

.comments { border-top: 1px solid #f0f0f0; padding: 12px 16px 16px; }
.comments h3 { margin: 0 0 8px; font-size: 0.95rem; color: #555; }
.comment-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-list li { font-size: 0.92rem; }
.comment-form { display: flex; flex-wrap: wrap; gap: 8px; }
.comment-form input {
    flex: 1 1 140px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.comment-form button {
    background: #c2185b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
}

/* ---------- About ---------- */
.about-content { text-align: left; }
.about-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
}

/* ---------- Forms (admin + generic) ---------- */
form input[type="text"],
form input[type="password"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    font: inherit;
}
form textarea { min-height: 90px; resize: vertical; }
.admin-form button,
.admin-panel button {
    background: #c2185b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
}
.form-error { color: #c62828; font-weight: 600; }
.form-success { color: #2e7d32; font-weight: 600; }

/* ---------- Admin dashboard ---------- */
.admin-topbar { display: flex; align-items: center; justify-content: space-between; }
.btn-secondary {
    background: #eee;
    padding: 8px 14px;
    border-radius: 6px;
    color: #333;
}
.btn-danger {
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
}
.btn-link {
    background: none;
    border: none;
    color: #c62828;
    padding: 0 4px;
}
.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media (min-width: 700px) {
    .admin-grid { grid-template-columns: 1fr 1fr; }
}
.admin-panel {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.admin-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.admin-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.admin-list__item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.admin-list__item span { flex: 1; }
.admin-list__item--post { align-items: flex-start; }
.admin-list__content { flex: 1; }

.comment-reply { display: flex; align-items: center; gap: .5rem; margin: .3rem 0 .5rem 1.5rem; }
.comment-reply__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.reply-form { display: flex; gap: .4rem; margin-top: .3rem; }
.reply-form input { flex: 1; min-width: 0; }
.reply-form .btn-check { background: none; border: none; color: #2e9e4f; font-size: 1.3rem; font-weight: bold; padding: 0 .4rem; width: auto; cursor: pointer; }
.reply-form .btn-check:hover { color: #1f7a3a; }
.comment-form input[type="text"] { margin-bottom: 0; width: auto; }
.comment-form .send-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; width: auto; align-self: stretch; }
.comment-form .send-btn svg { width: 18px; height: 18px; }

.edit-post-form { display: flex; gap: .4rem; align-items: flex-start; }
.edit-post-form textarea { flex: 1; min-width: 0; margin-bottom: 0; }
.edit-post-form .btn-check { background: none; border: none; color: #2e9e4f; font-size: 1.3rem; font-weight: bold; padding: 0 .4rem; cursor: pointer; }

.gallery-heading { display: flex; align-items: center; gap: .6rem; }
.gallery-heading form { margin: 0; }
.btn-plus { width: 32px; height: 32px; border-radius: 50%; border: none; background: #c2185b; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }

.comment-form input.comment-form__name { flex: 0 0 110px; width: 110px; }
.comment-form input[name="comment"] { flex: 1 1 160px; }

.comment-delete { background: none; border: none; color: #999; cursor: pointer; padding: 0 .3rem 0 0; font-size: .85rem; }
.comment-delete:hover { color: #c62828; }

.lang-switch { display: inline-flex; gap: .5rem; align-items: center; margin-left: .75rem; }
.lang-switch a { display: inline-flex; opacity: .5; padding: 0; }
.lang-switch a.active, .lang-switch a:hover { opacity: 1; }
.lang-switch img { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.15); object-fit: cover; }

@media (min-width: 900px) {
    .admin-list--gallery { display: grid; grid-template-columns: repeat(3, 1fr); }
}

.avatar-btn { padding: 0; border: none; background: none; cursor: pointer; display: inline-flex; }
.avatar-btn img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.avatar-manager { display: flex; flex-wrap: wrap; gap: 12px; background: #fff; padding: 12px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 14px; align-items: center; }
.avatar-manager[hidden] { display: none; }
.avatar-manager form { margin: 0; }
.avatar-tile { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 3px solid transparent; }
.avatar-tile--active { border-color: #2e9e4f; }
.avatar-tile > form { height: 100%; }
.avatar-tile__pick { padding: 0; border: none; background: none; cursor: pointer; display: block; width: 100%; height: 100%; }
.avatar-tile__pick img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.avatar-tile__pick { overflow: hidden; border-radius: inherit; }
.avatar-tile__delete { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: none; background: #c62828; color: #fff; font-size: .7rem; line-height: 1; cursor: pointer; padding: 0; }
.avatar-tile--add { border: 2px dashed #bbb; background: none; color: #888; font-size: 1.6rem; cursor: pointer; padding: 0; }

.gallery-panel-title { margin: .6rem 0 .4rem; }
.gallery-drop { display: flex; flex-wrap: wrap; gap: 10px; min-height: 90px; padding: 10px; background: #fff; border: 2px dashed #ddd; border-radius: 8px; margin-bottom: 14px; }
.gallery-drop.drag-over { border-color: #c2185b; background: #fff5f9; }
.gallery-hidden { margin-bottom: 30px; }
.gallery-hidden summary { cursor: pointer; font-weight: 600; margin-bottom: .5rem; }
.gallery-tile { position: relative; width: 90px; height: 90px; cursor: grab; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.gallery-tile form { margin: 0; }
.tile-delete { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: none; background: #c62828; color: #fff; font-size: .75rem; line-height: 1; padding: 0; cursor: pointer; }

.slideshow { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 70vh; background: transparent; border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; }
.slideshow__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 3s ease-in-out; }
.slideshow__slide.active { opacity: 1; }
.slideshow__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.home-latest-title { margin: 1rem 0 .6rem; }

.schedule-text { white-space: normal; background: #fff; padding: 12px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.schedule-list, .schedule-admin-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.schedule-list li { display: flex; flex-wrap: wrap; gap: 8px 14px; background: #fff; padding: 10px 12px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.schedule-list__date { font-weight: 600; text-transform: capitalize; }
.schedule-list__time { font-weight: 600; }
.schedule-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.schedule-form input { margin-bottom: 0; width: auto; padding: 8px; border: 1px solid #ddd; border-radius: 6px; font: inherit; }
.schedule-form input[name="description"] { flex: 1 1 200px; }
.schedule-form .btn-check { background: none; border: none; color: #2e9e4f; font-size: 1.3rem; font-weight: bold; cursor: pointer; }
.schedule-admin-list li { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 8px 12px; border-radius: 8px; }
.schedule-admin-list form { margin: 0; }
.tile-delete--inline { position: static; }

.schedule-form select { padding: 8px; border: 1px solid #ddd; border-radius: 6px; font: inherit; background: #fff; }

/* Home page: fixed background image covered by solid bands when scrolling */
body.home .site-main { max-width: none; padding: 0; min-height: 0; }
.home-bg { position: fixed; top: 64px; left: 0; right: 0; aspect-ratio: 1800 / 1196; z-index: -1; background: url('/assets/img/Net.jpg') center top / 100% 100% no-repeat; }
.home-spacer { width: 100%; aspect-ratio: 1800 / 1196; max-height: calc(100vh - 64px); }
.home-band { padding: 24px 16px 40px; }
.home-band__inner { max-width: 1000px; margin: 0 auto; }
.home-band--slides { background: #f2cfe0; }
.home-band--latest { background: #cfe0f2; min-height: 55vh; }
body.home .site-footer { background: #fafafa; }
body.home .slideshow { margin-bottom: 0; }
body.home .home-latest-title { margin-top: 0; }

.bg-manager .avatar-tile { width: 96px; height: 64px; border-radius: 8px; }
.bg-manager .avatar-tile__pick img { border-radius: 5px; }
.avatar-btn--wide img { width: 56px; height: 36px; border-radius: 6px; }

.post-history { margin-top: 1rem; }
.post-history summary { cursor: pointer; font-weight: 600; margin-bottom: 1rem; }

.admin-section { padding: 1.25rem; margin: 1.5rem 0; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); }
.admin-section > h2:first-child, .admin-section > .gallery-heading:first-child h2 { margin-top: 0; }
.admin-section--background { background: #f2e6f7; }
.admin-section--gallery { background: #e3f0fb; }
.admin-section--posts { background: #e5f5e8; }
.admin-section--schedule { background: #fdf1dc; }

.admin-list__item--post { position: relative; }
.post-delete-form .tile-delete { top: -6px; left: -6px; right: auto; }

@keyframes post-image-pan { 0% { object-position: 50% 50%; animation-timing-function: ease-out; } 25% { object-position: 50% 0%; animation-timing-function: ease-in; } 50% { object-position: 50% 50%; animation-timing-function: ease-out; } 75% { object-position: 50% 100%; animation-timing-function: ease-in; } 100% { object-position: 50% 50%; } }

.effect-form { margin: .5rem 0 1rem; }
.effect-form select { padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; font: inherit; background: #fff; margin-left: .4rem; }

.effect-form--post { margin: .3rem 0; font-size: .85rem; }

.post-media-col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.effect-radios { display: flex; flex-direction: column; font-size: .8rem; }
.effect-radios label { cursor: pointer; white-space: nowrap; }

html { scroll-behavior: smooth; }
.flow-band section[id] { scroll-margin-top: 80px; }
.flow-band--a { background: #f2cfe0; }
.flow-band--b { background: #cfe0f2; }
.flow-band .page-section { padding-top: 8px; }

.admin-section--layout { background: #eceff1; }
.mode-radios { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.mode-radios label { cursor: pointer; }

.admin-section--background .mode-radios { margin-bottom: 1.25rem; }
.admin-section--background .gallery-heading h2 { font-size: 1.1rem; }
.layout-pickers { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; margin-bottom: .75rem; }
.layout-picker h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.avatar-btn--large img { width: 96px; height: 96px; border-radius: 50%; }
.avatar-btn--large.avatar-btn--wide img { width: 144px; height: 96px; border-radius: 10px; }
.avatar-btn--large { font-size: 2rem; }
.admin-section--background .bg-manager .avatar-tile { width: 144px; height: 96px; }
.admin-section--background .profile-manager .avatar-tile { width: 96px; height: 96px; }

.admin-section--background .gallery-heading { margin-top: 1rem; }

.gallery-viewer__stage { position: relative; display: flex; align-items: center; justify-content: center; }
.gallery-viewer__image { max-width: 100%; max-height: 70vh; object-fit: contain; display: block; border-radius: 10px; }
.gallery-viewer__nav { z-index: 2; position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0,0,0,.35); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 0 4px; }
.gallery-viewer__nav:hover { background: rgba(0,0,0,.55); }
.gallery-viewer__nav--prev { left: 8px; }
.gallery-viewer__nav--next { right: 8px; }
.gallery-viewer__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; }
.gallery-viewer__thumb { flex: 0 0 auto; width: 88px; height: 66px; padding: 0; border: 3px solid transparent; border-radius: 8px; background: none; cursor: pointer; overflow: hidden; opacity: .65; transition: opacity .2s; }
.gallery-viewer__thumb:hover { opacity: 1; }
.gallery-viewer__thumb.active { border-color: #c2185b; opacity: 1; }
.gallery-viewer__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.protect-images img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.protect-images .home-bg { pointer-events: none; }

.gallery-viewer__frame { display: flex; max-width: 100%; overflow: hidden; border-radius: 10px; }
.gallery-viewer__image { transition: transform 1.2s ease; }
.gallery-viewer__frame:hover .gallery-viewer__image { transform: scale(1.25); }

.schedule-cols:not(.schedule-cols--two) { max-width: 640px; margin: 0 auto; }
.schedule-cols--two { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .schedule-cols--two { grid-template-columns: 1fr; } }

#schedule .schedule-text, #schedule .schedule-list li { background: none; box-shadow: none; padding-left: 0; padding-right: 0; border-radius: 0; }

.schedule-form input { box-sizing: border-box; height: 38px; line-height: normal; margin: 0; }

form.schedule-form input[type="text"], form.schedule-form input[type="date"] { box-sizing: border-box; height: 38px; margin: 0; padding: 8px; width: auto; }
form.schedule-form input[name="description"] { flex: 1 1 200px; }

.lang-tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.lang-tabs__bar { display: flex; gap: 8px; margin-bottom: 8px; }
.lang-tabs__tab { cursor: pointer; opacity: .5; display: inline-flex; padding: 3px; border-radius: 50%; border: 2px solid transparent; }
.lang-tabs__tab img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }
.lang-tabs__panel { display: none; }
.lang-tabs__radio--da:checked ~ .lang-tabs__bar .lang-tabs__tab--da,
.lang-tabs__radio--en:checked ~ .lang-tabs__bar .lang-tabs__tab--en { opacity: 1; border-color: #c2185b; }
.lang-tabs__radio--da:checked ~ .lang-tabs__panel--da,
.lang-tabs__radio--en:checked ~ .lang-tabs__panel--en { display: flex; }


.admin-section--contact { background: #e6f4ea; }

.contact-links { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; color: #c2185b; font-weight: 600; text-decoration: none; }
.contact-links a:hover span { text-decoration: underline; }
form.schedule-form input[type="email"], form.schedule-form input[type="tel"] { box-sizing: border-box; height: 38px; margin: 0; padding: 8px; width: auto; flex: 1 1 180px; }

.contact-text { margin: 0 0 16px; }

.contact-links { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; }

.tile-move { position: absolute; bottom: 2px; right: 2px; width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; font-size: 1rem; line-height: 1; padding: 0; cursor: pointer; }

.tile-move { top: -6px; left: -6px; bottom: auto; right: auto; display: none; }
@media (hover: none), (pointer: coarse) { .tile-move { display: block; } }
.tile-shift { display: none; position: absolute; bottom: 3px; width: 26px; height: 26px; border: none; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; line-height: 1; padding: 0; cursor: pointer; }
.tile-shift--left { left: 3px; }
.tile-shift--right { right: 3px; }
.section-order { list-style: none; margin: 0 0 1.25rem; padding: 0; max-width: 320px; }
.order-lists { display: flex; flex-wrap: wrap; gap: 0 2rem; }
.btn-translate { align-self: center; background: none; border: 1px solid #ccc; border-radius: 6px; color: #555; font-size: .8rem; padding: 3px 8px; cursor: pointer; white-space: nowrap; }
.btn-translate:hover:not(:disabled) { border-color: #c2185b; color: #c2185b; }
.btn-translate:disabled { opacity: .5; cursor: default; }
.btn-translate--rows { margin: 0 0 .5rem; }
.lang-tabs__bar .btn-translate { display: none; }
.lang-tabs__radio--en:checked ~ .lang-tabs__bar .btn-translate { display: inline-block; }
.order-lists > div { flex: 1 1 220px; max-width: 320px; }
.section-order li { display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 6px 10px; margin-bottom: 6px; border-radius: 8px; }
.section-order form { margin: 0; display: flex; gap: 2px; width: auto; }
.section-order li button { width: 22px; height: 22px; min-width: 0; padding: 0; margin: 0; font-size: 10px; line-height: 1; border: 1px solid #ccc; border-radius: 4px; background: transparent; color: #666; cursor: pointer; }
.section-order li button:hover:not(:disabled) { background: #f3e5f5; color: #c2185b; border-color: #c2185b; }
.section-order li button:disabled { opacity: .3; cursor: default; }
@media (hover: none), (pointer: coarse) { .tile-shift { display: block; } }

.admin-section--about { background: #f3e5f5; }

.page-section > h1 { text-align: center; }

.gallery-drop .gallery-add { order: 999; margin: 0; width: 90px; height: 90px; }
.gallery-add button { width: 100%; height: 100%; border: 2px dashed #bbb; border-radius: 6px; background: none; color: #888; font-size: 1.8rem; cursor: pointer; padding: 0; }

.gallery-viewer__strip { display: flex; align-items: center; gap: 6px; }
.gallery-viewer__thumbs { flex: 1; min-width: 0; scrollbar-width: none; -ms-overflow-style: none; }
.gallery-viewer__thumbs::-webkit-scrollbar { display: none; }
.gallery-viewer__scroll { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0,0,0,.35); color: #fff; font-size: 1.4rem; line-height: 1; padding: 0 0 3px; cursor: pointer; }
.gallery-viewer__scroll:hover { background: rgba(0,0,0,.55); }

.admin-section--menu { background: #e0f2f1; }
.menu-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.menu-row { display: flex; gap: 8px; align-items: center; }
.menu-row input[type="text"] { box-sizing: border-box; margin: 0; padding: 8px; height: 38px; flex: 1 1 0; min-width: 0; width: auto; }
.menu-row input[name="price[]"] { flex: 0 0 90px; }
.menu-actions { display: flex; align-items: center; gap: 12px; }
.menu-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.menu-list li { display: flex; align-items: baseline; gap: 8px; }
.menu-list__dots { flex: 1; border-bottom: 2px dotted currentColor; opacity: .35; transform: translateY(-4px); }
.menu-list__price { font-weight: 600; white-space: nowrap; min-width: 6.5em; text-align: right; }

.menu-switch { margin: 0 0 12px; }
.menu-switch label { cursor: pointer; font-weight: 600; }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { position: relative; width: 40px; height: 22px; border-radius: 22px; background: #c4c9cf; box-shadow: inset 0 1px 3px rgba(0,0,0,.25); transition: background .25s; flex: none; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.3); transition: transform .25s cubic-bezier(.4,1.4,.6,1); }
.switch input:checked + .switch__track { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid #0d9488; outline-offset: 2px; }

.menu-row--head { margin-bottom: 4px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.menu-row--head span { flex: 1 1 0; min-width: 0; }
.menu-row--head .menu-row__price { flex: 0 0 90px; }
.menu-row--head .menu-row__spacer { flex: 0 0 22px; }

.menu-row input[name="eur[]"] { flex: 0 0 90px; }

.menu-note { margin: 0 0 20px; }
.menu-note--after { margin: 20px 0 0; }
.menu-notes { margin-bottom: 14px; }
.menu-notes label { display: block; font-weight: 700; margin-bottom: 4px; }
.menu-notes__pair { display: flex; gap: 8px; }
.menu-notes__pair textarea { flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 8px; font: inherit; border: 1px solid #ddd; border-radius: 6px; resize: vertical; }
@media (max-width: 600px) { .menu-notes__pair { flex-direction: column; } }

.menu-notes .lang-tabs__panel textarea { flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 8px; font: inherit; border: 1px solid #ddd; border-radius: 6px; resize: vertical; }

.site-footer p { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.site-footer p.egg { font-weight: 700; letter-spacing: .08em; transition: opacity .6s; }
.site-footer p.egg--out { opacity: 0; }
.egg__ch { display: inline-block; opacity: 0; color: #ff4081; text-shadow: 0 0 6px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.8); animation: eggIn .5s cubic-bezier(.2,1.6,.4,1) forwards, eggColor 2s linear infinite; }
@keyframes eggColor { 0%, 100% { color: #ff4081; } 25% { color: #ffca28; } 50% { color: #26c6da; } 75% { color: #7c4dff; } }
@keyframes eggIn { 0% { opacity: 0; transform: translateY(14px) scale(.3) rotate(-20deg); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes eggShine { to { background-position: 300% 0; } }
