/* Fonts */
@font-face {
  font-family: 'NeueHaasGrotText';
  src: url('NeueHaasGrotText-65Medium-Trial.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasGrotText';
  src: url('NeueHaasGrotText-75Bold-Trial.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === Extended headline font === */
@font-face{
  font-family: 'HelveticaNeueExtended';
  src:
    url('HelveticaNeueLTPro-93BlackExtended.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* === Hero banner === */
.mw-hero {
  position: relative;
  background: #111 center / cover no-repeat;
  background-image: var(--hero-image);         
  min-height: clamp(180px, 32vw, 320px);
  overflow: hidden;
  margin: 0 0 16px;                            
}

/* dark overlay */
.mw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55));
}

/* content */
.mw-hero .mw-hero-inner {
  position: relative;                          
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  text-align: center;
}

/* headline */
.mw-hero h1 {
  margin: 0;
  font-family: 'HelveticaNeueExtended', Impact, 'Arial Black', system-ui, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}


/* Panel wrapper */
.mw-filter-wrap {
  background: #eef1f2; 
  padding: 18px 18px 14px;
  border-radius: 16px;
  margin-bottom: 14px;
}

/* Search bar */
.mw-searchbar {
  position: relative;
  max-width: 520px;
  margin: 0 auto 12px;
}
.mw-searchbar input[type="search"] {
  width: 100%;
  padding: 12px 46px 12px 16px;
  border: 3px solid #1a3ea1;   
  border-radius: 12px;
  outline: none;
  font-size: 1.05rem;
  background: #fff;
  color: #1a3ea1;              
}

.mw-searchbar input[type="search"]::placeholder {
  color: #1a3ea1;
  opacity: 1; 
}
.mw-searchbar .mw-searchbtn {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 6px 8px;
  font-size: 1.15rem;
  color: #1a3ea1;
}

/* Pills row */
.mw-controls { margin-top: 6px; }

.mw-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  gap: 8px;                    
  width: 100%;
  background: #151515;
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 14px 6px;
  font-weight: 700;
  white-space: nowrap;         
}
.mw-pill label {
  margin: 0;
  white-space: nowrap;        
  font-weight: 700;
}
.mw-pill .mw-select {
  background: transparent;
  color: #fff;
  border: none;             
  outline: none;             
  font-weight: 700;
  appearance: none;          
  -webkit-appearance: none; 
  -moz-appearance: none;    
  padding-left: 5px;
  padding-right: 1.5rem;     
}
.mw-pill .mw-select option { color: #ffffff; } 
.mw-pill-icon { display:inline-flex; width: 20px; justify-content:center; }

/* Refine panel body */
.mw-refine.card { border: 0; border-radius: 12px; }
.mw-refine .form-select,
.mw-refine .form-control {
  border-radius: 10px;
}

.mw-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-grow: 1;                
}

/* Dropdown select */

.mw-select {
  background: transparent;
  color: #fff;
  border: none;
  outline: none;
  font-weight: 700;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.5rem;
  white-space: nowrap;        
}

.mw-select option {
  background: #151515;   
  color: #fff ;      
}


/* The chevron icon */
.mw-select-wrap i.fa-chevron-down {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #fff;
  font-size: 0.9rem;
}

/* Product name */
.mw-card-title a {
  font-family: 'NeueHaasGrotText', Arial, sans-serif;
  font-weight: 700;
}

/* Price line  */
.mw-card-price {
  font-family: 'NeueHaasGrotText', Arial, sans-serif;
  font-weight: 700;
}

/* Prices */
.price-single { 
  color: #000; 
}
.price-from { 
  color: #000; 
}

.mw-card-price .price-old {
  color: #777;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #777;
  text-decoration-skip-ink: none;
  margin-right: 6px;
  font-weight: 500;
  display: inline-block;
}

.mw-card-price .price-new {
  color: #e53935;
  font-weight: 700;
}

/* Container */
.mw-products {
  background: #fff;
}

.mw-products-title {
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 0 0 12px;
}

/* Card */
.mw-card {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}

.mw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Image wrapper */
.mw-card-imgwrap {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin: 10px;
  background: #111;
}

.mw-card-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.mw-card-body {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mw-card-title {
  font-size: 1rem;
  line-height: 1.25rem;
  margin: 2px 0 0;
}

.mw-card-title a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #000;
  font-family: 'NeueHaasGrotText', Arial, sans-serif;
  font-weight: 700;
  padding-bottom: 3px; 
}

/* Gradient underline effect */
.mw-card-title a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #0f52ba, #1a237e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.mw-card-title a:hover::after {
  transform: scaleX(1);
}

/* CTA button */
.mw-card-btn {
  margin-top: 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f52ba, #1a237e);
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  width: 100%;
}

.mw-card-btn:hover {
  opacity: .95;
  color: #fff;
}


/* Refine panel body */
.mw-refine.card { 
  border: 0; 
  border-radius: 12px; 
  background: #151515;
  color: #ffffff;
}
.mw-refine .form-select,
.mw-refine .form-control {
  border-radius: 10px;
  background: #151515;
  border: 1px solid #424141;
  color: #ffffff;
}
.mw-refine .form-select:focus,
.mw-refine .form-control:focus {
  background: #151515;
  border-color: #1a3ea1;
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(26, 62, 161, 0.25);
}
.mw-refine .form-select option {
  background: #151515;
  color: #ffffff;
}
.mw-refine .form-label {
  color: #ffffff;
  font-weight: 600;
}
.mw-refine .form-check-label {
  color: #ffffff;
}
/* Apply button gradient */
.mw-refine .btn-primary {
  background: linear-gradient(135deg, #0f52ba, #1a237e) !important;
  border: none !important;
  font-weight: 600;
  color: white;
  transition: opacity 0.2s ease;
  border-radius: 8px;
  padding: 8px 20px;
}
.mw-refine .btn-primary:hover {
  background: linear-gradient(135deg, #0f52ba, #1a237e) !important;
  opacity: 0.9;
  color: white;
}

/* Reset button styling */
.mw-refine .btn-outline-secondary {
  border-color: white !important;
  color: white !important;
  background: transparent;
}
.mw-refine .btn-outline-secondary:hover {
  background: white !important;
  border-color: white !important;
  color: #0f52ba !important;
}

/* Pagination */
.mw-pager-wrap{
  background:#eef1f2;
  border-radius:14px;
  padding:14px;
  margin-top:18px;
  display:flex;
  justify-content:center;
}
.mw-pager{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.mw-page{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:40px;
  padding:0 14px;
  border-radius:5px;
  border:2px solid #151515;
  background:#fff;
  color:#151515;
  font-weight:700;
  text-decoration:none;
}
.mw-page:hover{ 
  border-color: #0f52ba;
  color:#0f52ba;
  opacity:1;
}

.mw-page.is-active{
  background:#151515;
  color:#fff;
  border-color:#151515;
}

.mw-page.mw-next{
  padding:0 22px; 
}
