/* --- CLEAN MOBILE LAYOUT (Applied to 767px and below) --- */
@media (max-width: 767px) {
    
    /* 1. Container: Horizontal scrolling */
    .woocommerce ul.products.row {
        display: flex !important;
        overflow-x: auto !important;
        padding-bottom: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
.row.text-start .col-md-4.mb-4 {
    width: 50%;
}
    /* Last product full width */
    .collections-gallery .row > .col-6:last-child{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .collections-gallery .row > .col-6:last-child .collection-item{
        max-width: 400px;
        margin: 0 auto;
    }
.wishlist-icon {
    position: absolute;
    top: 266px;
    right: 12px;
    z-index: 10;
}
    /* 2. Product Card: Fixed width for horizontal swipe */
    .woocommerce ul.products li.product {
        flex: 0 0 55% !important; /* Shows ~1.5 products to prompt scrolling */
        max-width: 50% !important;
        margin-bottom: 0 !important;
        list-style: none !important;
        padding-left: 0px !important;
        margin-top: 8px !important;
    }



    /* 4. Text: Keep it small and readable */
    .woocommerce-loop-product__title {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin: 10px 0 5px 0 !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 12px !important;
        display: block;
        margin-bottom: 10px;
    }

    /* 5. Button: Full width and compact */
    .custom-btn {
        width: 100% !important;
        font-size: 11px !important;
        padding: 6px 4px !important;
        white-space: nowrap !important;
    }

    .woocommerce-Price-amount {
        font-size: 15px !important;
    }
  
   .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: 0px 0px 0px 0px !important;
    margin: 0;
    font-size: 1em;
}

    
    .custom-btn {
        width: 100%;
        margin-top: 5px;
    }
    .why-choose-us .feature-item {
    transition: transform 0.3s ease;
}

    .why-choose-us hr {
        height: 2px;
        opacity: 1;
        margin: 15px auto;
    }
    .main_canvas-drawer  {
        width: 75% !important;
    }

    .main_cartDrawer {
        width: 75% !important;
    }
   
}



/* Tablet/Desktop spacing */
@media (min-width: 768px) {
    .why-choose-us .row {
		margin-bottom: 241px;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .community-section .row {
        flex-direction: column-reverse; 
    }
    .community-content {
        padding: 20px;
        text-align: center;
    }
    .community-content .d-flex {
        justify-content: center;
    }
}


.community-section img {
    height: 100%;
    object-fit: cover;
}


.collection-item img {
    width: 100%;
    height: 450px; 
    object-fit: cover;
}


.btn-dark {
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}


@media (max-width: 767px) {
    .collection-item img {
        height: 250px; 
    }
    .col-6 {
        padding: 0 5px;
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .design-image {
        height: 356px; 
        
        background-size: cover;
        background-position: center;
        width: 100%;
    }
    
    .content-inner {
        text-align: center; 
    }
}

/* Checkout */
/* Constrain the checkout block width to match your container */
.wp-block-woocommerce-checkout {
    max-width: 1140px; /* Adjust to match your theme's container width */
    margin: 0 auto !important;
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure the layout stacks correctly on mobile */
@media (max-width: 767px) {
    .wp-block-woocommerce-checkout {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Force theme font-family */
.wp-block-woocommerce-checkout {
    font-family: var(--font-body); /* Or use 'Arial, sans-serif' */
}

/* Style input fields to match your site */
.wp-block-woocommerce-checkout input, 
.wp-block-woocommerce-checkout select {
    border: 1px solid #ddd !important;
    padding: 10px !important;
    border-radius: 0 !important;
}

/* Style the buttons to match your theme */
.wp-block-woocommerce-checkout button.wc-block-components-button {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
}


.woocommerce .products ul, .woocommerce ul.products {
    padding: 0;
    list-style: none outside;
    clear: both;
    margin: 0 0 0 0 !important;
}