/* Nino Works — commercial-license WhatsApp CTA + physical 10-model print offer.
   Shop layout only (linked from _shop.tsx). Do not load on checkout or order-complete.
   style.css is not edited. */

/* ---------- footer: Get Commercial License ---------- */
.nw-bf-cta.nw-wa-cta,
a.nw-bf-cta.nw-wa-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.nw-bf-cta .nw-wa-icon{
  flex:none;
  color:#fff;
}
html[data-theme="dark"] .nw-bf-cta .nw-wa-icon{color:#fff}
.nw-bf-cta-note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.45;
  max-width:28ch;
}
@media (max-width:760px){
  .nw-bf-cta-note{max-width:none}
}

/* ---------- commercial-license page WhatsApp CTA ---------- */
.nw-license-wa{
  display:grid;
  gap:8px;
  justify-items:start;
  margin:0 0 16px;
}
.nw-license-wa-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.nw-license-wa-btn .nw-wa-icon{color:#fff;flex:none}
.nw-license-wa-note{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.45;
}
.prose .nw-license-wa-note{color:var(--muted)}
.prose .nw-license-wa-btn{text-decoration:none;color:#fff}

/* ---------- product page: 3D-printed set offer ---------- */
.nw-print-opt-toggle{
  flex:1 1 220px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  line-height:1.25;
  min-height:48px;
}
.nw-print-opt-label{min-width:0}
.nw-print-chevron{
  flex:none;
  transition:transform .35s cubic-bezier(.2,.7,.2,1);
}
.nw-print-opt-toggle.is-open .nw-print-chevron{transform:rotate(180deg)}

/* Collapsed by default: the whole panel (prices, shipping, checkout) is
   hidden until the toggle is clicked, then expands smoothly. */
.nw-print-panel{
  display:none;
  grid-template-rows:0fr;
  opacity:0;
  visibility:hidden;
  margin-top:-14px;
  transition:grid-template-rows .45s cubic-bezier(.2,.7,.2,1),opacity .3s ease,margin-top .45s cubic-bezier(.2,.7,.2,1),visibility 0s linear .45s;
}
.nw-print-panel.is-shown{display:grid}
.nw-print-panel.is-open{
  grid-template-rows:1fr;
  opacity:1;
  visibility:visible;
  margin-top:2px;
  transition:grid-template-rows .45s cubic-bezier(.2,.7,.2,1),opacity .35s ease .05s,margin-top .45s cubic-bezier(.2,.7,.2,1),visibility 0s linear 0s;
}
.nw-print-panel-clip{min-height:0;overflow:hidden}
.nw-print-panel-card{
  display:grid;
  gap:12px;
  padding:18px 18px 16px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(255,255,255,.7));
  box-shadow:var(--shadow);
}
@media (prefers-reduced-motion:reduce){
  .nw-print-panel,.nw-print-panel.is-open,.nw-print-chevron{transition:none}
}
.nw-print-ship{display:grid;gap:6px}
.nw-print-ship-h{margin:0;font-size:.85rem;font-weight:600;color:var(--muted)}
.nw-print-ship-list{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:4px;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.45;
}
.nw-print-panel-title{
  margin:0;
  font-family:var(--display);
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.3;
}
.nw-print-panel-lead{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.45;
}
.nw-print-field{display:grid;gap:6px}
.nw-print-field label,
.nw-print-legend{
  font-size:.85rem;
  font-weight:600;
  color:var(--muted);
}
.nw-print-select{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  max-width:280px;
  height:44px;
  padding:0 40px 0 14px;
  border-radius:12px;
  border:1px solid var(--stroke-hi);
  background-color:rgba(255,255,255,.92);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5170' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:16px;
  color:var(--text);
  font:inherit;
  font-weight:600;
  cursor:pointer;
}
.nw-print-select:focus,
.nw-print-select:focus-visible{
  outline:2px solid var(--ink-violet);
  outline-offset:2px;
}
.nw-print-price{
  display:grid;
  gap:6px;
  margin:2px 0 0;
  padding:0;
  list-style:none;
  font-size:.95rem;
}
.nw-print-price li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:16px;
}
.nw-print-price .nw-print-k{color:var(--muted)}
.nw-print-price .nw-print-v{font-weight:600;font-variant-numeric:tabular-nums}
.nw-print-price .nw-print-total{
  margin-top:4px;
  padding-top:8px;
  border-top:1px solid var(--stroke);
  font-size:1.05rem;
}
.nw-print-price .nw-print-total .nw-print-v{
  font-family:var(--display);
  font-size:1.25rem;
  font-weight:700;
}
.nw-print-ship-note{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.45;
}
.nw-print-checkout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  text-align:center;
}
.nw-print-checkout .nw-print-cta-total{
  font-variant-numeric:tabular-nums;
  opacity:.92;
}
.nw-print-checkout .nw-print-cta-total::before{content:"\00B7";margin-right:10px;opacity:.7}
.nw-print-fine{
  margin:-4px 0 0;
  color:var(--muted);
  font-size:.8rem;
  line-height:1.4;
}
.nw-print-panel .nw-sr{
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;
}

/* dark: full black, match theme-toggle glass */
html[data-theme="dark"] .nw-bf-cta-note,
html[data-theme="dark"] .nw-license-wa-note,
html[data-theme="dark"] .nw-print-panel-lead,
html[data-theme="dark"] .nw-print-ship-note,
html[data-theme="dark"] .nw-print-ship-h,
html[data-theme="dark"] .nw-print-ship-list,
html[data-theme="dark"] .nw-print-fine,
html[data-theme="dark"] .nw-print-field label,
html[data-theme="dark"] .nw-print-legend,
html[data-theme="dark"] .nw-print-price .nw-print-k{
  color:#c8c8c8;
}
html[data-theme="dark"] .nw-print-panel-card{
  background:linear-gradient(180deg,rgba(26,26,26,.92),rgba(10,10,10,.86));
  border-color:rgba(255,255,255,.12);
  box-shadow:0 18px 44px -22px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.06);
}
html[data-theme="dark"] .nw-print-select{
  background-color:#141414;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  border-color:rgba(255,255,255,.16);
  color:#f0f0f0;
}
html[data-theme="dark"] .nw-print-price .nw-print-total{
  border-top-color:rgba(255,255,255,.12);
}
html[data-theme="dark"] .nw-print-price .nw-print-v{color:#f0f0f0}

@media (max-width:760px){
  .nw-print-select{max-width:none}
  .nw-print-checkout{width:100%}
}

/* ---------- header: Custom Design (WhatsApp) ---------- */
.nw-custom-design{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex:none;
  height:40px;
  padding:0 15px 0 13px;
  border-radius:999px;
  background:linear-gradient(135deg,#6a48ff,#4f6bff 60%,#2a8fd8);
  color:#fff;
  font-family:var(--font);
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.01em;
  line-height:1;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 16px -8px rgba(90,59,224,.7);
  transition:filter .25s,box-shadow .25s,transform .25s;
}
.nw-custom-design:hover{filter:brightness(1.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 22px -10px rgba(90,59,224,.85)}
.nw-custom-design:focus-visible{outline:2px solid var(--ink-violet);outline-offset:2px}
.nw-custom-design-icon{
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
html[data-theme="dark"] .nw-custom-design{
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 6px 18px -8px rgba(106,72,255,.75);
}
/* tablet: icon only so the bar never wraps */
@media (max-width:980px){
  .nw-custom-design{width:40px;padding:0}
  .nw-custom-design-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .nw-custom-design-icon{width:18px;height:18px}
}
@media (max-width:760px){
  header.nav .nw-custom-design{margin-left:auto}
  header.nav .nw-theme-toggle{margin-left:0}
}
/* phone menu: a full-text Custom Design row inside the burger menu */
.nav-links .nw-custom-design-menu{display:none}
@media (max-width:760px){
  .nav-links .nw-custom-design-menu{display:flex;align-items:center;gap:8px;color:var(--ink-violet);font-weight:600}
  html[data-theme="dark"] .nav-links .nw-custom-design-menu{color:#b9a8ff}
}
/* small phones: keep brand, Custom Design, theme toggle, cart and menu on one line */
@media (max-width:430px){
  header.nav{gap:5px}
  header.nav .nw-custom-design{width:36px;height:36px}
  header.nav .nw-custom-design-icon{width:16px;height:16px}
}
/* very narrow phones: Custom Design stays in the menu only */
@media (max-width:374px){
  header.nav .nw-custom-design{display:none}
  header.nav .nw-theme-toggle{margin-left:auto}
}
