
  
  /* index.php */
  
   .intro-slide .btn {
       
       border-radius: 8px;
       background-color: #333;
       color: #fff;
       font-weight: 500;
       display: inline-flex;
       align-items: center;
       justify-content: center;
       transition: .4s;
       border: none;
       cursor: pointer;
       padding: 12px;
       margin: 50px;
       font-style: italic;
       font-size: 14px;
       text-transform: capitalize;
       
   }
    
    .w-icon-long-arrow-right {
        display: none !important;
    }
    
    .btn-dark.btn-link {
       
       border-radius: 8px;
       background-color: #333;
       color: #fff;
       font-weight: 500;
       display: inline-flex;
       align-items: center;
       justify-content: center;
       transition: .4s;
       border: none;
       cursor: pointer;
       padding: 8px;
       margin-top: 168px;
       margin-left: -15px;
       font-style: italic;
       font-size: 12px;
       text-transform: capitalize;
       
    }
    
    .banner {
        background-position: calc(45%) center;
    }
    
  @media (max-width: 768px) {
  .category-wrapper.row.cols-12.pt-3.pb-3 {
    display: none !important;
  }
}

.btn.btn-sm {
       
       border-radius: 8px;
       background-color: #28282B	;
       color: #fff;
       font-weight: 500;
       display: inline-flex;
       align-items: center;
       justify-content: center;
       transition: .4s;
       border: none;
       cursor: pointer;
       padding: 8px;
       margin-bottom: 168px;
       margin-left: -15px;
       font-style: italic;
       font-size: 12px;
       text-transform: capitalize;
       
    }

@media (max-width: 575px) {
  .banner {
    font-size: 0.8rem;
    min-height: 24rem;
  }
}

@media (max-width: 772px) {
  .banner {
    font-size: 0.8rem;
    min-height: 24rem;
  }
}

/* Product Detail */


    .product-wrapper {
    display: flex;
    flex-wrap: wrap;
    }
    
    .product-wrapper .product-wrap {
        width: 100%;
    }
    
    @media (max-width: 767px) {
        .product-wrapper .product-wrap {
            width: 50% !important; /* 2 columns on mobile */
        }
    }



.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  padding: 0 1rem;
}

.product-card {
  background: #f9fafc;
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.product-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-content {
  padding: 1rem;
}

.product-name {
  font-size: 1.3rem;
  font-weight 400;
  margin-top: 6px;
  color: #1d2128;
  line-height: 18px;
  text-align: left; /* optional: change to left if you prefer */

  /* Make this a flex container to vertically center content */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Constrain height for 3 lines */
  min-height: calc(1.4em * 3);
  height: 2.25rem
  text-overflow: ellipsis;
  overflow: hidden;

  /* Multi-line wrapping */
  white-space: normal;
  word-break: break-word;

  /* Multi-line ellipsis setup */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}



.btn-add-cart {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #007bff;
  color: #fff;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn.btn-sm {
margin-bottom: 40px;
}





.product-image-gap {
    margin-bottom: 0px;
}

.product-image-gap .product-details .product-name {
    padding-right: 0rem;
}

.product-image-gap .product-details {
    padding-top: 0.4rem;
}

.product .product-pa-wrapper .product-price {
padding-bottom: 4px;
}




/* --- Price and Coins --- */
.product-pa-wrapper {
  margin-top: 0.8rem;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.8rem;
  font-family: "IBM Plex Sans", sans-serif;
  color: #222;
  font-weight: 600;
  margin-bottom: 0rem;
  padding-bottom: 0rem
}

.product-price .new-price {
  color: #303030;
  font-size: 1.6rem;
  text-decoration: none;
  line-height: 22px;
}
.product-price .old-price {
  color: #FF0000;
  font-size: 1.4rem;
  line-height: 22px;
}

.product-coin {
  margin-top: 4px;
}

.coin-img {
  justify-content: normal;
  align-items: center;
  gap: 6px;
  background: #fff7e6;
  padding: 6px 2px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.coin-img img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.coin-img h6 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #c68b00;
  margin: 0;
  line-height: 1;
  font-family: 'Verdana', sans-serif;
}

/* Discount badge */
.discount-tag {
  background-color: #B8FFB8;
  color: #001A00;
  font-size: 1.1rem;
  font-weight: 400;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
  margin-left: 8px;
  font-family: 'Verdana', sans-serif;
  
}

/* --- Add to Cart Button (Always Visible) --- */
.product-action {
  background-color: #fff;
  color: #333;
  text-align: center;
  margin-top: 1rem;
  padding: 0rem 0rem;
  border-radius: 8px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
}

.product-action .btn-car {

  color: #fff;
  padding: 1rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 10px;
}

.product-action .btn-car:hover {
  background-color: #fff; /* no hover change */
  color: #333;
}

/* Keep price, discount, and coin details always visible */
.product:hover .product-price,
.product:hover .discount-tag,
.product:hover .coin-img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Prevent them from being hidden or faded */
.product .product-price,
.product .discount-tag,
.product .coin-img {
  transition: none !important;
}

/* Ensure Add to Cart hover doesn't affect layout */
.product:hover .product-pa-wrapper {
  opacity: 1 !important;
  transform: none !important;
}

/*
.product:hover,
.product:hover * {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}
*/

/* Base button style - same as Add to Cart */
.btn-cart.btn-link {
  background-color: #333;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.65rem 1.2rem;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  border: none;
  text-decoration: none !important;
  transition: all 0.25s ease-in-out;
  width: 100%;
}

/* Hover effect same as Add to Cart */
.btn-cart.btn-link:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 115, 190, 0.25);
}

/* Consistent look with .btn-car (non-logged state) */
.btn-car.btn.btn-link.btn-underline.login.sign-in {
  background-color: #333;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.65rem 1.2rem;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  border: none;
  text-decoration: none !important;
  transition: all 0.25s ease-in-out;
  width: 100%;
}

/* Hover for both states */
.btn-car.btn.btn-link.btn-underline.login.sign-in:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 115, 190, 0.25);
}



/* RM Start Wishlist */



.btn-wishlist {

display:inline-flex;
align-items:center;
justify-content:center;
width:29px;
height:29px;
background:#f3f4f6;
border-radius:50%;
color:#ef4444;
font-size:1.5rem;
transition:all .3s ease;
border:1px solid #e5e7eb;
text-decoration:none;
margin-left: 0.5px;

}

a.btn-wishlist:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(239,68,68,0.25);
}

.btn-product-icon {
    width: 2.8rem;
    height: 2.8rem;
}



/* RM End Wishlist */


    /* ============================
   LIGHT PREMIUM SHOP SIDEBAR
============================ */
.shop-sidebar {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    font-family: 'Poppins', sans-serif;
    color: #333;
    transition: all 0.3s ease;
}

/* Scrollbar */
.sidebar-content.scrollable::-webkit-scrollbar {
    width: 6px;
}
.sidebar-content.scrollable::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* Sidebar Header */
.filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.filter-actions label {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
}
.filter-actions .btn-link {
    background: linear-gradient(135deg, #3449ca, #3449ca);
    border-radius: 25px;
    color: #fff !important;
    font-weight: 500;
    padding: 6px 14px;
    transition: all 0.3s ease;
}
.filter-actions .btn-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(247, 183, 51, 0.6);
    background: linear-gradient(135deg, #3449ca, #3449ca);
}

.widget.widget-collapsible {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 15px 18px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.widget.widget-collapsible:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Widget Title */
.widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, #f5c96b, #f7b733);
    border-radius: 3px;
}

/* Toggle Icons */
.toggle-btn::before {
    font-family: "Font Awesome 5 Free";
    content: "\f078";
    font-weight: 900;
    color: #aaa;
    transition: transform 0.3s ease;
}
.widget-collapsible.active .toggle-btn::before {
    transform: rotate(180deg);
}

/* Filter Items */
.filter-items {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.filter-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.filter-item:last-child {
    border-bottom: none;
}
.filter-item a {
    color: #555;
    font-weight: 400;
    transition: color 0.3s ease, font-weight 0.2s;
    text-decoration: none;
}
.filter-item a:hover {
    color: #f7b733;
    font-weight: 500;
}

/* Active Links */
.category-link.active, .subcategory-link.active {
    color: #c79a25 !important;
    font-weight: 600;
}

/* Counts */
.filter-count {
    font-size: 0.85rem;
    color: #999;
}

/* Price & Coin Range Inputs */
.price-range, .rating-range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 12px;
}
.price-range input {
    width: 45%;
    padding: 7px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
    outline: none;
    transition: border 0.3s ease;
}
.price-range input:focus {
    border-color: #f7b733;
    box-shadow: 0 0 6px rgba(247, 183, 51, 0.3);
}
.price-range input::placeholder {
    color: #bbb;
}
.price-range .btn {
    background: linear-gradient(135deg, #3449ca, #3449ca);
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 2px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.price-range .btn:hover {
    background: linear-gradient(135deg, #3449ca, #3449ca);
    transform: scale(1.05);
}

/* Accordion */
.accordion-head {
    background: none;
    border: none;
    color: #333;
    font-weight: 500;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.accordion-head:hover {
    color: #f7b733;
}
.accordion-icon {
    font-size: 0.8rem;
    color: #aaa;
    transition: transform 0.3s ease;
}
.accordion-head[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

/* Subcategories */
.subcategory-list {
    margin-top: 8px;
    padding-left: 8px;
}
.subcategory-link {
    color: #555;
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.subcategory-link:hover {
    color: #f7b733;
}

/* Overlay for mobile */
.sidebar-overlay {
    background: rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-sidebar {
        border-radius: 0;
        box-shadow: none;
        padding: 18px;
        border: none;
    }
}




/* Mobile adjustments */
@media (max-width: 480px) {
  .product-price.product-flex {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1px;
  }

  .product-price .new-price {
    font-size: 12px;
  }

  .product-price .old-price {
    font-size: 12px;
  }

  .discount-tag {
    font-size: 10px;
    padding: 2px 2px;
  }
}
