:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-input: #2a2a2a;
    --gold: #d4af37;
    --gold-hover: #b5952f;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --danger: #e53935;
    --success: #43a047;
    --radius: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 50px;
    overflow-x: hidden;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 15px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 10px 18px;
    border-bottom: 1px solid #333;
    margin-bottom: 18px;
}

.lang-minimal {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.lang-minimal button {
    background: transparent;
    border: none;
    padding: 2px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lang-divider {
    color: #3a3a3a;
    font-size: 0.68rem;
    user-select: none;
}

header h1,
header p,
#ui-shop-address-badge {
    width: fit-content;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    color: var(--gold);
    font-size: clamp(1.3rem, 5vw, 1.95rem);
    letter-spacing: clamp(1.2px, 0.4vw, 2px);
    padding-left: 2px;
    line-height: 1.25;
    text-transform: uppercase;
    word-break: normal;
    overflow-wrap: break-word;
    margin-top: 0;
}

header p.subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.4;
}

.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid #333;
    color: var(--text-muted);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid #2c2c2c;
}

details.card {
    padding: 0;
    overflow: hidden;
}

details.card summary {
    padding: 15px 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    gap: 10px;
}

details.card summary::-webkit-details-marker {
    display: none;
}

details.card summary::after {
    content: "▼";
    font-size: 0.78rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}

details.card[open] summary::after {
    transform: rotate(180deg);
}

details.card[open] summary {
    border-bottom: 1px solid #2c2c2c;
}

.card-body {
    padding: 16px;
}

h2 {
    font-size: 1.15rem;
    margin-bottom: 14px;
    color: var(--gold);
    border-left: 3px solid var(--gold);
    padding-left: 10px;
}

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="password"],
input[type="number"],
select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 44px;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid #444;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.2;
    color-scheme: dark;
    -webkit-appearance: none;
    appearance: none;
}

input[type="date"],
input[type="time"] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 10px;
}

input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value {
    text-align: center;
    margin: 0 auto;
}

.card-body > div,
.form-group {
    min-width: 0;
    max-width: 100%;
}

input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-color: #333;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    background: var(--bg-input);
    border: 2px solid transparent;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.service-item:hover {
    border-color: #555;
}

.service-item.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.12);
}

.service-info strong {
    display: block;
    font-size: 0.98rem;
}

.service-info span {
    font-size: 0.83rem;
    color: var(--text-muted);
}

.service-price {
    font-weight: bold;
    color: #ffffff;
    font-size: 1.05rem;
    white-space: nowrap;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.slot-btn {
    padding: 10px 6px;
    background: var(--bg-input);
    border: 1px solid #444;
    color: var(--text-main);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: center;
    transition: 0.15s;
}

.slot-btn:hover:not(:disabled) {
    border-color: var(--gold);
}

.slot-btn.selected {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.slot-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #1a1a1a;
}

.days-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.day-chk {
    background: var(--bg-input);
    padding: 8px 6px;
    border-radius: 6px;
    border: 1px solid #444;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    color: var(--text-main);
}

.btn-primary {
    width: 100%;
    padding: 13px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--gold-hover);
}

.btn-small {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    line-height: 1.2;
}

.btn-wa {
    background: #25D366;
    color: #000;
}

.btn-del {
    background: var(--danger);
    color: #fff;
}

.gdpr-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.gdpr-box input {
    margin-top: 3px;
}

.gdpr-link {
    color: var(--gold);
    text-decoration: underline;
    cursor: pointer;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.alert-success {
    background: rgba(67, 160, 71, 0.2);
    border: 1px solid var(--success);
    color: #a5d6a7;
}

.alert-error {
    background: rgba(229, 57, 53, 0.2);
    border: 1px solid var(--danger);
    color: #ef9a9a;
}

.hidden {
    display: none !important;
}

.booking-card {
    background: var(--bg-input);
    padding: 13px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.booking-info strong {
    display: block;
    color: var(--gold);
}

.booking-info span {
    font-size: 0.84rem;
    color: var(--text-main);
    display: block;
}

.booking-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rank-box {
    background: #262626;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #383838;
    text-align: center;
}

.insight-box {
    background: #232018;
    border: 1px solid #524520;
    border-left: 4px solid var(--gold);
    padding: 11px 13px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #eee;
    line-height: 1.55;
}

.history-list {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #444;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.history-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #222;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 15px;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    max-width: 480px;
    width: 100%;
    padding: 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    header h1 {
        font-size: 1.45rem;
    }
    .card-body {
        padding: 12px;
    }
    .filter-bar {
        grid-template-columns: 1fr;
    }
    .days-checkbox-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .booking-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .booking-actions {
        width: 100%;
    }
    .booking-actions .btn-small {
        flex: 1;
    }
}
/* ==================== LANDING PAGE B2B (WARM IVORY & EMERALD) ==================== */
body.lp-light-mode {
    background: #faf8f5 !important;
    color: #1c1e26 !important;
}

body.lp-light-mode .container > header,
body.lp-light-mode .container > div:not(#b2b-landing-view) {
    display: none !important;
}

#b2b-landing-view {
    color: #1c1e26;
    padding-bottom: 48px;
}
.lp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 22px;
    border-bottom: 1px solid #e6e1d8;
    gap: 12px;
}
.lp-logo {
    font-size: 1.38rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #181a20;
}
.lp-logo strong { color: #b88424; }
.lp-logo-icon { color: #c6922c; font-size: 1.25rem; }
.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-lang-btn {
    background: #ffffff;
    border: 1px solid #dcd6cb;
    color: #374151;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}
.lp-btn-ghost {
    background: transparent;
    border: 1px solid #dcd6cb;
    color: #1f2937;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 13px;
    cursor: pointer;
}
.lp-btn-gold-sm {
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
}
.lp-find-box {
    background: #ffffff;
    border: 2px solid #c6922c;
    border-radius: 14px;
    padding: 20px;
    margin-top: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    text-align: center;
}
.lp-find-box h3 { margin: 0 0 6px; color: #181a20; font-size: 1.12rem; }
.lp-find-box p { margin: 0 0 14px; color: #525866; font-size: 0.92rem; }
.lp-find-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
}
.lp-find-row input {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border: 1px solid #d1cbc0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #faf8f5;
    color: #181a20;
}
.lp-hero {
    text-align: center;
    padding: 42px 12px 32px;
    background: radial-gradient(circle at 50% 0%, rgba(198, 146, 44, 0.12), transparent 70%);
}
.lp-sector-banner {
    display: inline-block;
    background: #fef3c7;
    border: 1.5px solid #d97706;
    color: #92400e;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
}
.lp-pill-trust {
    display: inline-block;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #047857;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 18px;
}
.lp-title {
    font-size: clamp(1.85rem, 4.5vw, 2.7rem);
    line-height: 1.18;
    margin: 0 auto 16px;
    max-width: 760px;
    color: #14161c;
}
.lp-title span {
    color: #b88424;
}
.lp-subtitle {
    color: #4b5563;
    font-size: 1.06rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 28px;
}
.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}
.lp-btn-primary {
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 15px 26px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}
.lp-btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
}
.lp-btn-secondary {
    background: #ffffff;
    border: 1px solid #c6922c;
    color: #9a6b16;
    text-decoration: none;
    border-radius: 12px;
    padding: 15px 24px;
    font-size: 0.98rem;
    font-weight: 700;
}
.lp-microcopy {
    font-size: 0.84rem;
    color: #6b7280;
    font-weight: 600;
}
.lp-section { margin-top: 46px; }
.lp-h2 { text-align: center; font-size: 1.65rem; color: #14161c; margin-bottom: 8px; }
.lp-sec-sub { text-align: center; color: #525866; font-size: 0.98rem; max-width: 600px; margin: 0 auto 24px; }
.lp-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid #e5dfd5; background: #ffffff; box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
.lp-compare-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.94rem; }
.lp-compare-table th, .lp-compare-table td { padding: 14px 16px; border-bottom: 1px solid #f0ece4; color: #1f2937; }
.lp-compare-table th { background: #f5f2eb; color: #374151; font-weight: 800; }
.lp-col-us { background: #fefcf7; color: #9a6b16 !important; font-weight: 800; }
.lp-win { color: #059669 !important; }
.lp-lose { color: #dc2626; }
.lp-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lp-card { background: #ffffff; border: 1px solid #e8e2d7; border-radius: 14px; padding: 22px; box-shadow: 0 4px 14px rgba(0,0,0,0.03); }
.lp-card-ico { font-size: 1.75rem; margin-bottom: 10px; }
.lp-card h3 { color: #9a6b16; font-size: 1.06rem; margin: 0 0 8px; }
.lp-card p { color: #4b5563; font-size: 0.92rem; line-height: 1.5; margin: 0; }
.lp-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; align-items: stretch; }
.lp-price-card { background: #ffffff; border: 1px solid #e5dfd5; border-radius: 16px; padding: 24px 20px; display: flex; flex-direction: column; position: relative; box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.lp-price-featured { border: 2px solid #c6922c; background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%); box-shadow: 0 12px 28px rgba(198,146,44,0.14); }
.lp-badge-best { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #c6922c; color: #ffffff; font-size: 0.72rem; font-weight: 900; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.lp-plan-name { color: #4b5563; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.lp-plan-price { font-size: 2.2rem; font-weight: 900; color: #14161c; margin-bottom: 16px; }
.lp-plan-price small { font-size: 0.9rem; color: #6b7280; font-weight: 500; }
.lp-plan-list { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.lp-plan-list li { color: #374151; font-size: 0.92rem; margin-bottom: 9px; }
.lp-btn-outline { background: #ffffff; border: 1.5px solid #059669; color: #059669; border-radius: 10px; padding: 12px; font-weight: 800; cursor: pointer; width: 100%; }
.lp-register-box { background: #ffffff; border: 2px solid #e6dec8; border-radius: 18px; padding: 32px 22px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.lp-reg-form { max-width: 620px; margin: 0 auto; text-align: left; }
.lp-reg-form label { display: block; color: #1f2937; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.lp-cat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.lp-cat-btn { background: #f5f2eb; border: 1.5px solid #dcd6cb; color: #374151; padding: 12px; border-radius: 10px; font-weight: 700; cursor: pointer; text-align: center; }
.lp-cat-btn.active { border-color: #059669; background: #ecfdf5; color: #047857; }
.lp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 20px; }
.lp-reg-form input { width: 100%; box-sizing: border-box; background: #faf8f5; border: 1px solid #d1cbc0; color: #14161c; padding: 12px 14px; border-radius: 10px; font-size: 0.95rem; }
.lp-btn-full { width: 100%; font-size: 1.05rem; }
.lp-footer { margin-top: 48px; padding-top: 22px; border-top: 1px solid #e6e1d8; text-align: center; color: #6b7280; font-size: 0.88rem; }
.lp-footer-links { margin-top: 8px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.lp-footer-links a { color: #9a6b16; font-weight: 700; text-decoration: none; }
