/*
 Theme Name:   Malen Child 
 Theme URI:    https://themeholy.com/wordpress/malen/
 Description:  This is a child theme for Malen - WordPress Theme
 Author:       Themeholy
 Author URI:   https://themeholy.com/
 Template:     malen
 Version:      1.0
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  malen-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */ 
/* STAR TIRES - SHOP CATALOG */

/* Shop background */
body.post-type-archive-product {
    background-image: none !important;
    background-color: #F7F8FA !important;
}

/* Remove quick view and cart icons */
body.post-type-archive-product .th-product-box .product-img .actions {
    display: none !important;
}

/* Remove dark image overlay */
body.post-type-archive-product .th-product-box .product-img::before {
    background-color: transparent !important;
    opacity: 0 !important;
}

/* Clean product cards */
body.post-type-archive-product .shop-grid-area .th-product-box {
    background: #fff !important;
    border: 1px solid #E6E9ED !important;
    border-radius: 10px !important;
    overflow: hidden;
}

/* Product images */
body.post-type-archive-product .shop-grid-area .product-img img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
}

/* Product titles */
body.post-type-archive-product .shop-grid-area .product-title {
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

body.post-type-archive-product .shop-grid-area .product-title a {
    color: #252B32 !important;
}

/* Hide ratings and prices */
body.post-type-archive-product .shop-grid-area .rating-wrap,
body.post-type-archive-product .shop-grid-area .price {
    display: none !important;
}
/* STAR TIRES - PRODUCT TITLE IMPROVEMENT */

body.post-type-archive-product .shop-grid-area .th-product-box .product-content .product-title,
body.post-type-archive-product .shop-grid-area .th-product-box .product-content .product-title a {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #252B32 !important;
}

body.post-type-archive-product .shop-grid-area .th-product-box .product-content {
    padding: 12px 10px 16px !important;
}
/* STAR TIRES - VIEW DETAILS BUTTON */

.star-view-details {
    display: block;
    margin-top: 12px;
    padding: 11px 15px;
    background: #A90000;
    color: #FFFFFF !important;
    border-radius: 6px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.star-view-details:hover {
    background: #850000;
    color: #FFFFFF !important;
}
/* STAR TIRES - SINGLE LINE PRODUCT TITLES */

body.post-type-archive-product .shop-grid-area .th-product-box .product-title,
body.tax-product_cat .shop-grid-area .th-product-box .product-title,
body.tax-product_tag .shop-grid-area .th-product-box .product-title {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.post-type-archive-product .shop-grid-area .th-product-box .product-title a,
body.tax-product_cat .shop-grid-area .th-product-box .product-title a,
body.tax-product_tag .shop-grid-area .th-product-box .product-title a {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
/* STAR TIRES - SINGLE PRODUCT BASE DESIGN */

body.single-product {
    background-image: none !important;
    background-color: #F7F8FA !important;
}

body.single-product .th-product-wrapper,
body.single-product .product-details {
    background-color: #F7F8FA !important;
    color: #252B32 !important;
}

body.single-product .product_title,
body.single-product .product-title {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #20252B !important;
}

body.single-product .summary,
body.single-product .summary p,
body.single-product .product_meta,
body.single-product .woocommerce-product-details__short-description {
    color: #414A55 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}
/* =========================================
   STAR TIRES - PRODUCT DETAILS & BUTTONS
========================================= */

/* Product contact buttons */

body.single-product .star-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

body.single-product .star-product-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* Request a Quote */

body.single-product .star-quote-btn {
    background: #B00000 !important;
    color: #FFFFFF !important;
}

body.single-product .star-quote-btn:hover {
    background: #880000 !important;
    color: #FFFFFF !important;
}

/* Call Now */

body.single-product .star-call-btn {
    background: #252B32 !important;
    color: #FFFFFF !important;
}

body.single-product .star-call-btn:hover {
    background: #111820 !important;
    color: #FFFFFF !important;
}

/* Description / Additional Information tabs */

body.single-product .woocommerce-tabs ul.tabs li a {
    color: #252B32 !important;
    font-weight: 700 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #FFFFFF !important;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel p,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel td,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel th {
    color: #252B32 !important;
    font-size: 15px;
    line-height: 1.7;
}

/* Specifications table */

body.single-product .woocommerce-product-attributes {
    background: #FFFFFF !important;
    width: 100%;
}

body.single-product .woocommerce-product-attributes th,
body.single-product .woocommerce-product-attributes td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #E6E9ED !important;
}

/* Mobile */

@media (max-width: 575px) {
    body.single-product .star-product-actions {
        flex-direction: column;
    }

    body.single-product .star-product-actions a {
        width: 100%;
    }
}