/* iOS Safari (and some Android browsers) zoom the page in on focus when a
   text field's font-size is below 16px, then don't reliably zoom back out.
   Force 16px on small viewports instead of disabling pinch-zoom in the
   viewport meta tag, which would break zoom accessibility entirely. */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    input[type="search"],
    input[type="date"],
    input[type="time"],
    input:not([type]),
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Hero product — phone */
.lx-phone {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a0a0c;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 32px 80px -20px rgba(0, 0, 0, 0.85),
        0 0 80px -16px rgba(34, 211, 238, 0.2);
    overflow: hidden;
}

.lx-phone--compact {
    max-width: 280px;
    transform: scale(0.96);
    transform-origin: top center;
}

.lx-phone--compact:not(.lx-phone--cafe) .lx-preview-product {
    padding-top: 2rem;
    padding-bottom: 1.35rem;
}

.lx-phone--compact .lx-phone-island {
    width: 3.85rem;
    height: 1.15rem;
}

.lx-phone--compact .lx-preview-product-booking {
    margin-top: 0.65rem;
}

.lx-phone--compact .lx-preview-product-footer {
    font-size: 0.5em;
    letter-spacing: 0.1em;
    line-height: 1.35;
}

/* Product-accurate preview — realistic device frame */
.lx-phone--product {
    max-width: 340px;
    padding: 0.2rem;
    border: none;
    border-radius: 2.85rem;
    overflow: visible;
    background: linear-gradient(
        165deg,
        #7a7a82 0%,
        #52525a 8%,
        #323238 22%,
        #18181c 48%,
        #242428 72%,
        #44444c 92%,
        #686870 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 32px 64px -18px rgba(15, 23, 42, 0.45),
        0 56px 110px -32px rgba(0, 0, 0, 0.5);
}

.lx-phone--product::before {
    content: '';
    position: absolute;
    inset: 0.2rem;
    border-radius: 2.65rem;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.lx-phone--product .lx-phone-btn {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 2px;
    background: linear-gradient(90deg, #35353a 0%, #5a5a62 45%, #3a3a40 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.35);
}

.lx-phone--product .lx-phone-btn--silent {
    left: -1px;
    top: 19%;
    width: 3px;
    height: 1.1rem;
}

.lx-phone--product .lx-phone-btn--volume-up {
    left: -1px;
    top: 26%;
    width: 3px;
    height: 2.35rem;
}

.lx-phone--product .lx-phone-btn--volume-down {
    left: -1px;
    top: 38%;
    width: 3px;
    height: 2.35rem;
}

.lx-phone--product .lx-phone-btn--power {
    right: -1px;
    top: 24%;
    width: 3px;
    height: 3.25rem;
    border-radius: 2px;
    background: linear-gradient(90deg, #3a3a40 0%, #5a5a62 55%, #35353a 100%);
}

.lx-phone--product .lx-phone-bezel {
    position: relative;
    z-index: 1;
    padding: 0.45rem 0.4rem 0.5rem;
    border-radius: 2.55rem;
    background: #050506;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 2px 8px rgba(0, 0, 0, 0.65);
}

.lx-phone--product .lx-phone-screen {
    position: relative;
    background: #ffffff;
    border-radius: 1.85rem;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}

.lx-phone--product .lx-phone-island {
    position: absolute;
    top: 0.65rem;
    left: 50%;
    z-index: 4;
    width: 4.35rem;
    height: 1.3rem;
    border-radius: 999px;
    background: #000;
    transform: translateX(-50%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.07),
        0 2px 8px rgba(0, 0, 0, 0.45);
}

.lx-phone--product .lx-phone-island::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.72rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #2a4a58 0%, #0c1820 68%);
    transform: translateY(-50%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lx-phone--product .lx-phone-island::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.85rem;
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 50%;
    background: #0a0a0c;
    transform: translateY(-50%);
    opacity: 0.85;
}

.lx-phone--product .lx-phone-home {
    position: absolute;
    right: 0;
    bottom: 0.45rem;
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.lx-phone--product .lx-phone-home span {
    width: 5.5rem;
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lx-preview-product {
    --nt-primary: #06b6d4;
    --nt-secondary: #f97316;
    --nt-bg: #ffffff;
    --nt-text: #0f172a;
    --nt-radius: 12px;
    --nt-heading-font: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --nt-body-font: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --nt-font-size: 13px;
    box-sizing: border-box;
    min-height: 100%;
    padding: 2.35rem 0.875rem 1.65rem;
    font-family: var(--nt-body-font);
    font-size: var(--nt-font-size);
    line-height: 1.45;
    color: var(--nt-text);
    background: var(--nt-bg);
    color-scheme: light;
    text-align: center;
    isolation: isolate;
}

.lx-preview-product,
.lx-preview-product * {
    box-sizing: border-box;
}

.lx-link-icon,
.lx-preview-product .lx-preview-product-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    max-width: 1.25rem;
    max-height: 1.25rem;
    flex-shrink: 0;
    line-height: 0;
}

.lx-link-icon svg,
.lx-preview-product .lx-preview-product-glyph svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.lx-preview-product .lx-preview-product-glyph,
.lx-preview-product .lx-preview-product-glyph svg {
    width: 1.25rem;
    height: 1.25rem;
    max-width: 1.25rem;
    max-height: 1.25rem;
    flex-shrink: 0;
}

.lx-preview-product .lx-preview-product-glyph {
    line-height: 0;
}

.lx-preview-product-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lx-preview-product-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background: linear-gradient(145deg, var(--nt-primary), var(--nt-secondary));
    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.12),
        0 0 0 4px rgba(255, 255, 255, 1),
        0 0 0 5px rgba(15, 23, 42, 0.04);
    margin-top: -2.25rem;
    flex-shrink: 0;
}

.lx-preview-product-avatar--square {
    border-radius: 1.1rem;
}

.lx-preview-product-meta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0.3rem 0 0;
    font-size: 0.75em;
    opacity: 0.6;
    line-height: 1.3;
}

.lx-preview-product-meta-dot {
    opacity: 0.5;
}

.lx-preview-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0.35rem 0 0;
    font-size: 0.78em;
}

.lx-preview-product-star--filled {
    color: #f59e0b;
}

.lx-preview-product-star--empty {
    color: #d1d5db;
}

.lx-preview-product-rating-score {
    margin-left: 0.25rem;
    font-weight: 700;
    color: var(--nt-text);
}

.lx-preview-product-rating-count {
    opacity: 0.5;
    margin-left: 0.1rem;
}

.lx-preview-product-name {
    margin: 0.85rem 0 0;
    max-width: 12rem;
    font-family: var(--nt-heading-font);
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--nt-text);
}

.lx-preview-product h2,
.lx-preview-product p {
    color: inherit;
}

.lx-preview-product-bio {
    margin: 0.45rem 0 0;
    max-width: 13rem;
    font-size: 0.88em;
    line-height: 1.45;
    opacity: 0.72;
}

.lx-preview-product-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.lx-preview-product-social-btn {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: var(--nt-primary);
    background: color-mix(in oklab, var(--nt-text) 6%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* Shared social block (studio + public/preview) */
.lx-social-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 0.4rem 0 0.2rem;
    padding: 0.1rem 0;
}

.lx-social-block__btn {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: var(--nt-primary);
    background: color-mix(in oklab, var(--nt-text) 6%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.lx-social-block__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px color-mix(in oklab, var(--nt-text) 12%, transparent);
}

.lx-social-block__btn--pending {
    opacity: 0.72;
}

.lx-social-block__icon {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}

.lx-preview-product .lx-social-block__btn {
    height: 2.25rem;
    width: 2.25rem;
}

.lx-preview-product .lx-social-block__icon {
    width: 1.15rem;
    height: 1.15rem;
}

.lx-preview-product-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.85rem;
    text-align: left;
}

.lx-preview-product-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.7rem 0.75rem;
    border-radius: max(12px, var(--nt-radius));
    background: color-mix(in oklab, var(--nt-bg) 92%, white);
    border: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.lx-preview-product-link-icon {
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    min-width: 2.75rem;
    max-width: 2.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
}

.lx-preview-product-link-icon--primary {
    color: var(--nt-primary);
    background: color-mix(in oklab, var(--nt-primary) 22%, transparent);
}

.lx-preview-product-link-icon--secondary {
    color: var(--nt-secondary);
    background: color-mix(in oklab, var(--nt-secondary) 22%, transparent);
}

.lx-preview-product-link-body {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-align: left;
}

.lx-preview-product-link-title {
    display: block;
    font-size: 0.84em;
    font-weight: 600;
    line-height: 1.25;
    color: var(--nt-text);
}

.lx-preview-product-link-sub {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.72em;
    line-height: 1.3;
    opacity: 0.65;
}

.lx-preview-product-link-chevron {
    flex-shrink: 0;
    font-size: 1.1em;
    line-height: 1;
    opacity: 0.35;
}

.lx-preview-product-text {
    margin: 1rem 0 0;
    padding: 0 0.15rem;
    font-size: 0.88em;
    line-height: 1.5;
    opacity: 0.8;
}

.lx-preview-product-booking {
    margin-top: 0.85rem;
    padding: 0.75rem;
    text-align: left;
    border-radius: max(16px, var(--nt-radius));
    border: 1px solid color-mix(in oklab, var(--nt-primary) 28%, transparent);
    background: color-mix(in oklab, var(--nt-primary) 10%, var(--nt-bg));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lx-preview-product-booking-eyebrow {
    margin: 0;
    font-size: 0.62em;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nt-primary);
    opacity: 0.9;
}

.lx-preview-product-booking-sub {
    margin: 0.35rem 0 0;
    font-size: 0.82em;
    line-height: 1.35;
    opacity: 0.75;
}

.lx-preview-product-booking-slots {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.lx-preview-product-booking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.65rem;
    font-size: 0.75em;
    line-height: 1.3;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 5%, var(--nt-bg));
}

.lx-preview-product-booking-cta {
    flex-shrink: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 0.5rem;
    font-size: 0.72em;
    font-weight: 600;
    color: var(--nt-primary);
    border: 1px solid color-mix(in oklab, var(--nt-primary) 35%, transparent);
}

.lx-preview-product-footer {
    margin: 0.85rem 0 0;
    font-size: 0.58em;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.45;
}

/* Café preview — Harbor & Co. (maps to Studio blocks) */
.lx-phone--cafe .lx-preview-product {
    padding-top: 2rem;
    padding-bottom: 1.35rem;
}

.lx-phone--cafe .lx-preview-product-profile {
    position: relative;
    margin: -0.35rem -0.2rem 0;
    padding-bottom: 0.15rem;
}

.lx-preview-product-cover {
    height: 3.75rem;
    margin: 0 -0.875rem;
    border-radius: 0;
    background: linear-gradient(135deg, #0e7490 0%, #155e75 38%, #1e3a5f 100%);
}

.lx-phone--cafe .lx-preview-product-avatar {
    width: 3.75rem;
    height: 3.75rem;
    margin-top: -1.85rem; /* slightly smaller overlap for compact cafe variant */
}

.lx-preview-product-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72em;
    font-weight: 600;
    color: #047857;
    background: color-mix(in oklab, #10b981 14%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, #10b981 28%, transparent);
}

.lx-preview-product-status-dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px color-mix(in oklab, #10b981 25%, transparent);
}

.lx-phone--cafe .lx-preview-product-social {
    margin-top: 0.85rem;
}

.lx-preview-product-stack--primary {
    margin-top: 0.75rem;
}

.lx-preview-product-link--featured {
    border-color: color-mix(in oklab, var(--nt-primary) 32%, transparent);
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.06),
        0 0 0 1px color-mix(in oklab, var(--nt-primary) 12%, transparent);
}

.lx-preview-product-link--pill {
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
}

.lx-preview-product-link-icon--pill {
    border-radius: 999px;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    max-width: 2.25rem;
}

.lx-preview-product-link-body--pill {
    flex: 1;
    text-align: center;
}

.lx-preview-product-link--pill .lx-preview-product-link-title {
    color: #fff;
}

.lx-preview-product-link-sub--pill {
    display: block;
    margin-top: 0.1rem;
    color: rgba(255, 255, 255, 0.78);
    opacity: 1;
}

.lx-preview-product-link-chevron--pill {
    color: #fff;
    opacity: 0.75;
}

.lx-preview-product-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.lx-preview-product-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 3.1rem;
    padding: 0.4rem 0.2rem;
    border-radius: 0.65rem;
    font-size: 0.62em;
    font-weight: 600;
    line-height: 1.2;
    color: color-mix(in oklab, var(--nt-text) 75%, transparent);
    background: color-mix(in oklab, var(--nt-text) 5%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
}

.lx-preview-product-quick-btn--wa {
    color: #15803d;
    border-color: color-mix(in oklab, #22c55e 30%, transparent);
    background: color-mix(in oklab, #22c55e 10%, var(--nt-bg));
}

.lx-preview-product-hours {
    margin-top: 0.65rem;
    padding: 0.55rem 0.65rem;
    text-align: left;
    border-radius: max(12px, var(--nt-radius));
    border: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
}

/* ── Profile logo frame ───────────────────────────────────────────────── */
.lx-profile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0.1rem;
    border: none;
    border-radius: 1rem;
    background: var(--nt-bg);
    box-shadow:
        0 0 0 1px color-mix(in oklab, var(--nt-text) 5%, transparent),
        0 4px 14px color-mix(in oklab, var(--nt-text) 7%, transparent);
}

.lx-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.lx-profile-logo--circle {
    border-radius: 9999px;
}

.lx-profile-logo--square {
    border-radius: 1rem;
}

.lx-profile-avatar-fallback {
    flex-shrink: 0;
    background: linear-gradient(145deg, var(--nt-primary), var(--nt-secondary));
    box-shadow:
        0 0 0 1px color-mix(in oklab, var(--nt-text) 5%, transparent),
        0 4px 14px color-mix(in oklab, var(--nt-primary) 20%, transparent);
}

.lx-preview-dark .lx-profile-logo {
    background: color-mix(in oklab, var(--nt-bg) 92%, white);
    box-shadow:
        0 0 0 1px color-mix(in oklab, var(--nt-text) 10%, transparent),
        0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ── Profile header ───────────────────────────────────────────────────── */
.lx-profile-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.15rem 0 0.4rem;
    text-align: left;
}

.lx-profile-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lx-profile-name {
    margin: 0;
    padding-right: 1.25rem;
    font-family: var(--nt-heading-font);
    font-size: 1.08em;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--nt-text);
}

.lx-profile-meta {
    display: block;
    margin: 0;
    font-family: var(--nt-body-font);
    font-size: 0.8em;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    color: color-mix(in oklab, var(--nt-text) 52%, transparent);
}

.lx-preview-product-meta.lx-profile-meta {
    justify-content: flex-start;
    opacity: 1;
}

.lx-profile-bio {
    margin: 0.15rem 0 0;
    font-family: var(--nt-body-font);
    font-size: 0.82em;
    line-height: 1.5;
    color: color-mix(in oklab, var(--nt-text) 68%, transparent);
}

.lx-profile-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.1rem;
}

.lx-profile-rating-star {
    font-size: 0.8em;
    line-height: 1;
}

.lx-profile-rating-star--filled {
    color: #f59e0b;
}

.lx-profile-rating-star--empty {
    color: color-mix(in oklab, var(--nt-text) 18%, transparent);
}

.lx-profile-rating-score {
    margin-left: 0.15rem;
    font-family: var(--nt-body-font);
    font-size: 0.76em;
    font-weight: 700;
    color: var(--nt-text);
}

.lx-profile-rating-score--blank {
    font-weight: 500;
    color: color-mix(in oklab, var(--nt-text) 28%, transparent);
}

.lx-profile-rating-count {
    font-family: var(--nt-body-font);
    font-size: 0.72em;
    font-weight: 500;
    color: color-mix(in oklab, var(--nt-text) 48%, transparent);
}

.lx-profile-rating-count--blank {
    color: color-mix(in oklab, var(--nt-text) 28%, transparent);
}

.lx-profile-status-dot {
    position: absolute;
    top: 0.2rem;
    right: 0;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 0 2px var(--nt-bg),
        0 0 0 3px color-mix(in oklab, #22c55e 35%, transparent);
    flex-shrink: 0;
}

/* ── Profile header layout variants ── */
.lx-profile-header--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 0.55rem;
}

.lx-profile-header--stacked .lx-profile-name {
    padding-right: 0;
    font-size: 1.22em;
}

.lx-profile-header--compact {
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.25rem;
}

.lx-profile-header--compact .lx-profile-name {
    font-size: 1em;
}

.lx-profile-header--compact .lx-profile-bio {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lx-profile-header--align-center {
    align-items: center;
    text-align: center;
}

.lx-profile-header--align-center.lx-profile-header--row,
.lx-profile-header--align-center.lx-profile-header--compact {
    flex-direction: column;
    gap: 0.7rem;
}

.lx-profile-header--align-center .lx-profile-info {
    align-items: center;
}

.lx-profile-header--align-center .lx-profile-name {
    padding-right: 0;
}

.lx-profile-header--align-center .lx-profile-meta,
.lx-profile-header--align-center .lx-profile-bio {
    text-align: center;
}

.lx-profile-header--align-center .lx-profile-rating {
    justify-content: center;
}

.lx-profile-header--align-center .lx-profile-status-dot {
    top: 0.15rem;
    right: 0.15rem;
}

.lx-profile-header--stacked.lx-profile-header--align-center {
    align-items: center;
}

/* Full-bleed header band (split page look) — punches through card padding */
#ntContentCard {
    --nt-pad-x: 1.25rem;
    --nt-pad-t: 3rem;
}

#ntContentCard.nt-density-compact {
    --nt-pad-x: 1rem;
    --nt-pad-t: 2rem;
}

#ntContentCard.nt-density-airy {
    --nt-pad-x: 1.5rem;
    --nt-pad-t: 3.5rem;
}

@media (min-width: 640px) {
    #ntContentCard.nt-density-comfortable {
        --nt-pad-x: 2rem;
        --nt-pad-t: 3.5rem;
    }
    #ntContentCard.nt-density-compact {
        --nt-pad-x: 1.5rem;
        --nt-pad-t: 2.5rem;
    }
    #ntContentCard.nt-density-airy {
        --nt-pad-x: 2.5rem;
        --nt-pad-t: 4rem;
    }
}

.lx-profile-header--has-bg {
    box-sizing: border-box;
    width: calc(100% + (2 * var(--nt-pad-x, 1.25rem)));
    max-width: none;
    margin-left: calc(-1 * var(--nt-pad-x, 1.25rem));
    margin-right: calc(-1 * var(--nt-pad-x, 1.25rem));
    margin-top: calc(-1 * var(--nt-pad-t, 3rem));
    margin-bottom: 0.25rem;
    padding: var(--nt-pad-t, 3rem) var(--nt-pad-x, 1.25rem) 1rem;
    border-radius: 0;
    border-bottom: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
}

.lx-profile-header--bg-soft {
    background: color-mix(in oklab, var(--nt-primary) 10%, var(--nt-bg));
    box-shadow: none;
}

.lx-profile-header--bg-custom {
    box-shadow: none;
}

.lx-preview-dark .lx-profile-header--bg-soft {
    background: color-mix(in oklab, var(--nt-primary) 16%, var(--nt-bg));
    box-shadow: none;
}

/* Match floating card top radius on desktop */
@media (min-width: 1024px) {
    #ntContentCard .lx-profile-header--has-bg {
        border-top-left-radius: max(1.25rem, calc(var(--nt-radius, 12px) + 0.5rem));
        border-top-right-radius: max(1.25rem, calc(var(--nt-radius, 12px) + 0.5rem));
    }
}

/* Studio canvas — same split treatment inside the phone shell */
.lx-preview-product {
    --nt-pad-x: 0.875rem;
    --nt-pad-t: 2.35rem;
}

.studio-canvas .lx-preview-product-profile.lx-profile-header--has-bg {
    text-align: left;
}

/*
 * In the builder, the profile band must stay inside the block shell.
 * Full-bleed negative margins are for the live page card only — here they
 * overlap the PROFILE chrome and spill past the orange selection border.
 */
.studio-canvas .lx-profile-header--has-bg,
.studio-canvas .lx-preview-product-profile.lx-profile-header--has-bg {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0.35rem !important;
    padding: 0.85rem 0.75rem !important;
    border-radius: max(0.75rem, var(--nt-radius, 12px)) !important;
    box-sizing: border-box !important;
}

/* ── Quick actions ──────────────────────────────────────────────────────── */
.lx-quick-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.lx-quick-btn {
    flex: 1;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: unset;
    padding: 0.62rem 0.7rem;
    border-radius: 0.875rem;
    border: none;
    font-family: var(--nt-body-font);
    font-size: 0.74em;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.lx-quick-btn i {
    font-size: 0.9em;
    line-height: 1;
}

.lx-quick-btn--book {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.22);
}

.lx-quick-btn--wa {
    background: #22c55e;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.28);
}

.lx-quick-btn--call {
    background: color-mix(in oklab, var(--nt-text) 5%, var(--nt-bg));
    color: var(--nt-text);
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--nt-text) 8%, transparent);
}

.lx-quick-btn--muted {
    opacity: 0.42;
}

a.lx-quick-btn:hover {
    transform: translateY(-1px);
}

a.lx-quick-btn--book:hover {
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.28);
}

a.lx-quick-btn--wa:hover {
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.34);
}

a.lx-quick-btn--call:hover {
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--nt-text) 12%, transparent), 0 2px 8px color-mix(in oklab, var(--nt-text) 6%, transparent);
}

/* ── Hours block ──────────────────────────────────────────────────────── */
.lx-hours-block {
    margin-top: 0.55rem;
    overflow: hidden;
    text-align: left;
    border-radius: 1rem;
    border: none;
    background: color-mix(in oklab, var(--nt-text) 2.5%, var(--nt-bg));
    box-shadow:
        0 0 0 1px color-mix(in oklab, var(--nt-text) 5%, transparent),
        0 2px 12px color-mix(in oklab, var(--nt-text) 4%, transparent);
}

.lx-hours-block__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem 0.55rem;
}

.lx-hours-block__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    background: color-mix(in oklab, var(--nt-primary) 12%, var(--nt-bg));
    color: var(--nt-primary);
    font-size: 0.78em;
    flex-shrink: 0;
}

.lx-hours-block__title {
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--nt-text);
}

.lx-hours-block__rows {
    padding: 0.15rem 0.65rem 0.65rem;
}

.lx-hours-block__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.55rem;
    border-radius: 0.55rem;
    border-bottom: none;
}

.lx-hours-block__row:nth-child(even) {
    background: color-mix(in oklab, var(--nt-text) 3%, transparent);
}

.lx-hours-block__row:last-child {
    padding-bottom: 0.5rem;
}

.lx-hours-block__day {
    flex: 1;
    min-width: 0;
    font-size: 0.84em;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--nt-text);
    line-height: 1.35;
}

.lx-hours-block__time {
    flex-shrink: 0;
    font-size: 0.8em;
    font-weight: 500;
    text-align: right;
    color: color-mix(in oklab, var(--nt-text) 62%, transparent);
    line-height: 1.35;
}

.lx-hours-block__time--closed {
    color: color-mix(in oklab, var(--nt-text) 38%, transparent);
    font-style: normal;
    font-weight: 500;
}

.lx-hours-block__time--full {
    flex: 1;
    text-align: left;
}

.lx-hours-block__empty {
    margin: 0;
    padding: 0.35rem 0.9rem 0.85rem;
    font-size: 0.78em;
    color: color-mix(in oklab, var(--nt-text) 42%, transparent);
}

/* ── Location block ───────────────────────────────────────────────────── */
.lx-location-block {
    margin-top: 0.65rem;
    overflow: hidden;
    text-align: left;
    border-radius: 1rem;
    background: color-mix(in oklab, var(--nt-text) 2.5%, var(--nt-bg));
    box-shadow:
        0 0 0 1px color-mix(in oklab, var(--nt-text) 5%, transparent),
        0 4px 18px color-mix(in oklab, var(--nt-text) 5%, transparent);
}

.lx-location-block__map {
    position: relative;
    height: 5.75rem;
    overflow: hidden;
}

.lx-location-block__map-surface {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            145deg,
            color-mix(in oklab, var(--nt-primary) 22%, var(--nt-bg)) 0%,
            color-mix(in oklab, var(--nt-primary) 10%, var(--nt-bg)) 48%,
            color-mix(in oklab, var(--nt-text) 6%, var(--nt-bg)) 100%
        );
}

.lx-location-block__map-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(color-mix(in oklab, var(--nt-text) 10%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in oklab, var(--nt-text) 10%, transparent) 1px, transparent 1px);
    background-size: 18px 18px;
}

.lx-location-block__map-surface::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 62% 38%, rgba(255, 255, 255, 0.22) 0%, transparent 42%);
}

.lx-location-block__pin {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    transform: translate(-50%, -58%);
    border-radius: 999px;
    color: var(--nt-primary);
    background: #fff;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.65);
    font-size: 1rem;
}

.lx-location-block__pin-ring {
    position: absolute;
    inset: -0.35rem;
    border-radius: inherit;
    border: 2px solid color-mix(in oklab, var(--nt-primary) 28%, transparent);
    animation: lx-location-pin-pulse 2.8s ease-out infinite;
}

@keyframes lx-location-pin-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.75;
    }
    70% {
        transform: scale(1.18);
        opacity: 0;
    }
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

.lx-location-block__body {
    padding: 0.85rem 0.95rem 0.95rem;
}

.lx-location-block__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.lx-location-block__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    background: color-mix(in oklab, var(--nt-primary) 12%, var(--nt-bg));
    color: var(--nt-primary);
    font-size: 0.78em;
    flex-shrink: 0;
}

.lx-location-block__title {
    margin: 0;
    font-family: var(--nt-heading-font);
    font-size: 0.92em;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--nt-text);
}

.lx-location-block__address {
    margin: 0.55rem 0 0;
    padding-left: 2.4rem;
    font-size: 0.82em;
    line-height: 1.55;
    white-space: pre-line;
    color: color-mix(in oklab, var(--nt-text) 72%, transparent);
}

.lx-location-block__empty {
    margin: 0.55rem 0 0;
    padding-left: 2.4rem;
    font-size: 0.78em;
    line-height: 1.45;
    color: color-mix(in oklab, var(--nt-text) 42%, transparent);
}

.lx-location-block__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.62rem 1rem;
    border-radius: 0.65rem;
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--nt-primary) 0%,
        color-mix(in oklab, var(--nt-primary) 82%, #000) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 6px 16px color-mix(in oklab, var(--nt-primary) 32%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

a.lx-location-block__cta:hover {
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 10px 22px color-mix(in oklab, var(--nt-primary) 38%, transparent);
}

.lx-location-block__cta:active {
    transform: translateY(0);
}

.lx-location-block__cta i {
    font-size: 0.82em;
    opacity: 0.92;
}

.lx-location-block__cta--preview {
    opacity: 0.42;
    pointer-events: none;
    box-shadow: none;
}

.lx-location-block--embed {
    background: color-mix(in oklab, var(--nt-text) 3%, var(--nt-bg));
}

.lx-location-block__embed {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 9.5rem;
    max-height: 26rem;
    overflow: hidden;
    background: color-mix(in oklab, var(--nt-text) 5%, var(--nt-bg));
}

.lx-location-block__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.lx-location-block__embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 100%;
    padding: 1rem;
    text-align: center;
    background:
        linear-gradient(
            160deg,
            color-mix(in oklab, var(--nt-primary) 14%, var(--nt-bg)) 0%,
            color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg)) 100%
        );
}

.lx-location-block__embed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    color: var(--nt-primary);
    background: color-mix(in oklab, var(--nt-primary) 12%, var(--nt-bg));
    font-size: 1.05rem;
}

.lx-location-block__embed-label {
    font-size: 0.76em;
    font-weight: 500;
    color: color-mix(in oklab, var(--nt-text) 52%, transparent);
}

.lx-location-block__embed-footer {
    padding: 0.8rem 0.95rem 0.95rem;
    border-top: 1px solid color-mix(in oklab, var(--nt-text) 6%, transparent);
}

.lx-location-block__embed-title {
    margin: 0;
    font-family: var(--nt-heading-font);
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--nt-text);
}

.lx-location-block__embed-footer .lx-location-block__address {
    margin-top: 0.35rem;
    padding-left: 0;
    font-size: 0.8em;
}

.lx-preview-dark .lx-location-block {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 4px 18px rgba(0, 0, 0, 0.22);
}

.lx-preview-dark .lx-location-block__pin {
    background: rgba(255, 255, 255, 0.96);
}

.lx-preview-dark .lx-location-block__icon-wrap,
.lx-preview-dark .lx-location-block__embed-icon {
    background: color-mix(in oklab, var(--nt-primary) 18%, transparent);
}

.lx-preview-product-hours-label {
    margin: 0;
    font-size: 0.58em;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.55;
}

.lx-preview-product-hours-value {
    margin: 0.25rem 0 0;
    font-size: 0.75em;
    line-height: 1.35;
    opacity: 0.82;
}

.lx-preview-product-gallery {
    margin-top: 0.75rem;
    text-align: left;
}

.lx-preview-product-gallery-title {
    margin: 0 0 0.45rem;
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--nt-text);
}

.lx-preview-product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.lx-preview-product-gallery-item {
    overflow: hidden;
    border-radius: max(10px, calc(var(--nt-radius) - 2px));
    border: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
    background: color-mix(in oklab, var(--nt-bg) 96%, white);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.lx-preview-product-gallery-thumb {
    aspect-ratio: 1;
    width: 100%;
}

.lx-preview-product-gallery-thumb--latte {
    background: linear-gradient(145deg, #d4a574 0%, #8b5a2b 55%, #5c3d1e 100%);
}

.lx-preview-product-gallery-thumb--toast {
    background: linear-gradient(145deg, #a8d08d 0%, #6b8e4e 50%, #4a6b35 100%);
}

.lx-preview-product-gallery-thumb--scone {
    background: linear-gradient(145deg, #f0d78c 0%, #d4a017 45%, #b8860b 100%);
}

.lx-preview-product-gallery-cap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.2rem;
    padding: 0.35rem 0.4rem 0.4rem;
}

.lx-preview-product-gallery-name {
    min-width: 0;
    font-size: 0.58em;
    font-weight: 600;
    line-height: 1.25;
}

.lx-preview-product-gallery-price {
    flex-shrink: 0;
    font-size: 0.58em;
    font-weight: 700;
    color: var(--nt-primary);
}

.lx-preview-product-location {
    margin-top: 0.65rem;
    padding: 0.65rem 0.7rem;
    text-align: left;
    border-radius: max(16px, var(--nt-radius));
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lx-preview-product-location-title {
    margin: 0;
    font-family: var(--nt-heading-font);
    font-size: 0.88em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--nt-text);
}

.lx-preview-product-location-address {
    margin: 0.35rem 0 0;
    font-size: 0.72em;
    line-height: 1.4;
    opacity: 0.8;
}

.lx-preview-product-location-cta {
    display: inline-flex;
    margin-top: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.68em;
    font-weight: 600;
    color: #fff;
    background: var(--nt-primary);
    box-shadow: 0 2px 8px color-mix(in oklab, var(--nt-primary) 35%, transparent);
}

.lx-phone--cafe.lx-phone--compact .lx-preview-product {
    padding-top: 1.85rem;
}

.lx-phone--cafe.lx-phone--compact .lx-preview-product-cover {
    height: 3.25rem;
}

.lx-phone--cafe.lx-phone--compact .lx-preview-product-gallery,
.lx-phone--cafe.lx-phone--compact .lx-preview-product-location,
.lx-phone--cafe.lx-phone--compact .lx-location-block {
    display: none;
}

/* iPad device frame — journey / hub preview */

/* Cover gradient variants (layouts) */
.lx-preview-product-cover--violet { background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%); }
.lx-preview-product-cover--sky { background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%); }
.lx-preview-product-cover--amber { background: linear-gradient(135deg, #b45309 0%, #78350f 100%); }
.lx-preview-product-cover--rose { background: linear-gradient(135deg, #be185d 0%, #831843 100%); }
.lx-preview-product-cover--teal { background: linear-gradient(135deg, #0e7490 0%, #155e75 38%, #1e3a5f 100%); }

/* Studio canvas — block editor inside storefront shell */
.studio-canvas .lx-preview-product {
    min-height: auto;
    padding-bottom: 2rem;
    text-align: left;
}

/* ── Studio canvas: horizontal business-card profile ─────────────────── */
.studio-canvas .lx-preview-product-profile.lx-profile-header {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
}

.studio-canvas .lx-preview-product-profile .lx-preview-product-cover {
    display: none;
}

.studio-canvas .lx-preview-product-profile .lx-preview-product-avatar,
.studio-canvas .lx-profile-logo {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    margin-top: 0;
}

.studio-canvas .lx-preview-product-profile .lx-preview-product-avatar {
    border-radius: 9999px;
}

.studio-canvas .lx-preview-product-profile .lx-preview-product-avatar--square {
    border-radius: 1rem;
}

.studio-canvas .lx-preview-product-profile .lx-preview-product-avatar--logo {
    overflow: hidden;
}

.studio-canvas .lx-preview-product-profile .lx-preview-product-avatar--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.studio-canvas .lx-preview-product-quick.lx-quick-actions {
    display: flex !important;
    flex-direction: row !important;
}

/* ── Nav tabs (studio + public storefront) ─────────────────────────────── */
.lx-nav-tabs {
    margin-top: 0.25rem;
    padding-top: 0.7rem;
    border-top: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
}

.lx-nav-tabs__bar {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
    -ms-overflow-style: none;
}

.lx-nav-tabs__bar::-webkit-scrollbar {
    display: none;
}

.lx-nav-tabs__bar--center {
    justify-content: center;
}

.lx-nav-tabs__bar--stretch .lx-nav-tabs__tab {
    flex: 1;
    text-align: center;
}

.lx-nav-tabs__tab {
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    margin-bottom: -1px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-family: var(--nt-body-font);
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: color-mix(in oklab, var(--nt-text) 52%, transparent);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.lx-nav-tabs__tab--active {
    color: var(--nt-text);
    border-bottom-color: var(--nt-primary);
}

.lx-nav-tabs__panel {
    margin-top: 0.7rem;
    padding-top: 0.15rem;
}

/* Tab panels use gap — block-level mt-8/mt-10 is for main page flow only */
.lx-nav-tabs__tab-blocks {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.15rem 0 0;
}

.lx-nav-tabs__tab-blocks > * {
    margin-top: 0 !important;
}

.lx-nav-tabs__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 1rem;
    border-radius: 0.85rem;
    text-align: center;
    color: var(--nt-text);
}

.lx-nav-tabs__empty--builder {
    border: 1.5px dashed color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 2%, var(--nt-bg));
}

.lx-nav-tabs__empty i {
    font-size: 1.1em;
    opacity: 0.28;
    margin-bottom: 0.35rem;
}

.lx-nav-tabs__empty-title {
    display: block;
    font-size: 0.78em;
    font-weight: 600;
    opacity: 0.5;
}

.lx-nav-tabs__empty-hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68em;
    opacity: 0.35;
}

[x-cloak] {
    display: none !important;
}

/* ── Studio canvas: Product gallery cards ────────────────────────────── */
.studio-canvas .lx-preview-product-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.studio-canvas .lx-preview-product-gallery-item {
    border-radius: 0.85rem;
    background: color-mix(in oklab, var(--nt-bg) 96%, var(--nt-text));
    border: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
    overflow: hidden;
}

.studio-canvas .lx-preview-product-gallery-thumb-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    font-size: 1.5rem;
}

.studio-canvas .lx-preview-product-gallery-cap {
    padding: 0.35rem 0.45rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.studio-canvas .lx-preview-product-gallery-name {
    font-size: 0.7em;
    font-weight: 600;
    color: var(--nt-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-canvas .lx-preview-product-gallery-price {
    font-size: 0.68em;
    font-weight: 700;
    color: var(--nt-text);
}

.studio-canvas .lx-preview-product-gallery-add {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.45rem 0.4rem;
}

.studio-canvas .lx-preview-product-gallery-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--nt-secondary);
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1;
}

/* Pastel thumb backgrounds for demo items */
.studio-canvas .lx-preview-product-gallery-thumb--demo-1 { background: #fce7f3; }
.studio-canvas .lx-preview-product-gallery-thumb--demo-2 { background: #ede9fe; }
.studio-canvas .lx-preview-product-gallery-thumb--demo-3 { background: #fef9c3; }
.studio-canvas .lx-preview-product-gallery-thumb--demo-4 { background: #dbeafe; }

.studio-canvas .studio-block-shell {
    position: relative;
    margin-bottom: 0.35rem;
    border-radius: 0.75rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.studio-block-body {
    min-width: 0;
}

/* Compact block chrome — expands above content, never overlays it */
.studio-block-chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-height: 0;
    margin-bottom: 0;
    padding: 0 0.15rem;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        max-height 0.18s ease,
        opacity 0.15s ease,
        margin-bottom 0.18s ease;
}

.studio-block-shell.is-selected .studio-block-chrome,
.studio-block-chrome--selected {
    max-height: 1.85rem;
    margin-bottom: 0.3rem;
    opacity: 1;
    pointer-events: auto;
}

.studio-block-shell.is-selected .studio-block-chrome {
    max-height: 1.85rem;
}

.studio-block-chrome__grip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
    border: none;
    border-radius: 0.4rem;
    background: color-mix(in oklab, var(--nt-text) 6%, var(--nt-bg));
    color: color-mix(in oklab, var(--nt-text) 48%, transparent);
    font-size: 0.62rem;
    cursor: grab;
    transition: background 0.12s ease, color 0.12s ease;
}

.studio-block-chrome__grip:active {
    cursor: grabbing;
}

.studio-block-chrome__grip:hover {
    background: color-mix(in oklab, var(--nt-text) 10%, var(--nt-bg));
    color: color-mix(in oklab, var(--nt-text) 68%, transparent);
}

.studio-block-chrome__type {
    flex: 1;
    min-width: 0;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in oklab, var(--nt-text) 46%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-block-chrome__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.studio-block-chrome__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: color-mix(in oklab, var(--nt-text) 52%, transparent);
    font-size: 0.68rem;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.studio-block-chrome__btn:hover {
    background: color-mix(in oklab, var(--nt-text) 8%, var(--nt-bg));
    color: color-mix(in oklab, var(--nt-text) 82%, transparent);
}

.studio-block-chrome__btn--danger:hover {
    background: color-mix(in oklab, #dc2626 12%, var(--nt-bg));
    color: #dc2626;
}

.studio-block-shell.is-selected .studio-block-chrome__type {
    color: #b45309;
}

.studio-block-shell.is-selected .studio-block-chrome__grip {
    background: color-mix(in oklab, #e8a020 14%, var(--nt-bg));
    color: #b45309;
}

/* Properties panel block actions */
.studio-props-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.65);
    color: rgba(13, 27, 42, 0.55);
    font-size: 0.82rem;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

html.dark .studio-props-action {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 224, 213, 0.55);
}

.studio-props-action:hover {
    border-color: rgba(232, 160, 32, 0.35);
    background: rgba(232, 160, 32, 0.08);
    color: #b45309;
}

.studio-props-action--danger:hover {
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.studio-canvas .studio-block-shell.is-selected {
    box-shadow: 0 0 0 2px #E8A020;
}

.studio-canvas .studio-block-shell:hover:not(.is-selected) {
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.22);
}

/* ── Studio canvas toolbar ───────────────────────────────────────────── */
.studio-toolbar {
    position: relative;
    z-index: 20;
}

.studio-toolbar__meta {
    flex: 1 1 auto;
}

.studio-toolbar__actions {
    margin-left: auto;
}

.studio-segmented {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.125rem;
    max-width: 100%;
    padding: 0.15rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: rgba(13, 27, 42, 0.035);
}

html.dark .studio-segmented,
.studio-toolbar--dark .studio-segmented {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.studio-segmented__group {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
}

.studio-segmented__divider {
    width: 1px;
    height: 1.15rem;
    margin: 0 0.1rem;
    flex-shrink: 0;
    background: rgba(13, 27, 42, 0.1);
}

html.dark .studio-segmented__divider,
.studio-toolbar--dark .studio-segmented__divider {
    background: rgba(255, 255, 255, 0.1);
}

.studio-segmented__divider--status {
    display: none;
}

@media (min-width: 640px) {
    .studio-segmented__divider--status {
        display: block;
    }
}

.studio-segmented__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 1.85rem;
    padding: 0.35rem 0.55rem;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(13, 27, 42, 0.52);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.studio-segmented__btn--icon {
    width: 1.85rem;
    height: 1.85rem;
    min-height: 1.85rem;
    padding: 0;
}

html.dark .studio-segmented__btn,
.studio-toolbar--dark .studio-segmented__btn {
    color: rgba(232, 224, 213, 0.52);
}

.studio-segmented__btn:hover {
    color: rgba(13, 27, 42, 0.82);
    background: rgba(13, 27, 42, 0.05);
}

html.dark .studio-segmented__btn:hover,
.studio-toolbar--dark .studio-segmented__btn:hover {
    color: rgba(232, 224, 213, 0.92);
    background: rgba(255, 255, 255, 0.06);
}

.studio-segmented__btn.is-active {
    color: rgb(13, 27, 42);
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(13, 27, 42, 0.06);
}

html.dark .studio-segmented__btn.is-active,
.studio-toolbar--dark .studio-segmented__btn.is-active {
    color: rgb(232, 160, 32);
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(232, 160, 32, 0.18);
}

.studio-segmented__btn:active {
    transform: scale(0.98);
}

.studio-segmented__btn.is-disabled,
.studio-segmented__btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.studio-segmented--history {
    margin-left: 0.15rem;
}

.studio-draft-alert {
    backdrop-filter: blur(6px);
}

.studio-segmented__icon {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

.studio-sync-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 1.85rem;
    padding: 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.48);
    white-space: nowrap;
}

html.dark .studio-sync-status,
.studio-toolbar--dark .studio-sync-status {
    color: rgba(232, 224, 213, 0.48);
}

.studio-sync-status__dot {
    width: 0.42rem;
    height: 0.42rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.25);
}

.studio-sync-status__dot.is-online {
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.studio-sync-status__dot.is-saving {
    background: rgb(232, 160, 32);
    box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.18);
}

.studio-sync-status__dot.is-failed {
    background: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
}

.studio-sync-status__dot.is-offline {
    background: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.studio-sync-status__spinner {
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
    color: rgb(232, 160, 32);
}

.studio-sync-status__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.studio-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.15rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.studio-toolbar-btn:active {
    transform: scale(0.98);
}

.studio-toolbar-btn--ghost {
    border-color: rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.55);
    color: rgb(13, 27, 42);
}

html.dark .studio-toolbar-btn--ghost,
.studio-toolbar--dark .studio-toolbar-btn--ghost {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(232, 224, 213, 0.92);
}

.studio-toolbar-btn--ghost:hover {
    border-color: rgba(13, 27, 42, 0.16);
    background: rgba(255, 255, 255, 0.85);
}

html.dark .studio-toolbar-btn--ghost:hover,
.studio-toolbar--dark .studio-toolbar-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.09);
}

.studio-toolbar-btn--primary {
    border-color: transparent;
    background: linear-gradient(180deg, #f0b429 0%, #e8a020 100%);
    color: #0d1b2a;
    box-shadow: 0 4px 14px rgba(232, 160, 32, 0.28);
}

.studio-toolbar-btn--primary:hover {
    box-shadow: 0 6px 18px rgba(232, 160, 32, 0.34);
    filter: brightness(1.03);
}

/* Realistic phone frame in Studio */
.studio-phone-frame {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 0.2rem;
    border-radius: 2.85rem;
    background: linear-gradient(165deg, #7a7a82 0%, #52525a 8%, #323238 22%, #18181c 48%, #242428 72%, #44444c 92%, #686870 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 32px 64px -18px rgba(15, 23, 42, 0.35);
}

.studio-phone-screen {
    position: relative;
    overflow: hidden;
    border-radius: 2.65rem;
    background: #fff;
    transition: background 0.2s ease;
}
.studio-phone-screen--light { background: #ffffff; }
.studio-phone-screen--dark  { background: #0D1B2A; }

.studio-phone-island {
    position: absolute;
    top: 0.55rem;
    left: 50%;
    z-index: 20;
    width: 4.5rem;
    height: 1.35rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #050506;
    pointer-events: none;
}

/* ── Dark canvas mode — when studio output toggle is "Dark" ──────
   The Alpine x-bind:style on .lx-preview-product appends overrides
   for --nt-bg and --nt-text when !outputLight. This class handles
   elements that need extra dark-mode adjustments. ─────────────── */
.lx-preview-dark .lx-preview-product-link {
    border-color: rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
}
.lx-preview-dark .lx-preview-product-link-icon--primary {
    background: rgba(255,255,255,0.10);
}
.lx-preview-dark .lx-preview-product-link-icon--secondary {
    background: rgba(255,255,255,0.08);
}
.lx-preview-dark .lx-preview-product-social-btn {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}
.lx-preview-dark .lx-preview-product-hours {
    border-color: rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
}
.lx-preview-dark .lx-hours-block {
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    box-shadow:
        0 0 0 1px color-mix(in oklab, var(--nt-text) 8%, transparent),
        0 2px 12px rgba(0, 0, 0, 0.2);
}

.lx-preview-dark .lx-hours-block__icon-wrap {
    background: color-mix(in oklab, var(--nt-primary) 18%, var(--nt-bg));
}

.lx-preview-dark .lx-hours-block__row:nth-child(even) {
    background: color-mix(in oklab, var(--nt-text) 4%, transparent);
}

.lx-preview-dark .lx-quick-btn--call {
    background: color-mix(in oklab, var(--nt-text) 8%, var(--nt-bg));
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--nt-text) 12%, transparent);
}
.lx-preview-dark .lx-preview-product-cover {
    background: linear-gradient(150deg, #1E3148 0%, #0D1B2A 100%);
}
.lx-preview-dark .lx-preview-product-avatar {
    background: rgba(255,255,255,0.10);
    box-shadow:
        0 4px 14px rgba(0,0,0,0.35),
        0 0 0 4px #0D1B2A,
        0 0 0 5px rgba(255,255,255,0.08);
}
.lx-preview-dark .lx-preview-product-location {
    border-color: rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
}
.lx-preview-dark .lx-preview-product-footer {
    color: rgba(255,255,255,0.25);
}

/* ── Studio loading bar animation ─────────────────────────────── */
@keyframes studio-loading-bar {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}
.studio-livewire-loading-bar {
    animation: studio-loading-bar 1.4s ease-in-out infinite;
    transform-origin: left center;
}

/* ── Block picker button hover state ─────────────────────────── */
.studio-block-btn {
    cursor: pointer;
}
.studio-block-btn:active {
    transform: scale(0.97);
}

/* Legacy marketing previews — alias to location block visuals */
.lx-preview-product-location {
    margin-top: 0.65rem;
    overflow: hidden;
    border-radius: 1rem;
    background: color-mix(in oklab, var(--nt-text) 2.5%, var(--nt-bg));
    box-shadow:
        0 0 0 1px color-mix(in oklab, var(--nt-text) 5%, transparent),
        0 4px 18px color-mix(in oklab, var(--nt-text) 5%, transparent);
}

.lx-preview-product-location-title {
    margin: 0;
    padding: 0.85rem 0.95rem 0;
    font-family: var(--nt-heading-font);
    font-size: 0.92em;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--nt-text);
}

.lx-preview-product-location-address {
    margin: 0.55rem 0 0;
    padding: 0 0.95rem;
    font-size: 0.82em;
    line-height: 1.55;
    white-space: pre-line;
    color: color-mix(in oklab, var(--nt-text) 72%, transparent);
}

.lx-preview-product-location-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.85rem 0.95rem 0.95rem;
    padding: 0.62rem 1rem;
    border-radius: 0.65rem;
    font-size: 0.82em;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--nt-primary) 0%,
        color-mix(in oklab, var(--nt-primary) 82%, #000) 100%
    );
    box-shadow: 0 6px 16px color-mix(in oklab, var(--nt-primary) 32%, transparent);
}

/* ── Studio scrollbar (left + right panels) ─────────────────── */
.studio-scrollbar::-webkit-scrollbar       { width: 3px; }
.studio-scrollbar::-webkit-scrollbar-track { background: transparent; }
.studio-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(13, 27, 42, 0.08);
    border-radius: 999px;
}
html.dark .studio-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
}

/* ── Canvas scrollbar (no scrollbar visible on canvas) ──────── */
.studio-scrollbar-hidden { scrollbar-width: none; }
.studio-scrollbar-hidden::-webkit-scrollbar { display: none; }

/* ── Reviews tab ─────────────────────────────────────────────── */
.lx-reviews {
    padding: 0.85rem 0 0.25rem;
}

.lx-reviews__summary {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
}

.lx-reviews__summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
}

.lx-reviews__summary-number {
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--nt-text);
    font-family: var(--nt-heading-font);
}

.lx-reviews__summary-stars,
.lx-reviews__item-stars,
.lx-reviews__picker-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
}

.lx-reviews__star {
    font-size: 0.95em;
    line-height: 1;
}

.lx-reviews__star--sm {
    font-size: 0.72em;
}

.lx-reviews__star--filled {
    color: #f59e0b;
}

.lx-reviews__star--empty {
    color: color-mix(in oklab, var(--nt-text) 18%, transparent);
}

.lx-reviews__summary-count {
    margin: 0;
    font-size: 0.72em;
    opacity: 0.55;
    font-family: var(--nt-body-font);
}

.lx-reviews__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lx-reviews__item {
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
    background: color-mix(in oklab, var(--nt-bg) 98%, var(--nt-text));
}

.lx-reviews__item-head {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.lx-reviews__avatar {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78em;
    font-weight: 700;
    color: color-mix(in oklab, var(--nt-primary) 85%, #fff);
    background: color-mix(in oklab, var(--nt-primary) 14%, var(--nt-bg));
}

.lx-reviews__item-meta {
    flex: 1;
    min-width: 0;
}

.lx-reviews__author {
    display: block;
    font-size: 0.82em;
    font-weight: 600;
    color: var(--nt-text);
    font-family: var(--nt-heading-font);
}

.lx-reviews__date {
    flex-shrink: 0;
    font-size: 0.65em;
    opacity: 0.45;
    white-space: nowrap;
    font-family: var(--nt-body-font);
}

.lx-reviews__comment {
    margin: 0.45rem 0 0;
    font-size: 0.78em;
    line-height: 1.55;
    opacity: 0.82;
    font-family: var(--nt-body-font);
    color: var(--nt-text);
}

.lx-reviews__empty {
    text-align: center;
    padding: 1.25rem 0.75rem 0.85rem;
}

.lx-reviews__empty i {
    font-size: 1.35em;
    opacity: 0.22;
    margin-bottom: 0.35rem;
}

.lx-reviews__empty-title {
    margin: 0;
    font-size: 0.85em;
    font-weight: 600;
    opacity: 0.55;
}

.lx-reviews__empty-hint {
    margin: 0.2rem 0 0;
    font-size: 0.72em;
    opacity: 0.38;
}

.lx-reviews__form-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
}

.lx-reviews__form-title {
    margin: 0 0 0.65rem;
    font-size: 0.88em;
    font-weight: 600;
    font-family: var(--nt-heading-font);
    color: var(--nt-text);
}

.lx-reviews__form-note {
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.65rem;
    font-size: 0.72em;
    line-height: 1.45;
    opacity: 0.72;
    background: color-mix(in oklab, var(--nt-text) 5%, var(--nt-bg));
    border: 1px dashed color-mix(in oklab, var(--nt-text) 14%, transparent);
}

.lx-reviews__success {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: color-mix(in oklab, #16a34a 12%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, #16a34a 28%, transparent);
    color: color-mix(in oklab, #15803d 80%, var(--nt-text));
}

.lx-reviews__success i {
    margin-top: 0.1rem;
    font-size: 1em;
}

.lx-reviews__success-title {
    margin: 0;
    font-size: 0.8em;
    font-weight: 600;
}

.lx-reviews__success-text {
    margin: 0.15rem 0 0;
    font-size: 0.72em;
    opacity: 0.85;
}

.lx-reviews__error {
    margin: 0 0 0.65rem;
    font-size: 0.72em;
    color: color-mix(in oklab, #dc2626 85%, var(--nt-text));
}

.lx-reviews__form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lx-reviews__picker-label,
.lx-reviews__field-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.68em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.5;
}

.lx-reviews__picker-star {
    padding: 0.1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 1;
}

.lx-reviews__picker-star:disabled {
    cursor: default;
    opacity: 0.55;
}

.lx-reviews__picker-star .lx-reviews__star {
    font-size: 1.35em;
    transition: transform 0.12s ease;
}

.lx-reviews__picker-star:not(:disabled):hover .lx-reviews__star {
    transform: scale(1.08);
}

.lx-reviews__input,
.lx-reviews__textarea {
    width: 100%;
    border-radius: calc(var(--nt-radius) * 0.85);
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: var(--nt-bg);
    color: var(--nt-text);
    padding: 0.55rem 0.7rem;
    font-size: 0.82em;
    font-family: var(--nt-body-font);
}

.lx-reviews__input:focus,
.lx-reviews__textarea:focus {
    outline: none;
    border-color: color-mix(in oklab, var(--nt-primary) 45%, transparent);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--nt-primary) 12%, transparent);
}

.lx-reviews__input:disabled,
.lx-reviews__textarea:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.lx-reviews__textarea {
    resize: vertical;
    min-height: 5rem;
}

.lx-reviews__field-error {
    margin: 0.25rem 0 0;
    font-size: 0.68em;
    color: color-mix(in oklab, #dc2626 85%, var(--nt-text));
}

.lx-reviews__submit {
    align-self: flex-start;
    margin-top: 0.15rem;
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 999px;
    font-size: 0.78em;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: var(--nt-text);
    font-family: var(--nt-body-font);
    transition: opacity 0.15s ease;
}

.lx-reviews__submit:hover:not(:disabled) {
    opacity: 0.88;
}

.lx-reviews__submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lx-nav-tabs__panel .lx-reviews {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
}

.lx-nav-tabs__add-block {
    display: block;
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px dashed color-mix(in oklab, var(--nt-text) 16%, transparent);
    background: transparent;
    font-size: 0.72em;
    font-weight: 600;
    color: color-mix(in oklab, var(--nt-text) 55%, transparent);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.lx-nav-tabs__add-block:hover {
    border-color: color-mix(in oklab, var(--nt-primary) 35%, transparent);
    color: color-mix(in oklab, var(--nt-primary) 80%, var(--nt-text));
}

.studio-block-shell--tab {
    margin-top: 0.15rem;
    border-radius: 0.75rem;
    border: 1px dashed color-mix(in oklab, var(--nt-text) 10%, transparent);
    padding: 0.35rem 0.25rem 0.25rem;
}

.studio-block-shell--tab.is-selected {
    border-color: color-mix(in oklab, var(--nt-primary) 35%, transparent);
    background: color-mix(in oklab, var(--nt-primary) 4%, transparent);
}

/* ── Heading & simple link blocks ─────────────────────────────── */
.lx-storefront-heading {
    margin: 0;
    color: var(--nt-text);
    font-family: var(--nt-heading-font);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lx-storefront-heading--1 {
    font-size: 1.75em;
    font-weight: 700;
}

.lx-storefront-heading--2 {
    font-size: 1.35em;
    font-weight: 600;
}

.lx-storefront-heading--3 {
    font-size: 1.08em;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.lx-storefront-link {
    margin: 0;
    font-size: 0.88em;
}

.lx-storefront-link--anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--nt-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    transition: opacity 0.15s ease;
}

.lx-storefront-link--anchor:hover {
    opacity: 0.82;
}

.lx-storefront-link__text {
    color: var(--nt-primary);
    font-weight: 600;
}

.lx-storefront-link__url {
    font-size: 0.85em;
    font-weight: 400;
}

.lx-storefront-align--left {
    text-align: left;
}

.lx-storefront-align--center {
    text-align: center;
}

.lx-storefront-align--right {
    text-align: right;
}

.lx-storefront-text {
    white-space: pre-wrap;
}

.lx-storefront-align--center .lx-storefront-text {
    margin-left: auto;
    margin-right: auto;
    max-width: 28rem;
}

.lx-storefront-align--right .lx-storefront-text {
    margin-left: auto;
    max-width: 28rem;
}

.lx-storefront-align--left .lx-storefront-link--anchor,
.lx-storefront-align--center .lx-storefront-link--anchor,
.lx-storefront-align--right .lx-storefront-link--anchor {
    display: inline-flex;
}

.lx-storefront-align--center .lx-storefront-link--anchor {
    margin-left: auto;
    margin-right: auto;
}

.lx-storefront-align--right .lx-storefront-link--anchor {
    margin-left: auto;
}

/* ── Button block properties (Studio sidebar) ─────────────────── */
.studio-btn-props {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.studio-btn-props__preview-shell {
    padding: 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 246, 241, 0.9) 100%);
}

html.dark .studio-btn-props__preview-shell {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.studio-btn-props__preview {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.studio-btn-props__preview--card {
    padding: 0.65rem 0.7rem;
}

html.dark .studio-btn-props__preview--card {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.studio-btn-props__preview--pill {
    padding: 0.7rem 0.85rem;
    justify-content: space-between;
}

.studio-btn-props__preview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
}

.studio-btn-props__preview--pill .studio-btn-props__preview-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.12);
}

.studio-btn-props__preview-copy {
    min-width: 0;
    flex: 1;
}

.studio-btn-props__preview-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(13, 27, 42, 0.92);
}

html.dark .studio-btn-props__preview-title {
    color: rgba(232, 224, 213, 0.94);
}

.studio-btn-props__preview--pill .studio-btn-props__preview-copy {
    flex: 1;
    text-align: center;
}

.studio-btn-props__preview--pill .studio-btn-props__preview-title {
    color: #fff;
}

.studio-btn-props__preview-sub--pill {
    color: rgba(255, 255, 255, 0.78);
}

.studio-btn-props__preview-sub {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.72rem;
    line-height: 1.3;
    color: rgba(13, 27, 42, 0.52);
}

html.dark .studio-btn-props__preview-sub {
    color: rgba(232, 224, 213, 0.52);
}

.studio-btn-props__preview-chevron {
    flex-shrink: 0;
    font-size: 1rem;
    opacity: 0.38;
}

.studio-btn-props__preview--pill .studio-btn-props__preview-chevron {
    color: #fff;
    opacity: 0.75;
}

.studio-btn-props__section {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.studio-btn-props__label {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(180, 83, 9, 0.72);
}

html.dark .studio-btn-props__label {
    color: rgba(232, 160, 32, 0.72);
}

.studio-btn-props__fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.studio-btn-props__input {
    margin-top: 0.35rem;
    width: 100%;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.55);
    padding: 0.55rem 0.7rem;
    font-size: 0.84rem;
    color: rgb(13, 27, 42);
    outline: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-btn-props__input {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgb(232, 224, 213);
}

.studio-btn-props__input:focus {
    border-color: rgba(232, 160, 32, 0.45);
    box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.12);
}

.studio-btn-props__url-wrap {
    position: relative;
}

.studio-btn-props__url-icon {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: rgba(13, 27, 42, 0.35);
    pointer-events: none;
}

html.dark .studio-btn-props__url-icon {
    color: rgba(232, 224, 213, 0.35);
}

.studio-btn-props__input--url {
    margin-top: 0;
    padding-left: 2rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.76rem;
}

.studio-btn-props__group + .studio-btn-props__group {
    margin-top: 0.85rem;
}

.studio-btn-props__choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 4.25rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.45);
    padding: 0.55rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.62);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-btn-props__choice {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.62);
}

.studio-btn-props__choice:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-btn-props__choice--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
    color: rgb(13, 27, 42);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.12);
}

html.dark .studio-btn-props__choice--active {
    color: rgb(232, 224, 213);
}

.studio-btn-props__choice--accent {
    min-height: 3rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
}

.studio-btn-props__layout-thumb {
    display: block;
    width: 3.25rem;
    height: 1.35rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: rgba(13, 27, 42, 0.04);
    position: relative;
}

html.dark .studio-btn-props__layout-thumb {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
}

.studio-btn-props__layout-thumb--card::before {
    content: '';
    position: absolute;
    left: 0.28rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 0.15rem;
    background: rgba(13, 27, 42, 0.22);
}

html.dark .studio-btn-props__layout-thumb--card::before {
    background: rgba(232, 224, 213, 0.5);
}

.studio-btn-props__layout-thumb--card::after {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.14);
}

html.dark .studio-btn-props__layout-thumb--card::after {
    background: rgba(232, 224, 213, 0.32);
}

.studio-btn-props__layout-thumb--pill {
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.1);
}

html.dark .studio-btn-props__layout-thumb--pill {
    background: rgba(255, 255, 255, 0.1);
}

.studio-btn-props__layout-thumb--pill::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1.75rem;
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.2);
}

html.dark .studio-btn-props__layout-thumb--pill::before {
    background: rgba(232, 224, 213, 0.42);
}

.studio-btn-props__choice--active .studio-btn-props__layout-thumb {
    border-color: rgba(232, 160, 32, 0.35);
    background: rgba(232, 160, 32, 0.06);
}

html.dark .studio-btn-props__choice--active .studio-btn-props__layout-thumb {
    border-color: rgba(232, 160, 32, 0.45);
    background: rgba(232, 160, 32, 0.1);
}

.studio-btn-props__swatch {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.studio-btn-props__icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.studio-btn-props__icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 3.35rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: rgba(255, 255, 255, 0.45);
    padding: 0.35rem 0.2rem;
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.15;
    color: rgba(13, 27, 42, 0.55);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-btn-props__icon-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.55);
}

.studio-btn-props__icon-btn:hover {
    border-color: rgba(232, 160, 32, 0.35);
    color: rgba(13, 27, 42, 0.82);
}

.studio-btn-props__icon-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.1);
    color: rgb(13, 27, 42);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.12);
}

html.dark .studio-btn-props__icon-btn--active {
    color: rgb(232, 224, 213);
}

.studio-btn-props__icon-btn .lx-link-icon {
    width: 1rem;
    height: 1rem;
    max-width: 1rem;
    max-height: 1rem;
}

.studio-btn-props__color-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.studio-btn-props__color-swatch {
    position: relative;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    cursor: pointer;
}

html.dark .studio-btn-props__color-swatch {
    border-color: rgba(255, 255, 255, 0.12);
}

.studio-btn-props__color-input {
    position: absolute;
    inset: -0.35rem;
    width: calc(100% + 0.7rem);
    height: calc(100% + 0.7rem);
    padding: 0;
    border: 0;
    cursor: pointer;
}

.studio-btn-props__input--hex {
    margin-top: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}


/* ── Divider block (canvas + public) ─────────────────────────────────── */
.lx-divider {
    display: flex;
    width: 100%;
    align-items: center;
}

.lx-divider--sm { min-height: 0.5rem; height: 0.5rem; }
.lx-divider--md { min-height: 1.5rem; height: 1.5rem; }
.lx-divider--lg { min-height: 3rem; height: 3rem; }

.lx-divider__line {
    width: 100%;
    flex-shrink: 0;
}

.lx-divider--studio.lx-divider--spacer {
    border-radius: 0.45rem;
    border: 1px dashed color-mix(in oklab, var(--nt-text) 16%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
}

.lx-divider__guide {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.lx-divider__guide-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: color-mix(in oklab, var(--nt-text) 42%, transparent);
}

.lx-divider--studio.lx-divider--spacer .lx-divider__guide-label {
    opacity: 0.72;
}

.studio-block-shell.is-selected .lx-divider--studio.lx-divider--spacer {
    border-color: color-mix(in oklab, rgb(232, 160, 32) 45%, transparent);
    background: color-mix(in oklab, rgb(232, 160, 32) 6%, var(--nt-bg));
}

/* ── Divider properties panel ────────────────────────────────────────── */
.studio-divider-props {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.studio-divider-props__section {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.studio-divider-props__label {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(180, 83, 9, 0.72);
}

html.dark .studio-divider-props__label {
    color: rgba(232, 160, 32, 0.72);
}

.studio-divider-props__choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-height: 4.6rem;
    padding: 0.55rem 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.72);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-divider-props__choice {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.78);
}

.studio-divider-props__choice:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-divider-props__choice--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.12);
}

.studio-divider-props__type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.studio-divider-props__choice--compact {
    min-height: 3.85rem;
    padding: 0.45rem 0.35rem;
}

.studio-divider-props__choice-sub {
    font-size: 0.62rem;
    font-weight: 500;
    color: rgba(13, 27, 42, 0.42);
}

html.dark .studio-divider-props__choice-sub {
    color: rgba(232, 224, 213, 0.42);
}

.studio-divider-props__type-thumb {
    display: flex;
    width: 3.25rem;
    height: 1.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.04);
}

html.dark .studio-divider-props__type-thumb {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.studio-divider-props__type-thumb--spacer {
    flex-direction: column;
    gap: 0.28rem;
}

.studio-divider-props__type-thumb--spacer span {
    display: block;
    width: 1.85rem;
    height: 0.18rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.14);
}

html.dark .studio-divider-props__type-thumb--spacer span {
    background: rgba(232, 224, 213, 0.22);
}

.studio-divider-props__type-thumb--line::before {
    content: '';
    display: block;
    width: 2.1rem;
    height: 0.14rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.28);
}

html.dark .studio-divider-props__type-thumb--line::before {
    background: rgba(232, 224, 213, 0.38);
}

.studio-divider-props__type-thumb--dashed::before {
    content: '';
    display: block;
    width: 2.1rem;
    height: 0;
    border-top: 2px dashed rgba(13, 27, 42, 0.28);
}

html.dark .studio-divider-props__type-thumb--dashed::before {
    border-top-color: rgba(232, 224, 213, 0.38);
}

.studio-divider-props__type-thumb--dotted::before {
    content: '';
    display: block;
    width: 2.1rem;
    height: 0;
    border-top: 2px dotted rgba(13, 27, 42, 0.28);
}

html.dark .studio-divider-props__type-thumb--dotted::before {
    border-top-color: rgba(232, 224, 213, 0.38);
}

.studio-divider-props__type-thumb--fade::before {
    content: '';
    display: block;
    width: 2.1rem;
    height: 0.14rem;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(13, 27, 42, 0.28) 50%, transparent 100%);
}

html.dark .studio-divider-props__type-thumb--fade::before {
    background: linear-gradient(90deg, transparent 0%, rgba(232, 224, 213, 0.38) 50%, transparent 100%);
}

.studio-divider-props__size-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    min-height: 3.1rem;
    padding: 0.5rem 0.35rem 0.45rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.62);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

html.dark .studio-divider-props__size-btn {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.62);
}

.studio-divider-props__size-btn:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-divider-props__size-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
    color: rgb(13, 27, 42);
}

html.dark .studio-divider-props__size-btn--active {
    color: rgb(232, 224, 213);
}

.studio-divider-props__size-bar {
    display: block;
    width: 0.42rem;
    min-height: 0.35rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.18);
}

html.dark .studio-divider-props__size-bar {
    background: rgba(232, 224, 213, 0.28);
}

.studio-divider-props__size-btn--active .studio-divider-props__size-bar {
    background: rgb(232, 160, 32);
}

.studio-divider-props__hint {
    margin: 0.15rem 0 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(13, 27, 42, 0.45);
}

html.dark .studio-divider-props__hint {
    color: rgba(232, 224, 213, 0.45);
}

.studio-divider-props__reset-color {
    margin-top: 0.35rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(180, 83, 9, 0.72);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

html.dark .studio-divider-props__reset-color {
    color: rgba(232, 160, 32, 0.72);
}

.studio-divider-props__reset-color:hover {
    opacity: 0.85;
}

.studio-divider-props__weight-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    min-height: 3rem;
    padding: 0.5rem 0.35rem 0.45rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.62);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

html.dark .studio-divider-props__weight-btn {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.62);
}

.studio-divider-props__weight-btn:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-divider-props__weight-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
    color: rgb(13, 27, 42);
}

html.dark .studio-divider-props__weight-btn--active {
    color: rgb(232, 224, 213);
}

.studio-divider-props__weight-line {
    display: block;
    width: 2rem;
    min-height: 1px;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.28);
}

html.dark .studio-divider-props__weight-line {
    background: rgba(232, 224, 213, 0.38);
}

.studio-divider-props__weight-btn--active .studio-divider-props__weight-line {
    background: rgb(232, 160, 32);
}

.studio-divider-props__weight-line--dashed,
.studio-divider-props__weight-line--dotted {
    height: 0 !important;
    border-radius: 0;
    background: none;
    border-top-style: dashed;
    border-top-color: rgba(13, 27, 42, 0.28);
}

.studio-divider-props__weight-line--dotted {
    border-top-style: dotted;
}

html.dark .studio-divider-props__weight-line--dashed,
html.dark .studio-divider-props__weight-line--dotted {
    border-top-color: rgba(232, 224, 213, 0.38);
}

.studio-divider-props__weight-line--fade {
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(13, 27, 42, 0.28) 50%, transparent 100%) !important;
}

html.dark .studio-divider-props__weight-line--fade {
    background: linear-gradient(90deg, transparent 0%, rgba(232, 224, 213, 0.38) 50%, transparent 100%) !important;
}

.studio-divider-props__weight-btn--active .studio-divider-props__weight-line--fade {
    background: linear-gradient(90deg, transparent 0%, rgb(232, 160, 32) 50%, transparent 100%) !important;
}

.studio-divider-props__weight-btn--active .studio-divider-props__weight-line--dashed,
.studio-divider-props__weight-btn--active .studio-divider-props__weight-line--dotted {
    border-top-color: rgb(232, 160, 32);
}

/* ── Gallery block (canvas + public) ─────────────────────────────────── */
.lx-gallery__grid {
    display: grid;
    gap: 0.5rem;
}

.lx-gallery__grid--cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.lx-gallery__grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lx-gallery__grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lx-gallery__grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Single column: stack at multi-col tile scale, not full-bleed */
.lx-gallery--single-col .lx-gallery__grid {
    width: 100%;
    max-width: 15rem;
    margin-inline: auto;
}

.lx-gallery--cards.lx-gallery--single-col .lx-gallery__grid {
    max-width: 17.5rem;
}

.lx-gallery__item {
    overflow: hidden;
    border-radius: max(0.75rem, var(--nt-radius, 0.75rem));
}

.lx-gallery__media {
    width: 100%;
    overflow: hidden;
    background: color-mix(in oklab, var(--nt-text) 3%, var(--nt-bg));
}

.lx-gallery__media--square {
    aspect-ratio: 1;
}

.lx-gallery__media--card {
    aspect-ratio: 4 / 3;
}

.lx-gallery__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-gallery__cap {
    padding: 0.45rem 0.65rem 0.55rem;
    font-family: var(--nt-body-font);
    text-align: left;
}

.lx-gallery__cap--product {
    padding: 0.5rem 0.55rem 0.55rem;
    background: var(--nt-bg);
}

.lx-gallery__cap-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.lx-gallery__cap-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.lx-gallery__cap-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.45rem;
}

.lx-gallery__cap-text {
    min-width: 0;
}

.lx-gallery__title {
    font-size: 0.82em;
    font-weight: 700;
    line-height: 1.25;
    color: var(--nt-text);
}

.lx-gallery__cap--product .lx-gallery__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lx-gallery__subtitle {
    margin-top: 0.12rem;
    font-size: 0.72em;
    line-height: 1.35;
    opacity: 0.7;
    color: var(--nt-text);
}

.lx-gallery__cap--product .lx-gallery__subtitle {
    margin-top: 0.2rem;
}

.lx-gallery__price {
    flex-shrink: 0;
    max-width: 5.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78em;
    font-weight: 700;
    color: var(--nt-primary);
}

.lx-gallery__cap--product .lx-gallery__price {
    margin-top: 0.1rem;
    max-width: none;
    font-size: 0.76em;
    color: var(--nt-secondary);
}

.lx-gallery__inquiry {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    /* Uses Customize → secondary accent */
    background: var(--nt-secondary);
    color: color-mix(in oklab, var(--nt-text) 90%, var(--nt-bg));
    text-decoration: none;
    box-shadow: 0 1px 2px color-mix(in oklab, var(--nt-secondary) 35%, transparent);
    transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
}

.lx-gallery__inquiry--contact {
    /* Uses Customize → primary brand color */
    background: var(--nt-primary);
    color: #fff;
    box-shadow: 0 1px 2px color-mix(in oklab, var(--nt-primary) 35%, transparent);
}

.lx-gallery__inquiry i {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.lx-gallery__inquiry:hover {
    opacity: 0.92;
    transform: scale(1.04);
}

.lx-gallery__inquiry--preview {
    pointer-events: none;
    opacity: 0.92;
}

.lx-gallery__badge {
    display: inline-flex;
    max-width: 70%;
    margin-top: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0.14rem 0.5rem;
    font-size: 0.58em;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.3;
}

.lx-gallery__badge--primary {
    color: var(--nt-primary);
    background: color-mix(in oklab, var(--nt-primary) 14%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-primary) 28%, transparent);
}

.lx-gallery__badge--secondary {
    color: color-mix(in oklab, var(--nt-secondary) 88%, var(--nt-text));
    background: color-mix(in oklab, var(--nt-secondary) 18%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-secondary) 32%, transparent);
}

.lx-gallery__cap--product .lx-gallery__badge {
    margin-top: 0.35rem;
}

.lx-gallery--public .lx-gallery__item {
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    box-shadow: 0 1px 2px color-mix(in oklab, var(--nt-text) 8%, transparent);
}

.lx-gallery--studio {
    margin-top: 0.35rem;
}

.lx-gallery--studio .lx-gallery__item {
    border: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
    background: color-mix(in oklab, var(--nt-bg) 96%, var(--nt-text));
}

.lx-gallery--studio .lx-gallery__cap {
    padding: 0.35rem 0.45rem 0.4rem;
}

.lx-gallery--studio .lx-gallery__title {
    font-size: 0.7em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lx-gallery--studio .lx-gallery__price {
    font-size: 0.68em;
}

.lx-gallery--studio .lx-gallery__cap--product .lx-gallery__price {
    color: var(--nt-secondary);
}

.lx-gallery__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    aspect-ratio: 1;
    border-radius: max(0.65rem, var(--nt-radius, 0.65rem));
    border: 1px dashed color-mix(in oklab, var(--nt-text) 18%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    color: color-mix(in oklab, var(--nt-text) 42%, transparent);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.lx-gallery__placeholder--card {
    aspect-ratio: 4 / 3;
}

.lx-gallery__placeholder i {
    font-size: 0.95rem;
    opacity: 0.55;
}

.studio-block-shell.is-selected .lx-gallery--empty .lx-gallery__placeholder {
    border-color: color-mix(in oklab, rgb(232, 160, 32) 42%, transparent);
    background: color-mix(in oklab, rgb(232, 160, 32) 5%, var(--nt-bg));
}

/* ── Gallery properties panel ────────────────────────────────────────── */
.studio-gallery-props {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.studio-gallery-props__section {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.studio-gallery-props__label {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(180, 83, 9, 0.72);
}

html.dark .studio-gallery-props__label {
    color: rgba(232, 160, 32, 0.72);
}

.studio-gallery-props__choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-height: 4.35rem;
    padding: 0.55rem 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.72);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-gallery-props__choice {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.78);
}

.studio-gallery-props__choice:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-gallery-props__choice--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.12);
}

.studio-gallery-props__choice-sub {
    font-size: 0.62rem;
    font-weight: 500;
    opacity: 0.62;
    text-align: center;
    line-height: 1.25;
}

.studio-gallery-props__layout-thumb {
    display: block;
    width: 2.75rem;
    height: 1.75rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(13, 27, 42, 0.14);
    background: rgba(255, 255, 255, 0.65);
    position: relative;
    overflow: hidden;
}

html.dark .studio-gallery-props__layout-thumb {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.studio-gallery-props__layout-thumb--grid::before,
.studio-gallery-props__layout-thumb--grid::after {
    content: "";
    position: absolute;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 0.1rem;
    background: rgba(13, 27, 42, 0.16);
}

.studio-gallery-props__layout-thumb--grid::before {
    top: 0.22rem;
    left: 0.22rem;
    box-shadow: 0.82rem 0 0 rgba(13, 27, 42, 0.16), 0 0.82rem 0 rgba(13, 27, 42, 0.16), 0.82rem 0.82rem 0 rgba(13, 27, 42, 0.16);
}

.studio-gallery-props__layout-thumb--grid::after {
    display: none;
}

.studio-gallery-props__layout-thumb--cards::before {
    content: "";
    position: absolute;
    inset: 0.18rem 0.22rem auto;
    height: 0.72rem;
    border-radius: 0.12rem;
    background: rgba(13, 27, 42, 0.16);
}

.studio-gallery-props__layout-thumb--cards::after {
    content: "";
    position: absolute;
    left: 0.22rem;
    right: 0.22rem;
    bottom: 0.18rem;
    height: 0.38rem;
    border-radius: 0.1rem;
    background: rgba(13, 27, 42, 0.1);
}

.studio-gallery-props__col-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.35rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.72);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

html.dark .studio-gallery-props__col-btn {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.78);
}

.studio-gallery-props__col-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
}

.studio-gallery-props__col-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    min-height: 0.65rem;
}

.studio-gallery-props__col-dots span {
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.22);
}

html.dark .studio-gallery-props__col-dots span {
    background: rgba(232, 224, 213, 0.28);
}

.studio-gallery-props__col-btn--active .studio-gallery-props__col-dots span {
    background: rgb(232, 160, 32);
}

.studio-gallery-props__toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
}

.studio-gallery-props__toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.studio-gallery-props__toggle-ui {
    position: relative;
    flex-shrink: 0;
    width: 2rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.14);
    transition: background 0.15s ease;
}

.studio-gallery-props__toggle-ui::after {
    content: "";
    position: absolute;
    top: 0.14rem;
    left: 0.14rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.15s ease;
}

.studio-gallery-props__toggle-input:checked + .studio-gallery-props__toggle-ui {
    background: rgb(232, 160, 32);
}

.studio-gallery-props__toggle-input:checked + .studio-gallery-props__toggle-ui::after {
    transform: translateX(0.85rem);
}

.studio-gallery-props__toggle-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.86);
}

html.dark .studio-gallery-props__toggle-title {
    color: rgba(232, 224, 213, 0.9);
}

.studio-gallery-props__toggle-sub {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.68rem;
    line-height: 1.35;
    color: rgba(13, 27, 42, 0.52);
}

html.dark .studio-gallery-props__toggle-sub {
    color: rgba(232, 224, 213, 0.48);
}

.studio-gallery-props__images-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.studio-gallery-props__count {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.45);
}

html.dark .studio-gallery-props__count {
    color: rgba(232, 224, 213, 0.45);
}

.studio-gallery-props__hint {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.35;
    color: rgba(13, 27, 42, 0.52);
}

.studio-gallery-props__hint--spaced {
    margin-bottom: 0.45rem;
}

.studio-gallery-props__hint--warn {
    margin-top: 0.45rem;
    color: rgba(180, 83, 9, 0.82);
}

html.dark .studio-gallery-props__hint {
    color: rgba(232, 224, 213, 0.48);
}

html.dark .studio-gallery-props__hint--warn {
    color: rgba(251, 191, 36, 0.88);
}

.studio-gallery-props__inquiry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.studio-gallery-props__inquiry-head .studio-gallery-props__hint {
    margin-top: 0.15rem;
}

.studio-gallery-props__inquiry-pill {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.studio-gallery-props__inquiry-pill--ready {
    color: rgba(21, 128, 61, 0.92);
    background: rgba(34, 197, 94, 0.12);
}

.studio-gallery-props__inquiry-pill--fallback {
    color: rgba(180, 83, 9, 0.92);
    background: rgba(251, 191, 36, 0.14);
}

.studio-gallery-props__inquiry-pill--missing {
    color: rgba(185, 28, 28, 0.92);
    background: rgba(248, 113, 113, 0.14);
}

.studio-gallery-props__inquiry-pill--neutral {
    color: rgba(13, 27, 42, 0.55);
    background: rgba(13, 27, 42, 0.06);
}

html.dark .studio-gallery-props__inquiry-pill--neutral {
    color: rgba(232, 224, 213, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.studio-gallery-props__inquiry-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-height: 4.5rem;
    padding: 0.5rem 0.35rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-gallery-props__inquiry-opt {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.studio-gallery-props__inquiry-opt:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-gallery-props__inquiry-opt--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.12);
}

.studio-gallery-props__inquiry-opt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
}

.studio-gallery-props__inquiry-opt--whatsapp .studio-gallery-props__inquiry-opt-icon {
    background: rgba(37, 211, 102, 0.14);
    color: #128c7e;
}

.studio-gallery-props__inquiry-opt--contact .studio-gallery-props__inquiry-opt-icon {
    background: rgba(14, 116, 144, 0.12);
    color: rgba(14, 116, 144, 0.92);
}

.studio-gallery-props__inquiry-opt--muted .studio-gallery-props__inquiry-opt-icon {
    background: rgba(13, 27, 42, 0.06);
    color: rgba(13, 27, 42, 0.45);
}

html.dark .studio-gallery-props__inquiry-opt--muted .studio-gallery-props__inquiry-opt-icon {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 224, 213, 0.45);
}

.studio-gallery-props__inquiry-opt-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.82);
}

html.dark .studio-gallery-props__inquiry-opt-label {
    color: rgba(232, 224, 213, 0.88);
}

.studio-gallery-props__inquiry-opt-sub {
    font-size: 0.58rem;
    line-height: 1.25;
    text-align: center;
    color: rgba(13, 27, 42, 0.48);
}

html.dark .studio-gallery-props__inquiry-opt-sub {
    color: rgba(232, 224, 213, 0.45);
}

.studio-gallery-props__inquiry-status {
    margin-top: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: rgba(13, 27, 42, 0.025);
}

html.dark .studio-gallery-props__inquiry-status {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.studio-gallery-props__inquiry-status--ready {
    border-color: rgba(34, 197, 94, 0.22);
    background: rgba(34, 197, 94, 0.06);
}

.studio-gallery-props__inquiry-status--fallback {
    border-color: rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.07);
}

.studio-gallery-props__inquiry-status--missing {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(248, 113, 113, 0.07);
}

.studio-gallery-props__inquiry-status-title {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.82);
}

html.dark .studio-gallery-props__inquiry-status-title {
    color: rgba(232, 224, 213, 0.9);
}

.studio-gallery-props__inquiry-status-detail {
    margin: 0.15rem 0 0;
    font-size: 0.62rem;
    line-height: 1.4;
    color: rgba(13, 27, 42, 0.55);
}

html.dark .studio-gallery-props__inquiry-status-detail {
    color: rgba(232, 224, 213, 0.52);
}

.studio-gallery-props__inquiry-example {
    margin: 0.45rem 0 0;
    padding-top: 0.45rem;
    border-top: 1px dashed rgba(13, 27, 42, 0.1);
}

html.dark .studio-gallery-props__inquiry-example {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.studio-gallery-props__inquiry-example-label {
    display: block;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.42);
}

html.dark .studio-gallery-props__inquiry-example-label {
    color: rgba(232, 224, 213, 0.42);
}

.studio-gallery-props__inquiry-example-text {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.62rem;
    line-height: 1.45;
    font-style: italic;
    color: rgba(13, 27, 42, 0.68);
}

html.dark .studio-gallery-props__inquiry-example-text {
    color: rgba(232, 224, 213, 0.65);
}

.studio-gallery-props__choice--row {
    flex-direction: row;
    align-items: center;
    padding: 0.55rem 0.65rem;
}

.studio-gallery-props__choice-row-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
}

.studio-gallery-props__choice-row-main .studio-gallery-props__choice-sub {
    text-align: left;
}

.studio-gallery-props__upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px dashed rgba(13, 27, 42, 0.16);
    background: rgba(255, 255, 255, 0.35);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.62);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

html.dark .studio-gallery-props__upload {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.62);
}

.studio-gallery-props__upload:hover {
    border-color: rgba(232, 160, 32, 0.42);
    background: rgba(232, 160, 32, 0.05);
}

.studio-gallery-props__upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.studio-gallery-props__upload-list:not(:empty) {
    margin-top: 0.5rem;
}

.studio-gallery-props__item-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.studio-gallery-props__item {
    display: flex;
    gap: 0.55rem;
    padding: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.35);
}

html.dark .studio-gallery-props__item {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.studio-gallery-props__item-thumb {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    overflow: hidden;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: rgba(13, 27, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

html.dark .studio-gallery-props__item-thumb {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.studio-gallery-props__item-fields {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.studio-gallery-props__item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.5rem;
    gap: 0.35rem;
}

.studio-gallery-props__item-input {
    width: 100%;
    border-radius: 0.45rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.65);
    padding: 0.35rem 0.45rem;
    font-size: 0.72rem;
    color: rgba(13, 27, 42, 0.86);
}

html.dark .studio-gallery-props__item-input {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 224, 213, 0.9);
}

.studio-gallery-props__item-input--price {
    text-align: right;
}

.studio-gallery-props__item-remove {
    align-self: flex-start;
    margin-top: 0.1rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.66rem;
    font-weight: 600;
    color: rgba(220, 38, 38, 0.78);
    cursor: pointer;
}

.studio-gallery-props__item-remove:hover {
    color: rgb(220, 38, 38);
}

.studio-gallery-props__item--compact {
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.45rem;
}

.studio-gallery-props__item-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    margin-left: auto;
    flex-shrink: 0;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: rgba(13, 27, 42, 0.42);
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

html.dark .studio-gallery-props__item-delete {
    color: rgba(232, 224, 213, 0.42);
}

.studio-gallery-props__item-delete:hover {
    background: rgba(220, 38, 38, 0.1);
    color: rgb(220, 38, 38);
}

.studio-gallery-props__item-delete i {
    font-size: 0.78rem;
}

.studio-gallery-props__preview-strip {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.studio-gallery-props__preview-thumb {
    width: 2.35rem;
    height: 2.35rem;
    overflow: hidden;
    border-radius: 0.45rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.04);
}

html.dark .studio-gallery-props__preview-thumb {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.studio-gallery-props__preview-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 0.35rem;
    border-radius: 0.45rem;
    border: 1px dashed rgba(13, 27, 42, 0.16);
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.52);
}

html.dark .studio-gallery-props__preview-more {
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(232, 224, 213, 0.52);
}

.studio-gallery-props__manage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.55rem;
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.82);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-gallery-props__manage-btn {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(232, 224, 213, 0.9);
}

.studio-gallery-props__manage-btn:hover {
    border-color: rgba(232, 160, 32, 0.42);
    background: rgba(232, 160, 32, 0.06);
}

/* ── Gallery manager modal ───────────────────────────────────────────── */
.studio-gallery-manager {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.studio-gallery-manager__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0.72);
    backdrop-filter: blur(4px);
}

.studio-gallery-manager__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 52rem);
    max-height: min(88vh, 40rem);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

html.dark .studio-gallery-manager__panel {
    background: #12151c;
    border-color: rgba(255, 255, 255, 0.08);
}

.studio-gallery-manager__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 0.85rem;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

html.dark .studio-gallery-manager__header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.studio-gallery-manager__eyebrow {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(180, 83, 9, 0.72);
}

html.dark .studio-gallery-manager__eyebrow {
    color: rgba(232, 160, 32, 0.72);
}

.studio-gallery-manager__title {
    margin: 0.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.92);
}

html.dark .studio-gallery-manager__title {
    color: rgba(232, 224, 213, 0.95);
}

.studio-gallery-manager__count {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.48);
}

html.dark .studio-gallery-manager__count {
    color: rgba(232, 224, 213, 0.48);
}

.studio-gallery-manager__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: rgba(13, 27, 42, 0.52);
    cursor: pointer;
}

html.dark .studio-gallery-manager__close {
    color: rgba(232, 224, 213, 0.52);
}

.studio-gallery-manager__close:hover {
    background: rgba(13, 27, 42, 0.06);
    color: rgba(13, 27, 42, 0.82);
}

html.dark .studio-gallery-manager__close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 224, 213, 0.92);
}

.studio-gallery-manager__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.75rem 1.1rem 0;
}

.studio-gallery-manager__upload-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.studio-gallery-manager__upload-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: rgba(13, 27, 42, 0.04);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.78);
    cursor: pointer;
}

html.dark .studio-gallery-manager__upload-btn {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 224, 213, 0.82);
}

.studio-gallery-manager__upload-btn:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-gallery-manager__upload-list:not(:empty) {
    margin-top: 0.45rem;
}

.studio-gallery-manager__url-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.62);
    cursor: pointer;
}

html.dark .studio-gallery-manager__url-toggle {
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(232, 224, 213, 0.62);
}

.studio-gallery-manager__url-panel {
    padding: 0.55rem 1.1rem 0;
}

.studio-gallery-manager__url-hint {
    margin: 0.35rem 0 0;
    font-size: 0.68rem;
    color: rgba(13, 27, 42, 0.48);
}

html.dark .studio-gallery-manager__url-hint {
    color: rgba(232, 224, 213, 0.48);
}

.studio-gallery-manager__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0.85rem 1.1rem;
}

.studio-gallery-manager__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 12rem;
    border-radius: 0.75rem;
    border: 1px dashed rgba(13, 27, 42, 0.14);
    color: rgba(13, 27, 42, 0.48);
    text-align: center;
}

.studio-gallery-manager__empty i {
    font-size: 1.75rem;
    opacity: 0.45;
}

.studio-gallery-manager__empty p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.72);
}

html.dark .studio-gallery-manager__empty {
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(232, 224, 213, 0.48);
}

html.dark .studio-gallery-manager__empty p {
    color: rgba(232, 224, 213, 0.78);
}

.studio-gallery-manager__empty span {
    font-size: 0.72rem;
}

.studio-gallery-manager__layout {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .studio-gallery-manager__layout--split {
        flex-direction: row;
        align-items: stretch;
    }

    .studio-gallery-manager__layout--split .studio-gallery-manager__grid-wrap {
        flex: 1 1 58%;
        min-width: 0;
    }

    .studio-gallery-manager__layout--split .studio-gallery-manager__detail {
        flex: 1 1 42%;
        min-width: 0;
    }
}

.studio-gallery-manager__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    gap: 0.55rem;
}

.studio-gallery-manager__tile {
    position: relative;
    overflow: hidden;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.03);
    cursor: default;
}

.studio-gallery-manager__tile[role="button"] {
    cursor: pointer;
}

.studio-gallery-manager__tile.is-selected {
    border-color: rgba(232, 160, 32, 0.55);
    box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.28);
}

html.dark .studio-gallery-manager__tile {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.studio-gallery-manager__tile-media {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(13, 27, 42, 0.04);
    color: rgba(13, 27, 42, 0.28);
}

.studio-gallery-manager__tile-cap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.3rem 0.4rem;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.72);
}

.studio-gallery-manager__tile-price {
    flex-shrink: 0;
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(180, 83, 9, 0.82);
}

.studio-gallery-manager__tile-delete {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border: 0;
    border-radius: 0.4rem;
    background: rgba(13, 27, 42, 0.62);
    color: #fff;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.12s ease, background 0.12s ease;
}

.studio-gallery-manager__tile:hover .studio-gallery-manager__tile-delete,
.studio-gallery-manager__tile:focus-within .studio-gallery-manager__tile-delete {
    opacity: 1;
}

.studio-gallery-manager__tile-delete:hover {
    background: rgb(220, 38, 38);
}

.studio-gallery-manager__detail {
    border-radius: 0.75rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.025);
    overflow: hidden;
}

html.dark .studio-gallery-manager__detail {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.studio-gallery-manager__detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 10rem;
    padding: 1rem;
    text-align: center;
    color: rgba(13, 27, 42, 0.48);
}

.studio-gallery-manager__detail-empty i {
    font-size: 1.25rem;
    opacity: 0.55;
}

.studio-gallery-manager__detail-empty p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
}

.studio-gallery-manager__detail-panel {
    display: flex;
    flex-direction: column;
}

.studio-gallery-manager__detail-preview {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(13, 27, 42, 0.04);
}

.studio-gallery-manager__detail-fields {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.75rem;
}

.studio-gallery-manager__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.studio-gallery-manager__field > span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.48);
}

html.dark .studio-gallery-manager__field > span {
    color: rgba(232, 224, 213, 0.48);
}

.studio-gallery-manager__badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.studio-gallery-manager__badge-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.studio-gallery-manager__badge-preset {
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.62);
    cursor: pointer;
}

html.dark .studio-gallery-manager__badge-preset {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 224, 213, 0.62);
}

.studio-gallery-manager__badge-preset:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-gallery-manager__badge-tones {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.studio-gallery-manager__badge-tone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    border-radius: 999px;
    padding: 0.2rem 0.55rem 0.2rem 0.35rem;
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.72);
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

html.dark .studio-gallery-manager__badge-tone-btn {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 224, 213, 0.78);
}

.studio-gallery-manager__badge-tone-btn:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-gallery-manager__badge-tone-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.12);
}

.studio-gallery-manager__badge-tone-swatch {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(13, 27, 42, 0.12);
    flex-shrink: 0;
}

html.dark .studio-gallery-manager__badge-tone-swatch {
    border-color: rgba(255, 255, 255, 0.18);
}

.studio-gallery-manager__price-row {
    display: flex;
    gap: 0.35rem;
    align-items: stretch;
}

.studio-gallery-manager__price-currency {
    flex: 0 0 auto;
    width: 7.25rem;
    max-width: 42%;
    min-height: 2rem;
    padding: 0.35rem 1.5rem 0.35rem 0.5rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.82);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%230d1b2a' fill-opacity='0.45' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.45rem center;
}

html.dark .studio-gallery-manager__price-currency {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(232, 224, 213, 0.92);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23e8e0d5' fill-opacity='0.55' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
}

.studio-gallery-manager__price-amount {
    flex: 1 1 auto;
    min-width: 0;
}

.studio-gallery-manager__footer {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 1.1rem 1rem;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
}

html.dark .studio-gallery-manager__footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.studio-gallery-manager__done {
    min-height: 2.15rem;
    padding: 0.45rem 1rem;
    border: 0;
    border-radius: 0.6rem;
    background: linear-gradient(180deg, #f0b429 0%, #e8a020 100%);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0d1b2a;
    cursor: pointer;
}

.studio-gallery-manager__done:hover {
    filter: brightness(1.03);
}

/* Gallery canvas: click selected block to open manager */
.lx-gallery-manage-hit {
    position: relative;
}

.lx-gallery-manage-hit--active {
    cursor: pointer;
}

.lx-gallery-manage-hit--active .lx-gallery--studio {
    border-radius: 0.65rem;
    transition: box-shadow 0.15s ease;
}

.lx-gallery-manage-hit--active:hover .lx-gallery--studio {
    box-shadow: 0 0 0 1px color-mix(in oklab, rgb(232, 160, 32) 35%, transparent);
}

.lx-gallery-manage-hit__label {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 2;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.72);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    pointer-events: none;
}

.studio-gallery-manager__select-all {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.62);
    cursor: pointer;
}

html.dark .studio-gallery-manager__select-all {
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(232, 224, 213, 0.62);
}

.studio-gallery-manager__bulk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 1.1rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.55rem;
    background: rgba(232, 160, 32, 0.1);
    border: 1px solid rgba(232, 160, 32, 0.22);
}

.studio-gallery-manager__bulk-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(13, 27, 42, 0.78);
}

html.dark .studio-gallery-manager__bulk-count {
    color: rgba(232, 224, 213, 0.82);
}

.studio-gallery-manager__bulk-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.studio-gallery-manager__bulk-clear {
    border: 0;
    background: none;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(13, 27, 42, 0.55);
    cursor: pointer;
}

.studio-gallery-manager__bulk-delete {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 1.75rem;
    padding: 0.25rem 0.55rem;
    border: 0;
    border-radius: 0.45rem;
    background: rgb(220, 38, 38);
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.studio-gallery-manager__bulk-delete:hover {
    filter: brightness(1.05);
}

.studio-gallery-manager__grid-hint {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.45rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.42);
}

html.dark .studio-gallery-manager__grid-hint {
    color: rgba(232, 224, 213, 0.42);
}

.studio-gallery-manager__tile-grip {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border: 0;
    border-radius: 0.35rem;
    background: rgba(13, 27, 42, 0.62);
    color: #fff;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.studio-gallery-manager__tile:hover .studio-gallery-manager__tile-grip,
.studio-gallery-manager__tile:focus-within .studio-gallery-manager__tile-grip {
    opacity: 1;
}

.studio-gallery-manager__tile-grip:active {
    cursor: grabbing;
}

.studio-gallery-manager__tile-check {
    position: absolute;
    top: 0.25rem;
    left: 1.85rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transition: opacity 0.12s ease;
    cursor: pointer;
}

.studio-gallery-manager__tile:hover .studio-gallery-manager__tile-check,
.studio-gallery-manager__tile.is-bulk-selected .studio-gallery-manager__tile-check {
    opacity: 1;
}

.studio-gallery-manager__tile-check input {
    width: 0.85rem;
    height: 0.85rem;
    margin: 0;
    accent-color: rgb(232, 160, 32);
    cursor: pointer;
}

.studio-gallery-manager__tile.is-bulk-selected {
    border-color: rgba(232, 160, 32, 0.55);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.18);
}

.studio-gallery-manager__tile.is-selected {
    border-color: rgba(232, 160, 32, 0.55);
    box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.28);
}

/* ── Video block (studio + public) ── */
.lx-video {
    width: 100%;
}

.lx-video--width-full .lx-video__frame {
    max-width: 100%;
}

.lx-video--width-medium .lx-video__frame {
    max-width: 42rem;
    margin-inline: auto;
}

.lx-video--width-narrow .lx-video__frame {
    max-width: 28rem;
    margin-inline: auto;
}

.lx-video__frame {
    overflow: hidden;
    border-radius: max(14px, var(--nt-radius));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
}

.lx-video--studio .lx-video__frame {
    border-color: color-mix(in oklab, var(--nt-text) 10%, transparent);
}

.lx-video__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.lx-video__media--wide {
    aspect-ratio: 16 / 9;
}

.lx-video__media--portrait {
    aspect-ratio: 9 / 16;
    max-width: 20rem;
    margin-inline: auto;
}

.lx-video__media--square {
    aspect-ratio: 1 / 1;
    max-width: 24rem;
    margin-inline: auto;
}

.lx-video__media--cinema {
    aspect-ratio: 21 / 9;
}

.lx-video__iframe,
.lx-video__file {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.lx-video__studio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0.5rem;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 45%);
}

.lx-video__studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.lx-video__media--link,
.lx-video__link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--nt-text);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    transition: background 0.15s ease;
}

.lx-video__link-card:hover {
    background: color-mix(in oklab, var(--nt-text) 7%, var(--nt-bg));
}

.lx-video__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lx-video__thumb-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.lx-video__link-preview {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem;
    text-align: center;
}

.lx-video__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    color: #fff;
    background: var(--nt-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.lx-video__play--sm {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.7rem;
}

.lx-video__play i {
    margin-left: 0.12rem;
}

.lx-video__link-title {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--nt-body-font);
    line-height: 1.3;
}

.lx-video__link-host {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.6875rem;
    opacity: 0.65;
}

.lx-video__link-note {
    position: relative;
    z-index: 1;
    font-size: 0.625rem;
    font-weight: 500;
    opacity: 0.5;
}

.lx-video__media--empty {
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
}

.lx-video__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 100%;
    padding: 1.5rem;
    text-align: center;
}

.lx-video__empty-icon {
    font-size: 1.75rem;
    opacity: 0.22;
    color: var(--nt-text);
}

.lx-video__empty-title {
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.55;
    color: var(--nt-text);
}

.lx-video__empty-sub {
    font-size: 0.6875rem;
    opacity: 0.4;
    color: var(--nt-text);
}

.lx-video__caption {
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--nt-body-font);
    color: var(--nt-text);
    background: color-mix(in oklab, var(--nt-bg) 72%, transparent);
    border-top: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
}

/* Video properties panel */
.studio-video-props {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.studio-video-props__section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.studio-video-props__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.55);
}

html.dark .studio-video-props__label {
    color: rgba(232, 224, 213, 0.55);
}

.studio-video-props__input {
    width: 100%;
    border-radius: 0.625rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: #0d1b2a;
}

html.dark .studio-video-props__input {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(13, 27, 42, 0.55);
    color: #e8e0d5;
}

.studio-video-props__input--mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
}

.studio-video-props__status {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: rgba(13, 27, 42, 0.03);
}

html.dark .studio-video-props__status {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.studio-video-props__status--ready {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.08);
}

.studio-video-props__status-dot {
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.3rem;
    border-radius: 9999px;
    background: rgba(13, 27, 42, 0.25);
    flex-shrink: 0;
}

.studio-video-props__status--ready .studio-video-props__status-dot {
    background: rgb(16, 185, 129);
}

.studio-video-props__status-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d1b2a;
}

html.dark .studio-video-props__status-label {
    color: #e8e0d5;
}

.studio-video-props__status-msg {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: rgba(13, 27, 42, 0.55);
}

html.dark .studio-video-props__status-msg {
    color: rgba(232, 224, 213, 0.55);
}

.studio-video-props__thumb-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0.625rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    aspect-ratio: 16 / 9;
}

html.dark .studio-video-props__thumb-wrap {
    border-color: rgba(255, 255, 255, 0.08);
}

.studio-video-props__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-video-props__thumb-badge {
    position: absolute;
    left: 0.45rem;
    bottom: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
}

.studio-video-props__hint {
    font-size: 0.6875rem;
    line-height: 1.4;
    color: rgba(13, 27, 42, 0.48);
}

html.dark .studio-video-props__hint {
    color: rgba(232, 224, 213, 0.48);
}

.studio-video-props__providers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.studio-video-props__provider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: rgba(13, 27, 42, 0.03);
    font-size: 0.75rem;
    color: rgba(13, 27, 42, 0.55);
}

html.dark .studio-video-props__provider {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 224, 213, 0.55);
}

.studio-video-props__toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(13, 27, 42, 0.72);
    cursor: pointer;
}

html.dark .studio-video-props__toggle {
    color: rgba(232, 224, 213, 0.72);
}

.studio-video-props__choice,
.studio-video-props__width-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.45rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.65);
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    color: #0d1b2a;
    transition: border-color 0.12s ease, background 0.12s ease;
}

html.dark .studio-video-props__choice,
html.dark .studio-video-props__width-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #e8e0d5;
}

.studio-video-props__choice:hover,
.studio-video-props__width-btn:hover {
    border-color: rgba(232, 160, 32, 0.35);
}

.studio-video-props__choice--active,
.studio-video-props__width-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.08);
}

.studio-video-props__ratio-thumb {
    display: block;
    width: 2.5rem;
    border: 2px solid rgba(13, 27, 42, 0.2);
    border-radius: 0.25rem;
    background: rgba(13, 27, 42, 0.06);
}

html.dark .studio-video-props__ratio-thumb {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.studio-video-props__ratio-thumb--16-9 {
    aspect-ratio: 16 / 9;
}

.studio-video-props__ratio-thumb--9-16 {
    aspect-ratio: 9 / 16;
    width: 1.35rem;
}

.studio-video-props__ratio-thumb--1-1 {
    aspect-ratio: 1 / 1;
    width: 1.75rem;
}

.studio-video-props__ratio-thumb--21-9 {
    aspect-ratio: 21 / 9;
}

.studio-video-props__width-bar {
    display: block;
    height: 0.35rem;
    border-radius: 9999px;
    background: rgba(13, 27, 42, 0.15);
}

html.dark .studio-video-props__width-bar {
    background: rgba(255, 255, 255, 0.15);
}

.studio-video-props__width-bar--full {
    width: 2.5rem;
}

.studio-video-props__width-bar--medium {
    width: 1.75rem;
}

.studio-video-props__width-bar--narrow {
    width: 1.1rem;
}

.studio-video-props__choice--active .studio-video-props__ratio-thumb,
.studio-video-props__width-btn--active .studio-video-props__width-bar {
    border-color: rgba(232, 160, 32, 0.65);
    background: rgba(232, 160, 32, 0.25);
}

/* ── Embed block (studio + public) ── */
.lx-embed {
    width: 100%;
}

.lx-embed--width-full .lx-embed__frame {
    max-width: 100%;
}

.lx-embed--width-medium .lx-embed__frame {
    max-width: 42rem;
    margin-inline: auto;
}

.lx-embed--width-narrow .lx-embed__frame {
    max-width: 28rem;
    margin-inline: auto;
}

.lx-embed__frame {
    overflow: hidden;
    border-radius: max(14px, var(--nt-radius));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid color-mix(in oklab, var(--nt-text) 8%, transparent);
    background: color-mix(in oklab, var(--nt-bg) 72%, transparent);
}

.lx-embed--studio .lx-embed__frame {
    border-color: color-mix(in oklab, var(--nt-text) 10%, transparent);
}

.lx-embed__heading {
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--nt-heading-font);
    color: var(--nt-text);
    border-bottom: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
}

.lx-embed__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: color-mix(in oklab, var(--nt-text) 3%, var(--nt-bg));
}

.lx-embed__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.lx-embed__studio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0.5rem;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.28) 0%, transparent 40%);
}

.lx-embed__studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.lx-embed__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lx-embed__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem;
    text-align: center;
}

.lx-embed__empty-icon {
    font-size: 1.75rem;
    opacity: 0.22;
    color: var(--nt-text);
}

.lx-embed__empty-title {
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.55;
    color: var(--nt-text);
}

.lx-embed__empty-sub {
    max-width: 16rem;
    font-size: 0.6875rem;
    line-height: 1.4;
    opacity: 0.4;
    color: var(--nt-text);
}

.lx-embed__empty-host {
    margin-top: 0.15rem;
    font-size: 0.625rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    opacity: 0.45;
    color: var(--nt-text);
}

.studio-embed-props__height-bar {
    display: block;
    width: 2rem;
    border-radius: 0.2rem;
    background: rgba(13, 27, 42, 0.15);
}

html.dark .studio-embed-props__height-bar {
    background: rgba(255, 255, 255, 0.15);
}

.studio-embed-props__height-bar--360 {
    height: 0.45rem;
}

.studio-embed-props__height-bar--520 {
    height: 0.65rem;
}

.studio-embed-props__height-bar--720 {
    height: 0.85rem;
}

.studio-embed-props__height-bar--900 {
    height: 1rem;
}

.studio-video-props__choice--active .studio-embed-props__height-bar {
    background: rgba(232, 160, 32, 0.35);
}

/* ── Pricing block (studio + public) ── */
.lx-pricing {
    width: 100%;
}

.lx-pricing__header {
    margin-bottom: 1.5rem;
}

.lx-pricing__header--center {
    text-align: center;
}

.lx-pricing__header--left {
    text-align: left;
}

.lx-pricing__title {
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--nt-text);
    font-family: var(--nt-heading-font);
}

.lx-pricing__subtitle {
    margin-top: 0.45rem;
    max-width: 32rem;
    font-size: 0.88em;
    line-height: 1.45;
    opacity: 0.75;
    color: var(--nt-text);
}

.lx-pricing__header--center .lx-pricing__subtitle {
    margin-inline: auto;
}

.lx-pricing__grid {
    display: grid;
    gap: 1rem;
    max-width: 64rem;
    margin-inline: auto;
}

.lx-pricing__grid--1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 24rem;
}

.lx-pricing__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lx-pricing__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lx-pricing--studio .lx-pricing__grid--2,
.lx-pricing--studio .lx-pricing__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lx-pricing__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.25rem;
    border-radius: max(14px, var(--nt-radius));
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.lx-pricing__card--highlighted {
    border-color: color-mix(in oklab, var(--nt-primary) 45%, transparent);
    background: color-mix(in oklab, var(--nt-primary) 6%, var(--nt-bg));
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--nt-primary) 30%, transparent);
}

.lx-pricing__badge {
    position: absolute;
    top: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.18rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--nt-primary);
    white-space: nowrap;
}

.lx-pricing__plan-name {
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nt-primary);
    opacity: 0.85;
}

.lx-pricing__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: 0.45rem;
}

.lx-pricing__price {
    font-size: 1.55em;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--nt-text);
    font-family: var(--nt-heading-font);
    line-height: 1.1;
}

.lx-pricing--studio .lx-pricing__price {
    font-size: 1.25em;
}

.lx-pricing__period {
    font-size: 0.82em;
    opacity: 0.7;
    color: var(--nt-text);
}

.lx-pricing__features {
    flex: 1;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.lx-pricing__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.78em;
    line-height: 1.35;
    color: var(--nt-text);
    opacity: 0.9;
}

.lx-pricing__feature-dot {
    width: 0.35rem;
    height: 0.35rem;
    margin-top: 0.35rem;
    border-radius: 9999px;
    background: var(--nt-primary);
    flex-shrink: 0;
}

.lx-pricing__feature--more {
    opacity: 0.55;
    font-size: 0.72em;
}

.lx-pricing__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 9999px;
    font-size: 0.82em;
    font-weight: 600;
    text-decoration: none;
    color: var(--nt-text);
    background: color-mix(in oklab, var(--nt-text) 12%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-text) 16%, transparent);
    transition: opacity 0.15s ease, background 0.15s ease;
}

.lx-pricing__cta--highlighted {
    color: #fff;
    background: var(--nt-primary);
    border-color: transparent;
}

.lx-pricing--public .lx-pricing__cta:hover {
    opacity: 0.92;
}

.lx-pricing__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 2rem 1.25rem;
    border-radius: max(14px, var(--nt-radius));
    border: 1px dashed color-mix(in oklab, var(--nt-text) 18%, transparent);
    text-align: center;
}

.lx-pricing__empty-icon {
    font-size: 1.5rem;
    opacity: 0.22;
    color: var(--nt-text);
}

.lx-pricing__empty-title {
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.55;
    color: var(--nt-text);
}

.lx-pricing__empty-sub {
    max-width: 16rem;
    font-size: 0.6875rem;
    line-height: 1.4;
    opacity: 0.4;
    color: var(--nt-text);
}

/* Pricing properties panel */
.studio-pricing-props__add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(232, 160, 32, 0.35);
    background: rgba(232, 160, 32, 0.08);
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d1b2a;
}

html.dark .studio-pricing-props__add-btn {
    color: #e8e0d5;
}

.studio-pricing-props__plan {
    border-radius: 0.75rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.55);
    padding: 0.75rem;
}

html.dark .studio-pricing-props__plan {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.studio-pricing-props__plan--highlighted {
    border-color: rgba(232, 160, 32, 0.45);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.12);
}

.studio-pricing-props__plan-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.studio-pricing-props__plan-index {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.55);
}

html.dark .studio-pricing-props__plan-index {
    color: rgba(232, 224, 213, 0.55);
}

.studio-pricing-props__plan-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.studio-pricing-props__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    color: rgba(13, 27, 42, 0.65);
}

html.dark .studio-pricing-props__icon-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 224, 213, 0.65);
}

.studio-pricing-props__highlight-btn,
.studio-pricing-props__remove-btn {
    padding: 0.25rem 0.5rem;
    border-radius: 0.45rem;
    font-size: 0.6875rem;
    font-weight: 600;
}

.studio-pricing-props__highlight-btn {
    border: 1px solid rgba(232, 160, 32, 0.25);
    color: rgb(180, 120, 10);
    background: rgba(232, 160, 32, 0.06);
}

.studio-pricing-props__highlight-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.14);
}

.studio-pricing-props__remove-btn {
    color: rgb(220, 80, 80);
    background: transparent;
}

.studio-pricing-props__plan-fields {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.studio-pricing-props__align-thumb {
    display: block;
    width: 2.25rem;
    height: 0.55rem;
    border-radius: 0.2rem;
    background: rgba(13, 27, 42, 0.12);
}

html.dark .studio-pricing-props__align-thumb {
    background: rgba(255, 255, 255, 0.12);
}

.studio-pricing-props__align-thumb--center {
    margin-inline: auto;
}

.studio-pricing-props__align-thumb--left {
    margin-right: auto;
}

.studio-video-props__choice--active .studio-pricing-props__align-thumb {
    background: rgba(232, 160, 32, 0.35);
}

@media (max-width: 640px) {
    .lx-pricing__grid--2,
    .lx-pricing__grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Booking block (studio + public) ── */
.lx-booking {
    width: 100%;
    padding: 1.1rem;
    border-radius: max(16px, var(--nt-radius));
    border: 1px solid color-mix(in oklab, var(--nt-primary) 28%, transparent);
    background: color-mix(in oklab, var(--nt-primary) 8%, var(--nt-bg));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lx-booking__header {
    margin-bottom: 0.85rem;
}

.lx-booking__eyebrow {
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nt-primary);
    opacity: 0.9;
}

.lx-booking__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.88em;
    line-height: 1.45;
    opacity: 0.75;
    color: var(--nt-text);
}

.lx-booking__slots {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.lx-booking__slot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
}

.lx-booking__slot--ready {
    border-color: color-mix(in oklab, var(--nt-primary) 22%, transparent);
}

.lx-booking__slot-main {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
    flex: 1 1 12rem;
}

.lx-booking__slot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.55rem;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--nt-primary);
    background: color-mix(in oklab, var(--nt-primary) 12%, var(--nt-bg));
}

.lx-booking__slot-label {
    font-size: 0.84em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--nt-text);
}

.lx-booking__slot-meta {
    margin-top: 0.15rem;
    font-size: 0.72em;
    line-height: 1.35;
    opacity: 0.72;
    color: var(--nt-text);
}

.lx-booking__slot-meta--muted {
    opacity: 0.55;
}

.lx-booking__slot-location {
    margin-top: 0.15rem;
    font-size: 0.68em;
    opacity: 0.65;
    color: var(--nt-text);
}

.lx-booking__calendar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.lx-booking__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.38rem 0.7rem;
    border-radius: 0.55rem;
    font-size: 0.72em;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.lx-booking__cta--primary {
    color: #fff;
    background: var(--nt-primary);
}

.lx-booking__cta--secondary {
    color: var(--nt-primary);
    background: color-mix(in oklab, var(--nt-primary) 10%, var(--nt-bg));
    border: 1px solid color-mix(in oklab, var(--nt-primary) 30%, transparent);
}

.lx-booking__cta--ghost {
    color: var(--nt-primary);
    border: 1px solid color-mix(in oklab, var(--nt-primary) 35%, transparent);
    background: transparent;
}

.lx-booking__cta--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.lx-booking--public .lx-booking__cta--primary:hover,
.lx-booking--public .lx-booking__cta--secondary:hover {
    opacity: 0.92;
}

.lx-booking__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem 1rem;
    border-radius: 0.85rem;
    border: 1px dashed color-mix(in oklab, var(--nt-text) 18%, transparent);
    text-align: center;
}

.lx-booking__empty-icon {
    font-size: 1.5rem;
    opacity: 0.22;
    color: var(--nt-text);
}

.lx-booking__empty-title {
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.55;
    color: var(--nt-text);
}

.lx-booking__empty-sub {
    max-width: 16rem;
    font-size: 0.6875rem;
    line-height: 1.4;
    opacity: 0.4;
    color: var(--nt-text);
}

.studio-booking-props__add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(232, 160, 32, 0.35);
    background: rgba(232, 160, 32, 0.08);
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d1b2a;
}

html.dark .studio-booking-props__add-btn {
    color: #e8e0d5;
}

.studio-booking-props__slot {
    border-radius: 0.75rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.55);
    padding: 0.75rem;
}

html.dark .studio-booking-props__slot {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.studio-booking-props__slot--ready {
    border-color: rgba(16, 185, 129, 0.25);
}

.studio-booking-props__slot-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.studio-booking-props__slot-index {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.55);
}

html.dark .studio-booking-props__slot-index {
    color: rgba(232, 224, 213, 0.55);
}

.studio-booking-props__slot-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.studio-booking-props__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    color: rgba(13, 27, 42, 0.65);
}

html.dark .studio-booking-props__icon-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 224, 213, 0.65);
}

.studio-booking-props__remove-btn {
    padding: 0.25rem 0.5rem;
    border-radius: 0.45rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgb(220, 80, 80);
    background: transparent;
}

.studio-booking-props__action-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.studio-booking-props__action-btn {
    padding: 0.45rem 0.55rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.65);
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    color: #0d1b2a;
}

html.dark .studio-booking-props__action-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #e8e0d5;
}

.studio-booking-props__action-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.1);
}

.studio-booking-props__fields {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.studio-booking-props__days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.studio-booking-props__day-btn {
    min-width: 2.5rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.65);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #0d1b2a;
}

html.dark .studio-booking-props__day-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #e8e0d5;
}

.studio-booking-props__day-btn--active {
    border-color: rgba(232, 160, 32, 0.55);
    background: rgba(232, 160, 32, 0.12);
}

.lx-booking__open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: var(--nt-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: opacity 0.15s ease;
}

.lx-booking--public .lx-booking__open-btn:hover {
    opacity: 0.92;
}

.lx-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(13, 27, 42, 0.55);
    backdrop-filter: blur(4px);
}

.lx-booking-modal__panel {
    width: min(100%, 24rem);
    max-height: min(90vh, 34rem);
    overflow: auto;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

html.dark .lx-booking-modal__panel {
    background: #12141a;
    border-color: rgba(255, 255, 255, 0.08);
}

.lx-booking-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.5rem;
}

.lx-booking-modal__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.55;
    color: #0d1b2a;
}

html.dark .lx-booking-modal__eyebrow {
    color: #e8e0d5;
}

.lx-booking-modal__title {
    margin-top: 0.15rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d1b2a;
}

html.dark .lx-booking-modal__title {
    color: #e8e0d5;
}

.lx-booking-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: transparent;
    color: rgba(13, 27, 42, 0.65);
}

html.dark .lx-booking-modal__close {
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(232, 224, 213, 0.65);
}

.lx-booking-modal__body {
    padding: 0.5rem 1rem 1rem;
}

.lx-booking-modal__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nt-primary, #0e7490);
    background: transparent;
    border: 0;
}

.lx-booking-modal__selected-date {
    margin-bottom: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0d1b2a;
}

html.dark .lx-booking-modal__selected-date {
    color: #e8e0d5;
}

.lx-booking-cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.lx-booking-cal__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.03);
    color: #0d1b2a;
}

html.dark .lx-booking-cal__nav-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #e8e0d5;
}

.lx-booking-cal__month {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0d1b2a;
}

html.dark .lx-booking-cal__month {
    color: #e8e0d5;
}

.lx-booking-cal__weekdays,
.lx-booking-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.lx-booking-cal__weekdays {
    margin-bottom: 0.35rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-align: center;
    opacity: 0.55;
    color: #0d1b2a;
}

html.dark .lx-booking-cal__weekdays {
    color: #e8e0d5;
}

.lx-booking-cal__day {
    aspect-ratio: 1;
    border-radius: 0.55rem;
    border: 1px solid transparent;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0d1b2a;
}

html.dark .lx-booking-cal__day {
    color: #e8e0d5;
}

.lx-booking-cal__day.is-outside {
    opacity: 0.35;
}

.lx-booking-cal__day.is-disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.lx-booking-cal__day.is-today {
    border-color: color-mix(in oklab, var(--nt-primary, #0e7490) 35%, transparent);
}

.lx-booking-cal__day.is-selected {
    color: #fff;
    background: var(--nt-primary, #0e7490);
    border-color: transparent;
}

.lx-booking-time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    max-height: 14rem;
    overflow: auto;
}

.lx-booking-time-slot {
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.03);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0d1b2a;
}

html.dark .lx-booking-time-slot {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #e8e0d5;
}

.lx-booking-time-slot.is-selected {
    color: #fff;
    background: var(--nt-primary, #0e7490);
    border-color: transparent;
}

.lx-booking-confirm {
    text-align: center;
    padding: 0.5rem 0 0.85rem;
}

.lx-booking-confirm__icon {
    font-size: 1.75rem;
    color: var(--nt-primary, #0e7490);
    opacity: 0.85;
}

.lx-booking-confirm__when {
    margin-top: 0.45rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0d1b2a;
}

html.dark .lx-booking-confirm__when {
    color: #e8e0d5;
}

.lx-booking-confirm__meta {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    opacity: 0.65;
    color: #0d1b2a;
}

html.dark .lx-booking-confirm__meta {
    color: #e8e0d5;
}

.lx-booking-confirm__actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

body.lx-booking-modal-open {
    overflow: hidden;
}

[x-cloak] {
    display: none !important;
}

/* ── Studio properties: high-contrast selected states ── */
.studio-btn-props__choice--active,
.studio-btn-props__icon-btn--active,
.studio-divider-props__choice--active,
.studio-divider-props__size-btn--active,
.studio-divider-props__weight-btn--active,
.studio-gallery-props__choice--active,
.studio-gallery-props__col-btn--active,
.studio-gallery-props__inquiry-opt--active,
.studio-video-props__choice--active,
.studio-video-props__width-btn--active,
.studio-booking-props__action-btn--active,
.studio-booking-props__day-btn--active,
.studio-pricing-props__highlight-btn--active {
    border-color: rgb(212, 145, 20) !important;
    border-width: 2px;
    background: rgb(232, 160, 32) !important;
    color: #0d1b2a !important;
    box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.28);
    font-weight: 700;
    opacity: 1;
}

html.dark .studio-btn-props__choice--active,
html.dark .studio-btn-props__icon-btn--active,
html.dark .studio-divider-props__choice--active,
html.dark .studio-divider-props__size-btn--active,
html.dark .studio-divider-props__weight-btn--active,
html.dark .studio-gallery-props__choice--active,
html.dark .studio-gallery-props__col-btn--active,
html.dark .studio-gallery-props__inquiry-opt--active,
html.dark .studio-video-props__choice--active,
html.dark .studio-video-props__width-btn--active,
html.dark .studio-booking-props__action-btn--active,
html.dark .studio-booking-props__day-btn--active,
html.dark .studio-pricing-props__highlight-btn--active {
    border-color: rgb(232, 160, 32) !important;
    background: rgb(232, 160, 32) !important;
    color: #0d1b2a !important;
    box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.studio-btn-props__choice:not(.studio-btn-props__choice--active),
.studio-divider-props__choice:not(.studio-divider-props__choice--active),
.studio-divider-props__size-btn:not(.studio-divider-props__size-btn--active),
.studio-divider-props__weight-btn:not(.studio-divider-props__weight-btn--active),
.studio-gallery-props__choice:not(.studio-gallery-props__choice--active),
.studio-gallery-props__col-btn:not(.studio-gallery-props__col-btn--active),
.studio-gallery-props__inquiry-opt:not(.studio-gallery-props__inquiry-opt--active),
.studio-video-props__choice:not(.studio-video-props__choice--active),
.studio-video-props__width-btn:not(.studio-video-props__width-btn--active),
.studio-booking-props__action-btn:not(.studio-booking-props__action-btn--active),
.studio-booking-props__day-btn:not(.studio-booking-props__day-btn--active) {
    opacity: 0.55;
}

html.dark .studio-btn-props__choice:not(.studio-btn-props__choice--active),
html.dark .studio-divider-props__choice:not(.studio-divider-props__choice--active),
html.dark .studio-divider-props__size-btn:not(.studio-divider-props__size-btn--active),
html.dark .studio-divider-props__weight-btn:not(.studio-divider-props__weight-btn--active),
html.dark .studio-gallery-props__choice:not(.studio-gallery-props__choice--active),
html.dark .studio-gallery-props__col-btn:not(.studio-gallery-props__col-btn--active),
html.dark .studio-gallery-props__inquiry-opt:not(.studio-gallery-props__inquiry-opt--active),
html.dark .studio-video-props__choice:not(.studio-video-props__choice--active),
html.dark .studio-video-props__width-btn:not(.studio-video-props__width-btn--active),
html.dark .studio-booking-props__action-btn:not(.studio-booking-props__action-btn--active),
html.dark .studio-booking-props__day-btn:not(.studio-booking-props__day-btn--active) {
    opacity: 0.5;
    color: rgba(232, 224, 213, 0.55);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.07);
}

.studio-booking-props__day-btn--active,
.studio-booking-props__action-btn--active {
    position: relative;
}

.studio-booking-props__day-btn--active::after,
.studio-booking-props__action-btn--active::after {
    content: '';
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: #0d1b2a;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.studio-video-props__choice--active .studio-video-props__ratio-thumb,
.studio-video-props__width-btn--active .studio-video-props__width-bar,
.studio-video-props__choice--active .studio-embed-props__height-bar,
.studio-video-props__choice--active .studio-pricing-props__align-thumb,
.studio-gallery-props__choice--active .studio-gallery-props__layout-thumb,
.studio-gallery-props__col-btn--active .studio-gallery-props__col-dots span,
.studio-btn-props__choice--active .studio-btn-props__layout-thumb,
.studio-divider-props__size-btn--active .studio-divider-props__size-bar,
.studio-divider-props__weight-btn--active .studio-divider-props__weight-line {
    border-color: rgba(13, 27, 42, 0.45) !important;
    background: rgba(13, 27, 42, 0.18) !important;
}

.studio-gallery-manager__badge-tone-btn--active {
    border-color: rgb(232, 160, 32) !important;
    border-width: 2px;
    box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.35);
    opacity: 1;
}

html.dark .studio-gallery-manager__badge-tone-btn--active {
    border-color: rgb(232, 160, 32) !important;
    box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.4);
}

.studio-gallery-manager__badge-tone-btn:not(.studio-gallery-manager__badge-tone-btn--active) {
    opacity: 0.55;
}

html.dark .studio-gallery-manager__badge-tone-btn:not(.studio-gallery-manager__badge-tone-btn--active) {
    opacity: 0.5;
}

/* ── Hours block polish ── */
.lx-hours-block__head {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.lx-hours-block__status {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nt-primary, #0e7490);
    background: color-mix(in oklab, var(--nt-primary, #0e7490) 12%, transparent);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.studio-hours-props__days {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.studio-hours-props__day {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.35rem;
}

.studio-hours-props__day-toggle {
    flex: 0 0 3.1rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: rgba(13, 27, 42, 0.03);
    color: rgba(13, 27, 42, 0.55);
    border-radius: 0.55rem;
    padding: 0.45rem 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

html.dark .studio-hours-props__day-toggle {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(232, 224, 213, 0.5);
}

.studio-hours-props__day-toggle--active {
    border-color: rgb(212, 145, 20) !important;
    border-width: 2px;
    background: rgb(232, 160, 32) !important;
    color: #0d1b2a !important;
    font-weight: 700;
}

.studio-hours-props__times {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.studio-hours-props__time {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    font-size: 0.78rem !important;
}

.studio-hours-props__time-sep {
    opacity: 0.45;
    font-size: 0.75rem;
}

.studio-hours-props__closed-label {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.45;
}

/* ── Quick actions props ── */
.studio-quick-props__sync {
    width: 100%;
    border: 1px solid rgba(232, 160, 32, 0.35);
    background: rgba(232, 160, 32, 0.1);
    color: inherit;
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.studio-quick-props__sync:hover {
    background: rgba(232, 160, 32, 0.16);
}

/* ── Shared list props (faq, social, testimonials) ── */
.studio-list-props__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.studio-list-props__add {
    flex-shrink: 0;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: rgba(13, 27, 42, 0.04);
    color: inherit;
    border-radius: 0.55rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

html.dark .studio-list-props__add {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.studio-list-props__add:hover {
    border-color: rgba(232, 160, 32, 0.45);
    background: rgba(232, 160, 32, 0.08);
}

.studio-list-props__stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.studio-list-props__card {
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.03);
    border-radius: 0.85rem;
    padding: 0.75rem;
}

html.dark .studio-list-props__card {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.studio-list-props__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
}

.studio-list-props__remove {
    border: 0;
    background: transparent;
    color: #f87171;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
}

.studio-list-props__empty {
    border: 1px dashed rgba(13, 27, 42, 0.15);
    border-radius: 0.85rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.65;
}

html.dark .studio-list-props__empty {
    border-color: rgba(255, 255, 255, 0.12);
}

/* ── Contact / Quote ── */
.lx-contact-block {
    margin-top: 2.5rem;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 3%, var(--nt-bg));
    border-radius: max(16px, var(--nt-radius));
    padding: 1.35rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.lx-contact-block--studio {
    margin-top: 0;
}

.lx-contact-block__title {
    font-family: var(--nt-heading-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nt-text);
}

.lx-contact-block__lead {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    opacity: 0.65;
}

.lx-contact-block__fields {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.lx-contact-block__field {
    height: 2.25rem;
    border-radius: 0.65rem;
    border: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
}

.lx-contact-block__field--area {
    height: 4rem;
}

.lx-contact-block__form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lx-contact-block__input,
.lx-contact-block__textarea {
    width: 100%;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-bg) 92%, white);
    color: var(--nt-text);
    border-radius: var(--nt-radius);
    padding: 0.75rem 1rem;
    font-size: 0.875em;
    font-family: var(--nt-body-font);
}

.lx-contact-block__submit {
    margin-top: 0.35rem;
    width: 100%;
    border: 0;
    border-radius: 9999px;
    background: var(--nt-primary);
    color: #fff;
    font-family: var(--nt-body-font);
    font-size: 0.875em;
    font-weight: 700;
    padding: 0.85rem 1rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 14px color-mix(in oklab, var(--nt-primary) 25%, transparent);
}

.lx-contact-block__hint,
.lx-contact-block__inactive {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    opacity: 0.65;
}

.lx-contact-block__error,
.lx-contact-block__field-error {
    margin-top: 0.35rem;
    font-size: 0.75em;
    color: color-mix(in oklab, #dc2626 90%, var(--nt-text));
}

.lx-contact-block__inactive {
    border: 1px solid rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.1);
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    opacity: 0.9;
}

.lx-contact-block__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0.25rem;
}

.lx-contact-block__success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: color-mix(in oklab, var(--nt-primary) 22%, var(--nt-bg));
    color: var(--nt-primary);
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--nt-primary) 38%, transparent);
}

.lx-contact-block__success-kicker {
    margin-top: 1rem;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nt-primary);
    opacity: 0.85;
}

.lx-contact-block__success-title {
    margin-top: 0.35rem;
    font-family: var(--nt-heading-font);
    font-size: 1.25em;
    font-weight: 800;
    color: var(--nt-text);
}

.lx-contact-block__success-msg {
    margin-top: 0.45rem;
    max-width: 22rem;
    font-size: 0.875em;
    line-height: 1.5;
    opacity: 0.8;
}

.lx-contact-block__preview-note {
    margin-top: 1.25rem;
    width: 100%;
    max-width: 20rem;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75em;
    opacity: 0.85;
}

.lx-contact-block__preview-label {
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 0.25rem;
}

/* ── FAQ ── */
.lx-faq-block {
    margin-top: 2.5rem;
    width: 100%;
    font-family: var(--nt-body-font);
}

.lx-faq-block--studio {
    margin-top: 0;
}

.lx-faq-block__title {
    margin-bottom: 1rem;
    text-align: center;
    font-family: var(--nt-heading-font);
    font-size: 1.05em;
    font-weight: 800;
    color: var(--nt-text);
}

.lx-faq-block__list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.lx-faq-block__item {
    overflow: hidden;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    border-radius: 0.85rem;
}

.lx-faq-block__item--static,
.lx-faq-block__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

.lx-faq-block__summary::-webkit-details-marker {
    display: none;
}

.lx-faq-block__question {
    font-size: 0.9em;
    font-weight: 700;
    color: var(--nt-text);
}

.lx-faq-block__chevron {
    font-size: 0.65rem;
    opacity: 0.4;
}

.lx-faq-block__chevron-svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--nt-primary);
    transition: transform 0.2s ease;
}

.lx-faq-block__answer {
    border-top: 1px solid color-mix(in oklab, var(--nt-text) 10%, transparent);
    padding: 0.85rem 1rem;
    font-size: 0.875em;
    line-height: 1.55;
    opacity: 0.75;
    color: var(--nt-text);
}

.lx-faq-block__empty {
    border: 1px dashed color-mix(in oklab, var(--nt-text) 15%, transparent);
    border-radius: 0.85rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.45;
}

/* ── Testimonials ── */
.lx-testimonials-block {
    margin-top: 2.5rem;
    width: 100%;
    font-family: var(--nt-body-font);
}

.lx-testimonials-block--studio {
    margin-top: 0;
}

.lx-testimonials-block__title {
    margin-bottom: 1rem;
    text-align: center;
    font-family: var(--nt-heading-font);
    font-size: 1.05em;
    font-weight: 800;
    color: var(--nt-text);
}

.lx-testimonials-block__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .lx-testimonials-block__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.lx-testimonials-block__card {
    display: flex;
    flex-direction: column;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    border-radius: max(16px, var(--nt-radius));
    padding: 1rem;
    text-align: left;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.04);
}

.lx-testimonials-block__stars {
    display: flex;
    gap: 0.1rem;
    margin-bottom: 0.5rem;
}

.lx-testimonials-block__star {
    font-size: 0.8rem;
    color: color-mix(in oklab, var(--nt-text) 18%, transparent);
}

.lx-testimonials-block__star--on {
    color: var(--nt-primary);
}

.lx-testimonials-block__quote {
    flex: 1;
    font-size: 0.9em;
    line-height: 1.5;
    opacity: 0.9;
    color: var(--nt-text);
}

.lx-testimonials-block__meta {
    margin-top: 0.75rem;
    font-size: 0.78em;
}

.lx-testimonials-block__name {
    display: block;
    font-weight: 700;
    color: var(--nt-text);
}

.lx-testimonials-block__role {
    display: block;
    opacity: 0.65;
}

.lx-testimonials-block__empty {
    border: 1px dashed color-mix(in oklab, var(--nt-text) 15%, transparent);
    border-radius: 0.85rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.45;
}

/* ── Newsletter ── */
.lx-newsletter-block {
    margin-top: 2.5rem;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    border-radius: max(16px, var(--nt-radius));
    padding: 1.15rem;
    text-align: left;
}

.lx-newsletter-block--studio {
    margin-top: 0;
}

.lx-newsletter-block__title {
    font-family: var(--nt-heading-font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--nt-text);
}

.lx-newsletter-block__subtitle {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    opacity: 0.65;
}

.lx-newsletter-block__form,
.lx-newsletter-block__row {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.45rem;
}

.lx-newsletter-block__input,
.lx-newsletter-block__fake-input {
    flex: 1;
    min-width: 0;
    height: 2.35rem;
    border: 1px solid color-mix(in oklab, var(--nt-text) 12%, transparent);
    background: color-mix(in oklab, var(--nt-text) 4%, var(--nt-bg));
    border-radius: 0.65rem;
    padding: 0 0.85rem;
    color: var(--nt-text);
    font-size: 0.85rem;
}

.lx-newsletter-block__submit {
    flex-shrink: 0;
    border: 0;
    border-radius: 0.65rem;
    background: var(--nt-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.55rem 0.85rem;
    display: inline-flex;
    align-items: center;
}

.lx-newsletter-block__hint {
    margin-top: 0.55rem;
    font-size: 0.7rem;
    opacity: 0.55;
}

/* ── Profile / Social / Nav props ── */
.studio-profile-props__logo-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.studio-profile-props__logo-preview {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
    padding: 0.2rem;
    box-shadow: 0 0 0 2px rgba(232, 160, 32, 0.3);
}

.studio-profile-props__logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.studio-profile-props__logo-fallback {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0d1b2a, rgba(232, 160, 32, 0.65));
}

.studio-profile-props__file {
    display: block;
    width: 100%;
    font-size: 0.72rem;
    opacity: 0.8;
}

.studio-social-props__row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.studio-social-props__icon {
    margin-top: 0.15rem;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(255, 255, 255, 0.6);
}

html.dark .studio-social-props__icon {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.studio-nav-props__tab-row,
.studio-nav-props__fixed {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.03);
    border-radius: 0.75rem;
    padding: 0.45rem 0.65rem;
}

html.dark .studio-nav-props__tab-row,
html.dark .studio-nav-props__fixed {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.studio-nav-props__fixed {
    border-color: rgba(232, 160, 32, 0.25);
    background: rgba(232, 160, 32, 0.06);
}

.studio-nav-props__grip {
    border: 0;
    background: transparent;
    color: inherit;
    opacity: 0.4;
    cursor: grab;
    padding: 0.15rem;
}

.studio-nav-props__tab-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: inherit;
}

.studio-nav-props__fixed-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.45;
    color: rgb(232, 160, 32);
}

/* ── Customize theme properties ── */
.studio-customize-props .studio-video-props__section {
    margin-top: 0;
}

.studio-customize-preset {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
    border: 1px solid rgba(13, 27, 42, 0.1);
    background: rgba(13, 27, 42, 0.03);
    border-radius: 0.75rem;
    padding: 0.7rem 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

html.dark .studio-customize-preset {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.studio-customize-preset:hover {
    border-color: rgba(232, 160, 32, 0.45);
    background: rgba(232, 160, 32, 0.06);
}

.studio-customize-preset__swatches {
    display: flex;
    gap: 0.3rem;
}

.studio-customize-preset__swatches span {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
}

html.dark .studio-customize-preset__swatches span {
    border-color: rgba(255, 255, 255, 0.14);
}

.studio-customize-preset__meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.studio-customize-preset__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.2;
}

.studio-customize-preset__hint {
    font-size: 0.65rem;
    opacity: 0.55;
    line-height: 1.2;
}

.studio-customize-color {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

html.dark .studio-customize-color {
    border-color: rgba(255, 255, 255, 0.12);
}

.studio-customize-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(232, 160, 32, 0.35);
    background: rgba(232, 160, 32, 0.08);
    color: inherit;
    border-radius: 0.65rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.studio-customize-link-btn:hover {
    background: rgba(232, 160, 32, 0.14);
}

/* ── Public storefront scrollbar (live + studio preview) ── */
html:has(#ntPublicRoot),
body:has(#ntPublicRoot) {
    scrollbar-width: thin;
    scrollbar-color:
        color-mix(in oklab, var(--nt-primary, #06b6d4) 50%, transparent)
        color-mix(in oklab, var(--nt-text, #0f172a) 8%, transparent);
}

html:has(#ntPublicRoot)::-webkit-scrollbar,
body:has(#ntPublicRoot)::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

html:has(#ntPublicRoot)::-webkit-scrollbar-track,
body:has(#ntPublicRoot)::-webkit-scrollbar-track {
    background: color-mix(in oklab, var(--nt-text, #0f172a) 6%, transparent);
    border-radius: 999px;
}

html:has(#ntPublicRoot)::-webkit-scrollbar-thumb,
body:has(#ntPublicRoot)::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    background-color: color-mix(in oklab, var(--nt-primary, #06b6d4) 42%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--nt-primary, #06b6d4) 18%, transparent);
}

html:has(#ntPublicRoot)::-webkit-scrollbar-thumb:hover,
body:has(#ntPublicRoot)::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in oklab, var(--nt-primary, #06b6d4) 68%, transparent);
}

html:has(#ntPublicRoot)::-webkit-scrollbar-corner,
body:has(#ntPublicRoot)::-webkit-scrollbar-corner {
    background: transparent;
}

html:has(#ntPublicRoot[data-appearance="dark"]),
body:has(#ntPublicRoot[data-appearance="dark"]) {
    scrollbar-color:
        color-mix(in oklab, var(--nt-primary, #06b6d4) 58%, transparent)
        color-mix(in oklab, var(--nt-text, #e5e7eb) 10%, transparent);
}

html:has(#ntPublicRoot[data-appearance="dark"])::-webkit-scrollbar-track,
body:has(#ntPublicRoot[data-appearance="dark"])::-webkit-scrollbar-track {
    background: color-mix(in oklab, var(--nt-text, #e5e7eb) 8%, transparent);
}

html:has(#ntPublicRoot[data-appearance="dark"])::-webkit-scrollbar-thumb,
body:has(#ntPublicRoot[data-appearance="dark"])::-webkit-scrollbar-thumb {
    background-color: color-mix(in oklab, var(--nt-primary, #06b6d4) 52%, transparent);
}

html:has(#ntPublicRoot[data-appearance="dark"])::-webkit-scrollbar-thumb:hover,
body:has(#ntPublicRoot[data-appearance="dark"])::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in oklab, var(--nt-primary, #06b6d4) 78%, transparent);
}

/* Nested scroll regions inside the storefront card */
#ntPublicRoot .nt-storefront-scrollbar {
    scrollbar-width: thin;
    scrollbar-color:
        color-mix(in oklab, var(--nt-primary, #06b6d4) 50%, transparent)
        color-mix(in oklab, var(--nt-text, #0f172a) 8%, transparent);
}

#ntPublicRoot .nt-storefront-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#ntPublicRoot .nt-storefront-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

#ntPublicRoot .nt-storefront-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: color-mix(in oklab, var(--nt-primary, #06b6d4) 45%, transparent);
}

#ntPublicRoot .nt-storefront-scrollbar::-webkit-scrollbar-thumb:hover {
    background: color-mix(in oklab, var(--nt-primary, #06b6d4) 70%, transparent);
}

/* ── Public page side chrome atmosphere (desktop gutters) ── */
.nt-public-root {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
}

.nt-public-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.nt-public-atmosphere__wash {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 12% 30%,
            color-mix(in oklab, var(--nt-primary, #06b6d4) 42%, transparent),
            transparent 70%),
        radial-gradient(ellipse 65% 50% at 90% 70%,
            color-mix(in oklab, var(--nt-secondary, #f97316) 36%, transparent),
            transparent 72%),
        linear-gradient(160deg,
            color-mix(in oklab, var(--nt-primary, #06b6d4) 16%, transparent),
            transparent 45%,
            color-mix(in oklab, var(--nt-secondary, #f97316) 12%, transparent));
    opacity: 0.85;
}

.nt-public-atmosphere__glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(40px);
    will-change: transform;
    mix-blend-mode: screen;
}

.nt-public-atmosphere__glow--a {
    top: -10%;
    left: -8%;
    width: min(48vw, 34rem);
    height: min(48vw, 34rem);
    background: color-mix(in oklab, var(--nt-primary, #06b6d4) 72%, white 8%);
    opacity: 0.72;
    animation: nt-public-drift-a 16s ease-in-out infinite alternate;
}

.nt-public-atmosphere__glow--b {
    right: -10%;
    bottom: 4%;
    width: min(52vw, 36rem);
    height: min(52vw, 36rem);
    background: color-mix(in oklab, var(--nt-secondary, #f97316) 68%, white 6%);
    opacity: 0.62;
    animation: nt-public-drift-b 20s ease-in-out infinite alternate;
}

.nt-public-atmosphere__glow--c {
    left: 32%;
    bottom: -22%;
    width: min(70vw, 44rem);
    height: min(42vw, 28rem);
    background: color-mix(in oklab, var(--nt-primary, #06b6d4) 48%, var(--nt-secondary, #f97316) 20%);
    opacity: 0.45;
    filter: blur(56px);
}

/* Scattered doodles — random layout via JS; large class-based drift */
.nt-public-atmosphere__doodles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.nt-public-atmosphere__doodle {
    position: absolute;
    width: var(--nt-doodle-size, 1.5rem);
    height: var(--nt-doodle-size, 1.5rem);
    color: color-mix(in oklab, var(--nt-primary, #06b6d4) 72%, var(--nt-text, #e5e7eb) 28%);
    opacity: var(--nt-doodle-opacity, 0.35);
    transform: translate3d(-50%, -50%, 0);
    will-change: transform, opacity;
    animation-duration: var(--nt-doodle-dur, 8s);
    animation-delay: var(--nt-doodle-delay, 0s);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: both;
}

.nt-public-atmosphere__doodle-inner {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: center center;
}

.nt-public-atmosphere__doodle svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nt-public-atmosphere__doodle--mark {
    color: color-mix(in oklab, var(--nt-primary, #06b6d4) 38%, var(--nt-text, #e5e7eb) 62%);
}

.nt-public-atmosphere__doodle--mark svg {
    stroke-width: 1.15;
}

.nt-public-atmosphere__doodle--mark.nt-public-atmosphere__doodle--accent {
    color: color-mix(in oklab, var(--nt-secondary, #f97316) 42%, var(--nt-text, #e5e7eb) 58%);
}

.nt-public-atmosphere__doodle--accent {
    color: color-mix(in oklab, var(--nt-secondary, #f97316) 78%, var(--nt-text, #e5e7eb) 22%);
}

.nt-public-atmosphere__doodle--drift-a {
    animation-name: nt-doodle-drift-a;
}

.nt-public-atmosphere__doodle--drift-b {
    animation-name: nt-doodle-drift-b;
}

.nt-public-atmosphere__doodle--drift-c {
    animation-name: nt-doodle-drift-c;
}

.nt-public-atmosphere__doodle--orbit {
    animation-name: nt-doodle-orbit;
    animation-direction: alternate;
}

@keyframes nt-doodle-drift-a {
    from {
        transform: translate3d(-50%, -50%, 0);
        opacity: var(--nt-doodle-opacity, 0.35);
    }
    to {
        transform: translate3d(calc(-50% + var(--nt-doodle-dx, 64px)), calc(-50% + var(--nt-doodle-dy, -72px)), 0);
        opacity: calc(var(--nt-doodle-opacity, 0.35) * 1.45);
    }
}

@keyframes nt-doodle-drift-b {
    from {
        transform: translate3d(-50%, -50%, 0);
        opacity: var(--nt-doodle-opacity, 0.35);
    }
    to {
        transform: translate3d(calc(-50% + var(--nt-doodle-dx, -70px)), calc(-50% + var(--nt-doodle-dy, 80px)), 0);
        opacity: calc(var(--nt-doodle-opacity, 0.35) * 0.55);
    }
}

@keyframes nt-doodle-drift-c {
    from {
        transform: translate3d(-50%, -50%, 0) scale(1);
        opacity: var(--nt-doodle-opacity, 0.35);
    }
    to {
        transform: translate3d(calc(-50% + var(--nt-doodle-dx, 48px)), calc(-50% + var(--nt-doodle-dy, 56px)), 0) scale(1.35);
        opacity: calc(var(--nt-doodle-opacity, 0.35) * 1.6);
    }
}

@keyframes nt-doodle-orbit {
    from {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
        opacity: var(--nt-doodle-opacity, 0.35);
    }
    to {
        transform: translate3d(calc(-50% + var(--nt-doodle-dx, 56px)), calc(-50% + var(--nt-doodle-dy, -56px)), 0) rotate(var(--nt-doodle-spin, 36deg));
        opacity: calc(var(--nt-doodle-opacity, 0.35) * 1.3);
    }
}

.nt-public-atmosphere__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 52% 68% at 50% 45%, transparent 28%, color-mix(in oklab, var(--nt-page-chrome, #0a0a0a) 42%, #000) 100%);
    opacity: 0.42;
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__wash,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__wash {
    opacity: 0.55;
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__glow,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__glow {
    mix-blend-mode: multiply;
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__glow--a,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__glow--a {
    opacity: 0.42;
    background: color-mix(in oklab, var(--nt-primary, #06b6d4) 58%, transparent);
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__glow--b,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__glow--b {
    opacity: 0.34;
    background: color-mix(in oklab, var(--nt-secondary, #f97316) 52%, transparent);
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__glow--c,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__glow--c {
    opacity: 0.28;
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__doodle,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__doodle {
    color: color-mix(in oklab, var(--nt-primary, #06b6d4) 48%, var(--nt-text, #0f172a) 52%);
    opacity: calc(var(--nt-doodle-opacity, 0.28) * 0.75);
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__doodle--accent,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__doodle--accent {
    color: color-mix(in oklab, var(--nt-secondary, #f97316) 55%, var(--nt-text, #0f172a) 45%);
}

#ntPublicRoot[data-appearance="light"] .nt-public-atmosphere__vignette,
#ntPublicRoot[data-appearance="system"] .nt-public-atmosphere__vignette {
    opacity: 0.22;
    background:
        radial-gradient(ellipse 52% 68% at 50% 45%, transparent 32%, color-mix(in oklab, var(--nt-page-chrome, #e8eef5) 65%, #94a3b8) 100%);
}

@keyframes nt-public-drift-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(5%, 7%, 0) scale(1.08); }
}

@keyframes nt-public-drift-b {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-6%, -5%, 0) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .nt-public-atmosphere__glow--a,
    .nt-public-atmosphere__glow--b,
    .nt-public-atmosphere__doodle {
        animation: none;
    }
}

/* On small screens the card is full-bleed — keep atmosphere quieter */
@media (max-width: 1023px) {
    .nt-public-atmosphere__wash {
        opacity: 0.35;
    }
    .nt-public-atmosphere__glow {
        filter: blur(36px);
        opacity: 0.28 !important;
    }
    .nt-public-atmosphere__doodle {
        opacity: calc(var(--nt-doodle-opacity, 0.28) * 0.45);
    }
    .nt-public-atmosphere__vignette {
        opacity: 0.18;
    }
}

/* ── Studio customize / builder preview stage atmosphere ── */
.studio-preview-stage {
    isolation: isolate;
}

.studio-preview-stage__atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.studio-preview-stage__glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(56px);
    opacity: 0.4;
}

.studio-preview-stage__glow--a {
    top: 10%;
    left: 4%;
    width: min(34vw, 22rem);
    height: min(34vw, 22rem);
    background: rgba(232, 160, 32, 0.22);
}

.studio-preview-stage__glow--b {
    right: 6%;
    bottom: 12%;
    width: min(38vw, 24rem);
    height: min(38vw, 24rem);
    background: rgba(6, 182, 212, 0.16);
}

.studio-preview-stage__grid {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(rgba(13, 27, 42, 0.14) 0.7px, transparent 0.7px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 15%, transparent 75%);
}

html.dark .studio-preview-stage__grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.7px, transparent 0.7px);
}

html.dark .studio-preview-stage__glow--a {
    background: rgba(232, 160, 32, 0.18);
}

html.dark .studio-preview-stage__glow--b {
    background: rgba(6, 182, 212, 0.14);
}

/* ── Studio mobile: canvas-first + bottom sheets ───────────────────────── */
.studio-mobile-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.85rem 1rem 0.65rem;
    border-bottom: 1px solid color-mix(in oklab, var(--color-ivory-2, #EDE8E1) 100%, transparent);
}

html.dark .studio-mobile-sheet-head {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.studio-mobile-sheet-close {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: #8A96A3;
    transition: background 0.15s ease, color 0.15s ease;
}

.studio-mobile-sheet-close:hover {
    background: color-mix(in oklab, #0D1B2A 6%, transparent);
    color: #0D1B2A;
}

html.dark .studio-mobile-sheet-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #F7F3EE;
}

.studio-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(13, 27, 42, 0.48);
    backdrop-filter: blur(2px);
}

.studio-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.45rem 0.65rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(237, 232, 225, 1);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 -8px 24px rgba(13, 27, 42, 0.08);
}

html.dark .studio-mobile-dock {
    border-top-color: rgba(255, 255, 255, 0.06);
    background: rgba(22, 36, 54, 0.94);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.studio-mobile-dock__btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 2.85rem;
    border-radius: 0.85rem;
    border: none;
    background: transparent;
    color: #8A96A3;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.15s ease, background 0.15s ease;
}

.studio-mobile-dock__btn i {
    font-size: 0.95rem;
}

.studio-mobile-dock__btn.is-active {
    color: #0D1B2A;
    background: rgba(232, 160, 32, 0.14);
}

html.dark .studio-mobile-dock__btn.is-active {
    color: #F7F3EE;
    background: rgba(232, 160, 32, 0.16);
}

.studio-mobile-dock__dot {
    position: absolute;
    top: 0.35rem;
    right: calc(50% - 1.15rem);
    height: 0.4rem;
    width: 0.4rem;
    border-radius: 9999px;
    background: #E8A020;
}

@media (max-width: 1023px) {
    /*
     * Mobile Studio: ONLY the canvas participates in layout.
     * Blocks/props are display:none when closed (not merely translated),
     * so they cannot crush the preview width in the flex row.
     */
    .studio-shell__row {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .studio-pane--blocks:not(.is-open),
    .studio-pane--props:not(.is-open) {
        display: none !important;
    }

    .studio-pane--blocks.is-open,
    .studio-pane--props.is-open {
        display: flex !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        z-index: 70 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: min(88dvh, 42rem) !important;
        height: auto !important;
        margin: 0 !important;
        border-radius: 1.25rem 1.25rem 0 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid rgba(237, 232, 225, 1) !important;
        box-shadow: 0 -12px 40px rgba(13, 27, 42, 0.18) !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html.dark .studio-pane--blocks.is-open,
    html.dark .studio-pane--props.is-open {
        border-top-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45) !important;
    }

    .studio-pane--canvas {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    .studio-shell .studio-preview-stage {
        min-height: 0 !important;
        flex: 1 1 auto !important;
    }

    .studio-shell .studio-preview-stage > .studio-scrollbar-hidden {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        padding: 0.75rem 0.75rem 1.5rem !important;
        box-sizing: border-box !important;
    }

    .studio-shell .studio-preview-stage > .studio-scrollbar-hidden > * {
        width: 100% !important;
        max-width: 24rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .studio-shell .studio-phone-frame,
    .studio-shell .studio-phone-screen,
    .studio-shell .studio-phone-screen--fluid,
    .studio-shell .studio-canvas,
    .studio-shell .studio-canvas .lx-preview-product {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    /* Don’t collapse Customize’s iframe frame with builder fluid height:auto */
    .studio-shell--customize .studio-phone-screen,
    .studio-shell--customize .studio-phone-screen--fluid {
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
    }

    .studio-shell .studio-phone-frame {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .studio-shell .studio-phone-screen,
    .studio-shell .studio-phone-screen--fluid {
        overflow: visible !important;
        border-radius: 1rem !important;
        border: 1px solid color-mix(in oklab, #0D1B2A 12%, transparent) !important;
        background: var(--nt-bg, #ffffff) !important;
    }

    html.dark .studio-shell .studio-phone-screen,
    html.dark .studio-shell .studio-phone-screen--fluid,
    .studio-shell .studio-phone-screen--dark {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    .studio-shell .studio-phone-screen > .studio-scrollbar-hidden {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        max-width: none !important;
    }

    .studio-shell .studio-canvas .lx-preview-product {
        padding-bottom: 1.5rem !important;
    }

    .studio-shell .studio-canvas .lx-preview-product-footer {
        display: block !important;
        margin-top: 1rem !important;
        margin-bottom: 0.5rem !important;
        opacity: 0.55;
    }

    .studio-mobile-scroll-spacer {
        display: block !important;
        width: 100% !important;
        height: 1.25rem !important;
    }

    .studio-segmented__group--devices,
    .studio-segmented__divider--devices {
        display: none !important;
    }

    .studio-toolbar__actions .studio-toolbar-btn span {
        display: none;
    }

    .studio-toolbar__actions .studio-toolbar-btn {
        padding-inline: 0.65rem;
    }
}

/* Customize mobile: theme panel as bottom sheet (same rules as builder panes) */
@media (max-width: 1023px) {
    .studio-shell--customize .studio-pane--theme:not(.is-open) {
        display: none !important;
    }

    .studio-shell--customize .studio-pane--theme.is-open {
        display: flex !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        z-index: 70 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: min(88dvh, 42rem) !important;
        height: auto !important;
        margin: 0 !important;
        border-radius: 1.25rem 1.25rem 0 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid rgba(237, 232, 225, 1) !important;
        box-shadow: 0 -12px 40px rgba(13, 27, 42, 0.18) !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    html.dark .studio-shell--customize .studio-pane--theme.is-open {
        border-top-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45) !important;
    }

    .studio-shell--customize .studio-pane--canvas {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    /*
     * Customize uses an iframe preview — it must fill the stage height.
     * Builder’s fluid height:auto would collapse h-full iframes to a stub.
     */
    .studio-shell--customize .studio-preview-stage {
        min-height: 0 !important;
        flex: 1 1 auto !important;
    }

    .studio-shell--customize .studio-preview-stage > .studio-scrollbar-hidden {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
        padding: 0.65rem 0.65rem 0.75rem !important;
        box-sizing: border-box !important;
    }

    .studio-shell--customize .studio-preview-stage > .studio-scrollbar-hidden > * {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: 24rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        height: 100% !important;
    }

    .studio-shell--customize .studio-phone-frame,
    .studio-shell--customize .studio-phone-screen,
    .studio-shell--customize .studio-phone-screen--fluid {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: 100% !important;
        max-height: none !important;
        overflow: hidden !important;
        border-radius: 1rem !important;
    }

    .studio-shell--customize .studio-phone-screen > div,
    .studio-shell--customize .studio-phone-screen--fluid > div {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .studio-shell--customize #studioThemePreviewIframe {
        display: block !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        min-height: 0 !important;
        height: 100% !important;
        border: 0 !important;
    }

    .studio-mobile-dock a.studio-mobile-dock__btn {
        text-decoration: none;
        color: inherit;
    }
}

@media (min-width: 1024px) {
    .studio-shell--customize .studio-pane--theme {
        display: flex !important;
        position: relative !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (min-width: 1024px) {
    .studio-pane--blocks,
    .studio-pane--props {
        position: relative !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }

    .studio-mobile-backdrop,
    .studio-mobile-dock,
    .studio-mobile-sheet-head,
    .studio-mobile-home {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .studio-pane--blocks,
    .studio-pane--props {
        transition: none;
    }
}
