:root{
  --orange:#ff7a00;
  --black:#0b0b0b;
  --ink:#111;
  --white:#ffffff;
  --line:#e9e9e9;
  --muted:#6b6b6b;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  letter-spacing: .2px;
}

a{ color: inherit; }

.topbar{
  background: var(--orange);
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  font-weight: 800;
  font-size: 14px;
  color: #111;
}

.nav{
  background: var(--black);
  padding: 18px 14px;
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav a{
  color: var(--white);
  text-decoration:none;
  font-weight: 800;
  font-size: 15px;
  opacity: .92;
}
.nav a:hover{ opacity: 1; }
.nav .nav-right{ margin-left:auto; opacity:.85; }

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 14px 44px;
}

h1{
  font-size: clamp(30px, 3.4vw, 46px);
  margin: 8px 0 16px;
  letter-spacing: .2px;
}
h2{ font-size: 22px; margin: 24px 0 12px; }
h3{ font-size: 18px; margin: 18px 0 10px; }
p{ font-size: 16px; line-height: 1.6; }

.muted{ color: var(--muted); }

.footer{
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 22px 14px;
  text-align:center;
  font-weight: 650;
}

.btn{
  background: var(--orange);
  color:#111;
  border:0;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 900;
  letter-spacing: .2px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  box-shadow: var(--shadow);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-sm{
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: none;
}

.strike{ text-decoration: line-through; color: var(--muted); margin-right: 10px; }

.notice{
  background: #fff3e6;
  border:1px solid #ffd3ad;
  padding: 14px;
  border-radius: var(--radius);
  margin: 14px 0;
}

.errors{
  background: #ffecec;
  border: 1px solid #ffb8b8;
  padding: 14px;
  border-radius: var(--radius);
  margin: 14px 0;
}

.table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow:hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}
.table th, .table td{
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align:left;
  vertical-align: top;
  font-size: 15px;
}
.table th{
  background: #fafafa;
  font-weight: 900;
}
.table tr:last-child td{ border-bottom: 0; }

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 860px){
  .cards{ grid-template-columns: 1fr 1fr; }
}

input, select, textarea{
  width: 100%;
  max-width: 720px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 16px;
  outline: none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(255,122,0,.55);
  box-shadow: 0 0 0 4px rgba(255,122,0,.15);
}

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

.adminbar{
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.adminbar-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 14px;
  display:flex;
  align-items:center;
  gap:16px;
}
.adminbar nav{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}
.adminbar a{
  color: var(--white);
  text-decoration:none;
  font-weight: 900;
  opacity: .92;
}
.adminbar a:hover{ opacity:1; }

.product-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}
@media (min-width: 860px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}
.product-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.product-card .pc-body{ padding: 16px; }
.product-card .pc-title{ font-weight: 950; font-size: 20px; margin: 6px 0 4px; }
.product-card .pc-sub{ color: var(--muted); font-weight: 700; margin: 0 0 10px; }
.product-card .pc-price{ font-size: 18px; font-weight: 950; margin: 6px 0 12px; }

.placeholder-image{
  width:100%;
  aspect-ratio: 16/10;
  background: #f4f4f4;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #999;
  font-weight: 900;
}
