/* ============================================
   OTS Catalogo — styles (extend main site)
   ============================================ */

/* Hero */
.ots-hero {
  background: linear-gradient(155deg, #0d2137, #1a4364);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.ots-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 8px; }
.ots-hero .lead { font-size: 1rem; opacity: .9; max-width: 600px; margin: 0 auto 24px; }

/* Product cards */
.product-card {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden;
  transition: all .3s; height: 100%;
}
.product-card:hover { border-color: transparent; box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.product-card-img {
  height: 170px; background: #f5f5f5; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: 8px;
}
.product-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 14px 16px; }
.product-card-title {
  font-size: .8rem; font-weight: 500; color: #212121; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.3;
}
.product-card-price { font-size: 1.05rem; font-weight: 700; color: #2e7d32; margin: 0; }
.cat-badge { font-size: .68rem; font-weight: 600; }
.no-image-sm {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #adb5bd;
}

/* Category cards */
.category-card-ots {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 28px;
  text-align: center; transition: all .3s; height: 100%;
}
.category-card-ots:hover { border-color: transparent; box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.category-card-ots .cat-icon {
  width: 60px; height: 60px; background: #e3f2fd; color: #1565c0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px;
  transition: all .3s;
}
.category-card-ots:hover .cat-icon { background: #1565c0; color: #fff; }
.category-card-ots h4 { font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; color: #212121; }

/* Product detail */
.product-image-card {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 28px;
  text-align: center; min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.product-image-card img { max-width: 100%; max-height: 380px; object-fit: contain; }
.product-title { font-size: 1.5rem; font-weight: 700; line-height: 1.3; color: #212121; }
.product-price { font-size: 1.8rem; font-weight: 700; color: #1565c0; }
.product-desc { color: #616161; line-height: 1.7; font-size: .9rem; white-space: pre-line; }
.no-image { color: #adb5bd; padding: 40px; text-align: center; }

/* Breadcrumb */
.breadcrumb { background: transparent; padding: 10px 0; margin: 0; font-size: .85rem; }
.breadcrumb-item a { color: #1565c0; }

/* Pagination */
.pagination { gap: 2px; }
.page-link { color: #1565c0; border-radius: 8px; border: 1px solid #e0e0e0; padding: 6px 14px; font-size: .85rem; }
.page-item.active .page-link { background: #1565c0; border-color: #1565c0; color: #fff; }
.page-item.disabled .page-link { color: #bdbdbd; }

@media (max-width: 768px) {
  .ots-hero { padding: 50px 0 40px; }
  .product-card-img { height: 130px; }
  .product-title { font-size: 1.2rem; }
  .product-price { font-size: 1.4rem; }
}

.ots-search-bar { background: #f5f5f5; padding: 12px 0; border-bottom: 1px solid #e0e0e0; position: sticky; top: 108px; z-index: 1020; }
.ots-search-bar .form-control { border-radius: 50px; border: 1.5px solid #e0e0e0; padding: 10px 18px; font-size: .88rem; }
.ots-search-bar .form-control:focus { border-color: #1565c0; box-shadow: none; }

@media (max-width: 991px) { .ots-search-bar { top: 92px; } }
@media (max-width: 768px) { .ots-search-bar { top: 90px; padding: 10px 0; } }
@media (max-width: 576px) { .ots-search-bar { top: 84px; padding: 8px 0; } }

/* Product detail */
.ots-product-img { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 20px; text-align: center; }
.ots-product-img img { max-height: 400px; object-fit: contain; }
.ots-no-img { background: #f5f5f5; height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ots-product-title { font-size: 1.4rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: #212121; }
.ots-price-box { margin: 12px 0; display: flex; align-items: center; }
.ots-price { font-size: 1.8rem; font-weight: 700; color: #1565c0; }
.ots-meta { font-size: .82rem; color: #757575; margin-bottom: 4px; }
.ots-desc { color: #616161; line-height: 1.8; font-size: .9rem; }
.ots-share { display: flex; align-items: center; }
.ots-share a { font-size: 1.1rem; transition: transform .2s; display: inline-block; }
.ots-share a:hover { transform: scale(1.2); }

@media (max-width: 768px) {
  .ots-product-title { font-size: 1.15rem; }
  .ots-price { font-size: 1.4rem; }
  .ots-product-img img { max-height: 250px; }
}

/* Product tabs */
.ots-tabs .nav-link { color: #616161; font-weight: 500; font-size: .88rem; border: none; padding: 10px 20px; }
.ots-tabs .nav-link.active { color: #1565c0; border-bottom: 2px solid #1565c0; background: transparent; }
.ots-tabs .tab-content { font-size: .9rem; }

/* Trust bar */
.ots-trust-bar { background: #f8f9fa; border-radius: 12px; padding: 16px; margin: 24px 0; border: 1px solid #e0e0e0; }

/* Reviews */
.ots-reviews .bg-white { transition: box-shadow .3s; }
.ots-reviews .bg-white:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
