/* Nino Works — big footer + help/shipping/commercial-licence page extras.
   Additive only: style.css, theme-toggle.css, card-hover.css and
   card-reveal.css are untouched. Loaded by the _shop layout, so checkout and
   order-complete never get it (they keep their own compact policy links).
   Light: pale lavender glass. Dark (html[data-theme="dark"]): full-black,
   frosted charcoal glass, the white studio photo sits on a framed panel. */

.nw-bf{
  width:min(1180px,calc(100% - 40px));
  margin:90px auto 0;
  padding:0 0 34px;
  color:var(--text);
}
.nw-bf-panel{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  align-items:stretch;
  gap:0;
  overflow:hidden;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(240,237,255,.62));
}
.nw-bf-media{
  position:relative;
  margin:12px 0 12px 12px;
  border-radius:20px;
  overflow:hidden;
  background:#f6f5f8;
  border:1px solid rgba(30,36,80,.07);
  box-shadow:inset 0 1px 0 #fff;
  min-height:340px;
}
.nw-bf-media picture{position:absolute;inset:0;display:block}
.nw-bf-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
/* soft studio vignette at the inner edge so the photo melts into the glass */
.nw-bf-media::after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),inset 0 -40px 60px -50px rgba(30,36,80,.18);
}

.nw-bf-body{
  display:flex;flex-direction:column;justify-content:space-between;gap:30px;
  padding:40px 40px 36px 44px;
}
.nw-bf-wordmark{font-size:1.2rem;width:max-content}
.nw-bf-tag{margin-top:12px;color:var(--muted);font-size:.95rem;line-height:1.6;max-width:44ch}

.nw-bf-cols{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px 28px;
}
.nw-bf-col-cta{grid-column:1 / -1}
.nw-bf-h{
  font-family:var(--display);
  font-size:.78rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.18em;
  color:var(--ink-cyan);
  margin:0 0 10px;
}
.nw-bf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.nw-bf-col li a{
  display:inline-flex;align-items:center;gap:8px;
  min-height:40px;padding:6px 0;
  color:var(--text);font-weight:500;font-size:.97rem;
  text-decoration:none;
  transition:color .2s;
}
.nw-bf-col li a:hover{color:var(--ink-violet);text-decoration:underline;text-underline-offset:4px}
.nw-bf a:focus-visible{outline:2px solid var(--ink-violet);outline-offset:3px;border-radius:8px}
.nw-bf-note{color:var(--muted);font-size:.9rem;margin:0 0 12px}
.nw-bf-cta{min-height:44px}

/* WhatsApp */
.nw-wa-icon{flex:none;color:#1fa855}
.nw-bf-col li a.nw-wa{flex-wrap:wrap;row-gap:0}
.nw-wa > span:not(.nw-wa-tag){white-space:nowrap}
.nw-wa-tag{
  font-size:.7rem;font-weight:600;letter-spacing:.02em;
  padding:2px 8px;border-radius:999px;
  color:#8a5a00;background:rgba(255,179,92,.22);border:1px solid rgba(255,179,92,.5);
}
.nw-wa-pending{cursor:not-allowed}
.nw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.nw-bf-legal{
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;
  padding:20px 8px 0;color:var(--dim);font-size:.85rem;
}
.nw-bf-legal-links{display:flex;flex-wrap:wrap;gap:4px 18px}
.nw-bf-legal a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.nw-bf-legal a:hover{color:var(--text)}

/* ---------- help / shipping / commercial licence pages ---------- */
.nw-help-actions{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 16px}
.prose .nw-help-actions a{text-decoration:none}
.prose .nw-help-actions .btn{color:#fff}
.prose .nw-help-actions .btn-ghost{color:var(--text)}
.prose .nw-help-actions .nw-wa{display:inline-flex;align-items:center;gap:8px}
.nw-cl-grid{width:min(820px,calc(100% - 40px));margin:22px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.nw-cl-grid .scard h4{font-size:1rem}
.nw-cl-more{width:min(820px,calc(100% - 40px));margin:22px auto 0}

/* ---------- dark: full black ---------- */
html[data-theme="dark"] .nw-bf-panel{
  background:linear-gradient(135deg,rgba(26,26,26,.82),rgba(8,8,8,.72));
  border-color:rgba(255,255,255,.1);
}
html[data-theme="dark"] .nw-bf-media{
  /* the white studio photo is framed like a print on charcoal glass */
  background:#111;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 50px -24px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .nw-bf-media img{filter:brightness(.93) contrast(1.02)}
html[data-theme="dark"] .nw-bf-media::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),inset 0 -50px 70px -50px rgba(0,0,0,.45)}
html[data-theme="dark"] .nw-bf-col li a{color:#f0f0f0}
html[data-theme="dark"] .nw-bf-col li a:hover{color:#fff}
html[data-theme="dark"] .nw-wa-icon{color:#3ddc84}
html[data-theme="dark"] .nw-wa-tag{color:#ffd59e;background:rgba(255,179,92,.12);border-color:rgba(255,179,92,.35)}
html[data-theme="dark"] .nw-bf-legal a{color:#c8c8c8}
html[data-theme="dark"] .nw-bf-legal a:hover{color:#fff}

/* ---------- responsive ---------- */
@media (max-width:960px){
  .nw-bf-body{padding:32px 28px 30px 32px}
  .nw-bf-cols{grid-template-columns:1fr 1fr;gap:20px}
}
@media (max-width:760px){
  .nw-bf{width:calc(100% - 28px);margin-top:60px;padding-bottom:26px}
  .nw-bf-panel{grid-template-columns:1fr;border-radius:22px}
  .nw-bf-media{margin:8px 8px 0;border-radius:16px;min-height:0;aspect-ratio:4/3}
  .nw-bf-media img{object-position:50% 50%}
  .nw-bf-body{padding:24px 20px 24px;gap:24px}
  .nw-bf-cols{grid-template-columns:1fr 1fr;gap:18px 16px}
  .nw-bf-col li a{min-height:44px;font-size:.95rem}
  .nw-bf-cta{width:100%}
  .nw-bf-legal{flex-direction:column;align-items:flex-start;padding:16px 6px 0}
  .nw-cl-grid{width:calc(100% - 28px);grid-template-columns:1fr 1fr;gap:12px}
  .nw-cl-more{width:calc(100% - 28px)}
}
@media (max-width:380px){
  .nw-bf-cols{grid-template-columns:1fr}
}
