﻿/* Palette Preview Styles - shared across all blocks */

.bp-layout,
.bp-hero,
.bp-grid,
.bp-stack,
.bp-gallery,
.bp-color-picker,
.bp-video,
.bp-video-showcase,
.bp-map,
.bp-accordion,
.bp-tabs-outer,
.bp-carousel,
.bp-form,
.bp-contact,
.bp-spacer,
.bp-nav,
.bp-footer,
.bp-quick-links,
.bp-specs,
.bp-spin,
.bp-image-edge,
.bp-two-x-one {
    display: block;
    width: 100%;
    height: 100%;
}

.bp-line,
.bp-button,
.bp-badge,
.bp-brand,
.bp-dot,
.bp-avatar,
.bp-icon,
.bp-price,
.bp-input,
.bp-arrow,
.bp-chevron,
.bp-pin,
.bp-play,
.bp-spacer__line {
    display: inline-block;
}

.bp-line {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #cbd5e1 0%, #e2e8f0 100%);
}

.bp-line--1 { width: 72%; }
.bp-line--2 { width: 58%; }
.bp-line--3 { width: 66%; }
.bp-line--4 { width: 48%; }
.bp-line--wide { width: 84%; }
.bp-line--short { width: 34%; }
.bp-line--nav { width: 26px; height: 5px; }
.bp-line--footer { width: 34px; height: 5px; opacity: .75; }
.bp-line--quick { width: 32px; height: 5px; }
.bp-line--tab { width: 44px; height: 6px; }

/* Image bar palette preview */
.bp-image-bar-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.bp-image-bar-preview__bar {
    display: block;
    width: 85%;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2d3139 0%, #1a1d23 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.bp-image-bar-preview__bar-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    height: 100%;
}

.bp-image-bar-preview__line {
    display: block;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    flex: 1;
}

.bp-image-bar-preview__thumb {
    display: block;
    width: 18px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(135deg, #93c5fd 0%, #dbeafe 100%);
    flex-shrink: 0;
}

.bp-line--light {
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(226,232,240,.72) 100%);
}

.bp-button {
    width: 64px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.bp-button--light {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
}

.bp-button--accent {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.bp-button--success {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
}

.bp-badge {
    width: 44px;
    height: 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.bp-badge--light {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.22);
}

.bp-panel,
.bp-card,
.bp-feature,
.bp-price-card,
.bp-staff,
.bp-contact__card,
.bp-car-card,
.bp-car-feature {
    border-radius: 10px;
}

.bp-layout {
    display: grid;
    gap: .55rem;
    height: 100%;
}

.bp-layout--split {
    grid-template-columns: 1fr .95fr;
}

.bp-panel {
    min-height: 82px;
}

.bp-panel--copy,
.bp-stack,
.bp-hero,
.bp-form,
.bp-contact__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .45rem;
}

.bp-panel--media,
.bp-card__media,
.bp-image-edge__media,
.bp-video__screen,
.bp-vs-preview-media,
.bp-car-card__media,
.bp-car-feature__media {
    background: linear-gradient(135deg, #93c5fd 0%, #dbeafe 55%, #e2e8f0 100%);
}

.bp-panel--media {
    border-radius: 10px;
    min-height: 82px;
}

.bp-panel--dark,
.bp-hero--spotlight,
.bp-hero--promo,
.bp-contact,
.bp-grid--car-selection,
.bp-grid--car-features,
.bp-form {
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.bp-hero {
    padding: .75rem;
    border-radius: 10px;
}

.bp-hero--centered {
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #f8fbff 0%, #dbeafe 100%);
}

.bp-hero--spotlight,
.bp-hero--promo {
    position: relative;
    overflow: hidden;
}

.bp-hero--promo {
    background: linear-gradient(135deg, #7f1d1d 0%, #c81f34 100%);
}

.bp-hero__overlay {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    width: 70%;
}

.bp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .35rem .45rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.bp-brand {
    width: 44px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a 0%, #334155 100%);
}

.bp-nav__links,
.bp-footer__meta,
.bp-tabs,
.bp-dots,
.bp-swatches,
.bp-spin__controls {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.bp-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .65rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.bp-footer .bp-line {
    background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(203,213,225,.68) 100%);
}

.bp-grid {
    display: grid;
    gap: .45rem;
}

.bp-grid--two { grid-template-columns: repeat(2, 1fr); }
.bp-grid--three,
.bp-grid--features,
.bp-grid--pricing,
.bp-grid--car-selection,
.bp-grid--car-features { grid-template-columns: repeat(3, 1fr); }
.bp-grid--staff { grid-template-columns: repeat(4, 1fr); }

.bp-card,
.bp-feature,
.bp-price-card,
.bp-staff,
.bp-car-card,
.bp-car-feature {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.94);
}

.bp-card__media,
.bp-car-card__media,
.bp-car-feature__media {
    height: 26px;
}

.bp-card__body,
.bp-feature,
.bp-price-card,
.bp-staff,
.bp-car-card,
.bp-car-feature {
    padding: .35rem;
    gap: .3rem;
}

.bp-avatar {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fda4af 0%, #fecdd3 100%);
}

.bp-image-edge {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}

.bp-image-edge__media {
    position: absolute;
    inset: 0;
}

.bp-image-edge__overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    width: 58%;
    height: 100%;
    padding: .75rem;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.15) 100%);
}

.bp-quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .35rem;
}

.bp-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .45rem .2rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #121617 0%, #334155 100%);
}

.bp-icon {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.bp-icon--feature {
    background: linear-gradient(135deg, #f59e0b 0%, #fb7185 100%);
}

.bp-specs {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.bp-table {
    display: flex;
    flex-direction: column;
    gap: .24rem;
}

.bp-table__row,
.bp-accordion__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    padding: .3rem .4rem;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.92);
}

/* Tabbed content palette preview */
.bp-tabs-outer {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: .3rem;
}

.bp-tabs-bar {
    display: flex;
    gap: .3rem;
}

.bp-tab-label {
    display: block;
    height: .5rem;
    width: 2.2rem;
    border-radius: 4px 4px 0 0;
    background: rgba(148, 163, 184, 0.25);
    border-bottom: 2px solid rgba(148, 163, 184, 0.4);
}

.bp-tab-label:first-child {
    background: rgba(59, 130, 246, 0.2);
    border-bottom-color: rgba(59, 130, 246, 0.7);
}

.bp-contact {
    padding: .55rem;
    border-radius: 10px;
}

.bp-contact__card {
    height: 100%;
    padding: .55rem;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}

.bp-price-card--featured {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.26);
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.14);
}

.bp-price {
    width: 32px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.bp-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 20px;
    gap: .3rem;
}

.bp-gallery__tile {
    border-radius: 8px;
    background: linear-gradient(135deg, #cbd5e1 0%, #e2e8f0 100%);
}

.bp-gallery__tile--1 { grid-column: span 2; grid-row: span 2; }
.bp-gallery__tile--2 { grid-row: span 2; }
.bp-gallery__tile--3 { grid-column: span 2; }

.bp-video,
.bp-map,
.bp-spin,
.bp-carousel,
.bp-color-picker {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.bp-video__screen,
.bp-vs-preview-media,
.bp-map,
.bp-carousel .bp-panel--media,
.bp-spin .bp-panel--media {
    width: 100%;
    height: 100%;
    min-height: 82px;
    border-radius: 10px;
}

.bp-video-showcase {
    display: block;
    width: 100%;
    height: 100%;
}

.bp-vs-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bp-vs-preview-item {
    display: flex;
    gap: 6px;
    align-items: center;
}

.bp-vs-preview-media {
    width: 50px;
    min-height: 36px;
    flex-shrink: 0;
}

.bp-vs-preview-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.bp-vs-preview-text .bp-line {
    height: 5px;
}

.bp-play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.bp-map {
    background: linear-gradient(135deg, #dcfce7 0%, #e0f2fe 100%);
}

.bp-map__roads {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 46%, rgba(148, 163, 184, 0.4) 47%, transparent 48%), linear-gradient(120deg, transparent 40%, rgba(148, 163, 184, 0.35) 41%, transparent 42%);
}

.bp-pin {
    position: absolute;
    top: 28px;
    left: 42px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}

.bp-pin--alt {
    top: 56px;
    left: 84px;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.bp-swatches {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    padding: .22rem .38rem;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
}

.bp-swatches--tiles,
.bp-swatches--strip {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: .4rem;
    background: transparent;
    padding: 0;
}

.bp-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #94a3b8;
}

.bp-dot:nth-child(1) { background: #eeede8; }
.bp-dot:nth-child(2) { background: #6e7070; }
.bp-dot:nth-child(3) { background: #c81f34; }
.bp-dot:nth-child(4) { background: #4a4e5a; }
.bp-dot:nth-child(5) { background: #18181a; }

.bp-spin__controls,
.bp-carousel .bp-dots {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    padding: .2rem .38rem;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
}

.bp-arrow {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #cbd5e1;
}

.bp-chevron {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #94a3b8;
}

.bp-grid--car-selection,
.bp-grid--car-features,
.bp-form {
    padding: .55rem;
    border-radius: 10px;
}

.bp-grid--car-selection .bp-car-card,
.bp-grid--car-features .bp-car-feature {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
}

.bp-car-card__media,
.bp-car-feature__media {
    background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, rgba(148,163,184,.25) 100%);
}

.bp-form__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .35rem;
    align-items: center;
}

.bp-input {
    height: 18px;
    border-radius: 6px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.1);
}

.bp-spacer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-spacer__line {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, #cbd5e1 0 10px, transparent 10px 18px);
}

.bp-comparison {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.bp-comparison__header {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .35rem .45rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #c81f34 0%, #a0122a 100%);
}

.bp-comparison__table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .3rem;
}

.bp-comparison__col {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .4rem .3rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.94);
    align-items: center;
}

.bp-comparison__media {
    width: 100%;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.bp-comparison__price {
    width: 50%;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
}

.bp-company-grid {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.bp-company-grid__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .3rem;
}

.bp-company-grid__card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem .3rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.94);
}

.bp-company-grid__logo {
    width: 100%;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

/* Image bar palette preview */


/* Two-column layout palette preview */
.bp-two-x-one {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 4px;
    padding: 2px;
    align-items: stretch;
}

.bp-two-x-one__col {
    flex: 1 1 50%;
    border-radius: 4px;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    border: 1px dashed #94a3b8;
}

