/* CHELECH saved favorites & native PRO Elements Cart. Elementor owns headings. */
body:has(.ch-customer-shell) .chelech-main {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding: 32px clamp(16px,3vw,40px) 72px;
}
body:has(.ch-customer-shell) .chelech-main > .wp-block-post-title {display:none;}
body:has(.ch-customer-shell) .chelech-main > .wp-block-post-content,
body:has(.ch-customer-shell) .chelech-main .elementor {max-width:none;width:100%;}
.ch-customer-shell {font-family:inherit;color:#172f45;}
.ch-customer-shell .ch-customer-heading {margin:0 0 8px;font-size:clamp(25px,3.2vw,34px);line-height:1.18;font-weight:800;color:#000;}
.ch-customer-shell .ch-customer-heading .elementor-heading-title {color:#000!important;}
.ch-customer-shell .ch-customer-intro {margin:0 0 24px;font-size:14px;line-height:1.6;color:#607486;}
.ch-customer-shell .ch-customer-topline {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.ch-customer-primary,
.ch-customer-shell .woocommerce .button,
.ch-customer-shell .woocommerce a.button,
.ch-customer-shell .woocommerce button.button {
    box-sizing:border-box;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-height:40px;
    padding:9px 15px;
    border:1px solid #dfcc25;
    border-radius:9px;
    background:#ffe51b;
    color:#18354b!important;
    font-size:12px;
    font-weight:750;
    line-height:1.2;
    text-decoration:none!important;
    cursor:pointer;
}
.ch-customer-primary:hover,
.ch-customer-shell .woocommerce .button:hover {background:#f3d932;}
.ch-favorites-page__toolbar {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px;}
.ch-favorites-page__summary {margin:0;font-size:13px;color:#637587;}
.ch-favorites-page__cart-link {font-size:12px;color:#1d4159!important;text-decoration:none!important;font-weight:750;}
.ch-favorites-page__cart-link:hover {text-decoration:underline!important;}

.ch-favorites-page__products {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}
.ch-favorite-item {
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:1px solid #e0e7ee;
    border-radius:13px;
    background:#fff;
}
.ch-favorite-item__image {display:flex;align-items:center;justify-content:center;min-height:170px;height:200px;padding:12px;background:#fff;}
.ch-favorite-item__image img {display:block;max-width:100%;width:100%;height:100%;object-fit:contain;}
.ch-favorite-item__separator {display:block;height:1px;flex:none;margin:0 13px;background:#e3eaf0;}
.ch-favorite-item__details {display:flex;flex:1;flex-direction:column;gap:10px;padding:12px 13px 14px;}
.ch-favorite-item__name {color:#1b364e!important;font-size:13px;line-height:1.45;font-weight:750;text-decoration:none!important;min-height:38px;}
.ch-favorite-item__name:hover {text-decoration:underline!important;}
.ch-favorite-item__price {margin-top:auto;color:#19344b;font-size:19px;font-weight:800;line-height:1.35;}
.ch-favorite-item__price del {font-size:12px;color:#8296a6;font-weight:500;}
.ch-favorite-item__price ins {text-decoration:none;}
.ch-favorite-item__actions {display:flex;align-items:stretch;gap:8px;}
.ch-favorite-item__actions > .ch-customer-primary {flex:1;min-width:0;}
.ch-favorite-item__remove {
    display:grid;place-items:center;box-sizing:border-box;flex:0 0 40px;
    width:40px;min-height:40px;padding:0;
    border:1px solid #dfe6ec;border-radius:9px;background:#fff;
    color:#bb455a;cursor:pointer;
}
.ch-favorite-item__remove:hover {background:#fff2f4;border-color:#eac0c8;}
.ch-favorite-item__remove:disabled {opacity:.5;cursor:wait;}
.ch-favorites-page__empty {
    max-width:540px;margin:16px auto 0;padding:36px 24px;
    border:1px solid #e3e9ee;border-radius:16px;background:#fff;
    text-align:center;
}
.ch-favorites-page__empty[hidden] {display:none!important;}
.ch-favorites-page__empty-icon {font-size:46px;line-height:1;color:#b0bdc8;}
.ch-favorites-page__empty h2 {margin:12px 0 8px;font-size:22px;color:#1c364d;}
.ch-favorites-page__empty p {margin:0 auto 22px;max-width:350px;font-size:13px;color:#6b7f8f;line-height:1.6;}
/* Reuse the actual PRO Elements Cart widget, not an invented checkout. */
.ch-customer-cart .elementor-widget-woocommerce-cart {width:100%;}
.ch-customer-cart .woocommerce-cart-form,
.ch-customer-cart .cart_totals,
.ch-customer-cart .e-cart__column,
.ch-customer-cart .woocommerce .cart-empty {
    border:1px solid #e2e9ee;
    border-radius:14px;
    background:#fff;
}
.ch-customer-cart .woocommerce-cart-form,
.ch-customer-cart .cart_totals {padding:clamp(12px,2vw,22px);}
.ch-customer-cart .woocommerce .cart-empty {padding:38px 20px;margin-bottom:20px;text-align:center;color:#526779;}
.ch-customer-cart .woocommerce .return-to-shop {text-align:center;}
.ch-customer-cart .woocommerce table.shop_table {border-collapse:collapse;width:100%;border-color:#e2e9ee;}
.ch-customer-cart .woocommerce table.shop_table th {font-size:12px;color:#60778b;}
.ch-customer-cart .woocommerce table.shop_table td {font-size:13px;color:#243e56;}
.ch-customer-cart .woocommerce .cart_totals h2 {font-size:19px;color:#18334a;}
.ch-customer-cart .woocommerce .cart_totals .checkout-button {width:100%;}
.ch-cart-stage-note {margin:0 0 22px;padding:12px 15px;border:1px solid #e6e9ee;border-radius:10px;background:#f8fafb;color:#617689;font-size:12px;line-height:1.5;}
@media (max-width:960px) {.ch-favorites-page__products{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:690px) {
    body:has(.ch-customer-shell) .chelech-main {padding:22px 14px 46px;}
    .ch-favorites-page__products {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
    .ch-favorite-item__image {height:155px;min-height:155px;padding:8px;}
    .ch-favorite-item__details {padding:10px;gap:9px;}
    .ch-favorite-item__name {font-size:12px;}
    .ch-favorite-item__price {font-size:17px;}
    .ch-favorite-item__actions {gap:6px;}
    .ch-favorite-item__remove {min-height:38px;flex-basis:38px;width:38px;}
    .ch-favorite-item__actions > .ch-customer-primary {font-size:11px;min-height:38px;padding:8px 5px;}
    .ch-customer-cart .woocommerce-cart-form,.ch-customer-cart .cart_totals {padding:12px;}
}

.ch-customer-cart .woocommerce .wc-block-components-notice-banner.is-info,
.ch-customer-cart .woocommerce .cart-empty.woocommerce-info {
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:105px;
    border:1px solid #e2e9ee !important;
    border-radius:13px;
    padding:26px 20px;
    background:#fff;
    color:#496176;
    box-shadow:none;
    font-size:14px;
}
.ch-customer-cart .woocommerce .return-to-shop {margin:20px 0;}
