/* ============================================================
   BizzaWP — Project Builder & Shop Hero
   Brand: #1e3144 (navy), #bd872f (gold), #32485a (slate), #fff
   Fonts: Poppins, Assistant
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Assistant:wght@400;500;600&display=swap');

:root {
    --bzb-navy: #1e3144;
    --bzb-gold: #bd872f;
    --bzb-gold-light: #d4a04a;
    --bzb-gold-dark: #9a6d22;
    --bzb-slate: #32485a;
    --bzb-white: #ffffff;
    --bzb-bg: #f7f8fa;
    --bzb-border: #dfe3e8;
    --bzb-text: #1e3144;
    --bzb-text-light: #5a6978;
    --bzb-error: #c0392b;
    --bzb-success: #27ae60;
    --bzb-radius: 10px;
    --bzb-shadow: 0 4px 20px rgba(30, 49, 68, 0.08);
    --bzb-shadow-hover: 0 8px 30px rgba(30, 49, 68, 0.14);
}

/* ============================================================
   SHOP HERO SECTION
   ============================================================ */

.bizzawp-hero {
    font-family: 'Assistant', sans-serif;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.bizzawp-hero__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bizzawp-hero__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--bzb-navy);
    margin: 0 0 0.5rem;
}

.bizzawp-hero__subtitle {
    font-size: 1.05rem;
    color: var(--bzb-text-light);
    margin: 0;
}

.bizzawp-hero__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.bizzawp-hero__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bzb-white);
    border: 2px solid var(--bzb-border);
    border-radius: var(--bzb-radius);
    box-shadow: var(--bzb-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.bizzawp-hero__card:hover {
    border-color: var(--bzb-gold);
    box-shadow: var(--bzb-shadow-hover);
    transform: translateY(-4px);
}

.bizzawp-hero__card-icon {
    width: 72px;
    height: 72px;
    color: var(--bzb-navy);
    margin-bottom: 1rem;
}

.bizzawp-hero__card-icon svg {
    width: 100%;
    height: 100%;
}

.bizzawp-hero__card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--bzb-navy);
    margin: 0 0 0.5rem;
}

.bizzawp-hero__card-tagline {
    font-size: 0.85rem;
    color: var(--bzb-text-light);
    line-height: 1.5;
    margin: 0 0 1rem;
    flex-grow: 1;
}

.bizzawp-hero__card-cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--bzb-gold);
    transition: color 0.2s;
}

.bizzawp-hero__card:hover .bizzawp-hero__card-cta {
    color: var(--bzb-gold-dark);
}

.bizzawp-hero__divider {
    text-align: center;
    margin-top: 2.5rem;
    position: relative;
}

.bizzawp-hero__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--bzb-border);
}

.bizzawp-hero__divider span {
    position: relative;
    background: var(--bzb-white);
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: var(--bzb-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   PROJECT BUILDER / CONFIGURATOR
   ============================================================ */

.bizzawp-builder {
    font-family: 'Assistant', sans-serif;
    color: var(--bzb-text);
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.bizzawp-builder h2,
.bizzawp-builder h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--bzb-navy);
    margin: 0 0 0.25rem;
}

.bizzawp-builder h2 { font-size: 1.6rem; }
.bizzawp-builder h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

/* ---- Progress ---- */
.bzb-progress {
    margin-bottom: 2.5rem;
}

.bzb-progress__track {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bzb-progress__step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    background: var(--bzb-bg);
    border: 2px solid var(--bzb-border);
    transition: all 0.3s ease;
}

.bzb-progress__step.is-active {
    background: var(--bzb-navy);
    border-color: var(--bzb-navy);
}

.bzb-progress__step.is-active .bzb-progress__number,
.bzb-progress__step.is-active .bzb-progress__label {
    color: var(--bzb-white);
}

.bzb-progress__step.is-done {
    border-color: var(--bzb-gold);
}

.bzb-progress__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bzb-border);
    color: var(--bzb-text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
}

.bzb-progress__step.is-active .bzb-progress__number,
.bzb-progress__step.is-done .bzb-progress__number {
    background: var(--bzb-gold);
    color: var(--bzb-white);
}

.bzb-progress__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--bzb-text-light);
}

.bzb-progress__connector {
    width: 40px;
    height: 2px;
    background: var(--bzb-border);
    flex-shrink: 0;
}

/* ---- Steps ---- */
.bzb-step {
    display: none;
    animation: bzbFadeIn 0.35s ease;
}

.bzb-step.is-active { display: block; }

@keyframes bzbFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bzb-step__header {
    margin-bottom: 1.75rem;
}

.bzb-step__header p {
    color: var(--bzb-text-light);
    font-size: 0.95rem;
    margin: 0.25rem 0 0;
}

/* ---- Product Selector ---- */
.bzb-product-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.bzb-product-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bzb-white);
    border: 2px solid var(--bzb-border);
    border-radius: var(--bzb-radius);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.bzb-product-card:hover {
    border-color: var(--bzb-gold-light);
    box-shadow: var(--bzb-shadow);
    background: var(--bzb-white);
    color: var(--bzb-text);
}

.bzb-product-card.is-selected {
    border-color: var(--bzb-gold);
    background: linear-gradient(135deg, rgba(189, 135, 47, 0.06), rgba(30, 49, 68, 0.02)) !important;
    box-shadow: 0 0 0 3px rgba(189, 135, 47, 0.15);
    color: var(--bzb-text);
}

.bzb-product-card:hover h3,
.bzb-product-card:hover p,
.bzb-product-card.is-selected h3,
.bzb-product-card.is-selected p {
    color: inherit;
}

.bzb-product-card__icon {
    width: 52px;
    height: 52px;
    color: var(--bzb-navy);
    flex-shrink: 0;
}

.bzb-product-card__icon svg {
    width: 100%;
    height: 100%;
}

.bzb-product-card__info h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.2rem;
    color: var(--bzb-navy);
}

.bzb-product-card__info p {
    font-size: 0.8rem;
    color: var(--bzb-text-light);
    margin: 0;
    line-height: 1.4;
}

.bzb-product-card__check {
    width: 28px;
    height: 28px;
    margin-left: auto;
    color: var(--bzb-gold);
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.bzb-product-card__check svg {
    width: 100%;
    height: 100%;
}

.bzb-product-card.is-selected .bzb-product-card__check {
    opacity: 1;
}

/* ---- Config Panel ---- */
.bzb-config-panel {
    animation: bzbFadeIn 0.4s ease;
}

.bzb-config-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.bzb-config-title {
    margin-bottom: 1.5rem !important;
}

/* ---- Option Chips ---- */
.bzb-option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.bzb-chip {
    padding: 0.5rem 1rem;
    border: 2px solid var(--bzb-border);
    border-radius: 50px;
    background: var(--bzb-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--bzb-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.bzb-chip:hover {
    border-color: var(--bzb-gold-light);
}

.bzb-chip.is-active {
    background: var(--bzb-navy);
    border-color: var(--bzb-navy);
    color: var(--bzb-white);
}

/* ---- Preview Pane (Step 1 — lightweight illustration) ---- */
.bzb-preview {
    position: sticky;
    top: 2rem;
}

.bzb-preview__frame {
    background: var(--bzb-white);
    border: 2px solid var(--bzb-border);
    border-radius: var(--bzb-radius);
    padding: 1.5rem;
    box-shadow: var(--bzb-shadow);
    overflow: hidden;
}

.bzb-preview__illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1rem 0;
    background: var(--bzb-bg);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.bzb-preview__illustration svg {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   DESIGN STUDIO (Step 2)
   ============================================================ */

.bzb-studio {
    background: var(--bzb-white);
    border: 2px solid var(--bzb-border);
    border-radius: var(--bzb-radius);
    box-shadow: var(--bzb-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.bzb-studio__canvas {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bzb-bg);
    margin-bottom: 1rem;
    position: relative;
}

/* CSS 3D Scene */
.cv3d-scene {
    width: 100%;
    height: 100%;
    perspective: 1000px;
    perspective-origin: 50% 45%;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.cv3d-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transition: none;
}

.cv3d-face {
    overflow: hidden;
}

.cv3d-hinge {
    transform-style: preserve-3d;
}

.cv3d-box-body {
    transform-style: preserve-3d;
}

/* ---- Studio Slider ---- */
.bzb-studio__slider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.bzb-studio__slider label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--bzb-text-light);
    white-space: nowrap;
}

.bzb-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--bzb-border);
    outline: none;
    cursor: pointer;
}

.bzb-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bzb-gold);
    cursor: pointer;
    border: 2px solid var(--bzb-white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.bzb-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bzb-gold);
    cursor: pointer;
    border: 2px solid var(--bzb-white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.bzb-studio__hint {
    text-align: center;
    font-size: 0.78rem;
    color: var(--bzb-text-light);
    margin: 0.5rem 0 0;
    opacity: 0.7;
}

/* ---- Studio Face Uploads (horizontal) ---- */
.bzb-studio__faces-section {
    margin-bottom: 1.5rem;
}

.bzb-studio__faces-section h3 {
    margin-bottom: 1rem;
}

.bzb-studio__faces {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bzb-face-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1.5px solid var(--bzb-border);
    border-radius: 8px;
    background: var(--bzb-bg);
    transition: all 0.2s ease;
    cursor: default;
    box-sizing: border-box;
}

.bzb-face-card:hover {
    border-color: var(--bzb-gold-light);
    background: var(--bzb-white);
}

.bzb-face-card.has-image {
    border-color: var(--bzb-gold);
    background: rgba(189, 135, 47, 0.04);
}

.bzb-face-card__thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--bzb-white);
    border: 1px solid var(--bzb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.bzb-face-card__thumb svg {
    width: 22px;
    height: 22px;
    color: var(--bzb-text-light);
    opacity: 0.5;
}

.bzb-face-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bzb-face-card__info {
    flex: 1;
    min-width: 0;
}

.bzb-face-card__label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--bzb-navy);
    line-height: 1.3;
}

.bzb-face-card__desc {
    display: block;
    font-size: 0.72rem;
    color: var(--bzb-text-light);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bzb-face-card__btn {
    padding: 0.35rem 0.75rem;
    border-radius: 5px;
    background: var(--bzb-navy);
    color: var(--bzb-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.bzb-face-card__btn:hover {
    background: var(--bzb-slate);
}

.bzb-face-card.has-image .bzb-face-card__btn {
    background: var(--bzb-gold);
}

.bzb-studio__template-check {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ---- Studio Media Upload ---- */
.bzb-studio__media {
    margin-bottom: 1.5rem;
}

/* ---- Spec Summary ---- */
.bzb-preview__specs {
    border-top: 2px solid var(--bzb-bg);
    padding-top: 1rem;
}

.bzb-preview__spec {
    font-size: 0.85rem;
    padding: 0.25rem 0;
    color: var(--bzb-text-light);
}

.bzb-preview__spec:first-child {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--bzb-navy);
    font-size: 0.95rem;
    padding-bottom: 0.5rem;
}

.bzb-preview__note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--bzb-text-light);
    margin: 0.75rem 0 0;
    opacity: 0.7;
}

/* ---- Product Photo Picker (Step 1 sidebar) ---- */
.bzb-preview__photo-card {
    background: var(--bzb-white);
    border: 2px solid var(--bzb-border);
    border-radius: var(--bzb-radius);
    box-shadow: var(--bzb-shadow);
    margin-top: 1rem;
    animation: bzbFadeIn 0.35s ease;
    transition: border-color 0.25s ease;
    position: relative;
}

.bzb-preview__photo-card.has-selection {
    border-color: var(--bzb-gold);
    box-shadow: 0 0 0 3px rgba(189, 135, 47, 0.15), var(--bzb-shadow);
}

/* Photo picker header with tooltip */
.bzb-photo-picker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem 0.4rem;
    border-bottom: 1px solid var(--bzb-border);
    background: var(--bzb-white);
}

.bzb-photo-picker__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    color: var(--bzb-slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tooltip */
.bzb-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bzb-tooltip-icon {
    width: 15px;
    height: 15px;
    color: var(--bzb-text-light);
    opacity: 0.55;
    cursor: help;
    transition: opacity 0.2s;
}

.bzb-tooltip-wrap:hover .bzb-tooltip-icon { opacity: 1; }

.bzb-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 7px);
    right: -4px;
    background: var(--bzb-navy);
    color: var(--bzb-white);
    font-family: 'Assistant', sans-serif;
    font-size: 0.73rem;
    line-height: 1.45;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    width: 210px;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(30, 49, 68, 0.22);
}

.bzb-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 8px;
    border: 5px solid transparent;
    border-top-color: var(--bzb-navy);
}

.bzb-tooltip-wrap:hover .bzb-tooltip { display: block; }

/* Stage: image + overlaid arrows */
.bzb-photo-picker__stage {
    position: relative;
    line-height: 0;
    background: var(--bzb-bg);
    overflow: hidden;
}

.bzb-photo-picker__img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center top;
}

.bzb-photo-picker__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(30, 49, 68, 0.65);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.bzb-photo-picker__arrow:hover { background: rgba(30, 49, 68, 0.9); }
.bzb-photo-picker__arrow:disabled { opacity: 0.25; cursor: default; }
.bzb-photo-picker__arrow--prev { left: 6px; }
.bzb-photo-picker__arrow--next { right: 6px; }

/* Dot indicators */
.bzb-photo-picker__dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 6px 0 4px;
    background: var(--bzb-bg);
    border-top: 1px solid var(--bzb-border);
}

.bzb-photo-picker__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: var(--bzb-border);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.bzb-photo-picker__dot.is-active { background: var(--bzb-navy); transform: scale(1.25); }
.bzb-photo-picker__dot.is-picked { background: var(--bzb-gold); transform: scale(1.25); }
.bzb-photo-picker__dot.is-active.is-picked { background: var(--bzb-gold); }

/* Footer: counter + select button */
.bzb-photo-picker__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    background: var(--bzb-bg);
    border-top: 1px solid var(--bzb-border);
}

.bzb-photo-picker__counter {
    font-size: 0.72rem;
    color: var(--bzb-text-light);
    font-family: 'Poppins', sans-serif;
}

.bzb-photo-picker__select {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1.5px solid var(--bzb-border);
    background: var(--bzb-white);
    color: var(--bzb-text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bzb-photo-picker__select:hover {
    border-color: var(--bzb-gold-light);
    color: var(--bzb-navy);
}

.bzb-photo-picker__select.is-selected {
    background: var(--bzb-gold);
    border-color: var(--bzb-gold);
    color: var(--bzb-white);
}

/* Placeholder state */
.bzb-photo-picker__placeholder {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--bzb-bg);
    color: var(--bzb-text-light);
}

.bzb-photo-picker__placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.3;
}

.bzb-photo-picker__placeholder span {
    font-size: 0.76rem;
    opacity: 0.6;
    font-style: italic;
}

.bzb-photo-picker__caption {
    font-size: 0.75rem;
    color: var(--bzb-text-light);
    text-align: center;
    padding: 0.5rem 1rem;
    margin: 0;
    background: var(--bzb-bg);
    border-top: 1px solid var(--bzb-border);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* ---- Cards ---- */
.bzb-card {
    background: var(--bzb-white);
    border: 1px solid var(--bzb-border);
    border-radius: var(--bzb-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--bzb-shadow);
}

/* ---- Fields ---- */
.bzb-field {
    margin-bottom: 1.25rem;
}

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

.bzb-field label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--bzb-slate);
    margin-bottom: 0.35rem;
}

.bzb-required { color: var(--bzb-error); }
.bzb-optional { color: var(--bzb-text-light); font-weight: 400; font-size: 0.8rem; }

.bzb-field input[type="text"],
.bzb-field input[type="email"],
.bzb-field input[type="tel"],
.bzb-field input[type="url"],
.bzb-field input[type="number"],
.bzb-field input[type="date"],
.bzb-field select,
.bzb-textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--bzb-border);
    border-radius: 6px;
    font-family: 'Assistant', sans-serif;
    font-size: 0.95rem;
    color: var(--bzb-text);
    background: var(--bzb-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.bzb-field input:focus,
.bzb-field select:focus,
.bzb-textarea:focus {
    outline: none;
    border-color: var(--bzb-gold);
    box-shadow: 0 0 0 3px rgba(189, 135, 47, 0.15);
}

.bzb-field input.is-invalid {
    border-color: var(--bzb-error);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.bzb-textarea {
    resize: vertical;
    min-height: 80px;
}

.bzb-field-hint {
    font-size: 0.78rem;
    color: var(--bzb-text-light);
    margin: 0.3rem 0 0;
}

.bzb-field-hint-inline {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--bzb-text-light);
}

.bzb-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.bzb-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--bzb-gold);
    cursor: pointer;
}

/* ---- Dropzone ---- */
.bzb-dropzone {
    position: relative;
    border: 2px dashed var(--bzb-border);
    border-radius: var(--bzb-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.bzb-dropzone:hover,
.bzb-dropzone.is-dragover {
    border-color: var(--bzb-gold);
    background: rgba(189, 135, 47, 0.04);
}

.bzb-dropzone__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.bzb-dropzone__icon {
    width: 40px;
    height: 40px;
    color: var(--bzb-text-light);
    margin: 0 auto 0.75rem;
    display: block;
}

.bzb-dropzone__content p {
    color: var(--bzb-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.bzb-dropzone__browse {
    color: var(--bzb-gold);
    font-weight: 600;
    text-decoration: underline;
}

.bzb-dropzone__files {
    margin-top: 0.75rem;
    text-align: left;
}

.bzb-file-tag {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    background: var(--bzb-navy);
    color: var(--bzb-white);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    margin: 0.25rem 0.25rem 0 0;
}

.bzb-upload-info {
    font-size: 0.82rem;
    color: var(--bzb-text-light);
    margin: 0 0 1rem;
}

.bzb-gif-note {
    font-size: 0.85rem;
    color: #9a6b22;
    background: rgba(189, 135, 47, 0.08);
    border: 1px solid rgba(189, 135, 47, 0.3);
    border-radius: var(--bzb-radius);
    padding: 0.6rem 0.9rem;
    margin: 0;
    text-align: center;
}

/* ---- Buttons ---- */
.bzb-step__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bzb-border);
}

.bzb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.6rem;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.bzb-btn--primary {
    background: var(--bzb-gold);
    color: var(--bzb-white);
}

.bzb-btn--primary:hover { background: var(--bzb-gold-dark); }

.bzb-btn--primary:disabled {
    background: var(--bzb-border);
    color: var(--bzb-text-light);
    cursor: not-allowed;
}

.bzb-btn--secondary {
    background: transparent;
    color: var(--bzb-slate);
    border: 1.5px solid var(--bzb-border);
}

.bzb-btn--secondary:hover {
    border-color: var(--bzb-slate);
    background: var(--bzb-bg);
}

.bzb-btn--submit {
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    background: var(--bzb-navy);
}

.bzb-btn--submit:hover { background: var(--bzb-slate); }

.bzb-btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.bzb-btn.is-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: bzbSpin 0.6s linear infinite;
}

@keyframes bzbSpin {
    to { transform: rotate(360deg); }
}

/* ---- Review ---- */
.bzb-review-card {
    border-left: 4px solid var(--bzb-gold);
}

.bzb-review-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--bzb-bg);
    font-size: 0.9rem;
}

.bzb-review-row__label {
    color: var(--bzb-text-light);
    font-weight: 500;
}

.bzb-review-row__value {
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* ---- Process Steps ---- */
.bzb-process-card {
    background: var(--bzb-bg);
    border: 1px solid var(--bzb-border);
}

.bzb-process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.bzb-process-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bzb-navy);
    color: var(--bzb-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bzb-process-step strong {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--bzb-navy);
}

.bzb-process-step p {
    font-size: 0.82rem;
    color: var(--bzb-text-light);
    margin: 0.2rem 0 0;
    line-height: 1.4;
}

/* ---- Success ---- */
.bzb-success {
    text-align: center;
    padding: 3rem 1rem;
    animation: bzbFadeIn 0.5s ease;
}

.bzb-success__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    color: var(--bzb-success);
}

.bzb-success__icon svg { width: 100%; height: 100%; }

.bzb-success h2 {
    color: var(--bzb-navy);
    margin-bottom: 0.75rem;
}

.bzb-success p {
    color: var(--bzb-text-light);
    font-size: 1rem;
    margin: 0.3rem 0;
}

.bzb-success .bzb-btn { margin-top: 2rem; }

/* ---- Errors ---- */
.bzb-errors {
    background: #fdf0ef;
    border: 1px solid var(--bzb-error);
    border-radius: var(--bzb-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--bzb-error);
    font-size: 0.9rem;
}

.bzb-errors ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }

.bzb-field-error {
    color: var(--bzb-error);
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .bizzawp-hero__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bzb-config-layout {
        grid-template-columns: 1fr;
    }

    .bzb-preview {
        position: static;
        order: -1;
    }

    .bzb-studio__canvas {
        height: 350px;
    }

    .bzb-studio__faces {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bizzawp-hero__grid {
        grid-template-columns: 1fr;
    }

    .bizzawp-hero__title {
        font-size: 1.5rem;
    }

    .bzb-product-selector {
        grid-template-columns: 1fr;
    }

    .bzb-fields-grid {
        grid-template-columns: 1fr;
    }

    .bzb-progress__label {
        display: none;
    }

    .bzb-progress__connector {
        display: none;
    }

    .bzb-progress__track {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .bzb-step__actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .bzb-step__actions .bzb-btn {
        width: 100%;
        justify-content: center;
    }

    .bzb-studio__canvas {
        height: 280px;
    }

    .bzb-studio__faces {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   AI BUILDER HERO CTA — Shop page
   ============================================================ */

.bzb-ai-hero {
    position: relative;
    background: linear-gradient(135deg, #1a2c3f 0%, #253e56 55%, #1e3144 100%);
    border-radius: 16px;
    overflow: hidden;
    padding: 44px 52px;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

/* sweeping shimmer on the whole card */
.bzb-ai-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(189,135,47,0.10) 50%,
        transparent 65%
    );
    animation: bzb-ai-card-shimmer 3.6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bzb-ai-card-shimmer {
    0%, 100% { transform: translateX(-120%); }
    50%       { transform: translateX(120%); }
}

/* floating gold sparkles */
.bzb-ai-hero__sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bzb-ai-hero__spark {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #bd872f;
    border-radius: 50%;
    opacity: 0;
    animation: bzb-spark-float 4s ease-in-out infinite;
}

.bzb-ai-hero__spark:nth-child(1) { top: 18%; left: 8%;   animation-delay: 0s;    animation-duration: 3.6s; width: 4px; height: 4px; }
.bzb-ai-hero__spark:nth-child(2) { top: 72%; left: 16%;  animation-delay: 0.9s;  animation-duration: 4.4s; width: 6px; height: 6px; }
.bzb-ai-hero__spark:nth-child(3) { top: 28%; right: 28%; animation-delay: 1.6s;  animation-duration: 3.9s; width: 5px; height: 5px; }
.bzb-ai-hero__spark:nth-child(4) { top: 78%; right: 20%; animation-delay: 2.4s;  animation-duration: 4.6s; width: 3px; height: 3px; }
.bzb-ai-hero__spark:nth-child(5) { top: 45%; left: 40%;  animation-delay: 0.5s;  animation-duration: 5.1s; width: 4px; height: 4px; }

@keyframes bzb-spark-float {
    0%, 100% { opacity: 0;   transform: translateY(0)    scale(0.5); }
    20%, 80% { opacity: 0.5; }
    50%      { opacity: 0.9; transform: translateY(-14px) scale(1.3); }
}

/* content */
.bzb-ai-hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.bzb-ai-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(189,135,47,0.18);
    border: 1px solid rgba(189,135,47,0.45);
    color: #d4a044;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.bzb-ai-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.bzb-ai-hero__desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.68);
    margin: 0;
    line-height: 1.65;
    max-width: 440px;
}

/* CTA button container */
.bzb-ai-hero__cta {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* the button */
.bzb-ai-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 34px;
    background: linear-gradient(135deg, #bd872f 0%, #d4a044 100%);
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    animation: bzb-btn-pulse 2.6s ease-in-out infinite;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@keyframes bzb-btn-pulse {
    0%, 100% { box-shadow: 0 4px 22px rgba(189,135,47,0.4),  0 0 0 0   rgba(189,135,47,0.45); }
    50%       { box-shadow: 0 4px 30px rgba(189,135,47,0.55), 0 0 0 14px rgba(189,135,47,0); }
}

/* shimmer sweep on button */
.bzb-ai-hero__btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    animation: bzb-btn-sweep 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bzb-btn-sweep {
    0%, 100% { left: -80%; }
    50%       { left: 130%; }
}

.bzb-ai-hero__btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 36px rgba(189,135,47,0.6);
    color: #ffffff !important;
}

.bzb-ai-hero__btn-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.bzb-ai-hero__btn:hover .bzb-ai-hero__btn-arrow {
    transform: translateX(5px);
}

/* separator below the AI banner */
.bizzawp-hero__divider.bzb-ai-hero__sep {
    margin-top: 0;
    margin-bottom: 2rem;
}

/* responsive */
@media (max-width: 760px) {
    .bzb-ai-hero {
        flex-direction: column;
        padding: 32px 28px;
        text-align: center;
        gap: 24px;
    }

    .bzb-ai-hero__desc {
        max-width: 100%;
    }

    .bzb-ai-hero__title {
        font-size: 1.4rem;
    }

    .bzb-ai-hero__badge {
        margin: 0 auto 14px;
    }
}
