/*
Theme Name: Astra Airbnb Villa
Template: astra
Version: 2.0
Description: Airbnb style villa theme for Astra + WooCommerce
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body{
    font-family:'Poppins',sans-serif;
    background:#f7f7f7;
}

/* PRODUCT GRID */
.woocommerce ul.products{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
}

.woocommerce ul.products li.product{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    position:relative;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s ease;
    padding-bottom:18px;
}

.woocommerce ul.products li.product:hover{
    transform:translateY(-5px);
}

.woocommerce ul.products li.product img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:18px;
    font-weight:600;
    color:#222;
    padding:14px 16px 6px;
}

.woocommerce ul.products li.product .price{
    padding:0 16px;
    color:#184d34;
    font-weight:700;
    font-size:18px;
}

.woocommerce ul.products li.product .button{
    margin-left:16px;
    margin-top:12px;
    border-radius:12px;
    background:#184d34;
    color:#fff;
}

/* FAVORITE BADGE */
.villa-badge{
    position:absolute;
    top:14px;
    left:14px;
    background:#fff;
    padding:8px 14px;
    border-radius:99px;
    font-size:12px;
    font-weight:600;
    z-index:9;
}

.favorite-heart{
    position:absolute;
    top:14px;
    right:14px;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
}

/* SINGLE PRODUCT */
.single-product div.product{
    margin-top:30px;
}

.single-product .summary{
    background:#fff;
    padding:30px;
    border-radius:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.single-product .product_title{
    font-size:42px;
    color:#184d34;
    font-weight:700;
}

.single-product .price{
    color:#184d34;
    font-size:30px;
    font-weight:700;
}

.single-product .single_add_to_cart_button{
    background:#184d34 !important;
    border-radius:14px !important;
}

/* AIRBNB STYLE SECTION */
.home-villa-section{
    margin:60px auto;
}

.home-villa-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:18px;
}

.home-villa-slider{
    display:flex;
    gap:20px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:20px;
}

.home-villa-slider::-webkit-scrollbar{
    height:8px;
}

.home-villa-slider::-webkit-scrollbar-thumb{
    background:#ddd;
    border-radius:99px;
}

/* PAGINATION */
.woocommerce-pagination{
    margin-top:50px;
    text-align:center;
}

.woocommerce nav.woocommerce-pagination ul{
    border:none;
}

.woocommerce nav.woocommerce-pagination ul li{
    border:none;
    margin:0 6px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
    width:44px;
    height:44px;
    line-height:44px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    color:#184d34;
    font-weight:600;
}

.woocommerce nav.woocommerce-pagination ul li span.current{
    background:#184d34;
    color:#fff;
}

/* MOBILE */
@media(max-width:768px){
    .single-product .product_title{
        font-size:30px;
    }

    .woocommerce ul.products{
        grid-template-columns:1fr;
    }
}
