:root{
  --bg:#030814;
  --bg2:#07172f;
  --card:#0d1d39;
  --card2:#101d33;
  --stroke:rgba(148,163,184,.20);
  --stroke2:rgba(255,212,0,.35);
  --text:#f4f7ff;
  --muted:#aec0e6;
  --brand:#ffd400;
  --brand2:#ffb000;
  --ink:#111827;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(255,212,0,.10), transparent 62%),
    radial-gradient(760px 420px at 10% 8%, rgba(34,97,180,.22), transparent 58%),
    linear-gradient(180deg,#071b38 0%,#040914 48%,#020510 100%);
}
a{color:inherit}
.page-shell{width:min(1320px,calc(100% - 32px));margin:0 auto;padding:22px 0 28px}
.store-header{
  position:sticky;
  top:0;
  z-index:20;
  margin:0 0 24px;
  padding:12px 0;
  background:linear-gradient(180deg,rgba(3,8,20,.96),rgba(3,8,20,.78));
  backdrop-filter:blur(16px);
}
.header-row{
  min-height:72px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  padding:12px 18px;
  border:1px solid var(--stroke);
  border-radius:24px;
  background:rgba(4,10,24,.74);
  box-shadow:0 18px 45px rgba(0,0,0,.28);
}
.brand{display:flex;align-items:center;justify-content:center;text-decoration:none}
.brand img{height:82px;max-width:min(410px,46vw);object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.45))}
.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}
.header-btn,
.header-actions :is(a,button){
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(15,29,54,.90);
  color:var(--text)!important;
  font-weight:900;
  font-size:.90rem;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.header-btn:hover,
.header-actions :is(a,button):hover{filter:brightness(1.08)}
.header-btn span{background:rgba(255,212,0,.20);border:1px solid rgba(255,212,0,.32);color:var(--brand);border-radius:999px;padding:2px 8px;font-size:.78rem}
.product-page{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);
  grid-template-areas:
    "gallery info"
    "desc info";
  gap:22px;
  align-items:start;
}
.gallery-card,
.info-card,
.description-card{
  border:1px solid var(--stroke);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(13,29,57,.92),rgba(7,18,36,.92));
  box-shadow:0 24px 60px rgba(0,0,0,.30);
}
.gallery-card{grid-area:gallery;padding:16px}
.info-card{grid-area:info;padding:24px;position:sticky;top:124px}
.description-card{grid-area:desc;padding:22px 24px}
.main-photo-wrap{
  width:100%;
  height:clamp(380px,56vh,670px);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  border:1px solid rgba(148,163,184,.16);
  background:
    radial-gradient(640px 320px at 50% 0%,rgba(255,255,255,.07),transparent 70%),
    #050b18;
  overflow:hidden;
}
.main-photo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.thumb-strip{display:flex;gap:10px;overflow-x:auto;padding:14px 2px 2px;margin-top:12px}
.thumb-btn{
  flex:0 0 auto;
  width:82px;height:82px;
  padding:4px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.70);
  cursor:pointer;
}
.thumb-btn.active{border-color:var(--brand);box-shadow:0 0 0 3px rgba(255,212,0,.12)}
.thumb-btn img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}
.eyebrow{
  display:inline-flex;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(255,212,0,.28);
  background:rgba(255,212,0,.10);
  color:#ffe66d;
  font-size:.78rem;
  font-weight:1000;
  letter-spacing:.12em;
  text-transform:uppercase;
}
h1{font-size:clamp(1.7rem,3.2vw,2.7rem);line-height:1.05;margin:0 0 14px;letter-spacing:-.04em}
.meta-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.meta-pills span{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.42);
  color:var(--muted);
  font-size:.88rem;
  font-weight:800;
}
.price-box{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:stretch;
  padding:16px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,212,0,.18),rgba(255,176,0,.08));
  border:1px solid var(--stroke2);
  margin:18px 0;
}
.price-box small{display:block;color:#ffe98c;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.price-box strong{display:block;font-size:clamp(1.45rem,2.6vw,2.15rem);color:var(--brand);line-height:1}
.djr-price{min-width:112px;padding-left:12px;border-left:1px solid rgba(255,212,0,.22)}
.djr-price strong{font-size:1.15rem;color:#fff}
.benefits{display:grid;gap:10px;margin:18px 0;color:#dce8ff}
.benefits div{padding:10px 12px;border-radius:16px;border:1px solid var(--stroke);background:rgba(2,6,23,.35);font-weight:800}
.buy-form{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
.btn-primary,.btn-secondary{
  min-height:52px;
  border:0;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:14px 18px;
  font-weight:1000;
  cursor:pointer;
  text-decoration:none;
  font-size:1rem;
}
.btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand2));color:var(--ink);box-shadow:0 16px 34px rgba(255,212,0,.20)}
.btn-secondary{background:rgba(15,29,54,.92);border:1px solid var(--stroke);color:var(--text)}
.btn-primary:hover,.btn-secondary:hover{transform:translateY(-1px);filter:brightness(1.04)}
.description-card h2{margin:0 0 10px;font-size:1.22rem}
.description-text{color:#d9e5ff;line-height:1.65;font-size:1rem;white-space:normal}
.muted{color:var(--muted)}
.footer{text-align:center;color:rgba(174,192,230,.75);font-size:.86rem;margin-top:24px;padding:18px 0}
@media (max-width:960px){
  .page-shell{width:min(100% - 20px,1320px);padding-top:10px}
  .store-header{position:relative;margin-bottom:14px;padding:0}
  .header-row{display:flex;flex-direction:column;gap:12px;border-radius:22px;padding:14px}
  .brand{order:-1}.brand img{height:78px;max-width:86vw}
  .header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .header-btn,.header-actions :is(a,button){width:100%;font-size:.86rem;padding:9px 10px}
  .product-page{grid-template-columns:1fr;grid-template-areas:"gallery" "info" "desc";gap:14px}
  .info-card{position:static;padding:18px;border-radius:22px}
  .gallery-card,.description-card{border-radius:22px;padding:12px}
  .main-photo-wrap{height:min(68vh,470px);border-radius:18px}
  .price-box{grid-template-columns:1fr;border-radius:18px}
  .djr-price{border-left:0;border-top:1px solid rgba(255,212,0,.22);padding-left:0;padding-top:10px}
}
@media (max-width:520px){
  .page-shell{width:100%;padding:0 10px 20px}
  .header-row{border-radius:0 0 22px 22px;margin:0 -10px;border-left:0;border-right:0;border-top:0}
  .brand img{height:66px}
  .header-actions{grid-template-columns:1fr}
  h1{font-size:1.55rem}
  .main-photo-wrap{height:390px}
  .thumb-btn{width:68px;height:68px;border-radius:14px}
  .meta-pills span{font-size:.82rem}
}

/* V5: header fixo, logo protagonista e DJRCOINS no header */
.store-header{
  position:sticky;
  top:0;
  z-index:80;
  margin:0 0 18px;
  padding:10px 0 12px;
  background:linear-gradient(180deg,rgba(3,8,20,.98),rgba(3,8,20,.80));
  backdrop-filter:blur(18px);
}
.header-row{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  min-height:auto;
  padding:12px 18px 14px;
  border-radius:0 0 28px 28px;
}
.brand{
  flex-direction:column;
  gap:0;
}
.brand img{
  height:104px;
  max-width:min(620px,90vw);
}
.brand span{
  margin-top:-12px;
  color:#ffe681;
  font-size:.82rem;
  font-weight:950;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.header-actions{
  width:100%;
  justify-content:center;
  margin-left:0;
}
.header-btn.coin-head{
  background:linear-gradient(135deg,#ffd400,#ffb000);
  color:#111827!important;
  border-color:rgba(255,212,0,.9);
  box-shadow:0 10px 24px rgba(255,212,0,.18);
}
.header-btn.coin-head span{
  background:rgba(17,24,39,.92);
  color:#ffd400;
  border-color:rgba(17,24,39,.20);
}
.header-btn.login-head{
  background:rgba(255,212,0,.10);
  border-color:rgba(255,212,0,.36);
}
@media(max-width:960px){
  .store-header{position:sticky;margin-bottom:12px;padding:0;}
  .header-row{border-radius:0 0 22px 22px;padding:10px 12px 12px;}
  .brand img{height:72px;max-width:92vw;}
  .brand span{margin-top:-8px;font-size:.68rem;}
  .header-actions{display:flex;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;}
  .header-btn,.header-actions :is(a,button){flex:0 0 auto;width:auto;font-size:.82rem;}
}
@media(max-width:520px){
  .brand img{height:62px;}
  .brand span{font-size:.62rem;letter-spacing:.12em;}
}
