/* Global heading styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;        /* Roboto looks cleaner at 400–500 */
  line-height: 1.25;
  margin: 0.75em 0 0.5em;
  color: #222;
}

/* Size scale (balanced, not oversized) */
h1 {
  font-size: 1.75rem;   /* ~28px */
  font-weight: 500;
}

h2 {
  font-size: 1.45rem;   /* ~23px */
  font-weight: 500;
}

h3 {
  font-size: 1.25rem;   /* ~20px */
  font-weight: 500;
}

h4 {
  font-size: 1.1rem;    /* ~18px */
  font-weight: 400;
}

h5 {
  font-size: 1rem;      /* ~16px */
  font-weight: 400;
}

h6 {
  font-size: 0.875rem;  /* ~14px */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Catalog page styles*/
.seProductListWrapper {
    padding-top:40px;
}
.seSearchResultsContainer {
  border:none !important;
}
/* ============================================================
   CATALOG / PRODUCT-LIST STYLE OVERRIDES (Roboto)
   Safe to paste as one block
   ============================================================ */

/* ---------- Base typography ---------- */
#PageMain,
#PageMain * {
  font-family: "Roboto", Arial, sans-serif;
}

/* ---------- Page title (H1) ---------- */
.sePage .sePageLayout h1,
.seItemListHeadingWrapper h1 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #111;
}

/* ============================================================
   PRODUCT GRID SPACING (prevents touching borders)
   ============================================================ */

/* Horizontal gutters between product cards */
.seSearchProductsContainer .seSearchProductWrapper > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

/* Compensate so grid aligns with container edges */
.seSearchProductsContainer .seSearchProductWrapper {
  margin-left: -12px;
  margin-right: -12px;
}

/* Responsive gutter tuning */
@media (max-width: 767px) {
  .seSearchProductsContainer .seSearchProductWrapper > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }

  .seSearchProductsContainer .seSearchProductWrapper {
    margin-left: -8px;
    margin-right: -8px;
  }
}

/* ============================================================
   PRODUCT CARD STYLE
   ============================================================ */

.seSearchProductsContainer .seSearchProductWrapper .seProduct {
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  padding: 16px 16px 14px;
  margin-bottom: 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* Hover polish */
.seSearchProductsContainer .seSearchProductWrapper .seProduct:hover {
  border-color: rgba(0,0,0,0.18);
}

/* Product image spacing */
.seSearchProductsContainer .seProduct .seImgFrame {
  margin-bottom: 12px;
}

/* ============================================================
   PRODUCT TITLE TYPOGRAPHY
   ============================================================ */

.seSearchProductsContainer .seProduct .seProductTitle {
  margin-bottom: 6px;
}

/* Brand name (secondary) */
.seSearchProductsContainer .seProduct .seProductTitle .seBrandName {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  margin-bottom: 2px;
}

/* Product name (primary) */
.seSearchProductsContainer .seProduct .seProductTitle .seItemName {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: #444;
}

/* Remove forced title height */
.seSearchProductsContainer .seProduct .seProductTitle .seCleanTitle {
  height: auto !important;
}

/* ============================================================
   PRODUCT PRICE
   ============================================================ */

.seSearchProductsContainer .seProduct .seProductPrice {
  margin-bottom: 8px;
}

.seSearchProductsContainer .seProduct .seProductPrice .seRegularPrice {
  font-size: 15px;
  font-weight: 500;
  color: #e14b3b; /* adjust to brand color if needed */
}

/* ============================================================
   SIDEBAR / FILTERS (fix thin font)
   ============================================================ */

/* "Filter By" heading */
#SearchFacets h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 12px;
}

/* Facet titles */
#SearchFacets .panel-title a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111;
}

/* Facet items */
#SearchFacets .list-group-item,
#SearchFacets .list-group-item a,
#SearchFacets .list-group-item label {
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

/* Counts / badges */
#SearchFacets .badge {
  font-size: 12px;
  font-weight: 400;
  color: #777;
  background: transparent;
}

/* Reduce Bootstrap panel heaviness */
#SearchFacets .panel,
#SearchFacets .panel-heading {
  border-radius: 0;
}

/* Tighter filter spacing */
#SearchFacets .list-group-item {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ============================================================
   OPTIONAL: Clamp descriptions for equal-height feel
   Uncomment if descriptions appear in grid
   ============================================================ */
/*
.seSearchProductsContainer .seProduct .seProductDescription {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ============================================================
   PRODUCT GRID — SINGLE BORDER, SOLID, WITH REAL GAPS
   ============================================================ */

/* keep bootstrap gutter behavior */
#SearchProducts .seSearchProductWrapper{
  margin-left: -15px !important;
  margin-right: -15px !important;
}

/* column = gap */
#SearchProducts .seProduct{
  padding: 15px !important;
  margin: 0 !important;
  position: relative;
  box-sizing: border-box;

  /* IMPORTANT: kill any existing borders/shadows that cause double lines */
  border: none !important;
  box-shadow: none !important;
}

/* also kill borders on common inner wrappers (double-border culprit) */
#SearchProducts .seProductAnchor,
#SearchProducts .seImgFrame,
#SearchProducts .seProductTitle,
#SearchProducts .seProductPrice{
  border: none !important;
  box-shadow: none !important;
}

/* card background */
#SearchProducts .seProduct{
  background: transparent !important;
}

/* ONE card border, drawn inside padding, ON TOP so it never looks broken */
#SearchProducts .seProduct::after{
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid #e5e5e5;
  background: #fff;

  pointer-events: none;
  z-index: 10; /* <-- on top fixes "broken" top border */
}

/* keep content visible above the white bg (so border still shows) */
#SearchProducts .seProduct > *{
  position: relative;
  z-index: 11;
  margin-top:15px;
}

/* image consistency */
#SearchProducts .seImgFrame{
  height: 230px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* optional: hide long descriptions */
#SearchProducts .seProductDescription{
  display: none !important;
}

/* typography */
#SearchProducts{
  font-family: 'Roboto', sans-serif;
}

#SearchProducts .seBrandName{
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #777;
  margin-bottom: 4px;
  text-align: center;
}

#SearchProducts .seItemName{
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #222;
  text-align: center;
}

#SearchProducts .seProductPrice{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

/* mobile */
@media (max-width: 767px){
  #SearchProducts .seProduct{
    padding: 12px !important;
  }

  #SearchProducts .seProduct::after{
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
/* ================================
   SUBTLE PRODUCT CARD HOVER
   ================================ */

#SearchProducts .seProduct{
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* lift + soft shadow */
#SearchProducts .seProduct:hover{
  transform: translateY(-2px);
}

/* enhance border + shadow on hover */
#SearchProducts .seProduct:hover::after{
  border-color: #d1d1d1;
}

#SearchProducts .seProduct:hover::before{
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* optional: make title slightly darker on hover */
#SearchProducts .seProduct:hover .seItemName{
  color: #111;
}

