/* ─── CPB Frontend Styles ───────────────────────────────────── */
:root {
    --cpb-brand:   #d1b17a;
    --cpb-dark:    #1a1a1a;
    --cpb-mid:     #555;
    --cpb-light:   #f9f7f4;
    --cpb-border:  #e8e2d9;
    --cpb-white:   #ffffff;
    --cpb-radius:  14px;
    --cpb-shadow:  0 20px 60px rgba(0,0,0,.22);
    --cpb-sidebar-w: 190px;
    --cpb-summary-w: 250px;
    --cpb-font:    'Georgia', 'Times New Roman', serif;
    --cpb-sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Overlay ─────────────────────────────────────────────────── */
/* Hidden by default — JS shows it on button click */
#cpb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,12,8,.72);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
/* JS sets display:flex when opening, so we don't need a separate rule */
/* inline mode removed — use [cpb_trigger] button only */

@keyframes cpbFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes cpbSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── Modal ───────────────────────────────────────────────────── */
.cpb-modal {
    position: relative;
    background: var(--cpb-white);
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow);
    width: 100%;
    max-width: 1160px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cpbSlideUp .3s ease;
    font-family: var(--cpb-sans);
}

/* Close */
.cpb-close {
    position: absolute;
    top: 16px; right: 18px;
    z-index: 10;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--cpb-border);
    background: var(--cpb-white);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: var(--cpb-mid);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
}
.cpb-close:hover { background: var(--cpb-dark); color: #fff; }

/* ── Header ──────────────────────────────────────────────────── */
.cpb-modal-header {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--cpb-border);
    min-height: 110px;
    flex-shrink: 0;
}
.cpb-modal-header-text {
    flex: 1;
    padding: 24px 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cpb-modal-header-text h2 {
    font-family: var(--cpb-font);
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--cpb-dark);
    letter-spacing: -.01em;
    text-transform: uppercase;
}
.cpb-modal-header-text p {
    margin: 0;
    color: var(--cpb-mid);
    font-size: .9rem;
}
.cpb-btn-full {
    max-width: 220px;
}
.cpb-modal-header-img {
    width: 250px;
    background: url('') center/cover no-repeat var(--cpb-light);
    flex-shrink: 0;
    border-radius: 0 var(--cpb-radius) 0 0;
    /* Set background-image via your theme CSS: .cpb-modal-header-img { background-image: url('your-image.jpg'); } */
}

/* ── Body ────────────────────────────────────────────────────── */
.cpb-modal-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ── Left sidebar nav ────────────────────────────────────────── */
.cpb-sidebar {
    width: var(--cpb-sidebar-w);
    flex-shrink: 0;
    border-right: 1px solid var(--cpb-border);
    background: var(--cpb-light);
    overflow-y: auto;
    padding: 20px 0 20px;
}
#cpb-step-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
#cpb-step-nav li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    cursor: default;
    position: relative;
    font-size: .82rem;
    color: #999;
    transition: color .2s;
}
#cpb-step-nav li::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: transparent;
    border-radius: 0 3px 3px 0;
    transition: background .2s;
}
#cpb-step-nav li.cpb-nav-active {
    color: var(--cpb-dark);
    font-weight: 600;
}
#cpb-step-nav li.cpb-nav-active::before { background: var(--cpb-brand); }
#cpb-step-nav li.cpb-nav-done { color: var(--cpb-mid); }

.cpb-nav-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid var(--cpb-border);
    background: var(--cpb-white);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all .2s;
    color: #bbb;
}
.cpb-nav-active .cpb-nav-icon {
    border-color: var(--cpb-brand);
    background: var(--cpb-brand);
    color: #fff;
}
.cpb-nav-done .cpb-nav-icon {
    border-color: #4caf50;
    background: #4caf50;
    color: #fff;
    font-size: .9rem;
}
.cpb-nav-label { line-height: 1.3; }
.cpb-nav-sub { display: block; font-size: .72rem; color: #aaa; margin-top: 2px; }

/* ── Main content ────────────────────────────────────────────── */
.cpb-main {
    flex: 1;
    overflow-y: auto;
    padding: 20px 15px;
    min-width: 0;
}

/* Loading */
.cpb-loading { text-align: center; padding: 60px 20px; color: var(--cpb-mid); }
.cpb-spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--cpb-border);
    border-top-color: var(--cpb-brand);
    border-radius: 50%;
    animation: cpbSpin .8s linear infinite;
    margin: 0 auto 16px;
}
h3.cpb-form-title {
    font-size: 21px;
    font-weight: 500;
    color: #000 !important;
    margin-bottom: 15px;
}
@keyframes cpbSpin { to { transform: rotate(360deg); } }

/* Step content */
.cpb-step-content {}
.cpb-step-heading {
    font-family: var(--cpb-font);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--cpb-dark);
    margin: 0 0 4px;
}
.cpb-step-subheading { color: var(--cpb-mid); font-size: .88rem; margin: 0 0 22px; }

/* Category tabs */
.cpb-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.cpb-cat-tab {
    padding: 8px 18px;
    border: 1.5px solid var(--cpb-border);
    border-radius: 24px;
    background: var(--cpb-white);
    font-size: .83rem;
    cursor: pointer;
    color: var(--cpb-mid);
    transition: all .18s;
    font-family: var(--cpb-sans);
}
.cpb-cat-tab:hover { border-color: var(--cpb-brand); color: var(--cpb-dark); }
.cpb-cat-tab.active {
    border-color: var(--cpb-brand);
    background: var(--cpb-brand);
    color: #fff;
}

/* Product grid */
.cpb-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.cpb-product-card {
    border: 1.5px solid var(--cpb-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--cpb-white);
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, transform .18s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.cpb-product-card:hover {
    border-color: var(--cpb-brand);
    box-shadow: 0 6px 20px rgba(209,177,122,.18);
    transform: translateY(-2px);
}
.cpb-product-card.selected {
    border-color: var(--cpb-brand);
    box-shadow: 0 0 0 3px rgba(209,177,122,.25);
}
.cpb-product-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px; right: 8px;
    width: 22px; height: 22px;
    background: var(--cpb-brand);
    color: #fff;
    border-radius: 50%;
    font-size: .75rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.cpb-product-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: var(--cpb-light);
}
.cpb-product-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--cpb-light);
    display: flex; align-items: center; justify-content: center;
    color: #ccc;
    font-size: 2rem;
}
.cpb-product-info {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.cpb-product-name { font-size: .82rem; font-weight: 600; color: var(--cpb-dark); line-height: 1.3; }
.cpb-product-price { font-size: .8rem; color: var(--cpb-brand); font-weight: 700; }
.cpb-product-cat { font-size: .7rem; color: #bbb; text-transform: uppercase; letter-spacing: .04em; }

/* Quantity row under selected product */
.cpb-product-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 10px;
    gap: 8px;
}
.cpb-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--cpb-border);
    border-radius: 6px;
    overflow: hidden;
}
.cpb-qty-btn {
    width: 28px; height: 28px;
    background: var(--cpb-light);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--cpb-mid);
    line-height: 1;
    transition: background .15s;
    display: flex; align-items: center; justify-content: center;
}
.cpb-qty-btn:hover { background: var(--cpb-brand); color: #fff; }
.cpb-qty-input {
    width: 38px;
    border: none;
    border-left: 1px solid var(--cpb-border);
    border-right: 1px solid var(--cpb-border);
    text-align: center;
    font-size: .85rem;
    height: 28px;
    color: var(--cpb-dark);
    font-weight: 600;
}
.cpb-qty-input:focus { outline: none; background: #fffdf8; }
.cpb-add-product-btn {
    flex: 1;
    padding: 6px 0;
    background: var(--cpb-brand);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
    text-align: center;
}
.cpb-add-product-btn:hover { opacity: .85; }

/* Guest input */
.cpb-guest-box {
    background: var(--cpb-light);
    border: 1px solid var(--cpb-border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.cpb-guest-box label { font-weight: 600; color: var(--cpb-dark); font-size: .9rem; white-space: nowrap; }
.cpb-guest-input-wrap { display: flex; align-items: center; gap: 0; }
.cpb-guest-qty { width: 70px; text-align: center; border: 1.5px solid var(--cpb-border); border-radius: 6px; padding: 6px; font-size: 1rem; font-weight: 600; color: var(--cpb-dark); }
.cpb-guest-hint { color: #aaa; font-size: .82rem; margin-left: 12px; }

/* Extras grid (compact list style) */
.cpb-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.cpb-extra-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--cpb-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--cpb-white);
    transition: border-color .15s;
}
.cpb-extra-item.in-cart { border-color: var(--cpb-brand); background: #fffdf8; }
.cpb-extra-thumb {
    width: 52px; height: 52px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--cpb-light);
}
.cpb-extra-info { flex: 1; min-width: 0; }
.cpb-extra-name { font-size: .82rem; font-weight: 600; color: var(--cpb-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpb-extra-price { font-size: .78rem; color: var(--cpb-brand); font-weight: 700; }
.cpb-extra-add {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--cpb-brand);
    background: transparent;
    color: var(--cpb-brand);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
    flex-shrink: 0;
}
.cpb-extra-add:hover,
.cpb-extra-item.in-cart .cpb-extra-add { background: var(--cpb-brand); color: #fff; }

/* ── Right Summary Panel ──────────────────────────────────────── */
.cpb-summary-panel {
    width: var(--cpb-summary-w);
    flex-shrink: 0;
    border-left: 1px solid var(--cpb-border);
    background: var(--cpb-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cpb-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--cpb-border);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--cpb-dark);
    flex-shrink: 0;
}
.cpb-summary-count {
    background: var(--cpb-brand);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .7rem;
}
.cpb-summary-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    overflow-y: auto;
    flex: 1;
}
.cpb-summary-empty { padding: 14px 18px; color: #bbb; font-size: .82rem; font-style: italic; }

.cpb-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 16px;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.cpb-summary-img {
    width: 38px; height: 38px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--cpb-border);
}
.cpb-summary-info { flex: 1; min-width: 0; }
.cpb-summary-name { font-size: .68rem; font-weight: 600; color: var(--cpb-dark); line-height: 1.3; }
.cpb-summary-meta { font-size: .72rem; color: #aaa; }
.cpb-summary-price { font-size: .78rem; font-weight: 700; color: var(--cpb-brand); white-space: nowrap; }
.cpb-summary-remove {
    background: none; border: none; cursor: pointer;
    color: #ccc; font-size: .9rem; line-height: 1; padding: 0;
    transition: color .15s;
}
.cpb-summary-remove:hover { color: #e53935; }

.cpb-summary-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid var(--cpb-border);
    font-size: .85rem;
    font-weight: 700;
    color: var(--cpb-dark);
    flex-shrink: 0;
}
.cpb-btn-full { margin: 0 12px 12px; border-radius: 8px; }

/* ── Review Step ─────────────────────────────────────────────── */
.cpb-review-layout { display: grid; grid-template-columns: 1fr 390px; gap: 28px; }

.cpb-review-items { }
.cpb-review-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cpb-border);
}
.cpb-review-item:last-child { border-bottom: none; }
.cpb-review-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--cpb-light); flex-shrink: 0; }
.cpb-review-info { flex: 1; }
.cpb-review-name { font-size: .75rem; font-weight: 600; color: var(--cpb-dark); }
.cpb-review-qty  { font-size: .78rem; color: #aaa; }
.cpb-review-line-price { font-size: .75rem; font-weight: 700; color: var(--cpb-brand); white-space: nowrap; }

.cpb-review-totals {
    background: var(--cpb-light);
    border: 1px solid var(--cpb-border);
    border-radius: 10px;
    padding: 18px;
    margin-top: 16px;
}
.cpb-review-total-row {
    display: flex; justify-content: space-between;
    padding: 6px 0; font-size: .85rem; color: var(--cpb-mid);
}
.cpb-review-total-row.grand {
    font-weight: 700; font-size: 1rem; color: var(--cpb-dark);
    border-top: 1.5px solid var(--cpb-brand); margin-top: 8px; padding-top: 12px;
}
.cpb-review-grand-note { font-size: .75rem; color: #aaa; margin-top: 6px; font-style: italic; }

.cpb-review-notes-panel {
    background: #fffdf8;
    border: 1.5px solid var(--cpb-brand);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.cpb-review-notes-panel h4 { margin: 0 0 12px; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cpb-dark); }
.cpb-review-notes-panel li { font-size: .83rem; color: var(--cpb-mid); margin-bottom: 6px; }

/* Enquiry form */
.cpb-enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cpb-enquiry-form .cpb-full { grid-column: 1/-1; }

.cpb-form-group label { display: block; font-size: .78rem; font-weight: 600; color: var(--cpb-dark); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }
.cpb-form-group input,
.cpb-form-group textarea,
.cpb-form-group select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--cpb-border);
    border-radius: 7px;
    font-size: .87rem;
    color: var(--cpb-dark);
    background: var(--cpb-white);
    transition: border-color .15s;
    box-sizing: border-box;
    font-family: var(--cpb-sans);
}
.cpb-form-group input:focus,
.cpb-form-group textarea:focus { outline: none; border-color: var(--cpb-brand); }
.cpb-form-group textarea { resize: vertical; min-height: 80px; }

.cpb-privacy-check { display: flex; align-items: flex-start; gap: 8px; font-size: .78rem; color: var(--cpb-mid); margin-top: 4px; }
.cpb-privacy-check input { margin-top: 2px; accent-color: var(--cpb-brand); flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────────────── */
.cpb-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 28px;
    border-top: 1px solid var(--cpb-border);
    background: var(--cpb-white);
    flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.cpb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .18s;
    font-family: var(--cpb-sans);
    letter-spacing: .01em;
}
.cpb-btn-primary {
    background: var(--cpb-dark);
    color: var(--cpb-white);
}
.cpb-btn-primary:hover { background: #333; }
.cpb-btn-gold {
    background: var(--cpb-brand);
    color: var(--cpb-white);
}
.cpb-btn-gold:hover { opacity: .88; }
.cpb-btn-outline {
    background: transparent;
    color: var(--cpb-dark);
    border: 1.5px solid var(--cpb-border);
}
.cpb-btn-outline:hover { border-color: var(--cpb-dark); }
.cpb-btn-full { width: 100%; justify-content: center; }

/* ── Trigger button ──────────────────────────────────────────── */
.cpb-open-trigger {
    display: inline-block;
    padding: 14px 32px;
    background: var(--cpb-dark);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .2s;
    font-family: var(--cpb-sans);
}
.cpb-open-trigger:hover { background: var(--cpb-brand); }

/* ── Toast ───────────────────────────────────────────────────── */
.cpb-toast {
    position: fixed;
    bottom: 24px; right: 24px;
    background: var(--cpb-dark);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: .86rem;
    z-index: 999999;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
    animation: cpbFadeIn .2s ease;
    max-width: 320px;
}
.cpb-toast.success { border-left: 4px solid #4caf50; }
.cpb-toast.error   { border-left: 4px solid #e53935; }
.cpb-toast.info    { border-left: 4px solid var(--cpb-brand); }

/* ── Confirm dialog ──────────────────────────────────────────── */
.cpb-confirm-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
}
.cpb-confirm-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    text-align: center;
}
.cpb-confirm-box h3 { margin: 0 0 10px; font-size: 1.1rem; }
.cpb-confirm-box p  { color: var(--cpb-mid); font-size: .88rem; margin: 0 0 22px; }
.cpb-confirm-actions { display: flex; gap: 12px; justify-content: center; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .cpb-sidebar { display: none; }
    .cpb-summary-panel { width: 220px; }
    .cpb-review-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .cpb-overlay { padding: 0; }
    .cpb-modal { max-height: 100vh; border-radius: 0; }
    .cpb-summary-panel { display: none; }
    .cpb-modal-header-img { display: none; }
    .cpb-enquiry-form { grid-template-columns: 1fr; }
    .cpb-product-grid { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); }
}

/* ── Back button ─────────────────────────────────────────────── */
.cpb-btn-back {
    background: transparent;
    color: var(--cpb-mid);
    border: 1.5px solid var(--cpb-border);
    padding: 11px 18px;
}
.cpb-btn-back:hover {
    border-color: var(--cpb-dark);
    color: var(--cpb-dark);
}

/* ── Footer layout with back button ─────────────────────────── */
.cpb-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Push next/continue to the right when back is visible */
#cpb-next-step {
    margin-left: auto;
}
/* Review footer actions — shown as flex row, auto-pushed right */
#cpb-footer-review-actions {
    display: none;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

/* ── CF7 inside modal ────────────────────────────────────────── */
.cpb-cf7-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cpb-cf7-wrap .wpcf7-form p {
    margin: 0;
}
.cpb-cf7-wrap .wpcf7-form input[type="text"],
.cpb-cf7-wrap .wpcf7-form input[type="email"],
.cpb-cf7-wrap .wpcf7-form input[type="tel"],
.cpb-cf7-wrap .wpcf7-form input[type="date"],
.cpb-cf7-wrap .wpcf7-form textarea,
.cpb-cf7-wrap .wpcf7-form select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--cpb-border);
    border-radius: 7px;
    font-size: .87rem;
    color: var(--cpb-dark);
    background: var(--cpb-white);
    box-sizing: border-box;
    transition: border-color .15s;
    font-family: var(--cpb-sans);
}
.cpb-cf7-wrap .wpcf7-form input:focus,
.cpb-cf7-wrap .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--cpb-brand);
}
.cpb-cf7-wrap .wpcf7-form textarea {
    resize: vertical;
    min-height: 90px;
}
.cpb-cf7-wrap .wpcf7-form input[type="submit"] {
    background: var(--cpb-brand);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: opacity .15s;
    letter-spacing: .02em;
}
.cpb-cf7-wrap .wpcf7-form input[type="submit"]:hover { opacity: .87; }
.cpb-cf7-wrap .wpcf7-response-output {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .84rem;
    margin: 4px 0 0;
}

.cpb-loading-inline {
    color: var(--cpb-mid);
    font-size: .85rem;
    padding: 20px 0;
}
.cpb-no-cf7-notice {
    background: #fff8ec;
    border: 1.5px solid var(--cpb-brand);
    border-radius: 10px;
    padding: 18px 20px;
    font-size: .86rem;
    color: var(--cpb-mid);
}
.cpb-form-error {
    color: #c62828;
    font-size: .84rem;
    padding: 12px 0;
}

/* ── Scrollable main when review is tall ────────────────────── */
.cpb-review-left,
.cpb-review-right {
    min-width: 0;
}
