/* Overrides for the browse-only Hide & Sleek archive (Laravel rebuild). */

/* --- Boxout feature tiles --- */
.hs-boxout {
  min-height: 320px;
  overflow: hidden;
}
.box-large .hs-boxout { min-height: 460px; }
.box-medium .hs-boxout { min-height: 360px; }
.hs-boxout img {
  transition: transform .6s ease;
}
.hs-boxout:hover img { transform: scale(1.04); }
/* Dark gradient so heading text stays readable over any product image. */
.hs-boxout::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.15) 100%);
}
.hs-boxout .box-header,
.hs-boxout .box-link {
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* --- Browse-only messaging --- */
.hs-browse-notice {
  border: 1px solid #e2c045;
  background: #fcf7e8;
  padding: 1rem 1.25rem;
  border-radius: 4px;
}
.hs-browse-only-badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #e2c045;
  color: #b7902a;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .05em;
}

/* --- Search inputs --- */
.hs-search-form input,
.comp-mobile-search input,
.hs-search-page-form input,
.hs-mobile-menu__search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
}
.hs-search-page-form { max-width: 420px; margin: 0 auto; }
.hs-search-form input {
    border: 0 !important;
    border-bottom: 1px solid #ddd !important;

}

/* --- Mobile slide-out menu --- */
.hs-mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 84%;
  max-width: 360px;
  background: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 16px rgba(0,0,0,0.15);
}
.hs-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}
.hs-menu-open .hs-mobile-menu { transform: translateX(0); }
.hs-menu-open .hs-mobile-overlay { opacity: 1; visibility: visible; }
.hs-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.hs-mobile-menu__close {
  background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer;
}
.hs-mobile-menu__search { padding: 16px 20px 0; }
.hs-mobile-menu__list { list-style: none; margin: 0; padding: 10px 0 30px; }
.hs-mobile-menu__list li a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #f3f3f3;
  color: #0c1519;
  text-decoration: none;
}

/* --- Footer accordion (mobile) --- */
.comp-footer-tabs__single__detail { display: none; padding: 0 20px 16px; }
.comp-footer-tabs__single.is-open .comp-footer-tabs__single__detail { display: block; }

/* --- Product gallery thumbnails --- */
.comp-product-gallery__thumb.is-active { border-color: #e2c045 !important; }
.comp-product-gallery__main img { max-height: 560px; }

/* --- Product tiles: keep a consistent, padded frame around each image ---
   The original theme served pre-sized 400x300 images; our local full-size
   images need constraining so they sit centred with even padding. */
.comp-product-block figure {
  padding: 22px;
  box-sizing: border-box;
}
.comp-product-block figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Category tiles fallback aspect --- */
.comp-category-block figure { aspect-ratio: 1 / 1; overflow: hidden; }
.comp-category-block figure img { width: 100%; height: 100%; object-fit: cover; }

/* --- Blog cards: full-bleed image (no grey backdrop), title only --- */
.comp-blog-block { padding-bottom: 10px; }
.comp-blog-block a { display: block; color: #4e4e4e; transition: color 250ms ease; }
.comp-blog-block figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: none;
}
.comp-blog-block figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.comp-blog-block a:hover figure img { transform: scale(1.04); }
.comp-blog-block div { padding: 22px 0 12px; }
.comp-blog-block div p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/* --- Pagination --- */
.comp-pagination nav { display: flex; justify-content: center; }
.hs-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hs-pager__item a,
.hs-pager__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  color: #0c1519;
  font-size: 14px;
  line-height: 1;
  transition: all .15s ease;
}
.hs-pager__item a:hover { border-color: #e2c045; color: #b7902a; }
.hs-pager__item.is-active span {
  background: #0c1519;
  color: #fff;
  border-color: #0c1519;
}
.hs-pager__item.is-disabled span {
  color: #bbb;
  cursor: not-allowed;
}
