/* =========================
   HERO (SHOP) imagen oscurecida
========================= */
.jb-shop-hero{
  position: relative;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center 35% !important;

  /* ✅ más aire y que NO quede pegado al header */
  padding: 170px 0 120px;
  min-height: 420px;
}

/* ✅ overlay más pro (degradé suave) */
.jb-shop-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.45) 0%,
    rgba(0,0,0,.28) 45%,
    rgba(0,0,0,.35) 100%
  );
}

.jb-shop-hero .breadcrumb-text{
  position: relative;
  z-index: 2;
}

/* ✅ empuje extra del texto para que se vea “centrado” visualmente */
.jb-shop-hero .breadcrumb-text{
  padding-top: 20px;
}

.jb-shop-hero .breadcrumb-text p{
  color: rgba(255,255,255,.92);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

.jb-shop-hero .breadcrumb-text h1{
  color:#fff;
  font-weight: 950;
  margin: 0;
  font-size: 44px;
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* Mobile */
@media (max-width: 991.98px){
  .jb-shop-hero{
    padding: 140px 0 90px;
    min-height: 320px;
    background-position: center 30% !important;
  }
  .jb-shop-hero .breadcrumb-text{
    padding-top: 10px;
  }
  .jb-shop-hero .breadcrumb-text h1{ font-size: 32px; }
}

/* =========================
   Sección Shop (evita mega espacio)
========================= */
.jb-shop-section{
  padding: 46px 0 70px !important;
}
@media (max-width: 991.98px){
  .jb-shop-section{ padding: 28px 0 56px !important; }
}

/* Contenedor */
.jb-catalog-container{
  padding-left: 18px;
  padding-right: 18px;
}

/* Sidebar */
.jb-sidebar-wrap{ padding-right: 44px; }

.jb-sidebar-card{
  background:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 35px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.04);
}

.jb-sticky{
  position: sticky;
  top: 110px;
}

@media (max-width: 991.98px){
  .jb-sticky{ position: static; top:auto; }
  .jb-sidebar-wrap{ padding-right: 0 !important; margin-bottom: 18px; }
  .jb-catalog-container{ padding-left: 12px !important; padding-right: 12px !important; }
}

.jb-filter-label{
  font-weight:800;
  font-size:12px;
  color:#333;
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:.6px;
}

.jb-filter-input{
  width:100%;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  padding:0 12px;
  outline:none;
  transition:.15s ease;
  background:#fff;
  font-size:14px;
}

.jb-filter-input:focus{
  border-color:#ff7a00;
  box-shadow:0 0 0 4px rgba(255,122,0,.12);
}

.jb-clear-btn{
  border-radius:999px;
  width:100%;
  margin-top:10px;
  text-align:center;
  display:inline-block;
}

.jb-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.06);
  font-weight:800;
  font-size:12px;
  color:#333;
  margin-right:8px;
  margin-bottom:8px;
}

/* =========================
   Topbar (buscador arriba del grid)
========================= */
.jb-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}

.jb-topbar-left{
  flex: 1 1 220px;
}

.jb-topbar-right{
  flex: 1 1 420px;
  display:flex;
  justify-content:flex-end;
}

.jb-searchbox{
  width: min(560px, 100%);
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px 10px 38px;
  border-radius: 18px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}

.jb-searchicon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  opacity:.6;
}

.jb-searchinput{
  flex:1;
  border:0;
  outline:none;
  font-size:14px;
  background:transparent;
}

.jb-searchbtn{
  border:0;
  outline:none;
  cursor:pointer;
  padding:10px 14px;
  border-radius: 999px;
  font-weight:900;
  background:#ff7a00;
  color:#fff;
}

.jb-searchbtn:hover{
  background:#e86f00;
}

@media (max-width: 991.98px){
  .jb-topbar-right{ justify-content:stretch; width:100%; }
  .jb-searchbox{ width:100%; }
}

/* =========================
   GRID catálogo
========================= */
.jb-products-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* Card */
.jb-product-card{
  border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  overflow:hidden;
  background:#fff;
  transition:.18s ease;
  display:flex;
  flex-direction:column;
  height:100%;
  margin: 0;
}

@media (max-width: 575.98px){
  .jb-products-grid{ grid-template-columns: 1fr; }
}

.jb-product-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

/* Imagen */
.jb-product-media{
  height:170px;
  padding:12px;
  background:linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.jb-product-media a{
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.jb-product-media img{
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display:block;
  transform: none !important;
}

/* Badge */
.jb-badge{
  position:absolute;
  left:10px;
  top:10px;
  z-index:2;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:950;
  border:1px solid rgba(255,122,0,.25);
  background: rgba(255,122,0,.12);
  color:#ff7a00;
}

.jb-product-body{
  padding:12px 12px 14px;
  display:flex;
  flex-direction:column;
  flex:1;
  min-height: 140px;
}

.jb-title{
  font-size:12.5px;
  font-weight:950;
  margin:0;
  text-transform:uppercase;
  line-height:1.25;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow:hidden;
  min-height: 32px;
}

.jb-meta{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:8px;
  font-size:11px;
  font-weight:800;
  color:#666;
}

.jb-meta span{
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.06);
  padding:3px 7px;
  border-radius:999px;
}

.jb-price-row{
  margin-top:10px;
  display:flex;
  align-items:baseline;
  gap:8px;
}

.jb-price{
  font-weight:950;
  font-size:15px;
}

.jb-old{
  font-weight:900;
  color:#999;
  text-decoration: line-through;
  font-size:12px;
}

.jb-actions{
  margin-top:auto;
  padding-top:10px;
}

.jb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  font-weight:900;
  width:100%;
  font-size:13px;
}

/* =========================
   Paginación pro (sin “SVG raros”)
========================= */
.jb-pagination .page-link{
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  color: #0f1a1f !important;
  font-weight: 900;
  padding: 10px 14px;
  margin: 0 4px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.jb-pagination .page-item.active .page-link{
  background: #ff7a00 !important;
  border-color: #ff7a00 !important;
  color: #fff !important;
}

.jb-pagination .page-item.disabled .page-link{
  opacity: .45;
  box-shadow:none;
}
