/* ─── 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: center;
    gap: 12px;
    padding: 8px 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: 20px; height: 20px;
    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(165px, 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;
	flex-wrap:wrap;
}
.cpb-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--cpb-border);
    border-radius: 6px;
    overflow: hidden;
	width:100%;
	justify-content:space-between
}
.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: 80%;
    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-product-qty-row input::-webkit-outer-spin-button,
.cpb-product-qty-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.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,
.open-custom-package-builder-popup {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 14px 32px;
    background: var(--cpb-dark);
    color: #fff !important;
    font-weight: 700;
    font-size: .9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .2s;
    font-family: var(--cpb-sans);
    line-height: normal;
    text-decoration: none;
}
.cpb-open-trigger:hover,
.open-custom-package-builder-popup:hover {
    background: var(--cpb-brand) !important;
    color: #fff !important;
}

/* ── 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;
}

/* ─── v2: Step Search Bar ──────────────────────────────────── */
.cpb-step-search-wrap {
    margin: 0 0 20px;
}
.cpb-step-search-inner {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e8e2d9;
    border-radius: 40px;
    padding: 0 16px;
    gap: 10px;
    transition: border-color .2s, box-shadow .2s;
}
.cpb-step-search-inner:focus-within {
    border-color: var(--cpb-brand, #d1b17a);
    box-shadow: 0 0 0 3px rgba(209,177,122,.12);
}
.cpb-search-icon {
    flex-shrink: 0;
    color: #aaa;
}
.cpb-step-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 13px 0;
    font-size: .9rem;
    color: #333;
}
.cpb-step-search-input::placeholder { color: #bbb; }
.cpb-step-search-clear {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: #aaa;
    line-height: 1;
    padding: 0;
    transition: color .15s;
}
.cpb-step-search-clear:hover { color: #666; }

/* ─── v2: Sidebar CTA Panel ─────────────────────────────────── */
.cpb-sidebar-cta {
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(209,177,122,.12) 0%, rgba(209,177,122,.04) 100%);
    border: 1px solid rgba(209,177,122,.3);
    border-radius: 10px;
}
.cpb-sidebar-cta-inner { text-align: center; }
.cpb-sidebar-cta-title {
    font-family: Georgia, serif;
    font-size: .95rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 7px;
    line-height: 1.3;
}
.cpb-sidebar-cta-desc {
    font-size: .78rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 12px;
}
.cpb-sidebar-cta-btn {
    display: inline-block;
    background: var(--cpb-brand, #d1b17a);
    color: #fff !important;
    font-size: .78rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    transition: opacity .15s, transform .15s;
    letter-spacing: .02em;
}
.cpb-sidebar-cta-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

/* ─── Product card image wrapper + overlay actions ─────────── */
.cpb-product-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f5f3f0;
    aspect-ratio: 4 / 4;
}
.cpb-product-img-wrap .cpb-product-img,
.cpb-product-img-wrap .cpb-product-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
    transition: transform .35s ease;
}
.cpb-product-card:hover .cpb-product-img {
    transform: scale(1.04);
}

/* Overlay action bar — appears on hover */
.cpb-product-img-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,.52) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: none;
}
.cpb-product-card:hover .cpb-product-img-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Wishlist button */
.cpb-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    color: #555;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background .15s, color .15s, transform .15s;
    flex-shrink: 0;
}
.cpb-wishlist-btn:hover,
.cpb-wishlist-btn.active,
.cpb-wishlist-btn.added {
    background: #fff;
    color: #e05;
    transform: scale(1.12);
}
.cpb-wishlist-btn svg {
    pointer-events: none;
    display: block;
}
.cpb-wishlist-btn.added svg,
.cpb-wishlist-btn:hover svg {
    fill: #e05;
    stroke: #e05;
}

/* Quick View button */
.cpb-quickview-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.88);
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: .75rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.cpb-quickview-btn:hover {
    background: #fff;
    color: #000;
}
.cpb-quickview-btn svg {
    pointer-events: none;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD — updated layout
═══════════════════════════════════════════════════════════════ */

/* Remove old overlay — wishlist is now top-right corner */
.cpb-product-img-actions { display: none !important; }

/* Image wrap */
.cpb-product-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f5f3f0;
    aspect-ratio: 4 / 4;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.cpb-product-img-wrap .cpb-product-img,
.cpb-product-img-wrap .cpb-product-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.cpb-product-card:hover .cpb-product-img { transform: scale(1.04); }

/* Wishlist — top-right corner, always visible, brand gold
   Works with WooSW (woosw-btn) — the plugin renders its own inner markup */
.cpb-wishlist-btn {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.92) !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.14);
    transition: transform .15s, background .15s;
    /* override any WooSW default positioning/sizing */
    line-height: 1 !important;
    text-indent: 0 !important;
    font-size: 0 !important;    /* hide any WooSW text label */
}
.cpb-wishlist-btn:hover { transform: scale(1.12); background: #fff !important; }

/* WooSW renders an <i> or <span> icon inside — colour it gold */
.cpb-wishlist-btn i,
.cpb-wishlist-btn span,
.cpb-wishlist-btn svg {
    display: block;
    color: #d1b17a !important;
    stroke: #d1b17a !important;
    fill: none !important;
    font-size: 16px !important;
}
/* Filled state — WooSW adds .woosw-added, we also check .cpb-wish-added */
.cpb-wishlist-btn.woosw-added i,
.cpb-wishlist-btn.woosw-added span,
.cpb-wishlist-btn.woosw-added svg,
.cpb-wishlist-btn.cpb-wish-added i,
.cpb-wishlist-btn.cpb-wish-added span,
.cpb-wishlist-btn.cpb-wish-added svg {
    fill: #d1b17a !important;
    color: #d1b17a !important;
    stroke: #d1b17a !important;
}
/* Fallback heart via pseudo if WooSW renders nothing visible */
.cpb-wishlist-btn:empty::before,
.cpb-wishlist-btn:not(:has(i)):not(:has(span)):not(:has(svg))::before {
    content: "♡";
    font-size: 16px !important;
    color: #d1b17a;
    line-height: 1;
}
.cpb-wishlist-btn.woosw-added::before,
.cpb-wishlist-btn.cpb-wish-added::before { content: "♥"; }

/* Card overlay — Quick View button, slides up on hover */
.cpb-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,.46) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    opacity: 1;
    transform: translateY(5px);
    transition: opacity .22s, transform .22s;
    pointer-events: none;
}
.cpb-product-card:hover .cpb-card-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cpb-quickview-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: .75rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    letter-spacing: .02em;
    transition: background .12s;
}
.cpb-quickview-btn:hover { background: #fff; }

/* Wishlist toast popup */
.cpb-wish-popup {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 999999;
    background: #fff;
    border-left: 3px solid #d1b17a;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 28px rgba(0,0,0,.14);
    font-size: .85rem;
    color: #333;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    max-width: 320px;
}
.cpb-wish-popup-show { opacity: 1; transform: translateY(0); }
.cpb-wish-popup-link {
    margin-left: auto;
    color: #d1b17a;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   QUICK VIEW POPUP
═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   QUICK VIEW MODAL — redesigned layout
═══════════════════════════════════════════════════════════════ */

/* Overlay */
.cpb-qv-overlay {
    position: fixed;
    inset: 0;
    z-index: 999990;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .25s;
}
.cpb-qv-overlay.cpb-qv-visible { opacity: 1; }

/* Modal */
.cpb-qv-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 960px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(18px);
    transition: transform .28s ease;
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.cpb-qv-overlay.cpb-qv-visible .cpb-qv-modal { transform: translateY(0); }

/* Close button */
.cpb-qv-close {
    position: absolute;
    top: 14px; right: 16px;
    z-index: 5;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    width: 36px; height: 36px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 1px 5px rgba(0,0,0,.12);
    transition: background .12s;
}
.cpb-qv-close:hover { background: #fff; }

/* Body layout: left + right */
.cpb-qv-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── LEFT — image gallery ── */
.cpb-qv-left {
    width: 44%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #f8f7f4;
    border-radius: 16px 0 0 0;
    position: relative;
    min-height: 320px;
}
.cpb-qv-slider {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}
.cpb-qv-slides {
    position: relative;
    flex: 1;
    min-height: 280px;
}
.cpb-qv-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cpb-qv-slide.active {
    opacity: 1;
}
.cpb-qv-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height:540px;
}

/* Dots navigation */
.cpb-qv-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px 14px;
    flex-shrink: 0;
}
.cpb-qv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8d2c8;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .15s, transform .15s;
    flex-shrink: 0;
}
.cpb-qv-dot.active {
    background: #d1b17a;
    transform: scale(1.25);
}
.cpb-qv-dot:hover { background: #b89558; }

/* Thumbnail strip */
.cpb-qv-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    background: #f8f7f4;
    flex-shrink: 0;
}
.cpb-qv-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .15s;
    background: #fff;
}
.cpb-qv-thumb.active { border-color: #d1b17a; }
.cpb-qv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── RIGHT — product info ── */
.cpb-qv-right {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cpb-qv-right-scroll {
    padding: 26px 26px 18px;
    flex: 1;
}

/* Product title, category, price */
.cpb-qv-title {
    font-family: Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 36px 4px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #111;
}
.cpb-qv-cat {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #d1b17a;
    margin-bottom: 6px;
}
.cpb-qv-price {
    font-size: 1.7rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}
.cpb-qv-hr {
    border: none;
    border-top: 1px solid #f0ece6;
    margin: 12px 0;
}

/* Meta row (stock + matching) */
.cpb-qv-meta-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 4px 0;
    font-size: .82rem;
}
.cpb-qv-meta-cell {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    line-height: 1.4;
}
.cpb-qv-meta-cell strong { font-weight: 700; color: #111; display: block; }
.cpb-qv-meta-cell span   { color: #888; font-size: .78rem; }
.cpb-qv-meta-sep {
    width: 1px;
    background: #eee;
    margin: 0 14px;
    flex-shrink: 0;
}

/* Dimensions */
.cpb-qv-dims { font-size: .83rem; color: #555; line-height: 1.6; }
.cpb-qv-dims-title {
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #111;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

/* Short desc */
.cpb-qv-short-desc { font-size: .83rem; color: #666; line-height: 1.55; }

/* Quantity */
.cpb-qv-qty-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}
.cpb-qv-qty-ctrl {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 10px;
    border: 1.5px solid #d1b17a;
    border-radius: 6px;
    overflow: hidden;
    max-width: 340px;
}
.cpb-qv-qty-btn {
    background: #fff;
    border: none;
    width: 48px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #333;
    transition: background .12s;
    flex-shrink: 0;
}
.cpb-qv-qty-btn:hover { background: #fdf3d4; }
.cpb-qv-qty-input {
    flex: 1;
    text-align: center;
    border: none;
    border-left: 1.5px solid #d1b17a;
    border-right: 1.5px solid #d1b17a;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    outline: none;
    padding: 10px 0;
    min-width: 0;
}

/* Qty presets */
.cpb-qv-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    max-width: 100%;
}
.cpb-qv-preset {
    background: #f5f3f0;
    border: 1.5px solid #e8e2d9;
    border-radius: 5px;
    padding: 6px 24px;
    font-size: .82rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: border-color .12s, background .12s, color .12s;
	flex:1;
}
.cpb-qv-preset:hover,
.cpb-qv-preset.active {
    border-color: #d1b17a;
    background: #fffbf2;
    color: #8a6500;
}

/* Add to Package button */
.cpb-qv-add-btn {
    width: 100%;
    max-width: 100%;
    padding: 15px 0;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s;
    margin-bottom: 15px;
}
.cpb-qv-add-btn:hover { background: #d1b17a; }

/* Availability row */
.cpb-qv-availability {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    color: #555;
    margin-bottom: 16px;
    max-width: 340px;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 12px;
    cursor: pointer;
}
.cpb-qv-availability svg { flex-shrink: 0; }
.cpb-qv-availability svg:last-child { margin-left: auto; }
.cpb-qv-avail-link { color: #d1b17a; font-weight: 600; text-decoration: none; }
.cpb-qv-avail-link:hover { text-decoration: underline; }

/* ── Bottom 2-column: related + CTA ── */
.cpb-qv-bottom-cols {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 14px;
    margin-top: 4px;
}
.cpb-qv-bottom-left,
.cpb-qv-bottom-right { min-width: 0; }

/* Related title */
.cpb-qv-related-title {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

/* Related items list */
.cpb-qv-related-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cpb-qv-related-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #eee;
    border-radius: 8px;
    padding: 8px;
    position: relative;
}
.cpb-qv-related-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}
.cpb-qv-related-info { min-width: 0; flex: 1; }
.cpb-qv-related-name {
    font-size: .74rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cpb-qv-related-price { font-size: .74rem; color: #888; }
.cpb-qv-related-add {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #f5f3f0;
    border: 1.5px solid #d1b17a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d1b17a;
    transition: background .12s;
}
.cpb-qv-related-add:hover { background: #d1b17a; color: #fff; }
.cpb-qv-related-add:disabled { opacity: .6; cursor: default; }

/* CTA heading */
.cpb-qv-cta-heading {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

/* CTA panel */
.cpb-qv-cta-panel {
    border: 1.5px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cpb-qv-cta-img {
    height: 85px;
    overflow: hidden;
    background: #e8e2d9;
    flex-shrink: 0;
}
.cpb-qv-cta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cpb-qv-cta-img--placeholder {
    background: linear-gradient(135deg, #e8e2d9 0%, #d8cfc4 100%);
}
.cpb-qv-cta-body {
    padding: 10px 12px 12px;
}
.cpb-qv-cta-title {
    font-size: .74rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 3px;
    line-height: 1.3;
}
.cpb-qv-cta-desc {
    font-size: .72rem;
    color: #777;
    line-height: 1.45;
    margin-bottom: 8px;
}
.cpb-qv-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: #d1b17a !important;
    border: 1.5px solid #d1b17a;
    border-radius: 5px;
    padding: 8px 0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background .12s, color .12s;
}
.cpb-qv-cta-btn:hover {
    background: #d1b17a;
    color: #fff !important;
}

/* ── Footer: feature icons ── */
.cpb-qv-footer {
    border-top: 1px solid #f0ece6;
    padding: 14px 24px;
    flex-shrink: 0;
    background: #fff;
}
.cpb-qv-features {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.cpb-qv-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.cpb-qv-feature-icon {
    color: #111;
    flex-shrink: 0;
    margin-top: 1px;
}
.cpb-qv-feature-text strong {
    display: block;
    font-size: .73rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}
.cpb-qv-feature-text span {
    font-size: .68rem;
    color: #888;
    line-height: 1.3;
}

/* Scrollbar for right panel */
.cpb-qv-right::-webkit-scrollbar { width: 5px; }
.cpb-qv-right::-webkit-scrollbar-track { background: transparent; }
.cpb-qv-right::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

/* Responsive */
@media (max-width: 680px) {
    .cpb-qv-body { flex-direction: column; }
    .cpb-qv-left { width: 100%; max-height: 240px; border-radius: 16px 16px 0 0; }
    .cpb-qv-slide img { max-height: 200px; }
    .cpb-qv-right-scroll { padding: 16px; }
    .cpb-qv-title { font-size: 1.1rem; }
    .cpb-qv-bottom-cols { grid-template-columns: 1fr; }
    .cpb-qv-features { flex-wrap: wrap; gap: 12px; }
    .cpb-qv-feature { flex: 0 0 calc(50% - 4px); }
    .cpb-qv-add-btn, .cpb-qv-qty-ctrl, .cpb-qv-presets, .cpb-qv-availability { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   REVIEW STEP v2 — new two-column design
═══════════════════════════════════════════════════════════════ */
.cpb-review-v2 {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    margin-top: 20px;
}

/* LEFT COLUMN — Package Summary */
.cpb-review-v2-left { min-width: 0; }
.cpb-review-v2-heading {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #111;
    margin: 0 0 16px;
}

.cpb-review-v2-pkg-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
    border-bottom: 1px solid #e8e2d9;
    padding-bottom: 12px;
}

/* Items list */
.cpb-review-v2-items { margin-bottom: 16px; }
.cpb-review-v2-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f5f3f0;
    border-radius: 6px;
    margin-bottom: 8px;
}
.cpb-review-v2-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}
.cpb-review-v2-item-info {
    flex: 1;
    min-width: 0;
}
.cpb-review-v2-item-name {
    font-size: .9rem;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}
.cpb-review-v2-item-qty {
    font-size: .78rem;
    color: #888;
    margin-top: 2px;
}
.cpb-review-v2-item-price {
    font-size: .95rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

/* More items toggle */
.cpb-review-v2-more-items {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #e8e2d9;
}
.cpb-review-v2-more-toggle {
    background: none;
    border: none;
    color: #d1b17a;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color .15s;
}
.cpb-review-v2-more-toggle:hover { color: #8a6500; }
.cpb-review-v2-more-toggle svg {
    transition: transform .25s;
}
.cpb-review-v2-more-toggle.open svg { transform: rotate(180deg); }

/* Totals */
.cpb-review-v2-totals {
    background: #f5f3f0;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.cpb-review-v2-total-row {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}
.cpb-review-v2-total-row:last-child { margin-bottom: 0; }
.cpb-review-v2-total-amount {
    font-size: 1.2rem;
}
.cpb-review-v2-disclaimer {
    margin: -10px 0 0;
    font-size: .75rem;
    color: #888;
}

.cpb-review-v2-share-text br {
    display: none;
}

/* Share panel */
.cpb-review-v2-share-panel {
    background: linear-gradient(135deg, #fdf3d4 0%, #fffbf2 100%);
    border: 1.5px solid #e8d9c0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.cpb-review-v2-share-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.cpb-review-v2-share-text {
    flex: 1;
    font-size: .85rem;
    line-height: 1.5;
    color: #555;
}
.cpb-review-v2-share-text strong {
    display: block;
    color: #111;
    margin-bottom: 3px;
}
.cpb-review-v2-pkg-name.d-none {
    display: none;
}
.cpb-review-v2-share-btn {
    display: block;
    width: 110px;
    padding: 10px;
    background: #fff;
    border: 1.5px solid #d1b17a;
    border-radius: 6px;
    color: #d1b17a;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s;
    margin-top: 10px;
}
.cpb-review-v2-share-btn:hover {
    background: #d1b17a;
    color: #fff;
}

/* Share options dropdown */
.cpb-share-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    width: 110px;
}
.cpb-share-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background .15s, border-color .15s, color .15s;
    cursor: pointer;
}
.cpb-share-email {
    background: #fff;
    border-color: #d1b17a;
    color: #d1b17a;
}
.cpb-share-email:hover {
    background: #d1b17a;
    color: #fff;
}
.cpb-share-whatsapp {
    background: #fff;
    border-color: #25d366;
    color: #25d366;
}
.cpb-share-whatsapp:hover {
    background: #25d366;
    color: #fff;
}
.cpb-share-facebook {
    background: #fff;
    border-color: #1877f2;
    color: #1877f2;
}
.cpb-share-facebook:hover {
    background: #1877f2;
    color: #fff;
}

/* RIGHT COLUMN — Form */
.cpb-review-v2-right {
    display: flex;
    flex-direction: column;
}

.cpb-review-v2-form-wrap {
    flex: 1;
    margin-bottom: 20px;
}

/* CF7 form styling */
.cpb-review-v2-form-wrap .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.cpb-review-v2-form-wrap .wpcf7-form-control-wrap {
    grid-column: 1;
}
.cpb-review-v2-form-wrap .wpcf7-form-control-wrap.full {
    grid-column: 1 / -1;
}

/* Form field styles */
.cpb-review-v2-form-wrap input[type="text"],
.cpb-review-v2-form-wrap input[type="email"],
.cpb-review-v2-form-wrap input[type="tel"],
.cpb-review-v2-form-wrap input[type="date"],
.cpb-review-v2-form-wrap input[type="time"],
.cpb-review-v2-form-wrap select,
.cpb-review-v2-form-wrap textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e8e2d9;
    border-radius: 6px;
    font-size: .88rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s;
}
.cpb-review-v2-form-wrap input:focus,
.cpb-review-v2-form-wrap select:focus,
.cpb-review-v2-form-wrap textarea:focus {
    outline: none;
    border-color: #d1b17a;
    box-shadow: 0 0 0 2px rgba(209,177,122,.12);
}

/* Notes panel */
.cpb-review-v2-notes {
    background: #fffbf2;
    border: 1.5px solid #e8d9c0;
    border-radius: 8px;
    padding: 14px;
    margin-top: 20px;
}
.cpb-review-v2-notes-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}
.cpb-review-v2-notes ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}
.cpb-review-v2-notes li {
    font-size: .82rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 4px;
}
.cpb-review-v2-notes li:last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
    .cpb-review-v2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ── Quick View Info Badges ───────────────────────────────── */
.cpb-qv-info-badges {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 12px 0 15px;
    padding: 10px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fafafa;
}
.cpb-qv-info-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.cpb-qv-info-badge-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.cpb-qv-info-badge-icon--check { color: #2eaa6e; }
.cpb-qv-info-badge-icon--gold  { color: #d1b17a; }
.cpb-qv-info-badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.cpb-qv-info-badge-text strong {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cpb-qv-info-badge-text span {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
}
.cpb-qv-info-badge-sep {
    width: 1px;
    height: 36px;
    background: #ddd;
    flex-shrink: 0;
    margin: 0 14px;
}
.cpb-qv-footer .cpb-qv-features{
	display:none
}