/* Opti Print — category landing pages (Візитки, Друк змінних даних) */
.optiprint-category-page {
  --op-cat-blue: #1A56D6;
  --op-cat-deep: #0B2C6B;
  --op-cat-orange: #FF7A29;
  --op-cat-orange-glow: #FFB020;
  --op-cat-muted: #5B6880;
  --op-cat-line: #E7EDF5;
  --op-cat-soft: #F4F9FF;
  --op-cat-soft-2: #EAF3FF;

  /* Банер категорії (узгоджено 10.09.2026): фон «м'яке світло» + приглушене коло.
     Насичений помаранчевий лишається ТІЛЬКИ за CTA — інакше коло перетягує увагу
     на себе і кнопка перестає читатися як єдина дія на екрані.
     Нові категорійні лендінги успадковують це автоматично: нічого локально
     не перевизначаємо, лише міняємо значення токенів тут. */
  --op-hero-bg:
    radial-gradient(62% 82% at 10% 16%, rgba(26, 86, 214, .24) 0%, transparent 62%),
    radial-gradient(52% 72% at 88% 26%, rgba(255, 122, 41, .20) 0%, transparent 64%),
    radial-gradient(72% 92% at 60% 100%, rgba(255, 176, 32, .16) 0%, transparent 62%),
    linear-gradient(160deg, #F4F9FF 0%, #E9F1FB 100%);
  --op-hero-disc: radial-gradient(circle at 34% 28%, #FFE6D3 0%, #FFC69D 56%, #FFAF7C 100%);
  --op-hero-disc-shadow: 0 24px 54px rgba(255, 122, 41, .18);
  --op-hero-disc-ring: rgba(226, 110, 40, .22);
  background: #fff;
}

.optiprint-category-page .site-content,
.optiprint-category-page #content,
.optiprint-category-page .content-area,
.optiprint-category-page .col-full {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.optiprint-category-page .woocommerce-products-header,
.optiprint-category-page .woocommerce-result-count,
.optiprint-category-page .woocommerce-ordering,
.optiprint-category-page .widget-area,
.optiprint-category-page .sidebar,
.optiprint-category-page #secondary {
  display: none !important;
}

.op-cat {
  max-width: 1370px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

.op-cat__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.op-cat-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.op-cat-aside__card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(15, 67, 132, 0.06);
}

.op-cat-aside__title {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--op-cat-deep);
}

.op-cat-aside__search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #DCE3EE;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
}

.op-cat-aside__search input {
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  background: transparent;
  font-size: 14px;
}

.op-cat-aside__search button {
  border: 0;
  background: transparent;
  color: var(--op-cat-blue);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.op-cat-aside__nav a {
  display: block;
  margin: 0 -18px;
  padding: 10px 18px;
  font-size: 14px;
  color: #344055;
  text-decoration: none;
}

.op-cat-aside__nav a.is-active {
  background: #F1F7FF;
  border-left: 3px solid var(--op-cat-blue);
  font-weight: 700;
  color: var(--op-cat-deep);
}

/* Tall photo promos */
.op-cat-promo {
  position: relative;
  display: block;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(11, 44, 107, 0.15) 0%, rgba(11, 44, 107, 0.55) 48%, rgba(11, 44, 107, 0.92) 100%),
    var(--op-promo-bg) center / cover no-repeat;
  box-shadow: 0 14px 30px rgba(11, 44, 107, 0.14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.op-cat-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11, 44, 107, 0.18);
  color: #fff !important;
}

.op-cat-promo--tee {
  background:
    linear-gradient(180deg, rgba(180, 70, 10, 0.12) 0%, rgba(140, 45, 0, 0.55) 48%, rgba(110, 35, 0, 0.92) 100%),
    var(--op-promo-bg) center / cover no-repeat;
}

.op-cat-promo__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.op-cat-promo__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 280px;
  padding: 20px;
}

.op-cat-promo__eyebrow {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
}

.op-cat-promo__title {
  font-size: 18px;
  line-height: 1.25;
}

.op-cat-promo__text {
  font-size: 13px;
  line-height: 1.45;
  opacity: .95;
}

.op-cat-promo__cta {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}

.op-cat-band {
  border-radius: 24px;
  padding: 40px 36px;
  margin-top: 22px;
}

.op-cat-band--white { background: #fff; }
.op-cat-band--soft { background: linear-gradient(160deg, #F7FBFF 0%, #EAF3FF 100%); }

.op-cat-hero {
  margin-top: 0;
  min-height: 420px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 12px;
  position: relative;
  /* перекриває заливку .op-cat-band--soft саме для банера категорії */
  background: var(--op-hero-bg);
}

.op-cat-hero--copy-only {
  grid-template-columns: 1fr;
  min-height: 0;
  padding-top: 36px;
  padding-bottom: 36px;
}

.op-cat-hero--copy-only .op-cat-hero__lead { max-width: 640px; }

.op-cat-product__media--plain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: linear-gradient(160deg, #EAF3FF 0%, #F4F6FA 100%);
}

.op-cat-product__glyph {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #1A56D6;
}

.op-cat-hero__copy { position: relative; z-index: 2; }

.op-cat-hero__eyebrow,
.op-cat-heading__eyebrow,
.op-cat-slide__eyebrow {
  margin: 0 0 12px;
  color: #113F78;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.op-cat-hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--op-cat-deep);
}

.op-cat-hero__lead {
  max-width: 500px;
  margin: 18px 0 22px;
  font-size: 17px;
  line-height: 1.55;
  color: #33435B;
}

.op-cat-hero__lead strong { color: var(--op-cat-blue); }

.op-cat-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--op-cat-orange);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.op-cat-hero__cta:hover { filter: brightness(1.05); color: #fff !important; }

.op-cat-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #30445F;
  font-size: 13px;
}

.op-cat-hero__trust li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.op-cat-hero__trust li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--op-cat-blue);
}

.op-cat-hero__art {
  position: relative;
  align-self: stretch;
  min-height: 320px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.op-cat-hero__pulse,
.op-cat-hero__halo {
  display: none;
  position: absolute;
  border-radius: 50%;
  left: 52%;
  top: 48%;
  translate: -50% -50%;
  pointer-events: none;
}

.op-cat-hero__pulse {
  width: min(300px, 70%);
  aspect-ratio: 1;
  background: var(--op-hero-disc);
  box-shadow: var(--op-hero-disc-shadow);
  animation: op-cat-pulse 2.8s ease-in-out infinite;
}

.op-cat-hero__halo {
  width: min(360px, 86%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 68%);
}

@keyframes op-cat-pulse {
  50% { transform: scale(1.06); opacity: .85; }
}

/* Photo hero (variable data printing): single cut-out image instead of the card scene */
.op-cat-hero__art--photo .op-cat-hero__pulse {
  display: block;
  width: min(350px, 78%);
  left: 50%;
  top: 52%;
}

.op-cat-hero__art--photo .op-cat-hero__photo {
  width: min(100%, 420px);
  max-height: 340px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Cut-out hero. Envelope matches the compact vizytky banner:
   art ~320px, peach disc 350px, product stays inside that box. */
.op-cat-hero__art--cutout {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  padding: 0;
}

.op-cat-hero__art--cutout .op-cat-hero__pulse {
  display: block;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(350px, 78%);
  max-width: 350px;
}

.op-cat-hero__art--cutout .op-cat-hero__photo {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  height: auto;
  max-height: 340px;
  aspect-ratio: auto;
  object-fit: contain;
  /* Виріз лежить прямо на фоні. Біла картка з базового .op-cat-hero__photo
     тут недоречна — вона зводить нанівець сам сенс вирізання по контуру. */
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 22px 22px rgba(11, 44, 107, .18));
}

/* Банер на конструкції стоїть на ніжках — нахил базового фото читався б як падіння. */
body.optiprint-category-banery .op-cat-hero__art--cutout .op-cat-hero__photo { rotate: 0deg; }

/* Виріб тут ширший за типовий, тому й коло має бути більшим: інакше воно
   ховається за банером і визирає знизу випадковою плямою. */
body.optiprint-category-banery .op-cat-hero__art--cutout .op-cat-hero__pulse {
  width: min(430px, 94%);
}

@media (max-width: 780px) {
  .op-cat-hero__art--cutout { min-height: 270px; }
  .op-cat-hero__art--cutout .op-cat-hero__photo { max-height: 300px; }
}

.op-cat-hero__photo {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  height: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 50px rgba(11, 44, 107, .16);
  rotate: -2deg;
}

/* USP strip on category landings (reuses product section markup) */
.op-cat__content > .op-usp-batch {
  margin: 0 0 8px;
}
.op-cat__content > .op-usp-batch .op-usp-batch__card {
  margin: 0;
}

/* Desktop hero: separate Slider-Revolution-style layers */
.op-cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* Біле коло у верхньому правому куті прибрано 10.09.2026: на новому фоні
     «м'яке світло» воно читалося як випадкова пляма, а не як декор. Лишається
     тільки ледь помітна діагональна штриховка. */
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(26, 86, 214, .035) 10px 12px);
  mask: linear-gradient(90deg, transparent 0 58%, #000 78%);
}

.op-cat-hero-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
}

.op-cat-hero-scene__disc {
  position: absolute;
  width: 350px;
  height: 350px;
  left: 46%;
  top: 48%;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--op-hero-disc);
  box-shadow: var(--op-hero-disc-shadow);
  animation: op-cat-disc-breathe 4.8s ease-in-out infinite;
}

.op-cat-hero-scene__disc::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: inherit;
  /* на світлому колі білий обідець зникав — тримаємо його теплим */
  border: 1px solid var(--op-hero-disc-ring);
}

.op-cat-hero-scene__dots {
  position: absolute;
  width: 82px;
  height: 72px;
  opacity: .42;
  background-image: radial-gradient(circle, #1A56D6 1.5px, transparent 1.8px);
  background-size: 12px 12px;
}

.op-cat-hero-scene__dots--top {
  right: 3%;
  top: 6%;
}

.op-cat-hero-scene__dots--bottom {
  left: 4%;
  bottom: 4%;
}

.op-cat-hero-scene__cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
}

.op-cat-hero-card {
  position: absolute;
  overflow: hidden;
  aspect-ratio: 1.78;
  border: 1px solid rgba(11, 44, 107, .08);
  border-radius: 5px;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow:
    0 10px 18px rgba(5, 39, 93, .14),
    0 28px 42px rgba(5, 39, 93, .2);
  backface-visibility: hidden;
}

.op-cat-hero-card--contact {
  z-index: 1;
  top: 42px;
  left: 8%;
  width: min(320px, 72%);
  display: grid;
  grid-template-columns: 53% 47%;
  padding: 28px 22px 38px;
  animation: op-cat-card-contact 5.2s ease-in-out infinite;
}

.op-cat-hero-card__contact-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 16px;
  border-right: 1px solid rgba(26, 86, 214, .32);
}

.op-cat-hero-card__contact-main img {
  width: 116px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.op-cat-hero-card__contact-main > span {
  margin: 7px 0 0 42px;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .11em;
  color: var(--op-cat-deep);
}

.op-cat-hero-card__contact-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 18px;
  color: #344055;
}

.op-cat-hero-card__contact-data strong {
  color: var(--op-cat-blue);
  font-size: 13px;
}

.op-cat-hero-card__contact-data > span {
  margin: 1px 0 9px;
  font-size: 7px;
}

.op-cat-hero-card__contact-data small {
  margin: 2px 0;
  font-size: 7px;
}

.op-cat-hero-card__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0B2C6B, #1A56D6);
  color: #fff;
  font-size: 6px;
  letter-spacing: .12em;
}

.op-cat-hero-card--brand {
  z-index: 3;
  right: 7%;
  bottom: 27px;
  width: min(300px, 67%);
  display: grid;
  place-items: center;
  animation: op-cat-card-brand 4.7s ease-in-out infinite;
}

.op-cat-hero-card--brand > img {
  position: relative;
  z-index: 2;
  width: 145px;
  max-width: calc(100% - 34px);
  height: auto;
  object-fit: contain;
}

@keyframes op-cat-disc-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes op-cat-card-contact {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); }
  50% { transform: translate3d(0, -8px, 18px) rotate(-4deg); }
}

@keyframes op-cat-card-brand {
  0%, 100% { transform: translate3d(0, 0, 30px) rotate(5deg); }
  50% { transform: translate3d(0, 7px, 42px) rotate(4deg); }
}

.op-cat-hero__compose--mobile { display: none; }

@media (prefers-reduced-motion: reduce) {
  .op-cat-hero-scene__disc,
  .op-cat-hero-card {
    animation: none !important;
  }
}

.op-cat-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 28px;
}

.op-cat-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.5vw, 36px);
  letter-spacing: -.03em;
  color: var(--op-cat-deep);
}

.op-cat-heading p { margin: 0; color: var(--op-cat-muted); }

.op-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.op-cat-subsection + .op-cat-subsection {
  margin-top: 28px;
}

.op-cat-subsection__label {
  margin: 0 0 12px;
  color: #9aa3b2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.op-cat-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--op-cat-line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.op-cat-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(8, 67, 145, 0.1);
}

.op-cat-product__media {
  display: block;
  background: var(--op-cat-soft);
  flex-shrink: 0;
}

.op-cat-product__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.op-cat-product__copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px;
}

.op-cat-product h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.op-cat-product h3 a {
  color: var(--op-cat-deep);
  text-decoration: none;
}

.op-cat-product__use {
  margin: 0 0 6px;
  color: var(--op-cat-blue);
  font-weight: 700;
  font-size: 14px;
}

.op-cat-product__note {
  margin: 0;
  color: var(--op-cat-muted);
  font-size: 14px;
  line-height: 1.5;
}

.op-cat-product__footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.op-cat-product__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.op-cat-product__price small { color: var(--op-cat-muted); font-size: 12px; }
.op-cat-product__price strong { color: var(--op-cat-blue); font-size: 18px; }

.op-cat-product__btn {
  border: 1px solid var(--op-cat-orange);
  background: #fff;
  color: var(--op-cat-orange) !important;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 750;
  text-decoration: none !important;
  white-space: nowrap;
}

.op-cat-product__btn:hover {
  background: var(--op-cat-orange);
  color: #fff !important;
}

/* How to order — reference style */
.op-cat-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  position: relative;
}

.op-cat-steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 0;
  border-top: 2px dashed #B7CFE8;
  z-index: 0;
}

.op-cat-steps li {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.op-cat-steps__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--op-cat-blue);
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #E7F1FF 70%);
  box-shadow: 0 8px 20px rgba(26, 86, 214, 0.12);
}

.op-cat-steps__icon svg {
  width: 30px;
  height: 30px;
}

.op-cat-steps__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.op-cat-steps__num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--op-cat-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.op-cat-steps strong {
  font-size: 15px;
  color: var(--op-cat-blue);
}

.op-cat-steps p {
  margin: 0;
  color: var(--op-cat-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Slider — equal media height + clear controls */
.op-cat-slider {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.op-cat-slider__frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(115deg, #F4F9FF, #EEF7FF);
}

.op-cat-slide {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 380px;
}

.op-cat-slide[hidden] { display: none !important; }

.op-cat-slide__copy {
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.op-cat-slide__copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--op-cat-deep);
}

.op-cat-slide__copy > p:not(.op-cat-slide__eyebrow) {
  margin: 0;
  max-width: 460px;
  color: var(--op-cat-muted);
  line-height: 1.6;
  font-size: 16px;
}

.op-cat-slide__link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--op-cat-blue) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.op-cat-slide__media {
  height: 380px;
  background: #D9E7F7;
}

.op-cat-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.op-cat-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 28px;
  padding: 7px 11px;
  border: 1px solid rgba(26, 86, 214, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(11, 44, 107, 0.1);
  backdrop-filter: blur(6px);
}

.op-cat-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #C5D5EA;
  cursor: pointer;
  transition: width .18s ease, background .18s ease;
}

.op-cat-slider__dot:hover {
  background: #8FB0D8;
}

.op-cat-slider__dot.is-active {
  width: 24px;
  background: var(--op-cat-orange);
}

/* Benefits bar */
.op-cat-assurances {
  padding: 18px;
}

.op-cat-assurances__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--op-cat-line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 67, 132, 0.05);
}

.op-cat-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.op-cat-benefit__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--op-cat-blue);
}

.op-cat-benefit__icon svg {
  width: 26px;
  height: 26px;
}

.op-cat-benefit__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.op-cat-benefit__text strong {
  color: #14243A;
  font-size: 13px;
  line-height: 1.25;
}

.op-cat-benefit__text span {
  color: var(--op-cat-muted);
  font-size: 12px;
  line-height: 1.35;
}

/* FAQ */
.op-cat-faq {
  max-width: none;
}

.op-cat-faq__list {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--op-cat-line);
  border-radius: 20px;
  padding: 8px 22px;
  box-shadow: 0 12px 30px rgba(15, 67, 132, 0.05);
}

.op-cat-faq__item {
  border-bottom: 1px solid #E3EAF3;
}

.op-cat-faq__item:last-child { border-bottom: 0; }

.op-cat-faq__item summary {
  cursor: pointer;
  padding: 18px 4px;
  font-weight: 700;
  color: var(--op-cat-deep);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.op-cat-faq__item summary::-webkit-details-marker { display: none; }

.op-cat-faq__chev {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EEF4FF;
  position: relative;
}

.op-cat-faq__chev::before {
  content: "";
  position: absolute;
  inset: 10px 9px auto;
  height: 8px;
  border-right: 2px solid var(--op-cat-blue);
  border-bottom: 2px solid var(--op-cat-blue);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.op-cat-faq__item[open] .op-cat-faq__chev::before {
  inset: 12px 9px auto;
  transform: rotate(225deg);
}

.op-cat-faq__item p {
  margin: 0;
  padding: 0 36px 18px 4px;
  color: var(--op-cat-muted);
  line-height: 1.6;
}

.op-cat-faq__more {
  margin: 18px 0 0;
  text-align: center;
}

.op-cat-faq__more a {
  color: var(--op-cat-blue);
  font-weight: 700;
  text-decoration: none;
}

.op-cat-empty {
  text-align: center;
  color: var(--op-cat-muted);
}

@media (max-width: 1100px) {
  .op-cat-assurances__inner {
    border-radius: 22px;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 1050px) {
  .op-cat__layout { grid-template-columns: 200px minmax(0, 1fr); }
  .op-cat-band { padding: 32px 24px; }
  .op-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .op-cat-promo { min-height: 200px; }
  .op-cat-promo__body { min-height: 200px; }
}

@media (max-width: 780px) {
  .op-cat { padding: 14px 14px 48px; }
  .op-cat__layout {
    display: flex;
    flex-direction: column;
  }
  .op-cat__content { order: 1; }
  .op-cat-aside {
    order: 2;
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 14px 0 0;
  }
  .op-cat-aside__card { display: none; }
  .op-cat-promo { min-height: 160px; }
  .op-cat-promo__body { min-height: 160px; }

  /* Mobile hero: use the same layered composition as desktop */
  .op-cat-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 22px 18px;
  }
  .op-cat-hero-scene { display: block; }
  .op-cat-hero__pulse,
  .op-cat-hero__halo,
  .op-cat-hero__compose--mobile { display: none; }
  .op-cat-hero__art {
    min-height: 270px;
    margin-top: 8px;
  }
  .op-cat-hero-scene__disc {
    width: 300px;
    height: 300px;
    left: 50%;
    top: 50%;
  }
  .op-cat-hero-card--contact {
    top: 30px;
    left: 5%;
    width: 72%;
  }
  .op-cat-hero-card--brand {
    right: 4%;
    bottom: 24px;
    width: 67%;
  }

  .op-cat-band { padding: 28px 18px; border-radius: 20px; }
  .op-cat-grid { grid-template-columns: 1fr; }
  .op-cat-steps { grid-template-columns: 1fr 1fr; gap: 24px 8px; }
  .op-cat-steps::before { display: none; }
  .op-cat-slide { grid-template-columns: 1fr; }
  .op-cat-slide__media { height: 220px; order: -1; }
  .op-cat-slide__copy { padding: 24px 20px 28px; }
  .op-cat-assurances__inner {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .op-cat-steps { grid-template-columns: 1fr; }
  .op-cat-product__footer { flex-direction: column; align-items: stretch; }
  .op-cat-product__btn { text-align: center; }
}

/* Business-card portfolio: square, editorial gallery. */
.op-vizytky-works{background:linear-gradient(145deg,#f8fbff 0%,#eef4fc 100%)}
.op-vizytky-works__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}
.op-vizytky-works__item{margin:0;overflow:hidden;border:1px solid #dce6f3;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(10,43,102,.08)}
.op-vizytky-works__item a{display:block;aspect-ratio:1;overflow:hidden;background:#f2f4f7}
.op-vizytky-works__item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.op-vizytky-works__item:hover img{transform:scale(1.035)}
.op-vizytky-works__item figcaption{padding:14px 16px 16px;color:#0b2c6b;font-size:15px;font-weight:700;line-height:1.35}
@media(max-width:760px){.op-vizytky-works__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.op-vizytky-works__item{border-radius:14px}.op-vizytky-works__item figcaption{padding:11px 12px 13px;font-size:13px}}
.op-vizytky-works--contain .op-vizytky-works__item a{background:#fff}
.op-vizytky-works--contain .op-vizytky-works__item img{object-fit:contain}
.op-vizytky-works__cta{margin:22px 0 0;text-align:center}

/* Booklets: a transparent product cutout belongs in the hero, never a rectangular photo card. */
body.optiprint-category-buklety.optiprint-catalog-category .op-cat-hero__art--cutout .op-cat-hero__photo{mix-blend-mode:normal}
.op-buklety-works__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.op-buklety-works__item{margin:0;overflow:hidden;border:1px solid #dce6f3;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(10,43,102,.07)}
.op-buklety-works__open,.op-works__open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.op-buklety-works__open img{display:block;width:100%;aspect-ratio:1;object-fit:cover;transition:transform .25s ease}
.op-buklety-works__open:hover img{transform:scale(1.035)}
@media(max-width:760px){.op-buklety-works__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Рекламні листівки: one-sheet flyer product visuals. */
.op-leaflet-benefits{padding:72px 0;background:#f4f8fd}.op-leaflet-benefits h2{margin:0;color:#082c6c;font-size:clamp(28px,3vw,44px);line-height:1.08}.op-leaflet-benefits__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}.op-leaflet-benefits__grid article{overflow:hidden;border:1px solid #dce6f3;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(10,43,102,.07)}.op-leaflet-benefits__grid img{display:block;width:100%;aspect-ratio:1.3;object-fit:cover}.op-leaflet-benefits__grid h3,.op-leaflet-benefits__grid p:not(.op-brochure-eyebrow){margin-left:22px;margin-right:22px}.op-leaflet-benefits__grid h3{margin-top:5px;margin-bottom:8px;color:#082c6c;font-size:22px}.op-leaflet-benefits__grid p:not(.op-brochure-eyebrow){margin-bottom:24px;color:#49617f;line-height:1.55}.op-leaflet-benefits__grid .op-brochure-eyebrow{margin:20px 22px 0}
@media(max-width:760px){.op-leaflet-benefits{padding:48px 0}.op-leaflet-benefits__grid{grid-template-columns:1fr}}

/* Бейджі: вирізаний виріб лежить над пульсом, без прямокутної фотографії у банері. */

/* Sticker category hero: cutout stays inside the compact vizytky envelope. */
body.optiprint-category-nalipky.optiprint-catalog-category .op-cat-hero__art--cutout{display:block;height:320px;min-height:320px;overflow:hidden}
body.optiprint-category-nalipky.optiprint-catalog-category .op-cat-hero__art--cutout .op-cat-hero__pulse{left:50%;top:50%}
body.optiprint-category-nalipky.optiprint-catalog-category .op-cat-hero__art--cutout .op-cat-hero__photo{position:absolute;left:50%;top:50%;width:min(140%,520px);max-width:none;height:auto;max-height:340px;transform:translate(-62%,-50%)}
@media(max-width:760px){body.optiprint-category-nalipky .op-cat-hero__art--cutout{height:270px;min-height:270px}body.optiprint-category-nalipky .op-cat-hero__art--cutout .op-cat-hero__photo{width:min(150%,420px);max-height:300px;transform:translate(-62%,-50%)}}
