
:root{
  --wtf-orange:#ff7a00;
  --wtf-orange-dark:#ef6800;
  --wtf-blue:#0965bd;
  --wtf-blue-dark:#064b91;
  --wtf-ink:#10233f;
  --wtf-muted:#667085;
  --wtf-line:#dfe5ec;
  --wtf-soft:#f7f9fc;
  --wtf-white:#fff;
}
.wtf-marketplace{
  box-sizing:border-box;
  max-width:1600px;
  margin:0 auto;
  padding:10px 18px 34px;
  color:var(--wtf-ink);
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
}
.wtf-marketplace *{box-sizing:border-box}
.wtf-marketplace a{text-decoration:none;color:inherit}
.wtf-hero-card{
  min-height:196px;
  border:1px solid #e6eaf0;
  border-radius:14px;
  background:linear-gradient(105deg,#fff 0%,#fffdfa 55%,#fff4e8 100%);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding:22px 30px;
  margin-bottom:10px;
  overflow:hidden;
}
.wtf-hero-copy{min-width:0}
.wtf-mini-brand{
  display:flex;align-items:center;gap:6px;
  font-weight:800;color:var(--wtf-orange);
  font-size:15px;margin-bottom:10px
}
.wtf-mini-brand b{color:var(--wtf-blue);font-size:12px;letter-spacing:.3px}
.wtf-mini-cart{color:var(--wtf-blue)}
.wtf-hero-copy h1{
  margin:0;font-size:42px;line-height:1.05;letter-spacing:-1.5px;
  color:#172238;font-weight:500
}
.wtf-hero-copy h1 span{color:var(--wtf-orange);font-weight:800}
.wtf-hero-copy p{margin:8px 0 16px;color:#4f6075;font-size:16px}
.wtf-hero-features{display:flex;flex-wrap:wrap;gap:10px}
.wtf-hero-features span{
  display:inline-flex;align-items:center;gap:5px;
  border:1px solid #e3e7ed;background:#fff;border-radius:8px;
  padding:9px 12px;font-size:13px;color:#1e293b;
  box-shadow:0 1px 2px rgba(16,35,63,.03)
}
.wtf-shop-badge{
  flex:0 0 410px;min-height:135px;
  border-radius:90px 4px 4px 90px;
  background:linear-gradient(105deg,#075fb1,#0b70c8);
  color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;
  transform:rotate(-1.4deg);box-shadow:0 16px 30px rgba(6,75,145,.16)
}
.wtf-shop-badge strong{font-size:27px;letter-spacing:.3px}
.wtf-shop-badge em{font-style:normal;color:#ff8a00}
.wtf-shop-badge span{margin-top:7px;font-size:14px;opacity:.95}
.wtf-catalog-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:24px;align-items:start
}
.wtf-main{min-width:0;grid-column:2;}
.wtf-filters{grid-column:1;grid-row:1;}
.wtf-toolbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;margin:0 0 14px;min-height:42px
}
.wtf-sort-label{
  display:flex;align-items:center;gap:8px;color:#6b7280;font-size:13px
}
.wtf-sort-label>span:first-child{font-size:17px;color:#526174}
.wtf-sort-label select{
  min-width:165px;height:40px;border:1px solid var(--wtf-line);border-radius:8px;
  background:#fff;padding:0 34px 0 12px;color:#172238;font-weight:600
}
.wtf-view-switch{display:flex;border:1px solid var(--wtf-line);border-radius:9px;overflow:hidden}
.wtf-view-switch button{
  width:42px;height:40px;border:0;background:#f4f6f8;color:#546276;cursor:pointer;font-size:18px
}
.wtf-view-switch button.active{background:var(--wtf-orange);color:#fff}
.wtf-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.wtf-card{
  min-width:0;border:1px solid #dce3ea;border-radius:10px;background:#fff;
  overflow:hidden;display:flex;flex-direction:column;position:relative;
  box-shadow:0 1px 2px rgba(16,35,63,.025);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.wtf-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(16,35,63,.08);border-color:#cfd8e3}
.wtf-card-media{height:220px;background:#fff;position:relative;padding:9px}
.wtf-image{height:100%;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:7px;background:#f8fafc}
.wtf-image img{width:100%;height:100%;object-fit:contain;display:block}
.wtf-noimg{color:#98a2b3}
.wtf-sale{
  position:absolute;left:8px;top:8px;z-index:2;
  background:var(--wtf-orange);color:#fff;border-radius:4px;
  padding:4px 6px;font-size:10px;font-weight:800
}
.wtf-heart{
  position:absolute;right:9px;top:9px;z-index:3;
  width:31px;height:31px;border-radius:50%;border:1px solid #dfe5ec;
  background:#fff;color:#18304e;cursor:pointer;font-size:18px;
  box-shadow:0 2px 7px rgba(16,35,63,.08)
}
.wtf-heart.active{color:var(--wtf-orange)}
.wtf-card-body{
  display:flex;flex:1;flex-direction:column;padding:10px 14px 14px;min-height:195px
}
.wtf-card h3{
  margin:0 0 7px;font-size:14px;line-height:1.4;font-weight:600;
  color:#12233b;min-height:35px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.wtf-card h3 a:hover{color:var(--wtf-blue)}
.wtf-price{display:flex;align-items:baseline;gap:6px;min-height:23px}
.wtf-price strong{font-size:17px;color:var(--wtf-orange);font-weight:800}
.wtf-price del{font-size:11px;color:#98a2b3}
.wtf-store{
  font-size:11px;color:#59687b;text-transform:uppercase;letter-spacing:.25px;
  margin:3px 0 5px;font-weight:600
}
.wtf-rating{font-size:11px;min-height:17px;color:#ff8a00}
.wtf-rating small{color:#7b8797}
.wtf-cart{
  margin-top:auto;display:flex;justify-content:center;align-items:center;
  min-height:36px;border-radius:7px;background:#edf0f3;color:#1b2b40;
  font-size:12.5px;font-weight:700;transition:.18s
}
.wtf-cart:hover{background:var(--wtf-orange);color:#fff}
.wtf-empty{grid-column:1/-1;border:1px dashed var(--wtf-line);padding:40px;text-align:center;border-radius:10px}
.wtf-pagination{
  display:flex;justify-content:center;align-items:center;gap:7px;margin:18px 0 2px
}
.wtf-pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:37px;height:37px;border:1px solid #dfe5ec;border-radius:8px;
  background:#fff;color:#26374e;font-weight:700;font-size:13px
}
.wtf-pagination .page-numbers.current{background:var(--wtf-orange);border-color:var(--wtf-orange);color:#fff}
.wtf-pagination .page-numbers:hover{border-color:var(--wtf-orange);color:var(--wtf-orange)}
.wtf-pagination .page-numbers.current:hover{color:#fff}
.wtf-filters{
  border:1px solid #dfe5ec;border-radius:11px;background:#fff;
  padding:15px 16px;position:sticky;top:18px
}
.wtf-filter-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e9ef;padding-bottom:12px;margin-bottom:16px}
.wtf-filter-head h2{font-size:20px;margin:0;color:#172238}
.wtf-filter-head a{font-size:11px;color:var(--wtf-orange);font-weight:600}
.wtf-filter-section{margin-bottom:18px}
.wtf-filter-section>label:first-child{display:block;font-weight:700;font-size:12px;margin-bottom:8px;color:#1a2b43}
.wtf-search-field{position:relative}
.wtf-search-field input,
.wtf-filter-section select,
.wtf-price-range input{
  width:100%;height:40px;border:1px solid #d6dee8;border-radius:7px;
  background:#fff;padding:0 11px;color:#25364e;font-size:12px;outline:none
}
.wtf-search-field input{padding-right:36px}
.wtf-search-field span{position:absolute;right:12px;top:10px;color:#718096}
.wtf-price-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wtf-filter-section select{padding-right:30px}
.wtf-colors{display:flex;flex-wrap:wrap;gap:6px}
.wtf-colors label span{display:block;border:1px solid #d7dee7;border-radius:5px;padding:5px 7px;font-size:10px;color:#4c5b70;cursor:pointer}
.wtf-colors input{display:none}
.wtf-colors input:checked+span{border-color:var(--wtf-orange);color:var(--wtf-orange);background:#fff8f1}
.wtf-rating-filter,.wtf-checks{display:flex;flex-direction:column;gap:7px}
.wtf-rating-filter label,.wtf-checks label{font-size:11px;color:#556276;cursor:pointer}
.wtf-rating-filter span{color:#ff8a00;letter-spacing:1px}
.wtf-apply{
  width:100%;height:42px;border:0;border-radius:8px;background:var(--wtf-orange);
  color:#fff;font-size:13px;font-weight:800;cursor:pointer
}
.wtf-apply:hover{background:var(--wtf-orange-dark)}
.wtf-notice{padding:20px;border:1px solid #f1c6c6;background:#fff6f6;color:#9a3030;border-radius:8px}

/* Optional list view retained from the approved mockup's view toggle. */
.wtf-grid.wtf-list{grid-template-columns:1fr}
.wtf-grid.wtf-list .wtf-card{display:grid;grid-template-columns:210px 1fr}
.wtf-grid.wtf-list .wtf-card-media{height:210px}
.wtf-grid.wtf-list .wtf-card-body{min-height:210px;padding:18px}
.wtf-grid.wtf-list .wtf-card h3{font-size:16px;min-height:auto}

@media (max-width:1250px){
  .wtf-catalog-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}
  .wtf-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:1080px){
  .wtf-catalog-layout{grid-template-columns:245px minmax(0,1fr);gap:18px}
  .wtf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wtf-shop-badge{flex-basis:330px}
}
@media (max-width:800px){
  .wtf-marketplace{padding:8px 12px 25px}
  .wtf-hero-card{min-height:0;padding:20px;flex-direction:column;align-items:stretch}
  .wtf-shop-badge{width:100%;flex-basis:auto;min-height:105px;border-radius:55px 4px 4px 55px}
  .wtf-shop-badge strong{font-size:23px}
  .wtf-catalog-layout{grid-template-columns:1fr}
  .wtf-filters{grid-column:1;grid-row:1;position:static}
  .wtf-main{grid-column:1;grid-row:2}
  .wtf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .wtf-hero-copy h1{font-size:34px}
  .wtf-hero-copy p{font-size:14px}
  .wtf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .wtf-card-media{height:175px}
  .wtf-card-body{padding:4px 9px 9px;min-height:170px}
  .wtf-card h3{font-size:12px}
  .wtf-price strong{font-size:15px}
  .wtf-toolbar{align-items:stretch}
  .wtf-sort-label select{min-width:145px}
}
@media (max-width:410px){
  .wtf-grid{grid-template-columns:1fr}
  .wtf-card-media{height:190px}
  .wtf-hero-features{flex-direction:column;align-items:stretch}
  .wtf-hero-features span{justify-content:center}
}

/* V3.2.0: mobile filters stay above the product catalogue */
@media (max-width:800px){
  .wtf-filters{order:0;width:100%;margin-bottom:18px}
  .wtf-main{order:1;width:100%}
}
