:root{--ink:#14201b;--bg:#f5f3ed;--paper:#fff;--gold:#b8893b;--line:#ddd5c6;--muted:#5d665f;--sold:#8b1e1e;--good:#dff1da}*{box-sizing:border-box}body{margin:0;font-family:Arial,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}a{color:inherit}.site-header{background:#111a16;color:#f7efe3;padding:1rem}.header-inner{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.brand{text-decoration:none;font-weight:900}.brand span{display:block;font-size:.8rem;color:#d7cfbf;font-weight:600}.nav{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}.nav a{color:#f7efe3;text-decoration:none;font-weight:800;padding:.55rem .65rem;border-radius:999px}.nav a:hover,.nav a.active{background:rgba(255,255,255,.12)}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.8rem 1rem;text-decoration:none;font-weight:900;border:1px solid var(--line);background:#fff}.btn.primary{background:var(--gold);border-color:var(--gold);color:#111}.btn.disabled{background:#ddd;color:#555;cursor:not-allowed}.wrap{max-width:1120px;margin:auto;padding:0 1rem}.hero{padding:4rem 1rem;display:grid;grid-template-columns:1.2fr .8fr;gap:1.5rem;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#7c551c;font-size:.85rem}h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.02;margin:.25rem 0 1rem}h2{font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.1;margin:.2rem 0 1rem}.lead{font-size:1.12rem;color:var(--muted);max-width:820px}.actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}.panel,.card,.item-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:1.25rem;box-shadow:0 16px 40px rgba(0,0,0,.06)}.section{padding:3rem 1rem}.cards,.inventory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.card h3,.item-card h3{margin-top:0}.notice{background:#fff8e9;border-left:5px solid var(--gold);border-radius:14px;padding:1rem}.checklist{padding-left:1.2rem}.item-card{position:relative;overflow:hidden}.item-image{height:210px;border-radius:16px;background:#f0eee8;display:grid;place-items:center;color:#777;font-weight:800;border:1px solid var(--line);margin-bottom:1rem}.badges{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.5rem}.badge{display:inline-flex;border-radius:999px;padding:.35rem .65rem;background:#edf1f8;font-size:.82rem;font-weight:900}.badge.available{background:var(--good);color:#165016}.badge.sold{background:#f4d7d7;color:var(--sold)}.price{font-size:1.35rem;font-weight:900;margin:.3rem 0}.details{display:grid;grid-template-columns:auto 1fr;gap:.2rem .8rem;border-top:1px solid var(--line);padding-top:.8rem}.details dt{font-weight:900}.details dd{margin:0;color:var(--muted)}.sold-ribbon{position:absolute;top:18px;right:-48px;background:var(--sold);color:#fff;font-weight:900;padding:.55rem 3rem;transform:rotate(35deg);letter-spacing:.08em}.sold-card{filter:grayscale(.1)}form{display:grid;gap:1rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.full{grid-column:1/-1}label{font-weight:900}input,select,textarea{width:100%;font:inherit;margin-top:.3rem;padding:.85rem;border:1px solid #cfc6b6;border-radius:12px;background:#fff}textarea{min-height:130px}.photo-box{border:2px dashed var(--gold);background:#fffaf1;border-radius:18px;padding:1rem}.site-footer{background:#111a16;color:#f7efe3;margin-top:3rem;padding:2rem 1rem}.site-footer a{color:#f7efe3;font-weight:900}@media(max-width:780px){.hero{grid-template-columns:1fr;padding-top:2.2rem}.header-inner{align-items:flex-start}.nav{width:100%}.actions .btn{width:100%}}


/* Inventory photo gallery additions */
.photo-inventory{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}.item-image{height:330px;position:relative;padding:0;overflow:hidden;cursor:pointer;border:0;background:#fff}.item-image img{width:100%;height:100%;object-fit:cover;display:block;border-radius:16px}.item-image.gallery-trigger{border:1px solid var(--line);width:100%;font:inherit}.photo-hover{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:rgba(17,26,22,.9);color:#fff;border-radius:999px;padding:.45rem .8rem;font-size:.82rem;font-weight:900;opacity:0;transition:.18s ease;white-space:nowrap}.item-image:hover .photo-hover,.item-image:focus .photo-hover{opacity:1}.small-actions{margin-top:1rem}.small-actions .btn{margin-right:.35rem;margin-bottom:.35rem}.gallery-modal{display:none;position:fixed;inset:0;z-index:9999}.gallery-modal.open{display:block}.gallery-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78)}.gallery-box{position:relative;margin:2rem auto;max-width:min(1100px,94vw);max-height:calc(100vh - 4rem);background:#fff;border-radius:20px;padding:1rem;display:grid;grid-template-rows:minmax(0,1fr) auto auto auto;gap:.65rem;box-shadow:0 24px 80px rgba(0,0,0,.35)}.gallery-close{position:absolute;right:.8rem;top:.55rem;width:44px;height:44px;border-radius:999px;border:0;background:#111a16;color:#fff;font-size:2rem;line-height:1;cursor:pointer;z-index:2}.gallery-box>img{width:100%;height:min(74vh,850px);object-fit:contain;background:#fff;border-radius:14px}.gallery-caption{text-align:center;font-weight:900;color:#14201b}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}.gallery-thumbs{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}.gallery-thumbs button{border:2px solid transparent;background:#fff;border-radius:10px;padding:3px;cursor:pointer}.gallery-thumbs button.active{border-color:var(--gold)}.gallery-thumbs img{width:74px;height:74px;object-fit:cover;border-radius:8px;display:block}.modal-open{overflow:hidden}@media(max-width:780px){.item-image{height:270px}.gallery-box{margin:.5rem;max-height:calc(100vh - 1rem);padding:.7rem}.gallery-box>img{height:65vh}.gallery-close{right:.4rem;top:.35rem}.gallery-controls .btn{padding:.65rem .8rem}}


/* V13 fixed inventory image containment. */
.item-card {
  background-image: none;
}
.item-card .item-image {
  width: 100%;
  height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}
.item-card .item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 780px) {
  .item-card .item-image {
    height: 270px;
  }
}
