/* â”€â”€â”€ Design tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
    --page-gutter: clamp(1.25rem, 6.25vw, 7.5rem);
    --c-primary: #E95433;
    --c-primary-dk: #d0431b;
    --c-navy: #1a2f38;
    --c-navy-lt: #243b47;
    --c-bg: #f8f7f5;
    --c-surface: #ffffff;
    --c-text: #1a1a2e;
    --c-muted: #717585;
    --c-border: #e8e6e1;
    --c-shadow-sm: 0 1px 3px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04);
    --c-shadow-md: 0 4px 24px rgb(0 0 0 / 0.07);
    --c-shadow-lg: 0 16px 48px rgb(0 0 0 / 0.12);
    --r-card: 16px;
    --r-btn: 999px;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --trans: 0.18s ease;

    /* backward-compat aliases so existing inline styles keep working */
    --jbw-primary: var(--c-primary);
    --jbw-primary-dark: var(--c-primary-dk);
    --jbw-primary-soft: #fff4f0;
    --jbw-navy: var(--c-navy);
    --jbw-bg: var(--c-bg);
    --jbw-card: var(--c-surface);
    --jbw-text: var(--c-text);
    --jbw-muted: var(--c-muted);
    --jbw-border: var(--c-border);
    --jbw-radius: var(--r-card);
    --jbw-shadow: var(--c-shadow-md);
    --jbw-font: var(--font-sans);
    --jbw-serif: var(--font-serif);
    --jbw-page-bg: var(--c-bg);
}

/* â”€â”€â”€ Reset â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

[x-cloak] {
    display: none !important;
}

.hidden {
    display: none !important;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

/* â”€â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-container {
    /* Figma proportions: ~6.25vw gutter each side, content fills the screen */
    width: calc(100% - 2 * var(--page-gutter, clamp(1.25rem, 6.25vw, 7.5rem)));
    margin-inline: auto;
}

.jbw-main {
    padding-bottom: 0;
}

.jbw-main--profile {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

.jbw-flash-wrap {
    padding-top: 1rem;
}

/* â”€â”€â”€ Header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 255 255 / 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgb(229 217 206);
    box-shadow: 0 1px 0 rgb(0 0 0 / 0.03);
}

#services,
#categories,
#how-it-works,
#profile-content {
    scroll-margin-top: 5.5rem;
}

.jbw-header-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
    align-items: center;
    gap: 1.25rem;
    min-height: 4.25rem;
    height: auto;
    padding-block: 0.5rem;
}

.jbw-logo-link {
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    line-height: 0;
    max-width: 12.5rem;
}

.jbw-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.jbw-logo-media {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    line-height: 0;
}

.jbw-logo-media--header {
    height: 2.875rem;
    max-width: 11.5rem;
}

.jbw-logo--image .jbw-logo-media--header {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.jbw-logo-media--footer {
    height: 3.25rem;
    max-width: 13rem;
}

.jbw-logo-media--auth {
    height: 4.75rem;
    max-width: 15rem;
}

.jbw-logo-media--mark {
    height: 2.5rem;
    max-width: 10rem;
}

.jbw-logo-image {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.jbw-logo--image {
    gap: 0;
}

.jbw-logo--fallback {
    gap: 0.625rem;
}

.jbw-logo-mark {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    display: block;
}

.jbw-logo-text {
    font-weight: 800;
    font-size: 1.0625rem;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.jbw-logo-text-accent {
    font-weight: 800;
}

.jbw-logo--header .jbw-logo-mark {
    width: 2.125rem;
    height: 2.125rem;
}

.jbw-logo--footer .jbw-logo-mark {
    width: 2.375rem;
    height: 2.375rem;
}

.jbw-logo--auth {
    flex-direction: column;
    gap: 0.875rem;
}

.jbw-logo--auth .jbw-logo-mark {
    width: 3.75rem;
    height: 3.75rem;
}

.jbw-logo--auth .jbw-logo-text {
    font-size: clamp(1.125rem, 3vw, 1.375rem);
}

.jbw-auth-brand-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    width: 100%;
}

/* legacy aliases */
.jbw-logo-svg,
.jbw-logo-wordmark,
.jbw-logo-img,
.jbw-footer-logo-img {
    display: none;
}

.jbw-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.jbw-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0.45rem 0.75rem;
    border-radius: var(--r-btn);
    transition: color var(--trans), background var(--trans);
    white-space: nowrap;
    gap: 0.35rem;
    position: relative;
}

.jbw-chat-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
}

.jbw-mnav-link-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.jbw-chat-thread.is-unread {
    background: rgb(242 81 35 / 0.05);
}

.jbw-chat-thread.is-unread .jbw-chat-thread-body p {
    color: var(--c-text);
    font-weight: 700;
}

.jbw-chat-thread-unread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.jbw-profile-nav-link-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
}

border: 0;
background: transparent;
cursor: pointer;
font-family: inherit;
}

.jbw-nav-link:hover,
.jbw-nav-link.is-active {
    color: var(--c-primary);
    background: var(--c-primary-soft, #fff5f1);
    text-decoration: none;
}

.jbw-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-left: auto;
    min-width: 0;
    height: 2.5rem;
}

.jbw-header-tools-desktop {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.jbw-header-tools>*,
.jbw-header-tools-desktop>* {
    align-self: center;
    flex-shrink: 0;
}

.jbw-header-search {
    display: none;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    height: 2.5rem;
    min-height: 2.5rem;
    max-height: 2.5rem;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-surface);
    overflow: visible;
    box-sizing: border-box;
    line-height: 1;
}

.jbw-header-search-input {
    border: 0;
    background: transparent;
    margin: 0;
    padding: 0 0.75rem;
    height: 100%;
    min-height: 0;
    min-width: 0;
    flex: 1 1 auto;
    font: inherit;
    font-size: 0.8125rem;
    line-height: 1;
    width: 12rem;
    color: var(--c-text);
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.jbw-header-search-input::-webkit-search-decoration,
.jbw-header-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.headerinputradius {
    border-radius: 8px !important;
}

.bordercolor {
    border: 1px solid rgb(242 81 35 / 0.35) !important;
}

.jbw-header-search .jbw-icon-btn {
    border: 0;
    border-radius: 0;
    width: 2.25rem;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
}

@media (min-width: 900px) {
    .jbw-header-search {
        display: flex;
    }
}

.jbw-location-picker {
    position: relative;
    display: flex;
    align-items: center;
    height: 2.5rem;
}

.jbw-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 2.5rem;
    min-height: 2.5rem;
    max-height: 2.5rem;
    margin: 0;
    border: 1px solid var(--c-border);
    background: var(--c-bg);
    border-radius: 8px;
    padding: 0 0.75rem;
    font-size: 0.8rem;
    line-height: 1;
    font-family: var(--font-sans);
    color: var(--c-muted);
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color var(--trans), background var(--trans);
}

.jbw-location-btn:hover {
    border-color: rgb(242 81 35 / 0.35);
    background: #fff;
}

.jbw-location-btn-label {
    display: none;
    max-width: 9rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jbw-location-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.625rem);
    width: min(22rem, calc(100vw - 2rem));
    max-height: min(28rem, calc(100vh - 6rem));
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: var(--c-shadow-lg);
    z-index: 60;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.jbw-location-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem 0.5rem;
    border-bottom: 1px solid var(--c-border);
}

.jbw-location-panel-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 800;
}

.jbw-location-panel-close {
    border: 0;
    background: none;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--c-muted);
    cursor: pointer;
    padding: 0.125rem 0.375rem;
}

.jbw-location-search-wrap {
    padding: 0.75rem 1rem;
}

.jbw-location-search {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
}

.jbw-location-section {
    padding: 0 1rem 0.75rem;
}

.jbw-location-section--scroll {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.jbw-location-section-title {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.jbw-location-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.jbw-location-chip {
    border: 1px solid var(--c-border);
    background: var(--c-bg);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--c-text);
    transition: background var(--trans), border-color var(--trans);
}

.jbw-location-chip:hover,
.jbw-location-chip.is-active {
    border-color: var(--c-primary);
    background: rgb(242 81 35 / 0.08);
    color: var(--c-primary);
}

.jbw-location-options {
    display: grid;
    gap: 0.25rem;
}

.jbw-location-option-form {
    margin: 0;
}

.jbw-location-option {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: none;
    border-radius: 10px;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    font: inherit;
    transition: background var(--trans);
}

.jbw-location-option:hover,
.jbw-location-option.is-active {
    background: rgb(242 81 35 / 0.08);
}

.jbw-location-option-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-text);
}

.jbw-location-option-meta {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: var(--c-muted);
}

/* â”€â”€â”€ Notifications â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-notification-picker {
    position: relative;
    display: flex;
    align-items: center;
    height: 2.5rem;
}

.marginnotificationicon {
    margin: 0;
    display: block;
}

.jbw-notification-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    max-height: 2.5rem;
    margin: 0;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0;
    line-height: 0;
}

.jbw-notification-badge {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--c-primary);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
    border: 2px solid var(--c-surface);
}

.jbw-notification-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.625rem);
    width: min(22rem, calc(100vw - 2rem));
    max-height: min(26rem, calc(100vh - 6rem));
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: var(--c-shadow-lg);
    z-index: 60;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.jbw-notification-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--c-border);
}

.jbw-notification-panel-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 800;
}

.jbw-notification-mark-all {
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-primary);
    cursor: pointer;
    padding: 0;
}

.jbw-notification-list {
    flex: 1;
    overflow-y: auto;
}

.jbw-notification-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--c-border);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background .15s ease;
}

.jbw-notification-item:hover {
    background: #f8fafc;
}

.jbw-notification-item.is-unread {
    background: rgb(242 81 35 / 0.04);
}

.jbw-notification-item.is-unread:hover {
    background: rgb(242 81 35 / 0.08);
}

.jbw-notification-item-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-text);
}

.jbw-notification-item-message {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--c-muted);
    line-height: 1.45;
}

.jbw-notification-item-time {
    margin: 0.35rem 0 0;
    font-size: 0.6875rem;
    color: var(--c-muted);
}

.jbw-notification-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: 0;
    background: var(--c-primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.jbw-notification-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--c-muted);
    font-size: 0.875rem;
}

.jbw-notification-panel-foot {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--c-border);
    text-align: center;
}

.jbw-notification-view-all {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-primary);
    text-decoration: none;
}

.jbw-notification-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
}

.jbw-notification-row.is-unread {
    background: rgb(242 81 35 / 0.04);
}

.jbw-notification-row-title {
    margin: 0;
    font-weight: 700;
    font-size: 0.9375rem;
}

.jbw-notification-row-message {
    margin: 0.35rem 0 0;
    color: var(--c-muted);
    line-height: 1.55;
    font-size: 0.875rem;
}

.jbw-notification-row-time {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--c-muted);
}

/* â”€â”€â”€ Notifications page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-notif-page {
    /* max-width: 760px; */
    margin: 0 auto;
    /* padding-bottom: 2.5rem; */
}

.jbw-notif-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgb(233 84 51 / 0.12), transparent 42%),
        linear-gradient(180deg, #fff 0%, #faf8f6 100%);
    border: 1px solid var(--c-border);
}

.jbw-notif-hero-copy .jbw-page-subtitle {
    margin: 0.35rem 0 0;
    max-width: 34rem;
}

.jbw-notif-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.jbw-notif-count-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgb(233 84 51 / 0.1);
    color: var(--c-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.jbw-notif-panel {
    border: 1px solid var(--c-border);
    border-radius: 20px;
    background: var(--c-surface);
    box-shadow: var(--c-shadow-sm);
    overflow: hidden;
}

.jbw-notif-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
    transition: background var(--trans);
}

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

.jbw-notif-item:hover {
    background: #fbfaf8;
}

.jbw-notif-item.is-unread {
    background: linear-gradient(90deg, rgb(233 84 51 / 0.06), transparent 55%);
}

.jbw-notif-item.is-unread:hover {
    background: linear-gradient(90deg, rgb(233 84 51 / 0.09), #fbfaf8 55%);
}

.jbw-notif-item-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--c-primary);
    background: rgb(233 84 51 / 0.1);
    flex-shrink: 0;
}

.jbw-notif-item.is-unread .jbw-notif-item-icon {
    background: rgb(233 84 51 / 0.16);
}

.jbw-notif-item-body {
    min-width: 0;
}

.jbw-notif-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.jbw-notif-item-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.jbw-notif-unread-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--c-primary);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgb(233 84 51 / 0.18);
}

.jbw-notif-item-time {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-muted);
    white-space: nowrap;
}

.jbw-notif-item-message {
    margin: 0.4rem 0 0;
    color: var(--c-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
}

.jbw-notif-item-action {
    margin-top: 0.7rem;
}

.jbw-notif-mark-btn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-primary);
    cursor: pointer;
}

.jbw-notif-mark-btn:hover {
    color: var(--c-primary-dk);
    text-decoration: underline;
}

.jbw-notif-item-status {
    margin: 0.65rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9aa0ad;
    letter-spacing: 0.02em;
}

.jbw-notif-empty {
    padding: 2.25rem 1.5rem;
    text-align: center;
}

.jbw-notif-empty-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--c-primary);
    background: rgb(233 84 51 / 0.1);
}

.jbw-notif-empty-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
}

.jbw-notif-empty-text {
    margin: 0.5rem auto 1.25rem;
    max-width: 26rem;
    color: var(--c-muted);
    font-size: 0.9rem;
}

.jbw-notif-pagination {
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .jbw-notif-hero {
        padding: 1rem 1.05rem;
    }

    .jbw-notif-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .jbw-notif-item-icon {
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 12px;
    }

    .jbw-notif-item-top {
        flex-direction: column;
        gap: 0.25rem;
    }

    .jbw-notif-item-time {
        margin-top: 0;
    }
}

@media (max-width: 899px) {
    .jbw-notification-panel {
        position: fixed;
        right: 1rem;
        left: 1rem;
        width: auto;
        top: 4.25rem;
    }
}

@media (max-width: 899px) {
    .jbw-location-panel {
        position: fixed;
        right: 1rem;
        left: 1rem;
        width: auto;
        top: 4.25rem;
    }
}

.jbw-icon-btn,
.jbw-avatar-btn {
    width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    max-height: 2.5rem;
    margin: 0;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0;
    line-height: 0;
    transition: background var(--trans), border-color var(--trans);
}

.jbw-icon-btn:hover {
    background: var(--c-bg);
}

.jbw-avatar-btn {
    padding: 0;
    overflow: hidden;
    border-radius: 9999px;
}

.jbw-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.jbw-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fce7df;
    color: var(--c-primary);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
    border-radius: inherit;
}

.jbw-profile-menu {
    position: relative;
    display: flex;
    align-items: center;
    height: 2.5rem;
}

.jbw-profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.625rem);
    width: 16.5rem;
    max-width: min(16.5rem, calc(100vw - 1.5rem));
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    white-space: normal;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: var(--c-shadow-lg);
    padding: 0.5rem;
    z-index: 50;
}

.jbw-profile-dropdown-name {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem 0.625rem;
    margin: 0;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 0.375rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-height: 1.35;
}

.jbw-profile-dropdown a,
.jbw-profile-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.875rem;
    color: var(--c-text);
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--trans);
}

.jbw-profile-dropdown a:hover,
.jbw-profile-dropdown button:hover {
    background: var(--c-bg);
}

.jbw-mobile-toggle {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--c-text);
}

@media (max-width: 899px) {
    .jbw-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-height: 3.75rem;
        height: 3.75rem;
        grid-template-columns: unset;
    }

    .jbw-logo-link {
        max-width: 9.5rem;
    }

    .jbw-logo-media--header {
        height: 2.5rem;
        max-width: 9rem;
    }

    .jbw-logo--header .jbw-logo-mark {
        width: 2rem;
        height: 2rem;
    }

    .jbw-logo--fallback .jbw-logo-text {
        font-size: 0.9375rem;
    }

    /* Mobile header: logo + profile (+ menu). Other tools live in the side menu. */
    .jbw-header-tools {
        gap: 0.5rem;
        height: auto;
    }

    .jbw-header-tools-desktop {
        position: absolute;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
        overflow: visible;
        pointer-events: none;
    }

    .jbw-header-tools-desktop .jbw-location-btn,
    .jbw-header-tools-desktop .jbw-header-search,
    .jbw-header-tools-desktop .jbw-notification-btn,
    .jbw-header-tools-desktop .jbw-header-cart-btn,
    .jbw-header-tools-desktop>a.jbw-icon-btn {
        display: none !important;
    }

    .jbw-header-tools-desktop .jbw-location-panel,
    .jbw-header-tools-desktop .jbw-notification-panel {
        pointer-events: auto;
    }

    .jbw-header-signin {
        display: none;
    }
}

@media (min-width: 900px) {
    .jbw-nav {
        display: flex;
    }

    .jbw-location-btn {
        max-width: 12rem;
    }

    .jbw-location-btn-label {
        display: inline;
    }

    .jbw-mobile-toggle {
        display: none;
    }
}

/* â”€â”€â”€ Full-width section bands â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-section-band {
    padding: 5rem 0;
}

.jbw-section-band--warm {
    background: linear-gradient(135deg, #fdf6f0 0%, #fef9f5 40%, #f5f0ea 100%);
    /* border-top: 1px solid #ede8e0;
    border-bottom: 1px solid #ede8e0; */
}

.jbw-section-band--dark {
    background: #111;
    position: relative;
    overflow: hidden;
}

.jbw-section-band--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?w=800&q=50&fit=crop&auto=format');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}

.jbw-section-band--dark .jbw-section-head,
.jbw-section-band--dark .jbw-grid-3 {
    position: relative;
    z-index: 1;
}

.jbw-section-band--navy {
    background: var(--c-navy);
    position: relative;
    overflow: hidden;
}

.jbw-section-band--navy::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(242 81 35 / 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.jbw-section-band--navy .jbw-section-head {
    position: relative;
    z-index: 1;
}

.jbw-section-band--navy .jbw-designers {
    position: relative;
    z-index: 1;
}

.jbw-section-band--cta {
    background: var(--c-navy);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 !important;
    border-radius: 10px;

}

.jbw-section-band--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=800&q=45&fit=crop&auto=format');
    background-size: cover;
    background-position: center top;
    opacity: 0.12;
}

.jbw-section-band--cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(26 47 56 / 0.96) 0%, rgb(26 47 56 / 0.82) 50%, rgb(26 47 56 / 0.96) 100%);
}

/* â”€â”€â”€ Stats strip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-stats-strip {
    margin-top: 15px;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 1.35rem 0;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8);
    border-radius: 8px;
}

.jbw-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.jbw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.625rem 2.5rem;
    text-align: center;
}

.jbw-stat-div {
    width: 1px;
    height: 2.5rem;
    background: var(--c-border);
}

.jbw-stat-num {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--c-primary);
    line-height: 1;
}

.jbw-stat-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-muted);
    margin-top: 0.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .jbw-stats-grid {
        gap: 0.5rem;
    }

    .jbw-stat {
        padding: 0.5rem 1rem;
    }

    .jbw-stat-div {
        display: none;
    }

    .jbw-stat-num {
        font-size: 1.25rem;
    }
}

/* â”€â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-footer {
    background: var(--c-navy);
    color: #8da4ae;
    padding: 2rem 0 0;
    margin-top: 0rem;
}

.jbw-footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 1rem;
    /* padding-bottom: 3rem; */
}

.backgroundborder {
    border: none !important;
    background: none !important;
}

.jbw-footer-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.jbw-footer-about {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 19rem;
    color: #8da4ae;
}

.jbw-footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.jbw-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.625rem;
}

.jbw-footer-links a {
    color: #8da4ae;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--trans);
}

.jbw-footer-links a:hover {
    color: #fff;
}

.jbw-social {
    display: flex;
    gap: 0.625rem;
    margin-top: 0.25rem;
}

.jbw-social a {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: var(--r-btn);
    border: 1px solid #2d4a56;
    display: grid;
    place-items: center;
    color: #8da4ae;
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 700;
    transition: border-color var(--trans), color var(--trans);
}

.jbw-social a:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.jbw-footer-bottom {
    border-top: 1px solid #1e3340;
    padding: 0.25rem 0 1.75rem;
    font-size: 0.8125rem;
    color: #5a7582;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .jbw-footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 0.9fr;
    }
}

.fontsize {
    font-size: 20px !important;
}

/* â”€â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--font-sans);
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background var(--trans), box-shadow var(--trans), transform 0.1s;
    white-space: nowrap;
}

.jbw-btn:active {
    transform: scale(0.98);
}

.jbw-btn--primary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgb(242 81 35 / 0.3);
}

.jbw-btn--primary:hover {
    background: var(--c-primary-dk);
    box-shadow: 0 6px 20px rgb(242 81 35 / 0.4);
}

.jbw-btn--navy {
    background: var(--c-navy);
    color: #fff;
    box-shadow: 0 4px 16px rgb(26 47 56 / 0.3);
}

.jbw-btn--navy:hover {
    background: var(--c-navy-lt);
}

.jbw-btn--dark {
    background: #111;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.875rem 2rem;
}

.jbw-btn--dark:hover {
    background: #333;
}

.jbw-btn--outline {
    background: transparent;
    border-color: var(--c-border);
    color: var(--c-text);
}

.jbw-btn--outline:hover {
    background: var(--c-bg);
}

.jbw-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--c-muted);
}

.jbw-btn--ghost:hover {
    color: var(--c-text);
    background: var(--c-bg);
}

.jbw-btn--danger {
    background: #fff;
    border-color: #fecaca;
    color: #dc2626;
}

.jbw-btn--block {
    width: 100%;
}

.jbw-btn--sm {
    padding: 0.4375rem 1rem;
    font-size: 0.8125rem;
}

.jbw-btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* â”€â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 0.4rem;
}

.jbw-input,
.jbw-select,
.jbw-textarea {
    width: 100%;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    padding: 0.7000rem 1rem;
    font: inherit;
    font-size: 0.9375rem;
    background: var(--c-surface);
    color: var(--c-text);
    transition: border-color var(--trans), box-shadow var(--trans);
    appearance: none;
}

.jbw-input:focus,
.jbw-select:focus,
.jbw-textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgb(242 81 35 / 0.1);
}

.jbw-measure-form-grids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .jbw-measure-form-grids {
        grid-template-columns: 1fr !important;
    }
}

.jbw-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgb(239 68 68 / 0.08);
}

.jbw-field+.jbw-field {
    margin-top: 0rem;
}

.jbw-form-stack {
    display: grid;
    gap: 1rem;
}

.jbw-form-stack--tight {
    margin-top: 0.25rem;
}

.jbw-textarea {
    resize: vertical;
    min-height: 5rem;
}

.jbw-field-error,
.jbw-field-hint {
    margin: 0.375rem 0 0;
    font-size: 0.8125rem;
    color: #dc2626;
}

/* â”€â”€â”€ Toast pop-ups â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-toast-stack {
    position: fixed;
    top: 5.25rem;
    right: clamp(0.75rem, 3vw, 1.5rem);
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: min(22rem, calc(100vw - 1.5rem));
    pointer-events: none;
}

.jbw-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 0.9rem 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    box-shadow: 0 14px 40px rgb(15 23 42 / 0.16);
    animation: jbw-toast-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(8px);
}

.jbw-toast.is-leaving {
    animation: jbw-toast-out 0.32s ease forwards;
}

@keyframes jbw-toast-in {
    from {
        opacity: 0;
        transform: translateX(1.25rem) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes jbw-toast-out {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(1rem) scale(0.96);
    }
}

.jbw-toast-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 0.05rem;
}

.jbw-toast-text {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
}

.jbw-toast-list {
    margin: 0;
    padding-left: 1rem;
}

.jbw-toast-close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: inherit;
    opacity: 0.55;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: -0.1rem -0.1rem 0 0;
}

.jbw-toast-close:hover {
    opacity: 1;
}

.jbw-toast--success {
    background: rgb(236 253 245 / 0.97);
    color: #047857;
    border-color: #a7f3d0;
}

.jbw-toast--success .jbw-toast-icon {
    background: #d1fae5;
    color: #047857;
}

.jbw-toast--error {
    background: rgb(254 242 242 / 0.97);
    color: #b91c1c;
    border-color: #fecaca;
}

.jbw-toast--error .jbw-toast-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.jbw-toast--info {
    background: rgb(239 246 255 / 0.97);
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.jbw-toast--info .jbw-toast-icon {
    background: #dbeafe;
    color: #1d4ed8;
}

@media (max-width: 640px) {
    .jbw-toast-stack {
        top: auto;
        bottom: 1rem;
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
    }

    @keyframes jbw-toast-in {
        from {
            opacity: 0;
            transform: translateY(1rem) scale(0.96);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    @keyframes jbw-toast-out {
        from {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        to {
            opacity: 0;
            transform: translateY(0.75rem) scale(0.96);
        }
    }
}

/* â”€â”€â”€ Alerts (legacy inline) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-alert {
    border-radius: 12px;
    padding: 0.9rem 1.125rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.jbw-alert--success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.jbw-alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.jbw-alert--info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.jbw-alert-list {
    margin: 0;
    padding-left: 1.1rem;
}

/* â”€â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    box-shadow: var(--c-shadow-sm);
    padding: 1.0rem;
}


.jbw-faq-question {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding-right: 32px;
    font-weight: 600;
}

.jbw-faq-question::-webkit-details-marker {
    display: none;
}

.jbw-faq-question::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
}

.jbw-faq-item[open] .jbw-faq-question::after {
    transform: translateY(-30%) rotate(-135deg);
}

.jbw-faq-list {
    display: grid;
    gap: 0.75rem;
}

.jbw-faq-item {
    padding: 0;
    overflow: hidden;
}

.jbw-faq-question {
    cursor: pointer;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    list-style: none;
}

.jbw-faq-question::-webkit-details-marker {
    display: none;
}

.jbw-faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--c-muted);
    line-height: 1.65;
    border-top: 1px solid var(--c-border);
}

.jbw-legal-meta {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: var(--c-muted);
}

.jbw-legal-card {
    padding: 1.5rem 1.75rem;
}

.jbw-legal-empty {
    margin: 0 0 1rem;
    color: var(--c-muted);
}

.jbw-legal-content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--c-text);
}

.jbw-legal-content p {
    margin: 0 0 0.9rem;
}

.jbw-legal-content p:last-child {
    margin-bottom: 0;
}

.jbw-legal-content h1,
.jbw-legal-content h2,
.jbw-legal-content h3 {
    margin: 1.35rem 0 0.65rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-text);
}

.jbw-legal-content h1 { font-size: 1.35rem; }
.jbw-legal-content h2 { font-size: 1.15rem; }
.jbw-legal-content h3 { font-size: 1.05rem; }

.jbw-legal-content ul,
.jbw-legal-content ol {
    margin: 0 0 0.9rem;
    padding-left: 1.35rem;
}

.jbw-legal-content li {
    margin-bottom: 0.35rem;
}

.jbw-legal-content a {
    color: var(--c-primary);
    text-decoration: underline;
}

.jbw-footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jbw-footer-legal a {
    color: inherit;
    text-decoration: none;
}

.jbw-footer-legal a:hover {
    color: var(--c-primary, #fff);
    text-decoration: underline;
}

/* â”€â”€â”€ Section typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-section {
    padding: 5rem 0 0;
}

.jbw-section--tight {
    padding-top: 3rem;
}

.jbw-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.jbw-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 0.75rem;
}

.jbw-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: var(--c-text);
}

.jbw-section-sub {
    color: var(--c-muted);
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 50rem;
}

.paddingtop {
    padding-top: 0rem !important;
    margin-bottom: 0.5rem !important;
}

/* .jbw-page-head { margin-bottom: 1.5rem; padding-top: 1rem; } */
.jbw-page-head {
    margin-bottom: 1.5rem;
    padding-top: 0rem;
}

.jbw-page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin: 0;
}

.jbw-page-subtitle {
    color: var(--c-muted);
    margin: 0.375rem 0 0;
    font-size: 0.9375rem;
}

.jbw-back-link {
    text-decoration: none;
    color: var(--c-text);
    font-weight: 700;
}

/* â”€â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-hero {
    position: relative;
    background: transparent;
    /* Same gutters as .jbw-container so the banner lines up with the sections */
    padding: 1.5rem var(--page-gutter) 0;
}

.jbw-hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: clamp(420px, 58vh, 560px);
    min-height: 420px;
    background: #111;
}

.jbw-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.jbw-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.jbw-hero-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.jbw-hero-slides {
    position: absolute;
    inset: 0;
}

.jbw-hero-content-stack {
    position: relative;
    z-index: 2;
    height: 100%;
}

.jbw-hero-content-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.jbw-hero-content-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.jbw-hero-nav {
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    height: clamp(420px, 58vh, 560px);
    z-index: 3;
    pointer-events: none;
}

.jbw-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #17130f;
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.jbw-hero-arrow:hover {
    color: var(--c-primary, #f25123);
}

.jbw-hero-arrow--prev {
    left: max(0.125rem, calc(var(--page-gutter) / 2 - 1.25rem));
}

.jbw-hero-arrow--next {
    right: max(0.125rem, calc(var(--page-gutter) / 2 - 1.25rem));
}

.jbw-hero-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 0 1.25rem;
}

.jbw-hero-dot {
    width: 0.625rem;
    height: 0.625rem;
    border: none;
    border-radius: 999px;
    background: #ddd3c9;
    cursor: pointer;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

.jbw-hero-dot.is-active {
    width: 1.75rem;
    background: var(--c-primary);
    transform: none;
}

.alignmentheading {
    text-align: start !important;
    margin-bottom: 20px;
}

.jbw-hero:hover .jbw-hero-slide {
    transform: scale(1);
}

.jbw-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(115deg,
            rgb(0 0 0 / 0.10) 0%,
            rgb(0 0 0 / 0.04) 55%,
            rgb(0 0 0 / 0) 100%);
}

.jbw-hero-content-wrap {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Keep panels stacked over the image so every slide's title/subtitle is visible */
.jbw-hero-content-wrap.jbw-hero-content-panel {
    position: absolute;
    inset: 0;
    height: auto;
    left: 5%;
}

.jbw-hero-content {
    padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.75rem);
    color: var(--c-text);
    background: rgb(255 255 255 / 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(3px);
    display: inline-block;
    border-radius: 10px;
    border: 1px solid rgb(255 255 255 / 0.35);
    max-width: min(100%, 34rem);
    box-shadow: 0 16px 40px -28px rgb(0 0 0 / 0.28);
}

.jbw-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 1.25rem;
}

.jbw-hero-kicker::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--c-primary);
}

.jbw-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #17130f;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.jbw-hero-text {
    color: #57504a;
    font-size: 0.975rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 27rem;
}

.jbw-hero-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    align-items: center;
}

.jbw-btn--hero {
    background: #a63c11;
    color: #fff;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.9rem 1.75rem;
}

.jbw-btn--hero:hover {
    background: #8d3009;
    color: #fff;
}

.jbw-btn--hero-secondary {
    background: rgb(255 255 255 / 0.12);
    color: #fff;
    border: 1.5px solid rgb(255 255 255 / 0.35);
    backdrop-filter: blur(6px);
}

.jbw-btn--hero-secondary:hover {
    background: rgb(255 255 255 / 0.2);
    border-color: rgb(255 255 255 / 0.55);
}

.jbw-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgb(255 255 255 / 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jbw-hero-scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, rgb(255 255 255 / 0.5), transparent);
}

/* â”€â”€â”€ How it works strip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-steps {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.jbw-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgb(15 23 42 / 0.06);
    box-shadow: 0 6px 20px -8px rgb(15 23 42 / 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.jbw-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px -18px rgb(15 23 42 / 0.18);
}

.jbw-step-num {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffe1d3 0%, #fef1ea 100%);
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1.05rem;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px -6px rgb(242 81 35 / 0.3);
}

.jbw-step-title {
    font-weight: 700;
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.jbw-step-text {
    font-size: 0.875rem;
    color: var(--c-muted);
    margin: 0;
    line-height: 1.6;
}

.textalign {
    margin-top: 10px;
    text-align: center !important;
    text-decoration: none !important;
    border-bottom: none !important;
}


@media (min-width: 768px) {
    .jbw-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* â”€â”€â”€ Grid tiles (services / categories) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-grid-3 {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .jbw-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .jbw-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.jbw-tile {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    /* aspect-ratio: 4 / 5; */
    aspect-ratio: 4 / 4;
    min-height: 0;
    display: block;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #fef1ea 0%, #fbe1d3 100%);
    box-shadow: 0 10px 30px rgb(15 23 42 / 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.jbw-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / 0.25) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.jbw-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgb(15 23 42 / 0.14);
}

.jbw-tile:hover::after {
    opacity: 1;
}

.jbw-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.jbw-tile:hover img {
    transform: scale(1.06);
}

.textlimit {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jbw-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 30%,
            rgb(0 0 0 / 0.3) 60%,
            rgb(0 0 0 / 0.85) 100%);
}

.jbw-tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem;
    z-index: 1;
}

.jbw-tile-label {
    display: block;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.jbw-tile-meta {
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 0.7);
    margin-top: 0.25rem;
}


/* price rnge */
.jbw-price-range {
    position: relative;
    height: 4px;
    background: #ddd;
    border-radius: 10px;
    margin: 20px 0 10px;
}





.jbw-price-thumb-left {
    left: 20%;
}

.jbw-price-thumb-right {
    left: 80%;
}

.jbw-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.borderradius {
    border-radius: 30px;
    height: 45px;
    margin-bottom: 15px;
}

.namespace {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* categoryslider */
.category-wrapper {
    position: relative;
}

.category-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.category-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.category-slider {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 clamp(220px, 28vw, 300px);
    min-width: clamp(220px, 28vw, 300px);
    text-decoration: none;
    color: inherit;
}

.jbw-tile--category {
    aspect-ratio: 4 / 4;
    min-height: 0;
    width: 100%;
}

.jbw-tile--category img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.category-card .jbw-step-title {
    margin-top: 0.75rem;
}

.category-arrow {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgb(242, 81, 35);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.service-slider-wrapper {
    position: relative;
}

.service-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

/* .service-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
} */

.service-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-slider::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 clamp(220px, 28vw, 300px);
    min-width: clamp(220px, 28vw, 300px);
    width: clamp(220px, 28vw, 300px);
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Keep service tiles the same footprint as shop-by-category tiles */
.service-card .jbw-tile {
    aspect-ratio: 4 / 4;
    min-height: 0;
    width: 100%;
}

/* When the slider has only a few items, stretch them edge-to-edge so the row
   fills the container like the Figma layout. */
@media (min-width: 720px) {

    .service-slider.slider-is-few,
    .category-slider.slider-is-few {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
        gap: 1.5rem;
        row-gap: 1.5rem;
    }

    .service-slider.slider-is-few .service-card,
    .category-slider.slider-is-few .category-card {
        width: auto;
        min-width: 220px;
        max-width: none;
        flex: 1 1 0;
    }

    .service-slider.slider-is-few .service-card .jbw-tile,
    .category-slider.slider-is-few .jbw-tile--category {
        aspect-ratio: 1 / 1;
        max-width: 340px;
        margin: 0 auto;
    }

    /* One item should match a single slot in the 3-up row, not stretch full width. */
    .service-slider.slider-is-few .service-card:only-child,
    .category-slider.slider-is-few .category-card:only-child {
        flex: 0 0 calc((100% - 3rem) / 3);
        width: calc((100% - 3rem) / 3);
        max-width: calc((100% - 3rem) / 3);
    }

    .service-slider.slider-is-few:has(.service-card:only-child),
    .category-slider.slider-is-few:has(.category-card:only-child) {
        justify-content: flex-start;
    }
}

.service-card .jbw-step-title,
.category-card .jbw-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
    margin-top: 0.85rem;
    letter-spacing: -0.005em;
}

/* Figma: category labels are uppercase */
.category-card .jbw-step-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9375rem;
}

.service-arrow {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgb(242, 81, 35);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* our service modal */

/* Modal Panel Wrapper Mask Layer */
.jbw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Modal Content Card */
.jbw-modal-content {
    background-color: #ffffff;
    border-radius: 24px;
    width: 92%;
    max-width: 860px;
    padding: 2rem 2.25rem 2.25rem;
    position: relative;
    box-shadow: 0 24px 48px rgb(15 23 42 / 0.14);
}

.jbw-modal-content--category {
    padding: 1.85rem 2.5rem 2.5rem;
}

.jbw-category-head {
    margin: 0 2.75rem 1.75rem 0;
}

.jbw-category-head--with-back {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 2.75rem 1.75rem 0;
}

.jbw-category-head--with-back .jbw-category-title {
    margin-top: 0.15rem;
}

.jbw-modal-back {
    margin-top: 0.1rem;
}

.jbw-category-title {
    margin: 0 0 0.3rem;
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.jbw-category-sub {
    margin: 0;
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.45;
}

/* Top Right Close Button Icon Wrapper */
.jbw-modal-close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    background: #fff;
    border: 1.5px solid #111827;
    font-size: 1.35rem;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
    padding: 0;
}

.jbw-modal-close:hover {
    background-color: #111827;
    color: #fff;
}

/* Three Columns Layout Engine Grid */
.jbw-modal-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    align-items: start;
    justify-items: center;
    text-align: center;
}

.jbw-modal-option {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    color: inherit;
    width: 100%;
    max-width: 200px;
}

.jbw-modal-content--subcats {
    max-width: 980px;
    width: 94%;
    padding: 2rem 2.25rem 2.35rem;
    border-radius: 28px;
}

.jbw-subcat-head {
    margin: 0 2.75rem 1.6rem 0;
}

.jbw-subcat-title {
    margin: 0 0 0.4rem;
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.jbw-subcat-sub {
    margin: 0;
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 36rem;
    font-weight: 400;
}

.jbw-subcat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem 1.25rem;
}

.jbw-modal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 12rem;
    padding: 2rem 1.25rem;
    text-align: center;
}

.jbw-modal-empty[hidden],
.jbw-subcat-grid[hidden],
#jbwServicesModal .jbw-modal-options-grid[hidden] {
    display: none !important;
}

.jbw-modal-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #94a3b8;
}

.jbw-modal-empty-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
}

.jbw-modal-empty-text {
    margin: 0;
    max-width: 22rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.jbw-subcat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
    font: inherit;
    color: inherit;
    transition: transform 0.2s ease;
}

.jbw-subcat-card:hover {
    transform: translateY(-2px);
}

.jbw-subcat-card:hover .jbw-subcat-card-media {
    border-color: #f0c4c0;
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.07);
}

.jbw-subcat-card-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #fff8f8;
    border: 1px solid #fadada;
    padding: 0.55rem;
    box-sizing: border-box;
}

.jbw-subcat-card-media img {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 10px;
    background: #f7f3ef;
}

.jbw-subcat-card-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    padding: 0;
    line-height: 1.25;
    text-align: center;
    width: 100%;
}

@media (max-width: 860px) {
    .jbw-modal-content--subcats {
        padding: 1.5rem 1.25rem 1.5rem;
        border-radius: 22px;
    }

    .jbw-subcat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.85rem;
    }
}

@media (max-width: 520px) {
    .jbw-subcat-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-inline: auto;
    }
}

/* Square image frames so category artwork is not cropped in a circle */
.jbw-modal-circle-thumb {
    width: min(180px, 100%);
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f3ef;
    border: 1px solid #fadada;
    box-shadow: 0 6px 16px rgb(15 23 42 / 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jbw-modal-circle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Interactive Hover Feedback Scaling Animations */
.jbw-modal-option:hover .jbw-modal-circle-thumb {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgb(15 23 42 / 0.12);
}

/* Captions Styles */
.jbw-modal-option-label,
.jbw-modal-option h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.2;
}

/* Responsive Scaling Overrides for Smaller Mobile viewports */
@media (max-width: 720px) {

    .jbw-modal-content,
    .jbw-modal-content--category {
        padding: 1.5rem 1.25rem 1.5rem;
        width: 92%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .jbw-category-head {
        margin-right: 2.5rem;
        margin-bottom: 1.35rem;
    }

    .jbw-modal-options-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        justify-items: stretch;
    }

    .jbw-modal-option {
        flex-direction: row;
        justify-content: flex-start;
        max-width: none;
        gap: 1rem;
        text-align: left;
        padding-bottom: 1rem;
        border-bottom: 1px solid #f3f4f6;
    }

    .jbw-modal-option:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .jbw-modal-circle-thumb {
        width: 72px;
        flex-shrink: 0;
    }

    .jbw-modal-option-label,
    .jbw-modal-option h3 {
        font-size: 1rem;
        letter-spacing: 0.03em;
        text-align: left;
    }
}

@media (min-width: 721px) and (max-width: 900px) {
    .jbw-modal-circle-thumb {
        width: min(150px, 100%);
    }

    .jbw-modal-options-grid {
        gap: 1rem 1.25rem;
    }
}

/* â”€â”€â”€ Featured designers row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */


.designer-slider {
    overflow: hidden;
    width: 100%;
}

.designer-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollDesigners 25s linear infinite;
}

.designer-slider:hover .designer-track {
    animation-play-state: paused;
}

@keyframes scrollDesigners {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.designer-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.designer-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
}

.designer-slider::-webkit-scrollbar {
    display: none;
}



.designers-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
    flex-wrap: wrap;
}

.designers-header>div {
    text-align: left;
}

.designers-header.is-centered {
    justify-content: center;
    text-align: center;
}

.designers-header.is-centered>div {
    text-align: center;
    width: 100%;
}

.designer-nav {
    display: flex;
    gap: 0.5rem;
}

.designer-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgb(15 23 42 / 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--c-primary);
    font-size: 14px;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.designer-arrow:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgb(242 81 35 / 0.18);
    border-color: color-mix(in srgb, var(--c-primary) 30%, transparent);
    background: color-mix(in srgb, var(--c-primary) 6%, #fff);
}

.designer-arrow:active {
    transform: translateY(0);
}

.jbw-designers {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    scrollbar-width: none;
}

.jbw-designers::-webkit-scrollbar {
    display: none;
}

.jbw-designer {
    flex: 0 0 auto;
    text-align: center;
    text-decoration: none;
    color: inherit;
    width: 8rem;
    transition: transform var(--trans);
}

.jbw-designer:hover {
    transform: translateY(-3px);
}


.jbw-designer-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: var(--r-btn);
    object-fit: cover;
    margin: 0 auto 0.625rem;
    border: 3px solid var(--c-surface);
    box-shadow: var(--c-shadow-md);
    display: block;
}

.jbw-designer-fallback {
    display: grid;
    place-items: center;
    background: #fce7df;
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

/* â”€â”€â”€ Trust strip (below hero) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-trust-strip {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgb(15 23 42 / 0.06);
}

.jbw-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

@media (min-width: 720px) {
    .jbw-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.jbw-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem;
}

.jbw-trust-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: #fef1ea;
    color: var(--c-primary);
    flex-shrink: 0;
}

.jbw-trust-label {
    margin: 0;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--c-text);
    line-height: 1.2;
}

.jbw-trust-sub {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: var(--c-muted);
    line-height: 1.3;
}

/* â”€â”€â”€ Promo band CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-section-band--compact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.jbw-promo-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.75rem);
    background: linear-gradient(135deg, #1a2f38 0%, #2c3e4a 100%);
    border-radius: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgb(26 47 56 / 0.6);
}

.jbw-promo-band::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(242 81 35 / 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.jbw-promo-band>div {
    position: relative;
    z-index: 1;
    max-width: 32rem;
}

.jbw-promo-band h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0 0 0.5rem;
    line-height: 1.15;
    color: #fff;
}

.jbw-promo-band p {
    margin: 0;
    color: rgb(255 255 255 / 0.78);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.jbw-promo-band .jbw-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .jbw-promo-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* â”€â”€â”€ Section head â€” split (title left, action right) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    text-align: left;
    flex-wrap: wrap;
}

.jbw-section-head--split>div {
    text-align: left;
}

.jbw-section-sub--left {
    margin-left: 0;
    max-width: 34rem;
}

.jbw-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--c-primary);
    text-decoration: none;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, gap 0.2s ease;
}

.jbw-link-arrow:hover {
    border-color: var(--c-primary);
    gap: 0.75rem;
}

.jbw-link-arrow svg {
    flex-shrink: 0;
}

/* â”€â”€â”€ Featured designers â€” infinite marquee â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-designer-marquee-section {
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #fff 0%, #fdf7f2 100%);
}

.jbw-designer-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1.75rem 0 0.75rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    cursor: grab;
    user-select: none;
    /* Keep vertical page scrolling native; horizontal gestures drive the custom marquee drag. */
    touch-action: pan-y;
}

.jbw-designer-marquee.is-dragging {
    cursor: grabbing;
}

.jbw-designer-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Each set carries its own card gap + a trailing gap equal to the card gap.
   Loop distance = one set's full offsetWidth — no half-gap jump. */
.jbw-designer-marquee-set {
    display: flex;
    flex: 0 0 auto;
    gap: 1.25rem;
    padding-right: 1.25rem;
}

.jbw-designer-marquee-track img,
.jbw-designer-marquee-track a {
    -webkit-user-drag: none;
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .jbw-designer-marquee {
        overflow-x: auto;
        cursor: default;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .jbw-designer-marquee-track {
        will-change: auto;
        transform: none !important;
    }
}

.jbw-designer-card {
    flex: 0 0 auto;
    width: 9.5rem;
    padding: 0.5rem 0.5rem 0.75rem;
    background: transparent;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    border: none;
    transition: transform 0.35s ease;
}

.jbw-designer-card:hover {
    transform: translateY(-4px);
}

.jbw-designer-avatar-ring {
    display: block;
    width: 6rem;
    height: 6rem;
    margin: 0 auto 0.75rem;
    padding: 5px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d8b3a4;
    box-shadow: none;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Keep img as a replaced element so object-fit:cover works (display:grid on <img> squashes photos). */
.jbw-designer-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1 / 1;
}

.jbw-designer-avatar-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

.jbw-designer-card-name {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jbw-designer-card-meta {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--c-muted);
    letter-spacing: 0.02em;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .jbw-designer-card {
        width: 9rem;
        padding: 1rem 0.5rem 0.875rem;
    }

    .jbw-designer-avatar-ring {
        width: 4.25rem;
        height: 4.25rem;
    }

    .jbw-designer-avatar-fallback {
        font-size: 1.25rem;
    }

    .jbw-designer-marquee-set {
        gap: 0.875rem;
        padding-right: 0.875rem;
    }
}

/* legacy compatibility styles below still used elsewhere */

.jbw-designer-name {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--c-text);
}

/* â”€â”€â”€ CTA / Promo band â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-cta-band {
    background: var(--c-navy);
    border-radius: 24px;
    padding: 4rem 2.5rem;
    text-align: center;
    margin: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.jbw-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgb(242 81 35 / 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.jbw-cta-band .jbw-section-title {
    color: #fff;
}

.jbw-cta-band .jbw-section-sub {
    color: rgb(255 255 255 / 0.65);
}

.jbw-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* â”€â”€â”€ Catalog â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-catalog-layout {
    display: grid;
    gap: 2rem;
}

.jbw-filters {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    padding: 1.25rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.jbw-filter-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin: 0 0 1rem;
}

/* â”€â”€â”€ Catalog listing (filter + cards) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-catalog-page-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.jbw-catalog-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: #fff;
    color: var(--c-text);
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.06);
    transition: background 0.15s, border-color 0.15s;
}

.jbw-catalog-back:hover {
    background: #f8f5f2;
    border-color: #d6d0c8;
}

.jbw-catalog-page-title {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--c-text);
    line-height: 1.15;
}

/* Figma: filters sit flat on the page â€” no card chrome */
.jbw-filters.jbw-filters--listing {
    border: none;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(8, 27, 59, 0.05);
    /* box-shadow: 0 17px 20px rgb(0 10 30 / 14%); */
}

.jbw-filters--listing .jbw-filter-title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #1f2937;
    margin: 0 0 1.25rem;
}

.jbw-filter-form .jbw-field {
    margin-top: 1.35rem;
}

.jbw-filter-form .jbw-field:first-child {
    margin-top: 0;
}

.jbw-filters--listing .jbw-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #6b7280;
    margin: 0 0 0.65rem;
}

.jbw-filters--listing .jbw-input,
.jbw-filters--listing .jbw-select {
    border-radius: 999px;
    background: #f0eeeb;
    border: 1px solid transparent;
    min-height: 48px;
    padding: 0.7rem 1.15rem;
    color: #374151;
    box-shadow: none;
    width: 100%;
}

.jbw-filters--listing .jbw-input::placeholder {
    color: #9ca3af;
}

.jbw-filters--listing .jbw-input:focus,
.jbw-filters--listing .jbw-select:focus {
    background: #faf9f7;
    border-color: #d8d2ca;
    outline: none;
    box-shadow: none;
}

.jbw-select-wrap {
    position: relative;
}

.jbw-select-wrap::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.jbw-select {
    appearance: none;
    width: 100%;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Override legacy .jbw-price-range height:4px that collapsed the slider */
.jbw-filters--listing .jbw-price-range,
.jbw-price-range--listing {
    position: relative;
    height: auto;
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0.15rem 0 0;
}

.jbw-price-range--listing .jbw-price-sliders {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    margin: 0.15rem 0 0.35rem;
}

.jbw-price-range--listing .jbw-price-sliders::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #e5e7eb;
    border-radius: 999px;
    pointer-events: none;
}

.jbw-price-range--listing .jbw-price-sliders input[type="range"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 18px;
    margin: 0;
    transform: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.jbw-price-range--listing .jbw-price-sliders input[type="range"]::-webkit-slider-runnable-track {
    height: 2px;
    background: transparent;
    border: none;
}

.jbw-price-range--listing .jbw-price-sliders input[type="range"]::-moz-range-track {
    height: 2px;
    background: transparent;
    border: none;
}

.jbw-price-range--listing .jbw-price-sliders input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a63c11;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.18);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -6px;
    position: relative;
    z-index: 2;
}

.jbw-price-range--listing .jbw-price-sliders input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a63c11;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.18);
    pointer-events: auto;
    cursor: pointer;
}

.jbw-price-range--listing .jbw-price-range-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
    line-height: 1.3;
}


.jbw-gender-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.jbw-gender-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.jbw-gender-thumb {
    position: relative;
    width: 68px;
    height: 68px;
    overflow: visible;
}

.jbw-gender-thumb-inner {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #ece7e1;
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow 0.15s;
}

.jbw-gender-option.is-active .jbw-gender-thumb-inner {
    box-shadow: 0 0 0 2.5px var(--c-primary);
}

.jbw-gender-thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jbw-gender-check {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
    z-index: 1;
}

.jbw-gender-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #374151;
    text-align: center;
}

.jbw-size-grid,
.jbw-rating-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.jbw-color-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.jbw-filter-empty {
    margin: 0;
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: #9ca3af;
}

.jbw-size-chip,
.jbw-rating-chip {
    appearance: none;
    border: 1px solid #ddd6cd;
    background: #fff;
    border-radius: 6px;
    min-height: 42px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.jbw-size-chip.is-active,
.jbw-rating-chip.is-active {
    background: #a63c11;
    border-color: #a63c11;
    color: #fff;
}

.jbw-color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 0;
    background: var(--swatch, #ccc);
    cursor: pointer;
    padding: 0;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
    transition: box-shadow 0.15s, transform 0.15s;
}

.jbw-color-swatch.is-light {
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.16);
}

.jbw-color-swatch.is-active {
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3.5px #35302a,
        inset 0 0 0 1px rgb(0 0 0 / 0.08);
    transform: scale(1.04);
}

.jbw-filter-clear {
    display: block;
    margin-top: 1.35rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--c-primary);
    text-decoration: none;
}

.jbw-filter-clear:hover {
    color: var(--c-primary-dk);
}

.jbw-service-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

.jbw-service-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: #fff;
    color: var(--c-text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.jbw-service-chip.is-active {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: #fff5f1;
}

.jbw-product-grid--listing {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

/* Figma: flat cards â€” bare rounded image with text below, no card chrome */
.jbw-product-card.jbw-product-card--listing {
    border: 0 !important;
    background: transparent !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: visible;
    height: auto;
    padding: 0;
    transition: transform 0.2s ease;
}

.jbw-product-card.jbw-product-card--listing:hover {
    transform: translateY(-3px);
    box-shadow: none !important;
}

.jbw-product-card--listing .jbw-product-card-img {
    position: relative;
    width: 100%;
    border-radius: 12px !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f3eee9;
    flex-shrink: 0;
}

.jbw-product-card--listing .jbw-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.jbw-product-card--listing.is-rental .jbw-product-card-img::after {
    content: none !important;
}

.jbw-product-card--listing .jbw-product-card-body {
    padding: 0.75rem 0.1rem 0.1rem !important;
    background: transparent;
    gap: 0;
}

.jbw-product-card--listing .brand-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0 0.4rem;
}

.jbw-product-card--listing .jbw-product-brand {
    color: #9ca3af;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    min-width: 0;
    flex: 1;
}

.jbw-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    background: transparent;
    color: #1f2937;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.jbw-product-rating svg {
    color: #e45733;
    flex-shrink: 0;
}

.jbw-product-card--listing .jbw-product-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
    margin: 0 0 0.45rem;
    line-height: 1.25;
}

.jbw-product-card--listing .jbw-product-price {
    margin: 0 0 0.55rem;
    color: #b3261e;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.jbw-product-colors {
    display: flex;
    gap: 0.55rem;
    margin-top: 0;
}

.jbw-product-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14);
    display: inline-block;
}

.jbw-product-card--listing.is-unavailable {
    opacity: 1;
    cursor: not-allowed;
    text-decoration: none;
    color: inherit;
    user-select: none;
}

.jbw-product-card--listing.is-unavailable:hover {
    transform: none;
    box-shadow: none;
}

.jbw-product-card--listing.is-unavailable .jbw-product-card-img img {
    filter: saturate(0.85) brightness(0.92);
}

.jbw-product-unavailable {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #e11d48;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 6px 16px rgb(225 29 72 / 0.35);
}

.jbw-product-card--listing.is-unavailable .jbw-product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 0.28);
    border-radius: inherit;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .jbw-product-grid--listing {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .jbw-product-grid--listing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.75rem;
    }
}

.jbw-catalog-pagination {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
}

.jbw-catalog-pagination .pagination {
    gap: 0.55rem;
    align-items: center;
}

.jbw-catalog-pagination .pagination li a,
.jbw-catalog-pagination .pagination li span {
    min-width: 36px;
    height: 36px;
    padding: 0 0.55rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
}

.jbw-catalog-pagination .pagination li.active span {
    background: transparent;
    border-color: transparent;
    color: var(--c-primary);
    font-weight: 800;
}

.jbw-catalog-pagination .pagination li.disabled span {
    opacity: 0.45;
}

@media (min-width: 900px) {
    .jbw-catalog-layout {
        grid-template-columns: 340px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .jbw-gender-thumb {
        width: 56px;
        height: 56px;
    }

    .jbw-product-grid--listing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.75rem;
    }
}


.jbw-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.jbw-product-card {
    background: var(--c-surface);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--c-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jbw-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-shadow-lg);
}

.jbw-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #f0ede8;
    display: block;
}

.jbw-product-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jbw-product-brand {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--c-muted);
    text-transform: uppercase;
    margin: 0;
}

.jbw-product-title {
    font-weight: 700;
    margin: 0.10rem 0;
    font-size: 0.9375rem;
    line-height: 1.0;
}

.jbw-product-price {
    color: var(--c-primary);
    font-weight: 800;
    margin: 0;
    font-size: 0.9375rem;
}

@media (min-width: 900px) {
    .jbw-catalog-layout {
        grid-template-columns: clamp(230px, 18vw, 335px) 1fr;
    }
}

/* â”€â”€â”€ Product detail â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-product-detail {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 1rem;
}

.jbw-detail-page-head {
    margin-bottom: 1.25rem;
}

.jbw-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.jbw-detail-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    margin-top: 0.35rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #f5c518;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.jbw-gallery-main {
    border-radius: 20px;
    overflow: hidden;
    background: #f0ede8;
}

.jbw-gallery-main img,
.jbw-gallery-main video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.jbw-product-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.00rem);
    margin: 0 0 0.0rem;
}

.jbw-variant-picker {
    margin: 1rem 0 1.25rem;
}

.jbw-variant-picker--swatches {
    display: grid;
    gap: 1rem;
}

.jbw-variant-group {
    display: grid;
    gap: 0.55rem;
}

.jbw-variant-label {
    margin: 0 0 0.625rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jbw-variant-picker--swatches .jbw-variant-label {
    margin: 0;
}

.jbw-variant-optional {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.jbw-variant-chip--base.is-selected {
    border-color: var(--c-primary, #1a1a1a);
    background: rgba(0, 0, 0, 0.02);
}

.jbw-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jbw-variant-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--c-border, #e5e2dc);
    border-radius: 12px;
    padding: 0.625rem 0.875rem;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.jbw-variant-chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.jbw-variant-chip.is-selected {
    border-color: var(--c-primary, #1a1a1a);
    box-shadow: 0 0 0 1px var(--c-primary, #1a1a1a);
}

.jbw-variant-chip-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    font-size: 0.875rem;
    line-height: 1.3;
}

.jbw-variant-chip-text strong {
    font-weight: 700;
    color: var(--c-text, #1a1a1a);
}

.jbw-variant-chip-text span {
    font-size: 0.8125rem;
    color: var(--c-muted);
}

.jbw-overview-variant {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: var(--c-muted);
    font-weight: 600;
}

.jbw-color-swatch-row,
.jbw-size-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.jbw-detail-color-swatch {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: var(--swatch, #ccc);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.jbw-detail-color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jbw-detail-color-swatch.is-selected {
    border-color: #e11d48;
    box-shadow: 0 0 0 1px #e11d48;
}

.jbw-detail-size-chip {
    min-width: 48px;
    height: 48px;
    padding: 0 0.75rem;
    border-radius: 12px;
    border: 1.5px solid #d6d1c9;
    background: #fff;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.jbw-detail-size-chip:hover:not(:disabled):not(.is-disabled) {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.jbw-detail-size-chip.is-selected {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: #fff8f5;
    box-shadow: 0 0 0 1px var(--c-primary);
}

.jbw-detail-size-chip.is-disabled,
.jbw-detail-size-chip:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    color: #9ca3af;
}

.jbw-detail-desc-wrap {
    margin: 0.75rem 0 1rem;
}

.jbw-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-primary);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.jbw-read-more[hidden] {
    display: none !important;
}

.jbw-read-more svg {
    transition: transform 0.15s;
}

.jbw-read-more.is-expanded svg {
    transform: rotate(180deg);
}

.jbw-vendor-chip-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.jbw-vendor-chip-top {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.jbw-vendor-chip-body strong {
    display: inline;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--c-text);
}

.jbw-vendor-chip-rating {
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
}

.jbw-vendor-chip-location {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--c-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1.3;
}

.jbw-vendor-chip-chevron {
    margin-left: auto;
    color: var(--c-muted);
    flex-shrink: 0;
}

.jbw-gallery-wrap {
    display: flex;
    gap: 0.875rem;
    align-items: stretch;
}

.jbw-gallery-thumbs {
    display: flex;
    flex: 0 0 100px;
    width: 84px;
    flex-direction: column;
    gap: 0.5rem;
    max-height: min(72vh, 640px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    align-items: end;
}

@media (max-width: 767px) {
    .jbw-gallery-wrap {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: flex-start;
        gap: 0.65rem;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-inline: auto;
    }

    .jbw-gallery-thumbs {
        flex: none;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 6px;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .jbw-gallery-thumbs button {
        flex: 0 0 64px;
        width: 64px;
        min-width: 64px;
        scroll-snap-align: start;
    }

    .jbw-breadcrumb {
        padding-top: 0.25rem !important;
        margin-bottom: 0.75rem;
    }
}

.jbw-gallery-thumbs::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.jbw-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.jbw-gallery-thumbs button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
    width: 84px;
}

.jbw-gallery-thumbs img,
.jbw-gallery-thumb-fallback {
    width: 84px;
    height: 84px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: block;
    background: #f4f1ec;
}

.jbw-gallery-thumb-fallback {
    background: #1a1a1a;
}

.jbw-gallery-thumb.is-active img,
.jbw-gallery-thumb.is-active .jbw-gallery-thumb-fallback {
    border-color: var(--c-primary);
    border-width: 2.5px;
}

.jbw-gallery-thumb-media {
    position: relative;
    display: block;
    width: 84px;
    height: 84px;
}

.jbw-gallery-thumb-media img {
    width: 100%;
    height: 100%;
}

.jbw-gallery-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    border-radius: 10px;
}

.jbw-gallery-main {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: #efeae3;
    /* background:linear-gradient(180deg, #f7f4ef 0%, #efeae3 100%); */
    min-height: 320px;
    max-height: min(72vh, 540px);
    aspect-ratio: 3 / 4;
}

.jbw-gallery-main img,
.jbw-gallery-main video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: transparent;
    display: block;
}

.jbw-gallery-main video {
    background: #0f0f0f;
}

.jbw-gallery-stage.is-hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .jbw-gallery-main {
        flex: none;
        align-self: center;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        box-sizing: border-box;
        aspect-ratio: 3 / 4;
        height: auto;
        max-height: none;
        min-height: 0;
        border-radius: 14px;
    }

    /* iOS Safari sizes flex+aspect-ratio from max-height and left-aligns the box. */
    @supports (-webkit-touch-callout: none) {
        .jbw-gallery-main {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: auto;
            margin-right: auto;
        }
    }

    .jbw-gallery-main img,
    .jbw-gallery-main video {
        object-fit: contain;
        aspect-ratio: auto;
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }

    .jbw-gallery-thumbs button,
    .jbw-gallery-thumbs img,
    .jbw-gallery-thumb-fallback,
    .jbw-gallery-thumb-media {
        width: 64px;
        height: 64px;
    }
}

.starcolor {
    color: #f5a623;
    font-size: 14px;
}

.buttonheight {
    height: 47px;
}

.textalignment {
    width: 100%;
    text-align: center !important;
    display: block;
}

.textalignment i {
    margin-right: 5px;
}

.jbw-vendor-chip {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    margin: 0.425rem 0;
    text-decoration: none;
    color: inherit;
    transition: background var(--trans);
    background: #f5f3f0;
}

.jbw-vendor-chip:hover {
    background: #efebe6;
}

.jbw-vendor-chip img,
.jbw-vendor-chip-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .jbw-product-detail {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* â”€â”€â”€ Profile shell â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-profile-shell {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.jbw-profile-sidebar {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    padding: 1.25rem;
    height: fit-content;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .jbw-profile-sidebar {
        position: sticky;
        top: 6rem;
        align-self: start;
    }
}

@media (max-width: 959px) {
    .jbw-profile-layout {
        grid-template-columns: 1fr;
    }

    .jbw-profile-sidebar {
        position: static;
        max-height: none;
    }
}

/* When the sidebar is taller than the viewport, allow internal scroll only there */
@media (min-width: 900px) and (max-height: 780px) {
    .jbw-profile-sidebar {
        max-height: calc(100vh - 7rem);
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .jbw-profile-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .jbw-profile-sidebar::-webkit-scrollbar-thumb {
        background: color-mix(in srgb, var(--c-primary) 25%, transparent);
        border-radius: 999px;
    }
}

.jbw-profile-card {
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 1rem;
}

.jbw-profile-card-photo-wrap {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 0.875rem;
}

.jbw-profile-card-photo {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    border: 3px solid var(--c-surface);
    box-shadow: var(--c-shadow-md);
}

.jbw-profile-card-photo--fallback {
    display: grid;
    place-items: center;
    background: #fce7df;
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.jbw-profile-card-camera {
    position: absolute;
    right: -0.1rem;
    bottom: -0.1rem;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: #1f2937;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgb(15 23 42 / 0.2);
    text-decoration: none;
}

.jbw-profile-card-camera:hover {
    background: #111827;
    color: #fff;
}

.jbw-profile-card-name {
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.jbw-profile-card-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--c-muted);
    margin: 0.35rem 0 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-profile-nav {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.jbw-profile-nav-link,
.jbw-profile-logout button {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.7rem 0.875rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--c-text);
    font-size: 0.875rem;
    font-weight: 600;
    border: 0;
    background: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--trans), color var(--trans);
    box-sizing: border-box;
    overflow-wrap: anywhere;
    position: relative;
}

.jbw-profile-nav-link>span,
.jbw-profile-logout button>span {
    flex: 0 0 auto;
    display: inline-flex;
}

.jbw-profile-nav-link:hover {
    background: var(--c-bg);
}

.jbw-profile-nav-link.is-active {
    background: #fef3ee;
    color: var(--c-primary);
}

.jbw-profile-nav-link.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 3px;
    border-radius: 999px;
    background: var(--c-primary);
}

.jbw-profile-logout {
    margin-top: 0.35rem;
}

.jbw-profile-logout button {
    color: var(--c-primary);
}

.jbw-profile-logout button:hover {
    background: #fef3ee;
}

.jbw-profile-content {
    min-width: 0;
}

.jbw-profile-content .jbw-card+.jbw-card {
    margin-top: 1.25rem;
}

.jbw-profile-panel {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    padding: 1.25rem 1.35rem 1.4rem;
}

.jbw-profile-panel-head {
    margin-bottom: 1.25rem;
}

.jbw-profile-panel-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-text);
}

.jbw-profile-panel-sub {
    margin: 0.35rem 0 0;
    color: var(--c-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

@media (min-width: 900px) {
    .jbw-profile-shell {
        grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
        align-items: start;
    }
}

/* â”€â”€â”€ Profile edit â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-profile-edit-card {
    padding: 1.75rem;
    display: grid;
    gap: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.03), 0 8px 28px rgb(15 23 42 / 0.05);
}

.jbw-profile-edit-head {
    display: grid;
    gap: 0.35rem;
}

.jbw-profile-edit-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--c-text);
}

.jbw-profile-edit-hint {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.jbw-profile-edit-form {
    display: grid;
    gap: 1.5rem;
}

.jbw-profile-edit-photo-row {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.15rem;
    border: 1px dashed var(--c-border);
    border-radius: 14px;
    background: #fdfaf7;
    flex-wrap: wrap;
}

.jbw-profile-edit-photo-body {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    flex: 1 1 15rem;
}

.jbw-profile-edit-photo-body .jbw-profile-edit-hint {
    margin-top: 0;
}

.jbw-profile-edit-photo-input {
    padding: 0.55rem !important;
    font-size: 0.8125rem;
}

.jbw-profile-edit-photo {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: var(--r-btn);
    object-fit: cover;
    display: block;
    border: 3px solid var(--c-surface);
    box-shadow: var(--c-shadow-md);
    flex-shrink: 0;
}

.jbw-profile-edit-photo--fallback {
    display: grid;
    place-items: center;
    background: #fce7df;
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.jbw-profile-edit-fields {
    display: grid;
    gap: 1rem 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .jbw-profile-edit-fields {
        grid-template-columns: 1fr 1fr;
    }
}

.jbw-profile-edit-fields .jbw-field {
    min-width: 0;
}

.jbw-profile-edit-fields input:disabled {
    background: var(--c-bg);
    color: var(--c-muted);
    cursor: not-allowed;
}

.jbw-profile-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--c-border);
}

/* â”€â”€â”€ Bookings â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-booking-history-head {
    margin-bottom: 1.25rem;
}

.jbw-booking-history-sub {
    margin: 0.35rem 0 0;
    color: var(--c-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.jbw-booking-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0 0 1.25rem;
    padding: 0;
    border-bottom: 1px solid var(--c-border);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.jbw-booking-tabs::-webkit-scrollbar {
    display: none;
}

.jbw-booking-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.75rem;
    margin: 0;
    text-decoration: none;
    color: var(--c-muted);
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1.2;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--trans), border-color var(--trans);
}

.jbw-booking-tab.is-active {
    color: var(--c-primary);
    border-bottom-color: var(--c-primary);
}

.jbw-booking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.25rem;
}

.jbw-booking-list-empty {
    text-align: center;
    color: var(--c-muted);
    padding: 2rem 0;
    margin: 0;
}

.jbw-booking-empty {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    padding: clamp(2rem, 5vw, 3.25rem) 1.25rem;
    text-align: center;
    border: 1px dashed #eadfd8;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgb(242 81 35 / 0.06), transparent 42%),
        linear-gradient(180deg, #fffaf7 0%, #ffffff 70%);
}

.jbw-booking-empty-art {
    width: min(100%, 17.5rem);
    margin-bottom: 0.25rem;
}

.jbw-booking-empty-art img {
    display: block;
    width: 100%;
    height: auto;
}

.jbw-booking-empty-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 600;
    color: var(--c-text);
}

.jbw-booking-empty-text {
    margin: 0 auto 0.5rem;
    max-width: 28rem;
    color: var(--c-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.jbw-booking-list-pagination {
    margin-top: 0.5rem;
}

/* Figma booking history cards */
.jbw-bh-card {
    border: 1px solid #ece7e1;
    border-radius: 16px;
    background: #fff;
    padding: 1.1rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jbw-bh-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.jbw-bh-card-id {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--c-muted);
    line-height: 1.3;
}

.jbw-bh-card-date {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.35;
}

.jbw-bh-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.jbw-bh-status--pending {
    background: #ffedd5;
    color: #c2410c;
}

.jbw-bh-status--in_progress {
    background: #ffedd5;
    color: #c2410c;
}

.jbw-bh-status--delivered {
    background: #dcfce7;
    color: #15803d;
}

.jbw-bh-status--cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.jbw-bh-status--default {
    background: #f1f5f9;
    color: #475569;
}

.jbw-bh-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jbw-bh-item {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
}

.jbw-bh-item-img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 10px;
    object-fit: cover;
    background: #f0ede8;
    display: block;
}

.jbw-bh-item-title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.35;
    min-width: 0;
}

.jbw-bh-item-type {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--c-muted);
    white-space: nowrap;
    text-align: right;
}

.jbw-bh-card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f0ebe6;
}

.jbw-bh-total-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--c-muted);
    margin-bottom: 0.2rem;
}

.jbw-bh-total-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f766e;
    line-height: 1.2;
}

.jbw-bh-details {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #0f766e;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.jbw-bh-details:hover {
    color: #115e59;
}

.jbw-booking-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.00rem 1.00rem;
    border: 1px solid var(--c-border);
    border-radius: 1rem;
    background: #fff;
}

.jbw-booking-row img {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 12px;
    object-fit: cover;
    background: #f0ede8;
}

.jbw-booking-row-body {
    min-width: 0;
}

.jbw-booking-row-title {
    font-weight: 700;
    margin: 0;
    font-size: 0.9875rem;
    line-height: 1.35;
    color: var(--c-ink, #111);
}

.jbw-booking-row-meta-inline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-muted);
}

.jbw-booking-row-meta {
    font-size: 0.8125rem;
    color: var(--c-muted);
    margin: 0.3rem 0 0;
    line-height: 1.4;
}

.jbw-booking-row-price {
    font-weight: 800;
    color: var(--c-primary);
    margin: 0.45rem 0 0;
    font-size: 1rem;
}

.jbw-booking-row-id {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    font-weight: 650;
    color: #475569;
    letter-spacing: 0.01em;
}

.jbw-booking-row-aside {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.viewdetails {
    color: #000000;
    height: fit-content;
    display: inline-flex;
    padding: 0.15rem 1.75rem;
    border-radius: 999px;
    font-size: 0.7875rem !important;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    border: 1px solid var(--c-border);
}

.jbw-status {
    height: fit-content;
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jbw-status--new {
    background: #dbeafe;
    color: #1d4ed8;
}

.jbw-status--accepted {
    background: #e0e7ff;
    color: #4338ca;
}

.jbw-status--in_progress {
    background: #ffedd5;
    color: #c2410c;
}

.jbw-status--delivered {
    background: #dcfce7;
    color: #15803d;
}

.jbw-status--rental_active {
    background: #ccfbf1;
    color: #0f766e;
}

.jbw-status--rework {
    background: #fce7f3;
    color: #be185d;
}

.jbw-status--re_intransit {
    background: #ffedd5;
    color: #9a3412;
}

.jbw-status--returned {
    background: #e0f2fe;
    color: #0369a1;
}

.jbw-status--re_delivered {
    background: #dcfce7;
    color: #166534;
}

.jbw-status--completed {
    background: #d1fae5;
    color: #047857;
}

.jbw-status--cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.jbw-status--default {
    background: #f1f5f9;
    color: #475569;
}

.jbw-booking-item-actions {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.75rem;
}

@media (max-width: 639px) {

    .jbw-booking-item-actions .jbw-btn,
    .jbw-booking-item-actions button,
    .jbw-booking-item-actions .jbw-booking-action-form .jbw-btn {
        width: 100%;
        min-height: 44px;
    }

    .jbw-booking-item-actions .jbw-field textarea,
    .jbw-booking-item-actions .jbw-field input,
    .jbw-booking-item-actions .jbw-field select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.jbw-booking-action-form .jbw-field {
    margin-bottom: 0.5rem;
}

.jbw-booking-action-hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--c-muted, #64748b);
    line-height: 1.4;
}

.jbw-booking-otp {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.jbw-booking-otp-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.jbw-booking-otp-code {
    font-size: 1.35rem;
    letter-spacing: 0.2em;
    color: #1e3a8a;
}

.jbw-booking-otp-hint {
    font-size: 0.75rem;
    color: #64748b;
}

.jbw-order-line-meta--damage {
    color: #b91c1c !important;
}

@media (max-width: 639px) {
    .jbw-bh-item {
        grid-template-columns: 2.75rem minmax(0, 1fr);
        grid-template-areas:
            "img title"
            "img type";
        gap: 0.35rem 0.75rem;
    }

    .jbw-bh-item-img {
        grid-area: img;
        width: 2.75rem;
        height: 2.75rem;
    }

    .jbw-bh-item-title {
        grid-area: title;
    }

    .jbw-bh-item-type {
        grid-area: type;
        text-align: left;
        white-space: normal;
    }

    .jbw-bh-card-foot {
        flex-wrap: wrap;
        align-items: center;
    }
}

/* booking detail */
.jbw-booking-layout {
    display: grid;
    gap: 1.5rem;
}

.jbw-booking-main,
.jbw-booking-sidebar {
    display: grid;
    gap: 1.00rem;
    height: fit-content;
}

.jbw-booking-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    padding: 1.375rem;
}

.jbw-booking-card-title {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin: 0 0 1rem;
}

.jbw-booking-split {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .jbw-booking-split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .jbw-booking-layout {
        grid-template-columns: 1fr 22rem;
    }
}

.jbw-booking-product-row {
    display: flex;
    gap: 1rem;
}

.jbw-booking-product-img {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 12px;
    object-fit: cover;
}

.jbw-booking-product-name {
    font-weight: 800;
    margin: 0;
    font-size: 1rem;
}

.jbw-booking-product-meta {
    font-size: 0.8125rem;
    color: var(--c-muted);
    margin: 0.25rem 0 0;
}

.jbw-booking-product-price {
    font-weight: 800;
    color: var(--c-primary);
    margin-top: 0.5rem;
    font-size: 1.125rem;
}

.jbw-booking-track {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jbw-booking-track-step {
    display: flex;
    gap: 0.875rem;
    padding-bottom: 1.25rem;
    position: relative;
}

.jbw-booking-track-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 1.4rem;
    bottom: 0;
    width: 2px;
    background: var(--c-border);
}

.jbw-booking-track-step--done:not(:last-child)::before {
    background: var(--c-primary);
}

.jbw-booking-track-marker {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    border: 2px solid var(--c-border);
    flex-shrink: 0;
    background: #fff;
}

.jbw-booking-track-step--done .jbw-booking-track-marker {
    background: var(--c-primary);
    border-color: var(--c-primary);
}

.jbw-booking-track-step--current .jbw-booking-track-marker {
    background: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 22%, transparent);
}

.jbw-booking-track-step--current .jbw-booking-track-label {
    color: var(--c-text);
}

.jbw-booking-track-step--upcoming .jbw-booking-track-marker {
    background: var(--c-bg);
}

.jbw-booking-track-step--upcoming .jbw-booking-track-label {
    color: var(--c-muted);
    font-weight: 600;
}

.jbw-booking-track-step--cancelled .jbw-booking-track-marker {
    background: #fee2e2;
    border-color: #fecaca;
}

.jbw-booking-track-label {
    font-weight: 700;
    font-size: 0.875rem;
    margin: 0;
}

.jbw-booking-track-time {
    font-size: 0.75rem;
    color: var(--c-muted);
    margin: 0.125rem 0 0;
}

.jbw-booking-track-content {
    min-width: 0;
    padding-top: 0.1rem;
}

.jbw-item-tracks {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.jbw-item-track+.jbw-item-track {
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-border, #e2e8f0);
}

.jbw-item-track-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.jbw-item-track-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
}

.jbw-item-track-status {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-primary);
    text-align: right;
}

.jbw-item-track-driver {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    color: var(--c-muted);
}

.jbw-payment-lines {
    display: grid;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.jbw-payment-lines div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.jbw-payment-line--deduct span:last-child {
    color: #dc2626;
    font-weight: 700;
}

.jbw-payment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--c-border);
}

.jbw-payment-total strong {
    font-size: 1.375rem;
    color: var(--c-primary);
}

/* â”€â”€â”€ Booking detail page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-booking-detail-page {
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

.jbw-booking-detail-header {
    margin-bottom: 1.00rem;
}

.jbw-booking-detail-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.jbw-booking-detail-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.625rem, 3.5vw, 1.700rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.jbw-booking-detail-meta {
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
    color: var(--c-muted);
}

.jbw-booking-detail-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.500rem;
}

.jbw-booking-detail-type {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #475569;
}

.jbw-booking-pay-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jbw-booking-pay-badge--paid {
    background: #dcfce7;
    color: #15803d;
}

.jbw-booking-pay-badge--pending {
    background: #ffedd5;
    color: #c2410c;
}

.jbw-booking-pay-badge--failed {
    background: #fee2e2;
    color: #b91c1c;
}

.jbw-booking-detail-layout {
    align-items: start;
}

.jbw-booking-detail-product-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.jbw-booking-detail-product-media {
    flex-shrink: 0;
}

.jbw-booking-detail-product-img {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 14px;
    object-fit: cover;
    background: #f0ede8;
    border: 1px solid var(--c-border);
}

.jbw-booking-detail-product-body {
    flex: 1;
    min-width: 0;
}

.jbw-booking-detail-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 0.75rem;
    margin: 0.5rem 0 0.75rem;
}

.jbw-booking-detail-attr {
    font-size: 0.8125rem;
    color: var(--c-muted);
    font-weight: 600;
}

.jbw-booking-detail-split {
    align-items: stretch;
}

.jbw-booking-designer-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.jbw-booking-designer-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--c-border);
}

.jbw-booking-designer-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce7df, #fecaca);
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1rem;
}

.jbw-booking-designer-info {
    min-width: 0;
}

.jbw-booking-designer-name {
    display: block;
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--c-text);
    text-decoration: none;
    line-height: 1.3;
}

.jbw-booking-designer-name:hover {
    color: var(--c-primary);
}

.jbw-booking-detail-rental-range {
    margin: 0;
    font-weight: 800;
    font-size: 1.0625rem;
    line-height: 1.35;
    color: var(--c-text);
}

.jbw-booking-detail-rental-range span {
    margin: 0 0.35rem;
    color: var(--c-muted);
    font-weight: 600;
}

.jbw-booking-detail-empty {
    margin: 0;
    font-size: 0.875rem;
    color: var(--c-muted);
}

.jbw-booking-detail-address {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.jbw-booking-detail-address-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: #fef3ee;
    color: var(--c-primary);
    flex-shrink: 0;
}

.jbw-booking-detail-address-name {
    margin: 0;
    font-weight: 800;
    font-size: 0.9375rem;
}

.jbw-booking-detail-address-lines {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--c-muted);
}

.jbw-booking-detail-notes {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--c-muted);
}

.jbw-booking-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
    gap: 0.625rem;
}

.jbw-booking-ref-item {
    display: block;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: #f0ede8;
    transition: transform var(--trans), box-shadow var(--trans);
}

.jbw-booking-ref-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--c-shadow-md);
}

.jbw-booking-ref-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jbw-booking-sidebar-sticky {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .jbw-booking-sidebar-sticky {
        /* position: sticky; */
        top: 5.5rem;
    }
}

.jbw-booking-payment-card--pending {
    border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border));
    background: linear-gradient(180deg, #fffaf7 0%, var(--c-surface) 100%);
}

.jbw-booking-detail-pay-btn {
    margin-top: 1rem;
    border-radius: 12px;
}

/* â”€â”€â”€ Figma booking detail pages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-figma-booking-page {
    padding-top: 1.25rem;
    padding-bottom: 4rem;
}

.jbw-figma-back-nav {
    margin-bottom: 1.5rem;
}

.jbw-figma-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-primary);
    transition: opacity var(--trans);
}

.jbw-figma-back-link:hover {
    opacity: 0.75;
}

.jbw-figma-back-link svg {
    flex-shrink: 0;
}

.jbw-figma-booking-head {
    margin-bottom: 2rem;
}

.jbw-figma-booking-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--c-text);
}

.jbw-figma-booking-meta {
    margin: 0.625rem 0 0;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 400;
}

.jbw-figma-booking-meta span {
    margin: 0 0.4rem;
}

.jbw-figma-booking-layout {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .jbw-figma-booking-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 3rem;
    }
}

.jbw-figma-booking-main {
    display: grid;
    gap: 2rem;
    min-width: 0;
}

.jbw-figma-booking-aside {
    align-self: start;
}

@media (min-width: 1024px) {
    .jbw-figma-booking-aside {
        position: sticky;
        top: 5.75rem;
    }
}

.jbw-figma-section-title {
    margin: 0 0 1rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text);
}

.jbw-figma-booking-section {
    min-width: 0;
}

.jbw-figma-address-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.375rem;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #faf8f5;
}

.jbw-figma-address-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #fdeee8;
    color: var(--c-primary);
    flex-shrink: 0;
}

.jbw-figma-address-name {
    margin: 0;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--c-text);
}

.jbw-figma-address-lines {
    margin: 0.3rem 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
}

.jbw-figma-item-list {
    display: grid;
    gap: 1.25rem;
}

.jbw-figma-item-card,
.jbw-figma-product-card {
    position: relative;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #fff;
}

.jbw-figma-item-status {
    position: absolute;
    top: 1.125rem;
    right: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    z-index: 1;
}

.jbw-figma-item-status--delivered,
.jbw-figma-item-status--re_delivered,
.jbw-figma-item-status--completed {
    color: #15803d;
}

.jbw-figma-item-status--in_progress,
.jbw-figma-item-status--re_intransit {
    color: #c2410c;
}

.jbw-figma-item-status--cancelled {
    color: #b91c1c;
}

.jbw-figma-item-status--returned {
    color: #0369a1;
}

.jbw-figma-item-status--new,
.jbw-figma-item-status--accepted,
.jbw-figma-item-status--default {
    color: #6b7280;
}

.jbw-figma-product-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem 0;
}

.jbw-figma-item-card-body,
.jbw-figma-product-card-body {
    display: flex;
    gap: 1.25rem;
    padding: 1.125rem 1.25rem;
    align-items: flex-start;
}

.jbw-figma-item-card .jbw-figma-item-card-body {
    padding-top: 2.75rem;
}

.jbw-figma-item-img {
    width: 7rem;
    height: 7rem;
    border-radius: 6px;
    object-fit: cover;
    background: #f5f3f0;
    flex-shrink: 0;
}

.jbw-figma-product-img {
    width: 8.5rem;
    height: 10.5rem;
    border-radius: 6px;
    object-fit: cover;
    background: #f5f3f0;
    flex-shrink: 0;
}

.jbw-figma-item-info,
.jbw-figma-product-info {
    flex: 1;
    min-width: 0;
    padding-right: 4rem;
}

.jbw-figma-item-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.15rem;
}

.jbw-figma-item-title,
.jbw-figma-product-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-text);
}

.jbw-figma-item-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: #f3f4f6;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b7280;
}

.jbw-figma-item-specs {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 400;
}

.jbw-figma-item-price {
    margin: 0.45rem 0 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--c-text);
}

.jbw-figma-item-card-foot {
    display: flex;
    justify-content: flex-end;
    padding: 0 1.25rem 1.125rem;
}

.jbw-figma-item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: none;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--c-primary);
}

.jbw-figma-item-link:hover {
    text-decoration: underline;
}

.jbw-figma-notes-box {
    padding: 1.125rem 1.25rem;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #fafafa;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6b7280;
}

.jbw-figma-notes-box--accent {
    border-color: #f5d0c5;
    background: #fffaf8;
    color: var(--c-text);
}

.jbw-figma-pay-card {
    padding: 1.5rem 1.625rem;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #fff;
}

.jbw-figma-pay-lines {
    display: grid;
    gap: 0.75rem;
    padding-bottom: 1.125rem;
    margin-bottom: 1.125rem;
    border-bottom: 1px solid #e8e4df;
}

.jbw-figma-pay-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.jbw-figma-pay-line span:last-child {
    font-weight: 600;
    color: var(--c-text);
    white-space: nowrap;
}

.jbw-figma-pay-line--accent span:last-child {
    color: var(--c-primary);
    font-weight: 700;
}

.jbw-figma-pay-tax-note {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: none;
    letter-spacing: 0;
}

.jbw-figma-pay-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.jbw-figma-pay-total span {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text);
}

.jbw-figma-pay-total strong {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: -0.01em;
    line-height: 1;
}

.jbw-figma-pay-remaining {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
}

.jbw-figma-pay-remaining>span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--c-text);
}

.jbw-figma-pay-remaining-note {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}

.jbw-figma-pay-remaining strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-primary);
    white-space: nowrap;
}

.jbw-figma-pay-remaining--returned strong {
    color: #047857;
}

.jbw-figma-pay-remaining--returned .jbw-figma-pay-remaining-note {
    color: #059669;
}

.jbw-figma-pay-remaining--returning .jbw-figma-pay-remaining-note {
    color: #b45309;
}

.jbw-figma-pay-method {
    margin: 0.85rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
}

.jbw-figma-pay-line--damage span:last-child {
    color: #b91c1c;
}

.jbw-figma-pay-btn {
    margin-top: 1.25rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    font-weight: 800;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.jbw-figma-cancel {
    margin-top: 0.85rem;
}

.jbw-figma-cancel-toggle {
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    font-weight: 800;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.jbw-figma-cancel-form {
    margin-top: 0.85rem;
    padding: 1rem;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff7f7;
}

.jbw-figma-cancel-note {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #7f1d1d;
}

.jbw-figma-cancel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.jbw-figma-pay-footnote {
    margin: 1rem 0 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #9ca3af;
}

.jbw-figma-stepper-card {
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #fff;
    overflow-x: auto;
}

.jbw-figma-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    min-width: max(32rem, calc(var(--jbw-step-count, 7) * 5.5rem));
}

.jbw-figma-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    text-align: center;
    min-width: 4.75rem;
}

.jbw-figma-step-dot {
    display: grid;
    place-items: center;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 999px;
    border: 2px solid #d1d5db;
    background: #fff;
    color: #fff;
    z-index: 1;
}

.jbw-figma-step--done .jbw-figma-step-dot {
    background: #9b1c1c;
    border-color: #9b1c1c;
}

.jbw-figma-step--current .jbw-figma-step-dot {
    background: #9b1c1c;
    border-color: #9b1c1c;
    box-shadow: none;
}

.jbw-figma-step--upcoming .jbw-figma-step-dot {
    background: #fff;
    border-color: #d1d5db;
}

.jbw-figma-step--cancelled .jbw-figma-step-dot {
    background: #fee2e2;
    border-color: #fecaca;
}

.jbw-figma-step-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9ca3af;
    line-height: 1.3;
    max-width: 5.5rem;
}

.jbw-figma-step--done .jbw-figma-step-label,
.jbw-figma-step--current .jbw-figma-step-label {
    color: #9b1c1c;
    font-weight: 700;
}

.jbw-figma-step--cancelled .jbw-figma-step-label {
    color: #b91c1c;
}

.jbw-figma-step-line {
    position: absolute;
    top: 0.8125rem;
    left: calc(50% + 0.8125rem);
    width: calc(100% - 1.625rem);
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.jbw-figma-step--done .jbw-figma-step-line {
    background: #9b1c1c;
}

.jbw-figma-seller-card {
    position: relative;
    padding: 1.25rem 1.375rem;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #fff;
}

.jbw-figma-seller-head {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.jbw-figma-seller-avatar {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.jbw-figma-seller-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce7df, #fecaca);
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1.125rem;
}

.jbw-figma-seller-info {
    flex: 1;
    min-width: 0;
    padding-right: 2.5rem;
}

.jbw-figma-seller-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-figma-seller-meta {
    margin: 0.15rem 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.jbw-figma-seller-location {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.jbw-figma-video-btn {
    position: absolute;
    top: 1.125rem;
    right: 1.125rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: var(--c-primary);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
}

.jbw-figma-seller-note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 1rem 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #9ca3af;
}

.jbw-figma-seller-note svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.jbw-figma-chat-btn {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.6875rem;
    font-weight: 800;
    border-color: var(--c-primary);
    color: var(--c-primary);
    border-radius: 8px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.jbw-figma-driver-card {
    position: relative;
    padding: 1.25rem 1.375rem;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #fff;
}

.jbw-figma-driver-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jbw-figma-driver-eyebrow {
    margin: 0 0 0.15rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.jbw-figma-driver-info {
    padding-right: 0;
}

.jbw-figma-driver-avatar--fallback {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
}

.jbw-figma-driver-assigned {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: #9ca3af;
}

.jbw-figma-driver-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.6875rem;
    font-weight: 800;
    border-color: #1d4ed8;
    color: #1d4ed8;
    border-radius: 8px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.jbw-figma-driver-call-btn:hover {
    background: #eff6ff;
}

.jbw-figma-rental-block {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0ede8;
}

.jbw-figma-rental-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: #faf8f5;
    color: #6b7280;
    flex-shrink: 0;
}

.jbw-figma-rental-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.jbw-figma-rental-range {
    margin: 0.15rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text);
}

.jbw-figma-ref-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jbw-figma-ref-item {
    display: block;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e4df;
    background: #f5f3f0;
}

.jbw-figma-ref-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {

    .jbw-figma-item-info,
    .jbw-figma-product-info {
        padding-right: 0;
    }

    .jbw-figma-item-img {
        width: 5.5rem;
        height: 5.5rem;
    }

    .jbw-figma-product-img {
        width: 6.5rem;
        height: 8rem;
    }

    .jbw-figma-item-status {
        top: 0.875rem;
        right: 0.875rem;
        font-size: 0.75rem;
    }
}

.jbw-booking-detail-paid-note {
    margin: 0.875rem 0 0;
    font-size: 0.8125rem;
    color: var(--c-muted);
}

.jbw-booking-detail-help-meta {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    color: var(--c-muted);
}

.jbw-booking-detail-dispute-subject {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--c-muted);
}

.jbw-booking-detail-form {
    display: grid;
    gap: 1rem;
}

.jbw-booking-detail-cancel-card {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fffbfb 0%, var(--c-surface) 100%);
}

.jbw-booking-detail-cancel-hint {
    margin: -0.35rem 0 1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--c-muted);
}

.jbw-label-optional {
    font-weight: 600;
    color: var(--c-muted);
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 639px) {
    .jbw-booking-detail-product-row {
        flex-direction: column;
    }

    .jbw-booking-detail-product-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        max-height: 14rem;
    }

    .jbw-booking-detail-badges {
        gap: 0.375rem;
    }
}

/* â”€â”€â”€ Measurements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-measure-page {
    padding-top: 1.0rem;
    padding-bottom: 1rem;
}

.jbw-measure-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.0rem;
}

.jbw-measure-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--c-text);
    font-weight: 700;
    font-size: 1.125rem;
}

.jbw-measure-skip {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-muted);
    text-decoration: none;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    background: var(--c-surface);
    transition: background var(--trans);

}

.jbw-measure-skip:hover {
    background: var(--c-bg);
}

.jbw-measure-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    box-shadow: var(--c-shadow-md);
    padding: 1rem 1.75rem 1rem;
}

.jbw-measure-section+.jbw-measure-section {
    margin-top: 1rem;
}

.jbw-measure-section-title {
    color: var(--c-primary);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--c-border);
}

.jbw-input--measure {
    text-align: start;
    color: var(--c-muted);
}

.jbw-measure-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-border);
}

.jbw-measure-form-grid {
    display: grid;
    gap: 1rem 1.25rem;
}

@media (min-width: 768px) {
    .jbw-measure-form-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .jbw-measure-form-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.jbw-measure-input {
    position: relative;
    display: block;
}

.jbw-measure-input .jbw-input--measure {
    width: 100%;
    padding-right: 2.75rem;
}

.jbw-measure-unit {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    transform: translateY(-50%);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-muted);
    pointer-events: none;
    letter-spacing: 0.02em;
    line-height: 1;
}

.jbw-measures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
}

.jbw-measure {
    background: var(--c-bg);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
}

.jbw-measure-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    color: var(--c-muted);
    text-transform: uppercase;
}

.jbw-measure-value {
    display: block;
    font-weight: 800;
    margin-top: 0.25rem;
}

/* â”€â”€â”€ Addresses â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-address-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .jbw-address-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.jbw-address-card {
    position: relative;
}

.jbw-address-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.jbw-add-card {
    border: 2px dashed var(--c-border);
    background: var(--c-bg);
    display: grid;
    place-items: center;
    min-height: 10rem;
    text-decoration: none;
    color: var(--c-muted);
    border-radius: var(--r-card);
    transition: border-color var(--trans);
}

.jbw-add-card:hover {
    border-color: var(--c-primary);
}

.jbw-add-card strong {
    display: block;
    color: var(--c-text);
    margin-top: 0.5rem;
}

.jbw-measure-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jbw-measure-profile-card {
    margin-bottom: 0;
    border: 1px solid #ece7e1;
    border-radius: 16px;
    background: #fff;
    padding: 1.1rem 1.2rem;
}

.jbw-measure-profile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.jbw-measure-profile-name {
    font-weight: 800;
    margin: 0;
    font-size: 1rem;
}

.jbw-measure-profile-meta {
    font-size: 0.8125rem;
    color: var(--c-muted);
    margin: 0.25rem 0 0;
}

.jbw-measure-profile-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.jbw-measure-profile-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-primary);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.jbw-measure-profile-link--danger {
    color: #c0392b;
}

/* â”€â”€â”€ Vendor page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-vendor-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 14rem;
    background: #ddd;
    margin-bottom: 4.5rem;
}

.jbw-vendor-hero img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    display: block;
}

.jbw-vendor-head {
    display: flex;
    gap: 1.25rem;
    align-items: flex-end;
    margin-top: -3.5rem;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem 1.25rem;
}

.jbw-vendor-head-avatar {
    width: 7rem;
    height: 7rem;
    border-radius: var(--r-btn);
    border: 4px solid var(--c-surface);
    object-fit: cover;
    box-shadow: var(--c-shadow-md);
}

/* Designer profile */
.jbw-designer-profile {
    padding-bottom: 2.5rem;
    /* width: 100%; */
    max-width: 100%;
    margin-inline: auto;
}

.jbw-dp-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 4.5rem;
}

.jbw-dp-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #efe8e1 0%, #e2d6cc 100%);
    aspect-ratio: 21 / 9;
    min-height: 240px;
    max-height: 420px;
}

/* Full-bleed cover like the mobile app — no blurred letterbox sides. */
.jbw-dp-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.jbw-dp-avatar-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 2;
}

.jbw-dp-avatar {
    width: 118px;
    height: 118px;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 28px rgb(15 23 42 / 0.14);
    display: grid;
    place-items: center;
    background: #f3e7e1;
}

.jbw-dp-avatar--logo {
    object-fit: cover;
    /* padding: 0.55rem; */
    background: #fff;
}

.jbw-dp-avatar--fallback {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-primary);
}

.jbw-dp-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 44rem;
    margin: 0 auto 0.5rem;
    gap: 1.15rem;
}

.jbw-dp-identity {
    text-align: center;
    margin: 0;
    width: 100%;
}

.jbw-dp-name {
    margin: 0 auto 0.55rem;
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-text);
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
}

.jbw-dp-meta-line {
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    color: var(--c-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    max-width: 100%;
    min-width: 0;
}

.jbw-dp-meta-line svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.jbw-dp-meta-line span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-dp-contact {
    margin: 0.35rem auto 0;
    color: var(--c-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
}

.jbw-dp-dot {
    margin: 0 0.35rem;
}

.jbw-dp-bio {
    margin: 0;
    max-width: 38rem;
    min-width: 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.975rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-dp-bio-text {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-dp-bio .jbw-read-more {
    display: inline;
    margin-left: 0.25rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-primary);
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    vertical-align: baseline;
    cursor: pointer;
}

.jbw-dp-bio .jbw-read-more svg {
    display: none;
}

.jbw-dp-rating-block {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jbw-dp-rating-score {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.jbw-dp-rating-score strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e0a800;
    line-height: 1;
}

.jbw-dp-stars {
    display: inline-flex;
    gap: 0.08rem;
    color: #e0a800;
    font-size: 1.05rem;
    line-height: 1;
}

.jbw-dp-stars .is-on {
    color: #e0a800;
}

.jbw-dp-stars .is-half {
    opacity: 0.55;
}

.jbw-dp-reviews-count {
    margin: 0.35rem 0 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #6b7280;
}

.jbw-dp-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.35rem;
}

.jbw-dp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    min-width: 8.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.jbw-dp-btn--primary {
    background: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    color: #fff;
    letter-spacing: 0.04em;
}

.jbw-dp-btn--primary:hover {
    background: var(--c-primary-dk, #d4451c);
    color: #fff;
}

.jbw-dp-btn--outline {
    background: #fff;
    border: 1.5px solid var(--c-primary);
    color: var(--c-primary);
}

.jbw-dp-btn--outline:hover {
    background: #fff8f5;
}

.jbw-dp-btn--teal {
    background: #1f4b56;
    border: 1.5px solid #1f4b56;
    color: #fff;
}

.jbw-dp-btn--teal:hover {
    background: #163842;
    color: #fff;
}

.jbw-dp-section {
    margin-top: 3.25rem;
}

.jbw-dp-section-title {
    margin: 0 0 1.35rem;
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--c-text);
}

.jbw-dp-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.jbw-dp-service-card {
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.jbw-dp-service-media {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #efeae3;
}

.jbw-dp-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.jbw-dp-service-card:hover .jbw-dp-service-media img {
    transform: scale(1.04);
}

.jbw-dp-service-label {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-text);
}

/* Our Services landing (header Services) */
.jbw-our-services {
    padding-bottom: 2.5rem;
}

.jbw-our-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.jbw-our-service-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
    color: inherit;
    font: inherit;
}

.jbw-our-service-media {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #efeae3;
}

.jbw-our-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.jbw-our-service-card:hover .jbw-our-service-media img {
    transform: scale(1.04);
}

.jbw-our-service-label {
    margin: 0.9rem 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
}

@media (max-width: 900px) {
    .jbw-our-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

@media (max-width: 639px) {
    .jbw-our-services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .jbw-our-service-media {
        aspect-ratio: 5 / 4;
    }
}

.jbw-dp-image-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.jbw-portfolio-page {
    padding-bottom: 2.5rem;
}

.jbw-portfolio-gallery {
    gap: 1rem;
}

.jbw-dp-image-tile {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #efeae3;
}

.jbw-dp-image-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.jbw-dp-image-tile:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .jbw-dp-image-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .jbw-dp-image-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }
}

@media (max-width: 900px) {
    .jbw-dp-banner {
        aspect-ratio: 16 / 9;
        max-height: 360px;
    }

    .jbw-dp-intro {
        max-width: 36rem;
        gap: 1rem;
        padding-inline: 0.25rem;
    }

    .jbw-dp-actions {
        gap: 0.65rem;
    }

    .jbw-dp-btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .jbw-dp-services {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 639px) {
    .jbw-dp-banner {
        aspect-ratio: 4 / 3;
        min-height: 200px;
        max-height: 280px;
        border-radius: 16px;
    }

    .jbw-dp-avatar {
        width: 92px;
        height: 92px;
    }

    .jbw-dp-hero {
        margin-bottom: 3.75rem;
    }

    .jbw-dp-intro {
        gap: 0.9rem;
    }

    .jbw-dp-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .jbw-dp-btn {
        width: 100%;
        min-width: 0;
    }
}

/* â”€â”€â”€ Auth pages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-body--guest {
    background: #f0eeea;
}

.jbw-auth-main {
    min-height: 100vh;
    background: #fbf9f9;
    position: relative;
}

.jbw-dev-otp-badge {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 70;
    background: var(--c-navy);
    color: #e2edf1;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5625rem 1rem;
    border-radius: 999px;
    box-shadow: var(--c-shadow-lg);
    letter-spacing: 0.02em;
}

.jbw-auth-flash {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 2rem));
    z-index: 60;
}

.jbw-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
}

/* Logo + form stay together as one centered unit (no floating / stretched gap). */
.jbw-auth-stage {
    width: 100%;
    max-width: 1320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* â”€â”€ Left brand panel â”€â”€ */
.jbw-auth-page-brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible;
    min-height: 0;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .jbw-auth-page {
        padding: 1.25rem 1rem 2rem;
        align-items: flex-start;
    }

    .jbw-auth-page-brand {
        padding: 0.5rem 0 0;
    }

    .auth-logo {
        height: 100px !important;
        width: auto !important;
        max-width: 220px;
    }

    .jbw-auth-page-form {
        padding: 0 !important;
        width: 100%;
    }
}

.textmanage {
    font-weight: 800;
    color: #e95433 !important;
    text-decoration: none;

}


.jbw-auth-brand-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1540479859555-17af45c78602?w=1200&q=80&fit=crop');
    background-size: cover;
    background-position: center;
}

.jbw-auth-brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgb(26 47 56 / 0.9) 0%,
            rgb(26 47 56 / 0.75) 50%,
            rgb(0 0 0 / 0.88) 100%);
}

.jbw-auth-page-brand-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 28rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.jbw-auth-brand-tagline {
    text-align: center;
}

.jbw-auth-brand-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2.5vw, 1.625rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.jbw-auth-brand-sub {
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 0.55);
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* legacy classes kept for backward compat */
.jbw-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jbw-brand-img {
    width: min(16rem, 80vw);
    height: auto;
    display: block;
    border-radius: 12px;
}

/* â”€â”€ Right form panel â”€â”€ */
.jbw-auth-page-form {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    width: 100%;
    max-width: 540px;
}

.auth-logo {
    width: min(280px, 70vw);
    height: auto;
    display: block;
    object-fit: contain;
}

.jbw-auth-card {
    width: min(540px, 100%);
    background: var(--c-surface);
    border-radius: 24px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.04), 0 20px 60px rgb(0 0 0 / 0.1);
    padding: 3.5rem 2.25rem 3.25rem;
    border: 1px solid var(--c-border);
}

.jbw-auth-card--centered .jbw-auth-title,
.jbw-auth-card--centered .jbw-auth-sub {
    text-align: center;
}

.jbw-auth-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.375rem;
    color: var(--c-text);
    text-align: center;
}

.jbw-auth-sub {
    color: #9ca3af;
    margin: 0 0 0.95rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    text-align: center;
}


.jbw-input--auth {
    padding: 0.9375rem 1.0625rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    border-color: #d8d5cf;
}

.jbw-phone-field {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #d8d5cf;
    border-radius: 10px;
    background: var(--c-surface);
    overflow: hidden;
    transition: border-color var(--trans), box-shadow var(--trans);
}

.jbw-phone-field:focus-within {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgb(242 81 35 / 0.1);
}

.jbw-phone-field.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgb(239 68 68 / 0.08);
}

.jbw-phone-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0.9375rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--c-text);
    background: var(--c-bg);
    border-right: 1.5px solid #d8d5cf;
    user-select: none;
    white-space: nowrap;
}

.jbw-phone-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0.9375rem 1.0625rem;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--c-text);
}

.jbw-phone-input:focus {
    outline: none;
}

.jbw-phone-input::placeholder {
    color: #b8b5af;
}

.jbw-btn--cta {
    border-radius: 10px;
    padding: 0.8375rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgb(242 81 35 / 0.3);
}

.jbw-auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #aaa;
    font-size: 0.8125rem;
}

.jbw-auth-divider::before,
.jbw-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
}

.jbw-auth-divider span {
    white-space: nowrap;
}

.jbw-btn--social {
    background: var(--c-surface);
    border: 1.5px solid var(--c-border);
    color: var(--c-text);
    border-radius: 999px;
    padding: 0.8125rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    justify-content: center;
    gap: 0.625rem;
    transition: background var(--trans), border-color var(--trans);
}

.jbw-btn--social:hover:not(:disabled) {
    background: var(--c-bg);
    border-color: #bbb;
}

.jbw-btn--social:disabled {
    opacity: 0.95;
    cursor: not-allowed;
}

.jbw-social-icon {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 0.6875rem;
    font-weight: 800;
    flex-shrink: 0;
}

.jbw-social-icon--google {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #4285f4;
}

.jbw-social-icon--apple {
    background: #111;
    color: #fff;
    font-size: 0.875rem;
}

.jbw-auth-footer {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.jbw-auth-footer a {
    color: var(--c-primary);
    font-weight: 700;
    text-decoration: none;
}

.jbw-auth-footer a:hover {
    text-decoration: underline;
}

.jbw-auth-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.jbw-auth-resend-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--c-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.jbw-auth-resend-btn.is-disabled,
.jbw-auth-resend-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.jbw-auth-timer {
    color: var(--c-primary);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jbw-otp-onscreen {
    margin: 0 0 1.25rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px dashed #f15a24;
    background: #fff4ef;
    text-align: center;
}

.jbw-otp-onscreen-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9a3412;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jbw-otp-onscreen-code {
    margin: 0.35rem 0 0;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: #9a3412;
}

.jbw-otp-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.75rem, 3vw, 1.125rem);
    margin: 0 0 1.625rem;
}

.jbw-otp-box {
    width: clamp(3.0rem, 15vw, 4.05rem);
    height: clamp(2.8rem, 15vw, 2.85rem);
    flex: 0 0 clamp(3.5rem, 15vw, 4.25rem);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    border: 1.5px solid #d8d5cf;
    border-radius: 5px;
    background: var(--c-bg);
    color: var(--c-primary);
    font-family: var(--font-sans);
    padding: 0;
    transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}

.jbw-otp-box:focus {
    outline: none;
    border-color: var(--c-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgb(242 81 35 / 0.1);
}

.jbw-otp-box.is-filled {
    border-color: #f4a574;
    background: #fff;
}

.jbw-form-stack--otp {
    gap: 0;
}


.text-danger {
    color: red;
    font-size: 10px;
}

@media (min-width: 960px) {
    .jbw-auth-stage {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        /* gap: clamp(2.5rem, 5vw, 4rem); */
    }

    .jbw-auth-page-brand {
        flex: 0 0 50%;
        min-height: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .jbw-auth-page-brand-inner {
        max-width: 100%;
        gap: 0;
    }

    .jbw-logo--auth .jbw-logo-media--auth {
        height: 5rem;
        max-width: 16rem;
    }

    .auth-logo {
        width: 100%;
        max-width: 480px;
    }

    .jbw-auth-page-form {
        flex: 0 1 540px;
        min-height: 0;
        padding: 0;
        align-items: center;
    }
}

@media (max-width: 959px) {
    .jbw-auth-brand-tagline {
        display: none;
    }
}

/* â”€â”€â”€ Breadcrumb â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-breadcrumb {
    margin-bottom: 0.05rem;
    padding-top: 0.5rem;
}

.jbw-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color var(--trans);
}

.jbw-breadcrumb-link:hover {
    color: var(--c-text);
}

/* â”€â”€â”€ Detail page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-detail-price {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--c-primary);
    margin: 0.35rem 0 0.15rem;
}

.jbw-detail-desc {
    color: var(--c-muted);
    line-height: 1.75;
    margin: 0;
    font-size: 0.9375rem;
    text-align: left;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.jbw-detail-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1rem;
    width: 100%;
}

.jbw-detail-action-form {
    display: contents;
    margin: 0;
    padding: 0;
}

.jbw-detail-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.jbw-detail-action-btn--outline {
    background: #fff;
    border: 1.5px solid var(--c-primary);
    color: var(--c-primary);
}

.jbw-detail-action-btn--outline:hover {
    background: #fff8f5;
}

.jbw-detail-action-btn--primary {
    background: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgb(242 81 35 / 0.28);
    letter-spacing: 0.04em;
}

.jbw-detail-action-btn--primary:hover {
    background: var(--c-primary-dk, #d4451c);
    border-color: var(--c-primary-dk, #d4451c);
    color: #fff;
}


/* â”€â”€â”€ Catalog empty state â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--c-muted);
    background: var(--c-surface);
    border-radius: var(--r-card);
    border: 1px solid var(--c-border);
}

.jbw-catalog-empty svg {
    margin: 0 auto 1rem;
    opacity: 0.4;
}

.jbw-subcategory-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    margin-bottom: 1rem;
    scrollbar-width: thin;
}

.jbw-subcategory-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    min-width: 5.5rem;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--trans), box-shadow var(--trans);
}

.jbw-subcategory-chip:hover,
.jbw-subcategory-chip.is-active {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 1px rgb(242 81 35 / 0.15);
}

.jbw-subcategory-chip-img {
    width: 3.0rem;
    height: 3.0rem;
    border-radius: 999px;
    object-fit: cover;
}

.jbw-subcategory-chip-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.jbw-catalog-empty p {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
}

.jbw-notes-textarea {
    border-color: #f0d7cb;
}

.jbw-ref-images {
    margin-top: 0;
}

.jbw-bo-ref-list {
    display: grid;
    gap: 1rem;
}

.jbw-bo-ref-item-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.65rem;
    min-width: 0;
}

.jbw-bo-ref-item-img {
    width: 3rem;
    height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.jbw-bo-ref-item-meta {
    min-width: 0;
}

.jbw-bo-ref-item-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f1a17;
    line-height: 1.3;
}

.jbw-bo-ref-item-hint {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: var(--bo-muted, #6b7280);
    line-height: 1.35;
}

.jbw-bo-section>.jbw-ref-images,
.jbw-bo-ref-list .jbw-ref-images {
    margin-top: 0;
}

.jbw-ref-images-legacy {
    margin-top: 1.25rem;
}

.jbw-ref-images-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.85rem;
}

.jbw-ref-images-hint {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-primary);
}

.jbw-ref-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jbw-ref-thumb,
.jbw-ref-add {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
}

.jbw-ref-thumb {
    overflow: hidden;
    border: 1.5px solid transparent;
    background: #f3f0ec;
}

.jbw-ref-thumb.is-active {
    border-color: #f0b9a2;
}

.jbw-ref-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jbw-ref-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 999px;
    background: rgb(15 23 42 / 0.72);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.jbw-ref-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed #d4cdc4;
    background: #fff;
    cursor: pointer;
    color: #8a7f74;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.jbw-ref-add:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: #fff8f5;
}

.jbw-ref-add.is-hidden {
    display: none;
}

.jbw-ref-add-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jbw-ref-add-plus {
    position: absolute;
    right: -5px;
    top: -4px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: currentColor;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
}

.jbw-booking-rail {
    display: none;
}

@media (min-width: 1100px) {
    .jbw-booking-rail {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        position: fixed;
        right: max(1rem, calc((100vw - 72rem) / 2 - 3.25rem));
        top: 50%;
        transform: translateY(-50%);
        z-index: 40;
        padding: 0.45rem;
        background: #fff;
        border: 1px solid var(--c-border);
        border-radius: 14px;
        box-shadow: 0 10px 28px rgb(15 23 42 / 0.08);
    }

    .jbw-booking-rail-btn {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #6b7280;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s, color 0.15s;
    }

    .jbw-booking-rail-btn:hover,
    .jbw-booking-rail-btn.is-active {
        background: #fef3ee;
        color: var(--c-primary);
    }
}

/* â”€â”€â”€ Booking Overview â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-overview-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 0.900rem 1.0rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.03);
}

/* Figma Booking Overview â€” exact box-wise layout */
body:has(.jbw-bo-page),
.jbw-main:has(.jbw-bo-page),
main:has(.jbw-bo-page) {
    background: #fcf8f7;
}

.jbw-bo-page {
    --bo-bg: #fcf8f7;
    --bo-orange: #ff5722;
    --bo-orange-soft: #fff3ee;
    --bo-border: #ebe4e0;
    --bo-border-soft: #f0ebe8;
    --bo-muted: #9a908a;
    --bo-ink: #1f1a17;
    --bo-card: #ffffff;
    --bo-radius: 10px;
    --bo-gap: 14px;
    background: var(--bo-bg);
}

.jbw-container.jbw-bo-page,
.jbw-bo-page.jbw-container {
    width: min(1180px, calc(100% - 2rem));
    margin-left: auto;
    margin-right: auto;
    padding: 1.15rem 0 3rem;
    max-width: 1180px;
}

.jbw-bo-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.jbw-bo-back {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--bo-border);
    background: var(--bo-card);
    color: var(--bo-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: none;
}

.jbw-bo-back:hover {
    border-color: #d9cec8;
    color: var(--bo-orange);
}

.jbw-bo-title {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--bo-ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Two-column layout */
.jbw-bo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
    gap: 1.15rem;
    align-items: start;
}

.jbw-bo-main,
.jbw-bo-aside,
.jbw-bo-side {
    display: grid;
    gap: var(--bo-gap);
    min-width: 0;
    align-content: start;
}

.jbw-bo-aside {
    position: sticky;
    top: 76px;
}

.jbw-bo-section {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

.jbw-bo-label {
    display: block;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6f6762;
}

.jbw-bo-muted {
    margin: 0;
    color: var(--bo-muted);
    font-size: 0.9rem;
}

/* Shared solid card box */
.jbw-bo-card {
    background: var(--bo-card);
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius);
    padding: 0.85rem 1rem;
    min-width: 0;
}

/* ===== BOX: Your Selection ===== */
.jbw-bo-selection-list {
    display: grid;
    gap: 0.75rem;
}

.jbw-bo-selection {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.95rem;
    align-items: start;
    position: relative;
    padding: 0.85rem 1rem;
}

/* HTML order: trash, then body â€” place body left, trash top-right */
.jbw-bo-selection>.jbw-bo-trash {
    grid-column: 2;
    grid-row: 1;
}

.jbw-bo-selection>.jbw-bo-selection-body {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.95rem;
    align-items: center;
    min-width: 0;
}

.jbw-bo-selection>.jbw-bo-inline-rental,
.jbw-bo-selection>.jbw-bo-variant-wrap,
.jbw-bo-selection>input[type="hidden"] {
    grid-column: 1 / -1;
}

.jbw-bo-selection-img,
.jbw-bo-selection-media {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3eeeb;
    border: 1px solid var(--bo-border-soft);
    display: block;
}

.jbw-bo-selection-info,
.jbw-bo-selection-body>div:not(.jbw-bo-selection-media) {
    min-width: 0;
}

.jbw-bo-selection-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bo-ink);
    line-height: 1.25;
}

.jbw-bo-selection-specs,
.jbw-bo-selection-meta {
    margin: 0.2rem 0 0;
    color: var(--bo-muted);
    font-size: 0.9rem;
}

.jbw-bo-selection-price {
    margin: 0.35rem 0 0;
    color: var(--bo-orange);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.jbw-bo-trash {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #b0a8a3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    margin-top: 0.05rem;
}

.jbw-bo-trash:hover {
    color: #c62828;
}

/* ===== BOX ROW: Designer | Rental Period ===== */
.jbw-bo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--bo-gap);
    align-items: stretch;
}

.jbw-bo-split>.jbw-bo-section {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 0;
}

.jbw-bo-split .jbw-bo-card {
    flex: 1;
    min-height: 96px;
}

.jbw-bo-vendor-list {
    display: grid;
    gap: 0.65rem;
}

.jbw-bo-designer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jbw-bo-designer-items {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--bo-muted, #6b7280);
}

.jbw-bo-designer-avatar,
.jbw-bo-avatar {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0ebe8;
    border: 1px solid var(--bo-border);
    display: inline-grid;
    place-items: center;
    color: #b8aea8;
    flex-shrink: 0;
    object-fit: cover;
    font-weight: 700;
    font-size: 1rem;
}

.jbw-bo-designer-avatar img,
img.jbw-bo-designer-avatar {
    width: 100% !important;
    height: 100% !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.jbw-bo-designer-avatar--fallback {
    background: #fff3ee;
    color: var(--bo-orange);
    border-color: #ffd0c2;
}

.jbw-bo-designer-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bo-ink);
    line-height: 1.25;
}

.jbw-bo-designer-meta {
    margin: 0.2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--bo-muted);
}

.jbw-bo-designer-meta .starcolor,
.jbw-bo-star {
    color: var(--bo-orange);
    font-weight: 700;
}

.jbw-bo-rental,
.jbw-bo-period {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    overflow: hidden;
}

.jbw-bo-rental-summary {
    padding-right: 4.5rem;
}

.jbw-bo-rental-dates,
.jbw-bo-period-dates {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bo-ink);
    line-height: 1.25;
}

.jbw-bo-rental-days,
.jbw-bo-period-sub {
    margin: 0.25rem 0 0;
    color: var(--bo-muted);
    font-size: 0.88rem;
}

.jbw-bo-change,
.jbw-bo-link {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    border: 0;
    background: transparent;
    color: var(--bo-orange);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
}

.jbw-bo-change:hover,
.jbw-bo-link:hover {
    text-decoration: underline;
    color: #e64a19;
}

.jbw-bo-rental-fields {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bo-border-soft);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.jbw-bo-rental-help {
    margin: 0 0 0.55rem;
    color: var(--bo-muted);
    font-size: 0.85rem;
}

/* Stack dates in the narrow rental card so inputs never clip */
.jbw-bo-rental-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    min-width: 0;
    width: 100%;
}

.jbw-bo-rental-fields .jbw-field,
.jbw-bo-inline-rental .jbw-field {
    min-width: 0;
    width: 100%;
}

.jbw-bo-rental-fields .jbw-input,
.jbw-bo-rental-fields input[type="date"],
.jbw-bo-inline-rental .jbw-input,
.jbw-bo-inline-rental input[type="date"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 0.875rem;
}

.jbw-bo-inline-rental {
    margin-top: 0.65rem;
    min-width: 0;
    width: 100%;
}

.jbw-bo-rental-item-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    min-width: 0;
}

.jbw-bo-rental-item-media {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 1px solid var(--bo-border-soft, #e8e4df);
}

.jbw-bo-rental-item-img {
    display: block;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.jbw-bo-rental-item-meta {
    min-width: 0;
}

.jbw-bo-rental-item-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--c-text, #111);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jbw-bo-rental-item-specs {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: var(--bo-muted, #6b7280);
    line-height: 1.35;
}

.jbw-bo-inline-rental+.jbw-bo-inline-rental {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--bo-border);
}

.checkout-vendor-row {
    display: none !important;
}

/* ===== Delivery Preference: solid outer box + dashed address ===== */
.jbw-bo-delivery {
    display: grid;
    gap: 0.75rem;
}

.jbw-bo-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bo-ink);
    cursor: pointer;
    width: fit-content;
    position: relative;
}

.jbw-bo-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--bo-orange);
    margin: 0;
    flex-shrink: 0;
}

.jbw-bo-check-box {
    display: none;
}

.jbw-bo-address-box {
    border: 1.5px dashed #d8cfc9;
    border-radius: var(--bo-radius);
    background: var(--bo-card);
    padding: 0.9rem 1rem;
    position: relative;
    min-height: 88px;
}

.jbw-bo-address-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
}

.jbw-bo-address-box>.jbw-bo-change,
.jbw-bo-address-head>.jbw-bo-change {
    position: static;
    flex-shrink: 0;
}

.jbw-bo-address-name {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--bo-ink);
}

.jbw-bo-address-lines {
    margin: 0.3rem 0 0;
    color: #7a726c;
    font-size: 0.88rem;
    line-height: 1.45;
}

.jbw-bo-address-phone {
    margin: 0.2rem 0 0;
    color: #7a726c;
    font-size: 0.88rem;
}

.jbw-bo-address-picker {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bo-border-soft);
}

.jbw-bo-address-manage {
    margin: 0.55rem 0 0;
    font-size: 0.85rem;
}

.jbw-bo-address-manage a {
    color: var(--bo-orange);
    font-weight: 600;
    text-decoration: none;
}

.jbw-bo-address-manage a:hover {
    text-decoration: underline;
}

/* ===== Measurements ===== */
.jbw-bo-measure-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.jbw-bo-measure-tab {
    border: 1px solid var(--bo-border);
    background: var(--bo-card);
    border-radius: 8px;
    min-height: 46px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6f6762;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.jbw-bo-measure-tab.is-active {
    border-color: var(--bo-orange);
    background: var(--bo-orange-soft);
    color: var(--bo-orange);
    font-weight: 700;
}

.jbw-bo-measure-tab:hover:not(.is-active) {
    border-color: #d9cec8;
}

.jbw-bo-measure-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--bo-muted);
}

.jbw-bo-measure-meta a {
    color: var(--bo-orange);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.jbw-bo-measure-empty {
    border: 1px dashed #d8cfc9;
    border-radius: var(--bo-radius);
    background: var(--bo-card);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.jbw-bo-measure-empty p {
    margin: 0;
    color: var(--bo-muted);
    font-size: 0.9rem;
}

/* ===== Additional Notes ===== */
textarea.jbw-bo-notes,
.jbw-bo-textarea {
    width: 100%;
    min-height: 110px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius);
    background: var(--bo-card);
    padding: 0.85rem 1rem;
    resize: vertical;
    font: inherit;
    font-size: 0.92rem;
    color: var(--bo-ink);
    outline: none;
    display: block;
}

textarea.jbw-bo-notes::placeholder,
.jbw-bo-textarea::placeholder {
    color: #b0a8a3;
}

textarea.jbw-bo-notes:focus,
.jbw-bo-textarea:focus {
    border-color: #ffb399;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.08);
}

/* ===== RIGHT: Billing Address dashed box ===== */
.jbw-bo-billing {
    border: 1.5px dashed #d8cfc9;
    border-radius: var(--bo-radius);
    background: var(--bo-card);
    min-height: 118px;
    padding: 1rem;
    position: relative;
}

.jbw-bo-billing-empty {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
}

.jbw-bo-add-address,
.jbw-bo-billing-add {
    border: 0;
    background: transparent;
    color: var(--bo-orange);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.35rem 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.jbw-bo-add-address:hover,
.jbw-bo-billing-add:hover {
    text-decoration: underline;
}

.jbw-bo-billing-pick {
    position: static;
    font-size: 0.78rem;
    font-weight: 700;
}

.jbw-bo-billing-selected {
    width: 100%;
}

.jbw-bo-billing-selected .jbw-bo-change {
    position: static;
}

.jbw-bo-billing .jbw-bo-address-picker {
    margin-top: 0.75rem;
}

/* ===== RIGHT: Payment Summary box ===== */
.jbw-bo-pay-card,
.jbw-bo-pay {
    background: var(--bo-card);
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius);
    padding: 1.15rem 1.2rem 1.2rem;
    display: grid;
    gap: 0;
}

.jbw-bo-pay-card>.jbw-bo-label,
.jbw-bo-pay-title {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--bo-ink);
}

.jbw-bo-pay-lines,
.jbw-bo-pay-rows {
    display: grid;
    gap: 0.72rem;
}

.jbw-bo-pay-line,
.jbw-bo-pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.jbw-bo-pay-line[hidden],
.jbw-bo-pay-row[hidden] {
    display: none !important;
}

.jbw-bo-pay-line span:first-child,
.jbw-bo-pay-row span:first-child {
    color: #8a817b;
}

.jbw-bo-pay-line span:last-child,
.jbw-bo-pay-row strong,
.jbw-bo-pay-line strong {
    color: var(--bo-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.jbw-bo-pay-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #f0ebe8;
}

.jbw-bo-pay-total>span {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bo-ink);
    padding-bottom: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.jbw-bo-pay-total strong {
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: 2.05rem;
    font-weight: 700;
    color: var(--bo-orange);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.jbw-bo-pay-note {
    margin: 0.55rem 0 0;
    color: #a39a94;
    font-size: 0.78rem;
}

.jbw-bo-checkout-btn,
.jbw-bo-cta {
    width: 100%;
    margin-top: 1.1rem;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    background: var(--bo-orange) !important;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none !important;
}

.jbw-bo-checkout-btn:hover,
.jbw-bo-cta:hover {
    background: #f4511e !important;
}

.jbw-bo-variant-wrap {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bo-border-soft);
}

@media (max-width: 980px) {
    .jbw-bo-layout {
        grid-template-columns: 1fr;
    }

    .jbw-bo-aside {
        order: 2;
    }
}

@media (max-width: 720px) {

    .jbw-container.jbw-bo-page,
    .jbw-bo-page.jbw-container {
        width: min(100% - 1.25rem, 1180px);
    }

    .jbw-bo-title {
        font-size: 1.35rem;
    }

    .jbw-bo-split {
        grid-template-columns: 1fr;
    }

    .jbw-bo-selection {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .jbw-bo-selection>.jbw-bo-selection-body {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .jbw-bo-selection-img {
        width: 76px;
        height: 76px;
    }

    .jbw-bo-pay-total strong {
        font-size: 1.7rem;
    }

    .jbw-bo-rental-grid {
        grid-template-columns: 1fr;
    }
}


.jbw-overview-card.is-highlight {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-primary) 45%, transparent);
    transition: box-shadow 0.3s ease;
}

.jbw-overview-card--accent {
    background: linear-gradient(180deg, #fffaf7 0%, var(--c-surface) 100%);
    border-color: color-mix(in srgb, var(--c-primary) 22%, var(--c-border));
    box-shadow: 0 8px 28px rgb(232 93 58 / 0.08);
}

.jbw-overview-card--sticky {
    position: sticky;
    top: 6rem;
}

.jbw-overview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.jbw-overview-card-head .jbw-overview-label {
    margin: 0;
}

.jbw-overview-hint {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-primary);
    background: #fef3ee;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.jbw-booking-grid-2 {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .jbw-booking-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.jbw-overview-foot-link {
    margin: 0.9rem 0 0;
    font-size: 0.8125rem;
}

.jbw-overview-foot-link a {
    color: var(--c-primary);
    font-weight: 700;
    text-decoration: none;
}

.jbw-overview-foot-link a:hover {
    text-decoration: underline;
}

/* Sticky payment summary on desktop */
@media (min-width: 1024px) {
    .jbw-booking-layout {
        align-items: start;
    }

    .jbw-booking-sidebar {
        align-self: start;
        /* position: sticky; */
        top: 5.75rem;
    }
}

/* â”€â”€â”€ Measurement card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-measure-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.jbw-measure-head-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.jbw-measure-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-primary);
    background: #fef3ee;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.jbw-measure-count {
    font-size: 0.8125rem;
    color: var(--c-muted);
    font-weight: 600;
}

.jbw-measure-profile-select {
    margin-bottom: 1rem;
}

.jbw-measure-body {
    display: none;
}

.jbw-measure-block[data-expanded="true"] .jbw-measure-body {
    display: block;
    animation: jbw-fade-in 0.22s ease;
}

@keyframes jbw-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jbw-measure-section {
    margin-top: 1rem;
}

.jbw-measure-section:first-child {
    margin-top: 0;
}

.jbw-measure-section-title {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


.jbw-measure-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--c-border);
}

.jbw-measure-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-primary);
    background: #fef3ee;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--trans), border-color var(--trans);
}

.jbw-measure-toggle-btn:hover {
    background: #fde5d7;
    border-color: color-mix(in srgb, var(--c-primary) 30%, transparent);
}

.jbw-measure-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    transition: transform var(--trans);
}

.jbw-measure-block[data-expanded="true"] .jbw-measure-chevron {
    transform: rotate(180deg);
}

.jbw-measure-update-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--c-primary);
    text-decoration: none;
}

.jbw-measure-update-link:hover {
    text-decoration: underline;
}

.jbw-overview-label {
    font-size: 0.7500rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin: 0 0 0.5rem;
}

.jbw-overview-product {
    display: flex;
    gap: 1.125rem;
    align-items: flex-start;
}

.jbw-overview-img {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 12px;
    object-fit: cover;
    background: #f0ede8;
    flex-shrink: 0;
}

.jbw-overview-product-info {
    flex: 1;
}

.jbw-overview-brand {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    margin: 0;
}

.jbw-overview-title {
    font-weight: 700;
    font-size: 1.0625rem;
    margin: 0.15rem 0 0.15rem;
    line-height: 1.3;
}

.jbw-overview-cat {
    font-size: 0.8125rem;
    color: var(--c-muted);
    margin: 0 0 0.2rem;
}

.jbw-overview-price {
    font-weight: 800;
    font-size: 1.000rem;
    color: var(--c-primary);
    margin: 0;
}

.jbw-overview-dates-placeholder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--c-bg);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    border: 1.5px dashed var(--c-border);
    color: var(--c-muted);
}

.jbw-overview-add-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--c-primary);
    font-weight: 700;
    font-size: 0.875rem;
    background: #fef3ee;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: background var(--trans);
}

.jbw-overview-add-address:hover {
    background: #fde5d7;
}

/* â”€â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    min-width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.625rem;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    text-decoration: none;
    color: var(--c-text);
    font-size: 0.875rem;
    transition: background var(--trans);
}

.pagination li a:hover {
    background: var(--c-bg);
}

.pagination li.active span {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

.jb-pagination {
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--spacing) * 4);
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
    border-color: var(--color-slate-100);
    background-color: #f8fafc80;
    flex-wrap: wrap;
    display: flex
}

@supports (color:color-mix(in lab, red, red)) {
    .jb-pagination {
        background-color: color-mix(in oklab, var(--color-slate-50) 50%, transparent)
    }
}

.jb-pagination {
    padding-inline: calc(var(--spacing) * 5);
    padding-block: calc(var(--spacing) * 4)
}

.gap-1 {
    gap: calc(var(--spacing) * 1);
}

.jb-btn-secondary {
    border-style: var(--tw-border-style);



    padding: 5px 10px 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid oklch(0.8 0.01 259.97);


    background-color: var(--color-white);
    color: oklch(0.71 0.02 258.45);
    font-size: .75rem;

}


.jb-btn-primary {
    border-radius: 10px;
    padding: 5px 10px 5px 10px;
    color: #fff;
    text-decoration: none;
    font-size: .75rem;
    border: 1px solid var(--c-primary);
    background-color: var(--c-primary);

    color-mix(in srgb, var(--jb-primary, #be123c) 25%, transparent);
}





/* â”€â”€â”€ Designer profile hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-designer-detail-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: var(--r-btn);
    object-fit: cover;
    border: 3px solid var(--c-surface);
    box-shadow: var(--c-shadow-md);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE NAV â€” full-width slide-down drawer
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.jbw-mobile-nav {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    box-shadow: 0 8px 32px rgb(0 0 0 / 0.12);
    padding: 0.75rem 0 1.25rem;
}

.jbw-mobile-nav-links {
    display: grid;
    padding: 0 0.75rem;
    gap: 0.15rem;
}

.jbw-mnav-search {
    display: flex;
    align-items: center;
    position: relative;
    gap: 0.35rem;
    margin: 0.25rem 0.125rem 0.65rem;
    padding: 0.35rem 0.5rem 0.35rem 0.75rem;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-bg);
    overflow: visible;
}

.jbw-mnav-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
    color: var(--c-text);
    outline: none;
    padding: 0.4rem 0;
}

.jbw-mnav-search>button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--c-primary);
    cursor: pointer;
}

.jbw-search-suggest {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: auto;
    right: 0;
    z-index: 140;
    width: min(22.5rem, calc(100vw - 1.5rem));
    min-width: 18rem;
    max-height: min(26rem, 70vh);
    overflow: auto;
    margin: 0;
    padding: 0.45rem;
    border: 1px solid #eadfd6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgb(15 23 42 / 0.16);
}

.jbw-search-suggest[hidden] {
    display: none !important;
}

.jbw-search-suggest-group {
    padding: 0.2rem 0 0.35rem;
}

.jbw-search-suggest-group+.jbw-search-suggest-group {
    margin-top: 0.25rem;
    padding-top: 0.45rem;
    border-top: 1px solid #f0e8e1;
}

.jbw-search-suggest-heading {
    margin: 0 0 0.3rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a8f86;
}

.jbw-search-suggest-item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.55rem 0.55rem;
    border: 0;
    border-radius: 11px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.jbw-search-suggest-item:hover,
.jbw-search-suggest-item.is-active {
    background: #faf6f2;
}

.jbw-search-suggest-thumb {
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    background: #f4efe9;
    border: 1px solid #efe6de;
}

.jbw-search-suggest-thumb--fallback {
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--c-primary);
    background: #fce7df;
    object-fit: unset;
}

.jbw-search-suggest-body {
    min-width: 0;
    display: grid;
    gap: 0.15rem;
}

.jbw-search-suggest-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f1a16;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.jbw-search-suggest-meta {
    font-size: 0.75rem;
    color: #7a7169;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jbw-search-suggest-type {
    flex-shrink: 0;
    align-self: start;
    margin-top: 0.15rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-primary);
    background: rgb(242 81 35 / 0.08);
}

.jbw-search-suggest-empty {
    padding: 1rem 0.85rem;
    font-size: 0.85rem;
    color: var(--c-muted);
    line-height: 1.4;
}

.jbw-mnav-search .jbw-search-suggest {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-height: min(22rem, 55vh);
    z-index: 160;
}

.jbw-mnav-search .jbw-search-suggest-item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0.55rem;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: inherit;
    text-align: left;
}

.jbw-mnav-link-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.jbw-mnav-link-text small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 16rem;
}

.jbw-mobile-nav-user {
    /* border-top: 1px solid var(--c-border); */
    /* margin-top: 0.5rem; */
    padding: 0.00rem 0.75rem 0;
    display: grid;
    gap: 0.25rem;
}

.jbw-mnav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    text-decoration: none;
    color: var(--c-text);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--trans), color var(--trans);
}

.jbw-mnav-link:hover {
    background: var(--c-bg);
}

.jbw-mnav-link.is-active {
    color: var(--c-primary);
    background: #fef3ee;
}

.jbw-mnav-link--danger {
    color: #dc2626;
}

.jbw-mnav-link--danger:hover {
    background: #fef2f2;
}

/* Alpine transition helpers */
.jbw-mnav-enter {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.jbw-mnav-enter-start {
    opacity: 0;
    transform: translateY(-6px);
}

.jbw-mnav-enter-end {
    opacity: 1;
    transform: translateY(0);
}

.bannercss {
    padding: 15px;

}

.lookbutton {
    border-radius: 0px;
    padding: 7px 17px 7px 17px;
    font-size: 12px;
    background: #AE2A0B;
}

.borderbanner {
    border-radius: 10px;
}

/* contactform */
/* Contact Form */
.contact-form-card {
    padding-top: 25px !important;
    background: #fff;
    padding: 25px;
    margin-top: 0px;
}

.contact-form-card h2 {
    font-size: 48px;
    font-weight: 700;
    color: #222;
    margin-bottom: 40px;
    font-family: Georgia, serif;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-input,
.contact-textarea,
.contact-select {
    border: none;
    border-bottom: 1px solid #d8a0a0;
    border-radius: 0;
    -webkit-border-radius: 0;
    background: transparent;
    padding: 12px 0;
    font-size: 16px;
    font-family: inherit;
    color: #222;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px 8px;
    padding-right: 1.5rem;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #bdbdbd;
}

.contact-textarea {
    resize: none;
    min-height: 120px;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
    border-bottom: 1px solid #000;
    border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none;
}

@supports (-webkit-touch-callout: none) {
    .contact-input,
    .contact-textarea,
    .contact-select {
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        appearance: none;
        -webkit-appearance: none;
        background-color: transparent;
    }
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #111;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
}

.contact-submit:hover {
    background: #000;
    color: #fff;
}

.contact-submit-wrap {
    margin-top: 30px;
}

@media (max-width:768px) {
    .contact-form-card {
        padding: 25px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-card h2 {
        font-size: 34px;
    }
}

@media (min-width: 900px) {
    .jbw-mobile-nav {
        display: none !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CATALOG â€” mobile filter toggle & layout fixes
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.jbw-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--c-surface);
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-sans);
    color: var(--c-text);
    cursor: pointer;
    transition: border-color var(--trans), background var(--trans);
    margin-bottom: 1rem;
}

.jbw-filter-toggle:hover {
    border-color: var(--c-primary);
}

.jbw-filter-badge {
    background: var(--c-primary);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    border-radius: 999px;
    width: 1.125rem;
    height: 1.125rem;
    display: inline-grid;
    place-items: center;
}

/* on desktop, never show filter toggle */
@media (min-width: 900px) {
    .jbw-filter-toggle {
        display: none;
    }

    .jbw-filters {
        display: block !important;
    }
}

/* on mobile, filter sidebar is hidden by default */
@media (max-width: 899px) {
    .jbw-catalog-layout {
        display: block;
    }

    .jbw-filters {
        display: none;
        margin-bottom: 1.25rem;
        /* Sticky + transparent listing chrome overlays color/rating onto results */
        position: static;
        top: auto;
        height: auto;
        z-index: auto;
    }

    .jbw-filters.is-open {
        display: block;
    }

    .jbw-filters.jbw-filters--listing {
        background: #fff;
        border: 1px solid var(--c-border, #e8e2da);
        border-radius: 14px;
        box-shadow: none;
        padding: 1rem 0.9rem 1.15rem;
    }

    .jbw-filter-form .jbw-field {
        position: relative;
        z-index: 0;
        margin-top: 1.15rem;
    }

    .jbw-color-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.7rem;
        align-items: center;
        position: relative;
        z-index: 1;
        max-width: 100%;
        overflow: visible;
    }

    .jbw-color-swatch {
        width: 30px;
        height: 30px;
        flex: 0 0 auto;
    }

    .jbw-rating-grid {
        position: relative;
        z-index: 1;
    }

    .jbw-catalog-results {
        position: relative;
        z-index: 0;
        clear: both;
        margin-top: 0.25rem;
    }

    .shell-manage {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem 1rem;
        margin-bottom: 1rem !important;
    }

    .jbw-page-head-copy {
        min-width: 0;
    }

    .jbw-page-head-copy .jbw-page-title {
        margin: 0;
        font-size: clamp(1.4rem, 6vw, 1.75rem);
        line-height: 1.15;
    }

    .jbw-page-head-copy .jbw-page-subtitle {
        margin: 0.35rem 0 0;
        font-size: 0.8125rem;
        line-height: 1.4;
        color: var(--c-muted);
    }

    .jbw-page-head-media {
        width: 5.5rem;
        height: 5.5rem;
        flex-shrink: 0;
        overflow: hidden;
    }

    .jbw-page-head-media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .jbw-filter-toggle {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.85rem;
    }

    .jbw-subcategory-strip {
        gap: 0.5rem;
        margin-bottom: 0.85rem;
        padding-bottom: 0.35rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .jbw-subcategory-chip {
        min-width: 4.75rem;
        max-width: 5.25rem;
        padding: 0.4rem 0.35rem;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .jbw-subcategory-chip-img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .jbw-subcategory-chip-label {
        font-size: 0.6875rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .jbw-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .jbw-product-card {
        min-width: 0;
    }

    .jbw-product-card-img {
        min-height: 0 !important;
        aspect-ratio: 3 / 4;
        background: #f3f0eb;
    }

    .jbw-product-card-img img {
        object-fit: cover;
    }

    .jbw-product-card-body {
        padding: 0.7rem 0.65rem 0.8rem;
    }

    .jbw-product-card--listing .jbw-product-card-body {
        padding: 0.65rem 0.1rem 0.5rem !important;
        background: transparent;
    }

    .jbw-product-brand {
        font-size: 0.625rem;
    }

    .jbw-product-title {
        font-size: 0.8125rem;
        line-height: 1.25;
    }

    .jbw-product-price {
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

    .brand-rating-row {
        gap: 0.35rem;
    }
}

.jbw-catalog-results {
    min-width: 0;
}

.jbw-catalog-count {
    font-size: 0.875rem;
    color: var(--c-muted);
    margin-bottom: 1rem;
}

/* Product card image wrapper â€” fixed frame for every listing */
.jbw-product-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f2ed, #ebe6df);
    flex-shrink: 0;
}

.jbw-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

.jbw-product-card:hover .jbw-product-card-img img {
    transform: scale(1.03);
}

.jbw-product-card:hover {
    transform: translateY(-4px);
}

/* review section  */
.reviews-section {
    padding: 10px 20px;

}

/* Designer profile reviews (Figma) */
.jbw-reviews-block .reviews-header {
    display: block;
    margin: 0 0 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8e4de;
}

.jbw-reviews-block .rating-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    color: #f5b301;
    font-size: 1rem;
    margin: 0;
}

.jbw-reviews-block .rating-summary-text {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 0;
}

.jbw-reviews-block .stars {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    letter-spacing: 0;
    font-size: 1rem;
    line-height: 1;
    color: #d1d5db;
}

.jbw-reviews-block .stars .is-on {
    color: #f5b301;
}

.jbw-reviews-block .stars .is-half {
    color: #f5b301;
    opacity: 0.55;
}

.jbw-reviews-block .stars--summary {
    color: #d1d5db;
}

.jbw-reviews-block .stars--summary .is-on {
    color: #f5b301;
}

.jbw-reviews-block .stars--card {
    margin-top: 0.2rem;
    font-size: 0.85rem;
    color: #d1d5db;
}

.jbw-reviews-block .stars--card .is-on {
    color: #f5b301;
}

.jbw-reviews-block .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.jbw-reviews-block .review-card {
    border: 1px solid #ece7e1;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    background: #fff;
    transition: box-shadow .2s ease;
}

.jbw-reviews-block .review-card:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.jbw-reviews-block .review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.jbw-reviews-block .review-user {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    min-width: 0;
}

.jbw-reviews-block .review-user img,
.jbw-reviews-block .review-avatar-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.jbw-reviews-block .review-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3ebe6;
    color: #6b4a3a;
    font-weight: 700;
    font-size: 1rem;
}

.jbw-reviews-block .review-user-meta {
    min-width: 0;
}

.jbw-reviews-block .review-user h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-reviews-block .review-time {
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.jbw-reviews-block .review-comment {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.7;
    text-align: left;
}

.jbw-reviews-block .review-comment-text {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
}

.jbw-reviews-block .review-read-more {
    display: inline;
    margin: 0 0 0 0.25rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-primary);
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    vertical-align: baseline;
}

.jbw-reviews-block .review-card-muted {
    color: #9ca3af !important;
    font-style: italic;
    margin: 0;
    text-align: left;
}

.jbw-reviews-block .reviews-empty {
    border: 1px dashed #e5d5cc;
    border-radius: 16px;
    padding: 2rem 1.25rem;
    text-align: center;
    background: #fffaf7;
    color: #6b6b6b;
}

.jbw-reviews-block .reviews-empty p {
    margin: 0;
    font-size: 0.975rem;
}

@media (max-width: 768px) {
    .jbw-reviews-block .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1d7d0;
}



.rating-summary {
    color: #f5a623;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 10px;
}

.rating-summary>span:not(.stars) {
    color: #444;
    font-size: 15px;
    margin-left: 8px;
}

.view-all {
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    color: #ff5b2e;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    border: 1px solid #f1d7d0;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    transition: all .3s ease;
    min-width: 0;
    overflow-wrap: anywhere;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.review-user>* {
    min-width: 0;
}

.review-user img,
.review-avatar-fallback {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3ebe6;
    color: #6b4a3a;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.reviews-empty {
    border: 1px dashed #e5d5cc;
    border-radius: 16px;
    padding: 2rem 1.25rem;
    text-align: center;
    background: #fffaf7;
    color: #6b6b6b;
}

.reviews-empty p {
    margin: 0;
    font-size: 0.975rem;
}

.review-card-muted {
    color: #999 !important;
    font-style: italic;
}

.review-user h4 {
    margin: 0;
    font-size: 20px;
    color: #222;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
}

.stars {
    color: #f5a623;
    font-size: 15px;
    letter-spacing: 2px;
}

.review-time {
    color: #888;
    font-size: 14px;
}

.review-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

@media(max-width:768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .reviews-header h2 {
        font-size: 28px;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL RESPONSIVE FIXES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Container keeps safe side padding on small screens */
@media (max-width: 640px) {
    .jbw-container {
        width: 100%;
        max-width: 100%;
        padding-inline: 1rem;
        box-sizing: border-box;
    }
}

/* Hero - compact on mobile */
@media (max-width: 640px) {
    .jbw-hero {
        padding: 0.75rem 1rem 0;
    }

    .jbw-hero-frame {
        height: min(42vh, 280px);
        min-height: 220px;
        max-height: 280px;
        border-radius: 12px;
    }

    .jbw-hero-nav {
        top: 0.75rem;
        height: min(42vh, 280px);
    }

    .jbw-hero-content {
        max-width: min(78%, 16.5rem);
        padding: 0.85rem 0.75rem;
        background: rgb(255 255 255 / 0.28);
        backdrop-filter: blur(6px);
        border: 1px solid rgb(255 255 255 / 0.35);
    }

    .jbw-hero-title {
        font-size: clamp(1.15rem, 5.5vw, 1.55rem);
        margin-bottom: 0.4rem;
    }

    .jbw-hero-text {
        font-size: 0.75rem;
        margin-bottom: 0.7rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .jbw-hero-actions {
        gap: 0.5rem;
    }

    .jbw-hero-actions .jbw-btn--hero {
        padding: 0.55rem 0.95rem;
        font-size: 0.65rem;
    }

    .jbw-hero-scroll {
        display: none;
    }

    .jbw-hero-arrow {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
        top: 50%;
        transform: translateY(-50%);
        background: rgb(255 255 255 / 0.72);
        border: 1px solid rgb(255 255 255 / 0.85);
        border-radius: 999px;
        color: #17130f;
        box-shadow: 0 2px 10px rgb(0 0 0 / 0.12);
        -webkit-tap-highlight-color: transparent;
    }

    .jbw-hero-arrow:focus,
    .jbw-hero-arrow:focus-visible {
        outline: none;
        color: var(--c-primary, #f25123);
    }

    .jbw-hero-arrow:active {
        transform: translateY(-50%) scale(0.96);
    }

    /* Sit inside the banner frame (matches hero side padding + inset) */
    .jbw-hero-arrow--prev {
        left: calc(1rem + 0.4rem);
    }

    .jbw-hero-arrow--next {
        right: calc(1rem + 0.4rem);
    }

    .jbw-hero-arrow svg {
        width: 15px;
        height: 15px;
    }

    .jbw-hero-dots {
        padding: 0.75rem 0 1.1rem;
        gap: 0.4rem;
    }
}

/* Section bands â€” less padding on mobile */
@media (max-width: 768px) {
    .jbw-section-band {
        padding: 1.5rem 0;
    }

    .jbw-section-band--cta {
        padding: 3.5rem 0;
    }

    .jbw-section-head {
        margin-bottom: 0.85rem;
    }

    .jbw-section-title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
    }

    .jbw-steps {
        gap: 1.25rem;
    }

    .jbw-cta-actions {
        gap: 0.75rem;
    }

    .jbw-cta-actions .jbw-btn {
        width: 100%;
        justify-content: center;
    }

    .service-slider,
    .category-slider {
        gap: 0.85rem;
        padding-bottom: 0.15rem;
    }

    .service-card,
    .category-card {
        width: min(42vw, 156px);
        min-width: min(42vw, 156px);
        max-width: 156px;
        flex: 0 0 auto;
        flex-basis: auto;
    }

    .jbw-tile,
    .jbw-tile--category {
        aspect-ratio: 3 / 4;
        min-height: 0 !important;
        border-radius: 14px;
    }

    .service-card .jbw-step-title,
    .category-card .jbw-step-title {
        margin-top: 0.55rem;
        font-size: 0.875rem;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .jbw-trust-strip {
        padding: 1rem 0 1.15rem;
        margin-bottom: 0.35rem;
    }

    .jbw-trust-grid {
        gap: 0.9rem 0.85rem;
    }

    .jbw-trust-item {
        padding: 0.35rem 0;
        gap: 0.65rem;
        align-items: flex-start;
    }

    .jbw-trust-icon {
        width: 2.15rem;
        height: 2.15rem;
    }

    .jbw-trust-label {
        font-size: 0.8125rem;
    }

    .jbw-trust-sub {
        font-size: 0.7rem;
    }
}

/* Tile grid â€” single column on very small screens */
@media (max-width: 479px) {
    .jbw-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .jbw-tile {
        min-height: 0;
    }
}

/* Stats strip mobile */
@media (max-width: 480px) {
    .jbw-stats-strip {
        padding: 1rem 0;
    }

    .jbw-stat {
        padding: 0.5rem 0.875rem;
    }
}

/* Product detail - mobile layout fix */
@media (max-width: 767px) {
    .jbw-page-shell {
        padding-top: 0.35rem;
        padding-bottom: 1.5rem;
        overflow-x: visible;
    }

    .jbw-product-detail {
        gap: 1.15rem;
        margin-bottom: 1.25rem;
        min-width: 0;
        max-width: 100%;
    }

    .jbw-product-detail-page .jbw-gallery-wrap,
    .jbw-product-detail .jbw-gallery-wrap {
        align-items: center;
        width: 100%;
        margin-inline: auto;
    }

    .jbw-product-detail-page .jbw-gallery-main,
    .jbw-product-detail .jbw-gallery-main {
        flex: none;
        align-self: center;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        height: auto;
        max-height: none;
        box-sizing: border-box;
    }

    .jbw-detail-info {
        min-width: 0;
        max-width: 100%;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .jbw-product-detail-title {
        font-size: clamp(1.35rem, 6vw, 1.65rem);
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: anywhere;
        margin: 0.15rem 0 0.35rem;
    }

    .jbw-detail-title-row {
        align-items: center;
        gap: 0.5rem;
    }

    .jbw-detail-rating-pill {
        margin-top: 0;
    }

    .jbw-detail-price {
        font-size: 1.2rem;
        margin-bottom: 0.35rem;
    }

    .jbw-detail-desc {
        margin: 0.85rem 0 0;
        padding: 0;
        font-size: 0.875rem;
        line-height: 1.65;
        text-align: left;
        color: var(--c-muted);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .jbw-detail-desc-wrap {
        margin: 0.85rem 0 1rem;
    }

    .jbw-variant-picker {
        margin: 0.85rem 0 1rem;
    }

    .jbw-variant-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .jbw-variant-chip {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 0.55rem 0.65rem;
    }

    .jbw-variant-chip-text {
        font-size: 0.8125rem;
    }

    .jbw-variant-chip-text span {
        font-size: 0.75rem;
    }

    .jbw-detail-color-swatch {
        width: 46px;
        height: 46px;
    }

    .jbw-detail-size-chip {
        min-width: 44px;
        height: 44px;
    }

    .jbw-vendor-chip {
        margin: 0.75rem 0 0.35rem;
        padding: 0.75rem;
        gap: 0.65rem;
        width: 100%;
        box-sizing: border-box;
    }

    .jbw-detail-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.55rem;
        margin-top: 0.85rem;
        width: 100%;
    }

    .jbw-detail-action-btn {
        flex: 1 1 calc(50% - 0.3rem);
        font-size: 0.8125rem;
        min-height: 46px;
        padding: 0.65rem 0.55rem;
    }

    .jbw-detail-action-btn--primary {
        flex: 1 1 100%;
    }

    .jbw-detail-action-form {
        display: contents;
        margin: 0;
    }

    .jbw-detail-action-form .jbw-detail-action-btn {
        width: 100%;
    }

    .jbw-detail-actions .jbw-btn,
    .jbw-detail-actions .buttonheight {
        width: auto;
        max-width: none;
        flex: 1 1 calc(50% - 0.3rem);
        margin: 0;
    }

    .jbw-section {
        padding: 1.5rem 0 0;
        min-width: 0;
    }

    .jbw-section .jbw-product-detail-title {
        padding: 0;
        margin: 0 0 0.85rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .reviews-empty {
        padding: 1.25rem 1rem;
        margin: 0;
    }

    .review-card {
        padding: 1rem;
    }

    .review-user img,
    .review-avatar-fallback {
        width: 2.75rem;
        height: 2.75rem;
    }

    .review-user h4 {
        font-size: 1rem;
    }
}

/* Booking overview - stacks sidebar below main on mobile */
@media (max-width: 1023px) {
    .jbw-booking-layout {
        grid-template-columns: 1fr;
    }

    .jbw-overview-card--sticky {
        position: static;
    }
}

/* Booking history - mobile spacing */
@media (max-width: 640px) {
    .jbw-profile-content .jbw-card.jbw-booking-history {
        padding: 1rem 0.85rem 1.15rem;
    }

    .jbw-booking-list {
        gap: 0.75rem;
        margin-top: 0;
    }
}

@media (max-width: 500px) {
    .jbw-booking-row {
        grid-template-columns: 4rem minmax(0, 1fr);
        grid-template-rows: auto auto;
        padding: 0.85rem;
        gap: 0.75rem 0.85rem;
    }

    .jbw-booking-row img {
        width: 4rem;
        height: 4rem;
    }

    .jbw-booking-row-body {
        min-width: 0;
    }

    .jbw-booking-row-title {
        font-size: 0.9rem;
    }

    .jbw-booking-row-meta,
    .jbw-booking-row-id {
        font-size: 0.75rem;
    }

    .jbw-booking-row-aside {
        grid-column: 1 / -1;
        text-align: left;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }
}

/* Profile shell - mobile stacks */
@media (max-width: 899px) {
    .jbw-profile-shell {
        grid-template-columns: 1fr;
    }

    .jbw-profile-sidebar {
        position: static;
    }
}

/* Auth page - section sizes on mobile */
@media (max-width: 479px) {
    .jbw-auth-card {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 16px;
    }

    .jbw-auth-title {
        font-size: 1.375rem;
    }

    .jbw-otp-box {
        width: clamp(3rem, 18vw, 3.75rem);
        height: clamp(3rem, 18vw, 3.75rem);
        font-size: 1.25rem;
    }
}

/* Footer responsive */
@media (max-width: 479px) {

    /* .jbw-footer { padding-top: 2.5rem; margin-top: 2.5rem; padding-left: 1rem; } */
    .jbw-footer {
        padding-top: 2.5rem;
        margin-top: 0.5rem;
        padding-left: 1rem;
    }

    .jbw-footer-grid {
        gap: 1rem;
    }

    .jbw-footer-about {
        max-width: 100%;
    }

    .jbw-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.375rem;
    }
}

/* Page heads on mobile */
@media (max-width: 640px) {

    /* .jbw-page-head { padding-top: 1.5rem; margin-bottom: 1.25rem; } */
    .jbw-page-head {
        padding-top: 0rem;
        margin-bottom: 0rem;
    }

    .jbw-page-title {
        font-size: 1.5rem;
    }

    .jbw-page-subtitle {
        font-size: 0.875rem;
    }

    .jbw-card {
        padding: 1.125rem;
    }

    .jbw-overview-card {
        padding: 1.125rem;
    }
}

/* Vendor page hero mobile */
@media (max-width: 640px) {
    .jbw-vendor-hero img {
        height: 10rem;
    }

    .jbw-vendor-hero {
        margin-bottom: 3rem;
    }

    .jbw-vendor-head {
        padding: 0 0.875rem 1rem;
        gap: 0.875rem;
    }

    .jbw-vendor-head-avatar {
        width: 5rem;
        height: 5rem;
    }
}

/* Section band paddings on desktop */
@media (min-width: 1200px) {
    .jbw-section-band {
        padding: 1.0rem 0;
    }
}

/* Product grid on wide screens â€” denser cards, smaller images */
@media (min-width: 1100px) {
    .jbw-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.brand-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.brand-rating-row .jbw-product-brand {
    margin: 0;
    flex: 1;
}

.rating-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.rating-wrap svg {
    display: block;
    flex-shrink: 0;
}

.rating-wrap span {
    display: block;
    line-height: 1;
    font-size: 11px;
    font-weight: 600;
}

/* â”€â”€â”€ Chat â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-chat-message-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 78%;
    min-width: 0;
}

.jbw-chat-message-wrapper--mine {
    align-self: flex-end;
}

.jbw-chat-message-wrapper--theirs {
    align-self: flex-start;
}

.jbw-chat-bubble--mine+.jbw-chat-time,
.jbw-chat-message-wrapper--mine .jbw-chat-time {
    text-align: right;
}

.jbw-chat-bubble--theirs+.jbw-chat-time,
.jbw-chat-message-wrapper--theirs .jbw-chat-time {
    text-align: left;
}

.jbw-chat-time {
    margin-top: 4px;
    font-size: 12px;
}

.jbw-chat-compose {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 30px;
}

.jbw-chat-attach {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    flex-shrink: 0;
}

.jbw-chat-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    resize: none;
    outline: none;
    min-height: 34px;
    max-height: 100px;
    padding: 7px 4px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    box-sizing: border-box;
}

.jbw-chat-send {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #b52d00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.jbw-chat-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 1080px;
    height: calc(100vh - 9rem);
    max-height: calc(100vh - 9rem);
    min-height: 20rem;
    margin-bottom: 0;
}

.jbw-chat-sidebar,
.jbw-chat-main {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    box-shadow: var(--c-shadow-sm);
    overflow: visible;
    min-height: 0;
}

/* â”€â”€â”€ Chat â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-chat-message-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 78%;
    min-width: 0;
}

.jbw-chat-message-wrapper--mine {
    align-self: flex-end;
}

.jbw-chat-message-wrapper--theirs {
    align-self: flex-start;
}

.jbw-chat-bubble--mine+.jbw-chat-time,
.jbw-chat-message-wrapper--mine .jbw-chat-time {
    text-align: right;
}

.jbw-chat-bubble--theirs+.jbw-chat-time,
.jbw-chat-message-wrapper--theirs .jbw-chat-time {
    text-align: left;
}

.jbw-chat-time {
    margin-top: 4px;
    font-size: 12px;
}

.jbw-chat-compose {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 30px;
}

.jbw-chat-attach {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    flex-shrink: 0;
}

.jbw-chat-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    resize: none;
    outline: none;
    min-height: 34px;
    max-height: 100px;
    padding: 7px 4px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    box-sizing: border-box;
}

.jbw-chat-send {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #b52d00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.jbw-chat-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 1080px;
    height: calc(100vh - 9rem);
    max-height: calc(100vh - 9rem);
    min-height: 20rem;
    margin-bottom: 0;
}

.jbw-chat-sidebar-backdrop {
    display: none;
}

.jbw-chat-sidebar,
.jbw-chat-main {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-card);
    box-shadow: var(--c-shadow-sm);
    overflow: hidden;
    min-height: 0;
}

.jbw-chat-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    height: 100%;
    align-self: stretch;
}

.jbw-chat-sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 1rem 1.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.jbw-chat-sidebar-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--c-muted);
    flex-shrink: 0;
}

.jbw-chat-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--c-muted);
    flex-shrink: 0;
}

.jbw-chat-search {
    padding: 0 1rem 0.75rem;
}

.jbw-chat-search .jbw-input {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
}

.jbw-chat-threads {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.jbw-chat-threads::-webkit-scrollbar {
    display: none;
}

.jbw-chat-thread {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
    transition: background var(--trans);
}

.jbw-chat-thread:hover {
    background: var(--c-bg);
}

.jbw-chat-thread.is-active {
    background: rgb(242 81 35 / 0.06);
    border-left-color: var(--c-primary);
}

.jbw-chat-thread-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-avatar-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.chat-online-dot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: #94a3b8;
    border: 2px solid #fff;
    box-sizing: content-box;
}

.is-online>.chat-avatar-wrap .chat-online-dot,
.chat-avatar-wrap.is-online .chat-online-dot,
.jbw-chat-thread.is-online .chat-online-dot,
.vp-chat-thread.is-online .chat-online-dot {
    background: #22c55e;
}

.jbw-chat-peer {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.1rem;
}

.jbw-chat-online-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--c-muted);
}

.jbw-chat-online-label.is-online,
[data-chat-online-label].is-online {
    color: #16a34a;
}

.jbw-chat-thread-avatar--fallback {
    display: grid;
    place-items: center;
    background: #fce7df;
    color: var(--c-primary);
    font-weight: 700;
}

.jbw-chat-thread-body {
    min-width: 0;
    flex: 1;
}

.jbw-chat-thread-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    font-size: 0.8125rem;
}

.jbw-chat-thread-top strong {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jbw-chat-thread-top span {
    color: var(--c-muted);
    font-size: 0.6875rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.jbw-chat-thread-body p {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jbw-chat-empty-sidebar,
.jbw-chat-main-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--c-muted);
}

.jbw-chat-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.jbw-chat-main-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
}

.jbw-chat-main-vendor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jbw-chat-video-btn {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: var(--c-primary);
    color: #fff;
    cursor: pointer;
    appearance: none;
}

.jbw-chat-video-btn:hover {
    opacity: 0.92;
}

.jbw-chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e8e6e1;
}

.jbw-chat-messages::-webkit-scrollbar {
    display: none;
}

.jbw-chat-messages-track {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    min-height: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
}

.jbw-plus-icon {
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
    color: inherit;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.jbw-plus-icon::before,
.jbw-plus-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.jbw-plus-icon::before {
    width: 8px;
    height: 1.5px;
}

.jbw-plus-icon::after {
    width: 1.5px;
    height: 8px;
}

.jbw-chat-attach {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jbw-chat-bubble {
    max-width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-chat-bubble p {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.jbw-chat-bubble--theirs {
    background: #fff;
    border: 1px solid var(--c-border);
    border-bottom-left-radius: 0.25rem;
}

.jbw-chat-bubble--mine {
    background: #0f4c5c;
    color: #fff;
    border-bottom-right-radius: 0.25rem;
}

.jbw-chat-time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    opacity: 0.75;
}

.jbw-chat-attachment {
    display: block;
    margin-top: 0.5rem;
    max-width: 12rem;
    border-radius: 0.5rem;
}

.jbw-chat-attachment video {
    display: block;
    width: 100%;
    max-width: 14rem;
    border-radius: 0.5rem;
    background: #000;
}

.jbw-chat-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    margin-top: 0.2rem;
}

.jbw-chat-message-wrapper--theirs .jbw-chat-meta {
    align-items: flex-start;
}

.jbw-chat-time {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.chat-ticks {
    display: inline-flex;
    align-items: center;
    color: rgba(15, 23, 42, 0.45);
    line-height: 1;
    flex-shrink: 0;
}

.chat-ticks.is-read {
    color: #53bdeb;
}

.jbw-chat-message-actions {
    display: flex;
    gap: 0.55rem;
    opacity: 0.85;
}

.jbw-chat-action {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--c-muted);
    cursor: pointer;
}

.jbw-chat-action:hover {
    color: var(--c-text, #1a1a1a);
}

.jbw-chat-action--danger:hover {
    color: #b42318;
}

.jbw-chat-edited {
    color: var(--c-muted);
    font-weight: 500;
}

.jbw-chat-edit-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0.25rem;
    padding: 0.65rem 0.75rem;
    border-left: 3px solid var(--c-primary, #c2410c);
    border-radius: 0.65rem;
    background: #fff7ed;
}

.jbw-chat-edit-banner[hidden] {
    display: none !important;
}

.jbw-chat-edit-banner-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.jbw-chat-edit-banner-copy strong {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--c-primary, #c2410c);
}

.jbw-chat-edit-banner-copy span {
    font-size: 0.8125rem;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jbw-chat-edit-banner-close {
    border: 0;
    background: transparent;
    color: var(--c-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.jbw-chat-message-wrapper.is-editing .jbw-chat-bubble {
    outline: 2px solid rgb(194 65 12 / 0.35);
    outline-offset: 2px;
}

.jbw-chat-compose.is-editing-message .jbw-chat-attach[hidden] {
    display: none !important;
}

.jbw-chat-compose-stack {
    margin: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex-shrink: 0;
    min-width: 0;
}

.jbw-chat-compose-stack .jbw-chat-compose {
    margin: 0;
}

.jbw-chat-attach-preview,
.vp-chat-attach-preview {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--c-border, #ead8d1);
    border-radius: 1rem;
    background: #fff8f5;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0;
}

.jbw-chat-attach-preview[hidden],
.vp-chat-attach-preview[hidden] {
    display: none !important;
}

.jbw-chat-attach-preview-body,
.vp-chat-attach-preview-body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.jbw-chat-attach-preview-thumb,
.vp-chat-attach-preview-thumb {
    width: 3rem;
    height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
    border-radius: 0.65rem;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}

.jbw-chat-attach-preview-thumb--video,
.vp-chat-attach-preview-thumb--video {
    object-fit: cover;
}

.jbw-chat-attach-preview-icon,
.vp-chat-attach-preview-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    background: #ffe8e0;
    color: #c53b11;
    flex-shrink: 0;
}

.jbw-chat-attach-preview-meta,
.vp-chat-attach-preview-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.jbw-chat-attach-preview-name,
.vp-chat-attach-preview-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-text, #0f172a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jbw-chat-attach-preview-size,
.vp-chat-attach-preview-size {
    font-size: 0.72rem;
    color: var(--c-muted, #64748b);
}

.jbw-chat-attach-preview-clear,
.vp-chat-attach-preview-clear {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.jbw-chat-attach-preview-clear:hover,
.vp-chat-attach-preview-clear:hover {
    background: #fecaca;
}

.jbw-chat-compose {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0.75rem 1rem 1rem;
    padding: 6px 8px 6px 10px;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: #f8f8f8;
    flex-shrink: 0;
    box-sizing: border-box;
}

.jbw-chat-compose-stack {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: var(--c-surface, #fff);
    padding-bottom: max(0.25rem, env(safe-area-inset-bottom, 0px));
}

.jbw-chat-attach {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    color: var(--c-muted);
    cursor: pointer;
    flex-shrink: 0;
}

.jbw-chat-empty-thread {
    margin: 0 auto;
    color: var(--c-muted);
    font-size: 0.875rem;
}

@media (max-width: 899px) {
    .jbw-chat-layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr);
        position: relative;
    }

    .jbw-chat-sidebar,
    .jbw-chat-main {
        width: 100%;
        max-width: none;
        min-height: 0;
        height: 100%;
        align-self: stretch;
    }

    /* No chat selected: show list only */
    .jbw-chat-main--mobile-hide {
        display: none;
    }

    /* Chat open: always show message panel */
    .jbw-page--chat-active .jbw-chat-main {
        display: flex !important;
    }

    /* Menu button visible only when chat is open */
    .jbw-page--chat-active .jbw-chat-menu-btn {
        display: inline-flex;
    }

    /* Drawer backdrop */
    .jbw-page--chat-active .jbw-chat-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgb(15 23 42 / 0.45);
        z-index: 290;
    }

    /* Sidebar drawer when chat is open */
    .jbw-page--chat-active .jbw-chat-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(100%, 320px);
        max-width: none;
        z-index: 300;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        border-radius: 0;
        box-shadow: 0 10px 40px rgb(15 23 42 / 0.18);
    }

    .jbw-page--chat-active .jbw-chat-sidebar.jbw-chat-sidebar--mobile-open {
        transform: translateX(0);
    }

    .jbw-page--chat-active .jbw-chat-sidebar-close {
        display: inline-flex;
    }

    .jbw-page--chat-active .jbw-page-head--chat {
        display: none;
    }

    .jbw-body--chat .jbw-main.bannercss {
        padding: 0.5rem;
    }

    .jbw-page--chat {
        padding-inline: 0.5rem;
    }

    /* Keep chat shell inside the visible viewport above the keyboard */
    .jbw-body--chat {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .jbw-body--chat:has(.jbw-page--chat-active) .jbw-header {
        display: none;
    }

    .jbw-chat-compose-stack {
        margin: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
        background: var(--c-surface, #fff);
        position: relative;
        z-index: 2;
    }

    .jbw-chat-compose {
        margin: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .jbw-chat-compose-stack .jbw-chat-compose {
        margin: 0;
    }
}

@media (min-width: 900px) {
    .jbw-chat-sidebar-backdrop {
        display: none !important;
    }
}

/* Chat page: fit viewport, no page scrollbar */
.jbw-body--chat {
    overflow: hidden;
    position: relative;
    height: 100vh;
    height: 100dvh;
    height: var(--jbw-app-height, 100dvh);
    max-height: var(--jbw-app-height, 100dvh);
    display: flex;
    flex-direction: column;
}

.jbw-body--chat .jbw-header {
    flex-shrink: 0;
}

.jbw-body--chat .jbw-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.jbw-body--chat .jbw-footer {
    display: none;
}

.jbw-page--chat {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.jbw-page-head--chat {
    padding-top: 0;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.jbw-body--chat .jbw-chat-layout {
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    margin-bottom: 0;
}

.jbw-chat-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.jbw-chat-sidebar-title {
    margin: 0;
    padding: 1rem 1.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.jbw-chat-search {
    padding: 0 1rem 0.75rem;
}

.jbw-chat-search .jbw-input {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
}

.jbw-chat-threads {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.jbw-chat-threads::-webkit-scrollbar {
    display: none;
}

.jbw-chat-thread {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
    transition: background var(--trans);
}

.jbw-chat-thread:hover {
    background: var(--c-bg);
}

.jbw-chat-thread.is-active {
    background: rgb(242 81 35 / 0.06);
    border-left-color: var(--c-primary);
}

.jbw-chat-thread-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-avatar-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.chat-online-dot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: #94a3b8;
    border: 2px solid #fff;
    box-sizing: content-box;
}

.is-online>.chat-avatar-wrap .chat-online-dot,
.chat-avatar-wrap.is-online .chat-online-dot,
.jbw-chat-thread.is-online .chat-online-dot,
.vp-chat-thread.is-online .chat-online-dot {
    background: #22c55e;
}

.jbw-chat-peer {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.1rem;
}

.jbw-chat-online-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--c-muted);
}

.jbw-chat-online-label.is-online,
[data-chat-online-label].is-online {
    color: #16a34a;
}

.jbw-chat-thread-avatar--fallback {
    display: grid;
    place-items: center;
    background: #fce7df;
    color: var(--c-primary);
    font-weight: 700;
}

.jbw-chat-thread-body {
    min-width: 0;
    flex: 1;
}

.jbw-chat-thread-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    font-size: 0.8125rem;
}

.jbw-chat-thread-top strong {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jbw-chat-thread-top span {
    color: var(--c-muted);
    font-size: 0.6875rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.jbw-chat-thread-body p {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jbw-chat-empty-sidebar,
.jbw-chat-main-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--c-muted);
}

.jbw-chat-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.jbw-chat-main-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
}

.jbw-chat-main-vendor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jbw-chat-video-btn {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: var(--c-primary);
    color: #fff;
    cursor: pointer;
    appearance: none;
}

.jbw-chat-video-btn:hover {
    opacity: 0.92;
}

.jbw-chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e8e6e1;
}

.jbw-chat-messages::-webkit-scrollbar {
    display: none;
}

.jbw-chat-messages-track {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    min-height: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
}

.jbw-plus-icon {
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
    color: inherit;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.jbw-plus-icon::before,
.jbw-plus-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.jbw-plus-icon::before {
    width: 8px;
    height: 1.5px;
}

.jbw-plus-icon::after {
    width: 1.5px;
    height: 8px;
}

.jbw-chat-attach {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jbw-chat-bubble {
    max-width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.jbw-chat-bubble p {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.jbw-chat-bubble--theirs {
    background: #fff;
    border: 1px solid var(--c-border);
    border-bottom-left-radius: 0.25rem;
}

.jbw-chat-bubble--mine {
    background: #0f4c5c;
    color: #fff;
    border-bottom-right-radius: 0.25rem;
}

.jbw-chat-time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    opacity: 0.75;
}

.jbw-chat-attachment {
    display: block;
    margin-top: 0.5rem;
    max-width: 12rem;
    border-radius: 0.5rem;
}

.jbw-chat-attachment video {
    display: block;
    width: 100%;
    max-width: 14rem;
    border-radius: 0.5rem;
    background: #000;
}

.jbw-chat-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    margin-top: 0.2rem;
}

.jbw-chat-message-wrapper--theirs .jbw-chat-meta {
    align-items: flex-start;
}

.jbw-chat-time {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.chat-ticks {
    display: inline-flex;
    align-items: center;
    color: rgba(15, 23, 42, 0.45);
    line-height: 1;
    flex-shrink: 0;
}

.chat-ticks.is-read {
    color: #53bdeb;
}

.jbw-chat-message-actions {
    display: flex;
    gap: 0.55rem;
    opacity: 0.85;
}

.jbw-chat-action {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--c-muted);
    cursor: pointer;
}

.jbw-chat-action:hover {
    color: var(--c-text, #1a1a1a);
}

.jbw-chat-action--danger:hover {
    color: #b42318;
}

.jbw-chat-edited {
    color: var(--c-muted);
    font-weight: 500;
}

.jbw-chat-edit-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0.25rem;
    padding: 0.65rem 0.75rem;
    border-left: 3px solid var(--c-primary, #c2410c);
    border-radius: 0.65rem;
    background: #fff7ed;
}

.jbw-chat-edit-banner[hidden] {
    display: none !important;
}

.jbw-chat-edit-banner-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.jbw-chat-edit-banner-copy strong {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--c-primary, #c2410c);
}

.jbw-chat-edit-banner-copy span {
    font-size: 0.8125rem;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jbw-chat-edit-banner-close {
    border: 0;
    background: transparent;
    color: var(--c-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.jbw-chat-message-wrapper.is-editing .jbw-chat-bubble {
    outline: 2px solid rgb(194 65 12 / 0.35);
    outline-offset: 2px;
}

.jbw-chat-compose.is-editing-message .jbw-chat-attach[hidden] {
    display: none !important;
}

.jbw-chat-compose-stack {
    margin: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex-shrink: 0;
    min-width: 0;
}

.jbw-chat-compose-stack .jbw-chat-compose {
    margin: 0;
}

.jbw-chat-attach-preview,
.vp-chat-attach-preview {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--c-border, #ead8d1);
    border-radius: 1rem;
    background: #fff8f5;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0;
}

.jbw-chat-attach-preview[hidden],
.vp-chat-attach-preview[hidden] {
    display: none !important;
}

.jbw-chat-attach-preview-body,
.vp-chat-attach-preview-body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.jbw-chat-attach-preview-thumb,
.vp-chat-attach-preview-thumb {
    width: 3rem;
    height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
    border-radius: 0.65rem;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}

.jbw-chat-attach-preview-thumb--video,
.vp-chat-attach-preview-thumb--video {
    object-fit: cover;
}

.jbw-chat-attach-preview-icon,
.vp-chat-attach-preview-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    background: #ffe8e0;
    color: #c53b11;
    flex-shrink: 0;
}

.jbw-chat-attach-preview-meta,
.vp-chat-attach-preview-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.jbw-chat-attach-preview-name,
.vp-chat-attach-preview-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-text, #0f172a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jbw-chat-attach-preview-size,
.vp-chat-attach-preview-size {
    font-size: 0.72rem;
    color: var(--c-muted, #64748b);
}

.jbw-chat-attach-preview-clear,
.vp-chat-attach-preview-clear {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.jbw-chat-attach-preview-clear:hover,
.vp-chat-attach-preview-clear:hover {
    background: #fecaca;
}

.jbw-chat-compose {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0.75rem 1rem 1rem;
    padding: 6px 8px 6px 10px;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: #f8f8f8;
    flex-shrink: 0;
    box-sizing: border-box;
}

.jbw-chat-compose-stack {
    margin: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex-shrink: 0;
}

.jbw-chat-compose-stack .jbw-chat-compose {
    margin: 0;
}

.jbw-chat-attach {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    color: var(--c-muted);
    cursor: pointer;
    flex-shrink: 0;
}

.jbw-chat-empty-thread {
    margin: 0 auto;
    color: var(--c-muted);
    font-size: 0.875rem;
}

@media (max-width: 899px) {
    .jbw-chat-layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr);
    }

    .jbw-chat-sidebar,
    .jbw-chat-main {
        min-height: 0;
        height: 100%;
        align-self: stretch;
    }

    .jbw-chat-sidebar--mobile-hide {
        display: none;
    }

    .jbw-chat-main--mobile-hide {
        display: none;
    }

    .jbw-chat-back {
        display: inline-flex;
    }

    .jbw-page--chat-active .jbw-page-head--chat {
        display: none;
    }
}

.jbw-chat-back {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: 0.15rem;
    text-decoration: none;
    color: var(--c-muted);
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Chat page: fit viewport, no page scrollbar */
.jbw-body--chat {
    overflow: hidden;
    position: relative;
    height: 100vh;
    height: 100dvh;
    height: var(--jbw-app-height, 100dvh);
    max-height: var(--jbw-app-height, 100dvh);
    display: flex;
    flex-direction: column;
}

.jbw-body--chat .jbw-header {
    flex-shrink: 0;
}

.jbw-body--chat .jbw-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.jbw-body--chat .jbw-footer {
    display: none;
}

.jbw-page--chat {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.jbw-page-head--chat {
    padding-top: 0;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.jbw-body--chat .jbw-chat-layout {
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    margin-bottom: 0;
}

/* â”€â”€â”€ App download band (Figma "Fashion. Style. Booked.") â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.jbw-app-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    background: #fbf6f2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.jbw-app-band-info{
    padding: clamp(1.5rem, 4vw, 3rem);

}

.jbw-app-band-logo {
    margin-bottom: 1.1rem;
}

.jbw-app-band-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #23222c;
    line-height: 1.15;
    margin: 0 0 0.9rem;
}

.jbw-app-band-title span {
    color: #a04a56;
}

.jbw-app-band-sub {
    border-top: 1px solid #e4d5c3;
    padding-top: 0.9rem;
    margin: 0 0 1.25rem;
    color: #5d5850;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.jbw-app-band-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.jbw-app-band-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #fffdf9;
    border: 1px solid #e6d8c6;
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #3c3a44;
    line-height: 1.35;
}

.jbw-app-band-tag svg {
    color: #a04a56;
    flex-shrink: 0;
}

.jbw-app-band-download {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    background: #a25f66;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: #fff;
    width: fit-content;
}

.jbw-app-band-qr {
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
}

.jbw-app-band-download-title {
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.975rem;
    line-height: 1.3;
}

.jbw-app-band-download-sub {
    margin: 0.3rem 0 0;
    font-size: 0.75rem;
    color: rgb(255 255 255 / 0.85);
}

.jbw-app-band-stores {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: auto;
}

.jbw-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #101014;
    color: #fff;
    border: 1px solid rgb(255 255 255 / 0.28);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    min-width: 8.75rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.jbw-store-badge:hover {
    transform: translateY(-2px);
    background: #000;
}

.jbw-store-badge small {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    opacity: 0.8;
    line-height: 1.2;
}

.jbw-store-badge strong {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.15;
}

.jbw-app-band-visual {
    align-self: stretch;
}

.jbw-app-band-visual img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    max-height: 550px;
    object-fit: cover;
    object-position: top;
    border-radius: 18px;
    display: block;
}

@media (max-width: 900px) {
    .jbw-app-band {
        grid-template-columns: 1fr;
    }

    .jbw-app-band-visual img {
        min-height: 14rem;
        max-height: 18rem;
    }
}

@media (max-width: 560px) {
    .jbw-app-band {
        padding: 0;
        border-radius: 18px;
    }

    .jbw-app-band-info {
        min-width: 0;
        padding: 1rem;
    }

    .jbw-app-band-download {
        width: 100%;
        box-sizing: border-box;
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .jbw-app-band-stores {
        margin-left: 0;
        flex-direction: row;
        width: 100%;
        min-width: 0;
        gap: 0.4rem;
    }

    .jbw-store-badge {
        flex: 1 1 0;
        min-width: 0;
        padding-inline: 0.5rem;
        justify-content: center;
    }
}

/* Smooth scroll and selection */
html {
    scroll-behavior: smooth;
}

::selection {
    background: rgb(242 81 35 / 0.15);
}

/* Empty chat: keep both panes the same height and center the empty state */
.jbw-chat-layout {
    align-items: stretch;
}

.jbw-chat-sidebar,
.jbw-chat-main {
    height: 100%;
    min-height: 0;
}

.jbw-chat-threads {
    display: flex;
    flex-direction: column;
}

.jbw-chat-empty-sidebar,
.jbw-chat-main-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--c-muted);
}

.jbw-chat-empty-sidebar {
    flex: 1 1 auto;
    width: 100%;
    min-height: 14rem;
    padding: 2rem 1.25rem;
    gap: 0.55rem;
}

.jbw-chat-main--empty {
    display: flex;
    flex-direction: column;
}

.jbw-chat-main-empty {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 2.5rem 1.75rem;
    gap: 0.75rem;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, #fff4ef 0%, transparent 70%),
        linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.jbw-chat-empty-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    background: rgb(242 81 35 / 0.1);
    color: var(--c-primary);
    margin-bottom: 0.15rem;
}

.jbw-chat-empty-title,
.jbw-chat-empty-heading {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.jbw-chat-empty-copy,
.jbw-chat-empty-lead {
    margin: 0;
    max-width: 22rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.jbw-chat-empty-art {
    display: grid;
    place-items: center;
    margin-bottom: 0.25rem;
}

.jbw-chat-empty-art-bubble {
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.25rem;
    background: #fff;
    color: var(--c-primary);
    border: 1px solid rgb(242 81 35 / 0.16);
    box-shadow: 0 10px 28px rgb(15 23 42 / 0.08);
}

.jbw-chat-empty-sidebar .jbw-btn,
.jbw-chat-main-empty .jbw-btn {
    margin-top: 0.35rem;
}
/* WhatsApp-style video call records in chat */
.jbw-chat-message-wrapper--call,
.vp-chat-row--call {
    align-self: center !important;
    align-items: center !important;
    max-width: min(320px, 92%);
    width: 100%;
}
.jb-chat-call {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.85rem;
    border-radius: 0.75rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
}
.jb-chat-call--missed {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}
.jb-chat-call--out .jb-chat-call__icon svg { transform: scaleX(-1); }
.jb-chat-call__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(0,0,0,.06);
    flex-shrink: 0;
}
.jb-chat-call--missed .jb-chat-call__icon { background: rgba(185,28,28,.1); }
.jb-chat-call__copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.jb-chat-call__copy strong {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
}
.jb-chat-call__copy small {
    font-size: 0.75rem;
    opacity: 0.8;
}
.jbw-chat-meta--call,
.vp-chat-meta--call {
    text-align: center;
    margin-top: 0.2rem;
}

/* Customer video call plans */
.jbw-vc-balance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}
.jbw-vc-balance-item {
    padding: 0.9rem 1rem;
    border: 1px solid var(--c-border, #ead8d1);
    border-radius: 0.85rem;
    background: #fffaf7;
}
.jbw-vc-balance-label {
    display: block;
    font-size: 0.75rem;
    color: var(--c-muted, #6b7280);
    margin-bottom: 0.25rem;
}
.jbw-vc-balance-item strong {
    font-size: 1.05rem;
}
.jbw-vc-paywall-note {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.875rem;
}
.jbw-vc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.15rem;
}
.jbw-vc-tab {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--c-border, #ead8d1);
    color: var(--c-muted, #6b7280);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}
.jbw-vc-tab.is-active {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
}
.jbw-vc-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.jbw-vc-plan-card {
    border: 1px solid var(--c-border, #ead8d1);
    border-radius: 1rem;
    padding: 1.15rem;
    background: #fff;
}
.jbw-vc-plan-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}
.jbw-vc-plan-duration {
    margin: 0;
    color: var(--c-muted, #6b7280);
    font-size: 0.875rem;
}
.jbw-vc-plan-price {
    margin: 0.75rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ea580c;
}
.jbw-vc-table-wrap { overflow-x: auto; }
.jbw-vc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.jbw-vc-table th,
.jbw-vc-table td {
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--c-border, #ead8d1);
    vertical-align: top;
}
.jbw-vc-muted { color: var(--c-muted, #6b7280); font-size: 0.8125rem; }
.jbw-vc-status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}
.jbw-vc-status--paid,
.jbw-vc-status--ended,
.jbw-vc-status--connected { background: #ecfdf5; color: #047857; }
.jbw-vc-status--missed,
.jbw-vc-status--rejected,
.jbw-vc-status--failed { background: #fef2f2; color: #b91c1c; }
.jbw-vc-status--created { background: #fff7ed; color: #c2410c; }
.jbw-vc-pager { margin-top: 1rem; }
@media (max-width: 720px) {
    .jbw-vc-balance { grid-template-columns: 1fr; }
}

.jbw-vc-plan-price-inline {
    font-weight: 700;
    color: #ea580c;
    font-size: 1rem;
}
.jbw-vc-buy-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.8125rem;
    white-space: nowrap;
}
