
:root{
  --bg:#020617;
  --card:#020617;
  --border:#111827;
  --accent:#f97316;
  --accent-soft:#fed7aa33;
  --text:#f9fafb;
  --muted:#9ca3af;
  --success:#22c55e;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
}
.ts-container{
  max-width:960px;
  margin:0 auto;
  padding:0 16px;
}
.ts-topbar{
  border-bottom:1px solid var(--border);
  padding:10px 0;
  background:#020617;
}
.ts-topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.ts-topbar-left{
  display:flex;
  align-items:center;
  gap:10px;
}
.ts-logo-circle{
  width:32px;
  height:32px;
  border-radius:999px;
  background:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
.ts-topbar-text{
  display:flex;
  flex-direction:column;
}
.ts-brand-title{
  font-size:14px;
  font-weight:600;
}
.ts-brand-sub{
  font-size:11px;
  color:var(--muted);
}
.ts-topbar-right{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.ts-chip{
  border-radius:999px;
  border:1px solid #374151;
  padding:3px 8px;
  font-size:11px;
}
main{
  padding:16px 0 24px;
}
.ts-grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:16px;
}
.ts-card{
  background:var(--card);
  border-radius:14px;
  border:1px solid var(--border);
  padding:12px 14px 14px;
}
.ts-title{
  font-size:16px;
  font-weight:600;
  margin-bottom:4px;
}
.ts-sub{
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px;
}
.ts-product-main{
  display:flex;
  gap:12px;
  flex-direction:column;
}
.ts-main-img-wrap{
  border-radius:12px;
  overflow:hidden;
  border:1px solid #020617;
  background:#000;
}
.ts-main-img{
  display:block;
  width:100%;
  max-height:260px;
  object-fit:cover;
}
.ts-variants{
  display:flex;
  gap:8px;
  margin-top:8px;
  flex-wrap:wrap;
}
.ts-variant-btn{
  flex:1;
  min-width:90px;
  border-radius:999px;
  border:1px solid #374151;
  padding:6px 10px;
  font-size:12px;
  background:#020617;
  cursor:pointer;
}
.ts-variant-btn strong{display:block;font-size:13px;color:#ffffff}
.ts-variant-btn span{font-size:11px;color:var(--muted)}
.ts-variant-active{
  border-color:var(--accent);
  background:var(--accent-soft);
}
.ts-price-row{
  margin-top:8px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
}
.ts-price-main{
  display:flex;
  flex-direction:column;
}
.ts-price-label{
  font-size:11px;
  color:var(--muted);
}
.ts-price-value{
  font-size:20px;
  font-weight:700;
}
.ts-price-old{
  font-size:11px;
  color:var(--muted);
  text-decoration:line-through;
}
.ts-actions{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:10px;
}
.ts-btn-primary{
  border:none;
  width:100%;
  border-radius:999px;
  padding:9px 12px;
  font-size:14px;
  font-weight:700;
  background:linear-gradient(135deg,#f97316,#facc15);
  color:#111827;
  cursor:pointer;
}
.ts-btn-secondary{
  border-radius:999px;
  border:1px solid #374151;
  padding:7px 12px;
  font-size:12px;
  background:#020617;
  color:var(--text);
  cursor:pointer;
  width:100%;
}
.ts-safe-row{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  font-size:11px;
  align-items:center;
}
.ts-safe-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  border:1px solid #16a34a;
  padding:3px 8px;
  font-size:11px;
  background:#022c22;
  color:#bbf7d0;
}
.ts-safe-badge span:first-child{
  font-size:13px;
}
.ts-form-section{
  margin-top:8px;
}
.ts-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.ts-form-group{
  display:flex;
  flex-direction:column;
  gap:3px;
  font-size:12px;
}
.ts-form-group label{
  color:var(--muted);
}
.ts-form-group input,
.ts-form-group select{
  border-radius:8px;
  border:1px solid #374151;
  padding:7px 8px;
  background:#020617;
  color:var(--text);
  font-size:12px;
}
.ts-form-group input:focus,
.ts-form-group select:focus{
  outline:none;
  border-color:var(--accent);
}
.ts-summary-row{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-bottom:4px;
}
.ts-summary-total{
  border-top:1px solid #111827;
  margin-top:6px;
  padding-top:6px;
  font-weight:600;
}
.ts-summary-total span:last-child{
  color:var(--success);
}
.ts-upsell{
  margin-top:10px;
  border-radius:10px;
  border:1px dashed var(--success);
  padding:8px;
  display:flex;
  gap:8px;
}
.ts-upsell img{
  width:54px;
  height:54px;
  border-radius:8px;
  object-fit:cover;
}
.ts-upsell-body{
  font-size:11px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.ts-upsell-title{
  font-size:12px;
  font-weight:600;
}
.ts-upsell-price{
  font-size:12px;
  color:#facc15;
  font-weight:600;
}
.ts-upsell-check{
  margin-top:4px;
  display:flex;
  gap:6px;
  align-items:center;
}
.ts-upsell-check input{accent-color:#22c55e;}
.ts-footer{
  border-top:1px solid var(--border);
  padding:10px 0 14px;
  font-size:11px;
  color:var(--muted);
}
.ts-footer-links a{
  color:var(--muted);
  text-decoration:none;
}
.ts-footer-links a:hover{text-decoration:underline}
@media(max-width:900px){
  .ts-grid{grid-template-columns:minmax(0,1fr);}
}
