/* CEE "Your Favorites" page
   Booking-count badge + a roomy card layout. Selectors are intentionally
   high-specificity (body + .cee-favorites.woocommerce) so they win over the
   theme's WooCommerce column rules regardless of stylesheet load order. */

.cee-fav-count {
    display: inline-block;
    margin: 2px 0 10px;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--cee-teal-dark, #1f7357);
    background: var(--cee-teal-soft, #f1f9f5);
    border: 1px solid var(--cee-teal-line, #e2f1ea);
    padding: 3px 11px;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.cee-fav-empty {
    padding: 28px 18px;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--cee-slate, #5f6b66);
    text-align: center;
    background: #fafdfb;
    border: 1px dashed var(--cee-teal-line, #e2f1ea);
    border-radius: 12px;
}

/* Break out of the theme's narrow page container so we can lay out a proper
   multi-column grid (regular pages are narrower than shop archives). */
body .cee-favorites {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

/* Roomy 3-up grid, centered, responsive down to 1 column on phones. */
body .cee-favorites.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    max-width: 1180px !important;
    margin: 6px auto 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

body .cee-favorites.woocommerce ul.products::before,
body .cee-favorites.woocommerce ul.products::after {
    content: none !important;
    display: none !important;
}

body .cee-favorites.woocommerce ul.products li.product {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* Card name shouldn't break mid-word. */
body .cee-favorites.woocommerce ul.products li.product .woocommerce-loop-product__title,
body .cee-favorites.woocommerce ul.products li.product h2,
body .cee-favorites.woocommerce ul.products li.product h3 {
    word-break: normal !important;
    overflow-wrap: anywhere;
}

@media (max-width: 1000px) {
    body .cee-favorites.woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    body .cee-favorites.woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}
