:root{
  --cream:#F5F1E9;
  --ink:#11100f;
  --gold:#caa24b;
}
*{box-sizing:border-box}
html{background:var(--cream)}
body{
  margin:0;
  min-width:320px;
  background:var(--cream);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  font-family:Montserrat,Arial,sans-serif;
}
a{text-decoration:none;color:inherit}
button{font:inherit}
.page-shell{
  width:min(100%, 560px);
  margin:0 auto;
  min-height:100svh;
  background:var(--cream);
}
.topbar{
  height:124px;
  display:grid;
  grid-template-columns:58px 1fr 58px;
  align-items:center;
  padding:calc(10px + env(safe-area-inset-top)) 22px 8px;
  background:var(--cream);
}
.icon-btn,.bag-btn{
  width:48px;
  height:48px;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  color:var(--ink);
}
.menu-btn{
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  justify-self:start;
}
.menu-btn span{
  display:block;
  width:28px;
  height:1.5px;
  background:var(--ink);
  border-radius:2px;
}
.bag-btn{justify-self:end}
.bag-btn svg{
  width:27px;
  height:30px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.wordmark{
  justify-self:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1;
  transform:translateY(1px);
}
.fleur{
  font-family:Georgia,serif;
  color:var(--gold);
  font-size:34px;
  line-height:.75;
  height:30px;
}
.brand-name{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:34px;
  font-weight:600;
  letter-spacing:.025em;
  margin-top:2px;
}
.brand-sub{
  display:grid;
  grid-template-columns:40px auto 40px;
  gap:8px;
  align-items:center;
  font-size:12px;
  letter-spacing:.34em;
  padding-left:.34em;
  margin-top:1px;
}
.brand-sub i{height:1.5px;display:block}
.brand-sub .blue{background:#1877e8}
.brand-sub .red{background:#ef233c}
.home-content{padding:18px 18px 22px}
.visual-card{
  display:block;
  overflow:hidden;
  border-radius:17px;
  background:#e9dfd2;
  transform:translateZ(0);
  -webkit-tap-highlight-color:transparent;
}
.visual-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-card{
  width:100%;
  aspect-ratio:760 / 648;
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
.category-card{aspect-ratio:1.1 / 1}
.category-card img{object-fit:cover}
.visual-card:active{transform:scale(.993)}

.menu-overlay{
  position:fixed;
  inset:0;
  z-index:50;
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease,visibility .22s ease;
}
.menu-overlay.open{opacity:1;visibility:visible}
.overlay-bg{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(17,16,15,.25);
  backdrop-filter:blur(3px);
}
.menu-panel{
  position:absolute;
  left:0;top:0;bottom:0;
  width:min(82vw,360px);
  padding:calc(22px + env(safe-area-inset-top)) 28px 30px;
  background:var(--cream);
  transform:translateX(-102%);
  transition:transform .28s cubic-bezier(.2,.75,.2,1);
  box-shadow:12px 0 35px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
}
.menu-overlay.open .menu-panel{transform:translateX(0)}
.menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:54px;font-family:"Cormorant Garamond",Georgia,serif;font-size:24px;letter-spacing:.08em}
.menu-head button{border:0;background:transparent;font-size:36px;line-height:1;font-weight:300;cursor:pointer}
.menu-panel>a{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:30px;
  padding:11px 0;
  border-bottom:1px solid rgba(17,16,15,.1);
}

@media (min-width:700px){
  body{padding:24px 0}
  .page-shell{border-radius:44px;overflow:hidden;box-shadow:0 24px 80px rgba(36,25,13,.11)}
  .topbar{height:132px}
  .home-content{padding:20px 20px 22px}
}

/* Clear, readable labels over the original card lettering. */
.hero-card,.category-card{position:relative}


/* Black brand bars on every page. */
.topbar{background:#000;color:#fff}
.topbar .wordmark,.topbar .brand-name,.topbar .brand-sub,.topbar .icon-btn,.topbar .bag-btn{color:#fff}
.topbar .menu-btn span{background:#fff}

/* Fixed card bounds; crop baked-in light margins from banner artwork. */
.hero-card,.category-card{position:relative}
.hero-card img,.category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.category-card img{transform:scale(1.12);transform-origin:center}

/* Approved editorial homepage; existing header styles remain untouched. */
.home-content{background:#F6F3ED;padding:18px 16px 25px}
.hero-card{aspect-ratio:970/434;border-radius:12px;background:#32291d}
.category-grid{gap:14px;margin-top:16px}
.category-card{aspect-ratio:475/424;border-radius:11px;background:#32291d}
.banner-art{position:absolute;inset:0;display:block;background-image:url("assets/home/home-design.png");background-repeat:no-repeat}
.banner-hero{background-size:105.56701031% 353.91705069%;background-position:50.00000000% 13.88384755%}
.banner-men{background-size:215.57894737% 369.23076923%;background-position:4.91803279% 54.73214286%}
.banner-women{background-size:215.57894737% 369.23076923%;background-position:95.08196721% 54.73214286%}
.banner-unisex{background-size:215.57894737% 362.26415094%;background-position:4.91803279% 94.51438849%}
.banner-best{background-size:215.57894737% 362.26415094%;background-position:95.08196721% 94.51438849%}
@media(min-width:700px){.home-content{padding:20px 20px 30px}.category-grid{gap:16px}}

/* The supplied logo is displayed verbatim, with only its empty margins hidden. */
.topbar .original-logo{width:100%;max-width:200px;height:108px;transform:none;display:flex;align-items:center;justify-content:center}
.original-logo svg{width:100%;height:100%;display:block}

/* Natural document flow keeps banners proportional and enables scrolling. */
html,body{height:auto;overflow-x:hidden;overflow-y:auto}
.topbar{height:93px;padding-top:6px;padding-bottom:6px}
.topbar .original-logo{max-width:128px;height:69px}
@media(min-width:700px){.topbar{height:99px}}

/* Match the new photograph exactly; retain its natural bottle proportions. */
.hero-card{aspect-ratio:1877/838}

/* Classic social footer, used only on the homepage. */
.social-footer{min-height:88px;background:#000;display:flex;align-items:center;justify-content:center;gap:28px;padding:18px 20px calc(18px + env(safe-area-inset-bottom))}
.social-footer a{width:44px;height:44px;border:1px solid rgba(202,162,75,.72);border-radius:50%;display:grid;place-items:center;color:#fff;transition:color .18s,border-color .18s,transform .18s}
.social-footer a:active{color:#CAA24B;border-color:#CAA24B;transform:scale(.96)}
.social-footer svg{width:22px;height:22px;display:block;fill:currentColor;stroke:none}
.social-footer a[aria-label="Instagram"] svg{fill:none;stroke:currentColor;stroke-width:1.7}
.social-footer a[aria-label="Instagram"] .social-dot{fill:currentColor;stroke:none}
@media(hover:hover){.social-footer a:hover{color:#CAA24B;border-color:#CAA24B}}

/* Desktop-only layout. Mobile rules above remain the source of truth. */
@media(min-width:1024px){
  body{padding:28px 0 44px}
  .page-shell{width:min(calc(100% - 48px),1200px);border-radius:28px}
  .topbar{grid-template-columns:72px 1fr 72px;padding-left:32px;padding-right:32px}
  .home-content{padding:28px 32px 38px}
  .category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:20px}
  .category-card{aspect-ratio:475/424}
  .visual-card{transition:transform .2s ease,box-shadow .2s ease}
  .visual-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(36,25,13,.14)}
  .social-footer{min-height:94px;gap:34px}
}
