/*
Theme Name: printportal
Theme URI: https://printportal.ir
Author: printportal
Description: قالب سبک و فارسی برای کسب‌وکار چاپ پرینت پورتال؛ همراه با لیست قیمت، نمونه‌کار و فرم سفارش با اتصال پیام‌رسان بله یا تلگرام.
Version: 1.5.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: printportal
*/

:root {
  --np-ink: #172033;
  --np-muted: #667085;
  --np-orange: #f97316;
  --np-orange-dark: #ea580c;
  --np-bg: #f7f8fa;
  --np-card: #ffffff;
  --np-line: #e7e9ee;
  --np-soft: #fff3e9;
  --np-radius: 18px;
  --np-shadow: 0 12px 35px rgba(23, 32, 51, .06);
  --np-width: 1160px;
  --np-font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--np-bg);
  color: var(--np-ink);
  font-family: var(--np-font-family);
  font-size: 15px;
  line-height: 1.9;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(249, 115, 22, .42); outline-offset: 3px; }

.np-shell { width: min(calc(100% - 36px), var(--np-width)); margin-inline: auto; }
.np-section { padding: 66px 0; }
.np-section--compact { padding: 42px 0; }
.np-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.np-section-heading h2 { margin: 0; font-size: clamp(23px, 3vw, 31px); line-height: 1.5; letter-spacing: -.5px; }
.np-section-heading p { margin: 6px 0 0; color: var(--np-muted); }
.np-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--np-orange-dark); font-size: 13px; font-weight: 700; }
.np-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.np-muted { color: var(--np-muted); }

.np-header { position: relative; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--np-line); }
.np-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.np-brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.np-brand-mark { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 15px; background: var(--np-orange); color: #fff; font-size: 22px; font-weight: 900; box-shadow: 0 7px 18px rgba(249,115,22,.2); }
.np-brand-name { display: block; font-weight: 900; font-size: 18px; line-height: 1.35; }
.np-brand-tagline { display: block; margin-top: 2px; color: var(--np-muted); font-size: 11px; line-height: 1.4; }
.np-nav { display: flex; align-items: center; gap: 25px; color: #444c5c; font-size: 14px; }
.np-nav a { transition: color .34s cubic-bezier(.22,1,.36,1), opacity .34s cubic-bezier(.22,1,.36,1); }
.np-nav a:hover { color: var(--np-orange-dark); }
.np-header-actions { display: flex; align-items: center; gap: 10px; }
.np-mobile-nav { display: none; }

.np-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 47px; padding: 10px 19px; border: 1px solid transparent; border-radius: 13px; background: var(--np-orange); color: #fff; font-weight: 800; font-size: 14px; line-height: 1.5; transition: transform .34s cubic-bezier(.22,1,.36,1), background .34s cubic-bezier(.22,1,.36,1), box-shadow .38s cubic-bezier(.22,1,.36,1), border-color .34s cubic-bezier(.22,1,.36,1); }
.np-button:hover { background: var(--np-orange-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249,115,22,.18); }
.np-button--secondary { background: #fff; color: var(--np-ink); border-color: var(--np-line); }
.np-button--secondary:hover { background: #fff7f1; color: var(--np-orange-dark); border-color: #fed7aa; box-shadow: none; }
.np-button--dark { background: var(--np-ink); }
.np-button--dark:hover { background: #26344d; }
.np-link { color: var(--np-orange-dark); font-weight: 800; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.np-link:hover { color: var(--np-ink); }

.np-hero { padding: 64px 0 50px; overflow: hidden; }
.np-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); align-items: center; gap: 42px; }
.np-hero h1 { margin: 14px 0 16px; max-width: 680px; font-size: clamp(34px, 5vw, 56px); line-height: 1.42; letter-spacing: -1.2px; }
.np-hero h1 span { color: var(--np-orange-dark); }
.np-hero-copy { max-width: 620px; margin: 0; color: var(--np-muted); font-size: 16px; line-height: 2.1; }
.np-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.np-hero-notes { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 24px; color: #566071; font-size: 12px; }
.np-hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.np-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--np-orange); display: inline-block; }
.np-hero-art { position: relative; min-height: 355px; display: grid; place-items: center; }
.np-art-backdrop { position: absolute; inset: 14px 4px 6px 16px; border-radius: 34px; background: linear-gradient(140deg, #ffead8, #fff6ee 55%, #e9edf5); transform: rotate(-3deg); }
.np-art-sheet { position: absolute; width: min(69%, 285px); aspect-ratio: .72; padding: 23px; border: 1px solid rgba(23,32,51,.08); border-radius: 17px; background: #fff; box-shadow: 0 20px 45px rgba(23,32,51,.12); }
.np-art-sheet--back { transform: translate(-52px, 9px) rotate(-11deg); background: #172033; }
.np-art-sheet--mid { transform: translate(30px, 9px) rotate(8deg); padding: 15px; }
.np-art-sheet--front { transform: translate(-7px, -4px) rotate(-1deg); overflow: hidden; }
.np-art-topline { width: 58%; height: 7px; background: #172033; border-radius: 10px; margin-bottom: 20px; }
.np-art-orange { height: 100px; border-radius: 12px; background: linear-gradient(135deg, #f97316, #fb923c); margin-bottom: 15px; }
.np-art-lines { display: grid; gap: 8px; }
.np-art-lines i { display: block; height: 6px; background: #e7e9ee; border-radius: 8px; }
.np-art-lines i:nth-child(2) { width: 77%; }
.np-art-lines i:nth-child(3) { width: 56%; }
.np-art-stamp { position: absolute; left: 7%; bottom: 15%; width: 78px; height: 78px; border: 2px solid #f97316; color: #f97316; border-radius: 50%; display: grid; place-items: center; text-align: center; font-weight: 900; font-size: 12px; line-height: 1.5; transform: rotate(-12deg); background: rgba(255,255,255,.9); }
.np-art-pill { position: absolute; right: -1px; bottom: 21px; padding: 11px 15px; background: #fff; border: 1px solid var(--np-line); border-radius: 14px; box-shadow: var(--np-shadow); font-size: 12px; font-weight: 800; }
.np-hero-art--has-image { overflow: hidden; border-radius: 28px; min-height: 0; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #fff0e4, #f1f4fa); box-shadow: 0 25px 65px rgba(23,32,51,.12); isolation: isolate; }
.np-hero-art-image { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: inherit; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.np-hero-art--has-image:hover .np-hero-art-image { transform: scale(1.035); filter: saturate(1.06); }
.np-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.np-service-card { padding: 22px; border: 1px solid var(--np-line); border-radius: var(--np-radius); background: var(--np-card); transition: transform .36s cubic-bezier(.22,1,.36,1), box-shadow .38s cubic-bezier(.22,1,.36,1), border-color .34s cubic-bezier(.22,1,.36,1), background-color .34s cubic-bezier(.22,1,.36,1); }
.np-service-card:hover { transform: translateY(-3px); box-shadow: var(--np-shadow); border-color: #fed7aa; }
.np-service-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 15px; border-radius: 14px; background: var(--np-soft); color: var(--np-orange-dark); font-size: 22px; font-weight: 900; }
.np-service-card h3 { margin: 0 0 7px; font-size: 16px; }
.np-service-card p { margin: 0; color: var(--np-muted); font-size: 12px; line-height: 1.9; }

.np-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.np-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius); transition: transform .36s cubic-bezier(.22,1,.36,1), box-shadow .38s cubic-bezier(.22,1,.36,1), border-color .34s cubic-bezier(.22,1,.36,1); }
.np-card:hover { transform: translateY(-3px); box-shadow: var(--np-shadow); }
.np-card-body { padding: 20px; }
.np-card h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.6; }
.np-card p { margin: 0; color: var(--np-muted); font-size: 13px; }
.np-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 17px; padding-top: 14px; border-top: 1px solid #f0f1f4; }
.np-price { color: var(--np-orange-dark); font-size: 16px; font-weight: 900; }
.np-price small { display: block; font-size: 11px; color: var(--np-muted); font-weight: 400; }
.np-work-thumb { aspect-ratio: 1.35; overflow: hidden; background: linear-gradient(135deg, #fff2e7, #eceff5); }
.np-work-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) saturate(0); transition: transform .65s cubic-bezier(.22,1,.36,1), filter .55s cubic-bezier(.22,1,.36,1); }
.np-card:hover .np-work-thumb img, .np-card:focus-within .np-work-thumb img { filter: grayscale(0) saturate(1.08) contrast(1.04); }
.np-card:hover .np-work-thumb img { transform: scale(1.035); }
.np-work-placeholder { min-height: 190px; display: grid; place-items: center; padding: 24px; text-align: center; color: #8a5a35; background: radial-gradient(circle at 20% 20%, #fff 0 10%, transparent 11%), linear-gradient(135deg, #ffead8, #f6f7fa); }
.np-work-placeholder strong { display: block; font-size: 24px; }
.np-work-placeholder span { font-size: 12px; }
.np-empty { padding: 30px; border: 1px dashed #d7dbe3; border-radius: var(--np-radius); color: var(--np-muted); background: rgba(255,255,255,.65); text-align: center; }

.np-band { padding: 37px; border-radius: 26px; background: var(--np-ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 25px; overflow: hidden; position: relative; }
.np-band::after { content: ""; position: absolute; width: 240px; height: 240px; border: 45px solid rgba(249,115,22,.15); border-radius: 50%; left: -62px; top: -105px; pointer-events: none; }
.np-band > * { position: relative; z-index: 1; }
.np-band h2 { margin: 0 0 5px; font-size: clamp(22px, 3vw, 29px); }
.np-band p { margin: 0; color: #ccd2dd; }

.np-page-head { padding: 46px 0 25px; }
.np-breadcrumb { color: var(--np-muted); font-size: 12px; margin-bottom: 12px; }
.np-page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.45; }
.np-page-head p { margin: 10px 0 0; color: var(--np-muted); max-width: 760px; }
.np-archive { padding: 10px 0 70px; }
.np-pagination { margin-top: 30px; }
.np-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.np-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid var(--np-line); }
.np-pagination .current { background: var(--np-orange); border-color: var(--np-orange); color: #fff; }
.np-single { padding: 25px 0 70px; }
.np-single-panel { padding: clamp(22px, 4vw, 42px); background: #fff; border: 1px solid var(--np-line); border-radius: 24px; }
.np-single-panel h1 { margin-top: 0; font-size: clamp(27px, 4vw, 38px); line-height: 1.5; }
.np-single-feature { border-radius: 18px; overflow: hidden; margin: 20px 0; }
.np-single-content { color: #384255; line-height: 2.1; }
.np-single-content h2, .np-single-content h3 { color: var(--np-ink); }
.np-single-content a { color: var(--np-orange-dark); text-decoration: underline; }
.np-single-price-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin: 25px 0; padding: 18px; border-radius: 16px; background: #fff5ec; }

.np-order-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
.np-order-info, .np-form-card { padding: 26px; background: #fff; border: 1px solid var(--np-line); border-radius: 21px; }
.np-order-info h2, .np-form-card h2 { margin-top: 0; font-size: 23px; }
.np-order-info p { color: var(--np-muted); }
.np-order-list { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 12px; }
.np-order-list li { display: flex; align-items: flex-start; gap: 9px; }
.np-order-list li::before { content: "✓"; color: var(--np-orange-dark); font-weight: 900; }
.np-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.np-field { display: grid; gap: 7px; }
.np-field--full { grid-column: 1 / -1; }
.np-field label { font-size: 13px; font-weight: 800; }
.np-field input, .np-field select, .np-field textarea { width: 100%; min-width: 0; padding: 12px 13px; color: var(--np-ink); border: 1px solid #dfe3ea; border-radius: 12px; background: #fff; outline: none; }
.np-field input:focus, .np-field select:focus, .np-field textarea:focus { border-color: var(--np-orange); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
.np-field textarea { min-height: 110px; resize: vertical; }
.np-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--np-muted); font-size: 12px; line-height: 1.8; }
.np-consent input { margin-top: 6px; accent-color: var(--np-orange); }
.np-notice { margin: 0 0 18px; padding: 13px 15px; border-radius: 12px; font-size: 13px; }
.np-notice--success { background: #e9f8ee; color: #17633a; }
.np-notice--error { background: #fff0ed; color: #a72d1c; }
.np-notice--info { background: #eef5ff; color: #214b86; }
.np-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }


.np-order-urgent-contact { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 18px; padding: 17px 18px; overflow: hidden; border: 1px solid rgba(249,115,22,.25); border-radius: 20px; background: linear-gradient(115deg, #fff7ed, #fff 68%, #fff1e5); box-shadow: 0 10px 28px rgba(249,115,22,.08); animation: np-contact-entry .65s ease both; }
.np-order-urgent-contact::before { content: ""; position: absolute; inset: -35% auto -35% -12%; width: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.16), transparent 68%); pointer-events: none; animation: np-contact-glow 3.6s ease-in-out infinite; }
.np-order-urgent-icon { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, #fb923c, #ea580c); box-shadow: 0 8px 20px rgba(234,88,12,.25); font-size: 22px; animation: np-contact-ring 2.6s ease-in-out infinite; }
.np-order-urgent-copy { position: relative; z-index: 1; display: grid; gap: 2px; flex: 1 1 180px; }
.np-order-urgent-copy strong { color: var(--np-ink); font-size: 14px; }
.np-order-urgent-copy span { color: var(--np-muted); font-size: 12px; }
.np-order-urgent-copy b { color: #c2410c; font-size: 19px; letter-spacing: .4px; width: fit-content; }
.np-order-urgent-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; }
.np-urgent-action { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; padding: 7px 12px; border: 1px solid rgba(234,88,12,.2); border-radius: 999px; background: #fff; color: #9a3412; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.np-urgent-action:hover, .np-urgent-action:focus-visible { transform: translateY(-2px); background: #ea580c; color: #fff; }
.np-urgent-action--call { background: #ea580c; color: #fff; }
.np-urgent-action--call:hover, .np-urgent-action--call:focus-visible { background: #c2410c; color: #fff; }
@keyframes np-contact-entry { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes np-contact-glow { 0%,100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(16px); opacity: 1; } }
@keyframes np-contact-ring { 0%,100% { box-shadow: 0 8px 20px rgba(234,88,12,.22); } 50% { box-shadow: 0 8px 24px rgba(234,88,12,.42), 0 0 0 7px rgba(249,115,22,.08); } }
@media (max-width: 520px) { .np-order-urgent-contact { gap: 10px; padding: 14px; border-radius: 16px; } .np-order-urgent-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; } .np-order-urgent-copy { flex-basis: calc(100% - 60px); } .np-order-urgent-copy b { font-size: 18px; } .np-order-urgent-actions { width: 100%; } .np-urgent-action { flex: 1; padding-inline: 8px; } }
@media (prefers-reduced-motion: reduce) { .np-hero-art--animated *, .np-order-urgent-contact, .np-order-urgent-contact::before, .np-order-urgent-icon { animation: none !important; transition: none !important; } }

.np-footer { margin-top: 25px; padding: 45px 0 22px; background: #111827; color: #fff; }
.np-footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 35px; }
.np-footer .np-brand-tagline { color: #aab2c0; }
.np-footer p, .np-footer a { color: #b6bfcc; font-size: 13px; }
.np-footer a:hover { color: #fff; }
.np-footer h3 { margin: 0 0 14px; font-size: 15px; color: #fff; }
.np-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.np-footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #303847; color: #8d98a8; font-size: 11px; display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.np-footer-bottom p { margin: 0; font-size: 11px; }

.alignwide { max-width: 1200px; margin-inline: auto; }
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--np-muted); font-size: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.gallery img { border-radius: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .np-nav { gap: 15px; }
  .np-header-actions .np-button { padding-inline: 13px; }
  .np-hero-grid { gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr); }
  .np-hero-art { min-height: 320px; }
  .np-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .np-shell { width: min(calc(100% - 28px), var(--np-width)); }
  .np-header-inner { min-height: 72px; flex-wrap: wrap; gap: 12px; padding-block: 11px; }
  .np-nav { order: 3; width: 100%; overflow-x: auto; white-space: nowrap; padding: 5px 0 2px; gap: 20px; font-size: 13px; }
  .np-header-actions .np-button { min-height: 40px; padding: 7px 11px; font-size: 12px; }
  .np-brand-mark { width: 40px; height: 40px; border-radius: 13px; }
  .np-brand-name { font-size: 16px; }
  .np-hero { padding: 40px 0 30px; }
  .np-hero-grid { grid-template-columns: 1fr; }
  .np-hero h1 { font-size: clamp(31px, 9vw, 43px); }
  .np-hero-copy { font-size: 14px; }
  .np-hero-art { min-height: 310px; max-width: 470px; width: 100%; margin-inline: auto; }
  .np-section { padding: 48px 0; }
  .np-section--compact { padding: 32px 0; }
  .np-section-heading { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 20px; }
  .np-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .np-card-body { padding: 15px; }
  .np-card h3 { font-size: 15px; }
  .np-work-placeholder { min-height: 145px; }
  .np-band { padding: 25px; align-items: flex-start; flex-direction: column; }
  .np-order-layout { grid-template-columns: 1fr; }
  .np-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .np-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .np-card-grid { grid-template-columns: 1fr; }
  .np-service-grid { gap: 10px; }
  .np-service-card { padding: 16px; }
  .np-service-card h3 { font-size: 14px; }
  .np-service-card p { font-size: 11px; }
  .np-form-grid { grid-template-columns: 1fr; }
  .np-footer-grid { grid-template-columns: 1fr; }
  .np-footer-grid > div:first-child { grid-column: auto; }
  .np-single-panel, .np-order-info, .np-form-card { padding: 20px; }
  .np-hero-actions .np-button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* WordPress navigation and logo compatibility */
.np-nav > ul { display: flex; align-items: center; gap: 25px; padding: 0; margin: 0; list-style: none; }
.np-nav li { list-style: none; margin: 0; padding: 0; }
.np-nav .sub-menu { display: none; }
.np-brand .custom-logo-link { display: inline-flex; align-items: center; }
.np-brand .custom-logo { width: auto; max-width: 150px; max-height: 54px; object-fit: contain; }
@media (max-width: 980px) { .np-nav > ul { gap: 15px; } }
@media (max-width: 760px) { .np-nav > ul { gap: 20px; white-space: nowrap; } }

/* PrintPortal mobile and contact refinements */
.np-contact-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.np-contact-list li { color: #b6bfcc; font-size: 13px; overflow-wrap: anywhere; }
.np-contact-list a { color: inherit; }
.np-contact-list a:hover { color: #fff; }
.np-footer-credit { text-align: left; }
.pp-install-button { position: fixed; inset-inline-start: 14px; bottom: 14px; z-index: 999; border: 0; border-radius: 999px; padding: 10px 14px; color: #fff; background: var(--np-orange); box-shadow: var(--np-shadow); font-weight: 800; }
@media (max-width: 760px) {
  .np-header-inner { gap: 8px; }
  .np-brand { max-width: calc(100% - 120px); }
  .np-brand-name { overflow-wrap: anywhere; }
  .np-nav { scrollbar-width: thin; }
  .np-header-actions { margin-inline-start: auto; }
  .np-header-actions .np-button { white-space: nowrap; }
  .np-footer-credit { text-align: right; }
}


/* PrintPortal detailed price tables (Excel copy/paste friendly) */
.pp-price-tables-list,
.pp-featured-price-table { display: grid; gap: 28px; margin-bottom: 34px; min-width: 0; }
.pp-price-table-card { min-width: 0; overflow: hidden; padding: clamp(16px, 2.4vw, 26px); background: var(--np-card); border: 1px solid var(--np-line); border-radius: var(--np-radius); box-shadow: var(--np-shadow); }
.pp-price-table-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pp-price-table-heading h2 { margin: 3px 0 4px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; }
.pp-price-table-description { color: var(--np-muted); font-size: 14px; }
.pp-price-table-description p { margin: 4px 0; }
.pp-price-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; border: 1px solid var(--np-line); border-radius: 12px; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.pp-price-table { width: 100%; min-width: 940px; margin: 0; border-collapse: separate; border-spacing: 0; color: var(--np-ink); font-size: 13px; line-height: 1.8; background: #fff; }
.pp-price-table th, .pp-price-table td { padding: 12px 13px; border: 0; border-left: 1px solid var(--np-line); border-bottom: 1px solid var(--np-line); text-align: right; vertical-align: middle; white-space: nowrap; }
.pp-price-table th { background: var(--np-ink); color: #fff; font-weight: 700; }
.pp-price-table tr:last-child td { border-bottom: 0; }
.pp-price-table th:last-child, .pp-price-table td:last-child { border-left: 0; }
.pp-price-table tbody tr:nth-child(even) { background: #fafbfc; }
.pp-price-table tbody tr:hover { background: var(--np-soft); }
.pp-price-table-footnote { margin: 12px 0 0; color: var(--np-muted); font-size: 12px; }
.pp-simple-prices-heading { margin-top: 36px; }
.pp-price-card-title { font-size: 18px; margin: 0 0 8px; }
.np-button--small { min-height: 40px; padding: 9px 14px; font-size: 13px; white-space: nowrap; }
@media (max-width: 640px) {
  .pp-price-table-card { padding: 14px; border-radius: 14px; }
  .pp-price-table-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pp-price-table-heading .np-button { align-self: flex-start; }
  .pp-price-table th, .pp-price-table td { padding: 10px 11px; }
  .pp-price-table { min-width: 900px; font-size: 12px; }
}


/* TablePress tables are maintained in the page editor, not in a theme-specific price manager. */
.np-single-content .tablepress,
.np-single-content table.tablepress {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--np-line);
    border-radius: 14px;
    overflow: hidden;
    color: var(--np-ink);
    background: #fff;
    font-size: 14px;
}
.np-single-content .tablepress th,
.np-single-content .tablepress td {
    padding: 12px 14px;
    border: 0;
    border-left: 1px solid var(--np-line);
    border-bottom: 1px solid var(--np-line);
    vertical-align: middle;
    text-align: right;
}
.np-single-content .tablepress thead th { background: var(--np-ink); color: #fff; font-weight: 700; }
.np-single-content .tablepress tbody tr:nth-child(even) td { background: #f8fafc; }
.np-single-content .tablepress tbody tr:hover td { background: var(--np-soft); }
.np-single-content .wp-block-table { max-width: 100%; overflow-x: auto; }
.np-single-content table.tablepress { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }

/* Responsive image-only portfolio with a soft ink/halftone reveal. */
.pp-portfolio-page { padding-top: 8px; }
.pp-portfolio-grid {
    --pp-gallery-columns: 3;
    display: grid;
    grid-template-columns: repeat(var(--pp-gallery-columns), minmax(0, 1fr));
    gap: clamp(12px, 2vw, 24px);
    align-items: start;
}
.pp-portfolio-item {
    display: block;
    position: relative;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background: #e9edf2;
    box-shadow: 0 10px 28px rgba(23,32,51,.09);
    outline-offset: 4px;
    transform: translateZ(0);
}
.pp-portfolio-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) saturate(0) contrast(1.04) blur(0);
    transform: scale(1.035);
    transition: transform .72s cubic-bezier(.22,1,.36,1), filter .62s cubic-bezier(.22,1,.36,1);
}
.pp-portfolio-item:hover img,
.pp-portfolio-item:focus-visible img { transform: scale(1.075); filter: grayscale(0) saturate(1.08) contrast(1.04); }
.pp-portfolio-item .pp-print-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .42;
    background-image: radial-gradient(rgba(249,115,22,.48) 1.1px, transparent 1.6px), linear-gradient(115deg, rgba(23,32,51,.28), transparent 58%);
    background-size: 7px 7px, 100% 100%;
    mix-blend-mode: multiply;
    transition: opacity .8s ease, transform .95s cubic-bezier(.2,.7,.2,1);
    transform: translateX(-3%) scale(1.015);
}
.pp-portfolio-item.is-visible .pp-print-overlay { opacity: 0; transform: translateX(0) scale(1); }
html.pp-reveal-ready .pp-portfolio-item[data-print-reveal] {
    opacity: 0;
    filter: blur(9px);
    transform: translateY(24px) scale(.985);
    transition: opacity .75s ease var(--pp-reveal-delay, 0ms), filter .85s ease var(--pp-reveal-delay, 0ms), transform .85s cubic-bezier(.2,.7,.2,1) var(--pp-reveal-delay, 0ms);
}
html.pp-reveal-ready .pp-portfolio-item[data-print-reveal].is-visible { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
.pp-portfolio-empty { margin: 10px 0; }
.np-price-portal-card {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: clamp(22px,4vw,42px); border: 1px solid var(--np-line); border-radius: var(--np-radius);
    background: linear-gradient(120deg, #fff 0%, var(--np-soft) 100%); box-shadow: var(--np-shadow);
}
.np-price-portal-card h2 { margin: 4px 0 8px; font-size: clamp(22px,3vw,30px); }
.np-price-portal-card p { margin: 0; color: var(--np-muted); }
@media (max-width: 1000px) {
  .pp-portfolio-grid[data-columns="4"], .pp-portfolio-grid[data-columns="5"], .pp-portfolio-grid[data-columns="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pp-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .pp-portfolio-item { border-radius: 15px; aspect-ratio: 1 / 1; }
  .np-price-portal-card { align-items: flex-start; flex-direction: column; gap: 17px; }
  .np-single-content table.tablepress { font-size: 12px; }
  .np-single-content .tablepress th, .np-single-content .tablepress td { padding: 9px 10px; }
}
@media (max-width: 380px) { .pp-portfolio-grid { gap: 8px; } .pp-portfolio-item { border-radius: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .pp-portfolio-item, .pp-portfolio-item img, .pp-portfolio-item .pp-print-overlay { transition: none !important; }
  html.pp-reveal-ready .pp-portfolio-item[data-print-reveal] { opacity: 1; filter: none; transform: none; }
}


/* Premium interactive cursor: glowing orange focus ring with a softly trailing halo. */
.pp-cursor-trail {
  position: fixed; top: 0; left: 0; z-index: 99997; width: 66px; height: 66px;
  margin: 0; border-radius: 50%; pointer-events: none !important; opacity: 0;
  background: radial-gradient(circle, rgba(249,115,22,.17) 0%, rgba(249,115,22,.09) 38%, rgba(249,115,22,0) 72%);
  filter: blur(1px); will-change: transform; transition: opacity .36s cubic-bezier(.22,1,.36,1), width .42s cubic-bezier(.22,1,.36,1), height .42s cubic-bezier(.22,1,.36,1), background .42s cubic-bezier(.22,1,.36,1);
}
.pp-cursor-follower {
  position: fixed; top: 0; left: 0; z-index: 99999; width: 30px; height: 30px;
  margin: 0; border: 1.5px solid rgba(249,115,22,.88); border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), rgba(249,115,22,.08) 58%, rgba(249,115,22,.02));
  box-shadow: 0 0 0 5px rgba(249,115,22,.06), 0 0 18px rgba(249,115,22,.25), inset 0 0 10px rgba(249,115,22,.08);
  pointer-events: none !important; opacity: 0; transform: translate3d(-100px,-100px,0) translate(-50%,-50%);
  transition: width .38s cubic-bezier(.22,1,.36,1), height .38s cubic-bezier(.22,1,.36,1), border-color .38s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1), background .4s cubic-bezier(.22,1,.36,1), opacity .28s ease;
  will-change: transform;
}
.pp-cursor-follower::before {
  content: ""; position: absolute; inset: -6px; border: 1px dashed rgba(249,115,22,.62); border-radius: 50%;
  opacity: .72; animation: pp-cursor-orbit 8s linear infinite;
}
.pp-cursor-follower::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%; background: #f97316; box-shadow: 0 0 10px rgba(249,115,22,.65), 0 0 20px rgba(249,115,22,.3);
}
body.pp-cursor-active .pp-cursor-follower, body.pp-cursor-active .pp-cursor-trail { opacity: 1; }
body.pp-cursor-hover .pp-cursor-follower {
  width: 48px; height: 48px; border-color: rgba(255,255,255,.95);
  background: radial-gradient(circle, rgba(249,115,22,.24), rgba(249,115,22,.08) 68%);
  box-shadow: 0 0 0 7px rgba(249,115,22,.14), 0 0 28px rgba(249,115,22,.45), inset 0 0 12px rgba(255,255,255,.22);
}
body.pp-cursor-hover .pp-cursor-follower::before { inset: -9px; border-style: solid; border-color: rgba(249,115,22,.92); animation-duration: 6.5s; }
body.pp-cursor-hover .pp-cursor-trail { width: 88px; height: 88px; background: radial-gradient(circle, rgba(249,115,22,.2) 0%, rgba(249,115,22,.1) 42%, rgba(249,115,22,0) 73%); }
body.pp-cursor-down .pp-cursor-follower { transform: translate3d(var(--pp-cursor-x, -100px),var(--pp-cursor-y, -100px),0) translate(-50%,-50%) scale(.84); background: rgba(249,115,22,.3); }
@keyframes pp-cursor-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (pointer: coarse), (hover: none) { .pp-cursor-follower, .pp-cursor-trail { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .pp-cursor-follower::before { animation: none !important; } }


/* PrintPortal 1.5.2 finishing polish */
.np-brand-mark--printer { display: grid; place-items: center; }
.np-brand-mark--printer svg { display: block; width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.np-footer { position: relative; isolation: isolate; border-top: 0; }
.np-footer::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent 0%, #ea580c 12%, #fb923c 32%, #fed7aa 50%, #f97316 70%, #c2410c 88%, transparent 100%); box-shadow: 0 0 16px rgba(249,115,22,.55), 0 2px 20px rgba(249,115,22,.18); }
.np-footer::after { content: ""; position: absolute; z-index: 3; top: 0; left: -28%; width: 26%; height: 4px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); filter: blur(.4px); animation: pp-footer-glint 6.5s ease-in-out infinite; pointer-events: none; }
@keyframes pp-footer-glint { 0%, 12% { left: -28%; opacity: 0; } 24% { opacity: .95; } 52% { left: 102%; opacity: .7; } 53%, 100% { left: 102%; opacity: 0; } }

.pp-price-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.pp-price-preview-heading h2 { margin: 5px 0 7px; font-size: clamp(24px, 3vw, 32px); line-height: 1.5; letter-spacing: -.5px; }
.pp-price-preview-heading p { margin: 0; color: var(--np-muted); max-width: 680px; }
.pp-price-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-price-preview-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 220px; padding: 21px; overflow: hidden; border: 1px solid rgba(23,32,51,.08); border-radius: 21px; background: linear-gradient(145deg, #fff 0%, var(--np-soft) 100%); box-shadow: 0 10px 28px rgba(23,32,51,.045); transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; isolation: isolate; }
.pp-price-preview-card::before { content: ""; position: absolute; z-index: -1; width: 145px; height: 145px; top: -64px; left: -48px; border-radius: 50%; background: var(--pp-price-orb, rgba(249,115,22,.12)); transition: transform .65s cubic-bezier(.22,1,.36,1), filter .55s cubic-bezier(.22,1,.36,1); }
.pp-price-preview-card::after { content: ""; position: absolute; z-index: -1; height: 3px; left: 18px; right: 18px; bottom: 0; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, transparent, var(--np-orange), transparent); opacity: .68; transform: scaleX(.35); transform-origin: center; transition: transform .3s ease, opacity .3s ease; }
.pp-price-preview-card:hover, .pp-price-preview-card:focus-visible { color: var(--np-ink); transform: translateY(-6px); border-color: rgba(249,115,22,.38); box-shadow: 0 20px 45px rgba(23,32,51,.11), 0 0 0 4px rgba(249,115,22,.055); }
.pp-price-preview-card:hover::before, .pp-price-preview-card:focus-visible::before { transform: scale(1.35); }
.pp-price-preview-card:hover::after, .pp-price-preview-card:focus-visible::after { transform: scaleX(1); opacity: 1; }
.pp-price-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.pp-price-preview-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border: 1px solid rgba(249,115,22,.18); border-radius: 999px; background: rgba(255,255,255,.82); color: #9a3412; font-size: 11px; font-weight: 900; }
.pp-price-preview-art { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(249,115,22,.18); border-radius: 17px; background: linear-gradient(145deg, #fff, #ffead8); color: var(--np-orange-dark); font-size: 31px; font-weight: 900; line-height: 1; box-shadow: 0 8px 18px rgba(249,115,22,.11); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-radius .35s ease; }
.pp-price-preview-card:hover .pp-price-preview-art { transform: rotate(-7deg) scale(1.08); border-radius: 20px 12px 20px 12px; }
.pp-price-preview-card--foil { --pp-price-orb: rgba(250,204,21,.20); }
.pp-price-preview-card--foil .pp-price-preview-art { background: linear-gradient(145deg, #fff9d6, #e9b949); color: #805b12; }
.pp-price-preview-card--rounded { --pp-price-orb: rgba(251,146,60,.17); }
.pp-price-preview-card--flyer { --pp-price-orb: rgba(251,146,60,.15); }
.pp-price-preview-card--poster { --pp-price-orb: rgba(96,165,250,.14); }
.pp-price-preview-card--design { --pp-price-orb: rgba(167,139,250,.14); }
.pp-price-preview-title { display: block; color: var(--np-ink); font-size: 18px; line-height: 1.6; font-weight: 900; }
.pp-price-preview-description { display: block; margin-top: 5px; color: var(--np-muted); font-size: 12px; line-height: 1.9; }
.pp-price-preview-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--np-orange-dark); font-size: 12px; font-weight: 900; }
.pp-price-preview-bottom b { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--np-orange); color: #fff; font-size: 15px; transition: transform .25s ease; }
.pp-price-preview-card:hover .pp-price-preview-bottom b { transform: translateX(-3px); }
.pp-price-preview-note { margin: 16px 2px 0; color: var(--np-muted); font-size: 12px; }
@media (max-width: 900px) { .pp-price-preview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) { .pp-price-preview-heading { align-items: flex-start; flex-direction: column; } .pp-price-preview-grid { gap: 11px; } .pp-price-preview-card { min-height: 205px; padding: 17px; border-radius: 17px; } .pp-price-preview-art { width: 46px; height: 46px; border-radius: 14px; font-size: 27px; } .pp-price-preview-title { font-size: 16px; } }
@media (max-width: 420px) { .pp-price-preview-grid { grid-template-columns: 1fr; } .pp-price-preview-card { min-height: 185px; } }

/* PrintPortal 1.5.3: static hero illustration; preserve scroll stability. */
html { overflow-x: clip; }
.np-hero { overflow-x: clip; overflow-y: clip; }
.np-hero-grid,
.np-hero-grid > * { min-width: 0; }
.np-hero-art--animated {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  overflow: clip;
  contain: layout paint;
  isolation: isolate;
  border-radius: 28px;
  /* Keep the stage and all decorative layers static. */
  animation: none !important;
  transform: none !important;
}
/* PrintPortal 1.5.3 static hero safeguard */
.np-hero-art--animated *, .np-hero-art--animated::before, .np-hero-art--animated::after { animation: none !important; }


/* PrintPortal 1.5.3: softer site-wide interaction and grayscale portfolio treatment. */
:where(a, button, input[type="button"], input[type="submit"], select, .np-link, .np-brand-mark) {
  transition-timing-function: cubic-bezier(.22,1,.36,1);
}
.pp-portfolio-item img { filter: grayscale(1) saturate(0) contrast(1.04); }
.pp-portfolio-item:hover img,
.pp-portfolio-item:focus-visible img,
.pp-portfolio-item:focus-within img { filter: grayscale(0) saturate(1.08) contrast(1.04); }
@media (prefers-reduced-motion: reduce) {
  .np-hero-art--animated *, .np-hero-art--animated::before, .np-hero-art--animated::after { animation: none !important; }
}
