:root{
  --product-bg:#17100b;
  --product-bg-2:#24170f;
  --product-shell:#2d1b10;
  --product-shell-2:#3a2416;
  --product-panel:#311e12;
  --product-panel-2:#26170f;
  --product-border:#5e3921;
  --product-border-strong:#8f5c2e;
  --product-text:#f6eadb;
  --product-muted:#d6ba9b;
  --product-accent:#d59a4c;
  --product-accent-soft:#f0c588;
  --product-accent-deep:#b47634;
  --product-shadow:0 16px 38px rgba(0,0,0,.34);
}

body{
  color:var(--product-text);
  background:
    radial-gradient(circle at top left, rgba(213,154,76,.16), transparent 26%),
    radial-gradient(circle at top right, rgba(94,57,33,.26), transparent 24%),
    linear-gradient(180deg, var(--product-bg), var(--product-bg-2));
}

a{
  color:var(--product-accent-soft);
}

.wrap{
  width:min(1280px, calc(100% - 28px));
  padding:16px 0 28px;
}

.topbar{
  padding:14px 18px;
  margin-bottom:18px;
  border:1px solid var(--product-border);
  border-radius:26px;
  background:linear-gradient(180deg, rgba(58,36,22,.96), rgba(42,26,16,.96));
  box-shadow:var(--product-shadow);
}

.brand{
  align-items:center;
}

.brand img{
  width:56px;
  height:56px;
  padding:4px;
  border-radius:16px;
  border:1px solid var(--product-border);
  background:rgba(0,0,0,.18);
}

.brand h2,
.hero h1,
.card h2,
.card h3{
  letter-spacing:.9px;
}

.brand h2{
  font-size:1.5rem;
  color:var(--product-text);
}

.brand p{
  color:var(--product-muted);
}

.top-actions{
  align-items:center;
}

.nav-btn,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border-radius:14px;
  border:1px solid var(--product-border);
  background:rgba(0,0,0,.14);
  color:var(--product-text);
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.nav-btn:hover,
.btn:hover{
  transform:translateY(-1px);
  border-color:var(--product-border-strong);
  background:rgba(213,154,76,.08);
}

.btn.primary{
  background:linear-gradient(180deg, var(--product-accent), var(--product-accent-deep));
  color:#1d120c;
  border-color:var(--product-accent);
}

.hero,
.grid{
  gap:18px;
  align-items:start;
}

.product-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 460px);
  gap:24px;
  align-items:stretch;
  margin-bottom:24px;
}

.product-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-height:100%;
}

.product-title{
  margin:0 0 14px;
  font-size:clamp(2.4rem, 5vw, 4.2rem);
  line-height:1.05;
}

.product-hero-copy p{
  margin:0 0 18px;
}

.product-hero-copy p:last-of-type{
  margin-bottom:0;
}

.product-meta-line{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid rgba(143,92,46,.34);
  color:var(--product-accent-soft);
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.01em;
}

.product-visual-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.card{
  position:relative;
  overflow:hidden;
  padding:22px;
  border:1px solid var(--product-border);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(52,31,19,.95), rgba(37,23,14,.97));
  box-shadow:var(--product-shadow);
}

.card::before{
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid rgba(143,92,46,.28);
  border-radius:18px;
  pointer-events:none;
}

.card > *{
  position:relative;
  z-index:1;
}

.hero h1{
  color:var(--product-text);
  font-size:clamp(2.05rem, 4.5vw, 3.8rem);
  line-height:1.05;
}

.status-row{
  gap:10px;
}

.pill{
  border:1px solid rgba(213,154,76,.3);
  background:rgba(213,154,76,.1);
  color:var(--product-accent-soft);
}

.hero p,
.card p,
.card li,
.caption{
  color:var(--product-muted);
}

.actions{
  margin-top:20px;
}

.hero-shot{
  border-radius:16px;
  border:1px solid var(--product-border);
  background:rgba(0,0,0,.18);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}

.product-main-image{
  width:100%;
  max-height:420px;
  object-fit:contain;
  object-position:center;
}

.meta-list{
  gap:12px;
}

.product-content-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  align-items:start;
}

.product-flow-grid,
.product-technical-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.meta-item,
figure{
  border:1px solid var(--product-border);
  background:rgba(0,0,0,.12);
}

.meta-item{
  border-radius:18px;
}

.meta-item strong{
  color:var(--product-text);
}

.product-flow-grid .meta-item,
.product-technical-grid .meta-item{
  min-height:100%;
}

.card h2{
  color:var(--product-text);
}

.gallery{
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:16px;
}

figure{
  border-radius:18px;
}

figure img{
  border-radius:12px;
  border:1px solid rgba(255,255,255,.04);
}

footer{
  margin-top:22px;
  padding:18px 20px;
  border:1px solid var(--product-border);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(58,36,22,.9), rgba(42,26,16,.92));
  color:var(--product-muted);
}

.product-gallery-card{
  margin-top:24px;
}

@media (max-width: 900px){
  .wrap{
    width:min(100% - 18px, 100%);
  }

  .topbar{
    padding:16px;
  }

  .product-hero-grid,
  .product-content-grid,
  .product-flow-grid,
  .product-technical-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .product-title{
    font-size:2.3rem;
  }

  .actions{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
  }

  .actions .btn:last-child{
    grid-column:1 / -1;
  }

  .product-main-image{
    max-height:360px;
  }
}
