:root, .theme-zloto {
    --gold: #d4b46a;
    --gold-2: #f1d48a;
    --ink: #1c120b;
    --paper: #f7efe2;
    --deep: #2a1810;
    --orange: #c45a1a;
    --top-1: #1a0f0a;
    --top-2: #3a2416;
}
.theme-ocean {
    --gold: #7eb6d9;
    --gold-2: #d7eef8;
    --ink: #0d1b24;
    --paper: #eef6fa;
    --deep: #10222d;
    --orange: #2f6f8f;
    --top-1: #0b1a22;
    --top-2: #1c3b4d;
}
.theme-las {
    --gold: #8fb37a;
    --gold-2: #e4f0d8;
    --ink: #142016;
    --paper: #f3f6ee;
    --deep: #1b2a1c;
    --orange: #4d7a3e;
    --top-1: #121c13;
    --top-2: #2a3f28;
}
.theme-rubin {
    --gold: #d48a9a;
    --gold-2: #f6dce2;
    --ink: #2a1218;
    --paper: #f8eef1;
    --deep: #2c151c;
    --orange: #a33b52;
    --top-1: #1a0c11;
    --top-2: #4a1f2c;
}
.theme-kundalini {
    --gold: #e09a4a;
    --gold-2: #f3d2a8;
    --ink: #1e3d6b;
    --paper: #f7f4ee;
    --deep: #1b3a5c;
    --orange: #d07a32;
    --top-1: #16365f;
    --top-2: #2f7d86;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
}
.wrap { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.top {
    background: linear-gradient(180deg, var(--top-1), var(--top-2));
    color: var(--gold-2);
    position: sticky;
    top: 0;
    z-index: 10;
}
.top.is-white {
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid rgba(30, 61, 107, .12);
    box-shadow: 0 8px 24px rgba(22, 54, 95, .06);
}
.top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    flex-wrap: nowrap;
}
.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    color: inherit;
    text-decoration: none;
    min-width: 0;
    flex: 0 1 auto;
}
.logo .om { font-size: 28px; color: var(--gold); }
.logo small { display: block; opacity: .8; font-size: 12px; }
nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
}
nav a {
    color: var(--gold-2);
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-family: system-ui, sans-serif;
    letter-spacing: .02em;
}
nav a.active, nav a:hover { background: rgba(241, 212, 138, .15); }
.admin-link { border: 1px solid var(--gold); }
.top.is-white nav a {
    color: #1e3d6b;
    background: transparent;
}
.top.is-white nav a:hover {
    background: #eef4fa;
    color: #16365f;
}
.top.is-white nav a.active {
    background: #16365f;
    color: #fff;
}
.top.is-white .admin-link {
    border: 1px solid #d07a32;
    color: #d07a32;
    background: transparent;
}
.top.is-white .admin-link:hover {
    background: #d07a32;
    color: #fff;
}
@media (max-width: 1100px) {
    .top-inner {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .logo {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 8px;
    }
    .logo-img {
        max-width: min(100%, 420px) !important;
        height: auto !important;
    }
    nav {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}
.hero {
    background: none;
    color: #fff8e8;
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}
.hero-slide::before,
.hero-slide::after {
    content: none !important;
    background: none !important;
}
.hero-slides, .hero-slide {
    position: absolute;
    inset: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hero { min-height: 420px; }
.hero-inner { position: relative; z-index: 2; }
.hero-slide .hero-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0 64px;
}
.hero-slide .lead,
.hero-slide .price,
.hero-slide .eyebrow {
    color: #fff8e8;
    position: relative;
    z-index: 2;
}
.pos-preview { position: relative; }
.preview-copy {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff8e8;
    text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.preview-copy strong { display: block; font-size: 18px; }
.preview-copy span { display: block; font-size: 13px; opacity: .9; }
.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .9s ease, transform .9s ease;
    pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-slides[data-on="slide"] .hero-slide { transform: translateX(8%); }
.hero-slides[data-on="slide"] .hero-slide.is-active { transform: none; }
.hero-slides[data-on="slide"] .hero-slide.is-leave { transform: translateX(-8%); opacity: 0; }
.hero-slides[data-on="up"] .hero-slide { transform: translateY(12%); }
.hero-slides[data-on="up"] .hero-slide.is-active { transform: none; }
.hero-slides[data-on="up"] .hero-slide.is-leave { transform: translateY(-12%); opacity: 0; }
.hero-slides[data-on="zoom"] .hero-slide { transform: scale(1.18); }
.hero-slides[data-on="zoom"] .hero-slide.is-active { transform: scale(1); }
.hero-slides[data-on="wipe"] .hero-slide {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transition: clip-path .9s ease;
}
.hero-slides[data-on="wipe"] .hero-slide.is-active { clip-path: inset(0 0 0 0); }
.hero-slides[data-on="wipe"] .hero-slide.is-leave { clip-path: inset(0 0 0 100%); }
.hero h1 {
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.15;
    margin: 8px 0 16px;
    color: var(--gold-2);
}
.eyebrow { letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-size: 13px; }
.lead { max-width: 640px; font-size: 18px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
    display: inline-block;
    background: var(--gold);
    color: #1a0f0a;
    text-decoration: none;
    border: 0;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.btn.ghost {
    background: transparent;
    color: var(--gold-2);
    border: 1px solid var(--gold);
}
.price { margin-top: 18px; color: var(--gold); }
.content { padding: 40px 0 64px; }
.content h1 { color: #5a3314; }
.prose h2 { color: #7a4518; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
footer {
    background: var(--deep);
    color: #e8d7b0;
    padding: 28px 0;
    font-size: 14px;
}
.muted { opacity: .7; }
.admin { padding: 20px 0 48px; }
.admin h1 { font-size: 24px; margin: 0 0 8px; }
.admin h2 { font-size: 16px; margin: 8px 0 6px; }
.admin h3 { font-size: 14px; margin: 0; }
.admin .card { padding: 14px; gap: 8px; border-radius: 12px; }
.admin label { gap: 3px; font-size: 12px; font-weight: 600; }
.admin input[type="text"],
.admin input[type="number"],
.admin input[type="password"],
.admin select,
.admin textarea {
    padding: 7px 9px;
    font-size: 14px;
    border-radius: 8px;
}
.admin input[type="range"] {
    width: 100%;
    height: 18px;
    padding: 0;
    accent-color: #c45a1a;
}
.banner-layout {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
.banner-rail {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 10px;
}
.rail-upload { margin: 0; }
.banner-rail .btn,
.banner-rail label.btn {
    display: block;
    width: 100%;
    text-align: center;
    cursor: pointer !important;
    background: #3f2a1c;
    color: #f1d48a;
    border: 1px solid #2a1810;
    box-sizing: border-box;
}
.picker-actions { display: flex; }
.picker-actions .btn {
    display: inline-block;
    width: auto;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer !important;
    background: #3f2a1c;
    color: #f1d48a;
    border: 1px solid #2a1810;
}
.banner-rail .btn:hover,
.picker-actions .btn:hover {
    background: #2a1810;
}
.rail-file {
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer !important;
}
.rail-file input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer !important;
    width: 100%;
    height: 100%;
}
@media (max-width: 800px) {
    .banner-layout { grid-template-columns: 1fr; }
    .banner-rail { position: sticky; top: 70px; z-index: 8; background: var(--paper); padding: 8px 0; }
}
.card {
    background: #fff;
    border: 1px solid #e6d3b2;
    border-radius: 16px;
    padding: 20px;
    display: grid;
    gap: 12px;
}
label { display: grid; gap: 6px; font-weight: 700; }
input, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9c4a0;
    border-radius: 10px;
    font: 16px/1.5 system-ui, sans-serif;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tabs a {
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    background: #efe0c6;
    color: var(--ink);
}
.tabs a.active { background: var(--gold); }
.alert { color: #8a1f12; }
.ok { color: #2d6a2d; }
code { background: #efe0c6; padding: 1px 6px; border-radius: 6px; }
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.editor-toolbar button {
    border: 1px solid #d9c4a0;
    background: #fff8ec;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font: 14px/1 system-ui, sans-serif;
}
.editor-toolbar button:hover { background: var(--gold); }
.editor-surface {
    min-height: 280px;
    background: #fff;
    border: 1px solid #d9c4a0;
    border-radius: 10px;
    padding: 14px 16px;
    font: 16px/1.6 Georgia, serif;
}
.editor-surface:focus { outline: 2px solid #d4b46a; }
.editor-surface img { max-width: 100%; height: auto; border-radius: 10px; }
.editor-surface img.is-selected { outline: 3px solid var(--gold); }
.toolbar-sep { width: 1px; background: #d9c4a0; margin: 0 4px; }
.text-sm { font-size: 0.9rem; }
.text-md { font-size: 1rem; }
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.6rem; }
.w-25, a.zoom.w-25, .editor-surface img.w-25, .prose img.w-25 { width: 25% !important; max-width: 25% !important; flex: 0 0 25%; }
.w-33, a.zoom.w-33, .editor-surface img.w-33, .prose img.w-33 { width: 33% !important; max-width: 33% !important; flex: 0 0 33%; }
.w-50, a.zoom.w-50, .editor-surface img.w-50, .prose img.w-50 { width: 50% !important; max-width: 50% !important; flex: 0 0 50%; }
.w-75, a.zoom.w-75, .editor-surface img.w-75, .prose img.w-75 { width: 75% !important; max-width: 75% !important; flex: 0 0 75%; }
.w-100, a.zoom.w-100, .editor-surface img.w-100, .prose img.w-100 { width: 100% !important; max-width: 100% !important; flex: 0 0 100%; }
.img-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
}
.img-row a.zoom {
    display: block;
    line-height: 0;
}
.img-row a.zoom img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin: 16px 0;
}
.gallery a, .gallery img {
    display: block;
    width: 100%;
    border-radius: 10px;
    cursor: zoom-in;
}
.gallery img { height: 160px; object-fit: cover; }
.logo-img { height: auto; width: auto; display: block; object-fit: contain; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; cursor: zoom-in; }
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 3, .88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: min(96vw, 1400px);
    max-height: 92vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}
.menu-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    gap: 8px;
    align-items: center;
}
.btn.danger { color: #8a1f12; border-color: #c9897d; }
.theme-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.theme-card {
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid #e6d3b2;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
}
.theme-card input { margin: 0; }
.theme-swatch { height: 28px; border-radius: 6px; display: block; }
.theme-card.theme-zloto .theme-swatch { background: linear-gradient(90deg, #2a1810, #d4b46a); }
.theme-card.theme-ocean .theme-swatch { background: linear-gradient(90deg, #10222d, #7eb6d9); }
.theme-card.theme-las .theme-swatch { background: linear-gradient(90deg, #1b2a1c, #8fb37a); }
.theme-card.theme-rubin .theme-swatch { background: linear-gradient(90deg, #2c151c, #d48a9a); }
.theme-card.theme-kundalini .theme-swatch { background: linear-gradient(90deg, #16365f, #2f7d86, #e09a4a); }
.ai-box {
    border: 1px dashed #d9c4a0;
    border-radius: 12px;
    padding: 12px;
    background: #fffaf3;
    display: grid;
    gap: 8px;
}
.ai-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice-line {
    white-space: nowrap;
    margin: 4px 0 0;
    font-size: 12px;
}
.picker { margin: 6px 0 10px; }
.picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 6px;
    margin-top: 6px;
}
.picker-thumb {
    border: 1px solid #e6d3b2;
    background: #fff;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 44px;
}
.picker-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.picker-thumb.is-active { border-color: #c45a1a; box-shadow: 0 0 0 2px #d4b46a; }
.picker-actions { margin: 4px 0; }
.pos-box { margin: 10px 0; }
.pos-preview {
    height: 96px;
    border-radius: 8px;
    background-color: #2a1810;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #e6d3b2;
}
.pos-preview-slim { height: 44px; }
.pos-controls {
    margin-top: 6px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 8px;
    align-items: center;
}
.pos-nudge { display: flex; gap: 4px; }
.pos-nudge button {
    padding: 3px 8px;
    font-size: 12px;
}
.check { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.btn-edit {
    display: grid;
    gap: 6px;
    padding: 8px;
    background: #fff;
    border: 1px dashed #e6d3b2;
    border-radius: 10px;
}
.slide-edit {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid #e6d3b2;
    border-radius: 10px;
    background: #fffaf0;
    margin-top: 8px;
}
.btn-edit { padding: 6px; gap: 4px; }
.preview-copy { left: 10px; right: 10px; bottom: 8px; }
.preview-copy strong { font-size: 14px; }
.preview-copy span { font-size: 11px; }
.pos-nudge button {
    border: 1px solid #d9c4a0;
    background: #fff8ec;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.media-item {
    margin: 0;
    background: #fff;
    border: 1px solid #e6d3b2;
    border-radius: 12px;
    overflow: hidden;
}
.media-item img { width: 100%; height: 140px; object-fit: cover; display: block; }
.media-item figcaption { padding: 8px; font-size: 12px; }
@media (max-width: 700px) {
    .hero { padding: 48px 0; }
    .menu-row { grid-template-columns: 1fr; }
}
