/*
Theme Name: Woodmart Child
Author: 
Description: Your description goes here
Version: 1.0
Template: woodmart

This is the child theme for Woodmart theme, generated with Generate Child Theme plugin by catchthemes.
(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ── Individual slide ── */
.dt-cat-slide {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.dt-cat-link {
    display: block;
    text-decoration: none;
    color: inherit;
/*     position: relative; */
/*     overflow: hidden; */
}
/* ── Image ── */
.dt-cat-img-wrap {
    position: relative;
    width: 100%;
    /* Aspect ratio 3:4 – same as reference design */
    padding-bottom: 133%;
    overflow: hidden;
    background: #e8e8e8;
}
.dt-cat-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    /* filter: grayscale(100%); */
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.4s ease;
}
.dt-cat-slide:hover .dt-cat-img-wrap img {
    transform: scale(1.04);
    /* filter: grayscale(60%); */
}

/* ── Text overlay (bottom of image) ── */
.dt-cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 16px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
}
.dt-cat-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.dt-cat-description,
.dt-cat-link {
    font-size: 12px;
    color: #fff;
}

/* ── Desktop navigation arrows ── */
.dt-arrow {
    color: #111 !important;
}
.dt-arrow::after {
    font-size: 18px !important;
    font-weight: 700;
}
.swiper-button-prev.dt-arrow,
.swiper-button-next.dt-arrow {
    top: 42%; /* align with image, not full section */
}

/* ── Mobile pagination ── */
.dt-pagination .swiper-pagination-bullet {
    background: #bbb;
    opacity: 1;
    width: 6px;
    height: 6px;
    transition: background 0.25s, width 0.25s;
    border-radius: 99px;
}
.dt-pagination .swiper-pagination-bullet-active {
    background: #111;
    width: 20px;
}

.single-product .single-breadcrumbs-wrapper {
    padding-top: 30px;
}
.single-product .product_title {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 30px;
    margin-bottom: 10px;
}
.single-product .price {
    font-size: 18px !important;
    margin-bottom: 20px;
}
.single-product .single_add_to_cart_button {
    font-family: "Poppins", sans-serif;
    background: #000;
}
.variations_button .quantity,
.product-quantity .quantity {
    border: 1px solid;
    border-radius: 25px;
}
.variations_button .quantity .minus.btn,
.product-quantity .quantity .minus.btn {
    border-radius: 0;
    border-top-left-radius: 23px;
    border-bottom-left-radius: 23px;
    border: 0;
    border-right: 1px solid;
}
.variations_button .quantity input[type="button"],
.product-quantity .quantity input[type="button"] {
    min-width: 40px;
}
.variations_button .quantity .input-text.qty,
.product-quantity .quantity .input-text.qty {
    border: unset;
    width: 50px;
}
.variations_button .quantity .plus.btn,
.product-quantity .quantity .plus.btn {
    border-radius: 0;
    border-top-right-radius: 23px;
    border-bottom-right-radius: 23px;
    border: 0;
    border-left: 1px solid;
}
.comment-form-rating a[role="radio"] {
    font-size: 0;
}
.single-product .related-and-upsells {
    padding-bottom: 50px;
}
.single-product .wc-tabs a {
    font-family: "Poppins", sans-serif;
}
.archive .wd-page-content {
    padding-top: 100px;
    padding-bottom: 50px;
}
#reviews .e-n-tab-title:hover,
#reviews .e-n-tab-title:focus {
    border-radius: unset;
}
#reviews .elementor-testimonial {
    background: #F5F1EB;
    padding: 20px;
    border-radius: 5px;
}
#reviews .elementor-widget-testimonial-carousel .elementor-main-swiper {
    width: 100%;
}
#reviews .info-box-carousel-wrapper .wd-carousel-wrap .info-box-wrapper.wd-active .wd-info-box {
    background-color: #000;
    color: #fff;
}
#reviews .info-box-carousel-wrapper .wd-carousel-wrap .info-box-wrapper.wd-active .wd-info-box .info-box-title {
    color: #fff;
}
#reviews .wd-carousel-inner .wd-nav-arrows {
    top: unset;
    bottom: -50px;
    justify-content: center;
    left: 0;
    right: 0;
    gap: 15px;
}
#reviews .wd-carousel-wrap .info-box-wrapper .box-style-shadow,
#reviews .wd-carousel-wrap .info-box-wrapper .box-style-shadow:hover {
    box-shadow: unset;
}
#reviews .wd-carousel-wrap .info-box-wrapper .wd-info-box {
    min-height: 350px;
}
#reviews .wd-carousel-inner .wd-nav-arrows .wd-btn-arrow:hover {
    background: #c8a96a;
    /* color: #000 !important; */
}
#reviews .wd-carousel-inner .wd-nav-arrows .wd-btn-arrow {
    background-color: #F6F1EB;
    border: 1px solid #c8a96a;
    border-radius: 5px;
}
#reviews .wd-carousel-inner .wd-arrow-inner:hover::after {
    color: #000;
}
.searchform .searchsubmit {
    height: 45px;
    align-self: center;
    margin-right: 10px;
}
.site-logo .wd-sticky-logo img {
    max-width: 65px !important;
}
header.whb-sticked {
    padding-top: 60px;
}
.page-title .wd-breadcrumbs a {
    color: #fff;
}
.single-product .wd-content-layout {
    padding-block: 0;
}
.woocommerce-checkout .wc-block-checkout {
    padding-top: 70px;
}
#banner {
    justify-content: center;
}
.woocommerce-account .wd-registration-page .col-login .woocommerce-form {
    gap: 20px;
    display: grid !important;
}
.woocommerce-account .woocommerce-ResetPassword,
.woocommerce-account .wd-registration-page .col-register form {
    gap: 10px;
    display: grid !important;
}
.woocommerce-cart .wd-checkout-steps a {
    color: #fff;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    text-decoration: none !important;
}
.woocommerce .return-to-shop {
    margin-top: 10px;
}
.woocommerce-message .restore-item {
    color: #fff;       
}
.woocommerce-order {
    padding-top: 100px;
}
.wd-page-title .title {
    display: block;
}
.archive .content-layout-wrapper {
    padding-top: 20px !important;
}
.wd-dropdown-cart .widget_shopping_cart_content {
    display: grid;
    gap: 10px;
}
#reviews .elementor-testimonial--skin-default .elementor-testimonial {
    padding: 40px 20px;
}
#reviews .elementor-testimonial--skin-default .swiper-slide-active .elementor-testimonial {
    background-color: #000;
    color: #fff;
}
.footer_form .elementor-message {
    text-align: center;
    padding-top: 15px;
}
.contact-form {
    display: grid;
    gap: 15px;
}
.product .wd-product-cats a {
    font-size: 14px;
    font-weight: 600;
}
.product .product-element-bottom {
    text-align: center !important;
}
.product .product-element-bottom .wd-entities-title {
    order: 2;
}
.product .product-element-bottom .wd-product-cats {
    order: 1;
}
.product .product-element-bottom .star-rating {
    display: flex;
    justify-content: center;
    width: 100%;
    order: 3;
}
.product .product-element-bottom .wrap-price {
    order: 4;
    justify-content: center !important;
}
.product .product-element-bottom .wd-add-btn {
    order: 5;
}
.zsp-section .zsp-nav-btn {
    border-color: #000 !important;
}
.triani-top{
    font-size: 22px;
    letter-spacing: 5px;
    color: #3b2419;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 10px;
}
.triani-title{
    /* font-size: 95px;
    line-height: 0.9; */
    color: #3b2419;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}
.triani-script{
    font-family: 'Allura', cursive;
    font-size: 42px;
    font-style: italic;
    line-height: 1;
    color: #b88963;
    font-weight: 400;
    margin-top: -8px;
}
.tr-review-section .elementor-testimonial {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tr-review-section .elementor-testimonial__content {
  flex: 1;
}
.tr-review-section .swiper-slide {
  height: auto;
}
.tr-review-section .elementor-main-swiper {
  align-items: stretch;
}
.tr-review-section .swiper-slide-active .elementor-testimonial .triani-stars {
	color: #fff !important;
}
.single-product .single_variation_wrap .woocommerce-variation-availability {
	display: none;
}
.info-box-carousel .info-box-content .info-box-inner {
	margin-top: 25px !important;
}

#banner .custom-pagination{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    z-index:999;
    display:flex;
    gap:10px;
}

#banner .custom-pagination .bullet{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,.4);
    cursor:pointer;
}

#banner .custom-pagination .bullet.active{
    background:#fff;
}
.bdt-prime-slider-skin-general .bdt-prime-slider-previous,
.bdt-prime-slider-skin-general .bdt-prime-slider-next{
	margin-bottom: 100px !important;
}
.wd-price-discount{
    display:inline-block;
    margin-left:8px;
    padding:2px 8px;
    background:#e60023;
    color:#fff;
    font-size:12px;
    font-weight:600;
    border-radius:3px;
    line-height:1.4;
    vertical-align:middle;
}

/* Review section */
.review-product{
	display:flex;
	gap:20px;
	padding:20px 0;
	border-bottom:1px solid #eee;
	align-items:center;
}

.review-product img{
	width:80px;
	height:auto;
}

.review-product h3{
	margin:0 0 10px;
	font-size:18px;
}

.review-product .button{
	background:#111;
	color:#fff;
	padding:10px 18px;
	border-radius:4px;
}

/* Testimonial Slider */
.tr-review-section .elementor-main-swiper{
    position:relative;
    padding-bottom:80px;
}

/* Common Button Style */
.tr-review-section .elementor-swiper-button{
    width:52px;
    height:52px;
    border:1px solid #d9d9d9;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
    top:auto !important;
    bottom:10px !important;
    transform:none !important;
    z-index:10;
}

.tr-review-section .elementor-swiper-button svg{
    width:16px;
    height:16px;
    fill:#111;
}

.tr-review-section .elementor-swiper-button:hover{
    background:#111;
    border-color:#111;
}

.tr-review-section .elementor-swiper-button:hover svg{
    fill:#fff;
}

/* Left Arrow */
.tr-review-section .elementor-swiper-button-prev{
    left:calc(50% - 60px) !important;
    right:auto !important;
    top:auto !important;
    bottom:10px !important;
}

/* Right Arrow */
.tr-review-section .elementor-swiper-button-next{
    left:calc(50% + 20px) !important;
    right:auto !important;
    top:auto !important;
    bottom:10px !important;
}

/* ── MOBILE card-effect specific styles ── */
@media (max-width: 767px) {
    .dt-category-section {
        padding-left: 0;
        padding-right: 0;
    }
    .dt-section-title {
        padding-left: 20px;
    }

    /* Cards effect needs overflow visible so adjacent cards peek */
    .dt-cat-swiper {
        overflow: visible !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
        /* padding-bottom: 60px !important; */
    }

    /* Hide desktop arrows on mobile */
    .dt-arrow {
        display: none !important;
    }

    /* Shadow beneath active card */
    .dt-cat-slide.swiper-slide-active {
        box-shadow: 0 24px 60px rgba(0,0,0,0.22);
        z-index: 2;
    }

    /* Dim behind/ahead cards */
    .dt-cat-slide:not(.swiper-slide-active) {
        opacity: 0.65;
    }
    .single-product .product-summary-shadow .summary-inner {
        padding: 15px;
    }
    #reviews .e-n-tabs-mobile .e-n-tabs-heading {
        display: flex;
    }
    #reviews .e-n-tabs-mobile .e-n-tabs-heading .e-n-tab-title {
        margin: 0;
    }
    #reviews .wd-carousel-wrap .info-box-wrapper .wd-info-box {
        min-height: 425px;
    }
    .page-title .container{
        padding-top: 0;
    }
    .site-logo .wd-main-logo img,
    .site-logo .wd-sticky-logo img {
        max-width: 45px !important;
    }
    .single-product .single-breadcrumbs-wrapper {
        padding-top: 0;
    }
    .archive .wd-page-content {
        padding-top: 0;
    }
    .archive .sidebar-container .widget-title {
        font-size: 14px;
    }
    .archive .content-layout-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .archive .shop-loop-head {
        padding-left: 15px;
        padding-right: 15px;
    }
    .products .product-wrapper .product-element-bottom {
        text-align: left;
        padding: 0 5px;
    }
    .products .product-wrapper .product-element-bottom h3 a{
        font-size: 14px;
    }
    .single-product-page .container {
        padding: 0;
    }
    .single-product-page .summary .summary-inner {
        box-shadow: unset;
    }
    .single-product-page .product-tabs-wrapper,
    .single-product-page .related-and-upsells {
        padding: 0 15px;
    }
    .single-product .single-product-page .related-and-upsells .product .price {
        font-size: 14px !important;
    }
    .single-product .single-product-page .related-and-upsells h2 {
        font-size: 22px;
        line-height: 28px;
    }
    .archive .wd-shop-tools .wd-action-text {
        display: none;
    }
    .wd-wishlist-content .wd-empty-block-title:before {
        font-size: 1.4em;
    }
    .wd-wishlist-content .wd-empty-block-title {
        font-size: 22px;
        line-height: 30px;
    }
    .wd-wishlist-content p {
        font-size: 12px;
        margin-bottom: 10px !important;
    }
    .wd-wishlist-content .products .wd-wishlist-remove .wd-action-text {
        display: none;
    }
    .archive .wd-active-filters {
        padding: 0 15px;
    }
    .woocommerce-account .wd-registration-page  .col-register-text .wd-login-title{
        padding-top: 20px;
    }
    .woocommerce-account .wd-registration-page .col-register form p,
    .woocommerce-account .wd-registration-page .col-register form a {
        font-size: 14px;
    }
    .wd-my-account-wrapper .wd-my-account-sidebar {
        display: none;
    }
    .woocommerce-cart .woocommerce .wd-empty-block-title {
        font-size: 24px;
        line-height: 34px;
    }
    .woocommerce-cart .woocommerce-cart-form td,
    .woocommerce-cart .woocommerce-cart-form a {
        font-size: 14px;
    }
    .woocommerce-cart .woocommerce-cart-form td.product-remove a:before, 
    .woocommerce-cart .woocommerce-cart-form .woocommerce-remove-coupon:before {
        right: 9px;
        position: absolute;
        background: #fff;
    }
    .wd-notice:before, div.wpcf7-response-output:before, .mc4wp-alert:before, :is(.woocommerce-error,.woocommerce-message,.woocommerce-info):before {
        top: calc(20% - 9px) !important;
    }
    .woocommerce-thankyou-order-received {
        font-size: 14px;
    }
    .woocommerce-order {
        padding-top: 0;
    }
    .woocommerce-checkout .wc-block-checkout {
        padding-top: 40px;
    }
    #our-best-seller .wd-nav-arrows.wd-pos-together {
        top: 100%;
		margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }
    #our-best-seller .wd-nav-arrows.wd-pos-together .wd-next {
        margin-right: 20px;
    }
    #our-best-seller .wd-nav-arrows.wd-pos-together
    .wd-wishlist-content .wd-wishlist-group-head .wd-wishlist-group-title {
        display: none;
    }
    .wd-wishlist-content .wd-wishlist-group-head {
        min-height: 48px;
    }
    .woocommerce-notice--success {
        margin-top: 90px;
        font-size: 14px !important;
    }
    .tabs-layout-img .wd-tabs-header ul li span.tab-label.nav-link-text {
        padding-bottom: 10px;
    }
    .tabs-layout-img .wd-tabs.tabs-design-simple .wd-nav-tabs-wrapper {
        border-top: unset;
        text-align: center;
        mask-image: unset;
    }
	
	#blogs .elementor-loop-container .swiper-wrapper {
		align-items: stretch !important;
	}
	#blogs .elementor-loop-container .swiper-slide {
		height: auto !important;
		display: flex !important;
		flex-direction: column !important;
	}
	#blogs .elementor-17787 .elementor-element-e5398d2 {
		height: 100% !important;
		min-height: 100% !important;
	}
	#blogs .elementor-17787 .elementor-element-e5398d2 > .e-con-inner {
		height: 100% !important;
		display: flex !important;
		flex-direction: column !important;
		flex: 1 !important;
	}
	#blogs .elementor-17787 .elementor-element-5e582fe {
		flex: 1 !important;
	}
}