/*
 Theme Name:   Logico Child
 Description:  Logico Child Theme
 Theme URI:	   https://demo.artureanec.com/themes/logico
 Author:       Artureanec
 Author URI:   https://demo.artureanec.com
 Template:     logico
 Version:      1.4.09
 License: GNU  General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  logico-child
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Latin fonts — self-hosted variable files (no requests to Google) */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/latin/manrope-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/latin/space-grotesk-latin-var.woff2") format("woff2"); }

/* IRANYekan (FaNum) — body text and UI, RTL languages only (LTR keeps the Latin fonts above).
   Owner 2026-10-14: weights 300-900, woff only. */
@font-face { font-family: "IRANYekan"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/yekan/woff/iranyekanweblightfanum.woff") format("woff"); }
@font-face { font-family: "IRANYekan"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/yekan/woff/iranyekanwebregularfanum.woff") format("woff"); }
@font-face { font-family: "IRANYekan"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/yekan/woff/iranyekanwebmediumfanum.woff") format("woff"); }
@font-face { font-family: "IRANYekan"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/yekan/woff/iranyekanwebboldfanum.woff") format("woff"); }
@font-face { font-family: "IRANYekan"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/yekan/woff/iranyekanwebextraboldfanum.woff") format("woff"); }
@font-face { font-family: "IRANYekan"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/yekan/woff/iranyekanwebblackfanum.woff") format("woff"); }

/* Shabnam (FD = Persian digits) — headings in RTL languages. Owner 2026-10-14: weights 300, 400 and 700, with 800
   mapped to the same Bold file; woff2 with a woff fallback. A 500 heading falls back to Regular, 600 and 900 to Bold. */
@font-face { font-family: "Shabnam"; font-style: normal; font-weight: 300; font-display: swap;
    src: url("fonts/shabnam/Shabnam-Light-FD.woff2") format("woff2"), url("fonts/shabnam/Shabnam-Light-FD.woff") format("woff"); }
@font-face { font-family: "Shabnam"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("fonts/shabnam/Shabnam-FD.woff2") format("woff2"), url("fonts/shabnam/Shabnam-FD.woff") format("woff"); }
@font-face { font-family: "Shabnam"; font-style: normal; font-weight: 700 800; font-display: swap;
    src: url("fonts/shabnam/Shabnam-Bold-FD.woff2") format("woff2"), url("fonts/shabnam/Shabnam-Bold-FD.woff") format("woff"); }

/* IRANYekan (FaNum) draws 0-9 as Persian digits. Model codes and technical values
   keep Latin digits: this face covers the digits only, so letters keep the Persian face. */
@font-face { font-family: "NadipackDigits"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/latin/manrope-latin-var.woff2") format("woff2"); unicode-range: U+0030-0039; }

/*
 * Colour tokens (owner decision 2026-10-14; DESIGN_RULES "الف) سطوح و رنگ"; same values in tools/homepage/colors.py
 * and in the Elementor kit). Light bands use the warm greys, dark panels use the brand's cool silvers; they never mix.
 * Every colour below this block is a var(--np-*); no new hex values are written in this file.
 */
:root {
    /* light bands (warm) */
    --np-white: #FFFFFF; --np-paper: #F9F7F6; --np-paper-2: #F2F0EE; --np-line-light: #E5E0DB; --np-line: #ADADAD;
    --np-muted: #6F6A66; --np-text: #333333; --np-heading: #111111;
    /* dark panels (cool, brand sheet) */
    --np-ink: #1F1F1F; --np-graphite: #414141; --np-steel: #808184; --np-silver: #BBBDBF;
    /* accent: brand orange; the deep one is for orange text under 24 px on white */
    --np-orange: #F47920; --np-orange-deep: #AB4C08; --np-orange-tint: #FDF0E6; --np-ember-end: #EC1C24;
    --np-ember-rise: linear-gradient(0deg, color-mix(in srgb, var(--np-ember-end) 85%, transparent) 0%,
                                     color-mix(in srgb, var(--np-orange) 75%, transparent) 38%, transparent 72%);
    /* UI details: brand turquoise on dark, the deep one on white/paper */
    --np-teal: #00B7BB; --np-teal-deep: #007C7F; --np-teal-tint: #E6F7F7;
    /* form states */
    --np-error: #D9141C; --np-success: #007C7F;
}

/*
 * RTL font system. --np-face is the Persian face of an element (IRANYekan for text,
 * Shabnam for headings); --np-latin adds Latin digits in front of it where needed.
 * Both are inherited, so a span inside a heading keeps the heading face.
 */
html[dir="rtl"] body {
    --np-face: "IRANYekan";
    --logico-body-font-family: "IRANYekan", Tahoma, sans-serif;
    --logico-h1-font-family: "Shabnam", Tahoma, sans-serif;
    --logico-h5-font-family: "Shabnam", Tahoma, sans-serif;
    --logico-standard-font-family: "IRANYekan", Tahoma, sans-serif;
    --e-global-typography-primary-font-family: "Shabnam";
    --e-global-typography-secondary-font-family: "Shabnam";
    --e-global-typography-text-font-family: "IRANYekan";
    --e-global-typography-accent-font-family: "IRANYekan";
}
html[dir="rtl"] :is(h1, h2, h3, h4, h5, h6, .logico-title, .content-slider-item-heading, .post-title,
    .elementor-tab-title, .elementor-counter-number-wrapper, .price-item-title, .price-item-price,
    .logico-marquee, .testimonial-author, .tab-title, .nav-tab-item) {
    --np-face: "Shabnam";
}

/* Theme and Elementor print font-family per selector, so override everything except icon fonts */
html[dir="rtl"] body,
html[dir="rtl"] body *:not(i):not([class*="icon"]):not([class^="fa-"]):not([class*=" fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fontello"]):not(.dashicons):not(.ab-icon):not(.site-search-close) {
    font-family: var(--np-latin, var(--np-face, "IRANYekan")), Tahoma, sans-serif !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] .nadipack-latin,
html[dir="rtl"] .nadipack-specs td,
html[dir="rtl"] body.single-machine h1,
html[dir="rtl"] .type-machine :is(h1, h2, h3, h4, h5, h6),
html[dir="rtl"] body.single-machine :is(h2, h3, .logico-title, .nadipack-specs caption, .np-steps-a [class*="description"]),
html[dir="rtl"] body.np-landing :is(h1, h2, h3, .logico-title, .np-steps-a [class*="description"]) {  /* hub and family pages (2026-11-28): model codes in headings keep Latin digits */
    --np-latin: "NadipackDigits", var(--np-face, "IRANYekan");
}

/* Product specification tables ([nadipack_specs]) */
.nadipack-specs { width: 100%; border-collapse: collapse; margin: 0 0 30px; }
.nadipack-specs caption { text-align: start; font-weight: 700; padding: 0 0 10px; color: var(--logico-accent-color); }
.nadipack-specs th,
.nadipack-specs td { padding: 12px 16px; border-bottom: 1px solid var(--logico-border-color); text-align: start; vertical-align: top; }
.nadipack-specs th { width: 45%; font-weight: 500; color: var(--logico-dark-text-color); }
.nadipack-specs td { direction: ltr; unicode-bidi: plaintext; }

/* Fluent Forms in Logico's field style (consultation form panel) */
.nadipack-form-panel .fluentform .ff-el-group { margin-bottom: 20px; }
.nadipack-form-panel .fluentform .ff-el-form-control {
    border: 1px solid var(--logico-border-color);
    border-radius: var(--logico-radius-small);
    background: var(--np-white);
    box-shadow: none;
    padding: 13px 18px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--logico-default-text-color);
}
.nadipack-form-panel .fluentform .ff-el-form-control:focus { border-color: var(--logico-dark-text-color); }
.nadipack-form-panel .fluentform .ff-t-container { gap: 20px; }
.nadipack-form-panel .fluentform .ff-t-cell { padding: 0 !important; }
.nadipack-form-panel .fluentform .ff_submit_btn_wrapper { text-align: start; margin-bottom: 0; }
/* The submit button carries the theme class logico-alter-button (owner 2026-10-11: like the theme button);
   only Fluent's own button colours and sizes are reset here so the theme style shows. */
.nadipack-form-panel .fluentform .ff-btn-submit.logico-alter-button {
    background-color: var(--logico-button-background-color) !important; color: var(--logico-button-text-color) !important;
    border: 1px solid var(--logico-button-border-color) !important; border-radius: var(--logico-radius-small, 10px) !important;
    box-shadow: none !important; padding: 1em 1.71em 1em 5.21em !important; font-size: 14px !important; font-weight: 600 !important;
    line-height: 1.4286 !important; min-height: calc(3.4286em + 2px); opacity: 1 !important;
    /* Fluent replaces the theme transition, so the hover padding and fill jumped: restore the theme button's own timing */
    transition: background .45s ease-out, border-color .3s, color .3s, padding .3s !important; }
.nadipack-form-panel .fluentform .ff-btn-submit.logico-alter-button:not(:disabled):hover { padding: 1em 2.71em 1em 4.21em !important;
    color: var(--logico-button-text-hover) !important; border-color: var(--logico-button-border-hover) !important; }


/* Logico testimonial carousel in RTL: keep the quote off the image and the slide counter off the author */
.rtl .elementor-widget-logico_testimonial_carousel .testimonial-item { padding-inline-start: 60px; }
.rtl .elementor-widget-logico_testimonial_carousel .slider-footer-content { text-align: left; }
@media only screen and (max-width: 1020px) {
    .rtl .elementor-widget-logico_testimonial_carousel .testimonial-item { padding-inline-start: 0; }
}
/* On phones the slider stage is viewport-wide; Logico pads only the left side */
@media only screen and (max-width: 660px) {
    .rtl .elementor-widget-logico_testimonial_carousel .testimonial-item { padding-left: 20px; padding-right: 20px; }
}

/* Slider counter and dots: Logico puts them on the start side, which in RTL is under the
   facts box (content slider) or the section heading (portfolio slider). Move them to the free left side. */
.rtl .elementor-widget-logico_content_slider .slider-footer-content,
.rtl .elementor-widget-logico_portfolio_listing .slider-footer-content { text-align: left; }

/*
 * Colour roles (DESIGN_RULES, colour review 2026-10-04).
 * Orange (--logico-accent-color) is kept for the primary CTA, stat numbers and highlights.
 * UI states and small details use the brand turquoise; text stays dark/white for contrast.
 */
.elementor-widget-logico_tabs,
.elementor-widget-accordion,
.elementor-widget-logico_blog_listing .post-category-item,
.footer-scroll-top {
    --logico-accent-color: var(--np-teal);
    --logico-accent-alter-color: var(--np-teal);
}
.elementor-widget-logico_tabs .logico-tab-title-item.active,
.elementor-widget-logico_tabs .logico-tab-title-item:hover { color: var(--logico-dark-text-color); }
.elementor-widget-logico_blog_listing .post-category-item,
.elementor-widget-logico_blog_listing .post-category-item a { color: var(--np-ink); }
.footer-scroll-top { background-color: var(--np-teal); color: var(--np-ink); }
#colophon .elementor-social-icon,
#colophon .elementor-social-icon i { color: var(--np-white); }
#colophon .elementor-social-icon:hover i { color: var(--np-teal); }
#colophon .elementor-widget-text-editor a { color: inherit; }
#colophon .elementor-widget-text-editor a:hover { color: var(--np-teal); }

/*
 * Persian heading scale (owner feedback 2026-10-04: heading weight and sizes).
 * Shabnam ships 300/400/700, so titles are set to 700 and sizes are reduced from the
 * Latin demo scale (60–80 px) to sizes that suit Persian letterforms. Elementor writes
 * per-widget sizes with high specificity, hence !important.
 */
html[dir="rtl"] {
    --np-h1: 52px;  --np-h2: 44px;  --np-h3: 30px;  --np-card: 22px;  --np-item: 19px;
}
@media only screen and (max-width: 1200px) { html[dir="rtl"] { --np-h1: 44px; --np-h2: 38px; --np-h3: 28px; --np-card: 21px; --np-item: 18px; } }
@media only screen and (max-width: 840px)  { html[dir="rtl"] { --np-h1: 36px; --np-h2: 32px; --np-h3: 24px; --np-card: 20px; --np-item: 18px; } }
@media only screen and (max-width: 660px)  { html[dir="rtl"] { --np-h1: 30px; --np-h2: 27px; --np-h3: 22px; --np-card: 19px; --np-item: 17px; } }

/* Page title (slider) */
html[dir="rtl"] .content-slider-item-heading {
    font-size: var(--np-h1) !important; font-weight: 700 !important; line-height: 1.35 !important;
}
/* Section titles */
html[dir="rtl"] .logico-front-end h2.logico-title {
    font-size: var(--np-h2) !important; font-weight: 700 !important; line-height: 1.4 !important;
}
/* Sub-section titles: tab content, form panel */
html[dir="rtl"] .elementor-widget-logico_tabs h3,
html[dir="rtl"] .nadipack-form-panel h3.logico-title {
    font-size: var(--np-h3) !important; font-weight: 700 !important; line-height: 1.45 !important;
}
/* Card and list titles */
html[dir="rtl"] .elementor-widget-logico_heading h3.logico-title,
html[dir="rtl"] .elementor-widget-logico_blog_listing .post-title,
html[dir="rtl"] .elementor-widget-logico_price_item .price-item-title {
    font-size: var(--np-card) !important; font-weight: 700 !important; line-height: 1.5 !important;
}
html[dir="rtl"] .elementor-widget-logico_portfolio_listing .post-title,
html[dir="rtl"] .elementor-widget-accordion .elementor-tab-title {
    font-size: var(--np-item) !important; font-weight: 700 !important; line-height: 1.55 !important;
}
/* Eyebrows ("/ محصولات /") and small labels stay light */
html[dir="rtl"] .elementor-widget-logico_heading div.logico-title { font-weight: 400; }
html[dir="rtl"] .logico-tab-title-item { font-weight: 400; }
html[dir="rtl"] .logico-tab-title-item.active { font-weight: 700; }

/* LTR (English): section titles are <h2> for SEO but keep the demo's H3 size */
html[dir="ltr"] .logico-front-end h2.logico-title { font-size: var(--logico-h3-font-size); line-height: var(--logico-h3-line-height); }
@media only screen and (max-width: 1200px) { html[dir="ltr"] .logico-front-end h2.logico-title { font-size: var(--logico-h3-font-size-laptop); } }
@media only screen and (max-width: 840px)  { html[dir="ltr"] .logico-front-end h2.logico-title { font-size: var(--logico-h3-font-size-tablet); } }
@media only screen and (max-width: 660px)  { html[dir="ltr"] .logico-front-end h2.logico-title { font-size: var(--logico-h3-font-size-mobile-extra); } }

/* Heading scale exceptions: the footer call-to-action line and the form panel title */
html[dir="rtl"] #colophon .elementor-widget-logico_heading h3.logico-title {
    font-size: var(--np-h2) !important; line-height: 1.4 !important;
}
html[dir="rtl"] .nadipack-form-panel .elementor-widget-logico_heading h3.logico-title {
    font-size: var(--np-h3) !important;
}

/* Header menu spacing: 2026-10-04 the owner asked for more room between items; 2026-10-11 eight items, "more room so
   they read apart". The bar fills the space between logo and search and the items spread evenly (rules at the end of
   this file: 32 px gaps at 1440, 22 at 1366). Below 1360 the menu font is 14 px so it stays on one line down to 1201;
   the theme shows the burger at 1200 and below. */
@media only screen and (max-width: 1360px) {
    .rtl .header-menu-container .main-menu > li > a { font-size: 14px !important; }
}
@media only screen and (max-width: 840px) {
    /* keep the slide counter clear of the arrow box on small screens */
    .rtl .elementor-widget-logico_content_slider .slider-footer-content { padding-left: 70px !important; }
}

/* Sample-content badge (owner 2026-10-10: placeholder content is shown to the client, always marked). */
.nadipack-sample { display: inline-block; font-size: 12px; line-height: 1.6; font-weight: 400; padding: 0 7px; margin-inline-start: 6px;
    border: 1px dashed var(--np-orange); border-radius: var(--logico-radius-small, 10px); color: var(--np-orange-deep); background: var(--np-orange-tint); vertical-align: middle; }

/* Light two-column hero (home-c, wireframe C, 2026-10-11): logico_content_slider with class np-hero-light.
   Each slide: light background image with the machine on the left; text on the right;
   eyebrow, catalogue link, model-code row and machine tag are inside the slide text and re-ordered here. */
.np-hero-light .content-slider-container { position: relative; }
.np-hero-light .slide-content-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; }
.np-hero-light .slide-content-inner > *,
.np-hero-light .text-content > * { flex: 0 0 100%; }
.np-hero-light .content-slider-item-text,
.np-hero-light .content-slider-item-text .text-content { display: contents; }
.np-hero-light .np-hero-eyebrow { order: -1; font-size: 14px; color: var(--np-teal-deep); margin-bottom: 10px; }
.np-hero-light .content-slider-item-heading { order: 0; color: var(--np-heading) !important; }
.np-hero-light .text-content > p { order: 1; color: var(--np-text); margin: 18px 0 0; max-width: 560px; }
.np-hero-light .content-slider-item-buttons { order: 2; flex: 0 0 auto; margin-top: 34px; }
.np-hero-light .np-hero-catalog { order: 3; flex: 0 0 auto; margin-top: 34px; font-weight: 700; color: var(--np-heading); }
.np-hero-light .np-hero-catalog a { color: inherit; text-decoration: underline; text-underline-offset: 6px; }
.np-hero-light .np-hero-models { order: 4; display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 44px; padding-top: 20px;
    border-top: 1px solid var(--np-line); font-size: 14px; font-weight: 700; color: var(--np-heading); }
.np-hero-light .np-hero-tag { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; flex-direction: column;
    background: var(--np-white); border-radius: var(--logico-radius-medium, 15px); padding: 14px 18px; font-size: 14px; line-height: 1.6;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08); color: var(--np-text); }
.np-hero-light .np-hero-tag b { color: var(--np-heading); }
.np-hero-light .slider-footer { position: absolute; top: 30px; left: 50px; width: auto; margin: 0 !important; z-index: 3; }
.np-hero-light .slider-footer-content { padding: 0 !important; }
@media only screen and (max-width: 840px) {
    /* portrait background: machine in the lower part, text above it */
    .np-hero-light .content-item { height: auto !important; background-size: 100% auto !important; background-position: bottom center !important; }
    .np-hero-light .slide-content { height: auto !important; min-height: 0 !important; align-items: flex-start; padding-top: 64px; padding-bottom: 72vw; }
    .np-hero-light .np-hero-models { margin-top: 28px; }
    .np-hero-light .np-hero-tag { display: none; }
    .np-hero-light .slider-footer { top: 20px; left: 20px; }
    .np-hero-light .owl-stage-outer { border-radius: var(--logico-radius-large, 25px); }
}


/* Dark two-column hero (wireframe B), tried on home-c 2026-10-11: logico_content_slider with class np-hero-dark.
   Eyebrow and the second (outline) link ride in the slide text, as in .np-hero-light. */
.np-hero-dark .content-slider-container { position: relative; }
.np-hero-dark .slide-content-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
.np-hero-dark .slide-content-inner > *,
.np-hero-dark .text-content > * { flex: 0 0 100%; }
.np-hero-dark .content-slider-item-text,
.np-hero-dark .content-slider-item-text .text-content { display: contents; }
.np-hero-dark .np-hero-eyebrow { order: -1; font-size: 14px; color: var(--np-teal); margin-bottom: 10px; }
.np-hero-dark .content-slider-item-heading { order: 0; color: var(--np-white) !important; }
.np-hero-dark .text-content > p { order: 1; color: var(--np-silver); margin: 18px 0 0; max-width: 560px; }
.np-hero-dark .content-slider-item-buttons { order: 2; flex: 0 0 auto; margin-top: 36px; }
.np-hero-dark .content-slider-item-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
/* Both hero buttons are the theme button (outline + small icon box; on hover the box colour fills the
   button and the arrow moves). Only the colour differs: orange first, white second (owner 2026-10-11). */
.np-hero-dark .content-slider-item-buttons .logico-alter-button {
    --logico-button-background-color: transparent; --logico-button-background-hover: var(--np-orange);
    --logico-button-text-color: var(--np-white); --logico-button-border-color: var(--np-orange); --logico-button-icon-color: var(--np-white);
    --logico-button-text-hover: var(--np-white); --logico-button-border-hover: var(--np-orange); --logico-button-icon-hover: var(--np-white); }
.np-hero-dark .content-slider-item-buttons .logico-alter-button + .logico-alter-button {
    --logico-button-background-hover: var(--np-white); --logico-button-border-color: var(--np-white); --logico-button-icon-color: var(--np-ink);
    --logico-button-text-hover: var(--np-ink); --logico-button-border-hover: var(--np-white); --logico-button-icon-hover: var(--np-ink); }
/* the text wrapper is display: contents, so its children carry the theme's entrance motion themselves */
.np-hero-dark .text-content > * { opacity: 0; transform: translateY(50px); transition: .9s ease-out 1.2s; }
.np-hero-dark .np-hero-eyebrow { transition-delay: .6s; }
.np-hero-dark .owl-item.active .text-content > * { opacity: 1; transform: none; }
/* home-2 arrow box (nav-view-vertical): bottom-right in the LTR demo; its RTL mirror is bottom-left
   (Logico keeps it on the right in RTL, where it covers the hero buttons). */
.rtl .np-hero-dark .owl-carousel.nav-view-vertical .owl-nav { right: auto !important; left: 10px !important; }
/* home-4 arrows (nav-view-default) sit on both sides at mid-height; keep the RTL text clear of the right arrow. */
@media only screen and (min-width: 841px) { .rtl .np-hero-dark .owl-carousel.nav-view-default .slide-content-inner { padding-right: 70px; } }
/* On phones Logico hides the home-4 arrows (swipe instead); the home-2 box is hidden too, it was cut by the slide edge. */
@media only screen and (max-width: 840px) { .np-hero-dark .owl-carousel.nav-view-vertical .owl-nav { display: none !important; } }
/* big outlined slide number + bar indicators, bottom left */
.np-hero-dark .slider-footer { position: absolute; left: 70px; bottom: 36px; top: auto; width: auto; margin: 0 !important; z-index: 3; }
.np-hero-dark .slider-footer-content { padding: 0 !important; }
.np-hero-dark .slider-pagination { display: flex; align-items: center; gap: 30px; }
.np-hero-dark .slider-progress-wrapper { font-size: 0; color: transparent; }
html[dir="rtl"] .np-hero-dark .slider-progress-current { --np-latin: "NadipackDigits", "Shabnam"; font-size: 54px !important; font-weight: 700; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px var(--np-steel); }
.np-hero-dark .owl-dots .owl-dot span { background: var(--np-steel) !important; }
.np-hero-dark .owl-dots .owl-dot.active span { background: var(--np-teal) !important; }
@media only screen and (max-width: 840px) {
    .np-hero-dark .content-item { height: auto !important; background-size: 100% auto !important; background-position: bottom center !important; }
    .np-hero-dark .slide-content { height: auto !important; min-height: 0 !important; align-items: flex-start; padding-top: 50px; padding-bottom: 96vw; }
    .np-hero-dark .slider-footer { left: 20px; top: 20px; bottom: auto; }
    .np-hero-dark .content-slider-item-buttons { flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 12px; }
    .np-hero-dark .content-slider-item-buttons .logico-alter-button { width: 100%; }
    .np-hero-dark .slide-content { padding-top: 76px; }
    html[dir="rtl"] .np-hero-dark .slider-progress-current { font-size: 32px !important; }
    /* Owner 2026-12-05: on large phones and small tablets (about 480 to 840px) the text kept the slider's 50% width
       while the photograph sits below it; the text block now takes the full width of the slide */
    .np-hero-dark .slide-content .slide-content-inner { max-width: 100% !important; width: auto !important; flex: 1 1 auto; margin-left: 0 !important; margin-right: 0 !important; }
    .np-hero-dark .text-content > p { max-width: none; }
}

/* Key facts in the about section (wireframes A and C, 2026-10-11): number + label. */
html[dir="rtl"] .np-fact-num .logico-title { font-size: 34px !important; font-weight: 700 !important; line-height: 1.2 !important; color: var(--np-heading); }
.np-fact-label p { margin: 0; font-size: 15px; line-height: 1.6; }

/* Shop-card photo frame (as on the Logico shop page, 2026-10-11): light rounded box, photo contained,
   orange gradient rising from the bottom while the card is hovered. Image widget class np-shop-frame, card class np-shop-card. */
.elementor-widget-image.np-shop-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1 / 0.88;
    background: var(--np-paper); border-radius: var(--logico-radius-large, 25px); }
.np-shop-frame > a { display: block; width: 100%; height: 100%; }
.np-shop-frame img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain; padding: 18px; transition: transform .4s; }
.np-shop-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: -100%; height: 100%;
    background: var(--np-ember-rise); opacity: 0;
    transition: bottom .3s, opacity .3s; pointer-events: none; }
.np-shop-card:hover .np-shop-frame::after { bottom: 0; opacity: 1; }
.np-shop-card:hover .np-shop-frame img { transform: scale(1.04); }

/* Columns separated by lines (pricing-plans layout): the outer columns' inner padding is cancelled by widening
   the row, so their text keeps the section's text edge (DESIGN_RULES 4). */
.e-con.np-columns-bleed { width: calc(100% + 60px) !important; max-width: none !important; margin-inline: -30px !important; }
@media only screen and (max-width: 1200px) { .e-con.np-columns-bleed { width: calc(100% + 40px) !important; margin-inline: -20px !important; } }
@media only screen and (max-width: 1020px) { .e-con.np-columns-bleed { width: 100% !important; margin-inline: 0 !important; } }

/* Tall dark family cards (wireframe B, 2026-10-11): white text on the dark photo, codes in turquoise. */
.np-tall-card .logico-title, .np-tall-card h3 { color: var(--np-white) !important; }
.np-tall-card .elementor-widget-text-editor, .np-tall-card .elementor-widget-text-editor p { color: var(--np-silver); }
.np-tall-card p.np-tall-codes { color: var(--np-teal); font-size: 14px; margin: 0; }
.np-tall-card .logico-button, .np-tall-card .elementor-widget-logico_button a { color: var(--np-white) !important; --logico-button-text-color: var(--np-white); --logico-button-border-color: var(--np-white); }
.np-tall-card { transition: transform .3s; }
.np-tall-card:hover { transform: translateY(-4px); }

/* Wireframe C family cards (2026-10-11): white card on the light panel, model codes under a thin line, link at the bottom. */
.np-c-card .np-model-row { border-top: 1px solid var(--np-line-light); padding-top: 12px; margin-top: auto !important; }
.np-c-card .np-model-row p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 700; color: var(--np-heading); }
.np-c-card .elementor-widget-logico_button { margin-top: 0 !important; padding-top: 18px; }
.np-c-card .elementor-widget-text-editor:not(.np-model-row) { margin-bottom: 18px; }
.np-c-card .elementor-widget-image img { width: 100% !important; transition: transform .4s; }
.np-c-card .elementor-widget-image { overflow: hidden; border-radius: var(--logico-radius-medium, 15px); }
.np-c-card:hover .elementor-widget-image img { transform: scale(1.04); }

/* Technologies, wireframe C (2026-10-11): logico_tabs with class np-tech-c in a dark panel.
   Underline tabs from the start edge; each tab = text column (heading, text, spec rows, button) and,
   on the left, a three-step photo strip that sits inside the tab HTML (grid below). */
.np-tech-c { --logico-border-color: var(--np-graphite); }
.np-tech-c .logico-tabs-titles-container { justify-content: flex-start !important; gap: 0 6px; }
@media only screen and (min-width: 1021px) {
    .np-tech-c .logico-tabs-titles-container .logico-tab-title-item { min-width: 0; padding: 14px 26px; border-bottom-width: 3px; }
}
/* below 1021 the theme turns tabs into bordered boxes; the wireframe keeps the underline row (swipeable) */
@media only screen and (max-width: 1020px) {
    .np-tech-c .logico-tabs-titles-container { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--np-graphite); }
    .np-tech-c .logico-tabs-titles-container::-webkit-scrollbar { display: none; }
    .np-tech-c .logico-tabs-titles-container .logico-tab-title-item { flex: none; width: auto; margin: 0 0 -1px; padding: 12px 18px; border: none; border-bottom: 3px solid transparent; }
    .np-tech-c .logico-tabs-titles-container .logico-tab-title-item.active { border-bottom-color: var(--np-teal); }
    .np-tech-c .logico-tabs-titles-container .logico-tab-title-item a { white-space: nowrap; padding: 0; }
    /* owner 2026-10-15: on a phone the last tab sat wholly outside the row with no hint that the row scrolls.
       Touch swiping with snap; nadipack.js marks which end still has tabs and the row fades out there. */
    .np-tech-c .logico-tabs-titles-container { -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; overscroll-behavior-x: contain;
        scroll-snap-type: x proximity; scroll-behavior: smooth; }
    .np-tech-c .logico-tabs-titles-container .logico-tab-title-item { scroll-snap-align: start; }
    /* the fade sits on the side that still has tabs: in RTL the end is the left edge ("to right" = clear at the left) */
    .np-tech-c .logico-tabs-titles-container.np-more-end { --np-fade: linear-gradient(to left, transparent 0, #000 64px); }
    .np-tech-c .logico-tabs-titles-container.np-more-start { --np-fade: linear-gradient(to right, transparent 0, #000 64px); }
    html[dir="rtl"] .np-tech-c .logico-tabs-titles-container.np-more-end { --np-fade: linear-gradient(to right, transparent 0, #000 64px); }
    html[dir="rtl"] .np-tech-c .logico-tabs-titles-container.np-more-start { --np-fade: linear-gradient(to left, transparent 0, #000 64px); }
    .np-tech-c .logico-tabs-titles-container.np-more-start.np-more-end,
    html[dir="rtl"] .np-tech-c .logico-tabs-titles-container.np-more-start.np-more-end {
        --np-fade: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); }
    .np-tech-c .logico-tabs-titles-container:is(.np-more-start, .np-more-end) { -webkit-mask-image: var(--np-fade); mask-image: var(--np-fade); }
}
@media only screen and (max-width: 660px) {
    html[dir="rtl"] .np-tech-c .logico-tab-title-item a { font-size: 15px; }
    .np-tech-c .logico-tabs-titles-container .logico-tab-title-item { padding: 10px 12px; }
}
html[dir="rtl"] .np-tech-c .logico-tab-title-item a { font-size: 17px; font-weight: 700; }
.np-tech-c .np-tech-specs { margin-top: 24px; }
.np-tech-c .np-kv { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--np-graphite); padding: 8px 0; font-size: 15px; line-height: 1.6; color: var(--np-silver); }
.np-tech-c .np-kv > span { flex: none; }
.np-tech-c .np-kv > b { color: var(--np-white); font-weight: 700; text-align: left; }
.np-tech-c .np-tech-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.np-tech-c .np-tech-steps figure { margin: 0; }
.np-tech-c .np-tech-steps img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--logico-radius-medium, 15px); }
.np-tech-c .np-tech-steps figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--np-silver); }
.np-tech-c .np-step-n { color: var(--np-teal); }
.np-tech-c .np-tech-steps .np-tech-note { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--np-silver); }
.np-tech-c .tab-text-container > .np-tech-steps { margin-top: 30px; }
.np-tech-c .tab-button-container:not(:first-child) { margin-top: 30px !important; }
@media only screen and (min-width: 1021px) {
    .np-tech-c .tab-text-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 70px; align-items: start; }
    .np-tech-c .tab-text-container > * { grid-column: 1; }
    .np-tech-c .tab-text-container > .np-tech-steps { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-top: 0; }
}
@media only screen and (max-width: 660px) {
    .np-tech-c .np-tech-steps { gap: 8px; }
    .np-tech-c .np-tech-steps figcaption { font-size: 13px; }
    .np-tech-c .np-kv { flex-direction: column; gap: 2px; }
    .np-tech-c .np-kv > b { text-align: right; }
}

/* Wireframe C featured products (2026-10-11): bordered card, model code + family chip, key-value spec rows, link at the bottom. */
.np-p-card { transition: border-color .3s, box-shadow .3s; }
.np-p-card:hover { border-color: var(--np-orange) !important; box-shadow: 0 14px 40px rgba(17, 17, 17, .07); }
.np-p-card .elementor-widget-image { overflow: hidden; border-radius: var(--logico-radius-medium, 15px); background: var(--np-paper-2); }
.np-p-card .elementor-widget-image img { width: 100% !important; transition: transform .4s; }
.np-p-card:hover .elementor-widget-image img { transform: scale(1.04); }
html[dir="rtl"] .np-p-card .np-p-code, html[dir="rtl"] .np-p-card .np-p-specs strong { --np-latin: "NadipackDigits", var(--np-face, "IRANYekan"); }
.np-p-card .np-p-code .logico-title, .np-p-card .np-p-code h3 { font-size: 24px; line-height: 1.2; font-weight: 700; margin: 0; }
.np-p-card .np-p-code a { text-decoration: none !important; background-image: none !important; }
.np-p-card .np-p-specs strong .nadipack-latin { direction: ltr; unicode-bidi: isolate; }
.np-p-card .np-p-chip-w { flex: 0 0 auto; width: auto; }
.np-p-card .np-p-chip-w p { margin: 0; }
.np-p-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--np-orange-tint); color: var(--np-orange-deep); font-size: 13px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.np-p-card .elementor-widget-text-editor:not(.np-p-specs):not(.np-p-chip-w) { padding: 6px 8px 0; margin-bottom: 14px; }
.np-p-card .np-p-specs { padding: 0 8px; margin-top: auto !important; }
.np-p-card .np-p-specs p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px solid var(--np-line-light); font-size: 14px; line-height: 1.5; }
.np-p-card .np-p-specs p span { color: var(--np-muted); }
.np-p-card .np-p-specs p strong { color: var(--np-heading); font-weight: 700; text-align: left; }
.np-p-card .elementor-widget-logico_button { margin-top: 0 !important; padding: 8px 8px 0; }
@media (max-width: 1200px) and (min-width: 768px) { .np-p-grid.e-grid { --e-con-grid-template-columns: repeat(2, 1fr) !important; --e-con-grid-template-rows: repeat(2, auto) !important; } }

/* Wireframe C "why" (2026-10-11): advantages under a thin line, small turquoise square at the start of the title. */
.np-why-item { position: relative; }
.np-why-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 30px; width: 10px; height: 10px; border-radius: 3px; background: var(--np-teal-deep); }
.np-why-item .logico-title, .np-why-item h3 { font-size: 19px !important; line-height: 1.55 !important; font-weight: 700; margin: 0; }
.np-why-item .elementor-widget-text-editor p { margin: 0; }
@media (max-width: 767px) { .np-why-grid.e-grid { --e-con-grid-template-columns: 1fr !important; --e-con-grid-template-rows: auto !important; grid-auto-rows: auto; } }
@media (max-width: 1200px) {
  .np-why-sec { flex-direction: column !important; align-items: stretch !important; }
  .np-why-sec > .e-con { width: 100% !important; }
  .np-why-sec > .elementor-widget-image { width: 100% !important; }
  .np-why-sec > .elementor-widget-image img { height: 640px !important; object-position: center 40%; }
}
@media (max-width: 767px) { .np-why-sec > .elementor-widget-image img { height: 300px !important; } }

/* Wireframe C industries (2026-10-11): horizontal bordered item, small photo at the start, chevron at the end. */
.np-ind-card { position: relative; transition: border-color .3s, box-shadow .3s; }
.np-ind-card:hover { border-color: var(--np-orange) !important; box-shadow: 0 14px 40px rgba(17, 17, 17, .07); }
.np-ind-card > .elementor-widget-image-box { flex: 1 1 auto; min-width: 0; }
.np-ind-card::after { content: ""; flex: none; width: 8px; height: 8px; margin-inline-start: 12px; border-left: 2px solid var(--np-heading); border-bottom: 2px solid var(--np-heading); transform: rotate(45deg); transition: transform .3s; }
.np-ind-card:hover::after { border-color: var(--np-orange); transform: rotate(45deg) translate(-3px, 3px); }
.np-ind-card .elementor-image-box-wrapper { display: flex; align-items: center; }
.np-ind-card .elementor-image-box-img { flex: none; background: var(--np-paper-2); border-radius: 15px; overflow: hidden; }
.np-ind-card .elementor-image-box-img img { transition: transform .4s; }
.np-ind-card:hover .elementor-image-box-img img { transform: scale(1.05); }
.np-ind-card .elementor-image-box-title { font-size: 19px !important; line-height: 1.55 !important; font-weight: 700 !important; margin-top: 0; }
.np-ind-card .elementor-image-box-title a { color: var(--np-heading); text-decoration: none; }
.np-ind-card .elementor-image-box-description { font-size: 14px; line-height: 1.7; color: var(--np-muted); margin: 0; }
@media (max-width: 1200px) and (min-width: 768px) { .np-ind-grid.e-grid { --e-con-grid-template-columns: repeat(2, 1fr) !important; --e-con-grid-template-rows: repeat(3, auto) !important; } }
@media (max-width: 767px) {
  .np-ind-grid.e-grid { --e-con-grid-template-rows: auto !important; grid-auto-rows: auto !important; align-content: start; row-gap: 16px !important; --row-gap: 16px !important; --gap: 16px 16px !important; }
  .np-ind-card { flex-direction: row !important; flex-wrap: nowrap !important; padding: 12px 12px 12px 18px !important; }
  .np-ind-card .elementor-image-box-title { font-size: 17px !important; }
  .np-ind-card .elementor-image-box-description { font-size: 13px; }
  .np-ind-card .elementor-image-box-img { margin: 0 !important; margin-inline-end: 16px !important; }
}

/* Wireframe C project cards (2026-10-11): the card body from content-portfolio.php, only inside .np-proj-c. */
.np-pc { display: none; }
.np-proj-c .np-pc { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.np-proj-c a.portfolio-item { display: none !important; }
.np-proj-c .portfolio-item-wrapper { height: 100%; }
.np-proj-c .np-pc-media { display: block; width: 100%; overflow: hidden; border-radius: var(--logico-radius-medium, 15px); background: var(--np-paper-2); }
.np-proj-c .np-pc-media img { display: block; width: 100% !important; height: 280px !important; object-fit: cover; transition: transform .4s; }
.np-proj-c .np-pc:hover .np-pc-media img { transform: scale(1.04); }
.np-proj-c .np-pc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.np-proj-c .np-pc-chips span { font-size: 13px; line-height: 1.6; padding: 2px 12px; border: 1px solid var(--np-graphite); border-radius: 999px; color: var(--np-silver); }
.np-proj-c .np-pc-chips span span { padding: 0; border: 0; }
html[dir="rtl"] .np-proj-c .np-pc-chips .nadipack-latin { --np-latin: "NadipackDigits", var(--np-face, "IRANYekan"); }
.np-proj-c .np-pc-title { font-size: 22px !important; line-height: 1.5 !important; font-weight: 700; margin: 12px 0 6px !important; color: var(--np-white); }
.np-proj-c .np-pc-title a { color: var(--np-white); text-decoration: none; }
.np-proj-c .np-pc-title a:hover { color: var(--np-orange); }
.np-proj-c .np-pc-text { font-size: 15px; line-height: 1.7; color: var(--np-silver); margin: 0 0 14px; }
.np-proj-c .np-pc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--np-white); text-decoration: none; }
.np-proj-c .np-pc-link::after { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s; }
.np-proj-c .np-pc-link:hover { color: var(--np-orange); }
.np-proj-c .np-pc-link:hover::after { transform: rotate(45deg) translate(-3px, 3px); }
.np-proj-c .owl-stage { display: flex; align-items: stretch !important; }
.np-proj-c .owl-item { display: flex; }
.np-proj-c .owl-carousel { position: static; }
.np-proj-c .logico-portfolios-listing-widget { position: relative; }
.np-proj-c .portfolio-listing-wrapper.owl-carousel.owl-theme .owl-nav, .np-proj-c .portfolio-listing-wrapper.owl-carousel.owl-theme:hover .owl-nav { position: absolute; top: -112px; left: 0 !important; right: auto !important; width: auto !important; height: 52px !important; display: flex; gap: 10px; opacity: 1 !important; transform: none !important; margin: 0 !important; }
.np-proj-c .owl-nav [class*="owl-"] { position: static !important; transform: none !important; width: 52px !important; height: 52px !important; margin: 0 !important; background: transparent !important; border: 1.5px solid var(--np-graphite) !important; border-radius: 10px !important; color: var(--np-white) !important; opacity: 1 !important; transition: background .3s, border-color .3s, color .3s; }
.np-proj-c .owl-nav [class*="owl-"]::before { line-height: 49px !important; color: inherit !important; }
.np-proj-c .owl-nav [class*="owl-"]:hover { background: var(--np-orange) !important; border-color: var(--np-orange) !important; }
.np-proj-c .portfolio-item-wrapper { display: flex; flex-direction: column; width: 100%; }
.np-proj-c .np-pc { flex: 1 1 auto; height: auto; }
@media (max-width: 767px) { .np-proj-c .owl-nav { position: static; margin-top: 24px !important; justify-content: flex-start; } }

/* Button on a dark panel: theme button, white outline + white icon box (owner 2026-10-11, projects). */
.np-btn-on-dark .logico-button, .np-btn-on-dark .logico-alter-button {
    --logico-button-background-color: transparent; --logico-button-background-hover: var(--np-white);
    --logico-button-text-color: var(--np-white); --logico-button-border-color: var(--np-white); --logico-button-icon-color: var(--np-ink);
    --logico-button-text-hover: var(--np-ink); --logico-button-border-hover: var(--np-white); --logico-button-icon-hover: var(--np-ink); }

/* Export markets (2026-10-11): wireframe B stats row (centred, dividers), wireframe C country list and map. */
.np-stats-b > .e-con + .e-con, .np-stats-b > .e-con-inner > .e-con + .e-con { border-inline-start: 1px solid var(--np-line); }
.np-stats-b .logico-title { text-align: center; }
ul.np-country-list { columns: 3; column-gap: 20px; list-style: none; margin: 10px 0 0; padding: 0; font-size: 15px; line-height: 2; color: var(--np-text); }
ul.np-country-list li { break-inside: avoid; padding: 0 !important; margin: 0 !important; }
ul.np-country-list li::before, ul.np-country-list li::after { display: none !important; content: none !important; }
.np-map { position: relative; direction: ltr; }
.np-map img { display: block; width: 100%; height: auto; }
.np-pin { position: absolute; width: max(10px, 1.05%); aspect-ratio: 1; border-radius: 50%; background: var(--np-orange); transform: translate(-50%, -50%);
          animation: np-pin-blink 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.np-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
                  animation: np-pin-pulse 2.8s ease-out infinite; animation-delay: var(--d, 0s); }
.np-pin-home { background: var(--np-teal); width: max(12px, 1.3%); }
.np-pin::after { content: attr(data-name); position: absolute; left: 50%; top: 100%; margin-top: 6px; transform: translateX(-50%);
                 white-space: nowrap; font-size: 12px; line-height: 1.4; color: var(--np-silver); opacity: 0; transition: opacity .3s; pointer-events: none; direction: rtl; }
.np-pin:hover::after { opacity: 1; }
.np-map-legend { display: flex; gap: 24px; margin: 18px 0 0; font-size: 13px; color: var(--np-silver); }
.np-map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.np-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--np-orange); display: inline-block; }
.np-dot-home { background: var(--np-teal); }
@keyframes np-pin-pulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(3.4); opacity: 0; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes np-pin-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .np-pin, .np-pin::before { animation: none; } }
@media (max-width: 767px) { .np-pin { width: 6px; } .np-pin-home { width: 8px; } ul.np-country-list { columns: 2; } .np-stats-b > .e-con + .e-con, .np-stats-b > .e-con-inner > .e-con + .e-con { border-inline-start: 0; } }

/* Side panel (icon beside the logo), owner 2026-10-11: the contacts fit without scrolling. Spacing shrinks with the
   window height. The card padding itself is set on the header's side panel widget (60 / 40). */
.slide-sidebar .wp-block-image img { width: clamp(60px, 10vh, 96px) !important; height: auto; }
.slide-sidebar .wp-block-spacer[style*="46px"] { height: clamp(12px, 3.5vh, 46px) !important; }
.slide-sidebar .wp-block-paragraph { margin-top: clamp(6px, 1vh, 12px) !important; margin-bottom: clamp(12px, 2.4vh, 27px) !important; line-height: 1.75 !important; }

/* Process (2026-10-11): wireframe A panel, steps as wireframe B (theme outline numbers, dividers). */
@media (min-width: 1021px) { .np-steps-a .slider-footer { display: none !important; } }
.np-steps-a .slider-footer { margin-top: 30px; }
.np-steps-a .owl-dots { overflow: visible !important; height: auto !important; display: flex; justify-content: center; gap: 12px; }
.np-steps-a .step-number-label { display: none !important; }
/* the outline digits are taller than their line box; the slider clips them at the top (owner 2026-10-11) */
.np-steps-a .owl-stage-outer { padding-top: 14px; }
.np-steps-a .step-number { line-height: 1.15 !important; }
.np-steps-a .step-title { font-size: 19px !important; line-height: 1.55 !important; font-weight: 700 !important; }

/* Wireframe C clients (2026-10-11): bordered logo boxes, testimonial cards on the light grey. */
.np-logos-c .np-logo-box img { max-height: 46px; width: auto; }
.np-note { font-size: 13px; color: var(--np-muted); margin: 0; }
.np-testi-c .owl-item { padding: 0 15px; }
.np-testi-c .testimonial-item { background: var(--np-paper); border-radius: 25px; padding: 36px !important; height: 100%; width: 100%; }
.np-testi-c .testimonial-item::before { content: "”"; display: block; height: 40px; font-family: Georgia, serif !important; font-size: 80px; line-height: .9; color: var(--np-teal-deep); }
.np-testi-c .owl-stage { display: flex; }
.np-testi-c .owl-item { display: flex; }
.np-testi-c .owl-item > * { width: 100%; }
.np-testi-c .owl-dots { overflow: visible !important; height: auto !important; }

/* Wireframe A certificates (2026-10-11): bordered card on the dark panel, demo certificate picture + title. */
.np-cert-card { text-align: center; transition: border-color .3s; }
.np-cert-card:hover { border-color: var(--np-teal) !important; }
.np-cert-card .elementor-widget-image img { width: 100%; aspect-ratio: 1000 / 708; object-fit: cover; }
.np-cert-card .logico-title { font-size: 22px !important; }
.np-cert-card .elementor-widget-text-editor p { color: var(--np-silver); font-size: 14px; line-height: 1.7; margin: 0; }

/* Wireframe A FAQ (2026-10-11) */
.np-faq-a .elementor-widget-accordion { width: 100%; }

/* Wireframe B events (2026-10-11): white cards on the light panel, big month, line, title, place, link. */
.np-ev-card .np-ev-date { border-bottom: 1px solid var(--np-line-light); padding-bottom: 20px; margin-bottom: 20px; }
.np-ev-card .np-ev-month .logico-title { font-size: 48px !important; line-height: 1 !important; font-weight: 700 !important; color: var(--np-heading) !important; }
.np-ev-card .np-ev-year p { margin: 0; font-size: 15px; color: var(--np-muted); }
.np-ev-card .np-ev-title .logico-title, .np-ev-card .np-ev-title h3 { text-transform: none !important; font-size: 22px !important; line-height: 1.5 !important; margin: 0 0 6px; }
.np-ev-card .np-ev-place { margin: 0 0 14px; font-size: 14px; color: var(--np-muted); }
.np-ev-card .np-ev-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--np-heading); text-decoration: none; }
.np-ev-card .np-ev-link::after { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.np-ev-card .np-ev-link:hover { color: var(--np-orange-deep); }
.np-ev-card .elementor-widget-text-editor:last-child { margin-top: auto; }

/* Wireframe B articles (2026-10-11): one big post beside a list (small photo + category + title). */
.np-blog-big .post-media-wrapper { order: -1; margin: 0 0 22px !important; }
.np-blog-big .post-media-wrapper, .np-blog-big .post-media, .np-blog-big .post-media a { display: block; height: 380px !important; min-height: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 25px; }
.np-blog-big .post-media picture, .np-blog-list .post-media picture { display: block; height: auto !important; padding: 0 !important; margin: 0 !important; }
.np-blog-big .post-media img { position: static !important; width: 100% !important; height: 380px !important; object-fit: cover; }
.np-blog-big .post-title { font-size: 28px !important; line-height: 1.45 !important; }
.np-blog-list .blog-item { display: grid !important; grid-template-columns: 150px 1fr; column-gap: 20px; align-items: start; }
.np-blog-list .post-media-wrapper { grid-column: 1; grid-row: 1 / span 4; margin: 0 !important; }
.np-blog-list .post-media-wrapper, .np-blog-list .post-media, .np-blog-list .post-media a { display: block; width: 150px; height: 110px !important; min-height: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 15px; }
.np-blog-list .post-media img { position: static !important; width: 150px !important; height: 110px !important; object-fit: cover; }
.np-blog-list .post-labels { grid-row: 1; }
.np-blog-list .post-title { grid-row: 2; }
.np-blog-list .blog-item > :not(.post-media-wrapper) { grid-column: 2; }
.np-blog-list .post-meta-header, .np-blog-list .post-content { display: none !important; }
.np-blog-list .post-title { font-size: 19px !important; line-height: 1.55 !important; margin: 0 !important; }
.np-blog-list .post-labels { position: static !important; margin: 0 0 8px !important; }

/* home-c footer with the consultation form (wireframe B, 2026-10-11). */
.np-ft-form .np-ft-text p { color: var(--np-silver); margin: 0; }
.np-ft-form .np-ft-contacts p { color: var(--np-silver); margin: 0 0 6px; font-size: 16px; }
.np-ft-form .np-ft-contacts a { color: var(--np-white); }

/* Wireframe C events (2026-10-11): rows under a thin line, white date box, title + place, link at the end. */
.np-evc-row .np-evc-date { flex: 0 0 96px; }
.np-evc-row .np-evc-month .logico-title { font-size: 22px !important; line-height: 1.2 !important; font-weight: 700 !important; color: var(--np-heading) !important; text-align: center; }
.np-evc-row .np-evc-year p { margin: 0; font-size: 13px; color: var(--np-muted); text-align: center; }
.np-evc-row .np-evc-mid { flex: 1 1 auto; min-width: 0; }
.np-evc-row .np-evc-title .logico-title, .np-evc-row .np-evc-title h3 { font-size: 22px !important; line-height: 1.5 !important; text-transform: none !important; margin: 0; }
.np-evc-row .np-evc-place p { margin: 0; font-size: 14px; color: var(--np-muted); }
.np-evc-row .np-evc-link { flex: 0 0 auto; }
.np-evc-row .np-evc-link p { margin: 0; }
.np-evc-row .np-ev-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--np-heading); text-decoration: none; white-space: nowrap; }
.np-evc-row .np-ev-link::after { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.np-evc-row .np-ev-link:hover { color: var(--np-orange-deep); }
@media (max-width: 767px) { .np-evc-row { flex-wrap: wrap !important; } .np-evc-row .np-evc-mid { flex-basis: calc(100% - 120px); } .np-evc-row .np-evc-link { margin-inline-start: 120px; } }

/* Wireframe C articles (2026-10-11): theme blog grid, photo on top. */
.np-blog-c .post-media-wrapper { order: -3; margin: 0 0 18px !important; }
.np-blog-c .post-labels { order: -2; position: static !important; margin: 0 0 6px !important; }
.np-blog-c .post-meta-header { border: 0 !important; padding: 0 !important; margin: 0 0 8px !important; }
.np-blog-c .post-media-wrapper, .np-blog-c .post-media, .np-blog-c .post-media a { display: block; height: 250px !important; min-height: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 25px; }
.np-blog-c .post-media picture { display: block; height: auto !important; padding: 0 !important; margin: 0 !important; }
.np-blog-c .post-media img { position: static !important; width: 100% !important; height: 250px !important; object-fit: cover; }
.np-blog-c .post-title { font-size: 22px !important; line-height: 1.5 !important; margin: 4px 0 10px !important; padding: 0 !important; }
.np-blog-c .post-labels .post-categories { margin: 0 !important; }

/* FAQ accordion (owner 2026-10-11): the theme arrows point the LTR way; turned 180 degrees for RTL. */
.np-faq-a .elementor-accordion-icon { transform: rotate(180deg); }

/* Header menu (owner 2026-10-11: more room between the items): the list fills the menu bar and the items spread
   evenly, so the gaps are as wide as the bar allows at every width. */
@media only screen and (min-width: 1201px) {  /* the bar takes the whole space between logo and search */
    .elementor-widget-logico_navigation_menu { flex: 1 1 auto; width: 100% !important; max-width: 100% !important; }
}
.header-menu-container, .header-menu-container > div { width: 100%; }
.rtl .header-menu-container .main-menu { display: flex !important; width: 100%; justify-content: space-between; }
.rtl .header-menu-container .main-menu > li:not(:last-of-type) { margin-left: 0 !important; }

/* About (2026-10-12): the factory video as a tall cover frame with a brand play button; the video opens in a lightbox. */
.np-about-video .elementor-wrapper, .np-about-video .elementor-custom-embed-image-overlay { aspect-ratio: auto !important; height: 560px; border-radius: 25px; overflow: hidden; }
.np-about-video .elementor-custom-embed-image-overlay img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .5s; }
.np-about-video:hover .elementor-custom-embed-image-overlay img { transform: scale(1.03); }
.np-about-video .elementor-custom-embed-play { width: 96px; height: 96px; border-radius: 50%; background: var(--np-orange); display: flex !important; align-items: center; justify-content: center;
    box-shadow: 0 0 0 12px color-mix(in srgb, var(--np-orange) 25%, transparent); transition: box-shadow .3s, transform .3s; opacity: 1 !important; }
.np-about-video .elementor-custom-embed-play i, .np-about-video .elementor-custom-embed-play svg { font-size: 34px !important; color: var(--np-white) !important; fill: var(--np-white) !important; width: 34px; height: 34px; opacity: 1 !important; text-shadow: none !important; filter: none !important; margin-inline-start: 4px; }
.np-about-video:hover .elementor-custom-embed-play { box-shadow: 0 0 0 20px color-mix(in srgb, var(--np-orange) 20%, transparent); transform: translate(-50%, -50%) scale(1.05); }
/* owner 2026-10-14: the longer about text; the video takes the height of the text column (it is absolute, top 0) */
@media (min-width: 1021px) { .np-about-video { bottom: 0; } .np-about-video .elementor-wrapper, .np-about-video .elementor-custom-embed-image-overlay { height: 100%; min-height: 560px; } }
@media (max-width: 1020px) { .np-about-video .elementor-wrapper, .np-about-video .elementor-custom-embed-image-overlay { height: 380px; } }
@media (max-width: 767px) { .np-about-video .elementor-wrapper, .np-about-video .elementor-custom-embed-image-overlay { height: 260px; } }

/* Boxes under the slider as the demo "downloads" boxes (2026-10-12): the three boxes share one height. */
.np-path-file, .np-path-file > .elementor-widget-container, .np-path-file .logico-file-widget { height: 100%; }
.np-path-file .logico-file-widget { display: block; }
/* Only the catalogue box downloads a file; the two page links show the theme arrow pointing left (fontello icon-arrow-left). */
.np-path-link .file-item::before { content: '\e802' !important; transition: transform .3s; }
.np-path-link:hover .file-item::before { transform: translateX(-4px); }

/* Boxes under the slider, wireframe C dress (2026-10-12): icon, title, grey line, arrow centred at the end. */
.np-path-file .file-item-meta { color: var(--np-muted) !important; font-size: 14px; line-height: 1.7; }
.np-path-file .file-item { height: 100%; display: flex !important; align-items: center; box-sizing: border-box; }
.np-path-file .file-item::before { top: 50% !important; bottom: auto !important; transform: translateY(-50%); }
.np-path-link:hover .file-item::before { transform: translate(-4px, -50%) !important; }
.np-path-file { transition: border-color .3s, box-shadow .3s; }
.np-path-file:hover { border-color: var(--np-orange) !important; box-shadow: 0 10px 30px rgba(17, 17, 17, .06); }

/* home-2 cards in brand colours (2026-10-12): a soft light at the top corner, a large faint theme icon, a lift on hover. */
.np-color-card { position: relative; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease;
    background-image: radial-gradient(circle at 15% 0%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 55%) !important; }
.np-color-card-dark { background-image: radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--np-orange) 28%, transparent), transparent 55%) !important; }
.np-color-card::after { font-family: 'fontello'; position: absolute; top: 26px; left: 30px; font-size: 96px; line-height: 1;
    color: rgba(255, 255, 255, .22); pointer-events: none; transition: transform .45s ease, color .35s; }
.np-color-card-conveyor::after { content: '\e86b'; }
.np-color-card-pdf::after { content: '\e84e'; }
/* on the dark side cards the faint icon is orange (owner 2026-10-14: charcoal sides, orange middle) */
.np-color-card-dark::after { color: color-mix(in srgb, var(--np-orange) 55%, transparent); }
.np-color-card-call::after { content: '\e842'; }
.np-color-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17, 17, 17, .18); }
.np-color-card:hover::after { transform: scale(1.08) rotate(-4deg); }
.np-color-card .elementor-divider-separator { border-color: rgba(255, 255, 255, .45) !important; }

/* Form states (owner 2026-10-14): the brand red only here, darkened for text; success in the deep turquoise. */
.nadipack-form-panel .fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--np-error); }
.nadipack-form-panel .fluentform .error, .nadipack-form-panel .fluentform .ff-errors-in-stack, .nadipack-form-panel .fluentform .text-danger { color: var(--np-error); }
.nadipack-form-panel .fluentform .ff-message-success { color: var(--np-success); border-color: var(--np-success); background: var(--np-teal-tint); }
/* accordion on a white band: the theme accent for its arrow is the deep turquoise (2.5:1 is too faint on white) */
.elementor-widget-accordion { --logico-accent-color: var(--np-teal-deep); --logico-accent-alter-color: var(--np-teal-deep); }

/* Paragraphs justified (owner 2026-10-14). The last line stays at the start. A paragraph inside a box with its own
   alignment (centred cards, the footer credit, Gutenberg's centred text) keeps that alignment. */
p { text-align: justify; text-justify: inter-word; }
.np-keep-align p, .np-cert-card p, .np-evc-year p, .np-fact-label p, .has-text-align-center p, p.has-text-align-center,
.elementor-widget-heading p, .np-map-legend { text-align: inherit; }
/* the description rows under a section header (owner 2026-10-14) */
/* owner 2026-10-14: the description rows run the full width (no max-width) */

/* Header search popup (owner 2026-10-15): the close button draws a fontello glyph through ::before and the Persian
   font rule above had replaced its font (an empty box); it is excluded there and given the icon font here */
html[dir="rtl"] .site-search-close, html[dir="rtl"] .site-search-close::before { font-family: "fontello" !important; }
.site-search .search-form-field { text-align: right; }

/* Mobile and tablet pass on home-c (owner 2026-10-15) */
/* case-study arrows: the theme animates every property after a 0.3 s delay, so each placement by nadipack.js slid
   them in from the demo offset; only the fade stays animated */
.np-proj-c .portfolio-listing-wrapper.owl-carousel.owl-theme .owl-nav { transition: opacity .3s !important; }
@media (min-width: 1021px) and (max-width: 1366px) {
    /* laptop widths: the text column is narrow and long, so a full-height video became a tall sliver; cap it */
    .np-about-video { max-height: 640px; }
}
@media (max-width: 1020px) {
    /* about video: the demo image is absolute with a 20 px end offset and the text column keeps ~400 px free above it;
       below 1021 px the video sits in the flow with the page gutter instead */
    .np-about-video { position: relative !important; inset: auto !important; width: auto !important; max-width: none !important;
                      margin: 0 20px 40px !important; }
    .np-about-video + .e-con > .e-con-inner > .e-con, .np-about-video + .e-con > .e-con { margin-top: 0 !important; }
}
@media (max-width: 767px) {
    /* case-study arrows: the desktop rule (absolute, in the header row) out-ranked the mobile one and covered the intro */
    .np-proj-c .portfolio-listing-wrapper.owl-carousel.owl-theme .owl-nav,
    .np-proj-c .portfolio-listing-wrapper.owl-carousel.owl-theme:hover .owl-nav { position: static !important; top: auto !important;
        margin-top: 24px !important; justify-content: flex-start; }
    /* export stats two by two instead of four stacked */
    .np-stats-b { grid-template-columns: 1fr 1fr !important; row-gap: 30px !important; }
    .np-stats-b > .e-con:nth-child(3) { border-inline-start: 0 !important; }
    /* footer bottom line: copyright and credit centred one under the other */
    #colophon .e-con:has(> .elementor-widget-text-editor a[href*="ramrad.ai"]) .elementor-widget-text-editor,
    #colophon .e-con:has(> .elementor-widget-text-editor a[href*="ramrad.ai"]) .elementor-widget-text-editor p { text-align: center !important; }
}

/* ------------------------------------------------------------------ product page (single machine), 2026-11-23
   Built by tools/product/build_product.py from home-c and Logico sections; these rules are shared by every product. */
.single-machine [id^="np-"] { scroll-margin-top: 200px; }
/* Elementor-built singles have no .content-wrapper-sidebar-position-none, so the theme's 3/4-column grid widths
   (theme-rtl.css, >= 1021 px) never apply; same values here. body-container clips instead of hiding, so the jump bar can stick. */
@media only screen and (min-width: 1021px) {
    .single-machine .grid-listing.columns-3 .grid-item { width: 33.3333%; }
    .single-machine .grid-listing.columns-4 .grid-item { width: 25%; }
}
.single-machine .body-container, .np-landing .body-container { overflow: clip; }  /* hidden would break the sticky jump bar / filter panel */
/* summary: studio photo + real thumbnails | lead, key facts, CTA */
.np-sum-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--np-paper); }
.np-sum-thumbs .gallery { margin: 14px 0 0 !important; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.np-sum-thumbs .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.np-sum-thumbs .gallery br { display: none; }
.np-sum-thumbs .gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--np-line-light) !important;
    border-radius: var(--logico-radius-small, 10px); transition: border-color .3s; }
.np-sum-thumbs .gallery-item a:hover img { border-color: var(--np-orange) !important; }
.np-sum-chips p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.np-sum-lead p { font-size: 18px; line-height: 1.8; margin: 0; }
.np-sum-facts p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 13px 0; border-top: 1px solid var(--np-line-light); font-size: 16px; line-height: 1.5; }
.np-sum-facts p:last-child { border-bottom: 1px solid var(--np-line-light); }
.np-sum-facts p > span { color: var(--np-muted); padding-inline-end: 24px; }  /* owner 2026-11-24: space between label and value */
.np-sum-facts p strong { color: var(--np-heading); font-weight: 700; text-align: left; }
.np-sum-facts strong .nadipack-latin { direction: ltr; unicode-bidi: isolate; }
.np-sum-text > .e-con-inner, .np-sum-text { gap: 26px !important; }
.np-text-link { color: var(--np-heading); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--np-line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.np-text-link:hover { color: var(--np-orange-deep); border-color: var(--np-orange-deep); }
.np-text-link.np-on-dark { color: var(--np-white); border-color: var(--np-graphite); }
.np-text-link.np-on-dark:hover { color: var(--np-teal); border-color: var(--np-teal); }
.np-sum-cat p { margin: 0; }
/* jump bar: the page's sections, sticky under the top of the window */
.np-jump-wrap { position: sticky; top: var(--np-jump-top, 0px); z-index: 5; background: var(--np-white); transition: top .2s; }  /* below the sticky header (z 10) and its submenus */
.np-jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--np-line-light); }
.np-jump::-webkit-scrollbar { display: none; }
.np-jump a { flex: none; padding: 16px 14px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--np-muted); text-decoration: none;
    border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .3s, border-color .3s; }
.np-jump a:hover { color: var(--np-heading); }
.np-jump a.is-active { color: var(--np-heading); border-bottom-color: var(--np-teal-deep); }
/* specifications: the two units side by side */
.np-spec-pair .elementor-shortcode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; align-items: start; }
.np-spec-pair .nadipack-specs caption { color: var(--np-orange-deep); font-size: 19px; padding-bottom: 14px; }
.np-spec-pair .nadipack-specs th { font-weight: 400; color: var(--np-muted); }
.np-spec-pair .nadipack-specs td { color: var(--np-heading); font-weight: 700; }
.np-spec-note p { margin: 0; color: var(--np-muted); font-size: 15px; }
.np-spec-note, .np-spec-options { flex: 1 1 380px; }
.np-opt-title { margin: 0 0 8px !important; font-weight: 700; color: var(--np-heading); }
.np-opt-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.np-opt-list li { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0 !important;
    padding: 9px 18px !important; border: 1px solid var(--np-line-light); border-radius: 999px; font-size: 14px; line-height: 1.5; }
.np-opt-list li::before { position: static !important; inset: auto !important; transform: none !important; margin: 0 !important; flex: none; }  /* the theme's tick, in the flow */
/* film panel (dark): text | key-value rows + link to the film maker */
.np-film .elementor-widget-text-editor, .np-film .elementor-widget-text-editor p { color: var(--np-white); }  /* owner 2026-11-24: white on the dark panel */
.np-film-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.np-kv-list .np-kv { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--np-graphite); padding: 12px 0; font-size: 15px; line-height: 1.6; color: var(--np-white); }
.np-kv-list .np-kv:last-child { border-bottom: 1px solid var(--np-graphite); }
.np-kv-list .np-kv > b { color: var(--np-white); font-weight: 700; text-align: left; }
/* three-card rows (applications, related products) stay one row down to tablet */
@media (max-width: 1200px) and (min-width: 768px) {
    .np-grid-3.e-grid { --e-con-grid-template-columns: repeat(3, 1fr) !important; --e-con-grid-template-rows: auto !important; }
    .np-ind-grid.np-grid-3 .np-ind-card { flex-direction: column !important; }
    .np-ind-grid.np-grid-3 .elementor-image-box-wrapper { flex-direction: column; align-items: stretch; text-align: start; }
}
/* comparison table */
.np-head-intro p { margin: 14px 0 0; max-width: none; color: var(--np-muted); }  /* owner 2026-11-24: full frame width */
.np-compare-scroll { overflow-x: auto; }
.np-compare { min-width: 860px; margin: 0; table-layout: fixed; }
.np-compare thead th { font-size: 18px; font-weight: 700; padding-bottom: 14px; }
.np-compare thead th a { color: var(--np-heading); text-decoration: none; }
.np-compare thead th a:hover { color: var(--np-orange-deep); }
.np-compare thead td, .np-compare tbody th { width: 16%; }
.np-compare tbody th { color: var(--np-muted); font-weight: 400; }
.np-compare td { direction: rtl; unicode-bidi: normal; color: var(--np-heading); }
.np-compare .is-current { background: var(--np-paper); }
.np-compare thead .is-current { border-top: 3px solid var(--np-teal-deep); }
.np-compare .nadipack-latin { direction: ltr; unicode-bidi: isolate; }
/* safety and maintenance: two paper cards on white */
.np-care > .np-care-card, .np-care > .e-con-inner > .np-care-card { flex: 1 1 0; }
.np-care-card .np-care-title .logico-title { font-size: var(--np-card) !important; }
.np-check .elementor-icon-list-item { font-size: 16px; line-height: 1.6; align-items: flex-start !important; }
.np-check .elementor-icon-list-icon { margin-top: 6px; }
@media (max-width: 1020px) {
    .np-sum-media, .np-sum-text { width: 100% !important; }
}
@media (max-width: 767px) {
    /* same-kind boxes keep one height when they stack (DESIGN_RULES 15) */
    .single-machine .np-grid-3.e-grid, .single-machine .np-why-grid.e-grid, .np-landing .np-grid-3.e-grid, .np-landing .np-grid-4.e-grid, .np-landing .np-why-grid.e-grid { --e-con-grid-template-rows: none !important; grid-template-rows: none !important; grid-auto-rows: 1fr !important; }
    .np-care > .np-care-card, .np-care > .e-con-inner > .np-care-card { flex: 1 1 auto; }
    .np-care { display: grid !important; grid-auto-rows: 1fr; }
    .np-spec-pair .elementor-shortcode { grid-template-columns: 1fr; }
    /* title band breadcrumbs: the demo offset (10 px from the left) ran 10 px past the band on phones */
    .single-machine .elementor-widget-logico_breadcrumbs.elementor-absolute { left: 10px !important; right: 10px !important; width: auto !important; max-width: none !important; }
    .np-jump a { padding: 13px 10px; font-size: 14px; }
    .np-care { flex-direction: column !important; }
}

/* ---- product page, owner's list 2026-11-24 */
/* Lightbox arrows (owner 2026-11-24): theme-rtl.css gives the slideshow arrows fontello glyphs, and in RTL the "next" one
   (\e815) points up. Both use the theme's left chevron (\e814); "next" (right side) is mirrored. An eicons override was
   tried first and drew "+" and a circle: the content codes are fontello's, not Elementor's. */
.elementor-lightbox .elementor-swiper-button-prev i::before,
.elementor-lightbox .elementor-swiper-button-next i::before { font-family: "fontello" !important; content: "\e814" !important; display: inline-block; }
.elementor-lightbox .elementor-swiper-button-next i::before { transform: scaleX(-1); }
.np-head-intro.np-center p { text-align: center; }
.np-head-intro p + p, .np-care-text p + p, .np-compare-guide p + p { margin-top: 12px; }
.np-intro-row p { max-width: none; }
.np-care-text p { margin: 0 0 18px; font-size: 16px; line-height: 1.8; }
.np-care-note p { margin-top: 30px; font-size: 14px; }
.np-compare-guide p { margin: 30px 0 0; max-width: none; }
/* comparison table as a card (same treatment as the comparison tables on nadiplastic.com) */
.np-compare-scroll { border: 1px solid var(--np-line-light); border-radius: var(--logico-radius-large, 25px); background: var(--np-white);
    box-shadow: 0 14px 40px rgba(17, 17, 17, .06); margin-top: 10px; }
.np-compare { border-collapse: separate; border-spacing: 0; }
.np-compare th, .np-compare td { padding: 16px 20px !important; border: 0 !important; border-bottom: 1px solid var(--np-line-light) !important; vertical-align: middle; line-height: 1.6; }
.np-compare tbody tr:last-child > * { border-bottom: 0 !important; }
.np-compare thead > tr > * { background: var(--np-paper); }
.np-compare thead .is-current { background: var(--np-white); }
.np-compare tbody tr:hover > * { background: var(--np-paper); }
.np-compare tbody tr:hover > .is-current { background: var(--np-paper-2); }
@media (max-width: 1020px) {
    .np-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .np-compare tbody th, .np-compare thead td { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--np-white); box-shadow: -1px 0 0 var(--np-line-light); }
    .np-compare { min-width: 760px; }
}
/* summary column: the theme's paragraph margins doubled the 26 px gap between eyebrow, chips, lead and facts */
.np-sum-text .elementor-widget-text-editor p:last-child, .np-sum-text .elementor-widget-logico_heading { margin-bottom: 0 !important; }
.np-sum-text .elementor-widget-text-editor { margin-bottom: 0 !important; }

/* ---- product page, owner's list 2026-11-24 (round 2) */
/* (2) intro video: compact frame on product pages (the text column is long, a full-height video became a tall block);
   hover grows the play button in place: only scale, the base transform (RTL centring) stays */
@media (min-width: 1021px) { .single-machine .np-about-video { bottom: auto; }
    .single-machine .np-about-video .elementor-wrapper, .single-machine .np-about-video .elementor-custom-embed-image-overlay { height: 560px; min-height: 0; } }
/* scale after the translate in one transform list, so the centring offset is not scaled too (that moved it 6 px) */
.np-about-video:hover .elementor-custom-embed-play { transform: translate(-50%, -50%) scale(1.12); }
html[dir="rtl"] .np-about-video:hover .elementor-custom-embed-play { transform: translate(50%, -50%) scale(1.12); }
/* (6) film photo: as tall as the text column side by side; a 4:3 crop when stacked */
.np-film-media, .np-film-media > .e-con-inner { display: flex; }
.np-film-media .elementor-widget-image, .np-film-media .elementor-widget-container { flex: 1 1 auto; height: 100%; }
.np-film-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 1020px) { .np-film-photo img { height: auto; aspect-ratio: 4 / 3; } }
/* (7) the technology link on the button's line */
.np-film-tech p { margin: 0 !important; }
/* (9) comparison on phones: the fixed first column keeps its labels inside its own cell */
@media (max-width: 1020px) {
    .np-compare { table-layout: auto; min-width: 680px; }
    .np-compare tbody th, .np-compare thead td { width: 104px; min-width: 104px; max-width: 104px; white-space: normal; overflow-wrap: anywhere; }
    .np-compare th, .np-compare td { padding: 12px 14px !important; font-size: 14px; }
    .np-compare thead th { font-size: 16px; }
}
/* (11) FAQ on product pages: plain chevrons, no RTL rotation */
.single-machine .np-faq-a .elementor-accordion-icon { transform: none; }
.single-machine .np-faq-a .elementor-accordion-icon i { font-size: 14px; }
/* (12) jump bar on phones: swipe sideways; the edge that still has items fades (same treatment as the technology tabs) */
.np-jump-wrap .elementor-widget-html, .np-jump-wrap .elementor-widget-container { min-width: 0; width: 100%; }
.np-jump { -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.np-jump a { scroll-snap-align: start; }
.np-jump.np-more-end { --np-fade: linear-gradient(to right, transparent 0, #000 56px); }
.np-jump.np-more-start { --np-fade: linear-gradient(to left, transparent 0, #000 56px); }
.np-jump.np-more-start.np-more-end { --np-fade: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); }
.np-jump:is(.np-more-start, .np-more-end) { -webkit-mask-image: var(--np-fade); mask-image: var(--np-fade); }
.e-con:has(> .np-film-tech), .e-con-inner:has(> .np-film-tech) { align-items: center !important; }  /* (7) the link on the button's centre line */
.np-film-tech { align-self: center !important; margin: 0 !important; }

/* ---- product page, owner's list 2026-11-24 (round 3) */
/* (1) play triangle: the theme draws it as a Font Awesome ::before; the glyph's box sits 2 px left of the circle's centre and
   its visual weight 5 px left (measured on a 2x crop). 4 px to the right centres it to the eye; vertically it is centred. */
.np-about-video .elementor-custom-embed-play::before { transform: translateX(4px); }
/* (3) page title H1 on the site's scale (DESIGN_RULES: 52/44/36/30, 700, 1.35); the theme printed it at 80 px, weight 500 */
html[dir="rtl"] h1.page-title { font-size: var(--np-h1) !important; font-weight: 700 !important; line-height: 1.35 !important; letter-spacing: 0 !important; }
/* (2) product cards (home-c and product pages, owner 2026-11-24): the photo fills the card's top instead of sitting as a second box inside it */
.np-p-card { padding-top: 0 !important; overflow: hidden; }
.np-p-card > .elementor-widget-image:first-child, .np-p-card > .e-con-inner > .elementor-widget-image:first-child {
    margin: 0 -16px !important; width: calc(100% + 32px) !important; max-width: none !important; }
.np-p-card > .elementor-widget-image:first-child img, .np-p-card > .e-con-inner > .elementor-widget-image:first-child img {
    border-radius: 0 !important; display: block; }
.np-p-card > .elementor-widget-image:first-child a,
.np-p-card > .elementor-widget-image:first-child img { display: block; width: 100% !important; max-width: none !important; height: 230px !important; object-fit: cover; }
.np-p-card > .elementor-widget-image:first-child { background: transparent !important; }
/* product cards in any grid (home-c 2x2 on tablet, stacked on phones): every row the same height (DESIGN_RULES 15) */
@media (max-width: 1200px) { .np-p-grid.e-grid { --e-con-grid-template-rows: none !important; grid-template-rows: none !important; grid-auto-rows: 1fr !important; } }
/* product pages: a single spec table takes the whole row; a photo with its own white background is shown whole */
.np-spec-pair .elementor-shortcode:not(:has(table + table)) { grid-template-columns: minmax(0, 1fr); }
.np-sum-main.np-fit-contain img { object-fit: contain; background: var(--np-white); border: 1px solid var(--np-line-light); }
.np-sum-thumbs .gallery.gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-sum-main.np-fit-contain img { width: 100% !important; aspect-ratio: 4 / 3; }
.np-sum-main a { display: block; }

/* Product pages without a machine film (2026-11-24): a photo takes the video's place with the same frame and heights */
.np-about-photo .elementor-widget-container, .np-about-photo img { border-radius: 25px; overflow: hidden; }
.np-about-photo img { width: 100% !important; height: 560px; object-fit: cover; display: block; }
@media (min-width: 1021px) { .np-about-photo .elementor-widget-container { height: 100%; } .np-about-photo img { height: 100%; min-height: 560px; } }
@media (max-width: 1020px) { .np-about-photo img { height: 380px; } }
@media (max-width: 767px) { .np-about-photo img { height: 260px; } }
.np-sum-thumbs .gallery.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.np-sum-thumbs .gallery.gallery-columns-2 .gallery-item img { aspect-ratio: 16 / 9; }

/* Product hub and family pages (owner-approved 2026-11-28): templates/landing.php in nadipack-core */
.np-landing .np-grid-auto.e-grid { --e-con-grid-template-rows: none !important; grid-template-rows: none !important; grid-auto-rows: 1fr !important; }
@media (min-width: 1201px) { .np-landing .np-grid-auto.e-grid { --e-con-grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 1200px) and (min-width: 768px) { .np-landing .np-grid-auto.e-grid { --e-con-grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 767px) { .np-landing .np-grid-auto.e-grid { --e-con-grid-template-columns: 1fr !important; } }
.np-landing .np-grid-4.e-grid { --e-con-grid-template-rows: none !important; grid-template-rows: none !important; grid-auto-rows: 1fr !important; }
@media (min-width: 1201px) { .np-landing .np-grid-4.e-grid { --e-con-grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 1200px) and (min-width: 768px) { .np-landing .np-grid-4.e-grid { --e-con-grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 767px) { .np-landing .np-grid-4.e-grid { --e-con-grid-template-columns: 1fr !important; } }
.np-landing .np-group-title .logico-title { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; margin-bottom: 8px; }
.np-landing .np-group-intro p { color: var(--np-graphite); max-width: 900px; margin-bottom: 26px; }
.np-landing .np-f-group { scroll-margin-top: 140px; }
.np-landing .np-f-hidden { display: none !important; }
/* filter panel (owner 2026-11-28: it must be visible that the cards below change); sticks under the menu while the list scrolls */
.np-landing .np-filter-wrap { position: sticky; top: var(--np-filter-top, 100px); z-index: 4; transition: top .2s; }
.np-filter { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; margin: 6px 0 10px; padding: 18px 22px; border-radius: 20px;
             background: var(--np-paper); border: 1px solid var(--np-line-light); box-shadow: 0 10px 30px rgba(31, 31, 31, .06); }
.np-filter-row { grid-column: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.np-filter-label { flex: none; width: 112px; font-size: 14px; font-weight: 700; color: var(--np-ink); }
.np-filter-btns { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.np-filter button { font: inherit; font-size: 14px; line-height: 1; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--np-line-light); background: var(--np-white); color: var(--np-ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.np-filter button:hover { border-color: var(--np-orange); }
.np-filter .np-filter-btns button.is-active { background: var(--np-ink); border-color: var(--np-ink); color: var(--np-white); }
.np-filter button:focus-visible { outline: 2px solid var(--np-orange); outline-offset: 2px; }
.np-filter-status { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-inline-start: 24px; border-inline-start: 1px solid var(--np-line-light); min-width: 120px; }
.np-filter-count { font-size: 14px; color: var(--np-graphite); white-space: nowrap; }
.np-filter-count b { display: block; text-align: center; font-size: 30px; line-height: 1.1; color: var(--np-orange); }
.np-filter .np-filter-reset { padding: 8px 14px; font-size: 13px; border-color: var(--np-orange); color: var(--np-orange); background: transparent; }
.np-filter .np-filter-reset:hover { background: var(--np-orange); color: var(--np-white); }
.np-filter .np-filter-reset[hidden] { display: none; }
.np-filter-wrap.is-filtered .np-filter { border-color: var(--np-orange); }
@keyframes np-f-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.np-landing .np-f.np-f-in { animation: np-f-in .35s ease both; }
@media (prefers-reduced-motion: reduce) { .np-landing .np-f.np-f-in { animation: none; } }
.np-landing .np-f-empty p { padding: 40px 0; text-align: center; color: var(--np-graphite); }
.np-filter-toggle, .np-filter-summary { display: none; }
@media (max-width: 767px) {
    .np-filter { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 12px; gap: 10px; }
    .np-filter-row { flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
    .np-filter-label { width: auto; font-size: 13px; }
    /* owner 2026-11-28: the rows swipe left and right with a finger; a fade marks the side with more buttons */
    .np-filter-btns { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
                      scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 2px; scroll-padding: 0 14px; }
    .np-filter-btns::-webkit-scrollbar { display: none; }
    .np-filter-btns button { flex: none; padding: 9px 14px; font-size: 13px; scroll-snap-align: start; }
    .np-filter-btns.np-more-end { -webkit-mask-image: linear-gradient(to left, #000 80%, transparent); mask-image: linear-gradient(to left, #000 80%, transparent); }
    .np-filter-btns.np-more-start { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
    .np-filter-btns.np-more-end.np-more-start { -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); }
    .np-filter-status { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 0; border-inline-start: 0; border-top: 1px solid var(--np-line-light); min-width: 0; }
    .np-filter-count b { display: inline; font-size: 20px; margin-inline-end: 4px; }
    /* compact while the list scrolls under it: one line with the count, the chosen filters and a «فیلترها» button */
    .np-filter-wrap.is-stuck:not(.is-open) .np-filter-row { display: none; }
    .np-filter-wrap.is-stuck .np-filter { padding: 10px 14px; gap: 8px; }
    .np-filter-wrap.is-stuck:not(.is-open) .np-filter-status { border-top: 0; padding-top: 0; }
    .np-filter-wrap.is-stuck .np-filter-summary { display: block; flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--np-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .np-filter-wrap.is-stuck .np-filter-toggle { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 9px 14px; font-size: 13px; background: var(--np-ink); border-color: var(--np-ink); color: var(--np-white); }
    .np-filter-wrap.is-stuck .np-filter-toggle::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); transition: transform .2s; }
    .np-filter-wrap.is-open .np-filter-toggle::after { transform: rotate(135deg) translateY(-2px); }
    .np-filter-wrap.is-stuck:not(.is-open) .np-filter-reset { display: none; }
}
.np-landing .np-model-row .np-more { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--np-paper); font-size: 13px; }
.np-landing .np-sum-chips a.np-p-chip { text-decoration: none; }
.np-landing .np-sum-chips a.np-p-chip:hover { background: var(--np-orange); color: var(--np-white); }
.np-landing .np-choose.e-grid { --e-con-grid-template-rows: none !important; grid-template-rows: none !important; grid-auto-rows: 1fr !important; }
@media (max-width: 767px) { .np-landing .np-choose.e-grid { --e-con-grid-template-columns: 1fr !important; } }
.np-landing .np-choose-card { height: 100%; }
/* one card height across the page: the one-line description always takes two lines (cards of different families sit in different grids) */
.np-landing .np-p-card > .elementor-widget-text-editor:not(.np-p-specs),
.np-landing .np-p-card > .e-con-inner > .elementor-widget-text-editor:not(.np-p-specs) { min-height: calc(2lh + 6px); }  /* optimized markup: no inner wrapper */
/* four consumables cards (hub): the home-c industry card is image | text; four columns are too narrow for that, so the card stands up from tablet on */
@media (min-width: 768px) {
    .np-ind-grid.np-grid-4 .np-ind-card, .np-ind-grid.np-grid-5 .np-ind-card { flex-direction: column !important; }
    .np-ind-grid.np-grid-4 .elementor-widget-image-box .elementor-image-box-wrapper, .np-ind-grid.np-grid-5 .elementor-widget-image-box .elementor-image-box-wrapper { flex-direction: column !important; align-items: stretch; text-align: start; }  /* beats .elementor-position-right */
    .np-ind-grid.np-grid-4 .elementor-image-box-content, .np-ind-grid.np-grid-5 .elementor-image-box-content { width: 100% !important; }
    .np-ind-grid.np-grid-4 .elementor-image-box-img, .np-ind-grid.np-grid-5 .elementor-image-box-img { width: 100% !important; margin: 0 0 18px !important; }
    .np-ind-grid.np-grid-4 .elementor-image-box-img img, .np-ind-grid.np-grid-5 .elementor-image-box-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
}
/* comparison tables with many models (family pages): a fixed label column; the table scrolls inside its frame where the page is narrower (owner 2026-11-28) */
.np-compare.np-compare-wide thead td:first-child, .np-compare.np-compare-wide tbody th { width: 150px !important; }
.np-compare.np-compare-wide th, .np-compare.np-compare-wide td { padding: 14px 14px !important; }
@media (max-width: 1020px) { .np-compare.np-compare-wide { table-layout: fixed; } .np-compare.np-compare-wide thead td:first-child, .np-compare.np-compare-wide tbody th { width: 104px !important; } }  /* equal model columns on phones too */

/* ---- after-sales page (owner-approved 2026-11-28): photo title band, outlined counters, orange help card, offices */
.np-counters > .np-counter-item, .np-counters > .e-con-inner > .np-counter-item { flex: 1 1 0; min-width: 0; }
.np-counter .elementor-counter-number-wrapper { justify-content: flex-start; }
.np-counter-label .logico-title { font-size: 18px !important; }
@media (max-width: 1024px) {
    .np-counters > .np-counter-item, .np-counters > .e-con-inner > .np-counter-item { flex: 1 1 calc(50% - 30px); }
}
.np-tel-button .logico-button-text, .np-tel-button .elementor-button-text { direction: ltr; unicode-bidi: isolate; }
.np-offices { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.np-offices > .np-office { width: auto !important; }
@media (max-width: 1024px) {
    .np-offices { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .np-offices > .np-office { grid-column: span 2; }
    .np-offices > .np-office:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 767px) {
    .np-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .np-offices > .np-office, .np-offices > .np-office:nth-child(n+4) { grid-column: span 1; }
    .np-offices > .np-office:last-child { grid-column: span 2; }
}
/* after-sales "what comes with each machine": short text, so the photo follows the section height (owner QA 2026-11-28) */
@media (min-width: 1021px) { #np-kit .np-about-photo img { min-height: 0; } }
/* the about photo on phones: full column width (it shrank to the image's own width; seen on after-sales and technologies, 2026-11-28) */
@media (max-width: 767px) { .np-about-photo { width: calc(100% - 40px) !important; max-width: none !important; margin-inline: 20px !important; inset: auto !important; left: auto !important; right: auto !important; } }
@media (min-width: 768px) and (max-width: 1020px) { .np-about-photo { width: calc(100% - 60px) !important; max-width: none !important; margin-inline: 30px !important; inset: auto !important; left: auto !important; right: auto !important; } }

/* ---- industry pages (owner-approved 2026-11-28) */
.np-landing .np-grid-5 { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; grid-auto-rows: 1fr; }
@media (max-width: 1024px) {
    .np-landing .np-grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
    .np-landing .np-grid-5 > * { grid-column: span 2; }
    .np-landing .np-grid-5 > *:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 767px) {
    .np-landing .np-grid-5 { grid-template-columns: minmax(0, 1fr) !important; }
    .np-landing .np-grid-5 > *, .np-landing .np-grid-5 > *:nth-child(n+4) { grid-column: auto; }
}
@media (min-width: 768px) { .np-landing .np-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.np-ind-table { min-width: 640px; }
.np-ind-table th[scope="row"] { white-space: nowrap; }
.np-panel-title .logico-title { color: var(--np-white) !important; }
.np-landing .np-grid-5.e-grid { --e-con-grid-template-rows: none !important; grid-template-rows: none !important; grid-auto-rows: 1fr !important; }
/* long titles (industry pages): the breadcrumb pill in the title band stays inside the band on phones */
.elementor-widget-logico_breadcrumbs { max-width: 100%; }
@media (max-width: 767px) { .elementor-widget-logico_breadcrumbs { max-width: calc(100% - 20px) !important; } }
/* industry cards with a button (owner 2026-11-28: «به جای یه فلش خالی یه دکمه بزار»): no chevron; the button sits at the card's foot */
.np-ind-card.np-has-btn::after { display: none; }
.np-ind-card.np-has-btn > .np-ind-btn { flex: none; margin-top: auto; padding-top: 20px; }  /* the card stands up (column) from tablet on: the button is its last row */
@media (max-width: 767px) {  /* phone: the card is image | text, so the button wraps to a full-width row below */
    .np-ind-card.np-has-btn { flex-wrap: wrap !important; }
    .np-ind-card.np-has-btn > .np-ind-btn { flex: 0 0 100%; padding-top: 14px; }
}
.np-ind-btn .logico-button, .np-ind-btn a { white-space: nowrap; font-size: 13px; }  /* one line in the narrow five-card row */
/* owner 2026-11-28: «تصویر باکسها باید قسمت بالای باکس رو پر کنن و کوچکتر نباشن» — the image link shrank to a 200 px square photo; the link is a block, the photo fills the card's width */
.np-c-card .elementor-widget-image a { display: block; }
.np-c-card .elementor-widget-image img { object-fit: cover; }

/* ---- about page (owner-approved 2026-11-29) */
.np-areas { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 30px; }
@media (max-width: 1024px) { .np-areas { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.np-area-card { width: auto !important; }
.np-area-card > .elementor-widget-logico_button { margin-top: auto; padding-top: 10px; }
.np-wide-video { position: relative !important; inset: auto !important; width: 100% !important; max-width: none !important; }
.np-wide-video .elementor-wrapper, .np-wide-video .elementor-custom-embed-image-overlay { height: 600px !important; min-height: 0 !important; }
@media (max-width: 1020px) { .np-wide-video .elementor-wrapper, .np-wide-video .elementor-custom-embed-image-overlay { height: 420px !important; } }
@media (max-width: 767px) { .np-wide-video .elementor-wrapper, .np-wide-video .elementor-custom-embed-image-overlay { height: 240px !important; } }
.np-sample-note p { margin: 12px 0 0; }
/* owner 2026-11-29 «اون marquee خیلی کم متونش میاد»: the theme's jQuery marquee assumes LTR; in RTL it puts both copies off screen.
   The ticker runs LTR, the Persian text inside stays RTL. */
#np-lines .elementor-widget-logico_marquee, #np-lines .elementor-widget-logico_marquee * { direction: ltr; }
#np-lines .elementor-widget-logico_marquee .ticker-text, #np-lines .elementor-widget-logico_marquee .ticker-text * { direction: rtl; unicode-bidi: isolate; }
/* founder's message: a plain card (owner 2026-11-29: «باید یه باکس ساده باشه») */
.np-founder-quote p { font-size: 20px; line-height: 2; color: var(--np-heading); margin: 18px 0 24px; }
@media (max-width: 767px) { .np-founder-quote p { font-size: 17px; line-height: 1.9; } }
.np-founder-name p { margin: 0; font-size: 15px; color: var(--np-muted); }
.np-founder-name strong { display: inline-block; font-size: 17px; color: var(--np-heading); margin-bottom: 4px; }
/* masonry gallery (Elementor Pro gallery) */
.np-masonry .e-gallery-image { border-radius: 15px; }
/* owner 2026-11-29: «متن marquee رو کمی کوچکتر کن» */
#np-lines .ticker-text, #np-lines .separator { font-size: clamp(40px, 5.5vw, 84px) !important; line-height: 1.3 !important; }
#np-lines .separator i { font-size: 18px !important; }
.np-std-badge img { width: 100% !important; max-width: 320px; height: auto; border-radius: 12px; }
/* owner 2026-11-29 «تصویر بالای باکس ها کل عرض رو بگیرن» (Nadi group cards): the image-box shrank to its short text; it stretches,
   the photo fills the card width (square, the rolls are tall), and on phones the cards stand up two per row */
#np-group .np-ind-card > .elementor-widget-image-box { align-self: stretch; width: 100%; }
#np-group .np-ind-card .elementor-image-box-img img { aspect-ratio: 1 / 1 !important; object-fit: cover; width: 100% !important; height: auto !important; }
@media (max-width: 767px) {
    #np-group .np-ind-grid.e-grid { --e-con-grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 1fr !important; }
    #np-group .np-ind-card { flex-direction: column !important; flex-wrap: nowrap !important; padding: 12px !important; }
    #np-group .np-ind-card > .np-ind-btn { flex: none; width: 100%; }
    #np-group .elementor-image-box-wrapper { flex-direction: column !important; align-items: stretch; text-align: start; }
    #np-group .elementor-image-box-img { width: 100% !important; margin: 0 0 12px !important; }
    #np-group .elementor-image-box-title { font-size: 15px !important; }
    #np-group .np-ind-btn a.logico-alter-button { font-size: 12px; width: 100%; padding-left: 48px !important; padding-right: 10px !important; justify-content: center; }
}
/* owner 2026-11-29: real client logos (from nadiplastic.com) in the home-c clients row; colour logos, a little larger */
.np-logos-c .np-logo-box img { max-height: 72px; }
@media (max-width: 767px) { .np-logos-c .np-logo-box img { max-height: 56px; } }
@media (max-width: 767px) { .np-logos-c > .np-logo-box:last-child:nth-child(odd), .np-logos-c > .e-con-inner > .np-logo-box:last-child:nth-child(odd) { grid-column: span 2; } }

/* ---- contact page (owner-approved 2026-11-29) */
.np-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.np-loc-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--np-line-light); font-size: 15px; line-height: 1.8; }
.np-loc-row span { color: var(--np-muted); }
.np-loc-row b { font-weight: 500; color: var(--np-heading); }
.np-loc-row a { color: inherit; }
.np-areas-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1024px) { .np-areas-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) { .np-areas-4 { grid-template-columns: minmax(0, 1fr) !important; } }
/* owner 2026-11-29 «به فوتر یه margin-top بده، سوالات متداول چسبیده بهش»: the footer without the form on the landing pages */
body.np-landing .elementor-10652 { margin-top: 150px; }
@media (max-width: 1024px) { body.np-landing .elementor-10652 { margin-top: 120px; } }
@media (max-width: 767px) { body.np-landing .elementor-10652 { margin-top: 90px; } }
.np-office .np-care-text a { color: var(--np-heading); }
.np-office .np-care-text p { text-align: start !important; }

/* ---- blog and articles (owner-approved 2026-11-29; article page after nadiplastic.com) */
.np-blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.np-blog-cats a { padding: 9px 20px; border: 1px solid var(--np-line-light); border-radius: 999px; font-size: 14px; color: var(--np-heading); background: var(--np-white); text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.np-blog-cats a:hover { border-color: var(--np-orange); }
.np-blog-cats a.is-active { background: var(--np-ink); border-color: var(--np-ink); color: var(--np-white); }
@media (max-width: 767px) { .np-blog-cats { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 28px; padding-bottom: 6px; } .np-blog-cats a { flex: none; } }
@media (max-width: 1024px) { .np-blog-grid .archive-listing-wrapper.columns-3 { --columns: 2; } }
/* article */
.np-post-cols { align-items: flex-start; }
.np-post-aside { position: sticky; top: 120px; align-self: flex-start; }
@media (max-width: 1024px) { .np-post-aside { position: static; } }
.np-post-toc { background: var(--np-paper); border-radius: 20px; padding: 22px 24px; }
.np-post-toc__k { font-weight: 700; color: var(--np-heading); cursor: pointer; list-style: none; font-size: 16px; }
.np-post-toc__k::-webkit-details-marker { display: none; }
.np-post-toc ol { margin: 14px 0 0; padding: 0 18px 0 0; display: grid; gap: 10px; font-size: 14px; line-height: 1.7; }
.np-post-toc a { color: var(--np-text); text-decoration: none; }
.np-post-toc a:hover { color: var(--np-orange-deep); }
.np-post-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--np-muted); }
.np-post-meta li { display: inline-flex; align-items: center; gap: 6px; }
.np-post-meta i { color: var(--np-teal-deep); }
.np-post-meta__v { color: var(--np-heading); font-weight: 500; }
.np-post-summary { background: var(--np-paper); border-inline-start: 4px solid var(--np-orange); border-radius: 16px; padding: 20px 24px; }
.np-post-summary__k { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--np-orange-deep); font-size: 14px; }
.np-post-summary__p { margin: 10px 0 0; line-height: 1.9; color: var(--np-heading); }
.np-post-body h2 { font-size: 26px; margin: 40px 0 14px; scroll-margin-top: 120px; }
.np-post-body h3 { font-size: 20px; margin: 28px 0 10px; }
.np-post-body p, .np-post-body li { line-height: 2; }
.np-post-body img { border-radius: 16px; height: auto; }
.np-post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.np-post-body th, .np-post-body td { border-bottom: 1px solid var(--np-line-light); padding: 12px 10px; text-align: start; }
.np-post-body thead th { background: var(--np-paper); }
.np-post-product { display: flex; gap: 24px; align-items: center; background: var(--np-paper); border-radius: 20px; padding: 20px; }
.np-post-product__m { flex: 0 0 180px; }
.np-post-product__m img { width: 100%; height: auto; border-radius: 14px; }
.np-post-product__k { font-size: 13px; color: var(--np-orange-deep); font-weight: 700; }
.np-post-product__t { font-size: 20px !important; margin: 6px 0 8px !important; }
.np-post-product__t a { color: var(--np-heading); text-decoration: none; }
.np-post-product__p { margin: 0 0 12px; line-height: 1.9; font-size: 14px; }
.np-post-product__btn { display: inline-block; padding: 9px 20px; border: 1px solid var(--np-heading); border-radius: 999px; color: var(--np-heading); font-size: 14px; text-decoration: none; }
@media (max-width: 767px) { .np-post-product { flex-direction: column; align-items: stretch; } .np-post-product__m { flex: none; } }
.np-post-faq { display: grid; gap: 12px; }
.np-post-faq__i { border-bottom: 1px solid var(--np-line); padding: 14px 0; }
.np-post-faq__i summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--np-heading); display: flex; gap: 14px; align-items: baseline; }
.np-post-faq__i summary::-webkit-details-marker { display: none; }
.np-post-faq__n { color: var(--np-teal-deep); font-size: 14px; min-width: 26px; }
.np-post-faq__a { padding: 10px 40px 0 0; line-height: 1.9; }
.np-post-cta h2, .np-post-cta .logico-title { color: var(--np-white) !important; }

/* ---- blog QA fixes (2026-11-29): no contents list → the article takes the full width; meta list without the theme's check icons */
.np-post-cols:not(:has(.np-post-toc)) > .np-post-aside { display: none; }
.np-post-cols:not(:has(.np-post-toc)) > .np-post-main { --width: 100%; width: 100%; max-width: 100%; }
.np-post-meta li { padding: 0 !important; margin: 0 !important; }
.np-post-meta li::before, .np-post-meta li::after { content: none !important; display: none !important; }
@media (max-width: 767px) { .np-blog-cats { flex-wrap: wrap !important; overflow: visible !important; } }

/* ---- FAQ page (owner-approved 2026-11-29): topic buttons jump to the groups; side help box */
.np-faq-group { scroll-margin-top: 130px; }
.np-faq-topics { margin-bottom: 50px; }
.np-faq-intro { margin-bottom: 24px; }
.np-faq-help__k { font-family: var(--np-font-head, inherit); font-weight: 700; font-size: 20px; color: var(--np-heading); margin: 0 0 8px; }
.np-faq-help .np-loc-row { grid-template-columns: minmax(0, 1fr) auto; }
.np-faq-aside { position: sticky; top: 120px; align-self: flex-start; }
@media (max-width: 1024px) { .np-faq-aside { position: static; } }

/* ---- blog cards (owner 2026-11-29): the line above the title stays without the date; the hover underline runs under every line of a two-line title */
.np-blog-grid .blog-item > .post-title:first-child { border-top: 2px solid var(--logico-border-hover-color); padding-top: 30px; }
.standard-blog-item-wrapper .blog-item .post-title a { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-position: 100% 85%; }

/* ---- open links (2026-11-30): no login / register icon for visitors in the mobile header */
.mobile-header-menu-container .header-icon.login-logout { display: none !important; }
.np-search-top { max-width: 640px; margin: 0 0 50px; }
.archive-listing-wrapper .logico-no-result-search-form { display: none; }  /* the search box is already on top */
.archive-listing-wrapper .logico-no-results-title { text-align: start; }

/* ---- product pages (2026-11-30): related industry links under the application cards */
.np-machine-inds { margin: 30px 0 0; font-size: 15px; line-height: 2; color: var(--np-muted); }
.np-machine-inds span { color: var(--np-heading); font-weight: 700; margin-inline-end: 6px; }
.np-machine-inds a { color: var(--np-heading); text-decoration: underline; text-underline-offset: 4px; }
.np-machine-inds a:hover { color: var(--np-orange-deep); }
.np-machine-inds-w { margin-top: 30px !important; }
.np-map-link, .np-map-link p { text-align: center !important; width: 100%; }

/* ---- 404 page (2026-11-30): H1 in the content at the title-band scale */
.np-404 h1, .np-404 .logico-title { font-size: 56px !important; font-weight: 700 !important; line-height: 1.3 !important; }
@media (max-width: 1024px) { .np-404 h1, .np-404 .logico-title { font-size: 44px !important; } }
@media (max-width: 767px) { .np-404 h1, .np-404 .logico-title { font-size: 32px !important; } }

/* ---- events (owner-approved 2026-11-30): /events/ rows like the home events block; details card on an event page */
.np-events { display: flex; flex-direction: column; border-top: 1px solid var(--np-line-light); }
.np-evl-row { display: flex; align-items: center; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--np-line-light); }
.np-evl-date { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.np-evl-month { font-size: 22px; line-height: 1.2; font-weight: 700; color: var(--np-heading); }
.np-evl-year { font-size: 13px; color: var(--np-muted); }
.np-evl-mid { flex: 1 1 auto; min-width: 0; }
.np-evl-title { margin: 0 0 6px; font-size: 22px; line-height: 1.5; font-weight: 700; text-transform: none; }
.np-evl-title a { color: var(--np-heading); text-decoration: none; }
.np-evl-title a:hover { color: var(--np-orange-deep); }
.np-evl-place { margin: 0; font-size: 14px; color: var(--np-muted); }
.np-evl-when::before { content: " · "; }
.np-evl-link { flex: 0 0 auto; }
.np-evl-link .np-ev-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--np-heading); text-decoration: none; }
.np-evl-link .np-ev-link::after { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.np-evl-link .np-ev-link:hover { color: var(--np-orange-deep); }
.np-events-past .np-evl-month, .np-events-past .np-evl-title a { color: var(--np-muted); }
.np-events-empty { margin: 0; padding: 28px 0; border-top: 1px solid var(--np-line-light); border-bottom: 1px solid var(--np-line-light); color: var(--np-muted); }
@media (max-width: 767px) {
    .np-evl-row { flex-wrap: wrap; gap: 14px 18px; }
    .np-evl-date { flex-basis: 64px; }
    .np-evl-mid { flex-basis: calc(100% - 82px); }
    .np-evl-link { flex-basis: 100%; }
}
.np-event-card { background: var(--np-paper); border-radius: 25px; padding: 30px 28px; }
.np-event-card .np-loc-row { grid-template-columns: 110px minmax(0, 1fr); }
.np-event-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
.np-events h3.np-evl-title { font-size: 22px !important; line-height: 1.5 !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; }
@media (max-width: 767px) { .np-events h3.np-evl-title { font-size: 18px !important; } }
