/* ============================
   PRODUCT LIST PAGE STYLING
   Matches Pillow-Mart Design
============================ */

/* -------- Breadcrumb Section -------- */
.breadcrumb_part {
    background: #b894b5;     /* lavender backdrop */
    padding: 120px 0;
    text-align: center;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.breadcrumb_part h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 0;
}


/* -------- Main Section Spacing -------- */
.section_padding {
    padding: 80px 0;
}


/* ============= SIDEBAR ============= */

.product_sidebar {
    width: 100%;
    margin-top: 20px;
}

/* search box */
.single_sedebar form {
    position: relative;
}

.single_sedebar input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border-radius: 30px;
    background: #f4e9f4;
    border: none;
    font-size: 15px;
    outline: none;
}

.single_sedebar i.ti-search {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #846a86;
    font-size: 18px;
}

/* dropdown */
.select_option {
    margin-top: 20px;
    position: relative;
}

.select_option_list {
    padding: 14px 20px;
    background: #f4e9f4;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    color: #846a86;
    font-size: 15px;
    position: relative;
}

.select_option_list i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* dropdown container */
.select_option_dropdown {
    display: none;
    background: white;
    border-radius: 15px;
    margin-top: 10px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.select_option:hover .select_option_dropdown {
    display: block;
}

/* dropdown links */
.select_option_dropdown p {
    margin: 0;
    padding: 8px 0;
}

.select_option_dropdown a {
    color: #5c4e5d;
    text-decoration: none;
    font-size: 15px;
}

.select_option_dropdown a:hover {
    color: #a175a8;
}


/* ============= PRODUCT CARDS ============= */

.single_product_item {
    padding: 20px;
    text-align: center;
    transition: all .3s ease;
}

.single_product_item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.single_product_item:hover img {
    transform: scale(1.03);
}

.single_product_item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.single_product_item a {
    text-decoration: none;
    color: #322b32;
}

.single_product_item a:hover {
    color: #a174a9;
}

.single_product_item p {
    font-size: 16px;
    color: #6e6270;
    font-weight: 500;
}


/* ============= LOAD MORE BUTTON ============= */

.load_more_btn .btn_3 {
    background: #a174a9;
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 25px;
    transition: .3s ease;
    text-decoration: none;
}

.load_more_btn .btn_3:hover {
    background: #8d5b9e;
}


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

@media (max-width: 992px) {
    .product_sidebar {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .breadcrumb_part {
        padding: 80px 0;
    }

    .breadcrumb_part h2 {
        font-size: 32px;
    }
}
.filter-category {
    margin-bottom: 10px;
}

.filter-category > p {
    font-weight: 600;
    margin-bottom: 6px;
}

.sub-list {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
}

.sub-list a {
    font-size: 14px;
    color: #666;
    padding: 2px 0;
    transition: 0.2s;
}

.sub-list a:hover {
    color: #000;
    text-decoration: underline;
}
/* Sidebar Container */
.product_sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

/* Main Dropdown */
.select_option {
    margin-bottom: 25px;
}

.select_option_list {
    background: #f8f8f8;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.select_option_list i {
    float: right;
    margin-top: 4px;
}

/* Dropdown Content */
.select_option_dropdown {
    display: none;
    padding: 10px 5px 5px 10px;
    border-left: 2px solid #ddd;
    margin-top: 10px;
}

.select_option.active .select_option_dropdown {
    display: block;
}

/* Category Text */
.filter-category > p {
    margin-bottom: 5px;
    font-weight: 600;
}

.filter-category > p a {
    color: #333;
}

.filter-category > p a:hover {
    color: #ff7b00;
}

/* Subcategory Style */
.sub-list {
    margin-left: 15px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.sub-list a {
    color: #666;
    padding: 5px 0;
    font-size: 14px;
    transition: 0.3s;
}

.sub-list a:hover {
    color: #ff7b00;
    margin-left: 5px;
}

/* Smooth Dropdown Animation */
.select_option_dropdown {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 991px) {
    .product_sidebar {
        width: 100%;
        margin-bottom: 30px;
        background: #fdfdfd; 
    }
    .breadcrumb_part {
        height: auto !important;
        padding: 60px 0;
    }
    .breadcrumb_part h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .product_sidebar {
        padding: 15px;
    }

    .sub-list a {
        font-size: 13px;
    }
}

/* Wishlist icon - top right over the image */
.product-image-wrapper {
    position: relative;
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffffd9;
    padding: 8px 10px;
    border-radius: 50%;
    font-size: 18px;
    color: #ff4d4d;
    z-index: 10;
    transition: 0.3s;
}

.wishlist-icon:hover {
    background: #ff4d4d;
    color: #fff;
}

/* Image styling (optional) */
.product-img {
    width: 100%;
    border-radius: 10px;
}

/* Buttons */
.product-buttons {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    
}

.product-buttons .btn {
    flex: 1;
    border-radius: 6px;
    padding: 8px 0;
     background:#a174a9;
     border: #a174a9;
} 

.product-buttons .btn:hover{

    background: #8d5b9e;
}

.wishlist-box-message {
    position: absolute;
    top: -25px;
    right: 0;
    background: #d4edda; /* light green */
    color: #155724;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #c3e6cb;
    white-space: nowrap;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wishlist-box-message.show {
    opacity: 1;
}
/* Normal page number */
.pagination .page-link {
  color: #333;
  border-radius: 50%;
  margin: 0 5px;
  border: 1px solid #ddd;
}

/* Hover */
.pagination .page-link:hover {
  background-color: #f1f1f1;
  color: #000;
}

/* Active page (1,2,3) */
.pagination .page-item.active .page-link {
  background-color: #8d5b9e;
  border-color:  #8d5b9e;
  color: #fff;
  font-weight: 600;
}

/* Prev / Next buttons */
.pagination .page-item .page-link {
  padding: 8px 14px;
}
