:root {
    --brand-dark: #1f1f2b;
    --brand-gold: #f2b63d;
    --brand-soft: #f8f4ee;
    --brand-accent: #d86f8a;
}

body {
    background: #fcfcfd;
    color: #1d2430;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-section {
    background: linear-gradient(135deg, #fff6ec 0%, #f9f1ff 100%);
}

.section-soft {
    background: linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    color: #7d6a47;
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 2rem;
    height: 2px;
    background: var(--brand-gold);
    display: inline-block;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-accent));
    color: white;
    font-weight: 800;
}

.stat-card,
.summary-box,
.contact-card,
.service-choice,
.slot-chip {
    border-radius: 1.25rem;
}

.stat-card {
    background: white;
    padding: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
}

.stat-card span {
    color: #6c757d;
    font-size: .92rem;
}

.stat-card.bronze {
    color: #b08d57;
}
.stat-card.bronze span {
    color: #b08d57;
    font-size: .92rem;
}

.stat-card.silver {
    color: #aaa9ad;
}
.stat-card.silver span {
    color: #aaa9ad;
    font-size: .92rem;
}

.stat-card.gold {
    color: #b29146;
}
.stat-card.gold span {
    color: #b29146;
    font-size: .92rem;
}

.stat-card.diamond {
    color: #b9f2ff;
}
.stat-card.diamond span {
    color: #b9f2ff;
    font-size: .92rem;
}

.avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f8;
    border: 3px solid #fff;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

.product-cover {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f5f1eb;
}

.contact-card {
    background: linear-gradient(135deg, #202433 0%, #3f4a6a 100%);
    padding: 2rem;
}

.opening-list {
    display: grid;
    gap: .8rem;
}

.opening-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1rem;
    background: #fff8ef;
    border-radius: 1rem;
}

.step-heading {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.step-no {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: #111827;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex: 0 0 auto;
}

.service-choice {
    border: 1px solid #e8e9ef;
    padding: 1rem;
    background: white;
    display: block;
    cursor: pointer;
    height: 100%;
    transition: all .15s ease;
}

.service-choice:hover {
    border-color: #d1a044;
    transform: translateY(-1px);
}

.service-choice input {
    display: none;
}

.service-choice span {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.service-choice small,
.service-choice em {
    color: #6c757d;
    font-style: normal;
    font-size: .92rem;
}

.service-choice input:checked + span {
    color: #111;
}

.service-choice input:checked + span::before {
    content: "Valittu";
    display: inline-flex;
    align-self: flex-start;
    font-size: .75rem;
    font-weight: 700;
    color: #1b4332;
    background: #d8f3dc;
    border-radius: 999px;
    padding: .25rem .6rem;
    margin-bottom: .35rem;
}

.service-category-stack {
    display: grid;
    gap: 1rem;
}

.service-category-block {
    border: 1px solid #eceef3;
    background: #fafbff;
    border-radius: 1.25rem;
    padding: 1rem;
}

.service-category-heading {
    padding: .25rem .25rem 0;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: .75rem;
}

.slot-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.slot-chip {
    border: 1px solid #dbe1ea;
    background: white;
    color: #243143;
    padding: .9rem .8rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
}

.slot-chip:hover {
    border-color: #111827;
    transform: translateY(-1px);
}

.slot-chip.selected {
    background: #111827;
    border-color: #111827;
    color: white;
}

.slot-chip.disabled {
    cursor: default;
}

.summary-box {
    background: #f8f9fb;
    padding: 1.25rem;
    height: 100%;
}

.footer-dark {
    background: #151821;
    color: white;
}

.toast-region {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: grid;
    gap: .75rem;
}

.toast-card {
    min-width: 280px;
    max-width: 360px;
    background: #111827;
    color: white;
    border-radius: 1rem;
    padding: 1rem 1rem;
    box-shadow: 0 1rem 2rem rgba(0,0,0,.25);
}

.toast-card.success { background: #1f5f46; }
.toast-card.error { background: #7a2332; }

.cart-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 1rem;
    background: #f5f1eb;
}

.sticky-summary {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px) {
    .sticky-summary {
        position: static;
    }

    .product-cover {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 1rem;
    }

    .product-cover {
        height: 200px;
    }

    .opening-row {
        flex-direction: column;
        align-items: start;
    }
}

.admin-sidebar {
    position: sticky;
    top: 1rem;
}

.admin-nav .list-group-item {
    color: #243143;
    font-weight: 600;
}

.admin-nav .list-group-item.active {
    background: #111827;
    color: #fff;
}

.toast-region {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: grid;
    gap: .75rem;
}

.toast-card {
    background: #111827;
    color: white;
    padding: .9rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.18);
}

.toast-card.error {
    background: #842029;
}

.admin-shell {
    background: linear-gradient(180deg, #f6f7fb 0%, #fbfbfd 100%);
}

.admin-panel-light {
    background: #ffffff;
    border: 1px solid #eef1f6;
}

.admin-mini-label {
    letter-spacing: .14em;
}

.admin-badge-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f3f5fa;
    color: #50607a;
    font-size: .8rem;
    font-weight: 700;
    padding: .35rem .75rem;
}

.admin-sidebar {
    top: 1rem;
}

.admin-accordion .accordion-button {
    background: #fff;
    border: 1px solid #eef1f6;
    box-shadow: none;
    font-weight: 700;
    color: #233047;
    gap: .75rem;
}

.admin-accordion .accordion-button:not(.collapsed) {
    background: #f7f9fd;
    color: #101828;
}

.admin-accordion .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}

.admin-nav-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f5fa;
    color: #1f2a3d;
    flex: 0 0 auto;
}

.admin-nav .list-group-item {
    color: #51607a;
    font-weight: 600;
    background: transparent;
}

.admin-nav .list-group-item.active {
    background: #111827;
    color: #fff;
}

.admin-table thead th {
    color: #6b7280;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom-color: #edf1f7;
}

.admin-table tbody td {
    border-color: #f0f3f8;
}

.drag-handle {
    cursor: grab;
    user-select: none;
    color: #94a3b8;
    font-weight: 700;
}

[data-sort-id].dragging {
    opacity: .45;
}

.modal-content .form-control,
.modal-content .form-select {
    border-radius: .9rem;
}

.modal-content textarea.form-control {
    min-height: 110px;
}

@media (max-width: 1199.98px) {
    .admin-sidebar {
        position: static;
    }
}


.work-calendar-wrap {
    overflow-x: auto;
}

.work-calendar {
    min-width: 980px;
    display: grid;
    grid-template-columns: 72px repeat(7, minmax(140px, 1fr));
    grid-template-rows: auto var(--calendar-height, 960px);
    gap: .75rem;
}

.work-calendar-head {
    background: #f7f9fd;
    border: 1px solid #eef1f6;
    border-radius: 1rem;
    min-height: 88px;
    padding: .9rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.work-calendar-head.time-col {
    background: transparent;
    border: 0;
}

.work-calendar-head.is-today,
.work-day-col.is-today {
    border-color: #d4b06a;
    box-shadow: inset 0 0 0 1px rgba(212,176,106,.2);
}

.work-time-col,
.work-day-col {
    position: relative;
    height: var(--calendar-height, 960px);
    border-radius: 1.25rem;
}

.work-time-col {
    background: linear-gradient(180deg, #fafbfd 0%, #f4f6fb 100%);
    border: 1px solid #eef1f6;
}

.work-time-label {
    position: absolute;
    left: .75rem;
    transform: translateY(-50%);
    color: #7c879a;
    font-size: .8rem;
    font-weight: 700;
}

.work-day-col {
    background: #fff;
    border: 1px solid #eef1f6;
}

.work-hour-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px dashed #ebeff5;
}

.work-day-empty {
    position: absolute;
    left: .9rem;
    right: .9rem;
    top: 1rem;
    padding: .6rem .75rem;
    border-radius: .9rem;
    background: #f8fafc;
    color: #8a94a6;
    font-size: .82rem;
    font-weight: 600;
}

.work-shift-block {
    position: absolute;
    left: .65rem;
    right: .65rem;
    min-height: 70px;
    padding: .75rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #111827 0%, #2a3345 100%);
    color: #fff;
    box-shadow: 0 .75rem 1.5rem rgba(16,24,40,.16);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.work-shift-block.is-inactive {
    background: linear-gradient(180deg, #8d99ae 0%, #6b7280 100%);
}

.work-shift-block .btn-light {
    --bs-btn-padding-y: .2rem;
    --bs-btn-padding-x: .45rem;
    --bs-btn-font-size: .72rem;
}

@media (max-width: 991.98px) {
    .work-calendar {
        min-width: 860px;
    }
}

.osca-navbar {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding-top: .85rem;
    padding-bottom: .85rem;
}

.osca-brand {
    text-decoration: none;
}

.osca-brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c8a96b, #e2c27d);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(200, 169, 107, 0.28);
    flex: 0 0 auto;
}

.osca-brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.osca-brand-title {
    color: #1f2937;
    font-weight: 800;
    letter-spacing: .02em;
}

.osca-brand-subtitle {
    color: #6b7280;
    font-size: .78rem;
}

.osca-nav-list {
    gap: .25rem;
}

.osca-nav-link,
.osca-user-link {
    position: relative;
    color: #1f2937;
    font-weight: 600;
    padding: .75rem .95rem !important;
    border-radius: 999px;
    transition: all .2s ease;
}

.osca-nav-link:hover,
.osca-user-link:hover {
    color: #111827;
    background: rgba(200, 169, 107, .10);
}

.osca-nav-link.active {
    color: #111827;
    background: rgba(200, 169, 107, .12);
}

.osca-nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c8a96b, #e5c98a);
}

.osca-cart-btn {
    border: 1px solid rgba(200, 169, 107, .45);
    background: #fff;
    color: #1f2937;
    border-radius: 999px;
    font-weight: 600;
    padding: .7rem 1rem;
    transition: all .2s ease;
}

.osca-cart-btn:hover,
.osca-cart-btn:focus {
    background: #fffaf1;
    border-color: #c8a96b;
    color: #111827;
}

.osca-cart-badge {
    position: relative;
    top: -1px;
}

.osca-cta-btn {
    background: linear-gradient(135deg, #c8a96b, #e2c27d);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    padding: .78rem 1.2rem;
    box-shadow: 0 10px 22px rgba(200, 169, 107, .28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.osca-cta-btn:hover,
.osca-cta-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(200, 169, 107, .35);
    filter: brightness(1.02);
}

.osca-user-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: .45rem;
    border-radius: 50%;
    background: #c8a96b;
    box-shadow: 0 0 0 4px rgba(200, 169, 107, .12);
}

.osca-dropdown {
    border-radius: 1rem;
    min-width: 220px;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.osca-dropdown .dropdown-item {
    padding-top: .65rem;
    padding-bottom: .65rem;
    font-weight: 500;
}

.osca-dropdown .dropdown-item:hover {
    background: rgba(200, 169, 107, .10);
}

.osca-navbar-toggler {
    border: 1px solid rgba(200, 169, 107, .35);
    border-radius: .85rem;
    padding: .45rem .7rem;
    box-shadow: none !important;
}


.osca-navbar-toggler {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
}

.osca-burger {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.osca-offcanvas {
    width: min(88vw, 380px);
    border-left: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.osca-mobile-links {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.osca-mobile-link {
    display: block;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    padding: .95rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    transition: all .2s ease;
}

.osca-mobile-link:hover,
.osca-mobile-link:focus {
    color: #111827;
    background: #fffaf1;
    border-color: rgba(200, 169, 107, .35);
}

.osca-mobile-link.active {
    color: #111827;
    background: rgba(200, 169, 107, .12);
    border-color: rgba(200, 169, 107, .35);
}

.osca-mobile-user-card {
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(200, 169, 107, .10), rgba(255, 255, 255, 1));
    border: 1px solid rgba(200, 169, 107, .22);
}

@media (max-width: 991.98px) {
    .osca-nav-link.active::after {
        display: none;
    }

    .osca-cta-btn,
    .osca-cart-btn {
        width: 100%;
        justify-content: center;
    }
}


.osca-phone-floating {
    position: relative;
}

.osca-phone-floating > .iti {
    display: block;
    width: 100%;
}

.osca-phone-floating > .iti > .form-control {
    height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    padding-left: 5.25rem !important;
}

.osca-phone-floating > .iti--allow-dropdown input,
.osca-phone-floating > .iti--separate-dial-code input {
    padding-right: 0.75rem;
}

.osca-phone-floating > label {
    z-index: 4;
    padding-left: 5.25rem;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}

.osca-phone-floating.is-focused > label,
.osca-phone-floating.is-filled > label,
.osca-phone-floating > .iti:focus-within + label {
    color: rgba(var(--bs-body-color-rgb), 0.65);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.osca-phone-floating > .iti .iti__country-container {
    z-index: 5;
}

.osca-phone-floating > .iti .iti__selected-country-primary {
    height: calc(100% - 2px);
    border-radius: calc(var(--bs-border-radius) - 1px);
}

.osca-phone-floating > .iti .iti__tel-input {
    width: 100%;
}

.osca-phone-floating > .iti input::placeholder {
    color: transparent;
}

/* =========================================================
   OSCA form-floating fields: intlTelInput + birthdate picker
   ========================================================= */
.osca-phone-floating,
.js-phone-floating,
.osca-birthdate-field {
    position: relative;
}

.osca-phone-floating .iti,
.js-phone-floating .iti {
    display: block;
    width: 100%;
}

.osca-phone-floating .iti__tel-input,
.js-phone-floating .iti__tel-input,
.osca-phone-floating input.form-control.js-customer-phone,
.js-phone-floating input.form-control.js-customer-phone,
.osca-birthdate-field > .js-birthdate-display {
    width: 100%;
    min-height: calc(3.5rem + 2px);
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    border-radius: 0.85rem;
    background-clip: padding-box;
}

.osca-phone-floating .iti__tel-input,
.js-phone-floating .iti__tel-input,
.osca-phone-floating input.form-control.js-customer-phone,
.js-phone-floating input.form-control.js-customer-phone {
    padding-left: 6.1rem !important;
}

.osca-phone-floating > label,
.js-phone-floating > label {
    position: absolute;
    inset: 0;
    z-index: 5;
    padding: 1rem 0.75rem 1rem 6.1rem;
    color: rgba(33, 37, 41, 0.65);
    pointer-events: none;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}

.osca-birthdate-field > label {
    z-index: 5;
    pointer-events: none;
}

.osca-phone-floating.is-filled > label,
.osca-phone-floating.is-focused > label,
.js-phone-floating.is-filled > label,
.js-phone-floating.is-focused > label,
.osca-phone-floating > .iti:focus-within + label,
.js-phone-floating > .iti:focus-within + label,
.osca-birthdate-field.is-filled > label,
.osca-birthdate-field.is-focused > label,
.osca-birthdate-field > .js-birthdate-display:focus ~ label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.osca-phone-floating .iti__country-container,
.js-phone-floating .iti__country-container,
.osca-birthdate-field .js-birthdate-open {
    z-index: 6;
}

.osca-phone-floating .iti__selected-country-primary,
.js-phone-floating .iti__selected-country-primary {
    height: calc(3.5rem + 2px);
    padding-left: .9rem;
    padding-right: .6rem;
    border-radius: .85rem 0 0 .85rem;
}

.osca-phone-floating .iti__selected-country:hover,
.js-phone-floating .iti__selected-country:hover {
    background: rgba(200, 169, 107, .08);
}

.osca-phone-floating .iti__tel-input::placeholder,
.js-phone-floating .iti__tel-input::placeholder,
.osca-phone-floating input.js-customer-phone::placeholder,
.js-phone-floating input.js-customer-phone::placeholder,
.osca-birthdate-field .js-birthdate-display::placeholder {
    color: transparent;
}

.osca-phone-floating .iti__tel-input:focus,
.js-phone-floating .iti__tel-input:focus,
.osca-phone-floating input.js-customer-phone:focus,
.js-phone-floating input.js-customer-phone:focus,
.osca-birthdate-field .js-birthdate-display:focus {
    border-color: rgba(200, 169, 107, 0.55);
    box-shadow: 0 0 0 .25rem rgba(200, 169, 107, 0.16);
}

.osca-phone-floating .iti__dropdown-content,
.js-phone-floating .iti__dropdown-content {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: .95rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.osca-phone-floating .iti__country.iti__highlight,
.js-phone-floating .iti__country.iti__highlight {
    background: rgba(200, 169, 107, .10);
}

.osca-birthdate-field .js-birthdate-picker {
    pointer-events: none;
}

.osca-birthdate-field .js-birthdate-open {
    color: #6b7280;
    font-size: 1.1rem;
}

.osca-birthdate-field .js-birthdate-open:hover,
.osca-birthdate-field .js-birthdate-open:focus {
    color: #111827;
}

.admin-kpi-card {
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, #fff, #fbfbfe);
    padding: 1rem 1.1rem;
    box-shadow: 0 .5rem 1rem rgba(15, 23, 42, .05);
}

.admin-kpi-card .admin-kpi-label {
    color: #6b7280;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.admin-kpi-card .admin-kpi-value {
    display: block;
    margin-top: .25rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.order-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, .08);
    color: #374151;
    text-decoration: none;
    background: #fff;
    font-weight: 600;
}

.order-filter-chip.active {
    border-color: rgba(200, 169, 107, .55);
    background: rgba(200, 169, 107, .12);
    color: #111827;
}

.order-filter-chip .badge {
    font-weight: 700;
}

.order-status-badge {
    border-radius: 999px;
    padding: .45rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.order-status-badge.uusi {
    background: #fff6df;
    color: #8a5a00;
}

.order-status-badge.valmis {
    background: #dff6e7;
    color: #11643b;
}

.order-status-badge.peruutettu {
    background: #eceef3;
    color: #4b5563;
}

.order-detail-box {
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 1rem;
    padding: .85rem 1rem;
    background: #fafbff;
}

@media (max-width: 575.98px) {
    .osca-phone-floating .iti__tel-input,
    .js-phone-floating .iti__tel-input,
    .osca-phone-floating input.form-control.js-customer-phone,
    .js-phone-floating input.form-control.js-customer-phone {
        padding-left: 5.55rem !important;
        font-size: 16px;
    }

    .osca-phone-floating > label,
    .js-phone-floating > label {
        padding-left: 5.55rem;
    }
}

.osca-field-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 4;
    pointer-events: none;
    opacity: 0.7;
    line-height: 1;
}


.osca-masonry {
    column-gap: 1.5rem;
}

.osca-masonry-products {
    columns: 1;
}

.osca-masonry-services {
    columns: 1;
}

.osca-masonry-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
}

.osca-masonry-item .card {
    position: relative;
}

.osca-card-hover {
    transition: transform .18s ease, box-shadow .18s ease;
}

.osca-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(17, 24, 39, .10) !important;
}

@media (min-width: 768px) {
    .osca-masonry-products,
    .osca-masonry-services {
        columns: 2;
    }
}

@media (min-width: 1200px) {
    .osca-masonry-products,
    .osca-masonry-services {
        columns: 3;
    }
}


.osca-login-helper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.osca-login-helper-text {
    color: var(--bs-secondary-color);
    font-size: 0.92rem;
}

.osca-login-examples {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.osca-login-example {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(var(--bs-secondary-rgb), 0.08);
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
    line-height: 1.2;
}

.osca-login-identifier.is-email .osca-login-example--email,
.osca-login-identifier.is-phone .osca-login-example--phone {
    background: rgba(var(--bs-warning-rgb), 0.18);
    color: var(--bs-body-color);
    font-weight: 600;
}

.osca-login-identifier.is-email .osca-field-icon,
.osca-login-identifier.is-phone .osca-field-icon {
    opacity: 0.9;
}

.booking-week-toolbar {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.booking-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.booking-week-label {
    flex: 1;
    text-align: center;
    font-weight: 700;
    color: #243143;
}

.booking-week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .9rem;
}

.booking-day-column {
    border: 1px solid #e8ecf3;
    border-radius: 1rem;
    background: #fbfcff;
    min-height: 220px;
    overflow: hidden;
}

.booking-day-column.is-today {
    border-color: #c9a227;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, .14);
}

.booking-day-column.is-selected-day {
    border-color: #111827;
}

.booking-day-header {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .85rem .9rem;
    background: #f4f7fb;
    border-bottom: 1px solid #e8ecf3;
}

.booking-day-header strong {
    color: #243143;
    font-size: .95rem;
}

.booking-day-header span,
.booking-day-empty {
    color: #6b7280;
    font-size: .8rem;
}

.booking-day-slots {
    display: grid;
    gap: .55rem;
    padding: .75rem;
}

.booking-day-slots .slot-chip {
    width: 100%;
    padding: .7rem .55rem;
    font-size: .92rem;
}

.booking-day-empty {
    padding: .35rem .1rem;
}

@media (max-width: 1199.98px) {
    .booking-week-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .booking-week-nav {
        flex-wrap: wrap;
    }

    .booking-week-label {
        order: -1;
        width: 100%;
    }

    .booking-week-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .booking-week-grid {
        grid-template-columns: 1fr;
    }
}


.booking-customer-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(var(--bs-secondary-rgb), 0.2);
    border-radius: 1rem;
    background: rgba(var(--bs-warning-rgb), 0.08);
}


.review-card-featured {
    box-shadow: 0 1rem 2rem rgba(255, 193, 7, 0.14) !important;
    border: 1px solid rgba(255, 193, 7, 0.25) !important;
}


.osca-stars-badge {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.14);
    color: #d4a017;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 1px solid rgba(212, 160, 23, 0.22);
}


.osca-team-card .avatar-lg,
.osca-vk-card .avatar-lg {
    object-fit: cover;
}

.osca-vk-card {
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 193, 7, 0.45) !important;
}
