﻿/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

h1.wp-block-heading {
    display: none;
}

.toggle-content {
    max-height: 150px; /* Adjust the truncated height */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
}

.toggle-content.show {
    max-height: 1000px; /* Large enough to reveal full content */
}

.read-more {
    display: inline-block;
    cursor: pointer;
    color: #0073e6; /* Customize color */
    margin-top: 10px;
    text-decoration: underline;
}


.obj-fit img {
    object-fit: cover;
}
.custom-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Number of lines before truncation */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em; /* Adjust based on line height */
  line-height: 1.5em; /* Adjust based on your design */
}
p.gform_required_legend {
    display: none;
}
a.button.wc-backward.yith-ywraq-before-table-wc-backward,
#yith-ywraq-form .update-list-wrapper input[type="submit"] , input.button.raq-send-request.last,
a.button.wc-backward {
    background: #0a98ff;
    color: #fff;
    padding: 20px 40px;
    border-radius: 30px;
    border: none !important;
    font-size: 16px;
    font-weight: 600;
}

button#ywraq-list-to-pdf {
    background: none !important;
    color: #0a98ff;
    text-decoration: underline;
}

button#ywraq-list-to-pdf:hover {
    background: none;
    border: 0;
    color: #cecece;
}

.woocommerce table.shop_table th {
    font-family: "Epilogue", Sans-serif;
    font-size: 16px;
    padding: 30px 15px;
}

.woocommerce table.shop_table td {
    font-size: 14px;
}

.yith-ywraq-mail-form-wrapper h3 {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    margin: 0 auto 20px;
    padding-bottom: 30px;
    border-bottom: solid 1px #cecece;
}
form#yith-ywraq-default-form {
    display: flex
;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}
p#first_name_field, p#last_name_field, p#email_field,
p#phone_field{
    width: 50%;
}
p#message_field , div#recaptcha_quote{
    width: 100%;
} p#phone_field {
    padding: 0;
}
body.page-id-662 .yith-ywraq-mail-form-wrapper {
    background: #F5F5F5;
    padding: 40px;
}
p.elementor-heading-title a:hover {
    color: #969696 !important;
}

body.woocommerce-shop a.button.product_type_simple.add_to_cart_button,
body.search-results a.button.product_type_simple.add_to_cart_button {
    display: none !important;
}
body.woocommerce-shop a.add-request-quote-button.button,
body.search-results a.add-request-quote-button.button {
    width: 100%;
    background-color: #0A98FF !important;
    border: 2px solid #0A98FF !important;
}

body.woocommerce-shop h2.woocommerce-loop-product__title, 
body.search-results h2.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0px !important;
    margin: 10px auto !important;
}

a.button.product_type_variable.add_to_cart_button {
    background: #0a98ff;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 16px;
}

.woocommerce ul.products li.product a img {
    height: 260px;
    object-fit: cover;
}
body.single-product .yith-ywraq-add-to-quote {
    margin-top: 0px !important;
}

button#btnConvertMetersToInches,
button#btnResetMetersToInches {
    background: #0468b1;
    border: 1px solid #0468b1;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
body.single-product .elementor-widget-woocommerce-product-content div {
    font-family: 'Inter' !important;
    font-size: 16px !important;
    line-height: 29px;
}
body.single-product a.add-request-quote-button.button.disabled {
    padding: 16px;
}

body.single-product .single_variation_wrap {
    display: flex;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .woocommerce ul.products li.product a img {
        height: 150px;
    }
    body.single-product form.variations_form.cart{
        margin-bottom: 5px;
    }
    body.single-product a.add-request-quote-button , 
    body.single-product .yith-ywraq-add-to-quote {
        width: 100%;
    }

  }

@media (min-width: 768px) and (max-width: 900px) {
    /* Your styles here */
    .cstm-align-items .e-con-inner {
        align-items: center !important;
    }
}