/*
Theme Name:  Hello Biz Child
Template:    hello-biz
Version:     1.0.2
Description: Child theme for Hello Biz — adds SKU redirects, Moodboards CPT, and related tooling.
Author:      Huus
Text Domain: hello-biz-child
*/

/* ---- Remove odd-row zebra striping from attribute tables ---- */

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: transparent !important;
}

table tbody tr:hover > td,
table tbody tr:hover > th {
    background-color: transparent !important;
}

/* ---- Add to cart button ---- */

.single_add_to_cart_button,
.woocommerce form.cart .button,
.elementor-widget-woocommerce-product-add-to-cart form.cart .button,
.elementor-widget-wc-add-to-cart form.cart .button,
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button.product_type_variable {
    background: #E3A008 !important;
    color: #000 !important;
    border: 1px solid #E3A008 !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-family: Poppins, sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

.single_add_to_cart_button:hover,
.woocommerce form.cart .button:hover,
.elementor-widget-woocommerce-product-add-to-cart form.cart .button:hover,
.elementor-widget-wc-add-to-cart form.cart .button:hover,
.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce ul.products li.product .button.product_type_variable:hover {
    background: #c98f07 !important;
    border-color: #c98f07 !important;
    color: #000 !important;
}

:is(.elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart)
form.cart .button:where(:not(:first-child)),
:is(.elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart)
form.cart button:where(:not(:first-child)) {
    margin-inline-start: 0 !important;
}

/* ── Tileset info block (shortcode [tileset_info]) ──────────────────────── */
.tileset-info {
    background: #FBF3E1;
    border: 1.5px solid #E3A008;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 1em 0;
}

.tileset-info__summary {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 .4em;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 1em;
    color: #00313E;
}

.tileset-info__summary svg.tileset-icon {
    color: #E3A008;
    opacity: 1;
}

.tileset-info__description {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: .9em;
    color: #3E3834;
    line-height: 1.5;
}

/* ── WP Filter Magic — filter sidebar (Sanidrõme brand) ─────────────────── */

.wpfm-filters .filter-group {
    border-bottom: 1px solid #e6e6e6 !important;
}

.wpfm-filters .filter-title,
.wpfm-filters .wpfm-filter-group-header {
    font-family: Poppins, sans-serif !important;
    font-weight: 600 !important;
    color: #00313E !important;
    text-transform: none !important;
}

.wpfm-filters .filter-option {
    font-family: Poppins, sans-serif !important;
    color: #3E3834 !important;
    font-size: 0.88rem !important;
}

.wpfm-filters .filter-option:hover {
    color: #00313E !important;
}

.wpfm-filters .filter-option input[type="checkbox"],
.wpfm-filters .filter-option input[type="radio"] {
    accent-color: #E3A008 !important;
}

.wpfm-filters .results-count,
.wpfm-results .results-count {
    font-family: Poppins, sans-serif !important;
    color: #00313E !important;
}

.wpfm-results .sort-dropdown label {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.wpfm-results .sort-dropdown select {
    font-family: Poppins, sans-serif !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 20px !important;
    color: #00313E !important;
}

/* ── WP Filter Magic — result cards (Sanidrõme brand) ────────────────────── */

.wpfm-results .product-card {
    border: 1px solid #ececec !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.wpfm-results .product-card.has-hover:hover {
    border-color: #E3A008 !important;
    box-shadow: 0 6px 18px rgba(0, 49, 62, 0.12) !important;
}

.wpfm-results .product-card .product-info {
    padding: 14px 16px !important;
}

.wpfm-results .product-card .product-title {
    font-family: Poppins, sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #00313E !important;
    margin: 0 0 6px !important;
}

.wpfm-results .product-card .product-specs {
    font-family: Poppins, sans-serif !important;
    color: #3E3834 !important;
    font-size: 0.8rem !important;
}

.wpfm-results .product-card .product-price {
    font-family: Poppins, sans-serif !important;
    font-weight: 700 !important;
    color: #E3A008 !important;
}

.wpfm-results .product-card .product-price-unit {
    font-family: Poppins, sans-serif !important;
    font-weight: 400 !important;
    color: #3E3834 !important;
}
