:root{
  --bg: #0b0b0e;
  --card: #101015;
  --muted: #9da3ae;
  --text: #f2f4f8;

  --orange: #ff6a00;
  --yellow: #ffd400;
  --black: #0b0b0e;

  --border: rgba(255,255,255,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(255,106,0,.25), transparent 60%),
    radial-gradient(700px 450px at 85% 20%, rgba(255,212,0,.18), transparent 60%),
    radial-gradient(900px 550px at 50% 90%, rgba(255,106,0,.12), transparent 60%),
    var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration:none; }
.container{ width:min(1120px, 92vw); margin:0 auto; }

.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(12px);
  background: rgba(10,10,14,.6);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__badge{
  font-weight:900;
  font-size:12px;
  letter-spacing:.14em;
  padding:6px 10px;
  border-radius:999px;
  color:#111;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}
.brand__name{ font-weight:800; opacity:.95; }

.topbar__actions{ display:flex; align-items:center; gap:10px; }

.pill{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight:700;
  cursor:pointer;
}
.pill--ghost{ background: transparent; }
.pill--danger{
  border-color: rgba(255,106,0,.35);
  background: rgba(255,106,0,.10);
}

main{ padding: 18px 0 40px; }

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
  padding: 10px 0 0;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}

.hero__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,212,0,.25);
  background: rgba(255,212,0,.08);
  color: rgba(255,255,255,.95);
  font-weight:800;
  width: fit-content;
}

h1{
  margin: 10px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}
.lead{ color: rgba(255,255,255,.85); max-width: 56ch; }

.hero__bullets{ display:flex; flex-wrap:center; gap:10px; margin-top: 14px; }
.bullet{
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  font-weight:700;
  color: rgba(255,255,255,.9);
}

.hero__right{
  position:relative;
  min-height: 230px;
}
.signal{
  position:absolute; right: 6px; top: 0;
  display:flex; gap:6px; align-items:flex-end;
  opacity:.9;
}
.signal__bar{
  width: 9px; border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  box-shadow: 0 12px 30px rgba(255,106,0,.25);
}
.signal__bar:nth-child(1){ height: 12px; }
.signal__bar:nth-child(2){ height: 20px; }
.signal__bar:nth-child(3){ height: 28px; }
.signal__bar:nth-child(4){ height: 36px; }

.hero__card{
  margin-top: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero__cardTop{
  display:flex; align-items:center; gap:8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.25);
}
.dot{ width:10px; height:10px; border-radius:999px; background: rgba(255,255,255,.15); }
.hero__cardTitle{ margin-left:auto; font-weight:900; letter-spacing:.08em; font-size:12px; opacity:.9; }

.hero__cardBody{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
}
.kpi{
  border: 1px solid rgba(255,212,0,.12);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,212,0,.05);
}
.kpi__label{ color: rgba(255,255,255,.75); font-weight:800; font-size:12px; }
.kpi__value{
  margin-top: 6px;
  font-weight:900;
  font-size: 16px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section{ margin-top: 12px; }
.section__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom: 8px; }
h2{ margin:0; font-size: 22px; }
.muted{ color: var(--muted); }
.small{ font-size: 12px; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:20px;
}
@media (max-width:1100px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:720px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  position:relative;
  overflow:hidden;
  min-height: 420px;
}
.card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(420px 140px at 10% 0%, rgba(255,212,0,.16), transparent 60%),
              radial-gradient(420px 160px at 90% 10%, rgba(255,106,0,.20), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.card > *{ position:relative; }

.card__top{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.badge{
  font-weight:900; font-size:11px; letter-spacing:.14em;
  padding: 7px 10px;
  border-radius: 999px;
  color:#151515;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}
.sku{ color: rgba(255,255,255,.75); font-weight:800; font-size:12px; }

.card__title{ margin:0; font-size: 18px; letter-spacing:.2px; }
.card__desc{
  margin: 0;
  color: rgba(255,255,255,.78);

  min-height: 48px;
  max-height: 48px;

  overflow: hidden;

  display: -webkit-box;
  display: box;              /* fallback */

  line-clamp: 2;             /* padrão (corrige o aviso) */
  -webkit-line-clamp: 2;     /* WebKit */

  box-orient: vertical;      /* fallback */
  -webkit-box-orient: vertical;

  font-size: 14px;
}

.card__bottom{
  margin-top:auto;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
}
.price{
  font-weight:900;
  font-size: 18px;
}
.btn{
  border:0;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight:900;
  cursor:pointer;
  color:#111;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  box-shadow: 0 16px 35px rgba(255,106,0,.22);
}
.btn--big{ width:100%; padding: 14px 16px; font-size: 15px; border-radius: 16px; }

.flashwrap{ display:grid; gap:10px; margin: 12px 0; }
.flash{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
}
.flash--ok{ border-color: rgba(255,212,0,.25); }
.flash--error{ border-color: rgba(255,106,0,.28); }

.footer{
  border-top: 1px solid var(--border);
  background: rgba(10,10,14,.65);
  padding: 18px 0;
}
.footer__inner{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }

.narrow{ width:min(540px, 92vw); margin: 0 auto; }

.form{
  display:grid; gap: 10px;
  margin-top: 10px;
}
label{ font-weight:800; color: rgba(255,255,255,.9); }
input, textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: var(--text);
  outline:none;
}
textarea{ resize: vertical; }

.row{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.row__actions{ display:flex; gap:10px; align-items:center; }

.tableWrap{
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.02);
}
.table{ width:100%; border-collapse: collapse; }
.table th, .table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.table th{ text-align:left; color: rgba(255,255,255,.8); font-size: 13px; letter-spacing:.04em; }
.right{ text-align:right; }
.inline{ display:inline-block; margin-left: 8px; }

.status{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight:900;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.14);
}
.status--on{ background: rgba(255,212,0,.10); border-color: rgba(255,212,0,.25); }
.status--off{ background: rgba(255,106,0,.10); border-color: rgba(255,106,0,.25); }

.checkout{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
}
@media (max-width: 900px){ .checkout{ grid-template-columns: 1fr; } }
.checkout__card{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 16px;
}
.checkout__price{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  margin: 12px 0;
  font-weight:900;
}
.hint{ margin-top: 10px; color: rgba(255,255,255,.75); font-weight:700; }

.infoBox{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  padding: 14px;
  margin-bottom: 12px;
}
.infoBox__title{ font-weight:900; margin-bottom: 6px; }

.result{
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.03);
  text-align:center;
}
.result__icon{ font-size: 34px; margin-bottom: 8px; }
.result--ok{ border-color: rgba(255,212,0,.28); }
.result--bad{ border-color: rgba(255,106,0,.28); }
.result--warn{ border-color: rgba(255,255,255,.18); }

.empty{
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 20px;
  background: rgba(0,0,0,.18);
  text-align:center;
}
.empty__icon{ font-size: 40px; margin-bottom: 6px; }
.empty__title{ font-weight:900; margin-bottom: 4px; }

.crumbs{ margin-bottom: 10px; }
.crumbs a{ color: rgba(255,255,255,.85); font-weight:800; }

.product-media{
  width:100%;
  aspect-ratio: 4 / 5;
  border-radius:18px;
  overflow:hidden;
  margin: 12px 0 10px;
  background: linear-gradient(180deg, rgba(255,180,0,.12), rgba(0,0,0,.35)), #0b0b0e;
  border: 1px solid rgba(255,180,0,.35);
  box-shadow: 0 0 0 1px rgba(255,180,0,.15) inset, 0 18px 40px rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center;
}

.product-img{
  width:100%; height:100%;
  object-fit:contain;
  padding:14px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.6));
}
.storeLayout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.storeSide{
  position: sticky;
  top: 96px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}

.sideTitle{
  font-weight: 700;
  margin-bottom: 10px;
  opacity: .9;
}

.sideLink{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}

.sideLink:hover{
  transform: translateY(-1px);
}

.sideLink.is-active{
  outline: 2px solid rgba(255, 204, 0, .35);
}
@media (max-width: 900px){
  .storeLayout{ grid-template-columns: 1fr; }
  .storeSide{ position: relative; top: 0; }
}
.sideLink--wa{
  margin-top: 10px;
  font-weight: 900;
  background: linear-gradient(90deg, rgba(255,212,0,.18), rgba(255,106,0,.12));
  border-color: rgba(255,180,0,.28);
}

.sideLink.is-disabled{
  opacity: .6;
  cursor: not-allowed;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 720px){
.grid2{ grid-template-columns: 1fr; }
}