:root{
  --black: #0E0D0C;
  --charcoal: #201D1B;
  --ivory: #EDE7DD;
  --paper: #F5F1E8;
  --oxblood: #6B1E23;
  --oxblood-light: #8C2C33;
  --gold: #B08D57;
  --line: rgba(237,231,221,0.14);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--black);
  color:var(--ivory);
  font-family:'Inter', sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Fraunces', serif;
  font-weight:400;
  letter-spacing:-0.01em;
}
a{color:inherit; text-decoration:none;}
img{display:block; width:100%; height:100%; object-fit:cover;}
.wrap{max-width:1240px; margin:0 auto; padding:0 32px;}
a:focus-visible, button:focus-visible, input:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
main{padding-top:96px;}

/* ===== NAV ===== */
header.site-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:linear-gradient(to bottom, rgba(14,13,12,0.94), rgba(14,13,12,0.85) 70%, rgba(14,13,12,0));
  padding:22px 0;
  border-bottom:1px solid transparent;
}
nav.wrap{display:flex; align-items:center; justify-content:space-between;}
.logo{font-family:'Fraunces', serif; font-size:20px; letter-spacing:0.06em; display:inline-flex; align-items:center; gap:10px;}
.logo-mark{height:28px; width:auto; display:block;}
.logo-full{max-width:170px; width:100%; height:auto; display:block; margin-bottom:14px;}
.nav-links{display:flex; gap:40px; font-size:13px; letter-spacing:0.12em; text-transform:uppercase;}
.nav-links a{opacity:0.85; transition:opacity .2s ease;}
.nav-links a:hover, .nav-links a.active{opacity:1; color:var(--gold);}
.nav-right{display:flex; align-items:center; gap:26px; font-size:13px; letter-spacing:0.08em;}
.bag{display:flex; align-items:center; gap:8px; cursor:pointer; background:none; border:none; color:var(--ivory); font-family:'Inter',sans-serif; font-size:13px; letter-spacing:0.08em;}
.bag-count{border:1px solid var(--gold); color:var(--gold); width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10px;}

/* ===== HERO ===== */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  padding:120px 24px 80px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 15%, rgba(107,30,35,0.28), transparent 60%),
    var(--black);
  overflow:hidden;
}
.hero-eyebrow{font-size:12px; letter-spacing:0.3em; text-transform:uppercase; color:var(--gold); margin-bottom:28px;}
.hero h1{font-size:clamp(58px, 11vw, 148px); line-height:0.94; color:var(--paper);}
.hero h1 em{font-style:italic; color:var(--oxblood-light);}
.hero-sub{max-width:480px; margin:32px auto 0; font-size:17px; color:rgba(237,231,221,0.72);}
.hero-cta{
  margin-top:44px; display:inline-flex; align-items:center; gap:14px;
  padding:16px 34px; border:1px solid var(--gold); color:var(--paper);
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
  transition:background .25s ease, color .25s ease; background:none; cursor:pointer;
  font-family:'Inter',sans-serif;
}
.hero-cta:hover{background:var(--gold); color:var(--black);}

/* ===== CAMPAIGN FILM (full-bleed video section) ===== */
.campaign-film{
  position:relative;
  height:92vh;
  min-height:560px;
  max-height:920px;
  overflow:hidden;
  background:var(--black);
}
.campaign-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 25%;
}
.campaign-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(14,13,12,0.55) 0%, rgba(14,13,12,0.15) 40%, rgba(14,13,12,0.85) 100%);
}
.campaign-content{
  position:relative; z-index:2;
  height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  text-align:center;
  padding:0 24px 80px;
}
.campaign-content h2{
  font-size:clamp(38px,6vw,72px);
  color:var(--paper);
  margin-bottom:20px;
}
.campaign-content p{
  max-width:460px;
  font-size:16px;
  color:rgba(237,231,221,0.8);
  margin-bottom:32px;
}
@media (max-width:700px){
  .campaign-film{height:82vh;}
  .campaign-video{object-position:center 20%;}
}

/* ===== PAGE HEADER (shop/product) ===== */
.page-banner{padding:180px 0 60px; border-bottom:1px solid var(--line);}
.page-banner .crumb{font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:rgba(237,231,221,0.5); margin-bottom:18px;}
.page-banner .crumb a:hover{color:var(--gold);}
.page-banner h1{font-size:clamp(38px,5vw,64px);}

/* ===== FLASH ===== */
.flash{
  background:var(--oxblood); color:var(--paper); text-align:center;
  padding:14px; font-size:14px; letter-spacing:0.04em;
}

/* ===== SHOP GRID ===== */
.shop-layout{display:grid; grid-template-columns:220px 1fr; gap:56px; padding:64px 0 140px;}
.shop-filters h4{font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:rgba(237,231,221,0.5); margin-bottom:20px;}
.shop-filters ul{list-style:none; display:flex; flex-direction:column; gap:14px;}
.shop-filters a{font-size:15px; color:rgba(237,231,221,0.72); transition:color .2s ease;}
.shop-filters a:hover, .shop-filters a.active{color:var(--gold);}
.shop-count{font-size:14px; color:rgba(237,231,221,0.5); margin-bottom:28px;}
.product-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;}
.product{position:relative;}
.product-img{aspect-ratio:3/4; position:relative; overflow:hidden; background:var(--charcoal); margin-bottom:16px;}
.product-img img{transition:transform .9s cubic-bezier(.2,.7,.2,1);}
.product:hover .product-img img{transform:scale(1.05);}
.product-img img.pi-primary, .product-img img.pi-secondary{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.product-img img.pi-secondary{opacity:0; transition:opacity .5s ease, transform .9s cubic-bezier(.2,.7,.2,1);}
.product:hover .product-img img.pi-secondary{opacity:1;}
.product:hover .product-img img.pi-primary{opacity:0;}
.product-add{
  position:absolute; left:12px; right:12px; bottom:12px;
  background:rgba(14,13,12,0.88); color:var(--paper);
  text-align:center; padding:13px 0; font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  opacity:0; transform:translateY(8px);
  transition:opacity .25s ease, transform .25s ease;
  cursor:pointer; border:1px solid var(--gold); width:100%; font-family:'Inter',sans-serif;
}
.product:hover .product-add{opacity:1; transform:translateY(0);}
.product-name{font-size:15px; margin-bottom:4px;}
.product-name a:hover{color:var(--gold);}
.product-price{font-size:14px; color:var(--gold);}
.swatch-row{display:flex; gap:6px; margin-top:8px;}
.swatch{width:14px; height:14px; border-radius:50%; border:1px solid rgba(237,231,221,0.3); display:inline-block;}
.product-sold-out .product-img{opacity:0.4;}
.product-sold-out .product-add{display:none;}
.sold-out-tag{
  position:absolute; top:12px; left:12px; font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
  background:var(--black); padding:6px 10px; color:rgba(237,231,221,0.7);
}

/* placeholder art fill */
.art{width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(160deg, #2A2523, #14100F 70%);}
.art svg{width:38%; opacity:0.5;}

/* ===== PRODUCT DETAIL ===== */
.product-detail{display:grid; grid-template-columns:1fr 1fr; gap:64px; padding:64px 0 60px;}
.pd-gallery-wrap{display:flex; flex-direction:column; gap:16px;}
.pd-gallery{aspect-ratio:3/4; background:var(--charcoal); overflow:hidden;}
.pd-gallery img{width:100%; height:100%; object-fit:cover;}
.pd-thumbs{display:flex; gap:10px; flex-wrap:wrap;}
.pd-thumb{width:72px; height:96px; padding:0; border:1px solid var(--line); background:var(--charcoal); overflow:hidden; cursor:pointer; opacity:0.6; transition:opacity .2s ease, border-color .2s ease;}
.pd-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.pd-thumb:hover{opacity:0.85;}
.pd-thumb.active{opacity:1; border-color:var(--gold);}
.pd-info .hero-eyebrow{margin-bottom:14px;}
.pd-info h1{font-size:clamp(32px,4vw,46px); margin-bottom:10px;}
.pd-price{font-size:20px; color:var(--gold); margin-bottom:28px;}
.pd-desc{font-size:15px; color:rgba(237,231,221,0.75); max-width:440px; margin-bottom:32px;}
.pd-meta{font-size:13px; color:rgba(237,231,221,0.5); margin-bottom:32px; display:flex; flex-direction:column; gap:6px;}
.pd-label{font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:rgba(237,231,221,0.55); margin-bottom:12px; display:block;}
.pd-selected-color{text-transform:none; letter-spacing:0; color:rgba(237,231,221,0.85); margin-left:8px; font-size:13px;}
.color-options{display:flex; gap:12px; margin-bottom:32px; flex-wrap:wrap;}
.color-options input{position:absolute; opacity:0; pointer-events:none;}
.color-swatch-label{width:32px; height:32px; border-radius:50%; display:inline-block; cursor:pointer; border:2px solid transparent; box-shadow:0 0 0 1px rgba(237,231,221,0.25); transition:box-shadow .2s ease, transform .2s ease;}
.color-swatch-label:hover{transform:scale(1.08);}
.color-options input:checked + .color-swatch-label{box-shadow:0 0 0 2px var(--black), 0 0 0 3px var(--gold);}
.size-options{display:flex; gap:10px; margin-bottom:32px; flex-wrap:wrap;}
.size-options input{position:absolute; opacity:0; pointer-events:none;}
.size-options label{
  border:1px solid var(--line); padding:11px 18px; font-size:13px; cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.size-options input:checked + label{border-color:var(--gold); color:var(--gold);}
.qty-row{display:flex; align-items:center; gap:18px; margin-bottom:32px;}
.qty-row input{
  width:64px; background:transparent; border:1px solid var(--line); color:var(--paper);
  font-family:'Inter',sans-serif; font-size:14px; padding:10px; text-align:center;
}
.pd-add{
  width:100%; padding:18px 0; background:var(--gold); color:var(--black); border:none;
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase; cursor:pointer;
  font-family:'Inter',sans-serif; transition:background .2s ease;
}
.pd-add:hover{background:var(--paper);}
.drawer-checkout-btn{
  width:100%; padding:18px 0; background:var(--gold); color:var(--black); border:none;
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase; cursor:pointer;
  font-family:'Inter',sans-serif; transition:background .2s ease;
}
.drawer-checkout-btn:hover{background:var(--paper);}
.pd-note{margin-top:18px; font-size:13px; color:rgba(237,231,221,0.5);}

.related{padding:100px 0 140px; border-top:1px solid var(--line);}
.related h2{font-size:clamp(26px,3vw,36px); margin-bottom:40px;}

/* ===== NEWSLETTER / FOOTER ===== */
.newsletter{border-top:1px solid var(--line); padding:110px 0; text-align:center;}
.newsletter h2{font-size:clamp(30px,4vw,46px); max-width:640px; margin:0 auto 36px;}
.n-form{display:flex; justify-content:center; gap:0; max-width:440px; margin:0 auto;}
.n-form input{flex:1; background:transparent; border:none; border-bottom:1px solid var(--line); color:var(--paper); font-family:'Inter',sans-serif; font-size:15px; padding:14px 4px;}
.n-form input::placeholder{color:rgba(237,231,221,0.4);}
.n-form input:focus{outline:none; border-bottom-color:var(--gold);}
.n-form button{background:none; border:none; border-bottom:1px solid var(--gold); color:var(--gold); font-size:13px; letter-spacing:0.14em; text-transform:uppercase; padding:14px 8px; cursor:pointer; font-family:'Inter',sans-serif;}

footer{border-top:1px solid var(--line); padding:64px 0 40px;}
.footer-grid{display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:40px; margin-bottom:64px;}
.footer-grid h4{font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:rgba(237,231,221,0.5); margin-bottom:18px;}
.footer-grid ul{list-style:none;}
.footer-grid li{margin-bottom:12px; font-size:14px;}
.footer-grid li a:hover{color:var(--gold);}
.footer-brand p{font-size:14px; color:rgba(237,231,221,0.55); max-width:280px; margin-top:14px;}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; font-size:12px; color:rgba(237,231,221,0.4); flex-wrap:wrap; gap:12px;}

@media (max-width:900px){
  .nav-links{display:none;}
  .shop-layout{grid-template-columns:1fr; gap:0;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .product-detail{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr; gap:32px;}

  /* Category sidebar becomes a horizontally-scrollable chip bar instead of
     a tall vertical list, so it doesn't push products down the page. */
  .shop-filters{margin-bottom:28px; min-width:0;}
  .shop-filters h4{margin-bottom:12px;}
  .shop-filters ul{
    flex-direction:row;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:10px;
    padding-bottom:4px;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }
  .shop-filters ul::-webkit-scrollbar{display:none;}
  .shop-filters li{flex-shrink:0;}
  .shop-filters a{
    display:inline-block;
    white-space:nowrap;
    font-size:13px;
    padding:9px 16px;
    border:1px solid var(--line);
    color:rgba(237,231,221,0.72);
  }
  .shop-filters a.active{border-color:var(--gold); color:var(--gold);}
}
/* ===== ADD-TO-BAG DRAWER ===== */
.bag-drawer-overlay{
  position:fixed; inset:0; background:rgba(14,13,12,0.6);
  opacity:0; pointer-events:none; transition:opacity .3s ease;
  z-index:90;
}
.bag-drawer-overlay.open{opacity:1; pointer-events:auto;}
.bag-drawer{
  position:fixed; top:0; right:0; bottom:0;
  width:100%; max-width:420px;
  background:var(--black);
  border-left:1px solid var(--line);
  transform:translateX(100%);
  transition:transform .35s cubic-bezier(.2,.7,.2,1);
  z-index:91;
  display:flex; flex-direction:column;
}
.bag-drawer.open{transform:translateX(0);}
.bag-drawer-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:24px 28px; border-bottom:1px solid var(--line);
  font-size:13px; letter-spacing:0.1em; text-transform:uppercase; color:rgba(237,231,221,0.8);
}
.bag-drawer-close{
  background:none; border:none; color:var(--paper); font-size:22px; line-height:1; cursor:pointer; padding:0;
}
.bag-drawer-body{flex:1; overflow-y:auto; padding:24px 28px; display:flex; flex-direction:column;}
.drawer-items{display:flex; flex-direction:column; gap:20px; margin-bottom:24px;}
.drawer-item{display:flex; gap:16px;}
.drawer-item-img{width:70px; height:92px; flex-shrink:0; background:var(--charcoal); overflow:hidden;}
.drawer-item-img img{width:100%; height:100%; object-fit:cover; display:block;}
.drawer-item-name{font-size:14px; color:var(--paper); margin-bottom:6px;}
.drawer-item-meta{font-size:12px; color:rgba(237,231,221,0.5); margin-bottom:8px;}
.drawer-item-price{font-size:13px; color:var(--gold);}
.drawer-footer{margin-top:auto; padding-top:20px; border-top:1px solid var(--line);}
.drawer-subtotal{display:flex; justify-content:space-between; font-size:15px; margin-bottom:20px;}
.drawer-subtotal strong{color:var(--gold);}
.drawer-empty{text-align:center; padding:60px 0; color:rgba(237,231,221,0.6);}
@media (max-width:480px){
  .bag-drawer{max-width:100%;}
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}

/* ===== ADMIN ===== */
.admin-header{border-bottom:1px solid var(--line); padding:22px 0; margin-bottom:48px;}
.admin-header .wrap{display:flex; justify-content:space-between; align-items:center;}
.admin-nav{display:flex; gap:28px; font-size:13px; letter-spacing:0.06em; align-items:center;}
.admin-nav a{color:rgba(237,231,221,0.7);}
.admin-nav a:hover, .admin-nav a.active{color:var(--gold);}
.admin-main{padding-bottom:120px;}
.admin-title-row{display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; flex-wrap:wrap; gap:16px;}
.btn-gold{display:inline-block; padding:12px 24px; background:var(--gold); color:var(--black); font-size:13px; letter-spacing:0.1em; text-transform:uppercase; border:none; cursor:pointer; font-family:'Inter',sans-serif;}
.btn-gold:hover{background:var(--paper);}
.btn-ghost{display:inline-block; padding:11px 22px; background:none; color:rgba(237,231,221,0.75); font-size:13px; letter-spacing:0.08em; border:1px solid var(--line); cursor:pointer; font-family:'Inter',sans-serif;}
.btn-ghost:hover{border-color:var(--gold); color:var(--gold);}
.btn-danger{background:none; border:none; color:#B5555A; font-size:13px; text-decoration:underline; cursor:pointer; font-family:'Inter',sans-serif;}
.admin-table{width:100%; border-collapse:collapse; font-size:14px;}
.admin-table th{text-align:left; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(237,231,221,0.5); padding:12px 16px; border-bottom:1px solid var(--line);}
.admin-table td{padding:16px; border-bottom:1px solid var(--line); vertical-align:middle;}
.admin-table tr:hover td{background:rgba(237,231,221,0.03);}
.pill{display:inline-block; padding:4px 10px; font-size:11px; letter-spacing:0.06em; text-transform:uppercase; border:1px solid var(--line);}
.pill-in{color:#8FBF8F; border-color:#3E5C3E;}
.pill-out{color:#C97D80; border-color:#5C3E3E;}
.admin-flash{background:var(--charcoal); border:1px solid var(--gold); color:var(--paper); padding:14px 18px; margin-bottom:28px; font-size:14px;}
.admin-form{max-width:640px;}
.admin-form .field{margin-bottom:22px;}
.admin-form label{display:block; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:rgba(237,231,221,0.55); margin-bottom:8px;}
.admin-form input, .admin-form select, .admin-form textarea{
  width:100%; background:transparent; border:1px solid var(--line); color:var(--paper);
  font-family:'Inter',sans-serif; font-size:15px; padding:12px 14px;
}
.admin-form textarea{resize:vertical; min-height:100px;}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus{outline:none; border-color:var(--gold);}
.admin-form .hint{font-size:12px; color:rgba(237,231,221,0.4); margin-top:6px;}
.admin-form .row-2{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.admin-form select{appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23B08D57'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center;}
.checkbox-row{display:flex; align-items:center; gap:10px;}
.checkbox-row input{width:auto;}
@media (max-width:700px){
  .admin-table{font-size:13px;}
  .admin-form .row-2{grid-template-columns:1fr;}
}

/* ===== ADMIN: colors + image manager ===== */
.color-row{display:flex; align-items:center; gap:10px; margin-bottom:10px;}
.color-row input[type="color"]{width:48px; height:42px; padding:2px; cursor:pointer; flex-shrink:0;}
.color-row input[type="text"]{flex:1;}
.image-manager{display:flex; flex-wrap:wrap; gap:14px;}
.image-manager-item{position:relative; width:110px; height:140px; background:var(--charcoal); border:1px solid var(--line); overflow:hidden;}
.image-manager-item img{width:100%; height:100%; object-fit:cover; display:block;}
.image-manager-item form{position:absolute; top:6px; right:6px;}
.image-remove-btn{
  width:24px; height:24px; border-radius:50%; border:none; background:rgba(14,13,12,0.85); color:var(--paper);
  font-size:16px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.image-remove-btn:hover{background:var(--oxblood);}

/* ===== EDITORIAL TILES (Signature Edit section) ===== */
.editorial-tile{
  position:relative;
  display:block;
  overflow:hidden;
  background:var(--charcoal);
}
.editorial-tile img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.editorial-tile:hover img{transform:scale(1.045);}
.editorial-tag{
  position:absolute; left:20px; bottom:20px;
  font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--paper); background:rgba(14,13,12,0.6); backdrop-filter:blur(6px);
  padding:8px 14px;
}
