.cpbs-hero{background-size:cover;background-position:center center;position:relative;margin:0 0 25px;width:100%;border-radius:8px;overflow:hidden;display:flex;align-items:center}
.cpbs-hero-inner{position:relative;z-index:1;max-width:760px;color:inherit;text-align:center;margin:0 auto}
.cpbs-hero-title{margin:0 0 10px;font-size:2rem;line-height:1.1;color:inherit}
.cpbs-hero-text{margin:0 0 14px;line-height:1.5;color:inherit}
.cpbs-hero-button.button{text-decoration:none;border:none}

.cpbs-progress-block{border:1px solid #e2e2e2;background:#fff;border-radius:8px;padding:18px;margin:0 0 18px;box-shadow:0 1px 3px rgba(0,0,0,.04);text-align:center}
.cpbs-progress-header{display:block;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin:0 0 10px;font-size:1.5rem;text-align:center}
.cpbs-progress-title{font-weight:700;color:#222;width:100%;text-align:center}
.cpbs-progress-count{color:#555}
.cpbs-set-summary{margin:0 0 10px;color:#444}
.cpbs-set-summary-description{margin-top:4px;line-height:1.45;color:#555}
.cpbs-progress-list{display:block;margin:10px 0 14px 0;padding:0;list-style:none;text-align:center}
.cpbs-progress-list li{margin:0 0 8px;color:#222;text-align:center}
.cpbs-item-symbol{display:inline-block;width:20px;font-weight:700}
.cpbs-item-complete .cpbs-item-symbol{color:#2f6b2f}
.cpbs-item-missing .cpbs-item-symbol{color:#7a1f1f}
.cpbs-item-link{margin-left:8px}
.cpbs-missing-prompt{margin:0 0 10px;color:#444}
.cpbs-progress-actions{margin:0;color:#444}

.single-product .cpbs-progress-block,
.tax-product_cat .cpbs-progress-block{margin-top:24px}

.cpbs-progress-list li,
.cpbs-item-missing,
.cpbs-item-complete{text-align:center}

.cpbs-item-complete{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#eef7ee;border:1px solid #c9e3c9;border-radius:999px;padding:6px 12px;margin:4px auto}
.cpbs-item-complete .cpbs-item-symbol{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#2f6b2f;color:#fff !important;font-size:14px;font-weight:700}
.cpbs-item-complete .cpbs-item-text{color:#245424 !important;font-weight:600}

/* Selector grid: shared Value Selection card treatment aligned with [cp_order_options]. */
.cpbs-selector-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:24px;max-width:1100px;width:calc(100% - 32px);margin:14px auto 72px;padding:12px 0 0;background:transparent}
.cpbs-selector-card{box-sizing:border-box;flex:0 1 calc((100% - 48px)/3);min-width:260px;max-width:340px;border:0;padding:16px;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.12);transition:transform .18s ease,box-shadow .18s ease;display:flex;flex-direction:column;min-height:100%;overflow:hidden}
.cpbs-selector-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.10)}
.cpbs-selector-card h3,.cpbs-selector-card .cpbs-price,.cpbs-selector-card .cpbs-set-items,.cpbs-selector-card .cpbs-set-items li{color:#222}
.cpbs-selector-card h3{margin:0 0 10px;line-height:1.15;text-transform:uppercase;letter-spacing:.03em;font-size:clamp(1.35rem,2.2vw,1.9rem)}
.cpbs-selector-card .cpbs-description{margin:0 0 12px;line-height:1.42;color:#333}
.cpbs-selector-media{aspect-ratio:16 / 9;overflow:hidden;border-radius:6px;margin:0 0 14px;background:#eee}
.cpbs-selector-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .18s ease}
.cpbs-selector-card:hover .cpbs-selector-image{transform:scale(1.015)}
.cpbs-price{font-size:1.08em;margin:0 0 6px}
.cpbs-saving{margin:0 0 10px;color:#2f6b2f;font-weight:600}
.cpbs-set-items{margin:0 0 14px 18px;padding:0}
.cpbs-set-items li{margin:0 0 3px;line-height:1.32}
.cpbs-selector-card > p:last-child{margin-top:auto;margin-bottom:0}
.cpbs-select-button.button,.cpbs-hero-button.button{display:inline-block;background:#dfb72f;color:#200b05!important;text-decoration:none!important;text-transform:uppercase;letter-spacing:.18em;font-weight:700;border-radius:4px;border:0;padding:9px 22px;line-height:1.2;transition:transform .15s ease,filter .15s ease}
.cpbs-select-button.button:hover,.cpbs-select-button.button:focus,.cpbs-hero-button.button:hover,.cpbs-hero-button.button:focus{transform:translateY(-1px);filter:brightness(1.04)}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.cpbs-disabled{pointer-events:none;opacity:.5;cursor:not-allowed}
.woocommerce-cart .wc-item-meta{font-size:.9em;color:#666}
.woocommerce-cart .wc-item-meta li{margin:2px 0}

.woocommerce-cart tr.cpbs-helper-cart-row,
.woocommerce-checkout-review-order-table tr.cpbs-helper-cart-row{border-top:2px solid rgba(221,180,54,.95);border-bottom:1px solid rgba(221,180,54,.55)}
.woocommerce-cart tr.cpbs-linked-cart-row .product-name,
.woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .product-name{border-left:4px solid rgba(221,180,54,.85);padding-left:20px}

.cpbs-helper-title{font-weight:700}
.cpbs-helper-note{display:block;margin-top:4px;font-size:.92em;line-height:1.35;opacity:.88}
.cpbs-helper-saving-summary{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:8px;font-size:.88em;line-height:1.35;opacity:.96}
.cpbs-helper-saving-summary span{white-space:nowrap}
.cpbs-placeholder-price,
.cpbs-helper-quantity,
.cpbs-mini-helper-quantity{display:inline-block;font-size:.92em;line-height:1.35;opacity:.88;white-space:normal}
.cpbs-helper-quantity{min-width:2em;text-align:center}


/* Checkout: refine selected-box spacing in the Your Order table.
   Keep the selected items away from the internal column divider, while reducing
   the overall boxed-row padding slightly so the checkout panel feels neater. */
.woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .product-name{
    padding-top:8px;
    padding-right:12px;
    padding-bottom:8px;
    padding-left:14px;
	
}

.woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .product-total{
    padding-left:10px;
}

.woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .wc-item-meta{
    margin-top:6px;
    margin-left:6px;
    padding-left:8px;
}

.woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .wc-item-meta li{
    margin:4px 0 0;
    line-height:1.38;
}

.woocommerce-checkout-review-order-table tr.cpbs-helper-cart-row .product-name{
    padding-top:10px;
    padding-bottom:10px;
}

/* Checkout: tighten the Astra/WooCommerce "Your order" frame without crowding the box-set contents. */
body.woocommerce-checkout form #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review){
    padding-left:1.25em !important;
    padding-right:1.25em !important;
}

/* Checkout: give linked box-set metadata a small inset away from the vertical marker line. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .product-name{
    padding-left:18px !important;
    padding-right:10px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .wc-item-meta{
    margin-left:12px !important;
    padding-left:0 !important;
}

/* v3.4.3: compact progress actions and remove-selection link. */
.cpbs-item-actions{display:inline-block;margin-left:8px;font-size:.88em;white-space:nowrap}
.cpbs-remove-item-link{opacity:.82;text-decoration:underline;text-underline-offset:2px}
.cpbs-remove-item-link:hover{opacity:1}
.cpbs-order-helper-title{display:inline-block}

@media (max-width:768px){
    .cpbs-progress-block{padding:12px 12px}
    .cpbs-progress-header{font-size:1.2rem}
    .cpbs-item-complete{border-radius:14px;flex-wrap:wrap;gap:5px 7px}
    .cpbs-item-actions{display:block;width:100%;margin-left:0}
    .cpbs-selector-grid{gap:14px}
    .cpbs-selector-card{flex-basis:100%;max-width:420px}
}

/* v3.4.4: order-received/email display refinements for box-set rows. */
.woocommerce-order-details tr.cpbs-helper-order-row td,
.woocommerce-table--order-details tr.cpbs-helper-order-row td{
    padding-bottom:8px;
}
.woocommerce-order-details tr.cpbs-linked-order-row td,
.woocommerce-table--order-details tr.cpbs-linked-order-row td{
    padding-top:8px;
    padding-bottom:8px;
}
.woocommerce-order-details tr.cpbs-linked-order-row .wc-item-meta,
.woocommerce-table--order-details tr.cpbs-linked-order-row .wc-item-meta{
    margin-top:3px;
    margin-bottom:0;
}
.woocommerce-order-details tr.cpbs-linked-order-row .wc-item-meta li,
.woocommerce-table--order-details tr.cpbs-linked-order-row .wc-item-meta li{
    margin-top:2px;
    margin-bottom:0;
    line-height:1.28;
}
.cpbs-order-helper-subtotal{
    display:inline-block;
    font-size:.92em;
    line-height:1.3;
    opacity:.9;
}

/* ------------------------------------------------------------
   CPBS v3.5.6 basket/cart polish
------------------------------------------------------------ */

.woocommerce-cart .cpbs-helper-set-name,
.woocommerce-order-details .cpbs-helper-set-name,
.woocommerce-table--order-details .cpbs-helper-set-name{font-weight:700}

.woocommerce-cart table.cart td.product-thumbnail img.cpbs-helper-cart-image,
.woocommerce-cart table.shop_table td.product-thumbnail img.cpbs-helper-cart-image{object-fit:cover}

/* Hide deliberately empty price/subtotal cells. Safari supports :has(), which
   is useful because WooCommerce applies the mobile labels to the table cells. */
.woocommerce-cart table.cart td.product-price:has(.cpbs-empty-cart-cell),
.woocommerce-cart table.cart td.product-subtotal:has(.cpbs-empty-cart-cell),
.woocommerce-cart table.shop_table td.product-price:has(.cpbs-empty-cart-cell),
.woocommerce-cart table.shop_table td.product-subtotal:has(.cpbs-empty-cart-cell){display:none!important}

@media (min-width: 769px){
    .woocommerce-cart table.cart tr.cart_item td.product-thumbnail,
    .woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail{width:96px}

    .woocommerce-cart table.cart tr.cart_item td.product-thumbnail img,
    .woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail img{width:76px!important;max-width:76px!important;height:76px!important;object-fit:cover;border-radius:4px}

    .woocommerce-cart table.cart tr.cpbs-helper-cart-row td,
    .woocommerce-cart table.shop_table tr.cpbs-helper-cart-row td,
    .woocommerce-cart table.cart tr.cpbs-linked-cart-row td,
    .woocommerce-cart table.shop_table tr.cpbs-linked-cart-row td{padding-top:14px!important;padding-bottom:14px!important;vertical-align:middle}

    .woocommerce-cart table.cart tr.cpbs-linked-cart-row .product-name,
    .woocommerce-cart table.shop_table tr.cpbs-linked-cart-row .product-name{line-height:1.35}
}

@media (max-width: 768px){

    .woocommerce-cart table.cart,
    .woocommerce-cart table.shop_table,
    .woocommerce-cart .woocommerce-cart-form{margin-bottom:16px!important}

    .woocommerce-cart table.cart tr.cart_item,
    .woocommerce-cart table.shop_table tr.cart_item{position:relative;margin-bottom:0!important;border-bottom:1px solid rgba(255,255,255,.55)}

    .woocommerce-cart table.cart tr.cart_item td,
    .woocommerce-cart table.shop_table tr.cart_item td{padding-top:5px!important;padding-bottom:5px!important;min-height:0!important;line-height:1.28!important}

    .woocommerce-cart table.cart td.product-remove,
    .woocommerce-cart table.shop_table td.product-remove{padding-top:4px!important;padding-bottom:0!important}

    .woocommerce-cart table.cart td.product-thumbnail,
    .woocommerce-cart table.shop_table td.product-thumbnail{padding-top:8px!important;padding-bottom:3px!important;text-align:center!important}

    .woocommerce-cart table.cart td.product-thumbnail::before,
    .woocommerce-cart table.shop_table td.product-thumbnail::before{display:none!important}

    .woocommerce-cart table.cart td.product-thumbnail img,
    .woocommerce-cart table.shop_table td.product-thumbnail img{width:86px!important;max-width:86px!important;height:86px!important;object-fit:cover;border-radius:4px}

    .woocommerce-cart table.cart tr.cpbs-helper-cart-row td.product-thumbnail img,
    .woocommerce-cart table.shop_table tr.cpbs-helper-cart-row td.product-thumbnail img{width:96px!important;max-width:96px!important;height:96px!important}

    .woocommerce-cart table.cart td.product-name,
    .woocommerce-cart table.shop_table td.product-name{padding-top:4px!important;padding-bottom:5px!important;line-height:1.3!important}

    .woocommerce-cart table.cart td.product-name dl,
    .woocommerce-cart table.shop_table td.product-name dl,
    .woocommerce-cart table.cart td.product-name .variation,
    .woocommerce-cart table.shop_table td.product-name .variation,
    .woocommerce-cart table.cart td.product-name p,
    .woocommerce-cart table.shop_table td.product-name p{margin-top:3px!important;margin-bottom:3px!important;line-height:1.28!important}

    .woocommerce-cart table.cart td.product-price,
    .woocommerce-cart table.shop_table td.product-price,
    .woocommerce-cart table.cart td.product-quantity,
    .woocommerce-cart table.shop_table td.product-quantity,
    .woocommerce-cart table.cart td.product-subtotal,
    .woocommerce-cart table.shop_table td.product-subtotal{padding-top:4px!important;padding-bottom:4px!important}

    .woocommerce-cart table.cart .quantity,
    .woocommerce-cart table.shop_table .quantity{margin-top:0!important;margin-bottom:0!important}

    .woocommerce-cart table.cart tr.cpbs-linked-cart-row .product-name,
    .woocommerce-cart table.shop_table tr.cpbs-linked-cart-row .product-name{padding-left:10px!important;border-left:3px solid rgba(221,180,54,.85)}

    .woocommerce-cart table.cart tr.cpbs-helper-cart-row .cpbs-helper-note,
    .woocommerce-cart table.shop_table tr.cpbs-helper-cart-row .cpbs-helper-note{margin-top:3px!important;line-height:1.25!important}

    .woocommerce-cart table.cart tr.cpbs-helper-cart-row .cpbs-helper-saving-summary,
    .woocommerce-cart table.shop_table tr.cpbs-helper-cart-row .cpbs-helper-saving-summary{gap:4px 8px!important;margin-top:5px!important;line-height:1.25!important}

    .woocommerce-cart table.cart tr.cpbs-helper-cart-row .cpbs-helper-saving-summary span,
    .woocommerce-cart table.shop_table tr.cpbs-helper-cart-row .cpbs-helper-saving-summary span{white-space:normal!important}

    .woocommerce-cart .cart_totals{margin-top:16px!important}

    .woocommerce-cart .cart_totals table.shop_table th,
    .woocommerce-cart .cart_totals table.shop_table td{padding-top:7px!important;padding-bottom:7px!important}

    .woocommerce-cart .wc-proceed-to-checkout{padding-top:10px!important;padding-bottom:10px!important}
}


/* v3.5.7: WooCommerce mobile cart renders Price/Subtotal labels using
   td::before, so hide the linked component cells themselves rather than only
   empty placeholders inside them. The priced Value Selection/helper row is left
   visible. */
.woocommerce-cart tr.cpbs-linked-cart-row td.product-price,
.woocommerce-cart tr.cpbs-linked-cart-row td.product-subtotal,
.woocommerce-cart table.cart tr.cpbs-linked-cart-row td.product-price,
.woocommerce-cart table.cart tr.cpbs-linked-cart-row td.product-subtotal,
.woocommerce-cart table.shop_table tr.cpbs-linked-cart-row td.product-price,
.woocommerce-cart table.shop_table tr.cpbs-linked-cart-row td.product-subtotal{
    display:none!important;
}


/* v3.5.8: WooCommerce checkout uses a different responsive table from the
   basket. On mobile it can expose empty linked-component price/subtotal labels
   via the table cell's responsive label. Hide those linked component total cells
   on checkout as well as basket; leave the helper/Value Selection row visible. */
body.woocommerce-checkout tr.cpbs-linked-cart-row td.product-price,
body.woocommerce-checkout tr.cpbs-linked-cart-row td.product-subtotal,
body.woocommerce-checkout tr.cpbs-linked-cart-row td.product-total,
body.woocommerce-checkout table.shop_table tr.cpbs-linked-cart-row td.product-price,
body.woocommerce-checkout table.shop_table tr.cpbs-linked-cart-row td.product-subtotal,
body.woocommerce-checkout table.shop_table tr.cpbs-linked-cart-row td.product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row td.product-total{
    display:none!important;
}

body.woocommerce-checkout tr.cpbs-linked-cart-row td.product-price::before,
body.woocommerce-checkout tr.cpbs-linked-cart-row td.product-subtotal::before,
body.woocommerce-checkout tr.cpbs-linked-cart-row td.product-total::before,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row td.product-total::before{
    display:none!important;
    content:''!important;
}

@media (max-width:768px){
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .product-name{
        padding-top:6px!important;
        padding-bottom:6px!important;
        padding-left:10px!important;
        border-left:3px solid rgba(221,180,54,.85);
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .wc-item-meta{
        margin-top:3px!important;
        margin-left:6px!important;
        line-height:1.28!important;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cpbs-linked-cart-row .wc-item-meta li{
        margin-top:2px!important;
        margin-bottom:0!important;
    }
}

/* v3.5.9: stronger checkout fallback for mobile responsive labels.
   Some checkout layouts do not keep the cpbs-linked-cart-row class on the
   responsive price/subtotal cells. Hide the whole cell when the plugin has
   deliberately output its empty-cell marker. */
body.woocommerce-checkout table.shop_table td:has(.cpbs-empty-cart-cell),
body.woocommerce-checkout .woocommerce-checkout-review-order-table td:has(.cpbs-empty-cart-cell),
body.woocommerce-cart table.shop_table td:has(.cpbs-empty-cart-cell),
body.woocommerce-cart table.cart td:has(.cpbs-empty-cart-cell){
    display:none!important;
}

body.woocommerce-checkout table.shop_table td:has(.cpbs-empty-cart-cell)::before,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td:has(.cpbs-empty-cart-cell)::before,
body.woocommerce-cart table.shop_table td:has(.cpbs-empty-cart-cell)::before,
body.woocommerce-cart table.cart td:has(.cpbs-empty-cart-cell)::before{
    display:none!important;
    content:''!important;
}


/* ------------------------------------------------------------
   CPBS v3.5.12: scoped mobile Mix and Match child-row cleanup
   Only hide empty Mix and Match child price/subtotal cells when those rows
   are part of a CPBS Value Selection. Standalone Mix and Match purchases are
   not targeted.
------------------------------------------------------------ */
@media (max-width:768px){
    .woocommerce-cart tr.cpbs-linked-mnm-child-row td.product-price,
    .woocommerce-cart tr.cpbs-linked-mnm-child-row td.product-subtotal,
    .woocommerce-cart tr.cpbs-linked-mnm-child-row td.product-total,
    body.woocommerce-checkout tr.cpbs-linked-mnm-child-row td.product-price,
    body.woocommerce-checkout tr.cpbs-linked-mnm-child-row td.product-subtotal,
    body.woocommerce-checkout tr.cpbs-linked-mnm-child-row td.product-total{
        display:none!important;
    }

    .woocommerce-cart tr.cpbs-linked-mnm-child-row td.product-price::before,
    .woocommerce-cart tr.cpbs-linked-mnm-child-row td.product-subtotal::before,
    .woocommerce-cart tr.cpbs-linked-mnm-child-row td.product-total::before,
    body.woocommerce-checkout tr.cpbs-linked-mnm-child-row td.product-price::before,
    body.woocommerce-checkout tr.cpbs-linked-mnm-child-row td.product-subtotal::before,
    body.woocommerce-checkout tr.cpbs-linked-mnm-child-row td.product-total::before{
        display:none!important;
        content:''!important;
    }
}
