/* Header, footer and phone bottom bar shared by every page except the home page (netlify/lib/chrome.mjs).
   Matches the home page header (site.css). All class names start with sg- so page styles never clash. */
.sg-head{position:sticky;top:0;z-index:30;background:rgba(251,247,240,.95);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid #E4D8C4;font-family:Inter,"Inter Fallback",system-ui,sans-serif}
.sg-wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.sg-nav{display:flex;align-items:center;justify-content:space-between;height:70px;gap:24px}
.sg-brand{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none;color:#1E1A16}
.sg-mark{width:46px;height:46px;border-radius:50%;flex:none;display:block}
.sg-logo{font-family:"Cormorant Garamond","Cormorant Fallback",Georgia,serif;font-size:25px;font-weight:600;letter-spacing:.02em;display:flex;flex-direction:column;line-height:1;white-space:nowrap}
.sg-logo .ln1{color:#1E1A16}.sg-logo .ln1 span{color:#8A6224}
.sg-logo small{font-family:Inter,sans-serif;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:#6E655B;font-weight:500;margin-top:5px}
.sg-menu{display:flex;gap:26px;list-style:none;margin:0 0 0 auto;padding:0;font-size:14px;align-items:center}
.sg-menu a,.sg-dd>button{color:#1E1A16;text-decoration:none;white-space:nowrap;padding:6px 0;font:inherit;background:none;border:0;cursor:pointer;display:block;line-height:inherit}
.sg-menu a:hover,.sg-dd>button:hover{color:#B8893B}
.sg-menu a.on{color:#5A1A22;font-weight:600;box-shadow:inset 0 -2px 0 #B8893B}
.sg-dd{position:relative}
.sg-dd-menu{display:none;position:absolute;top:100%;left:-14px;flex-direction:column;min-width:190px;padding:6px;margin:6px 0 0;list-style:none;background:#fff;border:1px solid #E4D8C4;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.08);z-index:60}
.sg-dd-menu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.sg-dd:hover .sg-dd-menu,.sg-dd:focus-within .sg-dd-menu{display:flex}
.sg-dd-menu a{padding:9px 10px;border-radius:8px}
.sg-dd-menu a:hover{background:#F3EBDD;color:#1E1A16}
.sg-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border-radius:999px;font-size:14px;font-weight:600;white-space:nowrap;text-decoration:none;font-family:Inter,sans-serif}
.sg-btn-main{background:#5A1A22;color:#fff}.sg-btn-main:hover{background:#43121a}

.sg-foot{margin-top:56px;padding:36px 0 30px;border-top:1px solid #E4D8C4;font-family:Inter,"Inter Fallback",system-ui,sans-serif;font-size:14px;color:#6E655B;line-height:1.6}
.sg-foot a{color:inherit}
.sg-foot-top{display:flex;gap:14px;align-items:center}
.sg-foot-top b{color:#1E1A16}
.sg-foot-links{display:flex;gap:6px 18px;flex-wrap:wrap;margin-top:18px}
.sg-foot-links a{color:#5A1A22;font-weight:600;text-decoration:none;padding:4px 0}
.sg-foot-legal{display:flex;gap:6px 16px;flex-wrap:wrap;margin-top:8px;font-size:12.5px}
.sg-foot-legal a{text-decoration:underline;text-underline-offset:3px;padding:4px 0}
.sg-copy{margin-top:14px;font-size:12.5px}
.sg-tabbar{display:none}

@media(max-width:1040px){.sg-logo{display:none}.sg-menu{gap:18px}}
@media(max-width:760px){
  .sg-nav{height:62px}
  .sg-menu{display:none}
  .sg-logo{display:flex;font-size:19px;line-height:1.02;white-space:normal}
  .sg-logo .ln1 span{display:block}
  .sg-logo small{display:none}
  .sg-mark{width:40px;height:40px}
  .sg-btn{padding:9px 14px;font-size:13px}
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
  .sg-tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:46;background:rgba(255,255,255,.98);border-top:1px solid #E4D8C4;padding:4px 4px calc(4px + env(safe-area-inset-bottom));font-family:Inter,sans-serif}
  .sg-tabbar a,.sg-tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:54px;font-size:12px;font-weight:600;color:#6E655B;text-decoration:none;border:0;background:none;font-family:inherit;position:relative;cursor:pointer}
  .sg-tabbar b{position:absolute;top:3px;left:calc(50% + 6px);background:#B8893B;color:#fff;border-radius:999px;min-width:18px;height:18px;font-size:11px;display:grid;place-items:center;padding:0 5px}
  .sg-tabbar b[hidden]{display:none}
  body.pv-on .sg-tabbar{display:none}
  .sg-tabbar svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .sg-foot{margin-top:40px}
}

/* phone "More" sheet (more-menu.js), same as home */
.more-sheet{position:fixed;inset:0;z-index:80;display:none;font-family:Inter,sans-serif}
.more-sheet.on{display:block}
.more-sheet .bg{position:absolute;inset:0;background:rgba(20,10,8,.4)}
.more-sheet .box{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:18px 18px 0 0;padding:10px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px rgba(0,0,0,.15)}
.more-sheet .grip{width:40px;height:4px;border-radius:4px;background:#E4D8C4;margin:4px auto 12px}
.more-sheet a{display:flex;align-items:center;gap:12px;padding:13px 6px;border-bottom:1px solid #E4D8C4;font-weight:600;font-size:15px;color:#1E1A16;text-decoration:none}
.more-sheet a:last-child{border-bottom:0}
.more-sheet svg{width:22px;height:22px;fill:none;stroke:#5A1A22;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* design viewer on collection pages (page-app.js) */
body.pv-on{overflow:hidden}
.pv{position:fixed;inset:0;z-index:90;font-family:Inter,sans-serif}
.pv[hidden]{display:none}
.pv-bg{position:absolute;inset:0;background:rgba(20,10,8,.75)}
.pv-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(440px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:auto;background:#fff;border-radius:16px;padding:12px}
.pv-x{position:absolute;top:8px;right:8px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:28px;line-height:1;cursor:pointer;color:#1E1A16}
.pv-media{background:#F3EBDD;border-radius:12px;overflow:hidden;aspect-ratio:3/4;display:grid;place-items:center}
.pv-media video,.pv-media img{width:100%;height:100%;object-fit:contain;display:block}
.pv-info{padding:12px 4px 4px;font-size:15px;color:#6E655B}
.pv-info b{display:block;font-size:18px;color:#1E1A16}
.pv-sold{display:block;margin-top:6px;color:#8A6224;font-style:normal;font-weight:600}
.pv-acts{display:flex;gap:8px;margin-top:10px}
.pv-acts>*{flex:1;height:48px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;text-decoration:none;border:0;cursor:pointer;font-family:inherit}
.pv-add{background:#5A1A22;color:#fff}.pv-add.on{background:#F3EBDD;color:#5A1A22}
.pv-wa{background:#0F7A3F;color:#fff}
.pv-go{display:block;text-align:center;margin-top:10px;padding:10px;font-weight:600;color:#5A1A22}
