.store-page{
  --store-teal:#12c7a7;
  --store-teal-2:#6df3dc;
  --store-ink:#151927;
  --store-muted:#8a91a3;
  --store-line:#eceff5;
  --store-soft:#f6fbff;
  background:#fff;
  color:var(--store-ink);
}

.store-page .nav{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid #edf0f4;
  box-shadow:0 8px 26px rgba(24,34,55,.05);
}

.store-hero{
  position:relative;
  overflow:hidden;
  min-height:470px;
  padding:92px 0 78px;
  background:
    radial-gradient(circle at 16% 82%, rgba(18,199,167,.18), transparent 32%),
    radial-gradient(circle at 84% 58%, rgba(108,180,255,.16), transparent 34%),
    linear-gradient(180deg,#fff 0%,#fbfdff 42%,#eaf8ff 100%);
  text-align:center;
}

.store-hero:before,
.store-hero:after{
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  border-radius:80px;
  background:linear-gradient(145deg,rgba(18,199,167,.14),rgba(255,255,255,.78));
  filter:blur(3px);
  transform:rotate(18deg);
  pointer-events:none;
}

.store-hero:before{left:-118px;top:74px}
.store-hero:after{right:-120px;top:90px;transform:rotate(-18deg)}

.store-hero-inner{
  position:relative;
  z-index:1;
  max-width:980px;
  margin:0 auto;
}

.store-copy{
  max-width:920px;
  margin:0 auto;
}

.store-copy .eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0 auto 18px;
  padding:9px 16px;
  border:1px solid rgba(18,199,167,.2);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  box-shadow:0 12px 36px rgba(18,199,167,.1);
  color:#0ba98e;
  font:800 12px/1 Inter,"PingFang SC",sans-serif;
  letter-spacing:.12em;
}

.store-copy h1{
  margin:0;
  color:#151927;
  font-size:clamp(44px,6vw,76px);
  line-height:1.1;
  letter-spacing:-.05em;
  font-weight:850;
}

.store-copy h1 em{
  font-style:normal;
  background:linear-gradient(90deg,#10b9f6 0%,#12c7a7 45%,#ff5d9d 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.store-copy>p:not(.eyebrow){
  max-width:760px;
  margin:20px auto 0;
  color:#545c6e;
  font-size:20px;
  line-height:1.75;
}

.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:36px;
}

.hero-actions .primary-action,
.hero-actions .secondary-action{
  min-width:178px;
  height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  font-size:17px;
  font-weight:850;
  text-decoration:none;
  transition:.22s ease;
}

.hero-actions .primary-action{
  color:#fff;
  background:linear-gradient(135deg,#12c7a7,#21d7ba);
  box-shadow:0 18px 34px rgba(18,199,167,.28), inset 0 1px rgba(255,255,255,.45);
}

.hero-actions .secondary-action{
  color:#1c2433;
  background:#fff;
  border:1px solid #dfe3eb;
  box-shadow:0 12px 30px rgba(19,29,48,.07);
}

.hero-actions a:hover{
  transform:translateY(-3px);
}

.hero-actions .primary-action:hover{
  box-shadow:0 22px 44px rgba(18,199,167,.35),0 0 0 6px rgba(18,199,167,.1);
}

.store-float{
  position:absolute;
  z-index:0;
  display:grid;
  place-items:center;
  width:70px;
  height:70px;
  border-radius:24px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(226,232,240,.9);
  box-shadow:0 22px 45px rgba(48,64,95,.12);
  color:var(--store-teal);
  font-size:26px;
  animation:storeFloat 5.2s ease-in-out infinite;
}

.store-float.float-1{left:12%;top:54%;animation-delay:-.4s}
.store-float.float-2{right:13%;top:50%;color:#ff9b31;animation-delay:-1.2s}
.store-float.float-3{right:22%;top:28%;width:36px;height:36px;border-radius:13px;color:#29a9ff;font-size:18px;box-shadow:none}
.store-float.float-4{left:30%;top:60%;width:46px;height:46px;border-radius:16px;color:#12c7a7;box-shadow:none;background:transparent;border:0;font-size:38px}

@keyframes storeFloat{
  0%,100%{transform:translateY(0) rotate(-4deg)}
  50%{transform:translateY(-12px) rotate(5deg)}
}

.store-browser{
  padding:64px 0 24px;
  background:#fff;
}

.store-controls{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  margin-bottom:54px;
}

.filter-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.filter-row button{
  min-width:120px;
  height:52px;
  padding:0 24px;
  border:0;
  border-radius:999px;
  background:#f6f7f9;
  color:#242b3a;
  font:800 17px/1 "PingFang SC",Inter,sans-serif;
  cursor:pointer;
  transition:.2s ease;
}

.filter-row button:hover{
  color:#079b83;
  background:rgba(18,199,167,.1);
}

.filter-row button.active{
  color:#fff;
  background:linear-gradient(135deg,#12c7a7,#23d9bc);
  box-shadow:0 14px 28px rgba(18,199,167,.25);
}

.store-search{
  flex:0 0 330px;
  height:52px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 20px;
  border:1px solid #e1e5eb;
  border-radius:999px;
  background:#fff;
  color:#a0a7b5;
  box-shadow:0 8px 26px rgba(19,29,48,.04);
}

.store-search span{
  font-size:25px;
  color:#111827;
  line-height:1;
}

.store-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#202737;
  font:700 15px/1.2 "PingFang SC",Inter,sans-serif;
}

.store-search input::placeholder{color:#a8aebb}

.template-store-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:28px;
}

.store-card{
  position:relative;
  min-height:360px;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:42px 28px 28px;
  border:1px solid var(--store-line);
  border-radius:18px;
  background:#fff;
  text-align:center;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(26,37,60,.025);
  transition:.24s ease;
}

.store-card:hover{
  transform:translateY(-6px);
  border-color:rgba(18,199,167,.45);
  box-shadow:0 22px 50px rgba(22,42,70,.1);
}

.store-card.featured{
  border:2px solid #12c7a7;
  box-shadow:0 20px 45px rgba(18,199,167,.14);
}

.store-avatar{
  position:relative;
  width:96px;
  height:96px;
  display:grid;
  place-items:center;
  margin:0 auto 32px;
  border-radius:50%;
  background:linear-gradient(145deg,#eef2ff,#fff);
  box-shadow:inset 0 1px rgba(255,255,255,.9),0 14px 30px rgba(29,44,70,.12);
}

.store-avatar:before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:50%;
  background:linear-gradient(145deg,var(--avatar-a,#d9fff5),var(--avatar-b,#b8d9ff));
}

.store-avatar b{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:22px;
  background:rgba(255,255,255,.66);
  color:#172033;
  font-size:30px;
  box-shadow:0 8px 18px rgba(39,55,82,.08);
}

/* Shared portrait treatment: every template uses the same circular frame and crop. */
.store-avatar.has-avatar{
  overflow:hidden;
  background:#f4fffb;
  border:4px solid #fff;
  box-shadow:0 10px 24px rgba(22,52,70,.16);
}
.store-avatar.has-avatar:before{display:none}
.store-avatar.has-avatar img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:50%;
}
.store-avatar.has-avatar b{display:none}

.avatar-doc{--avatar-a:#ffe3bf;--avatar-b:#ffd5d9}
.avatar-phone{--avatar-a:#d9e6ff;--avatar-b:#d4fff3}
.avatar-excel{--avatar-a:#fff2d9;--avatar-b:#ddfff5}
.avatar-review{--avatar-a:#d8efff;--avatar-b:#f1dbff}
.avatar-sales{--avatar-a:#dcfff6;--avatar-b:#d9e6ff}
.avatar-copy{--avatar-a:#ffe0f1;--avatar-b:#ddfff6}
.avatar-service{--avatar-a:#dbfff4;--avatar-b:#e8f0ff}
.avatar-custom{--avatar-a:#f0f7ff;--avatar-b:#ddfff5}

.store-card h3{
  margin:0 0 12px;
  color:#1c2230;
  font-size:20px;
  line-height:1.35;
  font-weight:850;
  letter-spacing:-.03em;
}

.store-card p{
  min-height:68px;
  margin:0;
  color:#9aa1ad;
  font-size:15px;
  line-height:1.75;
}

.card-tags{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:24px;
}

.card-tags b{
  padding:5px 10px;
  border-radius:7px;
  background:#f5f6f8;
  color:#a0a5b0;
  font-size:13px;
  line-height:1;
  font-weight:750;
}

.card-use{
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:24px;
  border-radius:10px;
  color:#fff;
  background:linear-gradient(135deg,#12c7a7,#23d9bc);
  font-size:15px;
  font-weight:850;
  text-decoration:none;
  box-shadow:0 14px 25px rgba(18,199,167,.24);
}

.card-use:hover{
  box-shadow:0 18px 32px rgba(18,199,167,.32),0 0 0 5px rgba(18,199,167,.1);
}

.store-card:not(.featured) .card-use{
  display:none;
}

.empty-state{
  margin:40px auto 0;
  padding:34px;
  border-radius:18px;
  background:#f7fbff;
  color:#7b8493;
  text-align:center;
}

.store-how{
  margin-top:54px;
  padding:92px 0;
  background:linear-gradient(180deg,#f8fffd,#f6f9ff);
}

.how-layout{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:74px;
  align-items:start;
}

.store-how h2{
  margin:12px 0 0;
  color:#151927;
  font-size:clamp(32px,4vw,50px);
  line-height:1.15;
  letter-spacing:-.04em;
  font-weight:850;
}

.store-how ol{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
}

.store-how li{
  min-height:210px;
  padding:26px;
  border:1px solid #e8edf4;
  border-radius:24px;
  background:rgba(255,255,255,.76);
  box-shadow:0 18px 42px rgba(22,44,70,.06);
}

.store-how li>b{
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  margin-bottom:24px;
  border-radius:13px;
  background:#e9fbf7;
  color:#0eaa90;
  font:850 13px/1 Inter,sans-serif;
}

.store-how strong{
  display:block;
  color:#202637;
  font-size:18px;
  margin-bottom:8px;
}

.store-how p{
  margin:0;
  color:#747d8e;
  font-size:14px;
  line-height:1.75;
}

@media(max-width:1100px){
  .template-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .store-controls{align-items:flex-start;flex-direction:column}
  .store-search{width:min(420px,100%);flex-basis:auto}
}

@media(max-width:900px){
  .store-hero{padding-top:76px}
  .store-float{display:none}
  .template-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .how-layout{grid-template-columns:1fr;gap:34px}
  .store-how ol{grid-template-columns:1fr}
}

@media(max-width:560px){
  .store-hero{min-height:auto;padding:66px 0 58px}
  .store-copy h1{font-size:42px;letter-spacing:-.045em}
  .store-copy>p:not(.eyebrow){font-size:16px}
  .hero-actions .primary-action,.hero-actions .secondary-action{width:100%;min-width:0}
  .filter-row{gap:10px}
  .filter-row button{min-width:auto;height:46px;padding:0 18px;font-size:15px}
  .template-store-grid{grid-template-columns:1fr}
  .store-card{min-height:340px}
}

.store-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:34px auto 0;
  flex-wrap:wrap;
}
.store-page-button{
  min-width:40px;
  height:40px;
  padding:0 13px;
  border:1px solid rgba(25,199,199,.2);
  border-radius:11px;
  background:#fff;
  color:#42616b;
  font:700 13px/1 Inter,"PingFang SC",sans-serif;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.store-page-button:hover:not(:disabled){
  border-color:#19c7c7;
  color:#087d71;
  background:#effff8;
}
.store-page-button.active{
  border-color:#19c7c7;
  background:linear-gradient(135deg,#19c7c7,#9be34f);
  color:#123b3b;
}
.store-page-button:disabled{opacity:.45;cursor:not-allowed}

/* Keep the three template keywords on one compact line. */
.store-page .card-tags{
  display:flex;
  flex-wrap:nowrap;
  gap:6px;
  overflow:hidden;
  white-space:nowrap;
}
.store-page .card-tags b{
  flex:0 0 auto;
  padding:5px 8px;
  font-size:12px;
  white-space:nowrap;
}
