
.leos-menu.leos-menu--visual {
    --leos-bg: linear-gradient(180deg, #f4f4f1 0%, #ece9e2 100%);
    --leos-paper: rgba(255,255,255,0.38);
    --leos-ink: #111111;
    --leos-muted: rgba(17,17,17,.82);
    --leos-accent: #cc1d24;
    --leos-gold: #b8843e;
    --leos-dark: #1f2428;
    --leos-line: rgba(0,0,0,.85);
    width: 100%;
    color: var(--leos-ink);
}
.leos-menu.leos-menu--visual * { box-sizing: border-box; }
.leos-menu.leos-menu--visual .leos-menu-nav {
    display: flex !important;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0 0 1.5rem;
}
.leos-menu.leos-menu--visual .leos-menu-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .72rem 1rem;
    min-height: 42px;
    border-radius: 999px;
    background: var(--leos-dark);
    border: 2px solid var(--leos-gold);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: .9rem;
}
.leos-menu.leos-menu--visual .leos-menu-nav a:hover,
.leos-menu.leos-menu--visual .leos-menu-nav a:focus { color: #fff; opacity: .92; }
.leos-menu.leos-menu--visual .leos-menu-section {
    background: var(--leos-bg);
    border-left: 4px solid var(--leos-accent);
    border-right: 4px solid var(--leos-accent);
    padding: 0 1.25rem 1rem;
    margin: 0 0 2rem;
    box-shadow: 0 6px 22px rgba(0,0,0,.08);
    overflow: hidden;
    scroll-margin-top: 96px;
}
.leos-menu.leos-menu--visual .leos-menu-section-header {
    background: linear-gradient(180deg, #24313a 0%, #15181c 100%);
    margin: 0 -1.25rem 1rem;
    padding: 1rem 1.25rem;
    color: #fff;
    border-bottom: 4px solid rgba(0,0,0,.35);
}
.leos-menu.leos-menu--visual .leos-menu-section-header h2 {
    margin: 0;
    color: var(--leos-gold);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.05;
}
.leos-menu.leos-menu--visual .leos-menu-section-note {
    margin-top: .85rem;
    background: var(--leos-accent);
    color: #fff;
    display: inline-block;
    padding: .5rem .9rem;
    border-radius: 8px;
    font-size: .98rem;
    line-height: 1.4;
}
.leos-menu.leos-menu--visual .leos-menu-section-note p { margin: 0; }
.leos-menu.leos-menu--visual .leos-menu-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.leos-menu.leos-menu--visual .leos-menu-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: .45rem 0 1rem;
    border-bottom: 4px solid var(--leos-line);
    min-width: 0;
}
.leos-menu.leos-menu--visual .leos-menu-item.has-image {
    grid-template-columns: minmax(0, 1fr) 220px;
}
.leos-menu.leos-menu--visual .leos-menu-body { min-width: 0; }
.leos-menu.leos-menu--visual .leos-menu-line {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 1rem;
    align-items: start;
    margin-bottom: .35rem;
}
.leos-menu.leos-menu--visual .leos-menu-line h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2.3vw, 2rem);
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: .01em;
    color: #111;
}
.leos-menu.leos-menu--visual .leos-menu-price {
    white-space: nowrap;
    align-self: start;
}
.leos-menu.leos-menu--visual .leos-menu-price span {
    display: inline-block;
    background: #f0e5ef;
    border: 2px solid rgba(65,34,52,.45);
    padding: .18rem .55rem;
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    line-height: 1.1;
    font-weight: 800;
    color: #111;
}
.leos-menu.leos-menu--visual .leos-menu-description {
    color: var(--leos-muted);
    font-size: 1.02rem;
    line-height: 1.52;
    max-width: 52rem;
}
.leos-menu.leos-menu--visual .leos-menu-description p:first-child { margin-top: 0; }
.leos-menu.leos-menu--visual .leos-menu-description p:last-child { margin-bottom: 0; }
.leos-menu.leos-menu--visual .leos-menu-image-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.leos-menu.leos-menu--visual .leos-menu-image {
    border: 4px solid #111;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}
.leos-menu.leos-menu--visual .leos-menu-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.leos-menu.leos-menu--visual .leos-menu-image-card figcaption {
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}
.leos-menu-empty {
    padding: 1rem;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 8px;
    background: #fafafa;
}
@media (max-width: 900px) {
    .leos-menu.leos-menu--visual .leos-menu-item.has-image { grid-template-columns: minmax(0, 1fr) 170px; }
}
@media (max-width: 700px) {
    .leos-menu.leos-menu--visual .leos-menu-section { padding: 0 1rem .75rem; }
    .leos-menu.leos-menu--visual .leos-menu-section-header { margin: 0 -1rem 1rem; padding: .85rem 1rem; }
    .leos-menu.leos-menu--visual .leos-menu-item,
    .leos-menu.leos-menu--visual .leos-menu-item.has-image { grid-template-columns: 1fr; }
    .leos-menu.leos-menu--visual .leos-menu-image-card { max-width: 260px; }
    .leos-menu.leos-menu--visual .leos-menu-price span { font-size: 1.2rem; }
}

.leos-menu.leos-menu--visual .leos-menu-item.no-image .leos-menu-image-card.is-placeholder figcaption {
    opacity: .9;
}
.leos-menu.leos-menu--visual .leos-menu-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 1rem;
    background: linear-gradient(180deg, #efefef 0%, #dddddd 100%);
    color: #333;
    text-align: center;
}
.leos-menu.leos-menu--visual .leos-menu-placeholder-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: .65rem;
}
.leos-menu.leos-menu--visual .leos-menu-placeholder-text {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .95rem;
}

/* Browser-only Leo Menu Editor */
.leos-editor-shell {
    --leos-editor-dark: #20282e;
    --leos-editor-accent: #b8843e;
    --leos-editor-red: #c82127;
    --leos-editor-border: rgba(0,0,0,.14);
    max-width: 980px;
    margin: 1.5rem auto;
    color: #171717;
}
.leos-editor-shell * { box-sizing: border-box; }
.leos-editor-card {
    background: #fff;
    border: 1px solid var(--leos-editor-border);
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,.07);
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.leos-editor-card h2,
.leos-editor-card h3 { margin-top: 0; }
.leos-editor-head,
.leos-editor-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.leos-editor-actions { flex: 0 0 auto; }
.leos-editor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .65rem 1rem;
    border: 2px solid var(--leos-editor-accent);
    border-radius: 7px;
    background: var(--leos-editor-dark);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 750;
    cursor: pointer;
}
.leos-editor-button:hover,
.leos-editor-button:focus { opacity: .92; color: #fff !important; }
.leos-editor-button.secondary {
    background: #fff;
    color: #222 !important;
    border-color: #777;
}
.leos-editor-notice {
    border-radius: 8px;
    padding: .9rem 1rem;
    margin: 0 0 1rem;
    font-weight: 650;
}
.leos-editor-notice.success { background: #e8f5e9; border: 1px solid #6fa874; }
.leos-editor-notice.error { background: #fdeaea; border: 1px solid #cc6c6c; }
.leos-editor-inline-form { margin-bottom: 1rem; }
.leos-editor-verify-form {
    display: grid;
    grid-template-columns: minmax(160px, 220px) auto;
    gap: .7rem 1rem;
    align-items: end;
    max-width: 520px;
}
.leos-editor-verify-form label { grid-column: 1 / -1; }
.leos-editor-verify-form input,
.leos-price-field input,
.leos-editor-shell #user_login,
.leos-editor-shell #user_pass {
    width: 100%;
    min-height: 42px;
    border: 1px solid #888;
    border-radius: 6px;
    padding: .55rem .7rem;
    background: #fff;
    color: #111;
}
.leos-editor-verify-form input {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-align: center;
}
.leos-editor-small { font-size: .9rem; opacity: .75; }
.leos-price-group > h3 {
    margin: -1.25rem -1.25rem 1rem;
    padding: .85rem 1.25rem;
    background: linear-gradient(180deg, #29363e 0%, #1b2227 100%);
    color: #d2a45d;
    border-radius: 10px 10px 0 0;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.leos-price-grid { display: grid; gap: 0; }
.leos-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 1rem;
    align-items: center;
    padding: .75rem .25rem;
    border-bottom: 1px solid rgba(0,0,0,.12);
}
.leos-price-row:last-child { border-bottom: 0; }
.leos-price-name { font-weight: 700; }
.leos-price-field {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: .3rem;
    font-weight: 800;
}
.leos-price-field input {
    font-size: 1.05rem;
    font-weight: 750;
    text-align: right;
}
.leos-editor-lock-form { text-align: right; margin-top: 1rem; }
@media (max-width: 650px) {
    .leos-editor-head,
    .leos-editor-toolbar { align-items: stretch; flex-direction: column; }
    .leos-editor-verify-form { grid-template-columns: 1fr; }
    .leos-editor-verify-form label { grid-column: auto; }
    .leos-price-row { grid-template-columns: 1fr 130px; }
}
