:root{
  --wm-red:#ed1c24;
  --wm-yellow:#fff000;
  --wm-ink:#0e1720;
  --wm-card:#14212b;
  --wm-line:rgba(205,220,232,.16);
  --wm-text:#f5f8fb;
  --wm-muted:#aebdcc;
}
*{box-sizing:border-box}
body.wm-store{
  margin:0;
  color:var(--wm-text);
  background:
    radial-gradient(circle at 18% 12%,rgba(237,28,36,.12),transparent 28%),
    radial-gradient(circle at 82% 0%,rgba(255,240,0,.08),transparent 24%),
    #08121a;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.store-nav{
  width:min(100% - 40px,1280px);
  margin:0 auto;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.store-brand,.store-nav nav{
  display:flex;
  align-items:center;
  gap:16px;
}
.store-brand{
  color:#fff;
  font-weight:950;
  text-decoration:none;
  letter-spacing:0;
}
.store-brand img,.store-footer img{
  width:74px;
  height:auto;
  display:block;
}
.store-nav a{
  color:#d5dee7;
  text-decoration:none;
  font-weight:800;
}
.store-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border:0;
  border-radius:10px;
  color:#fff;
  background:linear-gradient(135deg,var(--wm-red),#ff4d00);
  text-decoration:none;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 18px 36px rgba(237,28,36,.22);
}
.store-btn--ghost{
  color:#f4f8fb;
  background:rgba(255,255,255,.06);
  border:1px solid var(--wm-line);
  box-shadow:none;
}
.store-btn--light{
  color:#0d1620;
  background:#f4f8fb;
  box-shadow:none;
}
.store-alert{
  width:min(100% - 40px,1280px);
  margin:12px auto;
  padding:16px 18px;
  border:1px solid rgba(82,211,172,.28);
  border-radius:12px;
  color:#7ff0c9;
  background:rgba(28,95,78,.18);
  font-weight:800;
}
.store-alert--muted{color:#d8e0ea;border-color:var(--wm-line);background:rgba(255,255,255,.06)}
.store-alert--bad{color:#ffb4b4;border-color:rgba(237,28,36,.38);background:rgba(237,28,36,.14)}
.store-hero{
  width:min(100% - 40px,1280px);
  min-height:610px;
  margin:20px auto 70px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);
  gap:34px;
  align-items:center;
}
.store-kicker{
  display:block;
  color:var(--wm-red);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.82rem;
  font-weight:950;
}
.store-hero h1{
  max-width:760px;
  margin:12px 0 18px;
  font-size:clamp(3.2rem,7vw,6.5rem);
  line-height:.92;
  letter-spacing:0;
}
.store-hero p{
  max-width:640px;
  margin:0 0 28px;
  color:#c3ced9;
  font-size:1.2rem;
  line-height:1.7;
  font-weight:700;
}
.store-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.store-hero__media{
  position:relative;
  min-height:420px;
  border:1px solid var(--wm-line);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(145deg,#17232d,#0b151d);
  box-shadow:0 32px 80px rgba(0,0,0,.26);
}
.store-hero__media::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:9px;
  background:linear-gradient(90deg,var(--wm-red) 0 50%, var(--wm-yellow) 50% 100%);
  z-index:2;
}
.store-hero__media img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  display:block;
}
.store-hero__placeholder{
  min-height:420px;
  display:grid;
  place-items:center;
}
.store-hero__placeholder img{width:220px;min-height:0}
.store-section{
  width:min(100% - 40px,1280px);
  margin:0 auto 84px;
}
.store-section__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}
.store-section h2{
  margin:8px 0 0;
  font-size:clamp(2.4rem,5vw,4.4rem);
  line-height:.98;
}
.store-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.store-product{
  display:flex;
  flex-direction:column;
  min-height:100%;
  border:1px solid var(--wm-line);
  border-radius:18px;
  overflow:hidden;
  background:rgba(17,29,39,.82);
}
.store-product__image{
  display:block;
  aspect-ratio:16/10;
  background:#0a1219;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
}
.store-product__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .2s ease;
}
.store-product:hover .store-product__image img{transform:scale(1.035)}
.store-product__image span{
  height:100%;
  display:grid;
  place-items:center;
  color:var(--wm-yellow);
  font-size:3rem;
  font-weight:950;
}
.store-product__body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:22px;
}
.store-product__meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#dce6ee;
  font-size:.82rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.store-product__meta strong{color:var(--wm-yellow)}
.store-product h3{
  margin:14px 0 10px;
  font-size:1.55rem;
  line-height:1.08;
}
.store-product p{
  color:#b7c5d0;
  line-height:1.62;
}
.store-product__subtitle{
  margin-top:0;
  color:#fff!important;
  font-weight:800;
}
.store-product .store-btn{
  margin-top:auto;
  align-self:flex-start;
}
.store-empty{
  padding:36px;
  border:1px dashed var(--wm-line);
  border-radius:18px;
  background:rgba(255,255,255,.04);
}
.store-footer{
  width:min(100% - 40px,1280px);
  margin:0 auto;
  padding:36px 0 48px;
  border-top:1px solid var(--wm-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#aebdcc;
}
.store-footer div{
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff;
  font-weight:950;
}

.store-admin{
  width:min(100% - 38px,1380px);
  margin:0 auto;
  padding:34px 0 70px;
  color:#f4f8fb;
}
.store-auth{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
}
.store-auth-card{
  width:min(100%,520px);
  border:1px solid rgba(185,202,214,.16);
  border-radius:18px;
  background:rgba(17,29,39,.9);
  padding:28px;
  box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.store-auth-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
  color:#fff;
  font-weight:950;
}
.store-auth-brand img{width:82px;height:auto;display:block}
.store-auth-card h1{margin:8px 0 8px;font-size:clamp(2rem,7vw,3rem);line-height:1}
.store-auth-card p{margin:0 0 18px;color:#b5c2cd}
.store-auth-card .store-alert{width:100%;margin:0 0 14px}
.store-auth-link{
  display:inline-flex;
  margin-top:18px;
  color:#dce6ee;
  font-weight:850;
}
.store-admin__hero,
.store-admin-card{
  border:1px solid rgba(185,202,214,.14);
  border-radius:16px;
  background:rgba(17,29,39,.82);
}
.store-admin__hero{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:28px;
  margin-bottom:18px;
}
.store-admin__hero h1{
  margin:8px 0 4px;
  font-size:clamp(2rem,5vw,4rem);
  line-height:1;
}
.store-admin__hero p,.store-muted{color:#b5c2cd}
.store-admin__actions{display:flex;gap:12px;flex-wrap:wrap}
.store-admin__actions form{margin:0}
.store-admin-grid{
  display:grid;
  grid-template-columns:1.3fr .7fr .7fr;
  gap:16px;
  margin-bottom:16px;
}
.store-admin-card{
  padding:22px;
  margin-bottom:16px;
}
.store-admin-card--wide{grid-column:span 1}
.store-admin-card h2{margin:0 0 16px}
.store-form{display:grid;gap:14px}
.store-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.store-form label{
  display:grid;
  gap:7px;
  color:#dce6ee;
  font-weight:850;
}
.store-form input,
.store-form textarea,
.store-product-admin input,
.store-product-admin textarea,
.store-product-row input,
.store-product-row textarea{
  width:100%;
  border:1px solid rgba(185,202,214,.18);
  border-radius:10px;
  padding:12px 13px;
  color:#f8fafc;
  background:#08121a;
  font:inherit;
}
.store-form input[type=file]{padding:10px;background:#111b24}
.store-checks,.store-inline-check{
  display:flex!important;
  align-items:center;
  grid-template-columns:auto!important;
  gap:10px!important;
}
.store-checks{gap:22px!important}
.store-checks input,.store-inline-check input{width:auto}
.store-admin-metrics{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px 14px;
  margin-bottom:16px;
}
.store-admin-metrics strong{font-size:2rem}
.store-admin-metrics span{align-self:center;color:#b5c2cd}
.store-form--compact{gap:10px}
.store-status-list{
  display:grid;
  gap:8px;
  margin:0 0 16px;
}
.store-status-list span{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(185,202,214,.12);
  border-radius:10px;
  padding:10px 12px;
  color:#dce6ee;
  background:rgba(8,18,26,.44);
}
.store-status-list strong{color:#fff}
.store-admin code{
  display:block;
  word-break:break-all;
  padding:12px;
  border:1px solid rgba(185,202,214,.14);
  border-radius:10px;
  color:#fff;
  background:#08121a;
}
.store-admin-list{display:grid;gap:10px}
.store-product-row{
  display:grid;
  grid-template-columns:70px minmax(180px,1.1fr) 120px 110px 82px minmax(180px,1fr) auto auto auto;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid rgba(185,202,214,.12);
  border-radius:12px;
  background:rgba(8,18,26,.52);
}
.store-product-row__media{
  width:70px;
  height:48px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:8px;
  background:#0a1219;
  color:var(--wm-yellow);
  font-weight:950;
}
.store-product-row__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.store-table{
  width:100%;
  border-collapse:collapse;
}
.store-table th,.store-table td{
  padding:12px;
  border-bottom:1px solid rgba(185,202,214,.12);
  text-align:left;
}
.store-table th{
  color:#b7c5d0;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
}
.store-admin-tabs{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:0 0 16px;
}
.store-admin-tabs a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:68px;
  padding:15px 16px;
  border:1px solid rgba(185,202,214,.14);
  border-radius:14px;
  color:#dce6ee;
  text-decoration:none;
  background:rgba(17,29,39,.72);
}
.store-admin-tabs a.is-active{
  color:#fff;
  border-color:rgba(237,28,36,.64);
  background:linear-gradient(135deg,rgba(237,28,36,.2),rgba(255,240,0,.08));
}
.store-admin-tabs span{
  font-weight:950;
}
.store-admin-tabs small,
.store-admin-card__head span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.08);
  font-weight:950;
}
.store-admin-layout{
  display:grid;
  grid-template-columns:350px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.store-admin-layout--narrow{
  grid-template-columns:320px minmax(0,1fr);
}
.store-admin-card--sticky{
  position:sticky;
  top:18px;
}
.store-admin-card--wide{
  width:100%;
}
.store-admin-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.store-admin-card__head h2{
  margin:0;
}
.store-sync-form{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(185,202,214,.12);
}
.store-product-admin-list{
  display:grid;
  gap:12px;
}
.store-product-admin{
  display:grid;
  grid-template-columns:148px minmax(0,1fr);
  gap:16px;
  padding:14px;
  border:1px solid rgba(185,202,214,.13);
  border-radius:14px;
  background:rgba(8,18,26,.5);
}
.store-product-admin.is-hidden{
  opacity:.62;
}
.store-product-admin__image{
  min-height:126px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:12px;
  background:#08121a;
  color:var(--wm-yellow);
  font-size:2rem;
  font-weight:950;
}
.store-product-admin__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.store-product-admin__form{
  display:grid;
  gap:12px;
}
.store-product-admin__top,
.store-product-admin__fields{
  display:grid;
  gap:10px;
}
.store-product-admin__top{
  grid-template-columns:minmax(220px,1fr) 150px auto;
}
.store-product-admin__fields{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.store-product-admin details{
  border:1px solid rgba(185,202,214,.12);
  border-radius:12px;
  padding:12px;
  background:rgba(255,255,255,.03);
}
.store-product-admin summary{
  cursor:pointer;
  font-weight:900;
  color:#dce6ee;
}
.store-product-admin__fields label,
.store-product-admin details label{
  display:grid;
  gap:7px;
  margin-top:12px;
  color:#dce6ee;
  font-weight:850;
}
.store-status-list--three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.store-form--settings{
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  align-items:end;
}
.store-webhook-box{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:14px;
  align-items:center;
  margin-top:18px;
}
.store-webhook-box span{
  color:#b5c2cd;
  font-weight:900;
}
.store-mail-editor{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:16px;
  align-items:start;
}
.store-mail-preview{
  position:sticky;
  top:18px;
}
.store-mail-preview__card{
  margin-top:14px;
  overflow:hidden;
  border:1px solid rgba(185,202,214,.16);
  border-radius:16px;
  background:#f8fafc;
  color:#17202a;
}
.store-mail-preview__head{
  padding:22px;
  background:#111820;
  color:#fff;
}
.store-mail-preview__head img{
  width:92px;
  height:auto;
  display:block;
  margin-bottom:18px;
}
.store-mail-preview__head strong{
  display:block;
  font-size:1.65rem;
  line-height:1.14;
}
.store-mail-preview__image{
  width:calc(100% - 44px);
  max-height:220px;
  object-fit:cover;
  display:block;
  margin:22px 22px 0;
  border-radius:12px;
}
.store-mail-preview__card p{
  margin:0;
  padding:22px;
  color:#344051;
  line-height:1.62;
  white-space:pre-line;
}
.store-mail-preview__card a{
  display:inline-flex;
  margin:0 22px 26px;
  padding:13px 18px;
  border-radius:12px;
  color:#fff;
  background:#ed1c24;
  border-bottom:4px solid var(--wm-yellow);
  font-weight:950;
  text-decoration:none;
}
@media(max-width:1050px){
  .store-hero,.store-admin-grid,.store-admin-layout,.store-mail-editor{grid-template-columns:1fr}
  .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-form--settings,.store-product-admin__top,.store-product-admin__fields{grid-template-columns:1fr}
  .store-product-row{grid-template-columns:70px 1fr 1fr}
  .store-admin-card--sticky,.store-mail-preview{position:static}
}
@media(max-width:720px){
  .store-nav,.store-footer,.store-admin__hero{align-items:flex-start;flex-direction:column}
  .store-hero{min-height:auto;grid-template-columns:1fr}
  .store-hero h1{font-size:clamp(2.5rem,14vw,4rem)}
  .store-grid,.store-form-grid,.store-product-row,.store-admin-tabs,.store-product-admin,.store-status-list--three,.store-webhook-box{grid-template-columns:1fr}
}
