:root{
  --ink:#201D1D; --muted:#746C67; --line:#E4DACE; --bg:#F8F5EF;
  --soft:#EFE8DE; --accent:#8E2949; --accent-d:#75203B; --nude:#C5A995;
  --powder:#EFE6DB; --powder2:#E3D3C3; --beige:#EAE1D7;
  --ok:#2e7d5b; --radius:12px; --shadow:0 6px 22px rgba(32,29,29,.06);
  --maxw:1240px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Manrope',-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);
  background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--accent);color:#fff;padding:13px 26px;border-radius:8px;
  font-weight:700;font-size:15px;transition:.2s;white-space:nowrap}
.btn:hover{background:var(--accent-d)}
.btn.ghost{background:transparent;color:var(--accent);border:1.5px solid var(--accent)}
.btn.ghost:hover{background:var(--accent);color:#fff}
.btn.block{width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed}

/* top bar */
.topbar{background:var(--ink);color:#fff;font-size:13px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:38px;gap:16px}
.topbar a{opacity:.85}.topbar a:hover{opacity:1}
.topbar .tb-r{display:flex;gap:20px}
@media(max-width:720px){.topbar .tb-hide{display:none}}

/* header */
.header{position:sticky;top:0;z-index:40;background:rgba(248,245,239,.92);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header .wrap{display:flex;align-items:center;gap:26px;height:76px}
.logo{display:flex;flex-direction:column;line-height:1;flex-shrink:0}
.logo b{font-family:'Playfair Display',serif;font-weight:600;font-size:26px;letter-spacing:.5px}
.logo b span{color:var(--accent)}
.logo small{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:var(--muted);margin-top:3px}
.search{flex:1;display:flex;align-items:center;background:var(--soft);
  border:1px solid var(--line);border-radius:10px;padding:0 18px;height:46px;max-width:520px}
.search input{border:none;background:none;outline:none;flex:1;font-size:15px;color:var(--ink)}
.icons{display:flex;align-items:center;gap:8px;margin-left:auto}
.iconbtn{position:relative;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  color:var(--ink);transition:.15s}
.iconbtn:hover{background:var(--soft)}
.iconbtn svg{width:22px;height:22px}
.badge{position:absolute;top:4px;right:4px;background:var(--accent);color:#fff;
  font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:9px;
  display:grid;place-items:center;padding:0 5px}
.burger{display:none}

/* nav */
.nav{border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;gap:30px;height:52px;align-items:center;overflow-x:auto}
.nav a{font-size:14.5px;font-weight:600;color:var(--ink);white-space:nowrap;position:relative;
  padding:4px 0;opacity:.82;transition:.15s}
.nav a:hover,.nav a.active{opacity:1;color:var(--accent)}
.nav a.strong{color:var(--accent)}
@media(max-width:900px){
  .search{display:none}
  .nav{display:none}
  .burger{display:grid}
}

/* hero */
.hero{background:linear-gradient(120deg,#F8F5EF,#EAE1D7 60%,#EFE6DB);position:relative;overflow:hidden}
.hero .wrap{display:flex;align-items:center;gap:40px;padding:56px 20px;min-height:380px}
.hero-txt{flex:1;max-width:560px}
.hero-txt .kicker{color:var(--accent);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:13px}
.hero-txt h1{font-family:'DM Serif Display','Playfair Display',serif;font-weight:400;font-size:54px;line-height:1.05;letter-spacing:-0.02em;margin:14px 0 16px}
.hero-txt p{font-size:17px;color:var(--muted);margin:0 0 26px;max-width:460px}
.hero-badges{display:flex;gap:22px;margin-top:26px;flex-wrap:wrap}
.hero-badges div{font-size:13px;color:var(--muted)}
.hero-badges b{display:block;font-size:22px;color:var(--ink);font-family:'DM Serif Display','Playfair Display',serif}
.hero-art{flex:1;display:flex;justify-content:center;gap:14px}
.hero-art img{width:190px;height:250px;object-fit:cover;border-radius:18px;box-shadow:var(--shadow)}
.hero-art img:nth-child(2){margin-top:36px}
@media(max-width:900px){.hero-txt h1{font-size:48px}.hero-art{display:none}}
@media(max-width:480px){.hero-txt h1{font-size:46px;line-height:1.04}}

/* section */
section{padding:56px 0}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px;gap:16px;flex-wrap:wrap}
.sec-head h2{font-family:'DM Serif Display','Playfair Display',serif;font-weight:400;font-size:38px;letter-spacing:-0.01em;margin:0}
.sec-head p{margin:6px 0 0;color:var(--muted)}

/* chips */
.chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.chip{padding:9px 18px;border-radius:8px;border:1px solid var(--line);font-size:14px;
  font-weight:600;color:var(--muted);transition:.15s;background:#fff}
.chip:hover{border-color:var(--nude);color:var(--accent)}
.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}

/* grid */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
@media(max-width:1000px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.grid{grid-template-columns:repeat(2,1fr);gap:14px}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;transition:.2s}
.card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.card .ph{position:relative;aspect-ratio:1/1;background:var(--soft);overflow:hidden;cursor:pointer}
.card .ph img{width:100%;height:100%;object-fit:cover;transition:.4s}
.card:hover .ph img{transform:scale(1.05)}
.card .fav{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,.9);display:grid;place-items:center;color:#999}
.card .fav:hover,.card .fav.on{color:var(--accent)}
.tag{position:absolute;top:10px;left:10px;background:var(--accent);color:#fff;font-size:11px;
  font-weight:600;padding:4px 10px;border-radius:6px}
.card .body{padding:14px 15px 16px;display:flex;flex-direction:column;flex:1}
.card .cat{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:6px}
.card .nm{font-size:14.5px;font-weight:600;line-height:1.35;margin-bottom:10px;min-height:38px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .price{display:flex;align-items:baseline;gap:8px;margin-top:auto}
.card .price b{font-size:19px;font-weight:700}
.card .price s{color:var(--muted);font-size:14px}
.card .add{margin-top:12px}
.card .add button{width:100%;background:var(--soft);color:var(--ink);border:1.5px solid var(--line);
  border-radius:8px;padding:11px;font-weight:700;font-size:14px;transition:.15s}
.card .add button:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

/* promo strip */
.promo{background:var(--soft)}
.promo .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:36px 20px}
.promo .it{display:flex;gap:12px;align-items:flex-start}
.promo .it svg{width:26px;height:26px;color:var(--accent);flex-shrink:0}
.promo .it b{display:block;font-size:15px;margin-bottom:2px}
.promo .it span{font-size:13px;color:var(--muted)}
@media(max-width:820px){.promo .wrap{grid-template-columns:repeat(2,1fr)}}

/* marketplace */
.mp{text-align:center}
.mp .wrap{padding:20px}
.mp-logos{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.mp-logos a{padding:14px 30px;border:1px solid var(--line);border-radius:8px;font-weight:600;font-size:16px}
.mp-logos a:hover{border-color:var(--accent);color:var(--accent)}

/* footer */
footer{background:var(--ink);color:#cfcfcf;padding:52px 0 28px;margin-top:20px}
.f-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}
footer h4{color:#fff;font-size:14px;margin:0 0 14px;text-transform:uppercase;letter-spacing:1px}
footer a,footer p{display:block;color:#b6b6b6;font-size:14px;margin-bottom:9px}
footer a:hover{color:#fff}
.f-logo b{font-family:'Playfair Display',serif;font-weight:600;font-size:24px;color:#fff}
.f-logo b span{color:var(--accent)}
.f-bot{border-top:1px solid #333;margin-top:34px;padding-top:20px;font-size:13px;color:#888;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
@media(max-width:820px){.f-grid{grid-template-columns:1fr 1fr}}

/* drawer + modal */
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;
  transition:.25s;z-index:60}
.overlay.show{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;height:100%;width:420px;max-width:92vw;background:#fff;
  z-index:70;transform:translateX(100%);transition:.3s;display:flex;flex-direction:column}
.drawer.show{transform:none}
.drawer h3{font-family:'DM Serif Display','Playfair Display',serif;font-weight:400;font-size:24px;margin:0}
.drawer .dh{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}
.drawer .dh button{font-size:26px;color:#999;line-height:1}
.cart-items{flex:1;overflow-y:auto;padding:8px 24px}
.ci{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.ci img{width:74px;height:74px;object-fit:cover;border-radius:10px;background:var(--soft)}
.ci .ci-b{flex:1;min-width:0}
.ci .ci-nm{font-size:14px;font-weight:600;line-height:1.3;margin-bottom:4px}
.ci .ci-pr{color:var(--accent);font-weight:700}
.ci .rm{color:#bbb;font-size:13px;margin-top:4px}
.ci .rm:hover{color:var(--accent)}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;margin-top:8px}
.qty button{width:30px;height:30px;font-size:17px;color:var(--ink)}
.qty span{min-width:28px;text-align:center;font-weight:700;font-size:14px}
.cart-foot{padding:20px 24px 26px;border-top:1px solid var(--line)}
.cart-foot .row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:15px}
.cart-foot .row.total{font-size:20px;font-weight:700;margin:14px 0 18px}
.empty{text-align:center;color:var(--muted);padding:60px 20px}
.empty svg{width:54px;height:54px;color:var(--line);margin-bottom:14px}

.modal{position:fixed;inset:0;z-index:80;display:none;place-items:center;padding:20px}
.modal.show{display:grid}
.modal .box{background:#fff;border-radius:18px;max-width:520px;width:100%;padding:30px;
  max-height:90vh;overflow-y:auto;position:relative;z-index:81}
.modal .box h3{font-family:'DM Serif Display','Playfair Display',serif;font-weight:400;font-size:26px;margin:0 0 6px}
.modal .box .sub{color:var(--muted);margin:0 0 22px}
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--muted)}
.field input{width:100%;padding:13px 15px;border:1.5px solid var(--line);border-radius:10px;
  font-size:15px;font-family:inherit;outline:none}
.field input:focus{border-color:var(--accent)}
.pay-row{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 18px}
.pay-opt{flex:1;min-width:120px;border:1.5px solid var(--line);border-radius:10px;padding:12px;
  text-align:center;font-weight:600;font-size:13px;cursor:pointer}
.pay-opt.on{border-color:var(--accent);background:var(--powder)}
.modal .close{position:absolute;top:16px;right:18px;font-size:26px;color:#aaa;z-index:82}
.note{background:var(--powder);border:1px solid var(--powder2);color:var(--accent-d);font-size:13px;
  padding:12px 14px;border-radius:10px;margin-top:8px}
.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--ink);color:#fff;padding:14px 24px;border-radius:100px;font-weight:600;
  z-index:90;opacity:0;transition:.3s;box-shadow:var(--shadow)}
.toast.show{opacity:1;transform:translateX(-50%)}

/* page stubs */
.page{display:none;padding:50px 0;min-height:50vh}
.page.show{display:block}
.page h1{font-family:'DM Serif Display','Playfair Display',serif;font-weight:400;font-size:44px;letter-spacing:-0.02em;margin:0 0 8px}
.page .lead{color:var(--muted);font-size:17px;margin-bottom:30px}
.stub{background:var(--soft);border:1px dashed #ddd;border-radius:var(--radius);padding:40px;
  text-align:center;color:var(--muted)}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.info-grid .b{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.info-grid .b h3{margin:0 0 10px;font-size:18px}
.info-grid .b p{margin:0;color:var(--muted);font-size:14.5px}
@media(max-width:720px){.info-grid{grid-template-columns:1fr}}
