/* Sticky Cart Bar */
.custom-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
	    background-color: #fff;
    box-shadow: 0 -1px 12px #0000001a;
}

/* Left Content */
.custom-sticky-cart .sticky-left {
    display: flex;
    flex-direction: column;
}

/* Right Content */
.custom-sticky-cart .sticky-right form {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Button Style */
.custom-sticky-cart button {
    background: #9C5E3F;
    color: #fff;
    padding: 10px 20px;
    border: none;
}

/* Prevent content overlap */
/* body {
    padding-bottom: 100px;
} */

/* Mobile Optimization */
@media (max-width: 768px) {
    .custom-sticky-cart {
        flex-direction: column;
        gap: 10px;
    }

	
    .custom-sticky-cart .sticky-right {
        width: 100%;
    }

    .custom-sticky-cart button {
        width: 100%;
    }
}

.woocommerce div.product form.cart{
	margin-bottom: 0px;
}
.woocommerce div.product p.stock {
    font-size: .92em;
    display: none;
}
.has-font-size.has-small-font-size.wp-block-woocommerce-product-price.has-small-font-size
 {
    margin-top: 0px;
}

/* .custom-sticky-cart .sticky-left {
    display: flex;
    flex-direction: row;
    gap: 25px;
} */


.custom-sticky-cart .wp-block-post-title{
	    font-size: 20px !important;
    font-weight: 700;
}

.custom-sticky-cart .cart{
	margin-top: 0px !important;
}

.custom-sticky-cart .quantity{
	height: 40px;
}

.custom-sticky-cart .wp-block-group.sticky-right.is-layout-flow.wp-block-group-is-layout-flow {
    margin-top: 0px;
}

span.onsale {
    display: none !important;
}

p.field-highlighted_note.wp-block-acf-field-blocks-acf-text {
    background: #F5F5F5;
    padding: 20px;
}


/* Review */

.product-reviews-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.reviews-summary .avg {
    font-size: 28px;
    font-weight: bold;
    margin-right: 10px;
}

.reviews-summary .stars {
    color: #000;
    margin-right: 10px;
}

.review-card {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.review-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.review-title {
    margin: 5px 0;
    font-weight: 600;
}

.review-author {
    font-size: 13px;
    color: #666;
}

.review-content {
    margin: 10px 0;
}

.review-image img {
    margin-top: 10px;
    border-radius: 6px;
    max-width: 120px;
}


.reviews-accordion {
    border-top: 0px solid #ddd;
    margin-top: 0px;
    font-family: Arial, sans-serif;
    max-width: 640px;
    background: #fff;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 5px;
}
@media screen and (max-width: 768px){
	.accordion-header {
    padding: 10px 15px;
		
	}
}

.reviews-accordion .accordion-header h3 {
    margin: 0;
    font-family: Arial;
    font-size: 13px;
    font-weight: 400;
		color: black;
}

.reviews-accordion .accordion-header p{
	margin: 0px;
}

.accordion-icon {
    font-size: 20px;
    transition: 0.3s;
}

.reviews-accordion.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding-top: 10px;
}

.reviews-accordion.active .accordion-content {
    display: block;
}

.reviews-summary {
    margin-bottom: 0px;
	  background: #f7f7f7;
	  
}

.reviews-summary .avg {
    font-size: 24px;
    font-weight: bold;
    margin-right: 10px;
}

.stars {
    color: #000;
}

.review-card {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.review-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.review-title {
    margin: 5px 0;
    font-weight: 600;
}

.review-author {
    font-size: 13px;
    color: #666;
}

.review-content {
    margin: 10px 0;
}

.review-image img {
    max-width: 120px;
    border-radius: 6px;
    margin-top: 10px;
}

.review-card .review-top p{
	margin: 0px;
}
.review-card .date{
	text-transform: capitalize;
}


/* Upsell code */

.jn_custom_cart_upsell {
    margin-top: 30px;
}

.jn_upsell_products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.jn_upsell_item {
    width: 23%;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}

.jn_upsell_item img {
    max-width: 100%;
}

.jn_product_title {
    font-size: 16px;
    margin: 10px 0;
}

.jn_price {
    display: block;
    margin-bottom: 10px;
}


/* .jn_upsell_products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.jn_upsell_item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    transition: all 0.3s ease;
    text-align: center;
} */

.jn_upsell_item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.jn_product_image img {
    width: 100%;
    border-radius: 8px;
}

.jn_product_title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 12px 0 8px;
    line-height: 1;
    min-height: 0;
    transition: color 0.3s ease;
}

.jn_product_link:hover .jn_product_title {
    color: #0073aa;
}

.jn_product_meta {
    margin-top: 10px;
}

.jn_price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.jn_price del {
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

.jn_price ins {
    text-decoration: none;
    color: #9C5E3F; /* sale color */
}

.jn_add_to_cart {
    display: block;
    width: 90%;
    padding: 10px;
    border-radius: 8px;
    background: #9C5E3F;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jn_add_to_cart:hover {
    background: #333;
}
.jn_upsell_item a{
	text-decoration: none;
}

@media screen and (max-width: 768px){
	
	.jn_upsell_products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    overflow-x: scroll;
}
	
/* 	.jn_upsell_item {
     flex: 0 0 75%; 
    scroll-snap-align: start;
    } */
	
	
	.jn_add_to_cart {
    display: block;
    width: 90%;
    padding: 10px;
    border-radius: 8px;
    background: #9C5E3F;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

	.jn_upsell_item {
		width: 100%;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}
}

/* Free Shipping Bar */

.jn-free-shipping-bar {
    background: #f8f8f8;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    text-align: center;
}

.jn-progress-bar-wrapper {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
}

.jn-progress-bar-fill {
    height: 100%;
    background: #8C5539;
    width: 0%;
    transition: width 0.5s ease;
}




.wc-block-components-sidebar-layout.wc-block-cart {
    display: none;
}
.woocommerce {
	max-width: 100% !important;
}