/*
 Theme Name:   Industrium Child
 Description:  Industrium Child Theme for Taiwan ZERUST
 Theme URI:    https://demo.artureanec.com/themes/industrium
 Author:       Artureanec
 Author URI:   https://demo.artureanec.com
 Template:     industrium
 Version:      1.2.0
 License:      GNU General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  industrium-child
*/

/* Project-specific styles are loaded from assets/zerust-home/homepage.css. */

/* Industrium prefixes every Elementor subtitle with a decorative full stop. */
.industrium-heading .industrium-subheading::before {
    content: none !important;
    display: none !important;
    margin-right: 0 !important;
}

/* Contact form: the dark panel requires high-contrast field labels. */
.page-id-92 #wpforms-form-16465 .wpforms-field-label,
.page-id-92 #wpforms-form-16465 .wpforms-field-label-inline {
    color: #fff !important;
}

/* Retained Elementor sections that are intentionally hidden from the frontend. */
.zerust-hidden-content {
    display: none !important;
}

/* The site is a catalogue, not an online shop. */
.header-icon.mini-cart,
.woocommerce .product-rating-wrapper,
.single-product .woocommerce-product-rating,
.single-product .star-rating,
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product form.cart {
    display: none !important;
}

.woocommerce .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper,
.woocommerce-page .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 20px;
}

.woocommerce .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details,
.woocommerce-page .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details {
    display: inline-flex;
    width: auto !important;
    min-width: 128px !important;
    min-height: 46px !important;
    align-items: center;
    justify-content: center;
    padding: 12px 22px !important;
    border: 1px solid #e66445;
    color: #17262f;
    background: transparent;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    text-indent: 0 !important;
}

.woocommerce .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details::before,
.woocommerce .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details::after,
.woocommerce-page .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details::before,
.woocommerce-page .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details::after {
    content: none !important;
    display: none !important;
}

.woocommerce .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details:hover,
.woocommerce .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details:focus-visible,
.woocommerce-page .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details:hover,
.woocommerce-page .shop_mode_grid ul.products li.product .woocommerce-loop-product__wrapper .product-buttons-wrapper .button.zerust-catalog-details:focus-visible {
    color: #fff;
    background: #e66445;
}

/* Products Elementor slider: no stacked photos, only a calm white/orange wash. */
.page-id-36 .elementor-element-414e4aa .content-item {
    background-color: #fff !important;
    background-image: linear-gradient(135deg, #fff 0%, #fff8f3 48%, #ffe3d4 100%) !important;
}

.page-id-34 .elementor-element-5cb24cf img {
    display: block;
    width: 100%;
    max-height: 820px;
    object-fit: cover;
}

/* Woo category contact card: local image, readable Traditional Chinese copy. */
.woocommerce .sidebar .zerust-catalog-cta {
    min-height: 390px;
}

.woocommerce .sidebar .zerust-catalog-cta .wp-block-cover__inner-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 330px;
    padding: 30px;
    flex-direction: column;
}

.woocommerce .sidebar .zerust-catalog-cta h4,
.woocommerce .sidebar .zerust-catalog-cta p,
.woocommerce .sidebar .zerust-catalog-cta a {
    color: #fff !important;
}

.woocommerce .sidebar .zerust-catalog-cta .wp-block-button__link {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: transparent;
}

.single-product .page-title-bg {
    background-position: center center !important;
    background-size: cover !important;
}

.single-product .page-title-wrapper .page-title {
    max-width: 760px;
    color: #fff;
}

/* Shared editorial banner: darken the title side without obscuring the image. */
.single-post .page-title-bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(10, 22, 30, 0.84) 0%, rgba(10, 22, 30, 0.55) 42%, rgba(10, 22, 30, 0.12) 78%, rgba(10, 22, 30, 0.04) 100%);
}

.single-post .page-title-wrapper .page-title {
    position: relative;
    z-index: 1;
    max-width: 820px;
    color: #fff;
}

@media (max-width: 767px) {
    .page-id-36 .elementor-element-414e4aa .content-item {
        background-image: linear-gradient(155deg, #fff 0%, #fff8f3 58%, #ffe3d4 100%) !important;
    }

    .woocommerce .sidebar .zerust-catalog-cta {
        min-height: 340px;
    }
}
