/* Opti Print — product page (prototype structure + brand styling) */
:root{
  --op-blue:#1A56D6;
  --op-blue-deep:#0B2C6B;
  --op-graphite:#2B2F38;
  --op-bg:#F4F6FA;
  --op-accent:#FF7A29;
  --op-line:rgba(11,44,107,.12);
  --op-muted:#5b6472;
}

.optiprint-product-page{
  color:var(--op-graphite);
  font-family:-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.op-section-inner{
  width:min(1180px,100%);
  margin:0 auto;
  padding:0 20px;
}

/* —— Breadcrumbs —— */
.op-breadcrumbs{
  width:min(1180px,100%);
  margin:14px auto 0;
  padding:0 20px;
  box-sizing:border-box;
}
.op-breadcrumbs__list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  list-style:none;
  margin:0;
  padding:0;
  font-size:13px;
  line-height:1.4;
  color:var(--op-muted);
}
.op-breadcrumbs__item{
  display:inline-flex;
  align-items:center;
  max-width:100%;
}
.op-breadcrumbs__item a{
  color:var(--op-blue);
  text-decoration:none;
  font-weight:500;
}
.op-breadcrumbs__item a:hover,
.op-breadcrumbs__item a:focus{
  color:var(--op-blue-deep);
  text-decoration:underline;
}
.op-breadcrumbs__item.is-current span{
  color:var(--op-graphite);
  font-weight:600;
}
.op-breadcrumbs__sep{
  margin:0 8px;
  color:rgba(43,47,56,.32);
  font-weight:400;
  user-select:none;
}

/* —— Help strip (KP guide + feedback) —— */
.op-help-strip{
  width:min(1180px,100%);
  margin:10px auto 6px;
  padding:0 20px;
  box-sizing:border-box;
}
.op-help-strip__list{
  list-style:none;
  margin:0;
  padding:12px 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  background:var(--op-bg);
  border:1px solid var(--op-line);
  border-radius:10px;
}
.op-help-strip__btn{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  margin:0;
  min-width:240px;
  padding:12px 16px;
  border:1px solid var(--op-line);
  border-radius:12px;
  background:#fff;
  color:var(--op-graphite);
  font:inherit;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  text-align:left;
  box-shadow:none;
  outline:none;
  -webkit-tap-highlight-color:transparent;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.op-help-strip__btn:hover{
  color:var(--op-blue);
  border-color:rgba(26,86,214,.35);
  background:rgba(26,86,214,.06);
}
.op-help-strip__btn:focus,
.op-help-strip__btn:focus-visible,
.op-help-strip__btn:active{
  color:var(--op-blue) !important;
  background:rgba(26,86,214,.1) !important;
  border-color:var(--op-blue) !important;
  outline:2px solid var(--op-blue) !important;
  outline-offset:0 !important;
  box-shadow:none !important;
}
.op-help-strip__icon{
  display:inline-flex;
  color:var(--op-accent);
  flex:none;
}
.op-help-strip__icon svg{display:block;}

.op-help-modal[hidden]{display:none!important;}
.op-help-modal{
  position:fixed;
  inset:0;
  z-index:10070;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.op-help-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,14,33,.72);
}
.op-help-modal__dialog{
  position:relative;
  z-index:1;
  width:min(520px,100%);
  max-height:min(88dvh,720px);
  overflow:auto;
  background:#fff;
  border-radius:16px;
  padding:28px 24px 22px;
  box-shadow:0 22px 60px rgba(8,20,60,.28);
}
.op-help-modal__accent{
  height:4px;
  border-radius:999px;
  margin:0 0 16px;
  background:linear-gradient(90deg,#0B2C6B 0%,#1A56D6 55%,#FF7A29 100%);
}
.op-help-modal__close{
  position:absolute;
  top:10px;
  right:10px;
  width:30px;
  height:30px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.85);
  background:#FF7A29;
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:5;
  box-shadow:0 4px 12px rgba(11,44,107,.25);
  transition:background .15s,transform .15s;
  line-height:1;
  padding:0;
  outline:none;
  -webkit-tap-highlight-color:transparent;
}
.op-help-modal__close span,
.op-help-modal__close svg{
  display:block;
  pointer-events:none;
  flex:none;
}
.op-help-modal__close span{
  font-size:22px;
  font-weight:700;
  line-height:1;
  margin-top:-1px;
}
.op-help-modal__close:hover,
.op-help-modal__close:focus,
.op-help-modal__close:focus-visible{
  background:#e8691c !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:0 4px 12px rgba(11,44,107,.25) !important;
  transform:scale(1.05);
}
.op-help-modal__dialog h2{
  margin:0 0 10px;
  font-size:22px;
  color:var(--op-blue-deep);
  padding-right:28px;
}
.op-help-modal__lead{
  margin:0 0 16px;
  color:var(--op-muted);
  font-size:14.5px;
  line-height:1.5;
}
.op-help-modal__steps{
  margin:0 0 16px;
  padding:0 0 0 18px;
  display:grid;
  gap:12px;
}
.op-help-modal__steps li{
  color:var(--op-muted);
  font-size:14px;
  line-height:1.45;
}
.op-help-modal__steps strong{
  display:block;
  color:var(--op-graphite);
  margin-bottom:2px;
}
.op-help-modal__note{
  margin:0 0 16px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(26,86,214,.06);
  color:var(--op-muted);
  font-size:13px;
  line-height:1.45;
}
.op-help-modal__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:12px;
  background:var(--op-accent);
  color:#fff;
  font-weight:700;
  font-size:14.5px;
  cursor:pointer;
  width:100%;
}
.op-help-modal__cta:hover{background:#e8691c;}
.op-help-modal__cta:disabled{opacity:.65;cursor:wait;}

.op-feedback-form{display:grid;gap:12px;}
.op-feedback-form__label{
  display:grid;
  gap:6px;
  font-size:13px;
  font-weight:600;
  color:var(--op-graphite);
}
.op-feedback-form__req{color:var(--op-accent);}
.op-feedback-form input,
.op-feedback-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid var(--op-line);
  border-radius:10px;
  padding:11px 12px;
  font:inherit;
  font-weight:500;
  color:var(--op-graphite);
  background:#fff;
}
.op-feedback-form textarea{resize:vertical;min-height:96px;}
.op-feedback-form input:focus,
.op-feedback-form textarea:focus{
  outline:0;
  border-color:var(--op-blue);
  box-shadow:0 0 0 3px rgba(26,86,214,.14);
}
.op-feedback-form__status{margin:0;font-size:13.5px;font-weight:600;}
.op-feedback-form__status.is-ok{color:#0f7a3a;}
.op-feedback-form__status.is-error{color:#c2410c;}
.op-feedback-form .op-fg-hp{
  position:absolute!important;
  left:-9999px!important;
  height:1px;width:1px;overflow:hidden;
}
body.op-help-modal-open{overflow:hidden;}

@media (max-width:720px){
  .op-help-strip{margin:8px auto 4px;padding:0 16px;}
  .op-help-strip__list{
    flex-direction:column;
    gap:8px;
    padding:10px 12px;
  }
  .op-help-strip__btn{
    width:100%;
    min-width:0;
    padding:12px 14px;
    font-size:14px;
  }
}

/* KP download CTAs */
.op-summary__kp,
.op-cmp-card__kp,
.op-cart-kp__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:42px;
  margin:0 0 8px;
  padding:0 14px;
  border-radius:12px;
  border:1.5px solid var(--op-blue);
  background:#fff;
  color:var(--op-blue);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  text-decoration:none !important;
  box-sizing:border-box;
}
.op-summary__kp:hover,
.op-cmp-card__kp:hover,
.op-cart-kp__btn:hover{
  background:rgba(26,86,214,.06);
  color:var(--op-blue-deep);
}
.op-summary__kp[hidden],
.op-cmp-card__kp[hidden]{display:none !important;}
.op-cart-kp{
  margin:0 0 16px;
  padding:16px;
  border:1px solid var(--op-line);
  border-radius:14px;
  background:var(--op-bg);
}
.op-cart-kp__title{
  margin:0 0 6px;
  font-size:16px;
  color:var(--op-blue-deep);
}
.op-cart-kp__lead{
  margin:0 0 12px;
  font-size:13.5px;
  color:var(--op-muted);
  line-height:1.45;
}
.op-kp-entity-pick{
  display:grid;
  gap:8px;
  margin:0 0 14px;
}
.op-kp-entity-pick label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px;
  border:1.5px solid var(--op-line);
  border-radius:12px;
  cursor:pointer;
  background:#fff;
}
.op-kp-entity-pick label:has(input:checked){
  border-color:var(--op-blue);
  background:rgba(26,86,214,.05);
}
.op-kp-entity-pick strong{display:block;color:var(--op-graphite);font-size:14px;}
.op-kp-entity-pick small{display:block;margin-top:2px;color:var(--op-muted);font-size:12.5px;line-height:1.35;}

/* —— Hero row: gallery left / summary right —— */
.optiprint-product-vizytky .site-content .col-full,
.optiprint-product-vizytky .site-main,
.optiprint-product-vizytky #content,
.optiprint-product-vizytky .content-area{
  max-width:none !important;
}
.optiprint-product-vizytky div.product{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  float:none !important;
  padding:0 !important;
}
.optiprint-product-vizytky .content-single-wrapper{
  display:grid !important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) !important;
  gap:32px 40px !important;
  align-items:start !important;
  width:min(1180px,100%) !important;
  max-width:1180px !important;
  margin:12px auto 8px !important;
  padding:0 20px !important;
  float:none !important;
  clear:both !important;
}
.optiprint-product-vizytky .content-single-wrapper::before,
.optiprint-product-vizytky .content-single-wrapper::after{
  content:none !important;
  display:none !important;
}
.optiprint-product-vizytky .woocommerce-product-gallery,
.optiprint-product-vizytky .summary.entry-summary{
  float:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  clear:none !important;
  box-sizing:border-box;
}
.optiprint-product-vizytky .woocommerce-product-gallery{
  overflow:visible !important;
}
.optiprint-product-vizytky .woocommerce-product-gallery .flex-viewport{
  width:100% !important;
  max-width:100% !important;
  overflow:hidden !important;
}
.optiprint-product-vizytky .summary.entry-summary > *,
.optiprint-product-vizytky .op-hero-summary,
.optiprint-product-vizytky .op-hero-summary > *{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.optiprint-product-vizytky .product > .op-product-page{
  width:100%;
  clear:both;
}

/* Classic gallery: mild radius on main, square thumbs of equal size */
.optiprint-product-vizytky .woocommerce-product-gallery__wrapper,
.optiprint-product-vizytky .woocommerce-product-gallery__image{
  border-radius:8px;
  overflow:hidden;
  background:var(--op-bg);
}
.optiprint-product-vizytky .woocommerce-product-gallery img{
  border-radius:8px;
}
.optiprint-product-vizytky .flex-control-thumbs{
  display:flex !important;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px !important;
  padding:0 !important;
}
.optiprint-product-vizytky .flex-control-thumbs li{
  width:64px !important;
  height:64px !important;
  flex:0 0 64px !important;
  margin:0 !important;
  border-radius:4px;
  overflow:hidden;
  border:2px solid var(--op-line);
  background:#fff;
  box-sizing:border-box;
  transition:border-color .15s ease;
}
.optiprint-product-vizytky .flex-control-thumbs li img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  border-radius:0 !important;
  display:block;
  cursor:pointer;
}
.optiprint-product-vizytky .flex-control-thumbs li img.flex-active,
.optiprint-product-vizytky .flex-control-thumbs .flex-active{
  outline:0;
}
.optiprint-product-vizytky .flex-control-thumbs li:has(img.flex-active){
  border-color:var(--op-blue);
}

/* Hide leftover WC chrome */
.optiprint-product-vizytky .product .stock,
.optiprint-product-vizytky .product .posted_in,
.optiprint-product-vizytky .product .sku_wrapper,
.optiprint-product-vizytky .product .product_meta,
.optiprint-product-vizytky .product .woocommerce-product-rating,
.optiprint-product-vizytky .single_add_to_cart_button,
.optiprint-product-vizytky .quantity,
.optiprint-product-vizytky .product-nav,
.optiprint-product-vizytky .printec-product-navigation,
.optiprint-product-vizytky .single-product-navigation,
.optiprint-product-vizytky .product-previous-next,
.optiprint-product-vizytky .woocommerce-product-gallery__trigger,
.optiprint-product-vizytky .summary .onsale,
.optiprint-product-vizytky .woocommerce-product-details__short-description{
  display:none !important;
}
.optiprint-product-vizytky .summary .stock,
.optiprint-product-vizytky .summary .inventory_status,
.optiprint-product-vizytky .summary .product-nav-links,
.optiprint-product-vizytky .summary .nav-links,
.optiprint-product-vizytky .summary .pagination-prev,
.optiprint-product-vizytky .summary .pagination-next,
.optiprint-product-vizytky .summary a.prev,
.optiprint-product-vizytky .summary a.next{
  display:none !important;
}
.optiprint-product-vizytky .summary > div:has(.inventory_status),
.optiprint-product-vizytky .summary > div:has(.pagination-prev){
  display:none !important;
}

.optiprint-product-vizytky .product_title{
  margin:0 0 10px !important;
  font-size:clamp(28px,3vw,40px) !important;
  line-height:1.15 !important;
  color:var(--op-blue-deep) !important;
  font-weight:800 !important;
}

/* Hero summary (right column) */
.op-hero-summary{margin-top:4px;}
.op-hero-summary__sku{
  margin:0 0 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#7a8494;
}
.op-hero-summary__rating{
  display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:14px;color:var(--op-muted);
}
.op-hero-summary__stars{color:#F5B400;letter-spacing:1px;}
.op-hero-summary__sep{opacity:.5;}
.op-hero-summary__desc{
  margin:0 0 18px;padding:16px 18px;border-radius:16px;
  background:linear-gradient(135deg,rgba(11,44,107,.05),rgba(26,86,214,.08));
  border:1px solid var(--op-line);width:100%;max-width:48ch;
  overflow-wrap:anywhere;
}
.op-hero-summary__desc p{
  margin:0;font-size:15px;line-height:1.55;color:var(--op-graphite);
}
.op-hero-summary__checks{
  list-style:none;margin:0 0 20px;padding:0;display:grid;gap:12px;
}
.op-hero-summary__checks li{display:flex;gap:12px;align-items:flex-start;}
.op-hero-summary__check{
  flex:none;width:28px;height:28px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(26,86,214,.1);color:var(--op-blue);font-weight:800;font-size:14px;
}
.op-hero-summary__checks strong{display:block;font-size:15px;color:var(--op-graphite);}
.op-hero-summary__checks small{display:block;margin-top:2px;color:var(--op-muted);font-size:13px;}
.op-hero-summary__pricebox{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  padding:18px 20px;border-radius:18px;
  background:linear-gradient(135deg,rgba(11,44,107,.06),rgba(26,86,214,.08));
  border:1px solid var(--op-line);margin-bottom:14px;
}
.op-hero-summary__from{display:block;font-size:13px;color:var(--op-muted);margin-bottom:2px;}
.op-hero-summary__price{display:block;font-size:32px;line-height:1;color:var(--op-blue-deep);}
.op-hero-summary__price-note{display:block;margin-top:6px;font-size:12px;line-height:1.35;color:var(--op-muted);font-weight:500;}
.op-hero-summary__cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 22px;border-radius:999px;background:var(--op-blue);color:#fff !important;
  font-weight:700;text-decoration:none !important;white-space:nowrap;
}
.op-hero-summary__cta:hover{background:var(--op-blue-deep);color:#fff !important;}
.op-hero-summary__help{margin:0;font-size:14px;color:var(--op-muted);}
.op-link-btn{
  border:none !important;background:transparent !important;background-color:transparent !important;
  padding:0 2px !important;margin:0;color:var(--op-blue) !important;font:inherit;font-weight:700;
  text-decoration:underline;text-underline-offset:2px;cursor:pointer;
  box-shadow:none !important;border-radius:4px;transition:color .15s ease,background-color .15s ease;
}
.op-link-btn:hover,
.op-link-btn:focus,
.op-link-btn:active{
  background:rgba(26,86,214,.08) !important;background-color:rgba(26,86,214,.08) !important;
  color:var(--op-accent) !important;box-shadow:none !important;outline:none;
}

/* Trust strip */
.op-trust{padding:20px 0 4px;}
.op-trust__grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}
.op-trust__card{
  margin:0 !important; /* kill theme article/card bottom margin */
  padding:20px 18px;border-radius:20px;
  background:#fff;
  border:1px solid var(--op-line);
  box-shadow:0 12px 28px rgba(11,44,107,.08);
  color:var(--op-graphite);position:relative;
}
.op-trust__icon{
  display:flex;align-items:center;justify-content:center;
  width:84px;height:84px;margin-bottom:14px;border-radius:20px;
  background:linear-gradient(160deg,rgba(11,44,107,.06),rgba(26,86,214,.08));
}
.op-trust__icon img{
  width:70px;height:70px;object-fit:contain;display:block;border-radius:14px;
}
.op-trust__num{
  display:inline-block;margin-bottom:8px;font-size:12px;font-weight:800;
  letter-spacing:.08em;color:var(--op-accent);
}
.op-trust__card h3{margin:0 0 8px;font-size:18px;color:var(--op-blue-deep);}
.op-trust__card p{margin:0;font-size:14px;line-height:1.45;color:var(--op-muted);}

/* How to order */
.op-how-order{
  margin:20px 0;
  padding:32px 0;
  background:linear-gradient(180deg,#fff 0%,var(--op-bg) 100%);
  border-block:1px solid var(--op-line);
}
.op-field--badge-switch .op-family-switch{
  width:100%;
  margin:6px 0 0;
}
.op-family-switch{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  width:fit-content;
  max-width:100%;
  margin:0 0 8px;
  padding:4px;
  border-radius:999px;
  background:#eef2fb;
  border:1px solid var(--op-line);
  box-sizing:border-box;
}
.op-family-switch__item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border:0;
  border-radius:999px;
  font:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  color:var(--op-graphite);
  text-decoration:none !important;
  background:transparent;
  cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
button.op-family-switch__item:hover{
  color:var(--op-blue);
  background:#fff;
}
.op-family-switch__item.is-active{
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue));
  color:#fff !important;
  box-shadow:0 8px 18px rgba(26,86,214,.22);
}
.op-family-switch__item.is-active:hover{
  color:#fff !important;
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue));
}
.op-family-switch__hint{
  margin:0 0 16px;
  font-size:13px;
  line-height:1.4;
  color:var(--op-muted);
  max-width:56ch;
}
@media (max-width:640px){
  .op-family-switch{width:100%;}
  .op-family-switch__item{flex:1 1 auto;text-align:center;}
}

.op-how-order__eyebrow,
.op-calc__eyebrow,
.op-packages__eyebrow,
.op-video__eyebrow,
.op-payship__eyebrow,
.op-faq__eyebrow,
.op-bottom-cta__eyebrow{
  margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--op-blue);
}
.op-how-order__title,
.op-calc__title,
.op-packages__title,
.op-payship__title{
  margin:0 0 8px;font-size:clamp(24px,3vw,32px);line-height:1.2;color:var(--op-blue-deep);
}
.op-how-order__lead,
.op-calc__lead,
.op-packages__lead,
.op-payship__lead{
  margin:0 0 22px;color:var(--op-muted);max-width:56ch;
}
.op-how-order__steps{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;
}
.op-how-order__step{
  display:flex;gap:12px;padding:16px;background:#fff;
  border:1px solid var(--op-line);border-radius:16px;
}
.op-how-order__num{
  flex:none;width:32px;height:32px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(26,86,214,.1);color:var(--op-blue);font-weight:800;
}
.op-how-order__step strong{display:block;margin-bottom:4px;font-size:15px;}
.op-how-order__step p{margin:0;font-size:13px;line-height:1.45;color:var(--op-muted);}

/* Calculator */
.op-calc{padding:36px 0 20px;background:#fff;}
.op-step-card--params,
#op-calc-step-1{
  scroll-margin-top:calc(110px + env(safe-area-inset-top, 0px));
}
.op-calc__grid{
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);
  gap:22px;align-items:start;
}
.op-calc__steps{display:grid;gap:16px;}
.op-step-card{
  background:#fff;border:1px solid var(--op-line);border-radius:20px;overflow:hidden;
  box-shadow:0 10px 30px rgba(11,44,107,.05);
}
.op-step-card__head{display:flex;align-items:flex-start;gap:12px;padding:18px 18px 0;}
.op-step-card__num{
  flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;
  aspect-ratio:1;border-radius:50%;
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue));
  color:#fff;display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;line-height:1;box-sizing:border-box;
}
.op-step-card__head h3{margin:0 0 2px;font-size:18px;color:var(--op-blue-deep);}
.op-step-card__head p{margin:0;font-size:13px;color:#6b7380;}
.op-step-card__badge{
  margin-left:auto;font-size:11px;font-weight:700;padding:6px 10px;border-radius:999px;
  background:rgba(255,122,41,.12);color:var(--op-accent);white-space:nowrap;
}
.op-step-card__badge--soft{background:rgba(26,86,214,.08);color:var(--op-blue);}
.op-step-card__body{padding:16px 18px 18px;display:grid;gap:16px;}
.op-field{display:grid;gap:5px;font-size:13px;font-weight:600;}
.op-field select,
.op-field input[type="url"],
.op-field input[type="number"],
.op-field textarea{
  width:100%;border:1px solid var(--op-line);border-radius:12px;padding:12px 14px;
  font:inherit;font-weight:500;background:#fff;color:var(--op-graphite);
}
/* Nested stacked fields (cover/backing etc.): label closer to its control than to the field above. */
.op-nb-block > .op-field + .op-field,
.op-nb-block > label.op-field + label.op-field,
.op-die-card > .op-field + .op-field,
.op-nb-cover-row + .op-field,
.op-nb-cover-lam + .op-field{
  margin-top:14px;
}
/* Qty chips: grid so presets never blow out the card width on mobile. */
.op-qty-chips{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(64px,1fr));
  gap:8px;
  width:100%;max-width:100%;min-width:0;
  box-sizing:border-box;
}
.op-term-chips{display:flex;flex-wrap:wrap;gap:8px;}
.op-chip,.op-term{
  border:1px solid var(--op-line);background:#fff;border-radius:8px;padding:8px 14px;
  font:inherit;font-weight:600;cursor:pointer;color:var(--op-graphite);
}
.op-qty-chips .op-chip{
  width:100%;min-width:0;box-sizing:border-box;
  text-align:center;padding-left:6px;padding-right:6px;
}
.op-chip.is-active,.op-term.is-active{
  background:var(--op-blue);border-color:var(--op-blue);color:#fff;
}
.op-term.is-disabled,
.op-term:disabled{
  opacity:.4;cursor:not-allowed;pointer-events:none;
  text-decoration:line-through;
}
.op-tech-row{
  margin-top:10px;padding:12px;border:1px solid var(--op-line);border-radius:12px;background:#fff;
  display:grid;gap:10px;
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
.op-tech-row.is-active{border-color:rgba(26,86,214,.45);box-shadow:0 0 0 1px rgba(26,86,214,.12);}
/* Dim children, not the whole row — sets stay usable when offset is active. */
.op-tech-row.is-dimmed{opacity:1;}
.op-tech-row.is-dimmed > :not(.op-qty-row){opacity:.55;}
.op-tech-row.is-dimmed .op-qty-row > :not(.op-qty-control--sets){opacity:.55;}
.op-tech-row.is-dimmed .op-qty-control--sets{opacity:1;}
.op-tech-row.is-disabled{
  opacity:.55;
  background:#f7f8fb;
}
.op-tech-row.is-disabled .op-qty-chips{pointer-events:none;}
.op-tech-row.is-disabled .op-chip{
  opacity:.55;
  cursor:not-allowed;
}
.op-tech-row__head{display:flex;align-items:center;gap:8px;font-size:13px;}
.op-tech-row__head strong{font-size:13px;}
.op-tech-row__note{
  margin:0;
  font-size:12px;
  font-weight:600;
  color:#5b6472;
  line-height:1.35;
}
.op-tech-row.is-disabled .op-tech-row__note{
  color:#b45309;
}
.op-sets-shared{
  margin-top:10px;padding:12px 14px;border:1px solid rgba(26,86,214,.22);border-radius:12px;
  background:linear-gradient(180deg,#f7faff 0%,#fff 100%);
  display:grid;gap:8px;
}
.op-sets-shared__head{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;
}
.op-sets-shared__head strong{
  font-size:13px;color:#0B2C6B;
}
.op-sets-shared__head span{
  font-size:12px;font-weight:600;color:#1A56D6;
  padding:2px 8px;border-radius:999px;background:rgba(26,86,214,.1);
}
.op-qty-row{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
.op-qty-unit{font-size:12px;font-weight:500;color:#6b7380;white-space:nowrap;}
.op-tip{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:50%;border:1px solid rgba(26,86,214,.35);
  color:var(--op-blue);font-size:11px;font-weight:700;cursor:help;background:#fff;
  line-height:1;z-index:1;
}
.op-tip__mark{display:block;line-height:1;}
.op-tip__bubble{
  display:none;position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);
  width:240px;padding:10px 12px;border-radius:10px;background:#0B2C6B;color:#fff;
  font-size:12px;font-weight:500;line-height:1.4;z-index:60;box-shadow:0 10px 24px rgba(11,44,107,.25);
  pointer-events:none;
}
.op-tip:hover,
.op-tip:focus,
.op-tip:focus-within{z-index:60;}
.op-tip:hover .op-tip__bubble,
.op-tip:focus .op-tip__bubble,
.op-tip:focus-within .op-tip__bubble{display:block;}
[data-op-triangle-size-tip] .op-tip__bubble{
  width:min(300px,78vw);
  text-align:left;
}
.op-qty-control{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
.op-qty-custom{display:inline-flex;align-items:stretch;max-width:220px;min-width:0;box-sizing:border-box;}
.op-qty-custom[hidden],
[data-op-boxes-manual][hidden],
.op-tech-row__total[hidden]{display:none !important;}
.op-tech-row__total{display:block;margin-top:8px;}
.op-qty-custom .op-qty-unit{
  display:inline-flex;align-items:center;justify-content:center;
  align-self:stretch;padding:0 12px;line-height:1;
}
.op-qty-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;margin:0;
  border-radius:12px;border:1px solid var(--op-line);
  background:#fff;cursor:pointer;font-size:18px;line-height:1;
  -webkit-appearance:none;appearance:none;
}
.op-qty-btn__icon{
  display:block;line-height:1;font-weight:700;
  transform:translateY(-0.5px); /* optical center for +/− glyphs */
}
.op-upload{
  position:relative;
  border:1.5px dashed rgba(26,86,214,.35);border-radius:16px;padding:22px 18px;
  background:rgba(26,86,214,.03);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.op-upload.is-dragover{
  border-color:var(--op-accent);
  background:rgba(255,122,41,.08);
  box-shadow:0 0 0 3px rgba(255,122,41,.12);
}
.op-upload.is-ready{
  border-color:rgba(26,86,214,.55);
  background:rgba(26,86,214,.06);
}
.op-upload__input{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.op-upload__body{
  display:grid;justify-items:center;gap:8px;text-align:center;
}
.op-upload__title{margin:0;font-size:15px;color:var(--op-blue-deep);}
.op-upload__hint{margin:0;font-size:12px;color:var(--op-muted);font-weight:500;}
.op-upload__btn{
  margin-top:4px;border:0;border-radius:10px;padding:11px 18px;
  background:var(--op-blue);color:#fff;font:inherit;font-weight:700;cursor:pointer;
}
.op-upload__btn:hover{filter:brightness(1.05);}
.op-upload__name{
  margin:4px 0 0;font-size:13px;font-weight:700;color:var(--op-blue-deep);
  word-break:break-word;
}
.op-upload__name[hidden]{display:none !important;}
.op-hint{margin:0;font-size:12px;color:#7a8494;}
.op-radio{
  display:flex;gap:12px;align-items:flex-start;padding:12px 14px;
  border:1px solid var(--op-line);border-radius:14px;cursor:pointer;background:#fff;
}
.op-radio:has(input:checked){
  border-color:var(--op-blue);background:rgba(26,86,214,.04);
}
.op-radio input{margin-top:4px;}
.op-radio strong{display:block;font-size:14px;}
.op-radio small{display:block;margin-top:2px;color:#6b7380;font-size:12px;}
.op-output-modes .op-radio.is-disabled{
  opacity:.45;pointer-events:none;cursor:not-allowed;
}
.op-field--one-cut .op-check{
  display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.op-field--one-cut{grid-column:1 / -1;}
.op-radio-list{display:grid;gap:8px;}
.op-output-modes .op-radio{align-items:center;}
.op-output-modes .op-radio > span:first-of-type{flex:1;min-width:0;}
.op-output-modes .op-tip{margin-left:auto;flex:0 0 auto;}
.op-output-modes .op-tip__bubble{
  left:auto;right:0;transform:none;
  width:min(280px, 46vw);
}
.op-field__label-row{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;font-weight:600;color:var(--op-ink,#2B2F38);}
.op-field--output-modes{grid-column:1 / -1;}
.op-step-card--params{overflow:visible;}
.op-step-card--params .op-step-card__body{overflow:visible;}
.op-delivery-np-hint{
  display:none;margin:10px 0 0;padding:12px 14px;border-radius:12px;
  background:#eef3ff;border:1px solid rgba(26,86,214,.18);
  color:var(--op-blue-deep);font-size:13px;line-height:1.4;font-weight:600;
}
.op-delivery:has(input[value="np"]:checked) .op-delivery-np-hint{display:block;}

/* Calculator step 1 — visible, premium controls */
.op-step-card--params{
  border-color:rgba(26,86,214,.28);
  box-shadow:0 18px 42px rgba(11,44,107,.1);
  overflow:visible;
}
.op-step-card--params .op-step-card__head{
  padding:20px;
  align-items:center;
  background:
    radial-gradient(circle at 85% 0,rgba(255,122,41,.13),transparent 32%),
    linear-gradient(135deg,rgba(11,44,107,.06),rgba(26,86,214,.1));
  border-bottom:1px solid rgba(26,86,214,.14);
}
.op-step-card--params .op-step-card__num{
  flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;
  border-radius:50%;
  box-shadow:0 8px 18px rgba(11,44,107,.22);
}
.op-step-card--params .op-step-card__head h3{font-size:20px;}
.op-step-card--params .op-step-card__badge{
  padding:8px 13px;
  background:#fff0e7;
  border:1px solid rgba(255,122,41,.22);
  box-shadow:0 5px 12px rgba(255,122,41,.1);
}
.op-step-card--params .op-step-card__body{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding:20px;
  background:#f6f8fd;
}
.op-step-card--params .op-field{
  gap:5px;
}
.op-step-card--params .op-step-card__body > .op-field:nth-child(-n+5){
  padding:14px;
  border:1px solid rgba(26,86,214,.16);
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 18px rgba(11,44,107,.05);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.op-step-card--params .op-step-card__body > .op-field:nth-child(-n+5):hover,
.op-step-card--params .op-step-card__body > .op-field:nth-child(-n+5):focus-within{
  border-color:var(--op-accent);
  box-shadow:0 10px 24px rgba(255,122,41,.13);
  transform:translateY(-1px);
}
.op-step-card--params .op-field > span{
  color:var(--op-blue-deep);
  font-size:13px;
  font-weight:800;
}
.op-step-card--params select{
  appearance:none;
  -webkit-appearance:none;
  min-height:52px;
  padding:0 46px 0 15px !important;
  border:1.5px solid #b9cae8 !important;
  border-radius:12px !important;
  background-color:#f8faff !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a56d6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 15px center !important;
  color:var(--op-graphite) !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.2;
  cursor:pointer;
  box-shadow:inset 0 1px 2px rgba(11,44,107,.03);
  transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.op-step-card--params select:hover{
  border-color:var(--op-accent) !important;
  background-color:#fffaf6 !important;
}
.op-step-card--params select:focus{
  border-color:var(--op-accent) !important;
  outline:none !important;
  box-shadow:0 0 0 4px rgba(255,122,41,.15) !important;
}
.op-step-card--params .op-step-card__body > .op-field:nth-child(5){
  grid-column:1 / -1;
}
.op-calc--badges .op-step-card--params .op-step-card__body > .op-field:nth-child(5){
  grid-column:auto;
}
.op-calc--badges .op-step-card--params .op-step-card__body > .op-field--badge-switch,
.op-calc--badges .op-step-card--params .op-step-card__body > .op-field--badge-finish{
  grid-column:1 / -1;
}
.op-badge-finish{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:10px;
  align-items:end;
}
.op-field--badge-finish.is-premium .op-badge-finish{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.op-badge-finish__col{
  display:grid;
  gap:5px;
  margin:0;
  min-width:0;
}
.op-badge-finish__col[hidden]{display:none !important;}
.op-field--badge-finish .op-field__hint[hidden]{display:none !important;}
.op-field[hidden]{display:none !important;}
.op-calc--badges .op-step-card--params .op-step-card__body > .op-field--badge-lanyards{
  grid-column:1 / -1;
}
.op-calc--lanyards .op-step-card--params .op-step-card__body{
  align-items:start;
}
.op-calc--lanyards .op-step-card--params .op-step-card__body > .op-field.op-production-term{
  grid-column:1 / -1;
}
.op-calc--lanyards .op-badge-lanyard{
  margin-top:0;
}
.op-badge-lanyard{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.op-badge-lanyard[hidden]{display:none !important;}
.op-badge-lanyard__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  align-items:end;
}
.op-badge-lanyard__grid label{
  display:grid;
  gap:5px;
  margin:0;
  min-width:0;
}
.op-badge-lanyard__grid label[hidden]{display:none !important;}
.op-badge-lanyard select option:disabled{
  color:#9aa3b2;
}
@media (max-width:720px){
  .op-badge-lanyard__grid{grid-template-columns:1fr;}
}
.op-calc--pouch-lamination .op-step-card--params .op-step-card__body > .op-field--span,
.op-calc--pouch-lamination .op-step-card--params .op-step-card__body > .op-field--check{
  grid-column:1 / -1;
}
.op-die-card{
  margin-top:12px;
  padding:14px;
  border:1px solid rgba(26,86,214,.14);
  border-radius:14px;
  background:#fff;
}
.op-die-card[hidden]{display:none !important;}
.op-die-card__title{
  margin:0 0 10px;
  font-size:14px;
  font-weight:700;
  color:var(--op-blue-deep);
}
.op-die-card__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.op-die-card__foil{
  display:block;
  margin-top:10px;
}
.op-production-term{
  padding:16px;
  border:1px solid rgba(26,86,214,.14);
  border-radius:16px;
  background:#fff;
}
.op-production-term p{
  margin:7px 0 0;
  color:var(--op-muted);
  font-size:14px;
  line-height:1.45;
}
.op-production-term strong{color:var(--op-blue-deep);}
.op-field--check .op-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  color:var(--op-graphite);
}
.op-field--check input{margin-top:3px;}
.op-vdp-sides{
  display:grid;
  gap:8px;
  margin-top:10px;
  padding-left:26px;
}
.op-vdp-sides[hidden]{display:none !important;}
.op-badge-kind{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:8px;
  align-items:center;
  margin-top:10px;
}
.op-badge-kind__vdp{
  grid-column:1 / -1;
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:0;
  padding:8px 10px;
  border-radius:10px;
  background:#f4f7fd;
  border:1px solid rgba(26,86,214,.12);
  font-size:13px;
  font-weight:600;
  color:var(--op-graphite);
  cursor:pointer;
}
.op-badge-kind__vdp[hidden]{display:none !important;}
.op-badge-kind__vdp input{margin-top:2px;}
.op-vdp-sides .op-radio{padding:9px 12px;align-items:center;font-size:14px;}
.op-vdp-sides .op-radio input{margin-top:0;}
.op-vdp-sides .op-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:4px 2px 2px;
  font-size:13px;
  color:var(--op-graphite);
}
@media (max-width:720px){
  .op-die-card__grid{grid-template-columns:1fr;}
  .op-badge-finish,
  .op-field--badge-finish.is-premium .op-badge-finish{
    grid-template-columns:1fr;
  }
}
.op-step-card--params .op-field__hint{
  display:block;
  margin-top:6px;
  font-size:12px;
  line-height:1.4;
  color:#5b6472;
}
.op-step-card--params .op-field.is-muted{
  opacity:.55;
}
.op-step-card--params .op-field.is-muted select{
  pointer-events:none;
}
.op-step-card--params .op-field__hint--soft{
  display:block;
  margin-top:8px;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(255,122,41,.1);
  color:#9a4a12;
  border:1px solid rgba(255,122,41,.28);
}
.op-step-card--params .op-field__hint--warn{
  display:block;
  margin-top:8px;
  padding:8px 10px;
  border-radius:10px;
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fdba74;
  font-size:12px;
  line-height:1.4;
}
.op-step-card--params .op-field__hint[hidden]{display:none !important;}

/* Stickers: compact size chips instead of tall format dropdown. */
.op-sticker-format-select{
  position:absolute !important;
  width:1px !important;height:1px !important;
  opacity:0 !important;pointer-events:none !important;
  clip:rect(0 0 0 0) !important;border:0 !important;padding:0 !important;margin:-1px !important;
  overflow:hidden !important;
}
.op-field--sticker-sizes{
  grid-column:1 / -1;
  gap:10px;
}
.op-field--designer-shape{
  grid-column:1 / -1;
  gap:10px;
  margin-bottom:4px;
}
/* Hidden fields must beat .op-field{display:grid} or shape-only blocks leak. */
.op-step-card--params .op-field[hidden],
.op-step-card--params [data-op-designer-only-square][hidden],
.op-step-card--params [data-op-designer-only-format-corners][hidden],
.op-step-card--params [data-op-designer-only-cut][hidden],
.op-step-card--params [data-op-designer-output][hidden],
.op-step-card--params [data-op-output-opt][hidden],
.op-step-card--params [data-op-triangle-size-tip][hidden],
.op-step-card--params [data-op-sum-format-corners][hidden],
.op-step-card--params [data-op-sum-output][hidden]{
  display:none !important;
}

/* Designer: material | preview card (same height), thumb + title + blurb. */
.op-field-pair--material-preview{
  align-items:stretch;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  overflow:visible !important;
  position:relative;
  z-index:2;
}
.op-field--material-preview-slot{
  display:flex !important;
  flex-direction:row;
  align-items:center;
  gap:12px;
  min-height:100%;
  box-sizing:border-box;
  overflow:visible !important;
  position:relative;
  z-index:2;
}
/* Не підіймати всю картку — інакше scale прев’ю кліпається / «зникає». */
.op-step-card--params .op-field-pair--material-preview > .op-field--material-preview-slot:hover,
.op-step-card--params .op-field-pair--material-preview > .op-field--material-preview-slot:focus-within{
  transform:none;
  z-index:8;
}
.op-material-preview{
  flex:0 0 72px;
  width:72px;
  height:72px;
  margin:0;
  border-radius:10px;
  overflow:visible;
  border:0;
  background:transparent;
  box-shadow:none;
  position:relative;
  z-index:1;
  cursor:zoom-in;
}
.op-material-preview img{
  display:block;
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:10px;
  border:1.5px solid #b9cae8;
  background:#eef2f8;
  box-shadow:inset 0 1px 2px rgba(11,44,107,.03);
  transform:scale(1);
  transform-origin:left center;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  position:relative;
  z-index:1;
}
.op-material-preview:hover img,
.op-material-preview.is-zoomed img,
.op-material-preview:focus-within img{
  transform:scale(4);
  z-index:50;
  border-color:var(--op-accent,#FF7A29);
  box-shadow:0 14px 36px rgba(11,44,107,.28);
}
.op-material-preview[hidden]{display:none !important;}
.op-material-preview-meta{
  flex:1 1 auto;
  min-width:0;
  display:grid;
  gap:4px;
}
.op-material-preview-meta__title{
  display:block;
  color:var(--op-blue-deep);
  font-size:13px;
  font-weight:800;
  line-height:1.25;
}
.op-material-preview-meta__desc{
  margin:0;
  color:#5b6472;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
}
@media (max-width:720px){
  .op-field-pair--material-preview{
    grid-template-columns:1fr;
  }
  .op-material-preview,
  .op-material-preview img{width:64px;height:64px;}
  .op-material-preview:hover img,
  .op-material-preview.is-zoomed img{transform:scale(4);}
}
@media (hover:none){
  /* Touch: tap toggles .is-zoomed via JS */
  .op-material-preview{cursor:pointer;}
}
.op-size-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.op-size-chip{
  min-width:64px;
  padding:7px 10px !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.15;
  border-radius:10px !important;
  white-space:nowrap;
  position:relative;
}
.op-size-chip--popular{
  padding-top:16px !important;
}
.op-size-chip__badge{
  position:absolute;
  top:2px;
  right:4px;
  left:4px;
  margin:0 auto;
  width:max-content;
  max-width:calc(100% - 8px);
  padding:1px 6px;
  border-radius:999px;
  background:#fff3ea;
  color:#c65312;
  font-size:9px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:.01em;
  pointer-events:none;
}
.op-field--windows-sizes .op-sticker-custom-row{
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.op-windows-size-rows{
  display:grid;
  gap:10px;
}
.op-windows-size-row .op-sticker-custom-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.op-btn-add-size{
  appearance:none;
  border:2px solid var(--op-accent,#FF7A29);
  background:var(--op-blue,#1A56D6);
  color:#fff;
  font-weight:700;
  font-size:13px;
  line-height:1.2;
  padding:8px 14px;
  border-radius:10px;
  cursor:pointer;
  box-shadow:none;
}
.op-btn-add-size:hover{
  background:var(--op-blue-deep,#0B2C6B);
  border-color:var(--op-accent,#FF7A29);
  color:#fff;
  filter:brightness(1.02);
}
.op-windows-sizes__remove{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  padding:0;
  border-radius:10px;
  border:none;
  background:var(--op-accent,#FF7A29);
  color:var(--op-blue,#1A56D6);
  font-size:22px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}
.op-windows-sizes__remove:hover{
  background:#e86a1c;
  color:var(--op-blue-deep,#0B2C6B);
}
.op-field--sticker-custom{
  grid-column:1 / -1;
}
.op-field--sticker-custom[hidden],
[data-op-custom-size][hidden]{
  display:none !important;
}
.op-calc--textbook .op-nb-pair[hidden],
.op-calc--textbook [data-op-tb-combo][hidden],
.op-calc--textbook [data-op-tb-plastic][hidden],
.op-calc--textbook [data-op-tb-spring-color][hidden],
.op-calc--textbook [data-op-tb-pages-wrap][hidden]{
  display:none !important;
}
.op-field--cut-length[hidden],
[data-op-cut-length-wrap][hidden]{
  display:none !important;
}
.op-sticker-custom-row{
  gap:8px !important;
}
.op-sticker-custom-row input[type="number"]{
  width:88px;
  min-height:42px;
  padding:0 10px;
  border:1.5px solid #b9cae8;
  border-radius:10px;
  background:#f8faff;
  font-weight:700;
}
.op-sticker-or{
  font-size:12px;
  font-weight:700;
  color:#6b7380;
}
.optiprint-product-stickers .op-step-card--params .op-step-card__body > .op-field--sticker-sizes,
.optiprint-product-stickers .op-step-card--params .op-step-card__body > .op-field--sticker-custom{
  padding:12px 14px;
}
.op-step-card--params .op-step-card__body > .op-field:nth-child(n+6){
  grid-column:1 / -1;
  padding:16px;
  border:1px solid rgba(26,86,214,.14);
  border-radius:16px;
  background:#fff;
}
.op-calc--brochure-glue .op-step-card--params .op-step-card__body > .op-nb-cover-only{
  grid-column:1 / -1;
  width:100%;
}
.op-step-card--params .op-step-card__body > .op-flow-cta,
.op-calc__steps > .op-flow-cta{
  grid-column:1 / -1;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.op-step-card--params .op-qty-chips{gap:8px;}
.op-step-card--params .op-term-chips{gap:10px;}
.op-step-card--params .op-chip,
.op-step-card--params .op-term{
  min-height:44px;
  border-radius:8px !important;
  border:1.5px solid #c6d3e8 !important;
  background:#fff !important;
  color:var(--op-blue-deep) !important;
  box-shadow:none !important;
  transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.op-step-card--params .op-qty-chips .op-chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding-left:4px;padding-right:4px;
}
.op-step-card--params .op-qty-row{gap:12px;}
.op-step-card--params .op-tech-row,
.op-step-card--params .op-sets-shared{
  grid-column:1 / -1;
}
.op-step-card--params .op-chip:hover,
.op-step-card--params .op-term:hover{
  border-color:var(--op-accent) !important;
  background:#fff7f1 !important;
  color:#c65312 !important;
  transform:translateY(-1px);
}
.op-step-card--params .op-chip.is-active,
.op-step-card--params .op-term.is-active{
  border-color:var(--op-accent) !important;
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue)) !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(26,86,214,.22),0 0 0 1px rgba(255,122,41,.16) !important;
}
.op-calc--brochure .op-term{
  position:relative;
}
.op-calc--brochure .op-term--urgent{
  overflow:visible;
}
.op-calc--brochure .op-term__sticker,
.op-chip--badge .op-term__sticker{
  position:absolute;
  top:-8px;
  left:50%;
  transform:translateX(-50%);
  padding:2px 8px;
  border-radius:999px;
  background:#ff7a29;
  color:#fff;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.02em;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(255,122,41,.28);
  pointer-events:none;
  z-index:2;
}
.op-chip--badge{
  position:relative;
  overflow:visible;
}

/* Booklet fold type grid (9 variants) */
.op-field--folds{grid-column:1 / -1;}
.op-field--qty{grid-column:1 / -1;}
.op-step-card--params .op-field--folds{
  padding:14px;
  border:1px solid rgba(26,86,214,.16);
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 18px rgba(11,44,107,.05);
}
.op-field-pair{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
/* display:grid above beats native [hidden]; keep drill pair collapsed until checked */
.op-field-pair[hidden],
[data-op-pvc-drill-wrap][hidden],
[data-op-pvc-holes-wrap][hidden],
[data-op-pvc-complex-wrap][hidden]{
  display:none !important;
}
.op-step-card--params .op-field-pair > .op-field{
  padding:14px;
  border:1px solid rgba(26,86,214,.16);
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 18px rgba(11,44,107,.05);
  align-content:start;
  grid-template-rows:auto auto 1fr;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.op-step-card--params .op-field-pair > .op-field:hover,
.op-step-card--params .op-field-pair > .op-field:focus-within{
  border-color:var(--op-accent);
  box-shadow:0 10px 24px rgba(255,122,41,.13);
  transform:translateY(-1px);
}
.op-fold-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.op-fold-group{margin:0 0 14px}
.op-fold-group:last-child{margin-bottom:0}
.op-fold-group__label{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#1A56D6;
}
.op-fold-hint{
  margin:0 0 12px;
  font-size:13px;
  line-height:1.45;
  color:#5b6170;
}
.op-fold-card--manual .op-fold-card__badge{
  background:#FF7A29;
}
.op-fold-card--flat .op-fold-card__icon::after{
  content:"";
  display:block;
  width:80px;
  height:54px;
  border:1.5px solid #8a93a3;
  border-radius:2px;
  background:#fff;
}
@media (min-width:1100px){
  .op-fold-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
}
.op-fold-card{
  position:relative;
  display:block;
  margin:0;
  cursor:pointer;
}
.op-fold-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.op-fold-card__body{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  min-height:132px;
  padding:14px 8px 12px;
  border:1px solid #d7deea;
  border-radius:4px;
  background:#f3f5f8;
  text-align:center;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.op-fold-card__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:78px;
}
.op-fold-card__icon img{
  display:block;
  width:auto;
  max-width:100%;
  height:78px;
  object-fit:contain;
}
.op-fold-card__badge{
  position:absolute;
  top:6px;
  right:6px;
  padding:2px 7px;
  border-radius:999px;
  background:#fff3ea;
  color:#c65312;
  font-size:10px;
  font-weight:800;
  line-height:1.4;
}
.op-fold-card__title{
  font-size:13px;
  font-weight:700;
  color:#1a2333;
  line-height:1.2;
}
.op-fold-card__meta{
  font-size:12px;
  color:#5b6578;
  font-weight:500;
  line-height:1.2;
}
.op-fold-card:hover .op-fold-card__body{
  border-color:#b7c4da;
  background:#eef2f7;
}
.op-fold-card input:checked + .op-fold-card__body{
  border-color:#222;
  background:#fff;
  box-shadow:inset 0 0 0 1px #222;
}
.op-fold-card input:checked + .op-fold-card__body .op-fold-card__title,
.op-fold-card input:checked + .op-fold-card__body .op-fold-card__meta{
  color:#c4121a;
}
.op-fold-card input:focus-visible + .op-fold-card__body{
  outline:2px solid var(--op-blue);
  outline-offset:2px;
}
@media (max-width:720px){
  .op-fold-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .op-field-pair{grid-template-columns:1fr;}
}
@media (max-width:480px){
  .op-fold-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
.op-step-card--params .op-qty-custom{
  display:flex;
  flex-wrap:nowrap;
  width:100%;
  margin-top:2px;
  gap:0;
  max-width:280px;
  border:1.5px solid #c6d3e8;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.op-step-card--params .op-qty-custom input[type="number"]{
  flex:1 1 0;
  width:auto !important;
  min-width:90px;height:44px;
  box-sizing:border-box;
  padding:0 10px !important;
  border:0 !important;
  border-inline:1px solid #d5dfef !important;
  border-radius:0 !important;
  text-align:center;
  color:var(--op-blue-deep) !important;
  font-weight:800 !important;
  background:#fff !important;
  box-shadow:none !important;
}
.op-step-card--params .op-qty-custom > input[type="number"]:first-child{
  border-left:0 !important;
}
.op-step-card--params .op-qty-custom > input[type="number"]:last-child{
  border-right:0 !important;
}
.op-step-card--params .op-qty-custom .op-qty-unit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-width:88px;
  height:44px;
  padding:0 14px;
  margin:0;
  box-sizing:border-box;
  background:#f2f6ff;
  color:#6b7380;
  font-size:12px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
}
.op-step-card--params .op-qty-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:48px;height:44px;
  padding:0 !important;margin:0 !important;
  border:0 !important;border-radius:0 !important;
  background:#f2f6ff !important;
  color:var(--op-blue) !important;
  font-size:20px !important;
  font-weight:800 !important;
  line-height:1 !important;
  transition:background .16s ease,color .16s ease;
}
.op-step-card--params .op-qty-btn__icon{
  display:flex;align-items:center;justify-content:center;
  width:1em;height:1em;line-height:1;
  transform:none;
}
.op-step-card--params .op-qty-btn:hover{
  background:var(--op-accent) !important;
  color:#fff !important;
}

.op-overflow-visible,
.optiprint-product-page .site-content,
.optiprint-product-page .content-area,
.optiprint-product-page .site-main,
.optiprint-product-page div.product,
.optiprint-product-page .op-product-page,
.optiprint-product-page .op-calc,
.optiprint-product-page .op-calc__grid,
.optiprint-product-page .op-calc__form,
.optiprint-product-vizytky .site-content,
.optiprint-product-vizytky .content-area,
.optiprint-product-vizytky .site-main,
.optiprint-product-vizytky div.product,
.optiprint-product-vizytky .op-product-page,
.optiprint-product-vizytky .op-calc,
.optiprint-product-vizytky .op-calc__grid,
.optiprint-product-vizytky .op-calc__form{
  overflow:visible !important;
}
.op-summary{
  position:sticky;top:96px;align-self:start;padding:0;border-radius:20px;
  background:linear-gradient(160deg,var(--op-blue-deep) 0%,var(--op-blue) 100%);
  color:#fff;box-shadow:0 16px 40px rgba(11,44,107,.28);
  z-index:20;
  display:flex;flex-direction:column;
  max-height:calc(100vh - 112px);
  max-height:calc(100dvh - 112px);
  overflow:hidden;
}
.op-summary__scroll{
  flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:22px 22px 10px;
  scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.35) transparent;
}
.op-summary__scroll::-webkit-scrollbar{width:6px;}
.op-summary__scroll::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.35);border-radius:999px;
}
.op-summary__footer{
  flex:0 0 auto;
  padding:12px 22px 20px;
  border-top:1px solid rgba(255,255,255,.16);
  background:linear-gradient(180deg,rgba(11,44,107,.15) 0%,rgba(11,44,107,.45) 100%);
}
.op-summary__head{
  display:flex;align-items:center;gap:14px;margin-bottom:12px;
}
/* Mobile floating CTA — hidden on desktop */
.op-calc-dock{display:none;}
.op-summary__thumb{
  width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none;
  border:2px solid rgba(255,255,255,.35);margin:0;
}
.op-summary h3,
.op-summary__eyebrow{
  margin:0;flex:1 1 auto;min-width:0;
  font-size:22px;line-height:1.2;font-weight:800;letter-spacing:.01em;
  color:var(--op-accent) !important;opacity:1;
}
.op-summary__title{margin:0 0 14px;font-size:18px;font-weight:700;color:#fff;}
.op-summary__list{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px;}
.op-summary__list li{
  display:flex;align-items:baseline;gap:8px;font-size:13px;color:#fff;
}
.op-summary__list span{opacity:.8;flex:0 0 auto;color:#fff;}
.op-summary__list strong{flex:0 1 auto;min-width:0;font-weight:700;color:#fff;text-align:right;}
.op-summary__list .op-summary__stack{
  flex-direction:column;
  align-items:stretch;
  gap:4px;
}
.op-summary__list .op-summary__stack > span{opacity:.85;}
.op-summary__list .op-summary__stack > strong{
  text-align:left;
  white-space:pre-line;
  overflow-wrap:anywhere;
  word-break:break-word;
  font-size:12px;
  line-height:1.4;
  font-weight:600;
  opacity:.95;
}
.op-summary__list .op-summary__cost-row{
  margin-top:2px;
  padding:7px 8px;
  border-radius:9px;
  background:rgba(255,255,255,.09);
}
.op-summary__list .op-summary__cost-row span{opacity:1;font-weight:700;}
.op-summary__list .op-summary__cost-row strong{color:#ffcfad;}
.op-summary__lead{
  flex:1 1 auto;min-width:12px;height:0;margin:0 2px 4px;
  border-bottom:1px dotted rgba(255,122,41,.75);
}
.op-summary__vat{
  display:grid;gap:6px;margin:0 0 10px;padding:10px 12px;border-radius:12px;
  background:#f4f6fa;border:1px solid rgba(43,47,56,.08);font-size:13px;
}
.op-summary__vat div{display:flex;justify-content:space-between;gap:12px;color:var(--op-graphite);}
.op-summary__vat strong{font-weight:700;white-space:nowrap;}
.op-summary__unit{
  display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  margin:0 0 6px;font-size:14px;font-weight:700;opacity:1;
}
.op-summary__unit span{font-weight:700;color:#fff;}
.op-summary__unit strong{
  font-size:18px;font-weight:800;color:#fff;white-space:nowrap;
}
.op-summary__price{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;}
/* Beat Printec `article strong { color: var(--accent) }` (#000) on blue panels */
.op-summary__price strong,
body.optiprint-product-page .op-summary__price strong{
  font-size:28px;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.op-summary__note{margin:0 0 16px;font-size:12px;line-height:1.4;opacity:.8;}
.op-summary__submit,
.op-summary__order,
.op-summary__consult{
  width:100%;border:none;border-radius:999px;padding:14px 16px;font:inherit;font-weight:700;cursor:pointer;
}
.op-summary__submit{background:var(--op-accent);color:#fff;margin-bottom:8px;}
.op-summary__submit:hover{filter:brightness(1.05);}
.op-summary__submit:disabled{opacity:.65;cursor:wait;}
.op-summary__order{
  margin-bottom:8px;
  background:#fff;
  color:var(--op-blue-deep);
  border:2px solid var(--op-accent);
}
.op-summary__order:hover{background:#fff5ee;}
.op-summary [hidden]{display:none !important;}
.op-summary__consult{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.45);}
/* Consultation stays in horizontal flow rail — not in sticky «Ваше замовлення». */
.op-summary .op-summary__consult{display:none !important;}
.op-summary__note.is-error{
  color:#FF7A29;opacity:1;font-weight:800;
  text-shadow:0 1px 0 rgba(0,0,0,.18);
}
.op-summary__note.is-vat-hint{
  color:#fff;
  opacity:.95;
  font-weight:400;
  text-shadow:none;
}
.op-summary__note.is-vat-hint::before{
  content:'!';
  display:inline-block;
  margin-right:.45em;
  color:var(--op-accent, #FF7A29);
  font-weight:800;
}
.op-summary__note.is-success{color:#dfffe7;opacity:1;}
.op-summary__note.is-stale{color:#ffe0a8;opacity:1;}
.op-summary__order.is-vat-blocked,
.op-summary__order:disabled{
  opacity:.55;cursor:not-allowed;filter:grayscale(.15);
}
.op-summary__order.is-vat-blocked:hover{background:#fff;}

/* Desktop inline CTAs in the step column (hidden on mobile — dock covers that) */
.op-flow-cta{display:none;}
/*
 * Printec parent sets `article strong { color: var(--accent) }` and --accent is #000.
 * That paints the main sum black on the blue rail; force white for all CTA strongs.
 */
body.optiprint-product-page .op-flow-cta strong,
body.optiprint-product-page article .op-flow-cta strong{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
@media (min-width:981px){
  .op-flow-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:0 0 18px;
    padding:18px 22px;
    border-radius:20px;
    background:linear-gradient(160deg,var(--op-blue-deep) 0%,var(--op-blue) 100%);
    color:#fff;
    box-shadow:0 12px 32px rgba(11,44,107,.22);
  }
  .op-flow-cta__meta{min-width:0;flex:1 1 auto;}
  .op-flow-cta__eyebrow{
    display:block;
    margin:0 0 6px;
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
    color:var(--op-accent);
  }
  .op-flow-cta__price-row{
    display:flex;
    align-items:baseline;
    gap:12px;
    margin-bottom:4px;
  }
  .op-flow-cta__price-row span{font-size:14px;opacity:.85;color:#fff;}
  .op-flow-cta__price-row strong,
  .op-flow-cta__price-row strong[data-sum="price"]{
    font-size:26px;line-height:1.1;font-weight:800;color:#fff !important;
    -webkit-text-fill-color:#fff !important;
  }
  .op-flow-cta__unit-row{
    display:flex;align-items:baseline;gap:10px;
    margin:0 0 6px;font-size:13px;font-weight:700;opacity:1;
  }
  .op-flow-cta__unit-row span{font-weight:700;color:#fff;}
  .op-flow-cta__unit-row strong{font-size:16px;font-weight:800;color:#fff !important;-webkit-text-fill-color:#fff !important;}
  .op-flow-cta__breakdown{
    display:flex;
    flex-wrap:wrap;
    gap:7px 18px;
    margin:0 0 5px;
    font-size:12px;
    color:rgba(255,255,255,.84);
  }
  .op-flow-cta__breakdown strong{color:#fff !important;font-weight:800;-webkit-text-fill-color:#fff !important;}
  .op-flow-cta__breakdown[hidden]{display:none !important;}
  .op-flow-cta__breakdown [data-op-finishing-cost][hidden]{display:none !important;}
  .op-flow-cta__note{
    margin:0;
    font-size:12px;
    line-height:1.4;
    opacity:.8;
    max-width:46ch;
  }
  .op-flow-cta__note.is-error{
    color:#FF7A29;opacity:1;font-weight:800;
    text-shadow:0 1px 0 rgba(0,0,0,.18);
  }
  .op-flow-cta__note.is-vat-hint{
    color:#fff;
    opacity:.95;
    font-weight:400;
    text-shadow:none;
  }
  .op-flow-cta__note.is-vat-hint::before{
    content:'!';
    display:inline-block;
    margin-right:.45em;
    color:var(--op-accent, #FF7A29);
    font-weight:800;
  }
  .op-flow-cta__note.is-success{color:#dfffe7;opacity:1;}
  .op-flow-cta__note.is-stale{color:#ffe0a8;opacity:1;}
  .op-flow-cta__order.is-vat-blocked,
  .op-flow-cta__order:disabled{
    opacity:.55;cursor:not-allowed;filter:grayscale(.15);
  }
  .op-flow-cta__order.is-vat-blocked:hover{background:#fff;}
  .op-flow-cta__actions{
    display:flex;
    flex-direction:column;
    gap:8px;
    flex:0 0 auto;
    min-width:220px;
  }
  .op-flow-cta__submit,
  .op-flow-cta__order,
  .op-flow-cta__kp,
  .op-flow-cta__consult{
    width:100%;
    border:none;
    border-radius:999px;
    padding:13px 16px;
    font:inherit;
    font-weight:700;
    cursor:pointer;
  }
  .op-flow-cta__submit{background:var(--op-accent);color:#fff;}
  .op-flow-cta__submit:hover{filter:brightness(1.05);}
  .op-flow-cta__submit:disabled{opacity:.65;cursor:wait;}
  .op-flow-cta__order{
    background:#fff;
    color:var(--op-blue-deep);
    border:2px solid var(--op-accent);
  }
  .op-flow-cta__order:hover{background:#fff5ee;}
  .op-flow-cta__kp{
    background:rgba(255,255,255,.12);
    color:#fff;
    border:1.5px solid rgba(255,255,255,.55);
  }
  .op-flow-cta__kp:hover{
    background:rgba(255,255,255,.2);
    color:#fff;
  }
  .op-flow-cta__consult{
    background:transparent;
    color:#fff;
    border:1px solid rgba(255,255,255,.45);
  }
  .op-flow-cta__consult:hover{background:rgba(255,255,255,.08);}
  .op-flow-cta [hidden]{display:none !important;}
  .op-flow-cta--order{margin-top:4px;}
}

/* Layout-missing decision modal (before add-to-cart) */
.op-layout-modal.op-modal-overlay{z-index:3000;}
.op-layout-modal .op-modal--layout{max-width:420px;}
.op-layout-modal__actions{display:grid;gap:10px;}
.op-layout-modal__btn{
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  border:none;border-radius:999px;padding:13px 18px;font:inherit;font-weight:800;
  font-size:14px;cursor:pointer;line-height:1.25;
  transition:filter .15s,transform .15s,background .15s,border-color .15s;
}
.op-layout-modal__btn--primary{
  background:linear-gradient(135deg,#FF7A29 0%,#ff934d 100%);
  color:#fff;box-shadow:0 8px 16px rgba(255,122,41,.24);
}
.op-layout-modal__btn--primary:hover{filter:brightness(1.02);transform:translateY(-1px);}
.op-layout-modal__btn--accent{
  background:var(--op-blue-deep);color:#fff;
}
.op-layout-modal__btn--accent:hover{filter:brightness(1.08);}
.op-layout-modal__btn--ghost{
  background:#fff;color:var(--op-blue-deep);
  border:2px solid rgba(26,86,214,.28);
}
.op-layout-modal__btn--ghost:hover{border-color:var(--op-accent);background:#fff5ee;}

/* Packages */
.op-packages{padding:40px 0;background:var(--op-bg);}
.op-packages__grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;
}
.op-package{
  background:#fff;border:1px solid var(--op-line);border-radius:20px;padding:22px;
  display:flex;flex-direction:column;gap:10px;
}
.op-package.is-featured{
  border-color:var(--op-blue);
  box-shadow:0 14px 34px rgba(26,86,214,.15);
}
.op-package__tag{
  align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;padding:6px 10px;border-radius:999px;
  background:rgba(26,86,214,.08);color:var(--op-blue);
}
.op-package h3{margin:0;font-size:20px;color:var(--op-blue-deep);}
.op-package ul{margin:0;padding:0;list-style:none;color:var(--op-muted);font-size:14px;}
.op-package li + li{margin-top:4px;}
.op-package__price{margin:8px 0 0;font-size:14px;color:var(--op-muted);display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;}
.op-package__price strong{font-size:22px;color:var(--op-blue-deep);}
.op-package__price-each{font-size:13px;color:var(--op-muted);font-weight:500;}
.op-package__btn{
  margin-top:auto;border:none;border-radius:999px;padding:12px 16px;
  background:var(--op-blue);color:#fff;font:inherit;font-weight:700;cursor:pointer;
}
.op-package.is-featured .op-package__btn{background:var(--op-accent);}

/* Video */
.op-video{
  padding:48px 0;
  background:linear-gradient(135deg,var(--op-blue-deep) 0%,var(--op-blue) 100%);
  color:#fff;
}
.op-video__eyebrow{color:rgba(255,255,255,.75) !important;}
.op-video__grid{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:28px;align-items:center;
}
.op-video__copy h2{margin:0 0 12px;font-size:clamp(24px,3vw,34px);color:#fff;}
.op-video__copy > p{margin:0 0 18px;color:rgba(255,255,255,.85);max-width:48ch;line-height:1.5;}
.op-video__chapters{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.op-video__chapters li{
  display:flex;gap:12px;padding:10px 12px;border-radius:12px;
  background:rgba(255,255,255,.08);font-size:14px;
}
.op-video__chapters span{font-weight:700;opacity:.8;min-width:48px;}
.op-video__poster{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  min-height:280px;border-radius:20px;text-decoration:none !important;
  background:
    radial-gradient(circle at 30% 30%,rgba(255,122,41,.35),transparent 40%),
    rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.2);color:#fff !important;
}
.op-video__play{
  width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--op-accent);font-size:22px;box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.op-video__caption{font-size:14px;opacity:.9;}

/* Payment & delivery */
.op-payship{
  padding:48px 0;
  background:#fff;
  color:var(--op-graphite);
}
.op-payship__eyebrow{color:var(--op-blue) !important;}
.op-payship__title{color:var(--op-blue-deep) !important;}
.op-payship__lead{color:var(--op-muted) !important;}
.op-payship__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.op-payship__card{
  padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:20px;
  background:linear-gradient(160deg,var(--op-blue-deep) 0%,var(--op-blue) 100%);
  color:#fff;box-shadow:0 14px 34px rgba(11,44,107,.18);
}
.op-payship__card-head{display:flex;align-items:center;gap:16px;margin-bottom:12px;}
.op-payship__icon{
  flex:none;width:84px;height:84px;border-radius:22px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.op-payship__icon img{width:72px;height:72px;object-fit:contain;display:block;border-radius:16px;}
.op-payship__card h3{margin:0;font-size:24px;color:#fff;}
.op-payship__card ul{list-style:none;margin:0;padding:0;}
.op-payship__card li{
  display:flex;gap:16px;align-items:center;padding:16px 0;
  border-top:1px solid rgba(255,255,255,.14);
}
.op-payship__card li:first-child{border-top:none;}
.op-payship__li-ico{
  flex:none;width:64px;height:64px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
  overflow:hidden;
}
.op-payship__li-ico img{width:58px;height:58px;object-fit:contain;display:block;border-radius:13px;}
/* Nova Poshta: same white tile as other icons; slightly smaller logo for padding */
.op-payship__li-ico--np img{width:40px;height:40px;border-radius:0;}
.op-payship__card strong{display:block;font-size:16px;margin-bottom:4px;color:#fff;}
.op-payship__card small{display:block;font-size:13px;color:rgba(255,255,255,.8);line-height:1.4;}
.op-payship__card--pay .op-payship__card-head:after,
.op-payship__card--ship .op-payship__card-head:after{
  content:"";margin-left:auto;width:48px;height:5px;border-radius:999px;background:var(--op-accent);
}

/* FAQ */
.op-faq{padding:48px 0;background:var(--op-bg);}
.op-faq__grid{
  display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:28px;align-items:start;
}
.op-faq__aside h2{margin:0 0 10px;font-size:clamp(24px,3vw,34px);color:var(--op-blue-deep);}
.op-faq__aside p{margin:0 0 16px;color:var(--op-muted);}
.op-faq__ask{
  display:inline-flex;padding:12px 18px;border:none;border-radius:999px;
  background:var(--op-accent);color:#fff;font:inherit;font-weight:700;cursor:pointer;
}
.op-faq__aside{
  padding:22px;border-radius:20px;
  background:linear-gradient(160deg,var(--op-blue-deep),var(--op-blue));
  color:#fff;
}
.op-faq__eyebrow{color:rgba(255,255,255,.75) !important;}
.op-faq__aside h2{color:#fff !important;}
.op-faq__aside p{color:rgba(255,255,255,.85) !important;}
.op-faq__list{display:grid;gap:0;background:#fff;border-radius:18px;border:1px solid var(--op-line);overflow:hidden;}
.op-faq__item{border-bottom:1px solid var(--op-line);padding:0 18px;}
.op-faq__item:last-child{border-bottom:none;}
.op-faq__item summary{
  cursor:pointer;list-style:none;padding:18px 0;font-weight:700;color:var(--op-blue-deep);
  display:flex;justify-content:space-between;gap:12px;
}
.op-faq__item summary::-webkit-details-marker{display:none;}
.op-faq__item summary:after{content:"+";font-weight:800;color:var(--op-blue);}
.op-faq__item[open] summary:after{content:"−";}
.op-faq__item p{margin:0 0 16px;color:var(--op-muted);line-height:1.5;font-size:14px;}

/* ACF galleries */
.op-product-galleries{margin:36px 0;display:grid;gap:28px;}
.op-product-gallery__title{margin:0 0 14px;font-size:24px;color:var(--op-blue-deep);}
.op-product-gallery__track{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;
}
.op-product-gallery__item{
  margin:0;border-radius:14px;overflow:hidden;border:1px solid var(--op-line);background:#fff;
}
.op-product-gallery__item img{display:block;width:100%;height:160px;object-fit:cover;}

/* Gallery image clarity */
.optiprint-product-vizytky .woocommerce-product-gallery__image img{
  width:100% !important;
  height:auto !important;
  object-fit:cover;
  background:#fff;
}
/* Lightbox вимкнено — без «руки» на головному фото (лише звичайний курсор). */
.optiprint-product-vizytky .woocommerce-product-gallery__image > a,
.optiprint-product-vizytky .woocommerce-product-gallery__image > a img{
  cursor:default !important;
}
.optiprint-product-vizytky .woocommerce-product-gallery__trigger{
  z-index:3;
}

/* Таблички ПВХ: квадрат 1:1, без crop */
.optiprint-product-tablichky .woocommerce-product-gallery__image,
.optiprint-product-tablichky .woocommerce-product-gallery__wrapper{
  background:#fff !important;
  overflow:visible !important;
  aspect-ratio:1 / 1;
}
.optiprint-product-tablichky .woocommerce-product-gallery__image img,
.optiprint-product-tablichky.optiprint-product-vizytky .woocommerce-product-gallery__image img{
  object-fit:contain !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  background:#fff !important;
  padding:0 !important;
  box-sizing:border-box;
  transform:none !important;
}
.optiprint-product-tablichky .flex-control-thumbs li{
  background:#fff !important;
}
.optiprint-product-tablichky .flex-control-thumbs li img{
  object-fit:contain !important;
  background:#fff !important;
  padding:4px;
  box-sizing:border-box;
}
.optiprint-product-tablichky .woocommerce-product-gallery__image > a{
  pointer-events:none !important;
}
.optiprint-product-tablichky .op-summary__thumb{
  object-fit:contain !important;
  background:#fff !important;
  border:1px solid var(--op-line);
  border-radius:8px;
  padding:4px;
  box-sizing:border-box;
}

/* Product tabs (horizontal, vizitka-style) */
.op-tabs{padding:12px 0 28px;}
.op-tabs__eyebrow{
  margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--op-blue);
}
.op-tabs__title{margin:0 0 18px;font-size:clamp(22px,2.6vw,28px);color:var(--op-blue-deep);}
.op-tabs__nav{
  display:flex;flex-wrap:nowrap;align-items:center;gap:6px;padding:6px;margin-bottom:20px;
  background:linear-gradient(135deg,rgba(11,44,107,.06),rgba(26,86,214,.1));
  border-radius:16px;border:1px solid rgba(26,86,214,.18);
  overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;scrollbar-width:none;
}
.op-tabs__nav::-webkit-scrollbar{display:none;}
.optiprint-product-vizytky .op-tabs__btn{
  border:none !important;background:transparent !important;color:var(--op-blue) !important;
  font:inherit;font-weight:700;font-size:14px;padding:11px 16px;border-radius:999px;cursor:pointer;white-space:nowrap;
  transition:background .18s ease, color .18s ease, box-shadow .18s ease;
  box-shadow:none !important;flex:0 0 auto;scroll-snap-align:start;
}
.optiprint-product-vizytky .op-tabs__btn:hover,
.optiprint-product-vizytky .op-tabs__btn:focus-visible{
  color:#fff !important;
  background:var(--op-accent) !important;
  box-shadow:0 6px 16px rgba(255,122,41,.28) !important;
  outline:none;
}
.optiprint-product-vizytky .op-tabs__btn.is-active{
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue)) !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(11,44,107,.22) !important;
}
.optiprint-product-vizytky .op-tabs__btn.is-active:hover,
.optiprint-product-vizytky .op-tabs__btn.is-active:focus-visible{
  background:linear-gradient(135deg,#0e357f,var(--op-blue)) !important;
  color:#fff !important;
}
.op-tabs__panel-title{
  margin:0 0 14px;font-size:22px;color:var(--op-blue-deep);
}
.op-tabs__card{
  border-radius:18px;background:#fff;
  border:1px solid var(--op-line);box-shadow:0 10px 28px rgba(11,44,107,.05);
  padding:18px 20px;
}
.op-tabs__card p{margin:0 0 12px;color:var(--op-muted);line-height:1.55;}
.op-tabs__note{font-size:13px !important;}
.op-spec-table,.op-price-table{width:100%;border-collapse:collapse;font-size:14px;}
.op-spec-table th,.op-spec-table td,
.op-price-table th,.op-price-table td{
  padding:12px 10px;border-bottom:1px solid var(--op-line);text-align:left;vertical-align:top;
  word-break:normal;overflow-wrap:break-word;hyphens:manual;
}
.op-spec-table tr:last-child th,
.op-spec-table tr:last-child td{border-bottom:none;}
.op-spec-table th{
  width:38%;min-width:9.5em;color:var(--op-blue-deep);font-weight:700;
  padding-right:16px;
}
.op-price-table thead th{
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue));
  color:#fff;border:none;
}
.op-price-table thead th:first-child{border-radius:10px 0 0 10px;}
.op-price-table thead th:last-child{border-radius:0 10px 10px 0;}
.op-price-table tbody tr:hover{background:rgba(26,86,214,.04);}
.op-req-list{margin:0;padding:0;list-style:none;display:grid;gap:10px;}
.op-req-list li{
  position:relative;padding:10px 12px 10px 36px;border-radius:12px;
  background:var(--op-bg);color:var(--op-graphite);font-size:14px;line-height:1.45;
}
.op-req-list li:before{
  content:"";position:absolute;left:12px;top:14px;width:12px;height:12px;border-radius:50%;
  background:var(--op-accent);box-shadow:0 0 0 3px rgba(255,122,41,.2);
}
.op-tabs__cta{
  display:inline-flex;margin-top:12px;padding:11px 18px;border-radius:999px;
  background:var(--op-accent);color:#fff !important;font-weight:700;text-decoration:none !important;
}

/* Layout mode choices */
.op-layout-choices{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
}
.op-layout-security{
  margin:0 0 12px;padding:12px 14px;border-radius:12px;
  background:rgba(11,44,107,.05);border:1px solid rgba(11,44,107,.12);
  font-size:13px;line-height:1.45;color:var(--op-graphite,#2B2F38);
}
.op-layout-security strong{color:var(--op-blue-deep);}
.op-layout-choice{display:block;cursor:pointer;}
.op-layout-choice input{position:absolute;opacity:0;pointer-events:none;}
.op-layout-choice__card{
  display:grid;gap:4px;padding:14px;border-radius:16px;border:1.5px solid var(--op-line);
  background:#fff;min-height:108px;transition:.15s ease;
}
.op-layout-choice__tag{
  justify-self:start;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
  padding:4px 8px;border-radius:999px;background:rgba(26,86,214,.08);color:var(--op-blue);
}
.op-layout-choice__tag--accent{background:rgba(255,122,41,.16);color:#c45310;}
.op-layout-choice__card strong{font-size:14px;color:var(--op-blue-deep);}
.op-layout-choice__card small{font-size:12px;color:var(--op-muted);line-height:1.35;}
.op-layout-choice__card small b{color:var(--op-accent);}
.op-layout-choice input:checked + .op-layout-choice__card{
  border-color:var(--op-blue);background:rgba(26,86,214,.05);
  box-shadow:0 0 0 3px rgba(26,86,214,.12);
}
.op-layout-choice--design input:checked + .op-layout-choice__card{
  border-color:var(--op-accent);
  background:linear-gradient(160deg,rgba(11,44,107,.92),rgba(26,86,214,.95));
  color:#fff;box-shadow:0 12px 28px rgba(11,44,107,.25);
}
.op-layout-choice--design input:checked + .op-layout-choice__card strong,
.op-layout-choice--design input:checked + .op-layout-choice__card small{color:#fff;}
.op-layout-choice--design input:checked + .op-layout-choice__card small b{color:#FFD1B0;}
.op-design-banner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 18px;border-radius:16px;
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue));color:#fff;
}
.op-design-banner p{margin:6px 0 0;font-size:13px;line-height:1.45;opacity:.9;}
.op-design-banner__price{
  flex:none;padding:10px 14px;border-radius:999px;background:var(--op-accent);
  font-weight:800;white-space:nowrap;
}

/* Works gallery */
.op-works{
  padding:40px 0;
  background:linear-gradient(180deg,#fff 0%,var(--op-bg) 100%);
  border-block:1px solid var(--op-line);
}
.op-works__head{
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;
  margin-bottom:22px;
}
.op-works__eyebrow{
  margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--op-blue);
}
.op-works__title{margin:0 0 8px;font-size:clamp(24px,3vw,32px);color:var(--op-blue-deep);}
.op-works__lead{margin:0;color:var(--op-muted);max-width:48ch;}
.op-works__more{
  display:inline-flex;padding:12px 18px;border-radius:999px;
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue));
  color:#fff !important;font-weight:700;text-decoration:none !important;
}
.op-works__carousel{position:relative;}
.op-works__grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
}
.op-works__item{
  margin:0;border-radius:16px;overflow:hidden;border:1px solid var(--op-line);
  background:#fff;aspect-ratio:1;position:relative;
}
.op-works__item.is-large{grid-column:span 2;grid-row:span 2;}
.op-works__item img{display:block;width:100%;height:100%;object-fit:cover;}
.op-works__nav,
.op-works__dots{display:none;}
.op-works__empty{margin:0;color:var(--op-muted);}

/* How-to accent strip */
.op-how-order{
  background:linear-gradient(160deg,rgba(11,44,107,.04),rgba(26,86,214,.06)) !important;
}
.op-how-order__num{
  background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue)) !important;
  color:#fff !important;
}
.op-how-order__step{
  border-color:transparent !important;
  box-shadow:0 8px 22px rgba(11,44,107,.06);
}

@media (max-width:980px){
  .optiprint-product-vizytky .content-single-wrapper{
    grid-template-columns:minmax(0,1fr) !important;
    margin-top:12px !important;
    margin-bottom:4px !important;
  }
  .optiprint-product-vizytky .content-single-wrapper > *,
  .optiprint-product-vizytky .woocommerce-product-gallery,
  .optiprint-product-vizytky .summary.entry-summary{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  .op-trust__grid,
  .op-how-order__steps,
  .op-packages__grid,
  .op-payship__grid,
  .op-video__grid,
  .op-faq__grid,
  .op-layout-choices{
    grid-template-columns:1fr;
  }
  .op-trust{padding:10px 0 28px;} /* air before «Наші роботи» */
  .op-trust__grid{gap:8px;}
  .op-trust__card{
    margin:0 !important;
    padding:14px 12px;
    border-radius:16px;
  }
  .op-works{padding-top:36px;}
  .op-trust__icon{
    width:64px;height:64px;margin-bottom:10px;border-radius:16px;
  }
  .op-trust__icon img{width:52px;height:52px;}
  .op-trust__num{margin-bottom:4px;}
  .op-trust__card h3{margin:0 0 6px;font-size:16px;}
  .op-trust__card p{font-size:13px;line-height:1.4;}
  .op-how-order__steps{grid-template-columns:1fr 1fr;}
  .op-design-banner{flex-direction:column;align-items:flex-start;}

  /* Mobile calc: summary right after parameters, then other steps */
  .op-calc__grid{
    display:flex;flex-direction:column;gap:14px;
    width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  }
  .op-calc,
  .op-calc .op-section-inner,
  .op-calc__form,
  .op-calc__grid > *,
  .op-step-card,
  .op-step-card__body,
  .op-field,
  .op-tech-row,
  .op-sets-shared,
  .op-qty-chips,
  .op-qty-row,
  .op-qty-control{
    width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  }
  .op-calc{overflow-x:clip;}

  /* Qty chips + stepper: fit viewport on all phones/tablets (not only ≤640). */
  .op-qty-chips{
    grid-template-columns:repeat(auto-fill,minmax(58px,1fr));
    gap:6px;
  }
  .op-step-card--params .op-qty-chips .op-chip{
    min-height:40px;
    font-size:13px;
    padding:8px 2px;
  }
  .op-tech-row,
  .op-sets-shared{
    margin-top:8px;padding:10px;
  }
  .op-step-card--params .op-qty-control,
  .op-sets-shared .op-qty-control{
    display:flex;flex-direction:column;align-items:stretch;gap:6px;
  }
  .op-step-card--params .op-qty-custom,
  .op-sets-shared .op-qty-custom{
    flex:0 0 auto;
    display:flex !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box;
  }
  .op-step-card--params .op-qty-custom input[type="number"],
  .op-sets-shared .op-qty-custom input[type="number"]{
    min-width:0 !important;
    flex:1 1 auto;
    width:auto !important;
  }
  .op-step-card--params .op-qty-btn,
  .op-sets-shared .op-qty-btn{
    width:42px !important;
    flex:0 0 42px !important;
  }
  .op-step-card--params .op-qty-unit,
  .op-sets-shared .op-qty-unit{
    display:block;
    width:100%;
    margin:0;
    font-size:12px;
    line-height:1.3;
    white-space:normal;
  }
  .op-calc__steps{display:contents;}
  .op-step-card--params{
    order:1;
    scroll-margin-top:calc(118px + env(safe-area-inset-top, 0px));
  }
  .op-summary{
    order:2;position:static;top:auto;
    width:100%;max-width:none;box-sizing:border-box;
    max-height:none;overflow:visible;
  }
  .op-summary__scroll{overflow:visible;min-height:0;padding:22px 22px 8px;}
  .op-summary__footer{background:transparent;}
  .op-calc__steps > .op-step-card:not(.op-step-card--params){order:3;}

  /*
   * Floating calc/order bar — GLOBAL for all Opti Print product calculators.
   * Same height everywhere (vizytky / flyers / digital / embossing). Do not
   * override per page. Hint must stay one line so dock height does not jump.
   */
  .op-calc-dock{
    display:flex;align-items:center;gap:8px;
    position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom,0px));
    z-index:120;
    box-sizing:border-box;
    height:52px;
    min-height:52px;
    max-height:52px;
    /* Rounded floating bar (all corners). Left pad clears the curve so text stays readable. */
    padding:6px 6px 6px 18px;
    border-radius:16px;
    background:linear-gradient(135deg,var(--op-blue-deep) 0%,var(--op-blue) 100%);
    box-shadow:0 10px 24px rgba(11,44,107,.34);
    color:#fff;
    overflow:visible;
  }
  .op-calc-dock[hidden]{display:none !important;}
  .op-calc-dock__meta{
    flex:1 1 auto;min-width:0;max-width:100%;height:auto;
    border:0 !important;border-radius:0 !important;
    background:transparent !important;color:#fff !important;
    text-align:left;padding:0 !important;margin:0 !important;cursor:pointer;font:inherit;
    display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0;
    box-shadow:none !important;outline:none !important;
    -webkit-appearance:none;appearance:none;
    -webkit-tap-highlight-color:transparent;
    overflow:visible;
  }
  .op-calc-dock__meta:hover,
  .op-calc-dock__meta:active,
  .op-calc-dock__meta:focus,
  .op-calc-dock__meta:focus-visible{
    background:transparent !important;color:#fff !important;
    border-radius:0 !important;
    box-shadow:none !important;outline:none !important;filter:none !important;
  }
  .op-calc-dock__label{
    display:block;font-size:10px;opacity:.72;line-height:1.05;
    color:rgba(255,255,255,.85);white-space:nowrap;
    border-radius:0 !important;
  }
  .op-calc-dock__price{
    display:block;font-size:16px;font-weight:800;line-height:1.05;color:#fff !important;
    background:transparent !important;border:0 !important;border-radius:0 !important;
    padding:0 !important;margin:0 !important;box-shadow:none !important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
  }
  .op-calc-dock__hint{
    display:block;
    margin-top:1px;
    font-size:10px;line-height:1.1;font-weight:600;
    color:rgba(255,255,255,.82);
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-decoration:underline;
    text-underline-offset:2px;
    border-radius:0 !important;
  }
  .op-calc-dock__hint[hidden],
  .op-calc-dock.is-hint-hidden .op-calc-dock__hint{display:none !important;}
  .op-calc-dock:has(.op-calc-dock__save:not([hidden])){
    height:auto;
    min-height:52px;
    max-height:none;
    align-items:center;
    padding-top:8px;
    padding-bottom:8px;
  }
  .op-calc-dock__save{
    flex:1 1 40%;
    align-self:center;
    min-width:0;
    max-width:46%;
    margin:0;
    padding:0 4px;
    border:0;
    border-radius:0;
    background:transparent;
    color:#fff;
    font:inherit;
    font-size:11px;
    font-weight:700;
    line-height:1.2;
    text-align:center;
    white-space:normal;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
    -webkit-tap-highlight-color:transparent;
  }
  .op-calc-dock__save:hover,
  .op-calc-dock__save:active,
  .op-calc-dock__save:focus,
  .op-calc-dock__save:focus-visible{
    background:transparent;
    color:#fff;
    outline:none;
    text-decoration:underline;
    text-underline-offset:2px;
  }
  .op-calc-dock__save:disabled{opacity:.55;cursor:wait;}
  .op-calc-dock__save[hidden]{display:none !important;}
  .op-calc-dock:has(.op-calc-dock__save:not([hidden])) .op-calc-dock__meta{
    flex:0 1 28%;
    max-width:32%;
  }
  .op-calc-dock__cta{
    flex:0 0 auto;align-self:stretch;
    display:inline-flex;align-items:center;justify-content:center;
    border:none;border-radius:999px;padding:0 14px;
    min-height:40px;height:40px;
    background:var(--op-accent);color:#fff;font:inherit;font-weight:800;font-size:13px;
    cursor:pointer;white-space:nowrap;
  }
  .op-calc-dock__cta:disabled{opacity:.65;cursor:wait;}
  .op-calc-dock__cta--order{
    background:#fff;color:var(--op-blue-deep);border:2px solid var(--op-accent);
  }
  .op-calc-dock__cta--order.is-vat-blocked,
  .op-calc-dock__cta--order:disabled{
    opacity:.55;cursor:not-allowed;filter:grayscale(.15);
  }
  .op-calc-dock__cta[hidden]{display:none !important;}
  /* Footer navy spacer handles clearance (see footer-optiprint.css). */
  body:has(.op-modal-overlay.op-active) .op-calc-dock,
  body:has(.op-drawer.op-active) .op-calc-dock{display:none !important;}

  .op-payship__grid{
    width:100%;max-width:100%;margin:0 auto;
    justify-items:stretch;
  }
  .op-payship__card{
    width:100%;max-width:100%;margin:0 auto;box-sizing:border-box;
  }

  /* Works: full-width swipe carousel, arrows overlaid on photo */
  .op-works__carousel{
    position:relative;display:block;
  }
  .op-works__nav{
    position:absolute;top:50%;z-index:3;transform:translateY(-50%);
    display:inline-flex !important;align-items:center;justify-content:center;
    width:34px !important;height:34px !important;min-width:34px !important;min-height:34px !important;
    max-width:34px !important;max-height:34px !important;
    padding:0 !important;margin:0 !important;border:none !important;border-radius:50% !important;
    cursor:pointer;line-height:1 !important;font-size:0 !important;
    background:rgba(255,255,255,.94) !important;color:var(--op-blue-deep) !important;
    box-shadow:0 4px 14px rgba(11,44,107,.22) !important;
    backdrop-filter:blur(4px);-webkit-appearance:none;appearance:none;
  }
  .op-works__nav svg{display:block;width:16px;height:16px;stroke:currentColor;flex:none;}
  .op-works__nav--prev{left:10px;}
  .op-works__nav--next{right:10px;}
  .op-works__nav:hover,
  .op-works__nav:focus-visible{
    background:#fff !important;color:var(--op-blue) !important;outline:none;
  }
  .op-works__nav:disabled{
    opacity:.25;cursor:default;pointer-events:none;
  }
  .op-works__grid{
    display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;padding:0;touch-action:pan-x;
  }
  .op-works__grid::-webkit-scrollbar{display:none;}
  .op-works__item,
  .op-works__item.is-large{
    flex:0 0 86%;width:86%;
    grid-column:auto;grid-row:auto;
    aspect-ratio:1;scroll-snap-align:center;
  }
  .op-works__dots{
    display:flex;justify-content:center;align-items:center;gap:7px;margin-top:12px;
  }
  .op-works__dot{
    width:7px;height:7px;border-radius:50%;background:rgba(26,86,214,.25);
    transition:transform .15s ease, background .15s ease;
  }
  .op-works__dot.is-active{
    background:var(--op-blue);transform:scale(1.25);
  }
}
@media (max-width:640px){
  /* Kill double side gutters from theme wrappers */
  .optiprint-product-vizytky .site-content .col-full,
  .optiprint-product-vizytky #content .col-full,
  .optiprint-product-vizytky .content-area,
  .optiprint-product-vizytky .site-main{
    padding-left:0 !important;
    padding-right:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:none !important;
  }
  .optiprint-product-vizytky .op-section-inner{
    padding-left:12px;padding-right:12px;
  }
  .optiprint-product-vizytky .op-calc .op-section-inner,
  .optiprint-product-vizytky .op-payship .op-section-inner{
    padding-left:10px;padding-right:10px;
  }
  .optiprint-product-vizytky .content-single-wrapper{
    margin-top:8px !important;
    padding:0 12px !important;
  }
  /* Extra white strip under page (Printec leftover) */
  .optiprint-product-vizytky .site-content,
  .optiprint-product-vizytky #content.site-content,
  .optiprint-product-vizytky .site-main,
  .optiprint-product-vizytky #main{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
  }
  .optiprint-product-vizytky .site-footer,
  .optiprint-product-vizytky footer.site-footer{
    margin-top:0 !important;
  }
  body.optiprint-product-vizytky{
    padding-bottom:0 !important;
  }

  .op-works__item,
  .op-works__item.is-large{
    flex-basis:92%;width:92%;
  }
  .op-works__nav{
    width:32px !important;height:32px !important;
    min-width:32px !important;min-height:32px !important;
    max-width:32px !important;max-height:32px !important;
  }
  .op-works__nav--prev{left:8px;}
  .op-works__nav--next{right:8px;}
  .op-how-order__steps,
  .op-packages__grid{grid-template-columns:1fr;}
  .op-hero-summary__cta{width:100%;justify-content:center;}
  .op-step-card{border-radius:16px;}
  .op-step-card__head{padding:14px 14px 0;gap:10px;}
  .op-step-card__head > div{min-width:0;flex:1 1 auto;}
  .op-step-card__num{
    flex:0 0 34px !important;width:34px !important;height:34px !important;
    min-width:34px !important;min-height:34px !important;
  }
  .op-step-card--params .op-step-card__num{
    flex:0 0 38px !important;width:38px !important;height:38px !important;
    min-width:38px !important;min-height:38px !important;
  }
  .op-step-card--params .op-step-card__body{grid-template-columns:1fr;padding:10px;}
  .op-step-card--params .op-step-card__body > .op-field:nth-child(n+5){grid-column:auto;}
  .op-step-card--params .op-step-card__head{padding:12px;align-items:flex-start;}
  .op-step-card--params .op-step-card__badge{font-size:10px;padding:6px 9px;}
  .op-step-card--params .op-step-card__body > .op-field:nth-child(-n+5),
  .op-step-card--params .op-step-card__body > .op-field:nth-child(n+6){padding:10px;}
  .op-field select{font-size:14px;padding:11px 12px;}

  /* Narrow phones: tighter gutters; qty/chip width rules live in ≤980px. */
  .op-calc .op-section-inner{
    padding-left:12px;padding-right:12px;
  }
  .op-step-card--params .op-tech-row,
  .op-step-card--params .op-sets-shared{
    grid-column:1 / -1;
  }
  .op-qty-chips{
    grid-template-columns:repeat(auto-fill,minmax(52px,1fr));
  }
  .op-sets-shared__head{
    gap:6px 8px;
  }
  .op-sets-shared__head span{
    font-size:11px;
  }
  .op-tip__bubble{
    left:auto;right:0;transform:none;
    width:min(220px, calc(100vw - 48px));
  }

  /* Tabs: one neat scrollable chip row instead of wrapping chaos */
  .op-tabs__nav{
    margin-left:-2px;margin-right:-2px;padding:5px;
    mask-image:linear-gradient(90deg,#000 85%,transparent);
  }
  .optiprint-product-vizytky .op-tabs__btn{
    font-size:13px;padding:10px 14px;
  }
  .op-tabs__panel-title{font-size:18px;margin-bottom:12px;}
  .op-tabs__card{padding:14px 14px 10px;border-radius:16px;}

  /* Specs: stacked rows — label above value, no mid-word breaks */
  .op-spec-table{font-size:14px;}
  .op-spec-table,
  .op-spec-table tbody,
  .op-spec-table tr,
  .op-spec-table th,
  .op-spec-table td{
    display:block;width:100%;
  }
  .op-spec-table tr{
    padding:12px 0;
    border-bottom:1px solid var(--op-line);
  }
  .op-spec-table tr:last-child{border-bottom:none;}
  .op-spec-table th{
    width:100%;min-width:0;padding:0 0 4px;margin:0;
    font-size:12px;font-weight:700;letter-spacing:.02em;
    color:var(--op-muted);border:none;
  }
  .op-spec-table td{
    padding:0;margin:0;border:none;
    color:var(--op-graphite);font-weight:600;line-height:1.4;
  }

  .op-price-table{font-size:12px;}
  .op-price-table th,
  .op-price-table td{padding:10px 6px;}
  .op-tabs__cta{width:100%;justify-content:center;}
}

/* —— Saved calcs / compare (desktop test) —— */
.op-summary__save-cmp{
  display:none;
  width:100%;
  margin:0 0 8px;
  padding:7px 10px;
  border:1px dashed rgba(255,255,255,.5);
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.95);
  font:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
.op-summary__save-cmp:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.8);
}
.op-summary__save-cmp:disabled{opacity:.55;cursor:wait;}
.op-summary__save-cmp[hidden]{display:none !important;}

.op-calc-compare{display:none;}
.op-calc__side{display:contents;}

@media (min-width:1100px){
  .op-summary__save-cmp:not([hidden]){display:block;}

  /*
   * ≥1100: sticky offset matches pre-laptop-fix (top:96px) so «Ваше замовлення»
   * and «Порівняти розрахунки» stay below the header / admin bar.
   * 1100–1499 still stacks chips under the summary (no right overhang).
   * ≥1500 hangs chips to the right (block below).
   */
  .op-calc__side{
    display:flex;
    flex-direction:column;
    gap:8px;
    position:sticky;
    top:96px;
    z-index:20;
    align-self:start;
    width:100%;
    max-width:100%;
    max-height:calc(100vh - 112px);
    max-height:calc(100dvh - 112px);
    overflow:hidden;
  }
  .op-calc__main{
    position:relative;
    z-index:30;
  }
  .op-calc__side .op-summary{
    position:relative;
    top:auto;
    width:100%;
    max-width:100%;
    flex:1 1 auto;
    min-height:0;
    max-height:none;
  }
  .op-calc__side .op-summary__scroll{
    overflow-y:auto;
    overscroll-behavior:contain;
  }

  .op-calc-compare{
    display:flex;
    flex-direction:column;
    gap:8px;
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    min-height:0;
    z-index:22;
    flex:0 1 auto;
    max-height:min(18vh, 140px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:rgba(26,86,214,.45) transparent;
  }
  .op-calc-compare[hidden]{display:none !important;}

  .op-calc-compare__dismiss{display:none !important;}
  .op-calc-compare__rail{
    display:contents;
  }

  .op-calc-compare__open{
    flex:0 0 auto;
    width:100%;
    padding:9px 10px;
    border:none;
    border-radius:12px;
    background:var(--op-accent);
    color:#fff;
    font:inherit;
    font-size:11px;
    font-weight:800;
    line-height:1.3;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(255,122,41,.28);
  }
  .op-calc-compare__open:hover{filter:brightness(1.06);background:#ff8d45;}
  .op-calc-compare__open[hidden]{display:none !important;}

  .op-calc-compare__stack{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    flex:0 0 auto;
    min-height:0;
    max-height:none;
    overflow:visible;
    padding:2px 0 4px;
  }
}

/* Fold / touch laptop: clear fixed compact header, keep same sticky rhythm. */
@media (min-width:1100px) and (max-width:1400px) and (hover: none){
  .op-calc__side{
    top:calc(var(--op-mobile-header-h, 56px) + 12px);
    max-height:calc(100vh - var(--op-mobile-header-h, 56px) - 24px);
    max-height:calc(100dvh - var(--op-mobile-header-h, 56px) - 24px);
  }
}

/* Wide desktop: hang saved-calcs rail to the right of the sticky summary. */
@media (min-width:1500px){
  .op-calc__side{
    display:block;
    overflow:visible;
    max-height:none;
    top:96px;
  }
  .op-calc__side .op-summary{
    flex:none;
    min-height:0;
    max-height:calc(100vh - 112px);
    max-height:calc(100dvh - 112px);
  }

  .op-calc-compare{
    position:absolute;
    left:calc(100% + 12px);
    top:0;
    width:168px;
    flex:none;
    max-height:calc(100vh - 112px);
    max-height:calc(100dvh - 112px);
    overflow:visible;
  }

  .op-calc-compare__stack{
    display:flex;
    flex-direction:column;
    gap:8px;
    flex:1 1 auto;
    min-height:0;
    max-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:2px 4px 6px 2px;
    scrollbar-width:thin;
    scrollbar-color:rgba(26,86,214,.45) transparent;
  }
  .op-calc-compare__stack::-webkit-scrollbar{width:6px;}
  .op-calc-compare__stack::-webkit-scrollbar-thumb{
    background:rgba(26,86,214,.4);border-radius:999px;
  }
}

@media (min-width:1100px){
  .op-saved-chip{
    position:relative;
    margin:0;
    padding:12px 28px 10px 11px;
    border-radius:14px;
    background:#fff;
    border:1px solid var(--op-line);
    box-shadow:0 8px 18px rgba(11,44,107,.1);
    text-align:left;
    cursor:pointer;
    flex:0 0 auto;
    transition:border-color .15s,box-shadow .15s,transform .15s;
  }
  .op-saved-chip:hover{
    border-color:rgba(26,86,214,.35);
    box-shadow:0 10px 22px rgba(26,86,214,.12);
    transform:translateY(-1px);
  }
  .op-saved-chip.is-arrive{
    animation:op-saved-pop .32s cubic-bezier(.2,.8,.2,1);
  }
  .op-saved-chip__num{
    display:inline-block;
    margin-bottom:3px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    color:var(--op-accent);
  }
  .op-saved-chip__price{
    display:block;
    margin:0 0 2px;
    font-size:15px;
    font-weight:800;
    color:var(--op-blue-deep);
    line-height:1.15;
  }
  .op-saved-chip__unit{
    display:block;
    margin:0 0 6px;
    font-size:11px;
    font-weight:700;
    color:var(--op-accent);
    line-height:1.2;
  }
  .op-saved-chip__meta{
    display:grid;
    gap:3px;
  }
  .op-saved-chip__line{
    display:block;
    font-size:11px;
    line-height:1.3;
    color:var(--op-muted);
    word-break:break-word;
  }
  .op-saved-chip__del{
    position:absolute;
    top:7px;right:7px;
    box-sizing:border-box;
    width:20px;height:20px;
    padding:0;margin:0;
    border:none;
    border-radius:50%;
    background:var(--op-accent);
    color:var(--op-blue-deep);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    line-height:0;
    box-shadow:0 2px 6px rgba(255,122,41,.28);
    transition:background .15s,transform .15s,box-shadow .15s,color .15s;
  }
  .op-saved-chip__del-icon{
    display:block;
    width:10px;height:10px;
    flex:none;
  }
  .op-saved-chip__del:hover{
    background:#ff8d45;
    color:var(--op-blue-deep);
    transform:scale(1.08);
    box-shadow:0 3px 8px rgba(255,122,41,.36);
  }

  .op-calc-compare-board{
    display:none;
    margin-top:18px;
    padding:22px 20px 20px;
    border-radius:24px;
    background:linear-gradient(180deg,#fff 0%,var(--op-bg) 100%);
    border:1px solid var(--op-line);
    box-shadow:0 16px 40px rgba(11,44,107,.08);
  }
  .op-calc.is-compare-open .op-calc-compare-board{display:block;}
  .op-calc.is-compare-open .op-calc-compare__stack{display:none;}
  .op-calc.is-compare-open .op-calc-compare__open{display:none !important;}

  .op-calc-compare-board__head{
    display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
    margin-bottom:16px;
  }
  .op-calc-compare-board__head h3{
    margin:0 0 4px;font-size:22px;color:var(--op-blue-deep);
  }
  .op-calc-compare-board__head p{
    margin:0;font-size:14px;color:var(--op-muted);max-width:52ch;
  }
  .op-calc-compare-board__close{
    flex:0 0 auto;
    border:2px solid rgba(26,86,214,.25);
    border-radius:999px;
    padding:10px 16px;
    background:#fff;
    color:var(--op-blue-deep);
    font:inherit;font-size:13px;font-weight:700;
    cursor:pointer;
  }
  .op-calc-compare-board__close:hover{
    border-color:var(--op-accent);background:#fff5ee;
  }
  .op-calc-compare-board__foot{
    display:flex;
    justify-content:flex-end;
    margin-top:18px;
    padding-top:14px;
    border-top:1px solid var(--op-line);
  }
  .op-calc-compare-board__kp{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 18px;
    border-radius:12px;
    border:1.5px solid var(--op-blue);
    background:#fff;
    color:var(--op-blue);
    font:inherit;
    font-weight:700;
    font-size:14px;
    cursor:pointer;
  }
  .op-calc-compare-board__kp:hover{
    background:rgba(26,86,214,.06);
    color:var(--op-blue-deep);
  }

  .op-calc-compare-board__grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:12px;
  }

  .op-cmp-card{
    margin:0;
    padding:20px 18px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--op-line);
    box-shadow:0 12px 28px rgba(11,44,107,.08);
    display:flex;
    flex-direction:column;
    gap:10px;
    animation:op-cmp-in .32s cubic-bezier(.2,.8,.2,1) both;
  }
  .op-cmp-card:nth-child(2){animation-delay:.04s;}
  .op-cmp-card:nth-child(3){animation-delay:.08s;}
  .op-cmp-card:nth-child(4){animation-delay:.12s;}
  .op-cmp-card:nth-child(5){animation-delay:.16s;}
  .op-cmp-card__num{
    display:inline-block;
    font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--op-accent);
  }
  .op-cmp-card__price{
    margin:0;font-size:26px;font-weight:800;color:var(--op-blue-deep);line-height:1.1;
  }
  .op-cmp-card__unit{
    margin:-2px 0 0;font-size:13px;font-weight:700;color:var(--op-graphite);line-height:1.3;
  }
  .op-cmp-card__unit strong{color:var(--op-accent);font-weight:800;}
  .op-cmp-card__list{
    margin:0;padding:0;list-style:none;
    display:grid;gap:5px;
    font-size:13px;color:var(--op-muted);
  }
  .op-cmp-card__list li{
    display:flex;justify-content:space-between;gap:10px;
  }
  .op-cmp-card__list strong{color:var(--op-graphite);font-weight:700;text-align:right;}
  .op-cmp-card__actions{
    margin-top:auto;display:grid;gap:8px;
  }
  .op-cmp-card__pick{
    border:none;border-radius:999px;padding:11px 14px;
    background:var(--op-blue);color:#fff;
    font:inherit;font-size:13px;font-weight:800;cursor:pointer;
  }
  .op-cmp-card__pick:hover{filter:brightness(1.06);}
  .op-cmp-card__remove{
    border:none;background:transparent;color:var(--op-muted);
    font:inherit;font-size:12px;font-weight:650;cursor:pointer;padding:4px;
  }
  .op-cmp-card__remove:hover{color:var(--op-accent);}
}

@keyframes op-saved-pop{
  0%{opacity:0;transform:scale(.7) translateY(6px);}
  100%{opacity:1;transform:scale(1) translateY(0);}
}
@keyframes op-cmp-in{
  0%{opacity:0;transform:translateY(8px) scale(.97);}
  100%{opacity:1;transform:translateY(0) scale(1);}
}

.op-genie-ghost{
  pointer-events:none;
  z-index:9999;
  border-radius:18px;
  background:linear-gradient(160deg,var(--op-blue-deep) 0%,var(--op-blue) 100%);
  box-shadow:0 16px 36px rgba(11,44,107,.3);
  will-change:transform,opacity;
}
.op-genie-ghost.is-flying{
  animation:op-genie-dock .42s cubic-bezier(.25,.8,.2,1) forwards;
}
.op-summary.is-genie-source{opacity:.55;transition:opacity .15s;}
@keyframes op-genie-dock{
  0%{opacity:.9;transform:translate(0,0) scale(1,1);}
  100%{opacity:0;transform:translate(var(--dx), var(--dy)) scale(.12,.08);}
}

@media (max-width:1099.98px){
  .op-summary__save-cmp,
  .op-genie-ghost{display:none !important;}

  /* Mobile saved-calcs strip: below fixed header (incl. test-mode notice). */
  .op-calc-compare{
    display:flex !important;
    flex-direction:row;
    align-items:center;
    gap:4px;
    position:fixed;
    top:calc(var(--op-mobile-header-h, 100px) + 6px);
    left:8px;
    right:8px;
    z-index:1150;
    width:auto;
    max-height:none;
    min-height:0;
    padding:4px 4px 4px 5px;
    border-radius:12px;
    background:rgba(255,255,255,.97);
    border:1px solid var(--op-line);
    box-shadow:0 8px 18px rgba(11,44,107,.12);
  }
  .op-calc-compare[hidden]{display:none !important;}
  .op-calc-compare__open{
    position:relative;
    z-index:3;
    flex:0 0 auto;
    width:auto;
    max-width:42%;
    padding:6px 10px;
    border:none;
    border-radius:999px;
    background:var(--op-accent);
    color:#fff;
    font:inherit;
    font-size:11px;
    font-weight:800;
    line-height:1.15;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(255,122,41,.26);
    white-space:normal;
    text-align:center;
  }
  .op-calc-compare__open[hidden]{display:none !important;}
  .op-calc-compare__rail{
    position:relative;
    z-index:1;
    flex:1 1 auto;
    min-width:0;
    margin-left:-18px;
    padding-left:18px;
    overflow:hidden;
    -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 22px, #000 100%);
    mask-image:linear-gradient(90deg, transparent 0, #000 22px, #000 100%);
  }
  .op-calc-compare__stack{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    padding:1px 2px 1px 4px;
    scrollbar-width:none;
    scroll-behavior:smooth;
  }
  .op-calc-compare__stack::-webkit-scrollbar{display:none;}
  .op-calc-compare__dismiss{
    position:relative;
    z-index:3;
    flex:0 0 auto;
    width:28px;
    height:28px;
    margin:0;
    padding:0;
    border:1px solid rgba(11,44,107,.14);
    border-radius:50%;
    background:#fff;
    color:var(--op-blue-deep);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 2px 6px rgba(11,44,107,.08);
  }
  .op-calc-compare__dismiss:hover,
  .op-calc-compare__dismiss:active{
    background:rgba(26,86,214,.08);
    color:#b42318;
  }
  .op-saved-chip--dot{
    flex:0 0 auto;
    width:28px;height:28px;
    margin:0;padding:0;
    border:none;border-radius:50%;
    background:linear-gradient(135deg,var(--op-blue-deep),var(--op-blue));
    color:#fff;
    display:inline-flex;align-items:center;justify-content:center;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(11,44,107,.18);
  }
  .op-saved-chip--dot .op-saved-chip__num{
    margin:0;font-size:12px;font-weight:800;letter-spacing:0;color:#fff;
  }
  .op-saved-chip--dot.is-arrive{animation:op-saved-pop .32s cubic-bezier(.2,.8,.2,1);}

  .op-calc-compare-board{
    display:none;
    margin:14px 0 0;
    padding:16px 14px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--op-line);
    box-shadow:0 12px 28px rgba(11,44,107,.08);
  }
  .op-calc.is-compare-open .op-calc-compare-board{display:block;}
  .op-calc.is-compare-open .op-calc-compare{display:none !important;}
  .op-calc-compare-board__head{
    display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
    margin-bottom:12px;
  }
  .op-calc-compare-board__head h3{margin:0 0 4px;font-size:18px;color:var(--op-blue-deep);}
  .op-calc-compare-board__head p{margin:0;font-size:13px;color:var(--op-muted);}
  .op-calc-compare-board__close{
    flex:0 0 auto;border:2px solid rgba(26,86,214,.25);border-radius:999px;
    padding:8px 12px;background:#fff;color:var(--op-blue-deep);
    font:inherit;font-size:12px;font-weight:700;cursor:pointer;
  }
  .op-calc-compare-board__foot{
    display:flex;
    justify-content:stretch;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid var(--op-line);
  }
  .op-calc-compare-board__kp{
    width:100%;
    min-height:44px;
    padding:0 14px;
    border-radius:12px;
    border:1.5px solid var(--op-blue);
    background:#fff;
    color:var(--op-blue);
    font:inherit;
    font-weight:700;
    font-size:14px;
    cursor:pointer;
  }
  .op-calc-compare-board__grid{
    display:grid;grid-template-columns:1fr;gap:10px;
  }
  .op-cmp-card{
    margin:0;padding:16px 14px;border-radius:16px;background:#fff;
    border:1px solid var(--op-line);box-shadow:0 8px 18px rgba(11,44,107,.08);
    display:flex;flex-direction:column;gap:8px;
  }
  .op-cmp-card__num{font-size:12px;font-weight:800;letter-spacing:.06em;color:var(--op-accent);}
  .op-cmp-card__price{margin:0;font-size:22px;font-weight:800;color:var(--op-blue-deep);line-height:1.1;}
  .op-cmp-card__unit{margin:0;font-size:13px;font-weight:700;color:var(--op-graphite);}
  .op-cmp-card__unit strong{color:var(--op-accent);font-weight:800;}
  .op-cmp-card__list{margin:0;padding:0;list-style:none;display:grid;gap:4px;font-size:13px;color:var(--op-muted);}
  .op-cmp-card__list li{display:flex;justify-content:space-between;gap:10px;}
  .op-cmp-card__list strong{color:var(--op-graphite);font-weight:700;text-align:right;}
  .op-cmp-card__actions{margin-top:4px;display:grid;gap:8px;}
  .op-cmp-card__pick{
    border:none;border-radius:999px;padding:11px 14px;background:var(--op-blue);color:#fff;
    font:inherit;font-size:13px;font-weight:800;cursor:pointer;
  }
  .op-cmp-card__remove{
    border:none;background:transparent;color:var(--op-muted);
    font:inherit;font-size:12px;font-weight:650;cursor:pointer;padding:4px;
  }
  body.op-has-saved-strip,
  .op-calc.has-saved-strip{
    scroll-padding-top:calc(var(--op-mobile-header-h, 100px) + 52px);
  }
  body.op-has-saved-strip .op-calc .op-section-inner{
    padding-top:52px;
  }
}

/* Added-to-cart modal CTAs (must live in product CSS — checkout CSS is not loaded here) */
.op-added-modal.op-modal-overlay{z-index:3000;}
.op-added-modal .op-modal--added{max-width:400px;}
.op-added-modal__actions{display:grid;gap:10px;margin:0;}
.op-added-modal a.op-added-modal__btn,
.op-added-modal button.op-added-modal__btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:100%;
  box-sizing:border-box;
  margin:0;
  border-radius:999px !important;
  padding:13px 18px !important;
  font:inherit !important;
  font-weight:800 !important;
  font-size:14px !important;
  line-height:1.2 !important;
  text-align:center;
  text-decoration:none !important;
  cursor:pointer;
  transition:filter .15s,transform .15s,background .15s,border-color .15s;
}
.op-added-modal a.op-added-modal__btn--primary{
  border:none !important;
  background:linear-gradient(135deg,#FF7A29 0%,#ff934d 100%) !important;
  color:#fff !important;
  box-shadow:0 8px 16px rgba(255,122,41,.24);
}
.op-added-modal a.op-added-modal__btn--primary:hover,
.op-added-modal a.op-added-modal__btn--primary:focus{
  filter:brightness(1.03);
  color:#fff !important;
}
.op-added-modal a.op-added-modal__btn--secondary{
  border:2px solid rgba(26,86,214,.35) !important;
  background:#fff !important;
  color:#0B2C6B !important;
  box-shadow:none;
}
.op-added-modal a.op-added-modal__btn--secondary:hover,
.op-added-modal a.op-added-modal__btn--secondary:focus{
  border-color:#1A56D6 !important;
  background:#f4f7ff !important;
  color:#0B2C6B !important;
}
.op-added-modal button.op-added-modal__btn--ghost{
  border:none !important;
  background:transparent !important;
  color:#5b6472 !important;
  font-weight:700 !important;
  box-shadow:none;
  padding-top:8px !important;
  padding-bottom:8px !important;
}
.op-added-modal button.op-added-modal__btn--ghost:hover{
  color:#0B2C6B !important;
  background:rgba(26,86,214,.06) !important;
}

.op-works__open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.op-works__open img{display:block;width:100%;height:100%;object-fit:cover}

/* Booklet benefits keep the brochure hierarchy but use compact, booklet-specific cards. */
.optiprint-product-booklets .op-brochure-section{padding:34px 0}
.optiprint-product-booklets .op-brochure-section h2{margin:0 0 10px;color:#0b2c6b;font-size:clamp(25px,3vw,34px);line-height:1.18}
.optiprint-product-booklets .op-brochure-eyebrow{margin:0 0 8px;color:#1a56d6;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.optiprint-product-booklets .op-brochure-lead{max-width:720px;margin:0 0 20px;color:#52617a;line-height:1.55}
.optiprint-product-booklets .op-brochure-features--booklet{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.optiprint-product-booklets .op-brochure-features--booklet article{min-width:0}
.optiprint-product-booklets .op-brochure-features--booklet img{display:block;width:100%;height:164px;object-fit:cover;border-radius:13px;margin:0 0 12px}
.optiprint-product-booklets .op-brochure-features--booklet h3{margin:0 0 7px;color:#0b2c6b;font-size:19px;line-height:1.25}
.optiprint-product-booklets .op-brochure-features--booklet p:last-child{margin:0;color:#52617a;font-size:14px;line-height:1.5}
@media(max-width:700px){.optiprint-product-booklets .op-brochure-section{padding:28px 0}.optiprint-product-booklets .op-brochure-features--booklet{grid-template-columns:1fr;gap:18px}.optiprint-product-booklets .op-brochure-features--booklet img{height:150px}}

/* Bound booklet: compare the three relevant binding methods at a glance. */
.optiprint-product-booklet-bound .op-brochure-section{padding:34px 0}
.optiprint-product-booklet-bound .op-brochure-section h2{margin:0 0 10px;color:#0b2c6b;font-size:clamp(25px,3vw,34px);line-height:1.18}
.optiprint-product-booklet-bound .op-brochure-eyebrow{margin:0 0 8px;color:#1a56d6;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.optiprint-product-booklet-bound .op-brochure-lead{max-width:720px;margin:0 0 20px;color:#52617a;line-height:1.55}
.optiprint-product-booklet-bound .op-brochure-features--bound{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.optiprint-product-booklet-bound .op-brochure-features--bound article{min-width:0}
.optiprint-product-booklet-bound .op-brochure-features--bound img{display:block;width:100%;height:164px;object-fit:cover;border-radius:13px;margin:0 0 12px}
.optiprint-product-booklet-bound .op-brochure-features--bound h3{margin:0 0 7px;color:#0b2c6b;font-size:19px;line-height:1.25}
.optiprint-product-booklet-bound .op-brochure-features--bound p:last-child{margin:0;color:#52617a;font-size:14px;line-height:1.5}
@media(max-width:700px){.optiprint-product-booklet-bound .op-brochure-section{padding:28px 0}.optiprint-product-booklet-bound .op-brochure-features--bound{grid-template-columns:1fr;gap:18px}.optiprint-product-booklet-bound .op-brochure-features--bound img{height:150px}}

/* Рекламні листівки — компактний тематичний блок переваг. */
.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}}

/* Бейджі: окремі матеріали для реєстрації, без повторення галереї чи чужих товарів. */
.op-badge-benefits,.op-badge-lanyards{padding:64px 0;background:#f4f8fd}.op-badge-lanyards{background:#fff}.op-badge-benefits h2,.op-badge-lanyards h2{margin:0;color:#082c6c;font-size:clamp(28px,3vw,42px);line-height:1.1}.op-badge-benefits__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.op-badge-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-badge-benefits__grid img{display:block;width:100%;aspect-ratio:1.3;object-fit:cover}.op-badge-benefits__grid h3,.op-badge-benefits__grid p:not(.op-brochure-eyebrow){margin-left:22px;margin-right:22px}.op-badge-benefits__grid h3{margin-top:5px;margin-bottom:8px;color:#082c6c;font-size:21px;line-height:1.25}.op-badge-benefits__grid p:not(.op-brochure-eyebrow){margin-bottom:24px;color:#49617f;line-height:1.55}.op-badge-benefits__grid .op-brochure-eyebrow{margin:20px 22px 0}.op-badge-lanyards__lead{max-width:680px;margin:10px 0 22px;color:#49617f;line-height:1.55}.op-badge-lanyards__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.op-badge-lanyards__grid figure{overflow:hidden;margin:0;border:1px solid #dce6f3;border-radius:14px;background:#f4f8fd}.op-badge-lanyards__grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;transition:transform .25s ease}.op-badge-lanyards__grid figure:hover img{transform:scale(1.04)}
@media(max-width:760px){.op-badge-benefits,.op-badge-lanyards{padding:46px 0}.op-badge-benefits__grid{grid-template-columns:1fr}.op-badge-lanyards__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Product-specific sticker advantages. */
.op-sticker-benefits{padding:72px 0;background:#f4f8fd}.op-sticker-benefits h2{margin:0;color:#082c6c;font-size:clamp(28px,3vw,44px);line-height:1.08}.op-sticker-benefits__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}.op-sticker-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-sticker-benefits__grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.op-sticker-benefits__grid h3,.op-sticker-benefits__grid p:not(.op-brochure-eyebrow){margin-left:22px;margin-right:22px}.op-sticker-benefits__grid h3{margin-top:5px;margin-bottom:8px;color:#082c6c;font-size:22px}.op-sticker-benefits__grid p:not(.op-brochure-eyebrow){margin-bottom:24px;color:#49617f;line-height:1.55}.op-sticker-benefits__grid .op-brochure-eyebrow{margin:20px 22px 0}@media(max-width:760px){.op-sticker-benefits{padding:48px 0}.op-sticker-benefits__grid{grid-template-columns:1fr}}
