/*
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)
*/

#fp-nav ul li a span {
	background: #000;
	width:10px;
	height:10px;
}
#fp-nav {
	left: 40px;
}
.wd-content-layout {
    padding-block: 0 !important;
}
/* body {
    overflow: hidden;
}
.fp-overflow {
    overflow: visible !important;
} */
/* #fullpage {
    height: 100vh;
}
.section {
    height: 100vh !important;
    min-height: 100vh !important;
} */

/* Ensure the html and body don't conflict with fullpage scroll */
html.fp-enabled, 
.fp-enabled body {
    margin: 0;
    padding: 0;
    overflow: hidden !important;
}

/* Fix for Elementor sections */
#fullpage .elementor-section {
    width: 100%;
    display: table;
    table-layout: fixed;
}

/* ── Swiper container ── */
.dt-cat-swiper {
    width: 100%;
    padding-bottom: 48px !important; /* space for pagination dots on mobile */
}

/* ── 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: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-cat-name {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ── 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;
}

/* ── 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;
    }
}