/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

@media (max-width: 768px) {

    .min-footer {
        justify-content: center !important;
    }

}


@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .min-footer {
        justify-content: center !important;
    }
}

.testimon-align-center .testimonial{
    height: 100%;
}

.testimonial-content div.testimonial-inner {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 8; 
	-webkit-box-orient: vertical;
}

.testimonial-content div.testimonial-inner.expanded {
	-webkit-line-clamp: unset;
	display: block;
}

.read-more-toggle {
	display: inline-block;
	margin-top: 8px;
	cursor: pointer;
	text-decoration: underline;
}

/* custom styling for contact us form */
.custom-form-focus input:focus,
.custom-form-focus textarea:focus {
    outline: 2px solid #0073e6;
    border-color: #28537d;

}

.custom-form-focus input,
.custom-form-focus textarea {
    border: 1px solid #ccc;
}

.eq-height .wd-carousel-wrap .wd-carousel-item {
    height: auto !important;
}

.eq-height .wd-carousel-wrap .wd-info-box {
    height: 100% !important;
}

.eq-height .wd-carousel-wrap .info-box-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100%;
}

.eq-height .wd-carousel-wrap .info-btn-wrapper {
    display: flex;
    align-items: flex-end;
}

.no-space-gallery .wd-gallery-item {
    margin: 0;
    border: 10px solid #E1E7EE
}

.news-slides .e-con-inner {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
    border-color: #FFF9F9;
}

.news-slides .elementor-page-title h3 {
    padding-left: 25px;
    padding-right: 25px;
    line-height: 1.3;
}

/* custom styling for enquiry with us form */
/* Style the container */
.one-row-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;

}

/* Style the email input field */
.one-row-form input[type="email"] {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 13px;
    width: 230px;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

/* Change border color on focus */
.one-row-form input[type="email"]:focus {
    border-color: #0073e6;
    outline: none;
}

/* Style the submit button */
.one-row-form input[type="submit"] {
    margin-left: 10px;
    padding: 5px 35px;
    background-color: #87cde9;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

/* Change button color on hover */
.one-row-form input[type="submit"]:hover {
    background-color: #84bcd3;
}

fieldset.hidden-fields-container {
    display: none;
}

.enquiry-form .cf7-cf-turnstile{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}


@media (max-width: 768px) {
    .one-row-form {
        flex-direction: column;
        align-items: center;
    }
	
	.one-row-form p{
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		flex-direction: column;
		align-items: center;
        margin-bottom: 0;
	}
	
	.one-row-form span{
		text-align: center;
	}

    .one-row-form input[type="email"],
    .one-row-form input[type="submit"] {
        width: 90%;
        max-width: 300px;
    }

    .one-row-form input[type="email"] {
        margin-bottom: 15px;
        margin-left: 0px;

    }

    .testimonial-content div.testimonial-inner {
        -webkit-line-clamp: 9;
    }
}



.post-author,
.entry-meta {
    display: none !important;
}


.meta-author {
    display: none !important;
}


.wd-carousel .wd-post-cat.wd-style-with-bg {

    display: none !important;
}


.wd-post-cat.wd-style-with-bg {

    display: none !important;
}


p {
    font-size: 18px !important;
}


.scrollToTop.button-show {
    display: none !important;

}



.custom-announcement-bar {
    background-color: #e0e7ee;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    color: #333;
    border-radius: 8px;
    margin: 0px 0px 20px 0px;
    max-width: 100%;
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

div.wd-share-icon.wd-tltp {
    display: none !important;
}


#nav_menu-19 {
    margin-bottom: 0px;
    /* or whatever value you prefer */
    border-bottom: 0px !important;

}

/*
.widget_nav_menu {
border-bottom:0px !important;
}*/


#homepage-heritage p {
    font-size: 80px !important;
}



footer .wp-social-link svg {
    width: 30px !important;
    height: 30px !important;
}

footer .wp-block-social-links.has-huge-icon-size {
    font-size: inherit;
}


.footer-column.footer-column-3 {
    margin-top: 160px;
    /* Adjust value as needed */
}


header.whb-sticked .whb-row:last-child {
    padding-top: 10px;
    padding-bottom: 10px;
    /* background-color: #204264; */
    background-color: #212121 ;
}

div.wpcf7 input[type="submit"] {
    border: 0px !important;
    background-color: #28537d;
}

div.wpcf7 input[type="submit"]:hover {
    background-color: #28537d;
}


.whb-sticky-shadow.whb-sticked .whb-row:last-child .site-logo {
    max-height: 200px !important;
}

.menu-footer-menu-useful-links-container {
    font-size: 16px !important;
}

header.whb-sticked .whb-row:last-child .wd-tools-element:is(.wd-design-2, .wd-design-5) .wd-tools-count {
    color: #212121 !important;
    background-color: #fff !important;
}

.whb-sticked .whb-row {
    padding-top: 10px;
    padding-bottom: 10px !important;
}

.whb-general-header .wd-logo img {
    max-height: 200px !important;
    padding-top: 0;
    padding-bottom: 0;
}

/*------------- huizhen -------------*/
.woocommerce-shop .shop-loop-head {
    position: relative;
    padding-top: 70px;
}

.woocommerce-product-details__short-description p:not(:last-child) {
    margin-bottom: 0;
}

.wd-nav-product-cat:not(.wd-nav-mobile)>li>a {
    text-align: center;
}

.woocommerce-product-details__short-description ul {
    margin-top: 5px;
    margin-bottom: 0px;
    font-size: 17px;
}

.woocommerce-product-details__short-description li {
    margin-bottom: 0;
}

header .whb-top-bar .wd-header-text {
    font-size: 15px;
}

.home-why-choose .wd-info-box :is(.info-box-subtitle, .info-box-title, .info-box-inner):not(:first-child) {
    height: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.single-portfolio .wd-page-title {
    /* background-image: url('/wp-content/uploads/2025/01/az-portfolio-banner-overlay-30-black.jpg'); */
    /* background-image: url('/wp-content/uploads/2025/05/portfolio-latest-bg.jpg'); */
    /* background-image: url('/wp-content/uploads/2025/05/portfolio-banner-1.jpg'); */
    background-size: cover;
    background-position: center;
}

:is(.woocommerce-shop, .post-type-archive-portfolio, .single-portfolio, .tax-project-cat, .woocommerce.archive) .wd-page-title>.container {
    z-index: 1;
    position: relative;
}

:is(.post-type-archive-portfolio, .single-portfolio, .tax-project-cat) .wd-page-title{
    background: rgb(33,33,33)!important;
}

:is(.woocommerce-shop, .woocommerce.archive) .wd-page-title:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(33 33 33 / 70%);
}

.unordered-list li.feature:before{
    font-size: 0.8rem;
}

span.feature-title {
    color: var(--wd-title-color); /* #333 */
}

.full-height-col :is(div, a, img){
    height: 100%;
}

.full-height-col-only > div, .full-height-col-only > div > section{
    height: 100%;
}

.grant-content{
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.woocommerce-shipping-fields .shipping_address {
  display: block !important;
  height: auto !important;
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.woocommerce-billing-fields__field-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.woocommerce-billing-fields__field-wrapper p.form-row-first, .woocommerce-billing-fields__field-wrapper p.form-row-last{
    margin-bottom: 0;
}

.woocommerce-billing-fields__field-wrapper p.form-row-wide {
    clear: both;
    width: 100%;
    margin-bottom: 0;
}

p#shipping_address_1_field {
    order: 1;
}

p#shipping_postcode_field {
    order: 1;
}

p#billing_phone_field {
    order: 2;
}

p#billing_email_field {
    order: 2;
}

/* .grant-content{
    max-height: 3.2em; 
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: max-height 0.3s ease;
    line-height: 1.6em;
}

.grant-content .elementor-widget-container:after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 0px;
    background: linear-gradient(to right, transparent, white 50%);
} */

.grant-content.expanded{
    overflow: none;
    text-overflow: none;
    -webkit-line-clamp: unset;
}

.grant-content.expanded .elementor-widget-container:after {
    content: none;
}

.elementor-image-gallery .gallery-item img{
    border: none!important;
}

header.whb-sticked .wd-tools-element>a,
header.whb-sticked .wd-nav>li>a{
    color: #fff!important;
}

header.whb-sticked .wd-nav>li:is(.current-menu-item,.wd-active,.active)>a,
header.whb-sticked .wd-nav>li:hover>a{
    color: rgba(255, 255, 255, 0.8)!important;
}

.video-object-position video{
    object-position: bottom;
}

.video-auto-height video{
    height: auto!important;
}

.wd-project .wrap-meta{
    margin-bottom: 0;
}

.payment_methods li img.qr-code{
    max-width: 120px;
    max-height: 120px;
    margin: 10px 0;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 24px !important;
    text-align: left;
    border: none;
    padding: 0;
    color: black;
}

#fomo-icon-list {
    display: none !important;
}

.custom-fomo-icon-list {
    display: flex;
    gap: 30px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.payment_methods li img {
    margin-inline-start: 0;
    object-fit: contain;
}

.payment_methods li img.paynow-icon {
    width: 95px;
}

.elementor-popup-modal .dialog-close-button {
    background-color: var(--wd-primary-color);
    padding: 5px;
    border-radius: 99px;
}


@media (max-width: 1024px) {
    .mobile-none{
        display: none;
    }

    #chaty-widget-0 .chaty-i-trigger .chaty-channel{
        bottom: 50px;
    }

    p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
        font-size: 16px !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .custom-fomo-icon-list {
        display: flex;
        gap: 20px;
    }

    .payment_methods li img.paynow-icon {
        width: 90px;
    }

    .payment_methods li img {
        max-height: 30px;
    }

    .custom-announcement-bar {
        padding: 8px 16px;
        font-size: 14px;
    }

    .whb-sticky-shadow.whb-sticked .whb-row:last-child .site-logo {
        max-height: 50px !important;
    }

    .footer-column.footer-column-3 {
        margin-top: 0px;
    }

    .whb-general-header .wd-logo img {
        max-height: 50px !important;
        padding-top: 0;
        padding-bottom: 0;
    }

    .woocommerce-billing-fields__field-wrapper p.form-row-first, .woocommerce-billing-fields__field-wrapper p.form-row-last {
        margin-bottom: 0;
        width: 100%;
    }

}


@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .footer-column.footer-column-3 {
        margin-top: 0px;
    }

    .whb-general-header .wd-logo img {
        max-height: 50px !important;
        padding-top: 0;
        padding-bottom: 0;
    }

    .whb-sticky-shadow.whb-sticked .whb-row:last-child .site-logo {
        max-height: 50px !important;
    }

}

@media only screen and (max-width: 1100px){
    .testimonial-content div.testimonial-inner {
        -webkit-line-clamp: 10;
    }
}

@media only screen and (max-width: 1024px){
    .testimonial-content div.testimonial-inner {
        -webkit-line-clamp: 5;
    }
}

@media only screen and (max-width: 1000px){
    .testimonial-content div.testimonial-inner {
        -webkit-line-clamp: 6;
    }
}

@media only screen and (max-width: 600px){
    .testimonial-content div.testimonial-inner {
        -webkit-line-clamp: 8;
    }
}

@media only screen and (max-width: 480px){
    .testimonial-content div.testimonial-inner {
        -webkit-line-clamp: 12;
    }
}

@media only screen and (min-width: 2000px){
    section.our-brands-sec {
        background-image: linear-gradient(90deg, #8CA4CB 65vw, rgba(255, 255, 255, 0) 65vw) !important;
    }
}