/* Glimpses of Glory: shared styles for the home page and every category page. */
:root { --cream:#fbf7f0; --gold:#b8893b; --deep:#3d2c4e; --text:#4a4458; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:'Lato',sans-serif; color:var(--text); text-align:center;
       background: radial-gradient(circle at 50% 0%, #fff 0%, var(--cream) 55%, #f1e7d6 100%); min-height:100vh; }
header { padding:40px 20px 10px; }
header img { width:220px; max-width:70%; height:auto; }
.tag { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.3rem; color:var(--gold); margin-top:6px; }
h2.section { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:2rem; color:var(--deep); margin:44px 0 6px; }
.divider { width:70px; height:2px; background:var(--gold); opacity:.6; margin:0 auto 30px; }
.grid { display:flex; flex-wrap:wrap; justify-content:center; gap:26px; max-width:1100px; margin:0 auto; padding:0 24px; }
.cat, .prod { flex:0 1 240px; background:#fff; border:1px solid #eadfcb; border-radius:16px; overflow:hidden; text-decoration:none; color:inherit;
       box-shadow:0 8px 30px rgba(61,44,78,.07); transition:transform .2s, box-shadow .2s; }
.cat:hover, .prod:hover { transform:translateY(-4px); box-shadow:0 14px 36px rgba(61,44,78,.13); }
.cat .img { aspect-ratio:1/1; background:url('../placeholder.jpg') center/cover; position:relative; }
.cat .img span { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); background:rgba(255,255,255,.85);
                 padding:4px 12px; border-radius:999px; font-size:.7rem; letter-spacing:2px; text-transform:uppercase; color:var(--deep); white-space:nowrap; }
.cat h3, .prod h3 { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.5rem; color:var(--deep); margin:16px 12px 4px; }
.cat p { font-size:.9rem; line-height:1.5; margin:0 18px 20px; }
.catsec { scroll-margin-top:16px; }
.catsec .intro { max-width:620px; margin:-18px auto 26px; padding:0 24px; font-size:.95rem; line-height:1.6; }
.prod { flex:0 1 260px; display:flex; flex-direction:column; text-align:center; }
.prod .photo { aspect-ratio:1/1; width:100%; object-fit:cover; display:block; background:#f4ede1; }
.prod .desc { font-size:.9rem; line-height:1.5; margin:4px 18px 12px; white-space:pre-line; }
.prod .meta { margin:0 18px 6px; }
.prod .price { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.35rem; color:var(--gold); }
.prod .lead { font-size:.78rem; letter-spacing:1px; text-transform:uppercase; color:#8a8197; margin-top:2px; }
.prod .spacer { flex:1; }
.btn { display:inline-block; margin:12px auto 20px; padding:10px 28px; border-radius:999px; background:var(--deep); color:#fff;
       text-decoration:none; font-size:.8rem; letter-spacing:2px; text-transform:uppercase; font-weight:700; transition:background .2s; }
.btn:hover { background:var(--gold); }
.soon img { display:block; width:170px; height:170px; object-fit:cover; border-radius:12px; margin:2px auto 12px; background:#f4ede1; }
.soon { display:inline-block; padding:14px 26px; border:1px dashed #d9c7a6; border-radius:14px; background:rgba(255,255,255,.7);
        font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.2rem; color:var(--deep); }
.totop { display:block; margin:18px auto 0; font-size:.75rem; letter-spacing:2px; text-transform:uppercase; color:#9a93a6; text-decoration:none; }
.contact { margin:50px 0 0; font-size:.95rem; }
.contact a { color:var(--deep); font-weight:700; text-decoration:none; border-bottom:1px solid var(--gold); }
footer { margin:30px 0 40px; font-size:.75rem; color:#9a93a6; }
@media (max-width:560px) {
  .grid { gap:16px; padding:0 14px; }
  .cat { flex:0 1 calc(50% - 8px); }
  .cat h3 { font-size:1.2rem; margin:10px 8px 2px; }
  .cat p { display:none; }
  .cat .img span { font-size:.6rem; letter-spacing:1px; padding:3px 8px; }
  .prod { flex:1 1 100%; max-width:360px; }
  h2.section { font-size:1.7rem; margin-top:36px; }
}

/* ---- Product gallery ---- */
.prod .ph { display:block; position:relative; cursor:zoom-in; }
.prod .ph .views { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); background:rgba(255,255,255,.88);
                   padding:4px 12px; border-radius:999px; font-size:.68rem; letter-spacing:1.5px; text-transform:uppercase; color:var(--deep); white-space:nowrap; }
.prod h3 a { color:inherit; text-decoration:none; }
.prod h3 a:hover, .prod h3 a:focus-visible { color:var(--gold); }
html.gal-lock, html.gal-lock body { overflow:hidden; }
.gal { position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center; padding:24px;
       background:rgba(43,31,56,.72); }
.gal.open { display:flex; }
.gal [hidden] { display:none !important; }
.gal .box { position:relative; width:100%; max-width:1060px; max-height:calc(100vh - 48px); overflow:auto; border-radius:18px;
            background:radial-gradient(circle at 30% 0%, #fff 0%, var(--cream) 60%, #f1e7d6 100%); box-shadow:0 24px 70px rgba(20,12,30,.45);
            display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); }
.gal .media { padding:22px 0 18px 22px; min-width:0; }
.gal .stage { position:relative; width:100%; aspect-ratio:1/1; max-height:calc(100vh - 230px); background:#f4ede1; border-radius:12px; overflow:hidden;
              touch-action:pan-y; }
.gal .stage img, .gal .stage video, .gal .stage iframe { position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.gal .stage img, .gal .stage video { object-fit:contain; }
.gal .stage video, .gal .stage iframe { background:#1d1526; }
.gal .navb { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; border:1px solid #eadfcb;
             background:rgba(255,255,255,.92); color:var(--deep); font-size:1.5rem; line-height:1; cursor:pointer; z-index:2;
             box-shadow:0 4px 14px rgba(61,44,78,.18); display:flex; align-items:center; justify-content:center; padding-bottom:3px; }
.gal .navb:hover { background:var(--gold); color:#fff; }
.gal .prev { left:10px; } .gal .next { right:10px; }
.gal .cap { min-height:2.4em; margin:10px 0 4px; }
.gal .cap b { display:block; font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:500; font-size:1.3rem; color:var(--deep); }
.gal .cap small { font-size:.7rem; letter-spacing:2px; text-transform:uppercase; color:#8a8197; }
.gal .thumbs { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.gal .thumb { position:relative; width:66px; height:66px; padding:0; border:2px solid transparent; border-radius:10px; overflow:hidden;
              background:#f4ede1; cursor:pointer; opacity:.75; transition:opacity .2s, border-color .2s; }
.gal .thumb:hover { opacity:1; }
.gal .thumb[aria-current="true"] { border-color:var(--gold); opacity:1; }
.gal .thumb img, .gal .thumb video { width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.gal .thumb.vid { background:#3d2c4e; }
.gal .thumb.vid::after { content:''; position:absolute; left:50%; top:50%; width:28px; height:28px; margin:-14px 0 0 -14px; border-radius:50%;
                        background:rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5v5l4-2.5z' fill='%233d2c4e'/%3E%3C/svg%3E") center/16px no-repeat;
                        box-shadow:0 2px 8px rgba(0,0,0,.3); }
.gal .info { padding:44px 30px 28px; display:flex; flex-direction:column; justify-content:center; }
.gal .info h2 { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:2rem; line-height:1.15; color:var(--deep); }
.gal .info .divider { margin:14px auto 16px; }
.gal .info .price { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.6rem; color:var(--gold); }
.gal .info .sku { font-size:.72rem; letter-spacing:.5px; color:#a59fb0; margin-top:6px; }
.gal .info .lead { font-size:.78rem; letter-spacing:1px; text-transform:uppercase; color:#8a8197; margin-top:2px; }
.gal .info .desc { font-size:.95rem; line-height:1.6; margin:14px 0 4px; white-space:pre-line; }
.gal .info .btn { margin:18px auto 6px; }
.gal .close { position:absolute; top:12px; right:12px; width:40px; height:40px; border-radius:50%; border:1px solid #eadfcb; background:#fff;
              color:var(--deep); font-size:1.5rem; line-height:1; cursor:pointer; z-index:3; padding-bottom:2px; }
.gal .close:hover { background:var(--gold); color:#fff; }
.gal button:focus-visible, .gal a:focus-visible, .prod a:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }
@media (max-width:760px) {
  .gal { padding:0; }
  .gal .box { grid-template-columns:1fr; max-height:none; height:100%; border-radius:0; }
  .gal .media { padding:56px 12px 4px; }
  .gal .stage { max-height:none; }
  .gal .info { padding:10px 22px 30px; justify-content:flex-start; }
  .gal .info h2 { font-size:1.7rem; }
  .gal .navb { width:38px; height:38px; }
  .gal .thumb { width:56px; height:56px; }
}
@media (prefers-reduced-motion:reduce) { .cat, .prod, .gal .thumb { transition:none; } }

/* ---- Site nav (all pages) ---- */
.topbar { position:sticky; top:0; z-index:50; background:rgba(251,247,240,.94); border-bottom:1px solid #eadfcb;
          -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.topbar .in { max-width:1100px; margin:0 auto; padding:8px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--deep); font-family:'Cormorant Garamond',serif;
         font-weight:600; font-size:1.25rem; white-space:nowrap; }
.brand img { width:38px; height:35px; object-fit:contain; }
.sitenav ul { list-style:none; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:4px; }
.sitenav a { display:block; padding:8px 12px; border-radius:999px; font-size:.78rem; letter-spacing:1.2px; text-transform:uppercase;
             font-weight:700; color:var(--deep); text-decoration:none; white-space:nowrap; }
.sitenav a:hover { background:#f1e7d6; }
.sitenav a[aria-current="page"] { background:var(--deep); color:#fff; }
.menu-btn { display:none; align-items:center; gap:8px; padding:8px 14px; border:1px solid #d9c7a6; border-radius:999px; background:#fff;
            color:var(--deep); font:700 .78rem 'Lato',sans-serif; letter-spacing:1.2px; text-transform:uppercase; cursor:pointer; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display:block; width:16px; height:2px; background:currentColor; border-radius:2px; position:relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content:''; position:absolute; left:0; }
.menu-btn .bars::before { top:-5px; } .menu-btn .bars::after { top:5px; }
.menu-btn[aria-expanded="true"] .bars { background:transparent; }
.menu-btn[aria-expanded="true"] .bars::before { top:0; transform:rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top:0; transform:rotate(-45deg); }
.topbar a:focus-visible, .menu-btn:focus-visible, .seeall:focus-visible, .crumbs a:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }
@media (max-width:860px) {
  .js .menu-btn { display:inline-flex; }
  .js .sitenav { display:none; position:absolute; left:0; right:0; top:100%; background:var(--cream); border-bottom:1px solid #eadfcb;
                 box-shadow:0 14px 30px rgba(61,44,78,.12); padding:8px 16px 16px; }
  .js .sitenav.open { display:block; }
  .js .sitenav ul { flex-direction:column; align-items:stretch; }
  .js .sitenav a { padding:13px 16px; font-size:.85rem; text-align:left; border-bottom:1px solid #f1e7d6; border-radius:10px; }
  .sitenav ul { justify-content:center; }
  .topbar .in { flex-wrap:wrap; justify-content:space-between; }
}

/* ---- Home: "See all" link under a trimmed category ---- */
.seeall { display:inline-block; margin:26px auto 0; padding:11px 26px; border:1.5px solid var(--deep); border-radius:999px;
          color:var(--deep); text-decoration:none; font-size:.8rem; letter-spacing:2px; text-transform:uppercase; font-weight:700;
          transition:background .2s, color .2s; }
.seeall:hover { background:var(--deep); color:#fff; }
.seeall-wrap { margin-top:4px; }

/* ---- Category pages ---- */
.pagehead { padding:26px 20px 0; }
.crumbs { font-size:.75rem; letter-spacing:1.5px; text-transform:uppercase; color:#9a93a6; }
.crumbs a { color:var(--deep); text-decoration:none; border-bottom:1px solid var(--gold); }
.pagehead h1 { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:2.6rem; color:var(--deep); margin:14px 0 6px; }
.pagehead .intro { max-width:620px; margin:0 auto 6px; font-size:1rem; line-height:1.6; }
.pagehead .count { font-size:.75rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:28px; min-height:1em; }
.notice { max-width:560px; margin:30px auto 0; padding:16px 22px; border:1px dashed #d9c7a6; border-radius:14px; background:rgba(255,255,255,.7);
          font-size:.95rem; line-height:1.6; }
.notice a { color:var(--deep); font-weight:700; text-decoration:none; border-bottom:1px solid var(--gold); }
.loading { color:#9a93a6; font-style:italic; font-family:'Cormorant Garamond',serif; font-size:1.2rem; padding:30px 0; }
.more h2.section { font-size:1.6rem; margin-top:60px; }
.more .cat { flex-basis:190px; }
.more .cat h3 { font-size:1.25rem; margin-bottom:14px; }
.more .cat p { display:none; }
@media (max-width:560px) {
  .pagehead h1 { font-size:2.1rem; }
  .brand span { font-size:1.1rem; }
  .more .cat { flex:0 1 calc(50% - 8px); }
}
.catsec { scroll-margin-top:70px; }
.catsec h2.section a { color:inherit; text-decoration:none; } .catsec h2.section a:hover { color:var(--gold); }
/* Home: room for the 4 preview products in one row, and all 5 category tiles in one row on wide screens */
.catsec .grid { max-width:1200px; }
#cats { max-width:1400px; }

/* ---- Home: About card ---- */
.about { scroll-margin-top:70px; }
.about-card { max-width:720px; margin:0 auto; padding:30px 34px; background:#fff; border:1px solid #eadfcb; border-radius:16px;
              box-shadow:0 8px 30px rgba(61,44,78,.07); font-size:1rem; line-height:1.7; text-align:center; }
.about-card p + p { margin-top:14px; }
.about-card .about-soon { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.25rem; color:#9a93a6; }
.about-card .about-tagline { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.35rem; color:var(--gold); margin:0 0 18px; }
.about-card .about-verse { margin:0 0 22px; padding:16px 18px; background:rgba(251,247,240,.85); border-left:3px solid var(--gold); border-radius:0 10px 10px 0; text-align:left; }
.about-card .about-verse p { margin:0; font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.2rem; color:var(--deep); line-height:1.55; }
.about-card .about-verse cite { display:block; margin-top:8px; font-family:'Lato',sans-serif; font-style:normal; font-size:.75rem; letter-spacing:1.5px; text-transform:uppercase; color:#8a8197; }
.about-card .about-close { margin-top:20px; font-size:.95rem; color:var(--deep); }
.about-card .about-soli { font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:600; font-size:1.15rem; color:var(--gold); }
.about-card .about-close cite { font-style:normal; color:#8a8197; }
.about-card .about-pillars { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:10px 18px; margin:22px 0 0; padding:18px 0 0; border-top:1px solid #eadfcb; }
.about-card .about-pillars li { font-size:.72rem; letter-spacing:1.5px; text-transform:uppercase; color:var(--deep); background:rgba(251,247,240,.9); border:1px solid #eadfcb; border-radius:999px; padding:6px 14px; }
@media (max-width:560px) {
  .about-card { margin:0 14px; padding:24px 22px; }
  .about-card .about-tagline { font-size:1.2rem; }
  .about-card .about-verse { text-align:center; border-left:0; border-top:3px solid var(--gold); border-radius:10px; }
  .about-card .about-pillars { gap:8px; }
}

/* ---- Real product without a photo yet: neutral placeholder (cards and gallery) ---- */
.nophoto { aspect-ratio:1/1; width:100%; display:flex; align-items:center; justify-content:center; background:#f4ede1;
           background:linear-gradient(160deg, #f8f2e8 0%, #efe4d2 100%); }
.nophoto span { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.1rem; color:#9a8f80; letter-spacing:.3px; }
.gal .stage .nophoto { position:absolute; inset:0; height:100%; }
.gal .stage .nophoto span { font-size:1.4rem; }
.prod .ph { color:inherit; text-decoration:none; }

/* ---- "How it's made" links (category pages + product pop-up) ---- */
.howlink { margin:2px 0 10px; font-size:.85rem; }
.howlink a, .gal .info .howto { color:var(--deep); font-weight:700; text-decoration:none; border-bottom:1px solid var(--gold); }
.howlink a:hover, .gal .info .howto:hover { color:var(--gold); }
.gal .info .howto { display:inline-block; align-self:center; margin:6px auto 0; font-size:.85rem; }

/* ---- How It's Made page ---- */
.hm { max-width:1000px; margin:0 auto; padding:0 20px; }
.hm-intro { max-width:680px; margin:0 auto; font-size:1.05rem; line-height:1.75; }
.hm-intro p + p { margin-top:14px; }
.hm-intro p:first-child { font-family:'Cormorant Garamond',serif; font-size:1.45rem; line-height:1.45; color:var(--deep); font-style:italic; }
.hm-jump { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:30px auto 10px; }
.hm-jump a { padding:8px 16px; border:1px solid #d9c7a6; border-radius:999px; background:#fff; color:var(--deep); text-decoration:none;
             font-size:.75rem; letter-spacing:1.2px; text-transform:uppercase; font-weight:700; }
.hm-jump a:hover { background:var(--deep); color:#fff; }
.hm-note { max-width:720px; margin:30px auto 10px; padding:22px 28px; border:1px dashed #d9c7a6; border-radius:16px; background:rgba(255,255,255,.7);
           line-height:1.7; font-size:.98rem; }
.hm-note h2 { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.5rem; color:var(--deep); margin-bottom:6px; }
.hm-sec { display:grid; grid-template-columns:minmax(0,300px) minmax(0,1fr); gap:34px; align-items:center; text-align:left; margin:40px auto 0;
          padding:28px; background:#fff; border:1px solid #eadfcb; border-radius:16px; box-shadow:0 8px 30px rgba(61,44,78,.07); scroll-margin-top:80px; }
.hm-sec:nth-of-type(even) { grid-template-columns:minmax(0,1fr) minmax(0,300px); }
.hm-sec:nth-of-type(even) img { order:2; }
.hm-sec img { width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; border-radius:12px; background:#f4ede1; display:block; }
.hm-sec h2 { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:2rem; color:var(--deep); margin-bottom:10px; }
.hm-sec p { line-height:1.75; font-size:1rem; }
.hm-sec p + p { margin-top:12px; }
.hm-sec .care { font-size:.8rem; letter-spacing:1.2px; text-transform:uppercase; color:#8a8197; }
.hm-sec .seeall { margin-top:18px; }
.hm-close { max-width:640px; margin:46px auto 10px; font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.45rem; line-height:1.5; color:var(--deep); }
.hm-jump a:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }
@media (max-width:760px) {
  .hm { padding:0 14px; }
  .hm-sec, .hm-sec:nth-of-type(even) { grid-template-columns:1fr; gap:18px; padding:20px; text-align:center; }
  .hm-sec:nth-of-type(even) img { order:0; }
  .hm-sec img { max-width:320px; margin:0 auto; }
  .hm-note { padding:18px 20px; }
}
.gal .info .howto[hidden] { display:none; }

/* ---- Nav: room for "How It's Made" on one line on desktop ---- */
@media (min-width:861px) {
  .topbar .in { max-width:1280px; }
  .sitenav ul { gap:2px; }
  .sitenav a { padding:8px 10px; letter-spacing:1px; }
}
@media (min-width:861px) and (max-width:1180px) {
  .sitenav a { padding:7px 8px; font-size:.72rem; letter-spacing:.6px; }
  .brand span { font-size:1.1rem; }
}

/* ---- About card: red maple-leaf corner accents (from Gladys's flyer photo) ---- */
.about-card.has-leaves { position:relative; overflow:hidden; padding-top:52px; padding-bottom:48px; }
.about-card.has-leaves > :not(.about-leaves) { position:relative; z-index:1; }
.about-leaves { position:absolute; z-index:0; pointer-events:none; height:auto; }
.about-leaves.tl { top:0; left:0; width:130px; opacity:.9; }
.about-leaves.br { bottom:0; right:0; width:100px; transform:rotate(180deg); opacity:.7; }
@media (max-width:560px) {
  .about-card.has-leaves { padding-top:84px; padding-bottom:64px; }
  .about-leaves.tl { width:84px; } .about-leaves.br { width:64px; }
}

/* ---- Cart (assets/cart.js; on/off in assets/cart-config.js) ---- */
.cart-btn { display:inline-flex; align-items:center; gap:6px; margin-left:auto; padding:8px 14px; border:1px solid #d9c7a6; border-radius:999px;
            background:#fff; color:var(--deep); font:700 .78rem 'Lato',sans-serif; letter-spacing:1.2px; text-transform:uppercase; cursor:pointer; }
.cart-btn .count { min-width:20px; height:20px; padding:0 6px; border-radius:999px; background:#eadfcb; color:var(--deep); font-size:.72rem;
                   display:inline-flex; align-items:center; justify-content:center; letter-spacing:0; }
.cart-btn.has .count { background:var(--gold); color:#fff; }
.cart-btn:hover { background:#f1e7d6; }
.cart-btn:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }
.cart-btn.bump { animation:cartbump .45s ease; }
@keyframes cartbump { 40% { transform:scale(1.12); } }
@media (min-width:861px) { .topbar .in { justify-content:flex-start; } .topbar .sitenav { margin-left:auto; } .cart-btn { margin-left:6px; order:3; } }
@media (max-width:860px) { .cart-btn { margin-left:auto; } .cart-btn .lbl { display:none; } }
.prod .buy { display:flex; flex-direction:column; align-items:center; margin:8px 0 18px; }
.prod .buy .btn, .gal .info .btn.add { margin:4px auto 6px; border:0; cursor:pointer; font-family:'Lato',sans-serif; }
.orderalt { font-size:.75rem; color:#8a8197; text-decoration:none; border-bottom:1px solid #d9c7a6; }
.orderalt:hover { color:var(--deep); }
.gal .info .orderalt { align-self:center; margin:2px auto 8px; }
.gal .info .qtypick { display:inline-flex; align-items:center; gap:8px; align-self:center; margin-top:14px; font-size:.8rem; letter-spacing:1px; text-transform:uppercase; color:#8a8197; }
.gal .info .qtypick input { width:64px; padding:6px 8px; border:1px solid #d9c7a6; border-radius:10px; font:inherit; text-align:center; color:var(--deep); background:#fff; }
.gal .info .deal { font-size:.85rem; color:var(--deep); margin-top:6px; }
html.cart-lock, html.cart-lock body { overflow:hidden; }
.cartdrawer { position:fixed; inset:0; z-index:120; }
.cartdrawer[hidden] { display:none; }
.cd-shade { position:absolute; inset:0; background:rgba(43,31,56,.55); opacity:0; transition:opacity .2s; }
.cd-panel { position:absolute; top:0; right:0; bottom:0; width:min(440px, 100%); display:flex; flex-direction:column; text-align:left;
            background:radial-gradient(circle at 30% 0%, #fff 0%, var(--cream) 60%, #f1e7d6 100%); box-shadow:-18px 0 50px rgba(20,12,30,.3);
            transform:translateX(100%); transition:transform .22s ease; }
.cartdrawer.open .cd-shade { opacity:1; } .cartdrawer.open .cd-panel { transform:none; }
.cd-head { display:flex; align-items:center; justify-content:space-between; padding:18px 20px 12px; border-bottom:1px solid #eadfcb; }
.cd-head h2 { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.8rem; color:var(--deep); }
.cd-x { width:40px; height:40px; border-radius:50%; border:1px solid #eadfcb; background:#fff; color:var(--deep); font-size:1.5rem; cursor:pointer; }
.cd-x:hover { background:var(--gold); color:#fff; }
.cd-body { flex:1; overflow:auto; padding:8px 20px 12px; }
.cd-lines { list-style:none; }
.cd-line { display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:start; padding:14px 0; border-bottom:1px solid #eadfcb; }
.cd-thumb { width:56px; height:56px; border-radius:10px; overflow:hidden; background:linear-gradient(160deg,#f8f2e8,#efe4d2); }
.cd-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.cd-name { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.15rem; color:var(--deep); line-height:1.2; }
.cd-each { font-size:.8rem; color:#8a8197; margin-top:2px; }
.cd-qty { display:flex; align-items:center; gap:6px; margin-top:8px; }
.cd-qty button { width:30px; height:30px; border-radius:50%; border:1px solid #d9c7a6; background:#fff; color:var(--deep); font-size:1rem; cursor:pointer; }
.cd-qty button:hover { background:#f1e7d6; }
.cd-qty input { width:46px; height:30px; border:1px solid #d9c7a6; border-radius:8px; text-align:center; font:inherit; color:var(--deep); background:#fff; -moz-appearance:textfield; }
.cd-qty input::-webkit-inner-spin-button { -webkit-appearance:none; }
.cd-qty .cd-rm { width:auto; height:auto; border:0; background:none; padding:4px 6px; font-size:.75rem; color:#8a8197; text-decoration:underline; border-radius:6px; }
.cd-lt { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.15rem; color:var(--gold); }
.cd-empty { padding:30px 0; font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.2rem; color:#9a93a6; text-align:center; }
.cd-hints p { margin:12px 0 0; padding:9px 12px; background:rgba(255,255,255,.75); border:1px dashed #d9c7a6; border-radius:10px; font-size:.85rem; color:var(--deep); }
.cd-ful { border:0; margin:18px 0 0; }
.cd-ful legend { font-size:.75rem; letter-spacing:1.5px; text-transform:uppercase; color:#8a8197; margin-bottom:8px; }
.cd-ful > label { display:flex; gap:10px; align-items:flex-start; padding:10px 12px; margin-bottom:8px; background:#fff; border:1px solid #eadfcb; border-radius:12px; cursor:pointer; }
.cd-ful > label:has(input:checked) { border-color:var(--gold); box-shadow:0 0 0 1px var(--gold); }
.cd-ful input[type=radio] { margin-top:4px; accent-color:var(--deep); }
.cd-ful b { display:block; color:var(--deep); font-size:.95rem; }
.cd-ful small { display:block; font-size:.8rem; color:#8a8197; line-height:1.45; margin-top:2px; }
.cd-pk { display:grid; gap:8px; padding:4px 2px 0; }
.cd-pk[hidden] { display:none; }
.cd-pk label { font-size:.78rem; color:#8a8197; letter-spacing:.5px; }
.cd-pk input { display:block; width:100%; margin-top:4px; padding:9px 11px; border:1px solid #d9c7a6; border-radius:10px; font:1rem 'Lato',sans-serif; color:var(--deep); background:#fff; }
.cd-sum { margin:16px 0 0; padding:12px 0 0; border-top:1px solid #eadfcb; }
.cd-sum div { display:flex; justify-content:space-between; padding:4px 0; font-size:.95rem; }
.cd-sum .disc dd { color:#3f7a4a; font-weight:700; }
.cd-sum .tot { margin-top:6px; padding-top:10px; border-top:1px solid #eadfcb; font-weight:700; color:var(--deep); font-size:1.05rem; }
.cd-sum .tot dd { font-family:'Cormorant Garamond',serif; font-size:1.45rem; color:var(--gold); }
.cd-note { font-size:.78rem; color:#8a8197; margin-top:8px; }
.cd-err { color:#a2242f; font-size:.88rem; margin-top:10px; min-height:1px; }
.cd-foot { padding:12px 20px 18px; border-top:1px solid #eadfcb; display:flex; flex-direction:column; align-items:center; gap:4px; background:rgba(251,247,240,.9); }
.cd-foot .btn { width:100%; margin:0 0 6px; border:0; cursor:pointer; padding:14px 28px; font-family:'Lato',sans-serif; }
.cd-foot .btn:disabled { opacity:.5; cursor:not-allowed; }
.cd-mail { font-size:.78rem; color:#8a8197; }
.cart-toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%, 20px); z-index:130; padding:10px 18px; border-radius:999px; background:var(--deep); color:#fff;
              font-size:.85rem; box-shadow:0 10px 30px rgba(20,12,30,.3); opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; max-width:calc(100% - 32px); }
.cart-toast.show { opacity:1; transform:translate(-50%, 0); }
.thanks-card { max-width:620px; margin:0 auto; padding:30px 34px; background:#fff; border:1px solid #eadfcb; border-radius:16px; box-shadow:0 8px 30px rgba(61,44,78,.07); line-height:1.7; }
.thanks-card p + p { margin-top:12px; }
@media (prefers-reduced-motion:reduce) { .cd-panel, .cd-shade, .cart-toast { transition:none; } .cart-btn.bump { animation:none; } }
.thanks-card .about-tagline { font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.35rem; color:var(--gold); }
html.cart-lock .cart-toast { bottom:120px; }
@media (min-width:861px) and (max-width:1440px) { .cart-btn { padding:8px 12px; } .cart-btn .lbl { display:none; } }
@media (max-width:860px) { .topbar .in { flex-wrap:nowrap; gap:8px; } .cart-btn { order:2; padding:7px 10px; } .menu-btn { order:3; } }
@media (max-width:420px) { .brand { gap:6px; } .brand span { font-size:1rem; } .menu-btn { padding:8px 10px; gap:6px; } .topbar .in { padding:8px 12px; } }
@media (max-width:340px) { .menu-btn { font-size:0; gap:0; } }
.thanks-card a:not(.seeall) { color:var(--deep); font-weight:700; text-decoration:none; border-bottom:1px solid var(--gold); }
@media (max-width:560px) { .thanks-card { margin:0 14px; padding:24px 22px; } }

/* ---- Custom request entry point (custom.html) ---- */
.customlink { display:inline-block; margin:0 auto 18px; font-size:.75rem; color:var(--deep); font-weight:700;
              text-decoration:none; border-bottom:1px solid var(--gold); }
.customlink:hover { color:var(--gold); }
.prod .buy + .customlink { margin-top:-8px; }
.gal .info .customlink { align-self:center; margin:8px auto 6px; }
.customlink:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }


/* Extra nav item ("Custom"): give the bar more room so About stays on one line. */
@media (min-width:861px) {
  .topbar .in { max-width:1520px; }
}
@media (min-width:861px) and (max-width:1600px) {
  .sitenav a { padding:7px 8px; font-size:.72rem; letter-spacing:.5px; }
}


/* With the added Custom nav item, the links no longer fit on one line below ~1180px.
   Use the Menu button in that range so About does not wrap under Custom. */
@media (max-width:1179px) {
  .js .menu-btn { display:inline-flex; }
  .js .sitenav { display:none; position:absolute; left:0; right:0; top:100%; background:var(--cream); border-bottom:1px solid #eadfcb;
                 box-shadow:0 14px 30px rgba(61,44,78,.12); padding:8px 16px 16px; }
  .js .sitenav.open { display:block; }
  .js .sitenav ul { flex-direction:column; align-items:stretch; justify-content:center; }
  .js .sitenav a { padding:13px 16px; font-size:.85rem; letter-spacing:1.2px; text-align:left; border-bottom:1px solid #f1e7d6; border-radius:10px; }
  .topbar .in { flex-wrap:nowrap; justify-content:flex-start; gap:8px; }
  .topbar .sitenav { margin-left:0; }
  .cart-btn { margin-left:auto; order:2; padding:7px 10px; }
  .cart-btn .lbl { display:none; }
  .menu-btn { order:3; }
}


/* Category-page entry point for a custom piece (not per product). */
.custom-banner { max-width:620px; margin:10px auto 8px; padding:12px 18px; background:#fff; border:1px solid #eadfcb;
                 border-radius:12px; font-size:.95rem; line-height:1.55; color:var(--deep); box-shadow:0 8px 30px rgba(61,44,78,.05); }
.custom-banner a { color:var(--deep); font-weight:700; text-decoration:none; border-bottom:1px solid var(--gold); white-space:nowrap; }
.custom-banner a:hover { color:var(--gold); }
.custom-banner a:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }
