/* DiscountHub Stores — compact directory redesign (2026-10-01) */

.stores-page .stores-catalog{
  padding:32px 0 78px;
}

.stores-page .stores-page-head{
  min-height:50px;
  margin:0 0 14px;
  display:flex;
  align-items:center;
}

.stores-page .stores-page-head h1{
  margin:0;
  color:#f7fbff;
  font-size:clamp(34px,3vw,46px);
  line-height:1;
  letter-spacing:-.025em;
  font-weight:760;
}

.stores-page .visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.stores-page .stores-toolbar{
  display:grid;
  grid-template-columns:minmax(320px,1fr) minmax(180px,240px) auto;
  gap:0;
  align-items:center;
  padding:8px;
  border-radius:18px;
  background:rgba(5,13,33,.78);
  border:1px solid rgba(255,255,255,.095);
  box-shadow:0 12px 34px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(18px);
}

.stores-page .stores-search-field,
.stores-page .stores-type-field{
  position:relative;
  min-width:0;
  padding:0 6px;
}

.stores-page .stores-type-field::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:1px;
  background:rgba(255,255,255,.075);
}

.stores-page .stores-toolbar input,
.stores-page .stores-toolbar select{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid transparent;
  background:transparent;
  color:#f2f6ff;
  outline:none;
  box-shadow:none;
  font:inherit;
  font-size:14px;
  font-weight:680;
}

.stores-page .stores-search-field input{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.075);
}

.stores-page .stores-toolbar input::placeholder{
  color:#8294b7;
  font-weight:620;
}

.stores-page .stores-toolbar input:hover,
.stores-page .stores-toolbar select:hover{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.06);
}

.stores-page .stores-toolbar input:focus,
.stores-page .stores-toolbar select:focus{
  background:rgba(255,255,255,.075);
  border-color:rgba(98,239,255,.38);
  box-shadow:0 0 0 3px rgba(66,234,255,.065);
}

.stores-page .stores-toolbar option{
  color:#07152e;
  background:#fff;
}

.stores-page .browser-actions{
  display:flex;
  align-items:center;
  gap:7px;
  padding-left:7px;
}

.stores-page .browser-actions button{
  min-height:48px;
  padding:0 17px;
  border-radius:12px;
  font-size:14px;
  font-weight:850;
}

.stores-page .browser-actions button[type="submit"]{
  color:#04122a;
  background:linear-gradient(135deg,var(--green),var(--cyan));
  border:0;
  box-shadow:0 9px 24px rgba(66,234,255,.12);
}

.stores-page .browser-actions button[type="button"]{
  color:#aebdd8;
  background:transparent;
  border:1px solid rgba(255,255,255,.09);
}

.stores-page .stores-results-row{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 2px;
}

.stores-page .browser-status{
  display:block;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  color:#8397ba;
  background:none;
  box-shadow:none;
  font-size:12px;
  font-weight:700;
}

.stores-page .stores-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.stores-page .store-card{
  display:flex;
  min-width:0;
  min-height:188px;
  flex-direction:column;
  padding:16px;
  border-radius:20px;
  background:rgba(7,16,38,.80);
  border:1px solid rgba(255,255,255,.095);
  box-shadow:0 12px 38px rgba(0,0,0,.18);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.stores-page .store-card:hover{
  transform:translateY(-3px);
  border-color:rgba(66,234,255,.22);
  box-shadow:0 18px 48px rgba(0,0,0,.24);
}

.stores-page .store-card-head{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.stores-page .store-logo{
  position:relative;
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  flex:0 0 56px;
  overflow:hidden;
  border-radius:15px;
  background:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 9px 24px rgba(0,0,0,.18);
}

.stores-page .store-logo img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  padding:6px;
  object-fit:contain;
  background:#fff;
}

.stores-page .store-logo span{
  position:absolute;
  inset:0;
  z-index:1;
  display:grid;
  place-items:center;
  color:#06142e;
  background:linear-gradient(145deg,#f8fbff,#dfe9f7);
  font-size:20px;
  font-weight:900;
}

.stores-page .store-card-title{
  min-width:0;
}

.stores-page .store-card-title h2{
  margin:0;
  overflow:hidden;
  color:#f7fbff;
  font-size:17px;
  line-height:1.18;
  font-weight:790;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.stores-page .store-labels{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:7px;
}

.stores-page .store-label{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:0 7px;
  border-radius:999px;
  color:#8fa4ca;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.075);
  font-size:9px;
  font-weight:850;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.stores-page .store-label.partner{
  color:#72f7d1;
  background:rgba(98,255,199,.07);
  border-color:rgba(98,255,199,.15);
}

.stores-page .store-counts-v2{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:18px 0 14px;
}

.stores-page .store-count{
  color:#9aacca;
  font-size:12px;
  font-weight:700;
}

.stores-page .store-count strong{
  color:#f0f6ff;
  font-size:13px;
}

.stores-page .store-card-actions{
  display:flex;
  gap:7px;
  margin-top:auto;
}

.stores-page .store-card-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  padding:0 12px;
  border-radius:11px;
  font-size:11px;
  font-weight:900;
}

.stores-page .store-card-actions a.primary{
  flex:1;
  color:#04122a;
  background:linear-gradient(135deg,var(--green),var(--cyan));
}

.stores-page .store-card-actions a.secondary{
  flex:1;
  color:#d7e3f6;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.085);
}

.stores-page .store-card-actions a:hover{
  transform:none;
}

.stores-page .store-no-offers{
  display:flex;
  align-items:center;
  min-height:39px;
  margin-top:auto;
  color:#7185aa;
  font-size:11px;
  font-weight:700;
}

.stores-page .stores-empty{
  grid-column:1/-1;
  min-height:110px;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:#9aacca;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
}

.stores-page .store-card-skeleton{
  min-height:188px;
  overflow:hidden;
  border-radius:20px;
  background:rgba(7,16,38,.68);
  border:1px solid rgba(255,255,255,.075);
  position:relative;
}

.stores-page .store-card-skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-110%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.09),transparent);
  animation:storesSkeletonSweep 1.35s ease-in-out infinite;
}

@keyframes storesSkeletonSweep{
  to{transform:translateX(110%)}
}

@media(max-width:1180px){
  .stores-page .stores-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:860px){
  .stores-page .stores-toolbar{
    grid-template-columns:1fr 190px;
    gap:6px;
  }

  .stores-page .browser-actions{
    grid-column:1/-1;
    padding-left:0;
  }

  .stores-page .browser-actions button{
    flex:1;
  }

  .stores-page .stores-type-field::before{
    display:none;
  }

  .stores-page .stores-toolbar input,
  .stores-page .stores-toolbar select{
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.065);
  }

  .stores-page .stores-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:580px){
  .stores-page .stores-catalog{
    padding-top:20px;
  }

  .stores-page .stores-toolbar{
    grid-template-columns:1fr;
    padding:9px;
  }

  .stores-page .stores-search-field,
  .stores-page .stores-type-field{
    padding:0;
  }

  .stores-page .browser-actions{
    grid-column:auto;
  }

  .stores-page .stores-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
}
