/* Noviqo Form storefront styles. Everything is scoped under .nf-* so the theme is never restyled,
   except the optional .nf-hide-theme-buttons switch the merchant turns on. */
.nf-root { margin: 16px 0; }
.nf-root[hidden] { display: none; }
.nf-skeleton { height: 360px; border-radius: 12px; background: linear-gradient(90deg, #f2f2f2, #fafafa, #f2f2f2); background-size: 200% 100%; animation: nf-shine 1.4s infinite; }
@keyframes nf-shine { to { background-position: -200% 0; } }

.nf-form {
  --nf-accent: #e8541c; --nf-accent-text: #fff; --nf-bg: #fff; --nf-text: #1f2328; --nf-border: #d0d5dd; --nf-radius: 10px;
  position: relative; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 16px;
  background: var(--nf-bg); color: var(--nf-text); border: 1px solid var(--nf-border); border-radius: var(--nf-radius);
  font: inherit; font-size: 15px; line-height: 1.4;
}
.nf-form *, .nf-form *::before, .nf-form *::after { box-sizing: border-box; }
.nf-shadow { box-shadow: 0 4px 18px rgba(16, 24, 40, .08); }
.nf-title { font-size: 1.25em; font-weight: 700; text-align: center; }
.nf-subtitle { margin-top: -6px; text-align: center; opacity: .75; font-size: .92em; }

.nf-tiers { display: flex; flex-direction: column; gap: 10px; }
.nf-tier { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer;
  border: 1.5px solid var(--nf-border); border-radius: var(--nf-radius); background: var(--nf-bg); transition: border-color .15s, background .15s; }
.nf-tier input { accent-color: var(--nf-accent); width: 18px; height: 18px; margin: 0; flex: none; }
.nf-tier.nf-selected { border-color: var(--nf-accent); background: color-mix(in srgb, var(--nf-accent) 7%, var(--nf-bg)); }
.nf-tier-img { width: 48px; height: 48px; object-fit: cover; border-radius: calc(var(--nf-radius) * .6); flex: none; }
.nf-tier-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.nf-tier-title { font-weight: 600; }
.nf-badge-save { align-self: flex-start; padding: 1px 7px; border-radius: 99px; font-size: .78em; font-weight: 600;
  background: color-mix(in srgb, var(--nf-accent) 15%, transparent); color: var(--nf-accent); }
.nf-badge-save[hidden] { display: none; }
.nf-tier-prices { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.nf-tier-price { font-weight: 700; white-space: nowrap; }
.nf-tier-compare { font-size: .82em; opacity: .55; white-space: nowrap; }
.nf-ribbon { position: absolute; top: -10px; inset-inline-end: 12px; padding: 2px 9px; border-radius: 99px; font-size: .75em; font-weight: 700;
  background: var(--nf-accent); color: var(--nf-accent-text); }

.nf-field { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.nf-label { font-size: .9em; font-weight: 600; }
.nf-control { position: relative; display: flex; align-items: center; }
.nf-icon { position: absolute; inset-inline-start: 11px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; opacity: .5; pointer-events: none; }
.nf-input { width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; padding-inline-start: 38px; font: inherit; font-size: max(16px, 1em); color: inherit;
  background: var(--nf-bg); border: 1px solid var(--nf-border); border-radius: calc(var(--nf-radius) * .8); outline: none; appearance: auto; }
.nf-field .nf-control > .nf-input:first-child { padding-inline-start: 12px; }
textarea.nf-input { min-height: 64px; resize: vertical; }
.nf-input:focus { border-color: var(--nf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nf-accent) 18%, transparent); }
.nf-input.nf-invalid { border-color: #d92d20; }
.nf-field-error { color: #d92d20; font-size: .82em; }
.nf-field-error[hidden] { display: none; }

.nf-shipping { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--nf-border); border-radius: calc(var(--nf-radius) * .8); }
.nf-ship { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nf-ship input { accent-color: var(--nf-accent); width: 17px; height: 17px; margin: 0; }
.nf-ship-text { display: flex; flex-direction: column; flex: 1; }
.nf-ship-text small { opacity: .6; }
.nf-ship-price { font-weight: 600; white-space: nowrap; }

.nf-qty { display: flex; align-items: stretch; border: 1px solid var(--nf-border); border-radius: calc(var(--nf-radius) * .8); overflow: hidden; }
.nf-qty-btn { width: 48px; min-height: 44px; border: 0; background: transparent; color: inherit; font-size: 20px; cursor: pointer; }
.nf-qty-value { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 600;
  border-inline: 1px solid var(--nf-border); }

.nf-summary { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: calc(var(--nf-radius) * .8);
  background: color-mix(in srgb, var(--nf-text) 4%, var(--nf-bg)); }
.nf-sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .93em; }
.nf-sum-discount span:last-child { color: #079455; }
.nf-sum-total { padding-top: 6px; border-top: 1px solid var(--nf-border); font-weight: 700; font-size: 1em; }

.nf-hp { position: absolute !important; top: 0 !important; inset-inline-start: 0 !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip-path: inset(50%) !important; opacity: 0 !important; pointer-events: none !important; border: 0 !important; padding: 0 !important; }
.nf-error { padding: 10px 12px; border-radius: calc(var(--nf-radius) * .8); background: #fef3f2; color: #b42318; font-size: .92em; }
.nf-error[hidden] { display: none; }

.nf-submit, .nf-open, .nf-whatsapp {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--nf-radius); cursor: pointer;
  font: inherit; font-size: 1.05em; font-weight: 700; line-height: 1.2;
}
.nf-submit, .nf-open { background: var(--nf-accent, #e8541c); color: var(--nf-accent-text, #fff); }
.nf-submit:disabled { opacity: .6; cursor: default; }
.nf-whatsapp { background: #25d366; color: #fff; }
.nf-open.nf-inline { margin: 12px 0; animation: nf-pulse 2.4s ease-in-out infinite; }
@keyframes nf-pulse { 50% { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .nf-open.nf-inline { animation: none; } .nf-skeleton { animation: none; } }

.nf-done { align-items: center; text-align: center; padding: 28px 16px; }
.nf-check { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; font-weight: 700;
  background: color-mix(in srgb, #079455 14%, transparent); color: #079455; }
.nf-thanks { font-size: 1.05em; white-space: pre-line; }

.nf-modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(16, 24, 40, .55); }
.nf-modal[hidden] { display: none; }
.nf-modal-panel { position: relative; width: 100%; max-width: 520px; max-height: 92vh; max-height: 92dvh; overflow: auto; padding-top: 40px;
  background: #fff; border-radius: 16px 16px 0 0; }
.nf-modal-panel .nf-form { border: 0; box-shadow: none; }
.nf-close { position: absolute; top: 6px; inset-inline-end: 8px; width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 26px; line-height: 1; cursor: pointer; color: #475467; }
@media (min-width: 640px) { .nf-modal { align-items: center; } .nf-modal-panel { border-radius: 16px; } }
html.nf-lock, html.nf-lock body { overflow: hidden; }

.nf-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 2147482000; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); box-shadow: 0 -4px 16px rgba(16, 24, 40, .1); }
.nf-sticky[hidden] { display: none; }
.nf-sticky .nf-open { max-width: 560px; margin: 0 auto; display: block; }

html.nf-hide-theme-buttons form[action*="/cart/add"] [type="submit"],
html.nf-hide-theme-buttons form[action*="/cart/add"] .shopify-payment-button { display: none !important; }
