/* Design previews only: watermark and no text selection. Never shipped in delivered sites. */
.pv-protect, .pv-protect * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.pv-protect input, .pv-protect textarea { -webkit-user-select: text; user-select: text; }
.pv-protect img { -webkit-user-drag: none; pointer-events: none; }
.pv-watermark { position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='180'><text x='10' y='110' transform='rotate(-24 160 90)' font-family='Arial, sans-serif' font-size='22' font-weight='700' fill='%23111'>Preview · Digitapix</text></svg>");
  background-repeat: repeat; }
@media print { body.pv-protect { display: none !important; } }

/* Big, always-visible Buy now on design previews */
.buy-fab { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 950;
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font: 800 1.12rem/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #fff !important; text-decoration: none; background: linear-gradient(135deg, #4f2bea, #db2777); box-shadow: 0 14px 34px rgba(79, 43, 234, .45);
  animation: buy-pulse 2.4s ease-in-out infinite; }
.buy-fab small { font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .22); padding: 3px 8px; border-radius: 999px; }
.buy-fab:hover { transform: translateY(-2px); }
.buy-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes buy-pulse { 0%, 100% { box-shadow: 0 14px 34px rgba(79, 43, 234, .45); } 50% { box-shadow: 0 14px 44px rgba(219, 39, 119, .65); } }
@media (max-width: 640px) { .buy-fab { left: 16px; right: 16px; justify-content: center; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .buy-fab { animation: none; } }
.buy-now-btn { font-size: 1.1rem; padding: 14px 20px; background: linear-gradient(135deg, #4f2bea, #db2777) !important; }
.p-price { font-size: 1.5rem; font-weight: 800; margin: 4px 0 8px; } .p-price small { font-size: .85rem; font-weight: 500; color: #6b7280; }
.p-price s { font-size: 1rem; color: #9ca3af; font-weight: 500; } .p-off { font-size: .85rem; color: #047857; }
.p-eyebrow { margin: 0; }
.buy-pop { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 16px; background: rgba(15, 12, 35, .6); }
.buy-pop[hidden] { display: none; }
.buy-pop-card { position: relative; max-width: 440px; width: 100%; background: #fff; color: #18212b; border-radius: 20px; padding: 28px 24px 20px; text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.buy-pop-card h2 { margin: 4px 0 8px; }
.buy-pop-eyebrow { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #4f2bea; }
.buy-pop-price { font-size: 1.5rem; font-weight: 800; margin: 6px 0; } .buy-pop-price small { font-size: .85rem; font-weight: 500; color: #6b7280; }
.buy-pop-price s { font-size: 1rem; color: #9ca3af; font-weight: 500; } .buy-pop-price b { font-size: .85rem; color: #047857; }
.buy-pop-btn { display: block; margin: 14px 0 6px; padding: 14px 20px; border-radius: 12px; font-weight: 800; font-size: 1.08rem; color: #fff !important;
  text-decoration: none; background: linear-gradient(135deg, #4f2bea, #db2777); }
.buy-pop-no { background: none; border: 0; color: #6b7280; cursor: pointer; font: inherit; padding: 6px; }
.buy-pop-x { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: #6b7280; }
.buy-pop-alt { margin: 10px 0 2px; font-size: .9rem; color: #4b5563; }
