:root{
  --bg0:#000000;
  --bg1:#090101;

  --ink:#b8877c;
  --muted:#8e5e54;

  --ember:#7a2a18;
  --amber:#a56a2a;

  --wood:#2a0806;
  --line:rgba(58, 22, 14, 0.18);

  --shadow: 0 24px 70px rgba(7, 2, 2, 0.65);
  --r: 22px;
  --max: 1240px;

  --fontFamily1: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --fontFamily2: "MedievalSharp", cursive;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  font-family: var(--fontFamily1);
  background:
    radial-gradient(1100px 700px at 70% 20%, rgba(90, 40, 18, 0.06), transparent 55%),
    radial-gradient(900px 600px at 20% 70%, rgba(55, 20, 12, 0.05), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
  padding:32px 18px 54px;
}

a{color:inherit; text-decoration:none}
a:hover{color: var(--ember);}

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.sheet{
  width:100%;
  max-width: var(--max);
  margin:0 auto;
  background: transparent;
  padding-bottom: 28px;
}

.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:10px 0 22px;
}

.topbar .pill{
  margin-right:35px;
  margin-top:-15px;
}

.brand{
  display:flex;
  align-items:center;
  gap:11px;
}

.brand-copy h1{
  margin:0;
  font-family: var(--fontFamily2);
  font-weight:700;
  letter-spacing:.02em;
  line-height:1;
  font-size: 34px;
  position: relative;
  top: 10px;
}

.wax{
  width:48px;
  height:48px;
  border-radius:20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(10, 0, 0, 0.45), transparent 55%),
    linear-gradient(135deg, rgba(24, 1, 1, 0.25), rgba(26, 4, 4, 0.2)),
    var(--wood);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  position:relative;
  top: -5px;
}

.pill{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(10,6,4,.35);
  backdrop-filter: blur(6px);
  font-family: var(--fontFamily1);
  font-size:15px;
}

.pill:hover{
  border-color: rgb(75, 44, 1);
  color: #754e06;
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px; 
  margin-top: 8px;
  margin-left: 8px;
  font-size: 0.60rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.tagline::before {
  content: "";
  width: 18px;   /* shorter */
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.tagline::after {
  content: "";
  width: 30px;   /* longer */
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.panel{
  border:1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(900px 340px at 10% 10%, rgba(120, 58, 24, 0.06), transparent 45%),
    rgba(8, 3, 2, 0.44);
  box-shadow: var(--shadow);
  padding:18px;
  overflow:hidden;
}

.panel-side h2,
.panel-main .panel-head h2{
  margin:0 0 10px;
  font-size:16px;
  font-family: var(--fontFamily2);
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--muted);
}

.content.layout-split{
  padding:10px 0 18px;
  display:grid;
  grid-template-columns:minmax(0, 3fr) minmax(220px, 1fr);
  gap:18px;
  align-items:start;
}

.main-column{
  display:grid;
  gap:18px;
}

.sidebar{
  display:grid;
  gap:18px;
  align-content:start;
}

.panel-side{
  padding:16px;
}

.panel-hero{
  padding:24px 22px;
}

.panel-hero .hero-title{
  margin:0;
  font-family: var(--fontFamily2);
  font-size: clamp(38px, 5vw, 42px);
  line-height:1.08;
  letter-spacing:.02em;
  text-transform:none;
  color:var(--ink);
}

.hero-line{
  margin:0 10px 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.banner-panel{
  padding: 0;
  overflow: hidden;
  position: relative;
}

.banner-image{
  width: 100%;
  height: auto;
  display: block;
}

.banner-panel::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,0.85) 100%
  );
  pointer-events: none;
}

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.panel-subtitle{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.category-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:14px 0 16px;
}

.category-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
  color:var(--muted);
  font-size:12px;
  letter-spacing:.04em;
}

.product-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}

.product-card{
  min-width:0;
}

.product-card-link{
  display:block;
  height:100%;
  border:1px solid var(--line);
  border-radius:16px;
  background: rgba(20, 5, 4, 0.34);
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.product-card-link:hover{
  transform: translateY(-2px);
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
  color:inherit;
}

.product-image-wrap{
  width:100%;
  aspect-ratio:4 / 5;
  overflow:hidden;
  background: rgba(34, 3, 3, 0.22);
}

.product-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-card-body{
  padding:14px;
}

.product-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.product-category{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
  color:var(--muted);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.product-category.large{
  margin-bottom:14px;
  font-size:12px;
}

.product-price{
  font-size:14px;
  font-weight:700;
  color:var(--ink);
}

.product-name{
  margin:0 0 8px;
  font-size:17px;
  line-height:1.35;
  color:var(--ink);
}

.product-line{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.product-button{
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(39, 3, 3, 0.35);
  font-size:14px;
}

.links{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.link{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  column-gap:14px;
  padding:10px 11px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(34, 3, 3, 0.35);
  transition: 
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    transform .18s ease;
}

.link b{
  min-width:0;
  font-weight:700;
  font-size:14px;
}

.link span{
  text-align:right;
  white-space:nowrap;
  color:var(--muted);
  font-size:13px;
}

.link:hover{
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.rule{
  height:1px;
  background: rgba(58, 22, 14, 0.22);
  margin:12px 0;
}

.meta {
  display: grid;
  gap: 0px;
  margin-top: 10px;
}

.meta.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(34, 3, 3, 0.35);
}

.meta.item span {
  font-size: 14px;
  text-align: left;
}

.meta.item small {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.meta.item:hover{
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
  color: inherit;
}

.product-page{
  padding:10px 0 18px;
}

.product-detail-panel{
  padding:20px;
}

.product-detail-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(300px, .95fr);
  gap:24px;
  align-items:start;
}

.product-gallery{
  min-width:0;
}

.product-main-image-button{
  width:100%;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
}

.product-main-image{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  display:block;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
}

.product-thumbs{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:10px;
  margin-top:12px;
}

.product-thumb{
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background: rgba(34, 3, 3, 0.22);
  overflow:hidden;
  cursor:pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-thumb img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
}

.product-thumb:hover,
.product-thumb.active{
  border-color: rgba(165, 106, 42, 0.45);
  box-shadow: 0 0 0 1px rgba(165, 106, 42, 0.22) inset;
  transform: translateY(-1px);
}

.product-info-top{
  margin-bottom:18px;
}

.product-detail-title{
  margin:0 0 12px;
  font-family: var(--fontFamily2);
  font-size: clamp(28px, 4vw, 40px);
  line-height:1.15;
  color:var(--ink);
}

.product-detail-price{
  margin:0 0 14px;
  font-size:24px;
  font-weight:700;
  color:var(--ink);
}

.product-detail-short{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

.detail-block{
  margin-top:18px;
}

.detail-block h3{
  margin:0 0 10px;
  font-size:15px;
  font-family: var(--fontFamily2);
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}

.detail-list{
  margin:0;
  padding-left:18px;
  color:var(--ink);
  line-height:1.7;
  font-size:14px;
}

.product-detail-copy{
  margin:0;
  color:var(--ink);
  line-height:1.8;
  font-size:14px;
}

.product-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.btn{
  text-decoration:none;
  padding:10px 13px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(39, 3, 3, 0.35);
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.btn:hover{
  transform: translateY(-1px);
  color:#7a2a18;
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.btn.primary{
  padding:11px 17px;
  font-weight:500;
  border-color: rgba(18, 1, 1, 0.35);
  background:
    radial-gradient(circle at 30% 30%, rgba(99, 12, 12, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(61, 3, 3, 0.22), rgba(0,0,0,.1));
  box-shadow: 0 0 14px rgba(120, 60, 30, 0.22);
}

.btn.primary:hover{
  color:#7a2a18;
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.open{
  display:flex;
  align-items:center;
  justify-content:center;
}

.lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-dialog{
  position:relative;
  z-index:1;
  width:min(92vw, 1200px);
  height:96vh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0 64px;
}

.lightbox-content{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
}

.lightbox-content img{
  display:block;
  max-width:100%;
  max-height:90vh;
  object-fit:contain;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background:#120605;
}

.lightbox-close,
.lightbox-nav{
  border:1px solid var(--line);
  background: rgba(34, 3, 3, 0.72);
  color: var(--ink);
  cursor:pointer;
  border-radius:14px;
  z-index:2;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover{
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
}

.lightbox-close{
  position:absolute;
  top:12px;
  right:12px;
  width:48px;
  height:48px;
  font-size:30px;
  line-height:1;
}

.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:72px;
  font-size:42px;
  line-height:1;
  opacity:.85;
}

.lightbox-prev{left:12px}
.lightbox-next{right:12px}

.mobile-break {
  display: none;
}

.footer{
  margin-top:60px;
  color: rgba(78, 1, 1, 0.75);
  font-size:12px;
  letter-spacing:.06em;
  text-align:left;
}

.footer > div{
  width:100%;
}

.contact-layout{
  display:grid;
  gap:18px;
  padding:10px 0 18px;
}

.contact-hero-panel{
  padding:24px 22px;
}

.contact-panel{
  padding:22px;
}

.contact-form{
  display:grid;
  gap:16px;
}

.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
}

.field{
  display:grid;
  gap:8px;
}

.field label{
  font-size:14px;
  color:var(--muted);
  letter-spacing:.03em;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(34, 3, 3, 0.35);
  color:var(--ink);
  font: inherit;
  padding:12px 14px;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field textarea{
  resize:vertical;
  min-height:180px;
  line-height:1.6;
}

.field input::placeholder,
.field textarea::placeholder{
  color:var(--muted);
  opacity:.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(165, 106, 42, 0.45);
  box-shadow: 0 0 0 2px rgba(165, 106, 42, 0.18);
  background: rgba(41, 23, 1, 0.55);
}

.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:4px;
}

@media (max-width: 640px){
  .banner-panel{
    height: 160px;
  }

  .banner-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .contact-panel,
  .contact-hero-panel{
    padding:16px;
  }

  .contact-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .contact-actions .btn{
    width:100%;
    justify-content:center;
  }

  body{
    padding:18px 12px 34px;
  }

  .wax{
    width:38px;
    height:38px;
    border-radius:15px;
  }

  .topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding-top:8px;
  }

  .topbar .pill{
    margin:0;
  }

  .brand-copy h1{
    font-size: clamp(26px, 7vw, 32px);
    position: relative;
    top: 8px;
  }

  .tagline{
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  margin-left: 2px;
  gap: 4px;
}

.tagline::before{
  width: 12px;
}

.tagline::after{
  width: 20px;
}

.mobile-break {
    display: block;
  }

  .panel-hero,
  .panel,
  .panel-side,
  .product-detail-panel{
    padding:16px;
  }

  .panel-hero .hero-title{
  font-size: clamp(24px, 8vw, 32px);
  }

  .hero-line{
    margin: 0;
  }

  .content.layout-split{
    grid-template-columns:1fr;
  }

  .product-detail-grid{
    grid-template-columns:1fr;
  }

  .product-grid{
    grid-template-columns:1fr;
  }

  .product-thumbs{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .product-actions .btn{
    justify-content:center;
    width:100%;
  }

  .link{
    grid-template-columns:minmax(0, 1fr);
    row-gap:4px;
  }

  .link span{
    text-align:left;
    white-space:normal;
  }

  .lightbox-dialog{
    width:100vw;
    height:100vh;
    padding:0 4px;
  }

  .lightbox-nav{
    width:40px;
    height:56px;
    font-size:28px;
  }

  .lightbox-close{
    width:42px;
    height:42px;
    font-size:26px;
  }

  .footer br{
    display: none;
  }
  
}