/* ===================================
   GLOBAL
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

/* ===================================
   TOP BAR
=================================== */

.top-bar{
    background:#1f1f1f;
    color:#fff;
    text-align:center;
    padding:12px 0;
    font-size:14px;
    font-weight:400;
    position:relative;
    z-index:1001;
}

/* ===================================
   NAVBAR
=================================== */

.navbar{
    position:absolute;
    top:68px;
    left:0;
    width:100%;
    z-index:1000;
    background:transparent;
    padding:25px 0;
    transition:all .35s ease;
}

.navbar:hover{
    background:#fff;
}

/* Logo */

.navbar-brand{
    color:#fff !important;
    font-size:28px;
    font-weight:600;
    transition:.35s ease;
}

/* Menu */

.nav-link{
    color:#fff !important;
    font-size:14px;
    font-weight:500;
    margin:0 6px;
    position:relative;
    padding-bottom:10px; /* creates space for underline */
}


.navbar:hover .navbar-brand,
.navbar:hover .nav-link{
    color:#000 !important;
}

.nav-link.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:1.5px;
    background:#fff;
}

.navbar:hover .nav-link.active::after{
    background:#000;
}

/* Icons */

.nav-icons{
    display:flex;
    align-items:center;
    gap:20px;
}

.nav-icons a{
    color:#fff;
    text-decoration:none;
    position:relative;
    font-size:18px;
}

.cart-count{
    position:absolute;
    top:-8px;
    right:-10px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#f0c160;
    color:#000;
    font-size:11px;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content:center;
}



.navbar:hover .nav-icons i{
    color:#000;
}



/* Sticky Navbar */

.navbar.scrolled{
    position:fixed;
    top:0;
    background:#fff;
    padding:18px 0;
    box-shadow:0 2px 20px rgba(0,0,0,.08);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-icons i{
    color:#000 !important;
}

.navbar.scrolled .nav-link.active::after{
    background:#000;
}

/* ===================================
   HERO SECTION
=================================== */

.hero{
    position:relative;
    min-height:100vh;
    background-image:url('../images/hero-door.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.18);
}

.hero-content{
    position:relative;
    z-index:2;
    color:#fff;
}

/* Heading */

.hero h1{
    font-size:30px;
    font-weight:500;
    line-height:1.1;
    letter-spacing:-1px;
    margin-bottom:24px;
}

/* Description */

.hero p{
    max-width:620px;
    font-size:18px;
    font-weight:300;
    line-height:1.6;
    margin-bottom:40px;
}

/* Button */

.btn-custom{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:240px;
    padding: 12px 28px;
    background:#fff;
    color:#111;
    border-radius:10px;
    font-size:18px;
    font-weight:600;
    transition:.3s ease;
}

.btn-custom:hover{
    background:#000;
    color:#fff;
}

/* =========================
   COMMON
========================= */

.section-subtitle{
    color:#bfd6b5;
    font-size:18px;
    font-weight:500;
    text-transform:uppercase;
}

.section-title{
    font-size:30px;
    font-weight:500;
    color:#2d2d2d;
}

.section-text{
    font-size:18px;
    font-weight: 300;
    max-width:520px;
}

.btn-dark-custom{
    background:#252525;
    color:#fff;
    padding: 12px 28px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
}

.btn-dark-custom:hover{
    background:#000;
    color:#fff;
}

/* =========================
   ABOUT
========================= */
.about-section{
    background:#f5f5f5;
    padding:100px 0;
}

.about-section img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    height: 400px;
}
/* =========================
   CATEGORY
========================= */

.category-section{
    background:#f5f5f5;
    padding:80px 0;
}

.category-card{
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:6px;
    text-decoration:none;
}

.category-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    transition:.5s ease;
}

.category-card:hover img{
    transform:scale(1.05);
}

.overlay-title{
    position:absolute;
    top:40px;
    left:20px;
    color:#fff;
    font-size:32px;
    font-weight:500;
    line-height:1.2;
    z-index:2;
}

.category-card::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to bottom,
        rgba(0,0,0,.15),
        rgba(0,0,0,.05)
    );
}

/* =========================
   BEST SELLERS
========================= */
.bestsellers-section{
    padding:100px 0;
}

.product-card{
    border:0;
    transition:.35s;
}

.product-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius: 6px;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card .card-body{
    padding:20px 0;
}

.card-body .product-title{
    color: #887878;
}

.card-body .product-price{
font-size: 16px;
}

/* =========================
   CONTENT SECTION
========================= */

.content-section{
    padding:100px 0;
    background-color: #f5f5f5;
}

.content-section img{
    border-radius:10px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* =========================
   TIMBER INFO
========================= */

.timber-info-section{
    background:#f5f5f5;
    padding:100px 0;
}

.timber-text{
    font-size:18px;
    font-weight: 300;
    margin-bottom:30px;
}

.timber-text a{
    color:#888282;
    text-decoration:underline;
}



/* =========================
   CTA
========================= */

.cta-banner{
    background:#111;
    color:#fff;
    padding:100px 20px;
}

.cta-banner h2{
    font-size:48px;
    font-weight:700;
}

.cta-banner p{
    font-size:18px;
    margin:20px 0 30px;
}

/* =========================
   POPULAR DOORS
========================= */
.popular-doors-section{
    background:#f5f5f5;
    padding:100px 0;
}



.door-links{
    border-top:1px solid #d7d7d7;
}

.door-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:35px 0;
    font-size:28px;
    color:#8a8a8a;
    text-decoration:none;
    border-bottom:1px solid #d7d7d7;
    transition:.3s;
}

.door-link:hover{
    color:#222;
}

.door-link.active{
    color:#222;
}

.arrow{
    font-size:50px;
    line-height:1;
    font-weight:300;
}

.door-image{
    overflow:hidden;
    border-radius:4px;
}

.door-image img{
    width:100%;
    height:610px;
    object-fit:cover;
}



/* =========================
   FAQ
========================= */

.faq-section{
    background:#f5f5f5;
    padding:100px 0;
}

.faq-link{
    color:#666;
    font-size:18px;
    font-weight:500;
    text-decoration:none;
    transition:.3s;
}

.faq-link:hover{
    color:#222;
}

.faq-link span{
    margin-left:8px;
}

.custom-faq{
    margin-top:20px;
}

.custom-faq .accordion-item{
    border:none;
    border-top:1px solid #d8d8d8;
    background:transparent;
}

.custom-faq .accordion-item:last-child{
    border-bottom:1px solid #d8d8d8;
}

.custom-faq .accordion-button{
    background:transparent;
    box-shadow:none;
    padding:28px 0;
    font-size:20px;
    font-weight:500;
    color:#222;
}

.custom-faq .accordion-button:not(.collapsed){
    background:transparent;
    color:#222;
}

.custom-faq .accordion-button::after{
    background-size:16px;
    width:16px;
    height:16px;
}

.custom-faq .accordion-body{
    padding:0 0 25px;
    font-size:16px;
    color:#666;
    line-height:1.8;
}

/* =========================
   FEATURES
========================= */

.feature-section{
    background:#f5f5f5;
    border-top:1px solid #e6e6e6;
    border-bottom:1px solid #e6e6e6;
}

.feature-box{
    min-height:180px;
    padding:40px 20px;
    text-align:center;
    border-right:1px solid #e6e6e6;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.feature-box i{
    font-size:38px;
    color:#222;
    margin-bottom:18px;
}

.feature-box h4{
    font-size:18px;
    font-weight:500;
    color:#222;
    margin:0;
    line-height:1.4;
}

/* =========================
   FOOTER
========================= */

.custom-footer{
    background:#222;
    color:#fff;
}

.footer-top{
    padding:90px 0 70px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-top h4{
    font-size:18px;
    font-weight:600;
    margin-bottom:25px;
}

.footer-top p{
    color:#bdbdbd;
    font-size:15px;
    line-height:1.9;
}

.footer-links{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#bdbdbd;
    font-size:15px;
    transition:.3s;
}

.footer-links a:hover{
    color:#fff;
}

.footer-input{
    height:60px;
    border:none;
    border-radius:8px;
    background:#2f2f2f;
    color:#fff;
}

.footer-input:focus{
    background:#2f2f2f;
    color:#fff;
    box-shadow:none;
}

.footer-btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:8px;
    background:#fff;
    color:#222;
    font-size:16px;
    font-weight:600;
    margin-top:10px;
    transition:.3s;
}

.footer-btn:hover{
    background:#f3f3f3;
}

.footer-top small{
    display:block;
    margin-top:20px;
    color:#999;
    font-size:13px;
    line-height:1.8;
}

.footer-middle{
    padding:50px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-middle h5{
    font-size:16px;
    font-weight:600;
    margin-bottom:20px;
}

.payment-icons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.payment-icons img{
    height:32px;
}

.footer-bottom{
    padding:25px 0;
}

.footer-bottom-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.copyright{
    font-size:14px;
    color:#999;
}

.shop-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 24px;
    border-radius:50px;
    background:#5d3df5;
    color:#fff;
    font-size:14px;
    font-weight:500;
}



/* ===================================
   RESPONSIVE
=================================== */

/* Large Tablets */
@media (max-width: 991px){

    .navbar{
        background:#fff;
        position:relative;
        top:0;
        padding:15px 0;
    }

    .navbar-brand,
    .nav-link,
    .nav-icons i{
        color:#000 !important;
    }

    .hero{
        min-height:80vh;
        text-align:center;
    }

    .hero h1{
        font-size:48px;
    }

    .hero p{
        max-width:100%;
        font-size:16px;
        margin-left:auto;
        margin-right:auto;
    }

    .section-title{
        font-size:32px;
    }

    .section-text{
        max-width:100%;
    }

    .about-section,
    .category-section,
    .bestsellers-section,
    .content-section,
    .timber-info-section,
    .popular-doors-section,
    .faq-section{
        padding:70px 0;
    }

    .door-image img{
        height:450px;
        margin-top:30px;
    }

    .door-link{
        font-size:22px;
        padding:25px 0;
    }

    .arrow{
        font-size:38px;
    }

    .cta-banner h2{
        font-size:38px;
    }

    .feature-box{
        border-right:none;
        border-bottom:1px solid #e6e6e6;
    }

    .footer-bottom-row{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }
}


/* Tablets */
@media (max-width: 768px){

    .top-bar{
        font-size:12px;
        padding:10px;
    }

    .hero{
        min-height:70vh;
        padding:80px 0;
    }

    .hero h1{
        font-size:40px;
        margin-bottom:15px;
    }

    .hero p{
        font-size:15px;
        margin-bottom:25px;
    }

    .btn-custom,
    .btn-dark-custom{
        width:100%;
        max-width:300px;
        font-size:18px;
    }

    .section-subtitle{
        font-size:15px;
    }

    .section-title{
        font-size:28px;
        margin-bottom:15px;
    }

    .section-text,
    .timber-text{
        font-size:16px;
    }

    .overlay-title{
        font-size:24px;
    }

    .category-card img{
        height:280px;
    }

    .product-card img{
        height:280px;
    }

    .door-image img{
        height:380px;
    }

    .cta-banner{
        padding:70px 20px;
        text-align:center;
    }

    .cta-banner h2{
        font-size:32px;
    }

    .cta-banner p{
        font-size:16px;
    }

    .custom-faq .accordion-button{
        font-size:18px;
    }

    .footer-top{
        padding:60px 0;
    }

    .footer-middle{
        padding:40px 0;
    }
}


/* Mobile */
@media (max-width: 576px){

    .hero{
        min-height:60vh;
        padding:60px 0;
    }

    .hero h1{
        font-size:32px;
        line-height:1.2;
    }

    .hero p{
        font-size:14px;
    }

    .section-title{
        font-size:24px;
    }

    .section-text{
        font-size:15px;
    }

    .overlay-title{
        top:20px;
        left:15px;
        font-size:20px;
    }

    .category-card img{
        height:240px;
    }

    .product-card img{
        height:240px;
    }

    .door-link{
        font-size:18px;
    }

    .arrow{
        font-size:28px;
    }

    .door-image img{
        height:280px;
    }

    .cta-banner h2{
        font-size:28px;
    }

    .feature-box{
        min-height:140px;
        padding:25px 15px;
    }

    .feature-box i{
        font-size:30px;
    }

    .feature-box h4{
        font-size:16px;
    }

    .footer-top h4{
        margin-top:25px;
    }

    .payment-icons{
        justify-content:center;
    }

    .copyright{
        text-align:center;
    }
}

/* =========================
   SINGLE PRODUCT PAGE
========================= */

.single-product {
    max-width: 1320px;
    margin-top: 80px;
}

/* Product Gallery */

.single-product .woocommerce-product-gallery {
    width: 100% !important;
}

.single-product .woocommerce-product-gallery img {
    width: 100%;
    height: 350px;
    display: block;
	border-radius:4px;
}

.single-product .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px !important;
}

.single-product .flex-control-thumbs li {
    list-style: none;
}

.single-product .flex-control-thumbs img {
    width: 100%;
    border: 1px solid #ddd;
    cursor: pointer;
}
/* Product Title */

.single-product .product_title {
    font-size: 42px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Price */

.single-product .price {
    font-size: 25px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.single-product .price ins {
    text-decoration: none;
}

/* Description */

.single-product .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* custom-stock-badge */
.single-product .woocommerce-variation-availability{
    margin:20px 0;
}

.single-product .woocommerce-variation-availability .stock{
    display:inline-flex !important;
    align-items:center;
    gap:10px;
    padding:14px 24px;
    border:1px solid #e5e5e5;
    background:#fafafa;
    border-radius:4px;
    color:#74a95c !important;
    font-size:18px;
    font-weight:600;
    margin:0;
}

.single-product .woocommerce-variation-availability .stock::before{
    content:"✓";
    font-size:22px;
    font-weight:bold;
    color:#74a95c;
}

/* Variation label */
.single-product .variations{
	margin-bottom: 25px;
}

.single-product .variations label{
    font-size:16px;
    color:#222;
}

/* Size dropdown */
.single-product .variations select{
    width:80% !important;
    height:50px !important;
    border:1px solid #ddd !important;
    background:#fff;
    padding:0 25px !important;
	margin-left: 5px;
	margin-right: 5px;
    font-size:16px !important;
    border-radius:4px;
    box-shadow:none !important;
}

.single-product .reset_variations{
	color:#222;
}

.woocommerce-variation-price{
	margin-bottom: 25px;
}

.single-product .woocommerce-variation-add-to-cart .quantity{
    width:100px;
    margin:0 !important;
}

.single-product .woocommerce-variation-add-to-cart .qty{
    width:100% !important;
    height:60px !important;
    border:1px solid #ddd !important;
    text-align:center;
    font-size:24px;
    box-shadow:none !important;
	border-radius:4px;
}

.single-product .woocommerce-variation-add-to-cart{
    display:flex;
    align-items:center;
    gap:12px;
}

.single-product .single_add_to_cart_button{
    flex:1;
    height:60px !important;
    background:#1f1f1f !important;
    color:#fff !important;
    border:none !important;
    font-size:18px !important;
    font-weight:600 !important;
	border-radius:4px;
}

.single-product .quote-btn{
    flex:1;
    height:55px;
    background:#efc163;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
	border-radius:4px;
}

.single-product .stock{
    display:none;
}

/* Meta */

.single-product .product_meta{
    display:none;
}
/* Rating */

.single-product .woocommerce-product-rating {
    margin-bottom: 15px;
}

/* Sale Badge */

.single-product .onsale {
    background: #111 !important;
    color: #fff !important;
    border-radius: 0 !important;
    min-width: 60px !important;
    min-height: 60px !important;
    line-height: 60px !important;
}

/* Mobile */

@media (max-width: 991px) {

    .single-product .product_title {
        font-size: 30px;
        margin-top: 30px;
    }

    .single-product .price {
        font-size: 24px;
    }

    .single-product .single_add_to_cart_button {
        width: 100%;
        margin-top: 15px;
    }

    .single-product .quantity {
        width: 100%;
    }

    .single-product .quantity input.qty {
        width: 100%;
    }
}
