/* ==================================================
ITSSOSO SHELL — DISCOVER PREMIUM SKIN
Theme owns visual experience
Core owns mechanics
================================================== */

/* =========================================
THEME TOKENS
========================================= */

:root{
  --brand:#ff5a3c;
  --brand-dark:#e94b2d;
  --hero-bg:#fffaf8;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
}

/* =========================================
PAGE WRAPPER
========================================= */

.itssoso-discover-page{
  background:#fff;
}

/* =========================================
HERO
========================================= */

.itssoso-discover-hero{
  padding:28px 20px 18px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at top right,#fff1eb,transparent 35%),
    linear-gradient(180deg,#ffffff,#fafafa);
}

.hero-content{
  max-width:1180px;
  margin:0 auto;
  text-align:center;
}

.itssoso-discover-hero h1{
  margin:0 0 8px;
  font-size:48px;
  line-height:1.03;
  font-weight:900;
  letter-spacing:-1px;
  color:var(--text);
}

.itssoso-discover-hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15px;
}

/* =========================================
SEARCH BAR
========================================= */

.itssoso-search-bar{
  max-width:620px;
  margin:0 auto;
}

.itssoso-search-bar input{
  width:100%;
  height:54px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:15px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}

.itssoso-search-bar input:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(255,90,60,.08);
}

/* =========================================
FILTER BAR
========================================= */

.itssoso-filter-bar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.filter-inner{
  max-width:1180px;
  margin:0 auto;
  padding:12px 20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.filter-inner select{
  height:42px;
  min-width:160px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:14px;
  font-weight:700;
  color:#111827;
  transition:.2s ease;
}

.filter-inner select:hover{
  border-color:#cbd5e1;
}

.filter-inner select:focus{
  outline:none;
  border-color:var(--brand);
}

/* =========================================
LAYOUT CONTAINER
========================================= */

.itssoso-discover-layout{
  max-width:1180px;
  margin:0 auto;
  padding:18px 20px 40px;
}

/* =========================================
PREMIUM CARD VISUAL OVERRIDES
========================================= */

.itssoso-card{
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}

.itssoso-card:hover{
  box-shadow:0 18px 40px rgba(0,0,0,.10);
}

.itssoso-card img,
.card-image img{
  background:#f3f4f6;
}

.card-title,
.itssoso-card-title{
  color:#111827;
  font-weight:800;
}

.card-meta,
.itssoso-card-meta{
  color:#6b7280;
}

/* =========================================
BADGES
========================================= */

.badge{
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.badge.hot{background:#ef4444;color:#fff;}
.badge.deal{background:#f59e0b;color:#fff;}
.badge.event{background:#8b5cf6;color:#fff;}
.badge.verified{background:#2563eb;color:#fff;}
.badge.featured{background:#111827;color:#fff;}

/* =========================================
BUTTONS
========================================= */

.card-btn.primary{
  background:#111827;
  color:#fff;
}

.card-btn.primary:hover{
  background:#000;
}

.card-btn.light{
  background:#f3f4f6;
}

.card-btn.light:hover{
  background:#e5e7eb;
}

/* =========================================
MAP PREMIUM SKIN
========================================= */

.itssoso-map{
  border:1px solid var(--line);
  box-shadow:0 12px 28px rgba(0,0,0,.06);
  background:#f8fafc;
}

/* =========================================
EMPTY STATE
========================================= */

.itssoso-empty-state{
  padding:70px 20px;
  text-align:center;
}

.itssoso-empty-state h2{
  font-size:30px;
  margin-bottom:8px;
  color:#111827;
}

.itssoso-empty-state p{
  color:#6b7280;
  font-size:15px;
}

/* =========================================
VIEW TOGGLE
========================================= */

.view-btn{
  transition:.2s ease;
}

.view-btn.active{
  background:#111827;
  color:#fff;
}

/* =========================================
MOBILE
========================================= */

@media (max-width:1024px){

  .itssoso-discover-hero h1{
    font-size:40px;
  }

}

@media (max-width:768px){

  .itssoso-discover-hero h1{
    font-size:34px;
  }

  .filter-inner{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:10px;
  }

  .filter-inner select{
    min-width:145px;
  }

}

@media (max-width:520px){

  .itssoso-discover-hero{
    padding-top:22px;
  }

  .itssoso-discover-hero h1{
    font-size:30px;
  }

  .itssoso-search-bar input{
    height:48px;
    font-size:14px;
  }

}