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

/* Layout */
body.elementor-template-full-width .main-page-wrapper .container,
.container.main-footer,
body.woodmart-archive-shop .main-page-wrapper .container,
body.single-product .main-page-wrapper .container,
body.single-post .wd-content-layout {
	max-width: unset !important;
}

.elementor-section-boxed .elementor-container {
	max-width: 1222px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.elementor-template-full-width .row>[data-elementor-type],
.container.main-footer,
body.woodmart-archive-shop .main-page-wrapper .container {
  	margin-bottom: 0 !important;
	padding: 0 !important;
}

body:not(.woocommerce-page) .main-page-wrapper {
	padding-top: 0 !important;
}

/* body.single-post .main-page-wrapper,  */
body.archive.category .main-page-wrapper,
body.single-portfolio .main-page-wrapper {
	padding: 50px 20px !important;
}

.site-content {
    margin-bottom: 0 !important;
}

body:not(.page-template-default) .wd-content-layout {
    padding-block: 0 !important;
	padding-inline: 0 !important;
}

strong, b {
    font-weight: 700;
}

.wd-popup {
	border-radius: 16px !important;
}

/* Button */
.btn-style-bordered {
	border-width: 1px;
}

.btn-color-white.btn-style-bordered {
	border-color: #fff;
}

.btn, .wpcf7-submit {
	min-height: 50px;
	padding: 14px 32px;
}

.btn:hover {
	box-shadow: none !important;
}

.btn-shape-semi-round, .btn-style-semi-round, .wpcf7 input {
	border-radius: 8px !important;
}

.btn-style-default.btn-color-primary:hover,
.wpcf7-submit:hover,
.woocommerce-form-track-order button:hover {
	background-color: var(--btn-default-bgcolor-hover);
}

.btn-style-default.btn-color-alt:hover {
	background-color: var(--btn-accented-bgcolor-hover);
}

.btn-style-default.btn-color-white:hover {
	background-color: #CCCCCC;
}

.btn .wd-btn-icon {
	line-height: 0 !important;
}

:is(.btn,.button,button,[type=submit],[type=button]) {
	gap: 8px !important;
}

/* Header */
.whb-main-header .wd-nav .nav-link-text:after {
	height: 3px;
    margin-top: 11px;
}

.whb-main-header .wd-account-style-text .wd-tools-text {
	text-transform: capitalize !important;
}

.whb-main-header.whb-sticked .menu-item a {
	color: #000 !important;
}

.whb-main-header.whb-sticked .wd-nav .nav-link-text:after {
	margin-top: 0 !important;
}

.whb-main-header .btn {
	font-size: 14px;
    line-height: 22px;
    min-height: 42px;
    padding: 10px 20px;
}

.whb-main-header:not(.whb-sticked) .wd-nav li:is(.wd-has-children,.menu-item-has-children)>a:after {
	color: #fff !important;
}

/* Footer */
.container-footer .wd-menu a {
	color: #D1D1D1;
	padding: 0 0 12px 0 !important;
}

/* Desktop */
@media (min-width: 1040px) {
	.whb-general-header .whb-general-header-inner {
		gap: 64px;
	}
	
	.subscribe-form-blog {
		width: 100%;
	}
	
	.subscribe-form-blog form {
        display: inline-flex;
		gap: 16px;
		width: 100% !important;
    }
	
	.subscribe-form-blog .form-submit {
		width: 25%;
	}
	
	.subscribe-form-blog .form-submit .wpcf7-submit,
	.subscribe-form-blog form p {
		margin: 0 !important;
	}
	
	.container-hero-blog .wd-post {
		display: flex;
		flex-flow: row-reverse;
		align-items: center;
	}

	.container-hero-blog .wd-post-thumb {
		width: 50%;
		margin-bottom: 0 !important;
		border-radius: 0 !important;
	}

	.container-hero-blog .blog-design-meta-image .wd-post-content{
		width: 50%;
		padding: 80px 120px !important;
	}
	
	.container-testimonial .testimonial-content h3 {
		font-size: 20px;
		line-height: 30px;
	}
	
	.container-hero-blog .wd-post-thumb,
	.container-hero-blog .wd-post-img,
	.container-hero-blog .wd-post-img img {
		height: 100%;
		object-fit: cover;
	}
	
	.container-hero-blog .wd-post-title {
		font-size: 31px !important;
		line-height: 45px !important;
	}
	
	.scrollToTop {
        bottom: 100px !important;
    }
	
	.subscribe-form-blog .wpcf7-response-output {
		position: absolute;
		margin-top: 90px;
	}
}

/* Mobile & Tablet */
@media (max-width: 981px) {
	.scrollToTop {
		bottom: 135px !important;
	}
	
	.joinchat__button {
		bottom: 60px !important;
	}
}

/* Display None */
.wd-post-header,
.wd-post-author,
.wd-post-reply,
.testimonial-content footer>span:before,
body:not(.single-post) .wd-widget:has(.subscribe-form-sidebar),
.woocommerce-form-track-order p:not(.form-row) {
	display: none !important;
}

/* Home */
.blog-design-meta-image .wd-post-thumb {
	border-radius: 4px !important;
}

.blog-design-meta-image .wd-post-content {
	padding: 9px 0 0 0 !important;
}

.container-testimonial .testimonial-inner {
	background-color: #F9FAFC !important;
    box-shadow: none !important;
    padding: 32px !important;
    border-radius: 12px !important;
}

.container-testimonial .testimonial-content footer>span {
	display: block;
    color: var(--wd-primary-color);
    font-size: 14px;
    line-height: 22px;
	margin-top: 4px;
}

.container-testimonial .testimonial-content footer {
	margin-top: 40px;
	color: #000;
}

.container-testimonial .testimonial-content:before {
	content: url('https://anjayasejati.com/wp-content/uploads/2025/10/quote-testimoni-anjaya-sejati.svg');
	display: block;
	margin-bottom: 24px;
}

/* Form */
.wpcf7 input:not(.wpcf7-submit) {
	height: 52px;
}

.wpcf7 .iti {
	width: 100%;
}

.form-light .wpcf7-not-valid-tip {
	color: #fff;
}

/* Product Grid */
.product-grid-item .product-wrapper {
	background-color: unset !important;
    box-shadow: none !important;
	gap: 0;
    text-align: left;
}

.product-grid-item .product-wrapper img {
	border-radius: 4px;
}

.product-grid-item .product-element-bottom {
	padding: 16px 0 !important;
}

.product-grid-item .product-labels {
	inset-inline-end: 7px;
	inset-inline-start: unset !important;
}

/* Blog Page */
.container-hero-blog .wd-post {
	background-color: #2C2C2B;
}

.container-hero-blog .wd-post-content {
	padding: 20px 20px 60px 20px !important;
}

.container-hero-blog .wd-post-thumb {
	border-radius: 0 !important;
}

.container-hero-blog .wd-post-title {
    color: #fff;
}

.container-hero-blog .wd-post-excerpt {
	color: #D1D1D1;
	margin-bottom: 32px;
}

.container-hero-blog .wd-post-read-more a {
	background-color: var(--btn-default-bgcolor);
    min-height: 50px;
    padding: 14px 32px;
    color: #fff;
    border-radius: 8px;
}

.widget {
	border: none !important;
}

.widget h2 {
	line-height: 30px !important;
	margin-bottom: 12px !important;
}

.widget .wp-block-categories-list li a {
	color: #6D6D6D;
}

.widget .wp-block-categories-list li a:hover {
	color: var(--wd-primary-color) !important;
}

.widget .woodmart-recent-posts-list li {
	display: flex;
    align-items: center;
    margin-bottom: 24px !important;
}

.widget .woodmart-recent-posts-list .recent-posts-thumbnail {
    flex: 0 0 25%;
    margin-right: 16px;
}

.widget .woodmart-recent-posts-list .wd-entities-title {
	margin-bottom: 10px !important;
	font-family: 'Alexandria';
    font-weight: 600;
}

.widget .woodmart-recent-posts-list img {
	border-radius: 4px;
	width: 100%;
}

.widget .woodmart-recent-posts-list time {
	color: #6D6D6D;
    font-size: 14px;
    line-height: 16px;
}

.subscribe-form-sidebar {
	box-shadow: 0px 11.91px 17.86px -5.95px #00000008;
    border-radius: 12px;
    padding: 24px;
}

.woocommerce-form-track-order button {
	width: 100% !important;
}

.woocommerce-form-track-order {
	display: block !important;
}

.scrollToTop {
    right: 25px !important;
}

.joinchat__button {
	right: 0 !important;
}