/* Proton Peptides — clean-room theme inspired by reference layout (not cloned) */

:root{
  --bg:#ffffff;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;
  --soft:#f3f4f6;
  --nav:#0b2a6f;      /* deep blue like ref */
  --nav2:#0a1f52;
  --btn:#0b2a6f;
  --btnH:#09235f;
  --badge:#0b2a6f;
  --sale:#0b2a6f;
  --radius:14px;
  --shadow:0 8px 28px rgba(2,6,23,.08);
  --shadow2:0 10px 24px rgba(2,6,23,.10);
  --max:1180px;
  --gap:20px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  line-height:1.45;
}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto; display:block}

.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}
.topnav{
  border-bottom:1px solid var(--line);
  background:#fff;
}
.navrow{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0;
}
.brand{
  font-weight:800; letter-spacing:-.4px; font-size:18px;
  display:flex; gap:10px; align-items:center;
}
.brand .mark{
  width:34px; height:34px; border-radius:10px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--nav), var(--nav2));
  color:#fff; font-weight:900;
}
.menu{display:flex; gap:18px; align-items:center}
.menu a{
  font-size:12px; letter-spacing:.8px; text-transform:uppercase;
  color:#111827; padding:8px 8px; border-bottom:2px solid transparent;
}
.menu a.active{border-bottom-color:var(--nav); color:var(--nav)}
.menu a:hover{color:var(--nav); text-decoration:none}

.hamburger{display:none; border:1px solid var(--line); background:#fff; border-radius:12px; padding:10px}
.hamburger svg{display:block}
.drawer{display:none; position:fixed; inset:0; background:rgba(2,6,23,.55); z-index:80}
.drawer .panel{
  position:absolute; right:0; top:0; height:100%; width:min(360px, 92vw);
  background:#fff; padding:16px; box-shadow:var(--shadow2);
  display:flex; flex-direction:column; gap:8px;
}
.drawer .panel a{
  padding:12px 12px; border:1px solid var(--line); border-radius:12px;
  font-weight:700;
}
.drawer .panel .row{display:flex; align-items:center; justify-content:space-between; margin-bottom:6px}
.iconbtn{border:1px solid var(--line); background:#fff; border-radius:12px; padding:10px}

.pageTitle{
  padding:26px 0 10px;
}
.pageTitle h1{margin:0; font-size:44px; letter-spacing:-1px}
.breadcrumb{color:var(--muted); font-size:12px; margin-top:6px}

.main{
  padding:18px 0 40px;
}

/* Shop layout like reference: sidebar left, content right */
.shopLayout{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:26px;
  align-items:start;
}

.sidebar{
  border-right:1px solid var(--line);
  padding-right:18px;
}
.sidebar .btnlite{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:800;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 12px;
  background:#fff;
}
.sidebar h3{
  margin:18px 0 10px;
  font-size:12px; letter-spacing:.9px; text-transform:uppercase;
  color:#111827;
}
.field{display:flex; gap:10px}
.input, .select, .textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 12px;
  background:#fff;
  outline:none;
}
.textarea{min-height:130px; resize:vertical}
.btn{
  border:1px solid transparent;
  border-radius:10px;
  padding:10px 14px;
  background:var(--btn);
  color:#fff;
  font-weight:900;
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  cursor:pointer;
}
.btn:hover{background:var(--btnH); text-decoration:none}
.btnGhost{
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 14px;
  background:#fff;
  color:#111827;
  font-weight:900;
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  cursor:pointer;
}
.btnGhost:hover{border-color:#cbd5e1}

.sliderRow{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:10px}
.range{
  width:100%;
}
.priceBox{
  display:flex; gap:10px; margin-top:10px
}
.pricePill{
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 10px;
  font-size:12px;
  color:#111827;
  background:#fff;
  width:70px;
  text-align:center;
}
.checks{display:grid; gap:8px; margin-top:8px}
.checks label{font-size:13px; color:#111827; display:flex; gap:10px; align-items:center}
.checks small{color:var(--muted)}

.shopTopbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.shopTopbar .meta{color:var(--muted); font-size:12px}
.shopTopbar .select{
  max-width:220px;
}

/* Product grid — 4 across on desktop */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.card{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:none;
}
.prodThumb{
  position:relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 30% 30%, #f8fafc, #e5e7eb);
  display:grid;
  place-items:center;
  padding:14px;
}
.prodThumb img{
  width:72%;
  max-width:170px;
  filter: drop-shadow(0 12px 18px rgba(2,6,23,.18));
}
.badgeSale{
  position:absolute;
  left:10px; top:10px;
  font-size:10px;
  font-weight:900;
  color:#fff;
  background:var(--sale);
  padding:6px 8px;
  border-radius:8px;
  letter-spacing:.6px;
  text-transform:uppercase;
}
.prodBody{
  padding:12px 12px 14px;
  text-align:center;
}
.prodName{
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  color:#111827;
}
.prodSub{
  margin-top:6px;
  font-size:12px;
  color:#111827;
}
.prodLink{
  margin-top:10px;
  display:inline-block;
  font-weight:900;
  font-size:11px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--nav);
}

/* Pagination like reference */
.pager{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin-top:18px;
}
.pageBtn{
  border:1px solid var(--line);
  background:#fff;
  border-radius:8px;
  width:32px; height:32px;
  display:grid; place-items:center;
  font-weight:900;
  font-size:12px;
}
.pageBtn.active{background:var(--nav); border-color:var(--nav); color:#fff}
.pageNext{padding:0 12px; width:auto}

/* Product detail page */
.productLayout{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:start;
}
.gallery{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background: radial-gradient(circle at 30% 30%, #f8fafc, #e5e7eb);
  padding:18px;
  display:grid;
  place-items:center;
  min-height:420px;
}
.gallery img{width:min(320px, 78%); filter: drop-shadow(0 14px 20px rgba(2,6,23,.22))}
.pInfo h1{font-size:34px; letter-spacing:-.8px; margin:0}
.pMeta{color:var(--muted); margin-top:6px}
.pBadges{display:flex; flex-wrap:wrap; gap:8px; margin:14px 0}
.pBadges .pill{
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:#111827;
  background:#fff;
}
.pPrice{font-size:18px; font-weight:900; margin:10px 0 12px}
.buyRow{display:flex; gap:10px; align-items:center; margin-bottom:14px}
.qty{width:88px}
.hr{border-top:1px solid var(--line); margin:16px 0}
.tabs{display:grid; gap:12px}
.tab{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  background:#fff;
}
.tab h3{
  margin:0 0 6px;
  font-size:12px;
  letter-spacing:.9px;
  text-transform:uppercase;
}
.tab p, .tab ul{margin:0; color:#111827; font-size:13px}
.tab ul{padding-left:18px}
.note{
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  border-radius:14px;
  padding:12px;
  color:#111827;
  font-size:13px;
}

/* Content pages */
.content{
  max-width:860px;
}
.content h2{margin:22px 0 8px; font-size:18px}
.content p{margin:0 0 12px; color:#111827}
.content .muted{color:var(--muted)}
.content ul{margin:0 0 12px; padding-left:18px}
.split2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
.box{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:#fff;
}

/* Footer like reference: big dark area with columns */
footer{
  background:linear-gradient(180deg, #0b1220, #0a1020);
  color:#e5e7eb;
  padding:34px 0;
}
.footGrid{
  display:grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap:22px;
}
.footBrand{
  display:flex; gap:10px; align-items:center;
}
.footBrand .mark{
  width:40px; height:40px; border-radius:14px;
  background:linear-gradient(135deg, #1d4ed8, #0b2a6f);
  display:grid; place-items:center; font-weight:900; color:#fff;
}
footer h4{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:#fff;
}
footer a{color:#e5e7eb}
footer a:hover{color:#fff; text-decoration:underline}
.fine{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#cbd5e1;
  font-size:12px;
}
.small{color:#cbd5e1; font-size:13px}
.addr{white-space:pre-line; color:#cbd5e1}

/* Responsive */
@media (max-width: 1080px){
  .grid{grid-template-columns: repeat(3, 1fr)}
  .shopLayout{grid-template-columns: 240px 1fr}
}
@media (max-width: 860px){
  .menu{display:none}
  .hamburger{display:inline-flex}
  .shopLayout{grid-template-columns: 1fr}
  .sidebar{border-right:0; padding-right:0; border-bottom:1px solid var(--line); padding-bottom:18px}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .productLayout{grid-template-columns:1fr}
  .footGrid{grid-template-columns:1fr 1fr}
}
@media (max-width: 520px){
  .grid{grid-template-columns: 1fr}
  .pageTitle h1{font-size:36px}
  .footGrid{grid-template-columns:1fr}
}
