/* Modern theme – loaded after style.css when Admin → Appearance → Modern is chosen */
.theme-modern{--bg:#fff;--line:#ece7e1;--radius:14px;--serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;--dark:#1d1a17}
.theme-modern body,body.theme-modern{background:var(--bg);-webkit-font-smoothing:antialiased}
.theme-modern h1,.theme-modern h2,.theme-modern .brand,.theme-modern .fbrand{font-family:var(--serif);font-weight:600;letter-spacing:-.01em}
.theme-modern .top{background:rgba(255,255,255,.9);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom-color:var(--line)}
.theme-modern .brand{font-size:24px}
.theme-modern .topsearch{flex:1;max-width:380px}.theme-modern .topsearch input{border-radius:99px;background:#f5f2ee;border-color:transparent;padding:8px 16px}
.theme-modern .topsearch input:focus{background:#fff;border-color:var(--line);outline:none}
.theme-modern nav{gap:18px}.theme-modern nav a{font-size:14px;font-weight:500}
.theme-modern .btn{border-radius:99px;padding:11px 22px}.theme-modern .btn.sm{padding:7px 14px}
.theme-modern .card{border-radius:var(--radius)}
.theme-modern input,.theme-modern select,.theme-modern textarea{border-radius:10px}

/* hero */
.area-shop.theme-modern main.wrap{padding-top:32px}
.mhero{position:relative;margin:-32px calc(50% - var(--half-vw,50vw)) 28px;padding:72px max(16px,calc(var(--half-vw,50vw) - 534px)) 64px;color:#fff;
  background:radial-gradient(circle at 85% 20%,color-mix(in srgb,var(--accent) 55%,transparent),transparent 55%),linear-gradient(135deg,#1d1a17 0%,#3a2c22 60%,#5a3e2c 100%);overflow:hidden}
.mhero.has-img{background-size:cover;background-position:center;min-height:540px;display:flex;align-items:flex-end}
.mhero.has-img:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,16,12,.78) 0%,rgba(20,16,12,.45) 50%,rgba(20,16,12,.05) 100%)}
.mhero-in{position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;width:100%}
.mhero.has-img .mhero-in{grid-template-columns:1fr}
.mhero-text{max-width:600px}
.mhero .eyebrow{display:inline-block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.85;border:1px solid rgba(255,255,255,.35);border-radius:99px;padding:5px 12px;margin-bottom:18px}
.mhero h1{font-size:clamp(34px,5vw,58px);line-height:1.05;margin:0 0 16px;color:#fff}
.mhero p{font-size:18px;line-height:1.55;opacity:.88;margin:0 0 26px;max-width:520px}
.herosearch{display:flex;background:#fff;border-radius:99px;padding:6px;max-width:500px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.herosearch input{border:0;background:transparent;padding:10px 16px;color:var(--ink)}.herosearch input:focus{outline:none}
.mhero .credit{position:absolute;right:16px;bottom:10px;font-size:11px;opacity:.75}.mhero .credit a{color:#fff;text-decoration:underline}
.collage{position:relative;height:380px}
.collage a{position:absolute;width:52%;background:#fff;border-radius:16px;padding:8px 8px 10px;box-shadow:0 18px 40px rgba(0,0,0,.35);color:var(--ink);transition:transform .25s}
.collage a:hover{text-decoration:none;transform:translateY(-6px) rotate(0)!important}
.collage .ph{border-radius:10px;aspect-ratio:1}.collage span{display:block;font-size:12px;margin-top:7px;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collage .c0{left:0;top:40px;transform:rotate(-5deg);z-index:2}.collage .c1{left:30%;top:0;transform:rotate(3deg);z-index:3}.collage .c2{right:0;top:120px;transform:rotate(7deg);z-index:1}

/* sections */
.theme-modern .chips{justify-content:center;margin:0 0 8px}
.theme-modern .chip{padding:8px 16px;background:#f5f2ee;border-color:transparent;font-weight:500}.theme-modern .chip.on{background:var(--dark);color:#fff}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;margin:40px 0 16px}.sec-head h2{font-size:30px;margin:0}
.mgrid{grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:28px 22px}
.theme-modern .prod{border:0;background:transparent;border-radius:0;overflow:visible}
.theme-modern .prod .ph{border-radius:var(--radius);aspect-ratio:4/5;background-color:#f3efea}
.theme-modern .prod .ph img{transition:transform .5s ease}.theme-modern .prod:hover .ph img{transform:scale(1.05)}
.theme-modern .prod .body{padding:12px 2px 0}.theme-modern .prod h3{font-size:15px;font-weight:600;margin:0 0 2px}
.theme-modern .prod .price{font-size:15px}

.makers{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:22px}
.maker-card{display:block;border-radius:18px;overflow:hidden;background:#faf8f5;color:var(--ink);transition:transform .2s,box-shadow .2s}
.maker-card:hover{text-decoration:none;transform:translateY(-4px);box-shadow:0 16px 36px rgba(40,28,18,.12)}
.maker-card .cover{aspect-ratio:16/8;background-size:cover;background-position:center}
.maker-card .mbody{padding:0 20px 20px;position:relative}.maker-card h3{font-family:var(--serif);font-size:21px;margin:8px 0 0}
.maker-card p{margin:8px 0 10px;color:#5d544c}
.mav{width:58px;height:58px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font:600 24px var(--serif);border:4px solid #faf8f5;margin-top:-29px}
.mav.big{width:96px;height:96px;font-size:40px;border-color:#fff;margin-top:0;flex:none}

.values{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:56px 0 0;padding:34px;background:#f7f3ee;border-radius:20px}
.values div{display:grid;gap:6px}.values strong{font-family:var(--serif);font-size:19px}.values span{color:var(--muted);font-size:14px}
.sellband{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin:28px 0 8px;padding:38px 40px;border-radius:20px;color:#fff;
  background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--accent) 70%,transparent),transparent 60%),var(--dark)}
.sellband h2{margin:0 0 6px;font-size:30px;color:#fff}.sellband p{margin:0;opacity:.85}.sellband .btn{background:#fff;color:var(--dark)}

/* store page */
.storehead{margin:0 0 8px}
.scover{height:300px;border-radius:22px;background-size:cover;background-position:center}
.sinfo{display:flex;gap:18px;align-items:flex-end;margin:-48px 0 0 28px;position:relative}.sinfo h1{margin:0 0 2px;font-size:34px}
.sinfo .mav.big{box-shadow:0 8px 20px rgba(0,0,0,.15)}.sinfo>div:last-child{padding-top:56px}
.sbio{max-width:720px;font-size:17px;line-height:1.6;color:#4d453e;margin:18px 0 24px}

/* product page */
.theme-modern .pmain{border:0;border-radius:18px}.theme-modern .pmain .ph{aspect-ratio:1}
.theme-modern .thumbs img{border-radius:10px}

/* footer */
.bigfoot{background:var(--dark);color:#cfc6bc;border:0;margin-top:24px;padding:52px 0 20px}
.fcols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}
.fcols h4{color:#fff;margin:0 0 12px;font-size:13px;text-transform:uppercase;letter-spacing:.1em}
.fcols a,.fcols span{display:block;color:#cfc6bc;margin-bottom:8px;font-size:14px}.fcols a:hover{color:#fff}
.fbrand{font-size:24px;color:#fff;margin-bottom:8px}.fcols p{font-size:14px;max-width:320px;margin:0}
.fsmall{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:16px;font-size:12px;color:#9a9087}

@media(max-width:900px){.mhero-in{grid-template-columns:1fr}.collage{display:none}.values{grid-template-columns:1fr}.fcols{grid-template-columns:1fr 1fr}}
@media(max-width:600px){
  .mhero{padding-top:44px;padding-bottom:40px}.mhero.has-img{min-height:440px}.mhero p{font-size:16px}
  .mgrid{grid-template-columns:1fr 1fr;gap:20px 12px}.sec-head h2{font-size:24px}
  .theme-modern .topsearch{order:3;max-width:none;flex-basis:100%;margin-bottom:10px}
  .theme-modern .chips{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.theme-modern .chip{white-space:nowrap}
  .scover{height:180px;border-radius:16px}.sinfo{margin-left:12px}.sinfo>div:last-child{padding-top:44px}.mav.big{width:72px;height:72px;font-size:30px}.sinfo h1{font-size:26px}
  .sellband{padding:28px 24px}.fcols{grid-template-columns:1fr}}

/* dark mode */
[data-mode=dark] .theme-modern{--bg:#121110;--line:#2f2a26}
[data-mode=dark] .theme-modern .top{background:rgba(18,17,16,.88)}
[data-mode=dark] .theme-modern .topsearch input,[data-mode=dark] .theme-modern .chip,[data-mode=dark] .theme-modern .prod .ph{background-color:#221e1b}
[data-mode=dark] .theme-modern .topsearch input:focus{background:var(--card)}
[data-mode=dark] .theme-modern .chip.on{background:var(--ink);color:var(--bg)}
[data-mode=dark] .herosearch,[data-mode=dark] .collage a{background:var(--card)}[data-mode=dark] .herosearch input{background:transparent}
[data-mode=dark] .maker-card,[data-mode=dark] .values{background:#1c1916}[data-mode=dark] .maker-card p,[data-mode=dark] .sbio{color:var(--muted)}
[data-mode=dark] .mav{border-color:#1c1916}[data-mode=dark] .mav.big{border-color:var(--bg)}
[data-mode=dark] .sellband{background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--accent) 75%,transparent),transparent 65%),linear-gradient(135deg,#2e2722,#3a2f27);box-shadow:0 10px 30px rgba(0,0,0,.35)}
[data-mode=dark] .values{background:#221e1a}
[data-mode=dark] .bigfoot{background:#0c0b0a;border-top:1px solid var(--line)}
@media(max-width:480px){.theme-modern .brand{font-size:20px}}
.area-shop.theme-modern main.wrap{padding-bottom:32px}.sellband{margin-bottom:0}
