:root {
    --lp-orange: #ff650a;
    --lp-orange-dark: #e25707;
    --lp-ink: #252327;
    --lp-cream: #f3f3f4;
    --lp-paper: #ffffff;
    --lp-muted: #6f6b72;
    --toggle-border-width: 2px;
}

body.lp-builder-theme {
    font-family: "Barlow", "Segoe UI", sans-serif;
    color: var(--lp-ink);
    background-color: var(--lp-cream);
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 0.8px, transparent 0.8px);
    background-size: 16px 16px;
    min-height: 100vh;
}

.hero-wrap,
.container {
    position: relative;
    z-index: 1;
}

.hero-wrap {
    color: var(--lp-ink);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 246, 0.95));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo-img {
    width: min(360px, 90vw);
    height: auto;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-orange);
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-title {
    line-height: 0.95;
    font-size: clamp(2.35rem, 7vw, 6.1rem);
    font-weight: 800;
    text-transform: uppercase;
}

.hero-title-dark {
    color: var(--lp-ink);
    margin-right: 0.35rem;
}

.hero-title-accent {
    color: var(--lp-orange);
}

.hero-subtitle {
    color: var(--lp-muted);
    max-width: 740px;
}

.btn-order-now {
    background: var(--lp-orange);
    color: #fff;
    border: 0;
    border-radius: 1rem;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(255, 101, 10, 0.25);
}

.btn-order-now:hover,
.btn-order-now:focus {
    background: var(--lp-orange-dark);
    color: #fff;
}

.card {
    background: var(--lp-paper);
    border-radius: 1.2rem;
}

.menu-block {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 18px rgba(23, 20, 29, 0.06);
}

.menu-block-title {
    background: linear-gradient(90deg, var(--lp-orange-dark), var(--lp-orange));
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.83rem;
    padding: 0.72rem 1rem;
}

.menu-block-body {
    padding: 0.7rem 1rem;
}

.item-line {
    padding: 0.58rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.item-line:last-child {
    border-bottom: 0;
}

.range-pill {
    min-width: 52px;
    text-align: center;
    font-weight: 700;
    border-radius: 0.5rem;
    padding: 0.2rem 0.45rem;
    background: #fff;
    color: #6e2f10;
    border: 0;
    border-bottom: 3px dashed rgba(111, 107, 114, 0.35);
    text-shadow: rgba(255, 255, 255, 0.95) 1px 1px 0;
}

.qty-tile {
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.9rem;
    padding: 0.9rem 0.95rem 0.75rem;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.qty-tile-value.range-pill {
    display: block;
    width: 100%;
    font-size: 3.1rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    padding-bottom: 0.45rem;
    border-radius: 0;
}

.qty-tile-label {
    display: block;
    min-height: 2.6rem;
    margin-bottom: 0.6rem;
    color: var(--lp-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}

.qty-number-input {
    height: 44px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 0;
    border: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.14);
    border-right: 1px solid rgba(0, 0, 0, 0.14);
    text-align: center;
    background: #fff;
    box-shadow: none;
}

.qty-number-input:focus {
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: none;
    background: #fff;
}

.qty-number-input::-webkit-outer-spin-button,
.qty-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-number-input[type=number] {
    -moz-appearance: textfield;
}

.qty-stepper {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.qty-step-btn {
    border: 0;
    background: #f4f5f6;
    color: #3c3b40;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.qty-step-btn:hover {
    background: #eceff1;
    color: var(--lp-orange-dark);
}

.qty-stepper-simple {
    grid-template-columns: 1fr 1fr;
}

.qty-step-btn-lg {
    height: 56px;
    font-size: 2rem;
}

.hidden-toggles {
    position: relative;
    border-radius: 999em;
    overflow: hidden;
    min-height: 3rem;
    width: 100%;
    max-width: 32rem;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.hidden-toggles::after {
    content: "";
    position: absolute;
    inset: 0;
    border: var(--toggle-border-width) solid var(--lp-orange);
    border-radius: 999em;
    pointer-events: none;
}

.hidden-toggles__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hidden-toggles__label {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    font-weight: 700;
    color: #7a441f;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
    user-select: none;
}

.hidden-toggles__label:not(:first-of-type) {
    border-left: var(--toggle-border-width) solid rgba(255, 101, 10, 0.5);
}

.hidden-toggles__input:checked + .hidden-toggles__label {
    background: linear-gradient(90deg, var(--lp-orange-dark) 0%, var(--lp-orange) 100%);
    color: #fff;
}

.hidden-toggles__input:not(:checked) + .hidden-toggles__label:hover {
    background: rgba(255, 101, 10, 0.08);
}

.form-check-input:checked {
    background-color: var(--lp-orange);
    border-color: var(--lp-orange);
}

.form-range {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 999px;
    background: #d4d9de;
    outline: 0;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: var(--lp-orange);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    background: #fff;
    border-color: var(--lp-orange);
}

.form-range:active::-webkit-slider-thumb {
    transform: scale(1.2);
}

.form-range::-moz-range-thumb {
    background: var(--lp-orange);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.form-range::-moz-range-thumb:hover {
    background: #fff;
    border-color: var(--lp-orange);
}

.form-range:active::-moz-range-thumb {
    transform: scale(1.2);
}

.form-range::-moz-range-track {
    background: #d4d9de;
    height: 8px;
    border-radius: 999px;
}

.btn-primary {
    background: var(--lp-orange);
    border-color: var(--lp-orange);
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--lp-orange-dark);
    border-color: var(--lp-orange-dark);
}

.btn-print-erp {
    background: #dc3545;
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 0.75rem;
    padding: 0.72rem 1rem;
    font-size: 1.02rem;
    box-shadow: 0 8px 16px rgba(220, 53, 69, 0.25);
}

.btn-print-erp:hover,
.btn-print-erp:focus {
    background: #c52a39;
    color: #fff;
}

.quote-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.quote-title-dark {
    color: var(--lp-ink);
}

.quote-title-accent {
    color: var(--lp-orange);
    margin-left: -0.08em;
}

.quote-metric-label {
    color: #141216;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.quote-metric-value {
    color: var(--lp-orange);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.service-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.service-tab {
    border: 2px solid #dc7b35;
    border-radius: 1.05rem;
    background: linear-gradient(90deg, #cf6a23, #db7f2e);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(1.1rem, 2.2vw, 2.1rem);
    line-height: 1;
    padding: 0.95rem 0.75rem;
    font-family: "Barlow", "Segoe UI", sans-serif;
    transition: all 0.18s ease;
}

.service-tab:hover {
    filter: brightness(1.04);
}

.service-tab.is-active {
    background: linear-gradient(90deg, #b93a1b, #c64a1e);
    border-color: #c3612f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.mode-panel[hidden] {
    display: none !important;
}

.service-list {
    padding-left: 1.15rem;
}

.service-list li {
    margin-bottom: 0.35rem;
    color: var(--lp-ink);
    font-weight: 500;
}

.qty-stepper.is-locked .qty-step-btn {
    opacity: 0.45;
    cursor: not-allowed;
}

.course-notes {
    background: #f1f2f4;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    padding: 0.75rem 0.8rem;
}

.course-notes-title {
    color: #5d5e66;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

@media (max-width: 992px) {
    .service-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
