/* =====================================
   SHOP PAGE LAYOUT
===================================== */

#shop-page {
    padding: 50px 0;
}

#shop-page .shop-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}


/* ===================SIDEBAR================== */

#shop-page .shop-sidebar {
    position: static;
    top: 120px;  /* Header height অনুযায়ী adjust */
    align-self: flex-start;
    max-height: calc(100vh - 120px); /* Sidebar content visible until screen height */

}

/* Sidebar Title */
#shop-page .shop-sidebar h3 {
    font-size: 28px;
    color: #743517;
    padding-top: 10px;
    margin: 0;
}

/* Checkbox List */
.wc-block-product-filter-checkbox-list__items {
    padding-bottom: 0px;
}

#shop-page .shop-sidebar .wc-block-product-filter-checkbox-list__items {
    color: #743517;
}

/* Filter Button */
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
    background: #743517;
    color: #f0e3b4;
    border-radius: 30px;
}

/* Price Slider */
.wc-block-product-filter-price-slider__range .range-bar {
    background: #743517;
}

.wc-block-product-filter-price-slider .text input[type=text] {
    border: 2px solid #743517;
    border-radius: 20px;
    text-align: center;
    padding: 7px 0px;
}

/* ==============PRODUCT AREA========================= */
/* Remove Woo default clearfix */
#shop-page .shop-products ul.products::before,
#shop-page .shop-products ul.products::after {
    content: none !important;
}

/* 4 Column Grid */
#shop-page .shop-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Remove float */
#shop-page .shop-products ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}


/* WRAPPER */
.product-wrapper {
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 🔥 HOVER = CARD UP */
.product-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* CARD */
.custom-product-card {
    list-style: none;
}

.product-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
}

/* IMAGE */
.product-image {
    position: relative;
    background: #e5e5e5;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 100%;
    transition: transform 0.3s ease;
}

/* OPTIONAL: slight zoom on hover */
.product-wrapper:hover .product-image img {
    transform: scale(1.05);
}

/* DISCOUNT BADGE */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e67830;
    color: #000;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* CONTENT */
.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f1ec;
    padding: 12px;
}

/* LEFT */
.info-left {
    flex: 1;
}

.product-title {
    font-size: 16px;
    margin: 0;
}

.product-title a {
    text-decoration: none;
    color: #1b4130;
}

.product-meta {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    margin-top: 6px;
    color: #1b4130;
}

/* BUTTON */
.info-right .button {
    background: #1b4130;
    color: #fff;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    border: none;
}

/* HOVER BUTTON COLOR */
.info-right .button:hover {
    background: #e67830;
    color: #000;
}