/* Only the "Od ula do słoika" editorial route. No global WooCommerce styles. */
.nb-app .nb-ula-stages,.nb-ula-stages{width:100%;max-width:1200px;margin:36px 0 52px;color:#1b4034}
.nb-ula-stages *{box-sizing:border-box}
.nb-ula-stages-heading{margin:0 0 28px;text-align:left}
.nb-ula-eyebrow{display:block;font-size:.75rem;letter-spacing:.15em;color:#ac7330;font-weight:800;margin-bottom:10px}
.nb-ula-stages-heading h2{font-size:clamp(1.7rem,3vw,2.55rem);font-weight:800;line-height:1.18;letter-spacing:-.035em;margin:0 0 9px;color:#173d32}
.nb-ula-stages-heading p{margin:0;color:#527064;font-size:1rem;line-height:1.7}
.nb-ula-stage{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);min-height:320px;align-items:stretch;gap:0;background:#fffcf7;border:1px solid #e1e6dc;border-radius:21px;overflow:hidden;margin:0 0 22px;box-shadow:0 9px 28px rgba(32,58,39,.055)}
.nb-ula-stage--text-only{grid-template-columns:1fr;min-height:auto}
.nb-ula-stage-copy{padding:clamp(27px,4vw,55px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.nb-ula-stage-count{font-weight:850;font-size:.75rem;letter-spacing:.16em;color:#a76f2b;display:block;margin-bottom:20px}
.nb-ula-stage-count span{color:#9ba99c;letter-spacing:normal}
.nb-ula-stage h3{font-size:clamp(1.45rem,2.3vw,2.13rem);line-height:1.17;letter-spacing:-.03em;margin:0 0 21px;color:#1b4034;font-weight:850}
.nb-ula-stage p{font-size:clamp(1rem,1.15vw,1.1rem);line-height:1.85;color:#456456;margin:0 0 11px;max-width:60ch}
.nb-ula-stage--text-only .nb-ula-stage-copy{padding:clamp(25px,3vw,42px) clamp(25px,4.5vw,55px)}
.nb-ula-stage--text-only .nb-ula-stage-count{margin-bottom:10px}
.nb-ula-stage--text-only h3{margin-bottom:12px}
.nb-ula-stage--text-only p{max-width:100ch}
.nb-ula-stage--reverse .nb-ula-stage-media{grid-column:1;grid-row:1}
.nb-ula-stage--reverse .nb-ula-stage-copy{grid-column:2;grid-row:1}
.nb-ula-stage-media{min-width:0;min-height:330px;background:linear-gradient(145deg,#f2e5cc,#f5eee0);margin:0;position:relative;display:grid;place-items:center}
.nb-ula-stage-image img.nb-ula-stage-photo{width:100%;height:100%;min-height:330px;max-height:600px;object-fit:cover;display:block}
.nb-ula-stage-video{padding:22px;background:radial-gradient(circle at 20% 20%,#f4dcac,transparent 55%),#e9e1d1}
.nb-ula-player{width:min(100%,288px);aspect-ratio:9/16;min-height:380px;max-height:520px;border-radius:19px;overflow:hidden;background:linear-gradient(145deg,#183d32,#2e5a4a);box-shadow:0 12px 26px #1c463c33}
.nb-ula-player-placeholder{height:100%;padding:23px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;gap:13px}
.nb-ula-play-symbol{font-size:29px;display:grid;place-items:center;border:1px solid #ffffff65;width:72px;height:72px;border-radius:50%;padding-left:5px;background:#ffffff17}
.nb-ula-play-title{font-size:1.2rem;font-weight:800;line-height:1.25}
.nb-ula-play-caption{color:#f1e2c7;font-size:.86rem}
.nb-ula-play-button{cursor:pointer;border:0;border-radius:11px;background:#fff;color:#173e32;font-weight:800;font-size:.91rem;padding:13px 18px;min-height:44px;margin-top:12px}
.nb-ula-play-button:hover,.nb-ula-play-button:focus-visible{background:#f2ca85}
.nb-ula-open{font-size:.81rem;color:#fff!important;text-decoration:underline;text-underline-offset:3px}
.nb-ula-tiktok-frame{display:block;width:100%;height:100%;min-height:380px;border:0}
/* Sales-oriented closing story, scoped to the hive-to-jar module only. */
.nb-ula-note{border:1px solid #dfdfd4;background:linear-gradient(112deg,#f3f5ec 0%,#fffcf5 100%);padding:clamp(24px,4vw,42px);border-radius:19px;color:#355646;font-size:1rem;line-height:1.8;margin:24px 0 0}
.nb-ula-note--story p{font-size:clamp(.98rem,1.15vw,1.1rem);line-height:1.85;max-width:86ch;margin:0 0 16px;color:#3d5d50}
.nb-ula-note--story .nb-ula-note-title{font-size:clamp(1.35rem,2vw,1.75rem);font-weight:800;line-height:1.35;letter-spacing:-.025em;color:#193d31;margin-bottom:17px;max-width:32ch}
.nb-ula-note--story p strong{color:#234635;font-weight:750}
.nb-ula-note--story .nb-ula-note-cta{display:inline-flex;align-items:center;gap:10px;margin-top:6px;border-radius:11px;padding:13px 21px;font-size:.96rem;font-weight:800;line-height:1.4;text-decoration:none!important;background:#173e32;color:#fff!important;transition:background .2s ease,transform .2s ease}
.nb-ula-note--story .nb-ula-note-cta:hover,.nb-ula-note--story .nb-ula-note-cta:focus-visible{background:#27624e;transform:translateY(-1px)}
.nb-ula-note--story .nb-ula-note-cta:focus-visible{outline:3px solid #bd923f;outline-offset:3px}
.nb-ula-error{color:#a52116}
@media(max-width:760px){
 .nb-ula-stages{margin-top:26px}
 .nb-ula-stage,.nb-ula-stage--media{grid-template-columns:1fr}
 .nb-ula-stage-copy,.nb-ula-stage--reverse .nb-ula-stage-copy{grid-column:1;grid-row:1;padding:26px}
 .nb-ula-stage-media,.nb-ula-stage--reverse .nb-ula-stage-media{grid-column:1;grid-row:2;min-height:240px}
 .nb-ula-stage-image img.nb-ula-stage-photo{height:320px;min-height:240px}
 .nb-ula-stage-video{padding:17px}
 .nb-ula-player{min-height:355px;max-height:490px;width:min(100%,275px)}
 .nb-ula-stage-count{margin-bottom:12px}
 .nb-ula-stage h3{margin-bottom:13px}
}

/* v1.0.3: the five-stage process and its closing message must share
   the exact content width of the gallery above, not the theme's narrower
   .nb-copy / article body cap. All rules are scoped to this page. */
body .nb-app #nb-main.nb-shell > .nb-ula-stages,
body .nb-app #nb-main.nb-shell .nb-ula-stages,
body #nb-main .nb-ula-stages {
  display:block;
  box-sizing:border-box;
  width:100%;
  max-width:none;
  min-width:0;
  padding-inline:0;
  margin-right:0;
}
body #nb-main .nb-ula-stages > .nb-ula-stages-heading,
body #nb-main .nb-ula-stages > .nb-ula-stage,
body #nb-main .nb-ula-stages > .nb-ula-note--story {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  min-width:0;
  margin-inline:0;
}
body #nb-main .nb-ula-stage-copy { min-width:0; }
body #nb-main .nb-ula-stage-copy p,
body #nb-main .nb-ula-note--story p,
body #nb-main .nb-ula-note--story .nb-ula-note-title {
  max-width:none;
}
@media(max-width:760px) {
  body #nb-main .nb-ula-stages { min-width:0; }
  body #nb-main .nb-ula-stage { grid-template-columns:minmax(0,1fr); }
}
