/* Layout wrapper */
/*.bgc-store{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:28px;
  align-items:start;
}*/
.bgc-store {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    column-gap: 30px;
}
@media (max-width: 992px){
  .bgc-store{ grid-template-columns:1fr; }
}

/* Sidebar Styles */
.sidebar {
    width: 30%;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.sidebar h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.filter-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.filter-item:last-child { border-bottom: none; }
.filter-item input[type="checkbox"] {
  margin-right: 12px;
  width: 16px;
  height: 16px;
}
.filter-item label { flex: 1; cursor: pointer; font-size: 14px; color: #666; }
.filter-item label a{ color: inherit; text-decoration: none; }
.filter-item .dropdown-arrow {
  margin-left: auto;
  color: #999;
  font-size: 12px;
}
.filter-item .hot-badge {
  background: #ff4444;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  font-weight: 500;
}
.filter-children{ padding-left: 16px; }

/* Category thumbnail + name */
.filter-item .cat-link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}
.filter-item .cat-thumb{
  width:26px;
  height:26px;
  border-radius:6px;
  object-fit:cover;
  background:#f3f3f3;
  flex:0 0 26px;
}
.filter-item .cat-name{
  font-size:14px;
  color:#666;
}
.filter-item.level-1 .cat-thumb{ width:24px; height:24px; border-radius:5px; }
.filter-item.level-2 .cat-thumb{ width:22px; height:22px; border-radius:5px; }
.filter-item.level-3 .cat-thumb{ width:20px; height:20px; border-radius:4px; }

/* optional: highlight active category */
.filter-item input:checked + label .cat-name{
  color:#333;
  font-weight:600;
}


/* Main Content */
.main-content {
    flex: 1;
    width: 70%;
}
.product-grid {
    margin-bottom: 40px;
    width: 100%;
}
.product-grid ul.products{ list-style:none; padding:0; margin:0; display:contents; }

/* Woo product cards will inherit these subtle effects */
.product-grid .product,
.product-card {
  /* background: #fff; */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-grid .product:hover,
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Optional “Buy Now” button style */
.bgc-buy-now{
  display:inline-block;
  margin-left:8px;
  border-radius:12px;
  padding:9px 12px;
  background:#ff6b35;
  color:#fff;
  font-weight:700;
  text-decoration:none;
}
.bgc-buy-now:hover{ filter:brightness(.95); color:#fff; }

/* Pagination */
.pagination {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:40px;
}
.pagination-btn {
  padding:8px 12px;
  background:#fff;
  color:#666;
  border-radius:6px;
  cursor:pointer;
  font-size:14px;
  transition:all .2s ease;
  text-decoration:none;
}

.pagination-btn img {
    width: 60px;
}

/* .pagination-btn:hover { background:#f5f5f5; } */
.pagination-btn.active {
  background:#ff6b35;
  color:#fff;
  border-color:#ff6b35;
}
.pagination-dots { color:#999; padding:0 5px; }


/* Online Shop Page */
/* --- Page frame & grid --- */
.shop-hero { padding: 18px 22px; background:#fff; border-radius:14px; box-shadow:0 6px 24px rgba(0,0,0,.06); display:flex; align-items:center; gap:14px; }
.shop-hero h2 { margin:0; font-size:22px; font-weight:700; }
.shop-wrap { display:grid; grid-template-columns: 280px 1fr; gap:28px; align-items:start; }
@media (max-width: 992px){ .shop-wrap{ grid-template-columns:1fr; } }

/* --- FiboSearch in hero --- */
.dgwt-wcas-search-form { border-radius:999px !important; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,.07); }
.dgwt-wcas-search-input { height:48px !important; padding-left:22px !important; }
.dgwt-wcas-search-submit { height:48px !important; padding:0 22px !important; background:#ff7f36 !important; }

/* --- Sidebar accordion --- */
.shop-accordion .elementor-accordion-item { border:1px solid #eee; border-radius:10px; overflow:hidden; margin-bottom:12px; }
.shop-accordion .elementor-tab-title { background:#fff; padding:14px 16px; font-weight:600; }
.shop-accordion .elementor-tab-content { background:#fff; padding:10px 12px; }
.shop-accordion .wc-mini-list ul.products { margin:0; }
.shop-accordion .wc-mini-list li.product { list-style:none; display:grid; grid-template-columns:64px 1fr; gap:10px; padding:10px; border-radius:10px; border:1px solid #f2f2f2; margin-bottom:10px; }
.shop-accordion .wc-mini-list li.product img { width:64px; height:64px; object-fit:contain; background:#f4f4f6; border-radius:12px; }

/* --- Product card (main grid & recommendations) --- */
ul.products { display:grid; gap:22px; }
ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px){ ul.products.columns-4{ grid-template-columns:repeat(3,1fr);} }
@media (max-width: 768px){ ul.products.columns-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 480px){ ul.products.columns-4{ grid-template-columns:1fr; } }

ul.products li.product { background: transparent; border-radius:18px; box-shadow: none; padding:14px; transition:.2s ease; }
ul.products li.product:hover { border: 0; transform:translateY(-3px); box-shadow: none; }

ul.products li.product a.woocommerce-LoopProduct-link { display:block; position: relative; }
ul.products li.product .astra-shop-thumbnail-wrap { width:100%; height:300px; object-fit:contain; background:#f6f6f8; border-radius:16px; padding:14px; }
ul.products li.product a img { width:100% !important; height:auto !important; position: absolute !important; top: -150px; }

/* Title, rating, price */
span.ast-woo-product-category { display: none !important; }
ul.products li.product .woocommerce-loop-product__title{ font-size:30px !important; font-weight:700; font-family: 'Darker Grotesque'; margin:10px 0 6px; }
.star-rating { transform:scale(.9); transform-origin:left; margin-bottom:6px; }
.price { color:#ff7f36; font-weight:700; }

/* Buttons: “Add to cart” + custom “Buy Now” */
ul.products li.product .button { border-radius:12px; padding:10px 14px; font-weight:600; }
ul.products li.product .button.add_to_cart_button { background:#fff; color:#ff7f36; border:1.5px solid #ff7f36; }
ul.products li.product .button.add_to_cart_button:hover { background:#ff7f36; color:#fff; }

.buy-now-mini { display:inline-block; margin-left:8px; border-radius:12px; padding:10px 14px; background:#ff7f36; color:#fff; font-weight:700; }
.buy-now-mini:hover { filter:brightness(.95); color:#fff; }

/* Pagination like mockup */
.woocommerce nav.woocommerce-pagination { text-align:center; margin-top:18px; }
.woocommerce nav.woocommerce-pagination ul { display:inline-flex; gap:6px; padding:0; border:none; }
.woocommerce nav.woocommerce-pagination li a, 
.woocommerce nav.woocommerce-pagination li span { 
  display:inline-block; min-width:34px; height:34px; line-height:34px; 
  border-radius:10px; background:#fff; border:1px solid #eee; 
}
.woocommerce nav.woocommerce-pagination li .current{ background:#ff7f36; color:#fff; border-color:#ff7f36; }

.ast-article-single .price:not(.custom-wrapper-added .price),
.ast-article-single .star-rating:not(.custom-wrapper-added .star-rating),
.ast-article-single .woocommerce-product-rating:not(.custom-wrapper-added .woocommerce-product-rating) {
  display: none !important;
}

a.ast-on-card-button.ast-select-options-trigger.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    display: none;
}

.custom-product-info .product-title {
  font-family: 'Darker Grotesque'; 
  font-weight: 700; 
  font-size: 20px; 
  color: #000;
  text-align: center;
/*   white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.custom-price-rating-wrapper {
  padding: 0px 15px;
  display: block; 
  text-align: center; 
  background: #fff; 
  border-radius: 8px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
}

.rating-section {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.rating-section .star-rating {
    width: fit-content;
    font-size: 30px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-end;
}

.rating-section .star-rating::before {
    content: "";
}

.rating-value {
    font-size: 20px;
}

.add_to_cart-section, .rating-section .star-rating div{
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    color: #979797 !important;
}

.add_to_cart-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.buy_now_button_wrapper, .add_to_cart_button {
    width: 50%;
}

.buy_now_button_wrapper a, .add_to_cart_button a {
    width: 100%;
    height: 50px;
    border-radius: 30px !important;
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-family: 'Darker Grotesque' !important;
    font-size: 18px !important;
}

.buy_now_button_wrapper a {
    background: linear-gradient(131deg, #FFC392, #FF7300);
}


/* Recommended Products */
.bgc-reco-products {
    width: 95%;
    margin: 0 auto;
}

.product-grid .price-section del, .bgc-reco-products .price-section del {
    display: none;
}