:root{
  --hps-red:#e60012;
  --hps-red-dark:#b8000f;
  --hps-bg:#ffffff;
  --hps-surface:#f7f7f8;
  --hps-surface-2:#fbfbfc;
  --hps-border:#e5e7eb;
  --hps-text:#111827;
  --hps-muted:#6b7280;
}

html { scroll-behavior:smooth; }
body.hps-modal-open { overflow:hidden; }

.hps-wrap{
  max-width:1240px;
  margin:0 auto;
  padding:16px;
  color:var(--hps-text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.hps-wrap > *{ position:relative; }

.hps-topbar,
.hps-hero-content,
.hps-toolbar,
.hps-grid-wrap,
.hps-hero-visual,
.hps-card,
.hps-empty,
.hps-modal-panel,
.hps-search,
.hps-price-block,
.hps-modal-grid div,
.hps-btn,
.hps-chip,
.hps-results-pill,
.hps-card-tenor,
.hps-badge,
.hps-modal-badge{
  box-shadow:none;
  background-image:none;
}

.hps-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 18px;
  margin-bottom:16px;
  background:var(--hps-bg);
  border:1px solid var(--hps-border);
  border-radius:18px;
}

.hps-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.hps-brand-mark{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:var(--hps-red);
  color:#fff;
  font-weight:800;
  letter-spacing:.04em;
}

.hps-brand strong,
.hps-brand span,
.hps-topbar-wa strong,
.hps-topbar-wa span{ display:block; }

.hps-brand strong{
  color:var(--hps-text);
  font-size:18px;
  line-height:1.1;
}

.hps-brand span{
  margin-top:4px;
  color:var(--hps-muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;
}

.hps-nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}

.hps-nav a{
  color:var(--hps-text);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.hps-topbar-wa{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  text-decoration:none;
  background:var(--hps-red);
  color:#fff;
  white-space:nowrap;
  border:1px solid var(--hps-red);
}

.hps-topbar-wa span{
  font-size:11px;
  letter-spacing:.10em;
  text-transform:uppercase;
  opacity:.9;
  font-weight:700;
}

.hps-topbar-wa strong{
  font-size:14px;
  line-height:1.1;
  font-weight:800;
}

.hps-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:16px;
  margin-bottom:16px;
}

.hps-hero-content,
.hps-hero-visual,
.hps-toolbar,
.hps-grid-wrap{
  background:var(--hps-bg);
  border:1px solid var(--hps-border);
  border-radius:20px;
}

.hps-hero-content{
  padding:28px;
}

.hps-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--hps-red);
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.hps-kicker::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--hps-red);
}

.hps-hero h1{
  margin:0 0 12px;
  font-size:clamp(28px, 3.8vw, 54px);
  line-height:1.08;
  letter-spacing:-.04em;
  color:var(--hps-text);
  max-width:18ch;
}

.hps-hero p{
  margin:0;
  max-width:72ch;
  color:var(--hps-muted);
  font-size:15px;
  line-height:1.8;
}

.hps-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.hps-hero-visual{ display:none; }

.hps-toolbar{
  padding:18px;
  margin:0 0 16px;
}

.hps-search{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  background:var(--hps-surface-2);
  border:1px solid var(--hps-border);
  border-radius:16px;
}

.hps-search-icon{
  flex:0 0 auto;
  width:30px;
  height:30px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--hps-red);
  font-size:30px;
  font-weight:700;
  border:1px solid var(--hps-border);
}

.hps-search input{
  width:100%;
  border:0;
  outline:0;
  font-size:15px;
  background:transparent;
  color:var(--hps-text);
}

.hps-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.hps-chip{
  appearance:none;
  border:1px solid var(--hps-border);
  background:#fff;
  color:var(--hps-text);
  border-radius:999px;
  padding:9px 15px;
  font-weight:700;
  cursor:pointer;
}

.hps-chip.is-active{
  border-color:var(--hps-red);
  background:var(--hps-red);
  color:#fff;
}

.hps-grid-wrap{
  padding:20px;
}

.hps-grid-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.hps-grid-head h2{
  margin:0;
  font-size:22px;
  line-height:1.15;
  color:var(--hps-text);
}

.hps-grid-head p{
  margin:6px 0 0;
  color:var(--hps-muted);
  font-size:14px;
  line-height:1.6;
}

.hps-results-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff5f6;
  color:var(--hps-red);
  font-weight:700;
  white-space:nowrap;
  border:1px solid #f3d6d9;
}

.hps-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}

@media (max-width:1024px){
  .hps-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:768px){
  .hps-grid{ grid-template-columns:1fr; }
}

.hps-card{
  background:#fff;
  border:1px solid #e6e8ee;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
}

.hps-card:hover{
  border-color:var(--hps-red);
  transform:translateY(-2px);
}

.hps-card-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.hps-card-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.hps-card-copy{
  min-width:0;
  flex:1 1 auto;
}

.hps-card h3{
  margin:0 0 4px;
  font-size:15px;
  line-height:1.35;
  color:var(--hps-text);
  font-weight:700;
  letter-spacing:-.01em;
}

.hps-card-subtitle{
  margin:0 0 10px;
  color:var(--hps-muted);
  font-size:12px;
  line-height:1.3;
}

.hps-card-price{
  font-size:16px;
  line-height:1.2;
  color:var(--hps-red);
  font-weight:800;
  margin-top:2px;
}

.hps-card-thumb{
  flex:0 0 140px;
  width:140px;
  height:140px;
  display:grid;
  place-items:center;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
}

.hps-card-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.hps-card-meta{
  display:grid;
  gap:8px;
  padding-top:2px;
}

.hps-card-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  line-height:1.35;
}

.hps-card-meta-row span{
  color:var(--hps-muted);
}

.hps-card-meta-row strong{
  color:var(--hps-text);
  font-weight:700;
}

.hps-card-actions{
  display:flex;
  gap:10px;
  margin-top:2px;
}

.hps-card-detail,
.hps-card-wa{
  flex:1 1 0;
  min-width:0;
  min-height:40px;
  border-radius:10px;
  font-size:14px;
  font-weight:700;
  padding:10px 12px;
}

.hps-btn-detail{
  background:#fff;
  color:var(--hps-text);
  border-color:#d9dde3;
}

.hps-btn-detail:hover{
  border-color:var(--hps-red);
  color:var(--hps-red);
}

.hps-btn-wa{
  background:var(--hps-red);
  color:#fff;
  border-color:var(--hps-red);
  text-decoration:none;
}

.hps-btn-wa:hover{
  background:var(--hps-red-dark);
  border-color:var(--hps-red-dark);
}

@media (max-width:640px){
  .hps-card-body{
    padding:14px;
    gap:12px;
  }

  .hps-card-thumb{
    flex-basis:120px;
    width:120px;
    height:120px;
  }

  .hps-card-actions{
    gap:8px;
  }
}
.hps-empty{
  background:var(--hps-bg);
  border:1px solid var(--hps-border);
  border-radius:18px;
  padding:24px;
  text-align:center;
  color:var(--hps-muted);
}

.hps-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:99999;
}

.hps-modal.is-open{ display:block; }

.hps-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(17,24,39,.5);
}

.hps-modal-panel{
  position:relative;
  width:min(980px, calc(100vw - 24px));
  margin:4.5vh auto;
  background:#fff;
  border:1px solid var(--hps-border);
  border-radius:24px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
}

.hps-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid var(--hps-border);
  background:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:3;
}

.hps-modal-media{
  background:var(--hps-surface);
  min-height:360px;
}

.hps-modal-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  padding:18px;
}

.hps-modal-body{
  padding:26px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.hps-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.hps-modal-badge{
  display:inline-flex;
  align-self:flex-start;
  padding:8px 12px;
  border-radius:999px;
  background:#fff5f6;
  color:var(--hps-red);
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  border:1px solid #f3d6d9;
}

.hps-modal-meta{
  color:var(--hps-muted);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.hps-modal-body h2{
  margin:0;
  font-size:30px;
  line-height:1.12;
  color:var(--hps-text);
  letter-spacing:-.03em;
}

.hps-modal-note{
  margin:0;
  color:var(--hps-muted);
  font-size:14px;
  line-height:1.75;
}

.hps-modal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.hps-modal-grid div{
  padding:14px;
  border:1px solid var(--hps-border);
  border-radius:16px;
  background:#fff;
}

.hps-modal-grid span{
  display:block;
  color:var(--hps-muted);
  font-size:12px;
  margin-bottom:4px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.hps-modal-grid strong{
  color:var(--hps-text);
  font-size:16px;
  font-weight:800;
}

.hps-modal-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}

@media (max-width: 980px){
  .hps-topbar{ flex-wrap:wrap; }
  .hps-nav{ order:3; width:100%; justify-content:flex-start; gap:14px; }
  .hps-hero{ grid-template-columns:1fr; }
  .hps-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hps-modal-panel{ grid-template-columns:1fr; margin:18px auto; }
  .hps-modal-media{ min-height:280px; }
}

@media (max-width: 720px){
  .hps-wrap{ padding:12px; }
  .hps-topbar{ padding:14px; }
  .hps-brand-mark{ width:44px; height:44px; border-radius:12px; }
  .hps-brand strong{ font-size:16px; }
  .hps-nav{ gap:10px; }
  .hps-nav a{ font-size:12px; }
  .hps-hero-content{ padding:22px; }
  .hps-hero h1{ max-width:none; }
  .hps-toolbar{ padding:16px; }
  .hps-grid-wrap{ padding:18px 16px 16px; }
  .hps-grid{ grid-template-columns:1fr; }
  .hps-card-body{ padding:15px; }
  .hps-modal-grid{ grid-template-columns:1fr; }
  .hps-modal-body h2{ font-size:24px; }
  .hps-modal-head{ flex-direction:column; align-items:flex-start; }
  .hps-grid-head{ flex-direction:column; align-items:flex-start; }
  .hps-card-media{ aspect-ratio:4 / 3; }
}

.hps-btn-wa,.hps-card-wa{display:flex;align-items:center;justify-content:center;text-align:center;padding-left:16px;padding-right:16px;}

/* Premium modal actions */
.hps-modal-actions{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}
.hps-modal-actions .hps-btn{
height:48px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
font-weight:600;
text-align:center;
}
.hps-modal-actions .hps-btn-secondary{
background:#fff;
border:1px solid #d1d5db;
}
.hps-modal-actions .hps-btn-wa{
background:#DA251D;
color:#fff;
}

/* Improved close button */
.hps-modal-close{
 top:18px;
 right:18px;
 width:44px;
 height:44px;
 display:flex;
 align-items:center;
 justify-content:center;
 border-radius:50%;
 background:#fff;
 border:1px solid #e5e7eb;
 color:#111827;
 font-size:22px;
 font-weight:700;
 line-height:1;
 box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.hps-modal-close:hover{
 color:#DA251D;
 border-color:#DA251D;
 background:#fff;
}

.hps-modal-head{
  padding-right:56px;
}
.hps-modal-close{
  top:16px;
  right:16px;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}

/* Mobile modal scroll fix */
.hps-modal-overlay{
  overflow-y:auto !important;
  -webkit-overflow-scrolling:touch;
}
.hps-modal-panel{
  max-height:calc(100vh - 24px) !important;
  overflow-y:auto !important;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
}
@media (max-width:768px){
  .hps-modal-panel{
    max-height:calc(100vh - 16px) !important;
  }
}

/* Deep mobile scroll fix */
.hps-modal{
  overflow-y:auto !important;
}

.hps-modal-panel{
  max-height:none !important;
}

@media (max-width:768px){
  .hps-modal{
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
  }

  .hps-modal-panel{
    margin:12px auto 40px auto !important;
    max-height:none !important;
    overflow:visible !important;
  }

  .hps-modal-body{
    padding-bottom:40px !important;
  }
}

/* Light Gray Premium Modal Theme */
.hps-modal-overlay,
.hps-modal-backdrop{
 background: rgba(15,23,42,.55) !important;
 backdrop-filter: blur(4px);
 -webkit-backdrop-filter: blur(4px);
}

.hps-modal-image,
.hps-modal-media,
.hps-detail-image{
 background:#eef2f7 !important;
}

.hps-modal-content,
.hps-modal-panel,
.hps-modal-right{
 background:#ffffff !important;
}

.hps-price-box,
.hps-info-card,
.hps-stat-card{
 background:#fafafa !important;
 border:1px solid #e5e7eb !important;
}

.hps-modal-close{
    position:absolute;
    top:16px;
    right:16px;
    width:48px;
    height:48px;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    border-radius:50%;
    border:1px solid #e5e7eb;
    background:#ffffff;

    color:#111827 !important;

    box-shadow:0 4px 12px rgba(0,0,0,.08);
    z-index:999;
    cursor:pointer;
}

.hps-modal-close svg,
.hps-close-svg{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    min-height:24px !important;
    display:block !important;
    overflow:visible !important;
    color:#111827 !important;
}

.hps-modal-close svg path,
.hps-close-svg path{
    stroke:#111827 !important;
    stroke-width:2.5 !important;
    fill:none !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
}

.hps-modal-close:hover{
    border-color:#DA251D;
}

.hps-modal-close:hover svg path,
.hps-modal-close:hover .hps-close-svg path{
    stroke:#DA251D !important;
}

.hps-search-icon{
    flex:0 0 auto;
    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;
    background:#ffffff;
    border:1px solid #e5e7eb;

    color:#e60012;
}

.hps-search-svg{
    width:22px !important;
    height:22px !important;
    display:block;
}

.hps-search-svg path,
.hps-search-svg circle,
.hps-search-svg line{
    stroke:currentColor !important;
    stroke-width:2 !important;
    fill:none !important;
}