/* Single product — amento/product.html */
.ta-amento-page--product{padding:0;max-width:100%;min-width:0}
/* When «recently viewed» is empty/hidden — same air before footer as amento spacer */
.ta-amento-page--product:has(.ta-prod-seen[hidden]){padding-bottom:clamp(48px,6vw,80px)}
@media(max-width:767px){
  /* Зажим предков — иначе flex-ряд раздувает page scrollWidth на iOS */
  .single-product .ta-main,
  .ta-amento-page.ta-amento-page--product,
  .ta-prod-rail{
    overflow-x:hidden;
    max-width:100%;
    min-width:0;
    width:100%
  }
}
.ta-prod{max-width:1560px;margin:0 auto;padding:0 clamp(16px,4vw,32px);min-width:0;width:100%;box-sizing:border-box}
.ta-prod__hero,
.ta-prod__gal-col,
.ta-prod__specs-col,
.ta-prod__buy-col,
.ta-prod-body,
.ta-prod-sec{min-width:0;max-width:100%}
.ta-prod__crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:22px 0 18px;font-size:13px;color:#5E6478}
.ta-prod__crumbs a{color:#5E6478;text-decoration:none}
.ta-prod__crumbs a:hover{color:#BD123C}
.ta-prod__crumbs-sep{color:#B8BCC8}
.ta-prod__crumbs-cur{color:#14182B}
.ta-prod__title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:16px}
.ta-prod__title{margin:0;flex:1;min-width:0;font-size:clamp(24px,3vw,34px);line-height:1.2;font-weight:600;letter-spacing:-.02em;color:#14182B}
.ta-prod__share{flex:none;display:none;align-items:center;gap:8px;height:38px;padding:0 14px;border:1px solid #D9DCE5;border-radius:9px;background:#fff;font-size:13px;font-weight:500;cursor:pointer;color:#14182B;font-family:inherit}
.ta-prod__share:hover{border-color:#0F1E50}
@media(min-width:901px){.ta-prod__share--desk{display:flex}.ta-prod__title-row{margin-bottom:12px}}
.ta-prod__meta-row{display:none;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;color:#5E6478;margin-bottom:28px}
@media(min-width:901px){.ta-prod__meta-row--desk{display:flex}}
.ta-prod__sku{color:#BD123C;font-weight:700;letter-spacing:.02em}
.ta-prod__chip-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 12px;border:1px solid #D9DCE5;border-radius:8px;background:#fff;font-size:13px;cursor:pointer;color:#14182B;font-family:inherit;white-space:nowrap}
.ta-prod__chip-btn:hover{border-color:#0F1E50}
.ta-prod__brand-chip{display:inline-flex;align-items:center;height:34px;padding:0 12px;border:1px solid #E5E7EE;border-radius:8px;color:#14182B;background:#fff;font-size:13px;text-decoration:none}
a.ta-prod__brand-chip:hover{border-color:#BD123C;color:#BD123C}
.ta-prod__meta-spacer{flex:1}
.ta-prod__meta-mob{display:grid;gap:8px;margin-bottom:20px}
@media(min-width:901px){.ta-prod__meta-mob{display:none}}
.ta-prod__meta-mob-art{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 12px;border:1px solid #E5E7EE;border-radius:12px;background:#F7F8FA;font-size:14px;color:#5E6478}
.ta-prod__meta-mob-art .ta-prod__brand-chip{height:auto;padding:5px 7px;font-size:12px;border-radius:7px}
.ta-prod__icon-btn{width:34px;height:34px;flex:none;border:1px solid #D9DCE5;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-left:auto}
.ta-prod__meta-mob-acts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ta-prod__meta-mob-acts .ta-prod__chip-btn{height:42px;border-radius:10px;font-size:12px;font-weight:500;padding:0 4px;min-width:0}

.ta-prod__hero{display:grid;gap:20px;align-items:start}
@media(min-width:901px){.ta-prod__hero{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr) minmax(300px,.75fr);gap:24px}}
.ta-prod__gal{display:grid;gap:14px}
@media(min-width:901px){.ta-prod__gal{grid-template-columns:76px minmax(0,1fr)}}
.ta-prod__thumbs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ta-prod__thumbs::-webkit-scrollbar{display:none}
@media(min-width:901px){.ta-prod__thumbs{flex-direction:column;order:0;overflow-x:visible;overflow-y:auto;max-height:480px}}
.ta-prod__thumb{position:relative;width:76px;height:76px;flex:none;padding:0;border-radius:12px;background:transparent;overflow:hidden;cursor:pointer;border:2px solid #EEF0F4;transition:border-color .2s;display:flex;align-items:center;justify-content:center}
.ta-prod__thumb.is-active,.ta-prod__thumb:hover{border-color:#E3A6B5}
.ta-prod__thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;background:transparent}
.ta-prod__thumb-draw{position:absolute;left:4px;right:4px;bottom:4px;background:#0F1E50;color:#fff;font-size:10px;font-weight:600;border-radius:5px;padding:2px 0;text-align:center}
.ta-prod__stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;height:auto;border-radius:20px;background:transparent;border:1px solid #EEF0F4;overflow:hidden;cursor:zoom-in}
@media(min-width:901px){.ta-prod__stage{aspect-ratio:auto;height:520px;order:1}}
.ta-prod__stage-img{position:relative;z-index:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center center;background:transparent;transform:none!important;transition:none;pointer-events:none}
.ta-prod__stage.is-draw .ta-prod__stage-img,
.ta-prod__stage-img[data-ta-is-draw="1"]{width:100%;height:100%}
.ta-prod__badges{position:absolute;left:16px;top:16px;display:flex;gap:6px;z-index:2}
.ta-prod__badge{font-size:12px;font-weight:600;border-radius:6px;padding:5px 9px;color:#fff}
.ta-prod__badge--sale{background:#BD123C}
.ta-prod__badge--best{background:#0F1E50}
.ta-prod__nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(15,30,80,.12);z-index:2}
.ta-prod__nav--prev{left:16px}
.ta-prod__nav--next{right:16px}
.ta-prod__gal-count{position:absolute;left:16px;bottom:16px;background:rgba(15,30,80,.75);color:#fff;font-size:12px;font-weight:600;border-radius:8px;padding:6px 10px;z-index:2}
.ta-prod__zoom-hint{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:6px;background:#fff;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:500;box-shadow:0 4px 14px rgba(15,30,80,.1);z-index:2}
.ta-prod__trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:14px}
@media(min-width:901px){.ta-prod__trust{margin-left:90px}}
.ta-prod__trust-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:#F7F8FA;font-size:13px;font-weight:500;line-height:1.3}
.ta-prod__trust-item svg{flex:none}

.ta-prod__key-card{border:1px solid #E5E7EE;border-radius:20px;padding:22px 22px 20px;background:#fff}
.ta-prod__key-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.ta-prod__key-title{font-size:18px;font-weight:600}
.ta-prod__key-all{display:inline-flex;align-items:center;gap:4px;color:#BD123C;font-weight:600;font-size:13px;text-decoration:none}
.ta-prod__key-list{display:grid;gap:2px}
.ta-prod__key-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;border-radius:8px;font-size:14px}
.ta-prod__key-row.is-alt{background:#F7F8FA}
.ta-prod__key-row span{color:#5E6478}
.ta-prod__key-row b{font-weight:600;text-align:right}
.ta-prod__iso{margin-top:18px;padding-top:18px;border-top:1px solid #E5E7EE;overflow:visible}
.ta-prod__iso-label{font-size:14px;font-weight:600;margin-bottom:12px}
.ta-prod__iso-label span{font-weight:400;color:#8A8FA3}
.ta-prod__iso-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;min-width:0}
.ta-prod__iso-item{display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;cursor:help;min-width:0}
.ta-prod__iso-item.is-off{opacity:.5}
.ta-prod__iso-letter{width:min(44px,100%);aspect-ratio:1;height:auto;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;color:#A4A8B6;background:#F1F2F5}
.ta-prod__iso-name{font-size:11px;font-weight:600;color:#14182B;text-align:center}
.ta-prod__iso-item.is-off .ta-prod__iso-name{color:#8A8FA3;font-weight:400}
/* tip: fixed so ::after does not inflate page scrollWidth */
.ta-prod__iso-item.tip[data-tip]::after{content:attr(data-tip);position:fixed;left:var(--ta-tip-x,50%);top:var(--ta-tip-y,0);transform:translate(-50%,calc(-100% - 10px));width:max-content;max-width:min(210px,90vw);background:#0F1E50;color:#fff;font-size:12px;font-weight:500;line-height:1.4;text-align:center;padding:8px 11px;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .15s;z-index:80;box-shadow:0 10px 26px rgba(15,30,80,.25)}
.ta-prod__iso-item.tip:hover::after{opacity:1}

.ta-prod__quick-links{display:grid;gap:10px;margin-top:14px}
.ta-prod__quick{display:flex;align-items:center;gap:14px;padding:12px 14px 12px 12px;border:1px solid #E5E7EE;border-radius:16px;background:#fff;text-decoration:none;color:#14182B;transition:border-color .2s,box-shadow .2s}
.ta-prod__quick:hover{border-color:#BD123C;box-shadow:0 12px 30px rgba(189,18,60,.1);color:#14182B}
.ta-prod__quick-img{position:relative;width:60px;height:60px;flex:none;border-radius:12px;background:transparent;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ta-prod__quick-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;background:transparent}
.ta-prod__quick-body{flex:1;min-width:0}
.ta-prod__quick-title{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px;flex-wrap:wrap}
.ta-prod__quick-n{font-size:11px;font-weight:600;color:#BD123C;background:#FBEFF2;border-radius:6px;padding:2px 7px}
.ta-prod__quick-sub{display:block;font-size:13px;color:#5E6478;margin-top:3px;line-height:1.4}
.ta-prod__quick-arr{width:34px;height:34px;flex:none;border-radius:50%;background:#BD123C;color:#fff;display:flex;align-items:center;justify-content:center}

.ta-prod__buy-col{display:grid;gap:14px;align-items:start}
@media(min-width:1100px){.ta-prod__buy-col{position:sticky;top:96px}}
.ta-prod__buy{border:1px solid #E5E7EE;border-radius:20px;padding:clamp(18px,3vw,22px);box-shadow:0 12px 40px rgba(15,30,80,.07);background:#fff}
.ta-prod__buy-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ta-prod__stock{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:13px;border-radius:7px;padding:5px 10px}
.ta-prod__stock span{width:7px;height:7px;border-radius:50%}
.ta-prod__stock--in{background:#E8F5EC;color:#1A7F3C}
.ta-prod__stock--in span{background:#1A7F3C}
.ta-prod__stock--order{background:#F4F5F8;color:#5E6478}
.ta-prod__stock--order span{background:#8A8FA3}
.ta-prod__ship{font-size:12px;color:#5E6478}
.ta-prod__price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-top:14px}
.ta-prod__price{font-size:36px;font-weight:600;letter-spacing:-.02em;line-height:1.1;color:#14182B}
.ta-prod__per{font-size:15px;color:#5E6478}
.ta-prod__price--request{font-size:26px}
.ta-prod__old{font-size:15px;color:#8A8FA3}
.ta-prod__price-row .ta-prod__badge{align-self:center;padding:3px 7px}
.ta-prod__vat{margin-top:4px;font-size:13px;color:#5E6478}
.ta-prod__legal{display:flex;align-items:center;gap:8px;margin-top:10px;padding:8px 10px;border-radius:8px;background:#F7F8FA;font-size:12px;line-height:1.4;color:#5E6478}
.ta-prod__legal p{margin:0}
.ta-prod__cart-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;margin-top:18px}
.ta-prod__qty{height:50px;display:flex;align-items:center;justify-content:space-between;border:1px solid #D9DCE5;border-radius:10px;background:#fff}
.ta-prod__qty button{width:40px;height:100%;border:0;background:none;font-size:20px;color:#14182B;cursor:pointer;font-family:inherit}
.ta-prod__qty span{font-weight:600}
.ta-prod__add{height:50px!important;border:0!important;border-radius:10px!important;background:#BD123C!important;color:#fff!important;font-size:15px!important;font-weight:600!important;cursor:pointer;box-shadow:0 10px 24px rgba(189,18,60,.25);display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;line-height:1}
.ta-prod__add:hover{background:#A40F34!important;color:#fff!important}
.ta-prod__sum{display:flex;justify-content:space-between;font-size:13px;color:#5E6478;margin-top:8px}
.ta-prod__sum b{color:#14182B;font-weight:600}
.ta-prod__added{font-size:13px;margin-top:8px;color:#1A7F3C}
.ta-prod__added a{color:#BD123C;font-weight:600;text-decoration:underline}
.ta-prod__buy-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #EEF0F4}
.ta-prod__kp{height:44px;border:1px solid #0F1E50;border-radius:10px;background:#fff;color:#0F1E50;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}
.ta-prod__kp:hover{background:#0F1E50;color:#fff}
.ta-prod__ask{height:44px;border:1px solid #D9DCE5;border-radius:10px;background:#fff;color:#14182B;font-size:14px;font-weight:500;cursor:pointer;font-family:inherit}
.ta-prod__ask:hover{border-color:#0F1E50}
.ta-prod__logistics{border:1px solid #E5E7EE;border-radius:20px;padding:4px 20px;background:#fff}
.ta-prod__log-item{display:flex;align-items:center;gap:14px;padding:12px 0;font-size:14px;line-height:1.4;border-bottom:1px solid #EEF0F4}
.ta-prod__log-item:last-child{border-bottom:0}
.ta-prod__log-ico{width:40px;height:40px;flex:none;border-radius:11px;background:#FBEFF2;display:flex;align-items:center;justify-content:center}
.ta-prod__log-item b{font-weight:600;display:block}
.ta-prod__log-item span span{display:block;color:#5E6478;font-size:13px}

.ta-prod-tabs{position:sticky;top:var(--ta-header-h,72px);z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #E5E7EE;margin-top:64px}
.ta-prod-tabs__inner{max-width:1560px;margin:0 auto;padding:0 clamp(16px,4vw,32px);display:flex;align-items:center;gap:28px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.ta-prod-tabs__inner::-webkit-scrollbar{display:none}
.ta-prod-tabs__link{flex:none;padding:18px 0;font-weight:600;font-size:15px;border-bottom:2px solid transparent;color:#5E6478;text-decoration:none}
.ta-prod-tabs__link.is-active,.ta-prod-tabs__link:hover{color:#14182B;border-bottom-color:#BD123C}
.ta-prod-tabs__sticky-buy{margin-left:auto;display:none;align-items:center;gap:16px}
@media(min-width:901px){.ta-prod-tabs__sticky-buy:not([hidden]){display:flex}}
.ta-prod-tabs__sticky-name{font-size:14px;color:#5E6478}
.ta-prod-tabs__sticky-price{font-weight:600;font-size:18px}
.ta-prod-tabs__sticky-btn{height:40px;padding:0 18px;border:0;border-radius:9px;background:#BD123C;color:#fff;font-weight:600;cursor:pointer;font-family:inherit}
.ta-prod-tabs__sticky-btn:hover{background:#A40F34}

.ta-prod-mob-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid #E5E7EE;box-shadow:0 -8px 24px rgba(15,30,80,.08);padding:10px 16px calc(10px + env(safe-area-inset-bottom));display:none;align-items:center;gap:12px}
@media(max-width:900px){.ta-prod-mob-bar:not([hidden]){display:flex}}
.ta-prod-mob-bar__info{flex:1;min-width:0}
.ta-prod-mob-bar__name{font-size:12px;color:#5E6478;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ta-prod-mob-bar__price{font-size:20px;font-weight:600}
.ta-prod-mob-bar__btn{height:48px;padding:0 24px;border:0;border-radius:12px;background:#BD123C;color:#fff;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit}

.ta-prod-body{max-width:1560px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.ta-prod-sec{padding-top:56px;scroll-margin-top:150px}
.ta-prod-sec+#specs,.ta-prod-sec+#docs,.ta-prod-sec+#pay,.ta-prod-sec~#specs{padding-top:72px}
.ta-prod-body>#docs{padding-top:72px}
.ta-prod-rail+#related{padding-top:72px}
.ta-prod-sec__h{margin:0 0 22px;font-size:clamp(22px,2.6vw,28px);font-weight:600;letter-spacing:-.02em;color:#14182B}
.ta-prod-sec__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px 24px;margin-bottom:22px;min-width:0;max-width:100%}
.ta-prod-sec__head .ta-prod-sec__h{margin:0;min-width:0}
.ta-prod-sec__acts{display:flex;flex-wrap:wrap;gap:12px 18px;font-size:14px;font-weight:600;align-items:center;min-width:0;max-width:100%}
.ta-prod-sec__link{display:inline-flex;align-items:center;gap:6px;color:#BD123C;background:none;border:0;padding:0;cursor:pointer;font:inherit;font-weight:600}
.ta-prod-sec__link--dark{color:#0F1E50}
.ta-prod-sec__more{font-weight:600;color:#BD123C;text-decoration:none}
.ta-prod-sec__hint{font-size:14px;color:#5E6478}

.ta-prod-desc{display:grid;gap:clamp(28px,4vw,56px);align-items:start}
@media(min-width:901px){.ta-prod-desc{grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr)}}
.ta-prod-desc__lead{margin:0 0 16px;font-size:19px;line-height:1.6;color:#0F1E50;font-weight:500;text-wrap:pretty}
.ta-prod-desc__body{margin:0 0 24px;font-size:16px;line-height:1.7;color:#3A3F52;max-width:820px}
.ta-prod-desc__metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:10px;margin-bottom:28px}
.ta-prod-desc__metric{padding:16px 18px;border-radius:14px;background:#0F1E50;color:#fff}
.ta-prod-desc__metric-v{font-size:24px;font-weight:600;letter-spacing:-.02em;line-height:1.1}
.ta-prod-desc__metric-l{font-size:12px;color:#C9D0E6;margin-top:4px}
.ta-prod-desc__apps-h{font-size:16px;font-weight:600;margin-bottom:12px}
.ta-prod-desc__apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}
.ta-prod-desc__app{padding:18px;border:1px solid #E5E7EE;border-radius:16px;background:#fff}
.ta-prod-desc__app-ico{width:42px;height:42px;border-radius:11px;background:#FBEFF2;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.ta-prod-desc__app-t{font-size:15px;font-weight:600;margin-bottom:4px}
.ta-prod-desc__app-d{font-size:13px;line-height:1.5;color:#5E6478}
.ta-prod-desc__avatar{position:relative}
.ta-prod-desc__avatar-dot{position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;background:#2BC163;border:2px solid #16296A}
.ta-prod-draw__ph{position:relative;z-index:0;color:#8A8FA0;font-size:14px}
.ta-prod-draw img{z-index:1}
.ta-prod-desc__help{position:relative;overflow:hidden;border-radius:20px;background:linear-gradient(150deg,#0F1E50,#1B2F70);color:#fff;padding:28px}
.ta-prod-desc__help::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:32px 32px;pointer-events:none}
.ta-prod-desc__help-inner{position:relative}
.ta-prod-desc__help-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.ta-prod-desc__avatar{width:46px;height:46px;flex:none;border-radius:50%;background:#C9D0E6;color:#0F1E50;font-weight:700;display:flex;align-items:center;justify-content:center}
.ta-prod-desc__help-name{display:block;font-weight:600}
.ta-prod-desc__help-hours{display:block;font-size:12px;color:#8E9AC4}
.ta-prod-desc__help-title{font-size:20px;font-weight:600;margin-bottom:8px}
.ta-prod-desc__help p{margin:0 0 20px;color:#C9D0E6;font-size:14px;line-height:1.55}
.ta-prod-desc__help-cta{display:flex;justify-content:center;align-items:center;width:100%;height:48px;border:0;border-radius:10px;background:#BD123C;color:#fff;font-weight:600;cursor:pointer;font-family:inherit;font-size:15px}
.ta-prod-desc__help-cta:hover{background:#A40F34}
.ta-prod-desc__help-tel{display:block;text-align:center;margin-top:12px;color:#fff;font-weight:600;text-decoration:none}

/* minmax(340px) раздувал ширину на телефоне → боковой скролл */
#specs.ta-prod-sec{overflow-x:clip;max-width:100%;min-width:0}
.ta-prod-specs-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
@media(min-width:720px){
  .ta-prod-specs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1100px){
  .ta-prod-specs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* «Характеристики»: > 8 строк — 2 столбика (карточка = 2/3 ширины), иначе 1 столбик (1/3); чертёж рядом */
.ta-prod-spec-card__cols{display:grid;grid-template-columns:minmax(0,1fr);gap:0 24px;min-width:0}
@media(min-width:720px){
  .ta-prod-spec-card--two:not(.has-draw){grid-column:1/-1}
}
@media(min-width:1100px){
  .ta-prod-spec-card--two{grid-column:span 2}
  .ta-prod-spec-card--two .ta-prod-spec-card__cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* 1 столбик + чертёж: кнопки сверху — над чертежом (шапка = ширина 2 колонок) */
  #specs.ta-prod-sec--one-draw .ta-prod-sec__head{max-width:calc((200% - 16px)/3)}
}
.ta-prod-spec-card{border:1px solid #E5E7EE;border-radius:20px;padding:20px 18px 14px;background:#fff;min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box}
.ta-prod-spec-card__h{display:flex;align-items:center;gap:12px;margin:0 4px 14px;font-size:17px;font-weight:600;min-width:0}
.ta-prod-spec-card__h--between{justify-content:space-between;flex-wrap:wrap;gap:8px}
.ta-prod-spec-card__h-left{display:flex;align-items:center;gap:12px;min-width:0}
.ta-prod-spec-card__ico{width:36px;height:36px;border-radius:10px;background:#0F1E50;display:flex;align-items:center;justify-content:center;flex:none}
.ta-prod-spec-card__list{display:grid;gap:2px;min-width:0}
.ta-prod-spec-card .ta-prod__key-row{min-width:0;gap:8px}
.ta-prod-spec-card .ta-prod__key-row span{min-width:0;overflow-wrap:anywhere}
.ta-prod-spec-card .ta-prod__key-row b{min-width:0;max-width:55%;overflow-wrap:anywhere;word-break:break-word}
.ta-prod-geom-row{display:flex;align-items:center;gap:8px 12px;padding:9px 10px;border-radius:8px;font-size:14px;min-width:0}
.ta-prod-geom-row.is-alt{background:#F7F8FA}
.ta-prod-geom-sym{min-width:40px;height:26px;padding:0 6px;border-radius:7px;background:#FBEFF2;color:#BD123C;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.ta-prod-geom-k{flex:1;min-width:0;color:#5E6478;overflow-wrap:anywhere}
.ta-prod-geom-row b{font-weight:600;text-align:right;flex:none;max-width:42%;overflow-wrap:anywhere;word-break:break-word}
.ta-prod-draw{position:relative;width:100%;aspect-ratio:1/1;height:auto;border-radius:14px;background:#fff;border:1px dashed #E1E4EB;display:flex;align-items:center;justify-content:center;color:#8A8FA0;font-size:14px;overflow:hidden;cursor:default;max-width:100%}
.ta-prod-draw[data-ta-open-draw]{cursor:zoom-in}
.ta-prod-draw img{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);max-width:100%;object-fit:contain;background:#fff}

/* Rail — desktop grid; mobile: JS transform-slider (overflow:hidden, без overflow-x) */
.ta-prod-rail{
  padding-top:72px;
  scroll-margin-top:150px;
  max-width:100%;
  min-width:0;
  width:100%;
  box-sizing:border-box
}
.ta-prod-rail__head{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:flex-end;
  gap:10px 24px;
  margin:0 auto 22px;
  padding:0 clamp(16px,4vw,32px);
  max-width:1560px;
  box-sizing:border-box
}
.ta-prod-rail__head .ta-prod-sec__h{margin:0}
.ta-prod-rail__viewport{
  margin:0 auto;
  padding:0 clamp(16px,4vw,32px);
  max-width:1560px;
  width:100%;
  min-width:0;
  box-sizing:border-box
}
.ta-prod-rail__row{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:20px;
  margin:0;
  padding:0;
  width:100%;
  min-width:0;
  box-sizing:border-box
}
.ta-prod-rail__card{
  display:flex;flex-direction:column;border:1px solid #E5E7EE;border-radius:16px;padding:16px;background:#fff;
  transition:box-shadow .2s,border-color .2s;min-width:0;box-sizing:border-box;overflow:hidden
}
.ta-prod-rail__card:hover{border-color:#fff;box-shadow:0 16px 40px rgba(15,30,80,.1)}
.ta-prod-rail__media{position:relative;height:160px;border-radius:12px;background:transparent;margin-bottom:14px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ta-prod-rail__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;background:transparent}
.ta-prod-rail__sku{font-size:12px;color:#5E6478;margin-bottom:6px}
.ta-prod-rail__title{font-size:15px;font-weight:500;line-height:1.35;min-height:41px;margin-bottom:10px;color:#14182B;text-decoration:none;overflow-wrap:anywhere}
.ta-prod-rail__title:hover{color:#BD123C}
.ta-prod-rail__stock{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;margin-bottom:14px}
.ta-prod-rail__stock span{width:7px;height:7px;border-radius:50%}
.ta-prod-rail__price{margin-top:auto;font-size:21px;font-weight:600;margin-bottom:14px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.25}
.ta-prod-rail__price del{font-size:.7em;font-weight:500;color:#8A8FA3;text-decoration:line-through}
.ta-prod-rail__price ins{text-decoration:none}
.ta-prod-rail__btn{height:44px!important;border-radius:10px!important;font-size:14px!important;font-weight:600!important;cursor:pointer;border:1px solid #BD123C!important;background:#BD123C!important;color:#fff!important;display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;max-width:100%;box-sizing:border-box}
.ta-prod-rail__btn:hover{background:#A40F34!important;color:#fff!important}
.ta-prod-rail__note,.ta-prod-row-note{
  margin:14px auto 0;
  padding:0 clamp(16px,4vw,32px);
  max-width:1560px;
  font-size:13px;
  color:#5E6478;
  box-sizing:border-box
}
@media(max-width:767px){
  .ta-prod-rail{overflow-x:hidden}
  .ta-prod-rail__head,
  .ta-prod-rail__note{padding-left:16px;padding-right:16px;max-width:100%}
  /* Полная ширина экрана — peek соседей слева/справа (центрирует JS) */
  .ta-prod-rail__viewport{
    overflow:hidden;
    width:100%;
    max-width:100%;
    min-width:0;
    padding:0;
    contain:paint;
    touch-action:pan-y
  }
  .ta-prod-rail__row{
    display:flex;
    flex-wrap:nowrap;
    gap:12px;
    width:auto;
    max-width:none;
    min-width:0;
    padding:0;
    grid-template-columns:none;
    will-change:transform
  }
  .ta-prod-rail__card{
    flex:none;
    /* ~78% ширины — справа/слева торчат соседние */
    width:min(280px,78vw);
    max-width:78vw
  }
}

.ta-prod-docs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}
.ta-prod-doc{display:flex;flex-direction:column;gap:18px;padding:22px;border:1px solid #E5E7EE;border-radius:20px;background:#fff;text-align:left;cursor:pointer;font:inherit;color:#14182B;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.ta-prod-doc:hover{border-color:#BD123C;box-shadow:0 16px 40px rgba(189,18,60,.1);color:#14182B}
.ta-prod-doc__top{display:flex;justify-content:space-between;align-items:flex-start}
.ta-prod-doc__ico{position:relative;width:56px;height:56px;border-radius:14px;background:#FBEFF2;display:flex;align-items:center;justify-content:center}
.ta-prod-doc__ico span{position:absolute;right:-8px;bottom:-6px;background:#BD123C;color:#fff;font-size:10px;font-weight:700;letter-spacing:.04em;border-radius:5px;padding:2px 5px}
.ta-prod-doc__ico--light{background:rgba(255,255,255,.1)}
.ta-prod-doc__dl{width:40px;height:40px;border-radius:50%;border:1px solid #E5E7EE;color:#BD123C;display:flex;align-items:center;justify-content:center}
.ta-prod-doc__cat{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8A8FA3;margin-bottom:6px}
.ta-prod-doc__cat--pink{color:#FF8FA9}
.ta-prod-doc__title{font-size:17px;font-weight:600;line-height:1.3}
.ta-prod-doc__sub{font-size:13px;line-height:1.5;color:#C9D0E6;margin-top:6px}
.ta-prod-doc__meta{margin-top:auto;padding-top:14px;border-top:1px solid #EEF0F4;font-size:13px;color:#5E6478}
.ta-prod-doc--kp{position:relative;overflow:hidden;background:linear-gradient(150deg,#0F1E50,#1B2F70);color:#fff;border:0;cursor:default}
.ta-prod-doc--kp:hover{border:0;box-shadow:none;color:#fff}
.ta-prod-doc__cta{margin-top:auto;height:44px;border:0;border-radius:10px;background:#BD123C;color:#fff;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}
.ta-prod-doc__cta:hover{background:#A40F34}

.ta-prod-pay{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.ta-prod-pay__card{display:flex;flex-direction:column;padding:28px;border:1px solid #E5E7EE;border-radius:20px;background:#fff}
.ta-prod-pay__ico{width:56px;height:56px;border-radius:16px;background:#BD123C;display:flex;align-items:center;justify-content:center;margin-bottom:20px;box-shadow:0 10px 24px rgba(189,18,60,.25)}
.ta-prod-pay__title{font-size:20px;font-weight:600;margin-bottom:8px}
.ta-prod-pay__card p{margin:0 0 18px;color:#3A3F52;line-height:1.6;font-size:14px}
.ta-prod-pay__card ul{list-style:none;margin:auto 0 0;padding:16px 0 0;border-top:1px solid #EEF0F4;display:grid;gap:10px;font-size:14px;color:#14182B}
.ta-prod-pay__card li{display:flex;gap:10px;align-items:flex-start}
.ta-prod-pay__card li::before{content:"";flex:none;width:16px;height:16px;margin-top:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23BD123C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat}
.ta-prod-steps{margin-top:16px;border-radius:20px;background:#0F1E50;color:#fff;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));overflow:hidden}
.ta-prod-steps>div{padding:22px 24px;border-right:1px solid rgba(255,255,255,.12)}
.ta-prod-steps>div:last-child{border-right:0}
.ta-prod-steps__n{font-size:32px;font-weight:700;line-height:1;letter-spacing:-.03em;color:#FF8FA9;margin-bottom:12px}
.ta-prod-steps__t{font-size:16px;font-weight:600;margin-bottom:6px}
.ta-prod-steps__d{font-size:13px;line-height:1.5;color:#C9D0E6}

.ta-prod-cta{margin-top:72px;border-radius:24px;background:#0F1E50;color:#fff;padding:clamp(28px,4vw,40px) clamp(22px,4vw,48px);display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px 32px;align-items:center}
.ta-prod-cta__title{font-size:clamp(22px,2.6vw,28px);font-weight:600;letter-spacing:-.02em;margin-bottom:10px}
.ta-prod-cta p{margin:0;color:#C9D0E6;font-size:16px}
.ta-prod-cta__btn{display:inline-flex;align-items:center;height:52px;padding:0 28px;border:0;border-radius:10px;background:#BD123C;color:#fff;font-weight:600;cursor:pointer;font-family:inherit;font-size:15px}
.ta-prod-cta__btn:hover{background:#A40F34}

.ta-prod-seen{margin-top:88px;padding:56px 0;background:#F4F5F8}
.ta-prod-seen[hidden]{display:none!important}
.ta-prod-seen__inner{max-width:1560px;margin:0 auto;padding:0 clamp(16px,4vw,32px);box-sizing:border-box}
.ta-prod-seen__row{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:16px;
  margin:0;padding:0;scrollbar-width:none;box-sizing:border-box
}
.ta-prod-seen__row::-webkit-scrollbar{display:none;width:0;height:0}
@media(max-width:767px){
  .ta-prod-seen{overflow-x:hidden;max-width:100%}
  .ta-prod-seen__inner{overflow-x:hidden;max-width:100%}
  .ta-prod-seen__row{
    display:flex;
    grid-template-columns:none;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin:0;
    padding:0 0 4px;
    width:0;
    min-width:100%;
    max-width:none;
    box-sizing:border-box
  }
  .ta-prod-seen__item{flex:0 0 260px;width:260px;max-width:260px}
}
.ta-prod-seen__item{display:flex;gap:14px;align-items:center;background:#fff;border-radius:14px;padding:14px;text-decoration:none;color:#14182B;scroll-snap-align:start;scroll-margin-left:16px;min-width:0}
.ta-prod-seen__item:hover{box-shadow:0 8px 24px rgba(15,30,80,.08);color:#14182B}
.ta-prod-seen__img{position:relative;width:64px;height:64px;flex:none;border-radius:10px;background:transparent;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ta-prod-seen__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;background:transparent}
.ta-prod-seen__name{display:block;font-size:14px;line-height:1.35}
.ta-prod-seen__price{display:block;margin-top:4px;font-weight:600}

.ta-prod-lb{position:fixed;inset:0;z-index:120;background:rgba(10,16,40,.92);display:flex;align-items:center;justify-content:center}
.ta-prod-lb[hidden]{display:none!important}
.ta-prod-lb__frame{position:relative;width:min(1000px,86vw,80vh);aspect-ratio:1/1;height:auto;border-radius:20px;background:#fff;overflow:hidden}
.ta-prod-lb__frame img{position:absolute;inset:24px;width:calc(100% - 48px);height:calc(100% - 48px);object-fit:contain}
.ta-prod-lb__close,.ta-prod-lb__nav{position:absolute;width:46px;height:46px;border-radius:50%;border:0;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2}
.ta-prod-lb__close{top:24px;right:28px}
.ta-prod-lb__nav--prev{left:32px;top:50%;transform:translateY(-50%);width:50px;height:50px}
.ta-prod-lb__nav--next{right:32px;top:50%;transform:translateY(-50%);width:50px;height:50px}
.ta-prod-lb__count{position:absolute;bottom:28px;color:#fff;font-size:14px}

.ta-prod-toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);z-index:130;background:#0F1E50;color:#fff;padding:12px 20px;border-radius:10px;font-size:14px;box-shadow:0 12px 30px rgba(15,30,80,.3)}
.ta-prod-toast[hidden]{display:none!important}

/* Hide default WC chrome if leaked */
.ta-amento-page--product .woocommerce-product-gallery,
.ta-amento-page--product .woocommerce-tabs,
.ta-amento-page--product .related.products,
.ta-amento-page--product .upsells.products{display:none!important}

@media(max-width:900px){
  .ta-prod__iso-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 4px}
  .ta-prod__hero .ta-prod__specs-col{order:2}
  .ta-prod__hero .ta-prod__buy-col{order:1}
  .ta-prod__gal-col{order:0}
  .ta-prod-body{padding-bottom:80px}
}

/* ===== Печать карточки товара: только название, артикул, фото, цена, характеристики и чертёж ===== */
@media print {
  @page { size: A4; margin: 12mm; }
  body.single-product { background: #fff !important; color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* шапка, меню, подвал, плавающие кнопки, окна */
  body.single-product .ta-skip-link,
  body.single-product .ta-topbar,
  body.single-product .ta-masthead,
  body.single-product .ta-masthead__search-mob,
  body.single-product .ta-primary-nav,
  body.single-product .ta-mega-catalog,
  body.single-product .ta-mobile-menu,
  body.single-product .ta-footer,
  body.single-product .ta-float,
  body.single-product dialog,
  body.single-product .ta-prod-tabs,
  body.single-product .ta-prod-mob-bar,
  body.single-product .ta-prod-toast { display: none !important; }
  /* блоки страницы, которые не нужны на бумаге */
  .ta-prod__crumbs,
  .ta-prod__share,
  .ta-prod__meta-row--desk,
  .ta-prod__meta-mob-acts,
  .ta-prod__icon-btn,
  .ta-prod__thumbs,
  .ta-prod__nav,
  .ta-prod__gal-count,
  .ta-prod__zoom-hint,
  .ta-prod__badges,
  .ta-prod__trust,
  .ta-prod__specs-col,
  .ta-prod__buy-top,
  .ta-prod__legal,
  .ta-prod__cart-row,
  .ta-prod__sum,
  .ta-prod__added,
  .ta-prod__buy-acts,
  .ta-prod__logistics,
  .ta-prod__ship,
  #desc,
  #analogs,
  #related,
  #docs,
  #pay,
  .ta-prod-cta,
  .ta-prod-seen,
  .ta-prod-lb,
  .ta-prod-sec__acts,
  .ta-prod-sec__hint,
  .ta-prod-spec-card__h .ta-prod__chip-btn,
  .ta-prod-draw__ph,
  .ta-prod-rail__note { display: none !important; }
  /* Артикул и бренд (мобильный блок) показываем */
  .ta-prod__meta-mob { display: block !important; margin: 0 0 6mm; }
  .ta-prod__meta-mob-art { display: flex; gap: 4mm; align-items: baseline; font-size: 11pt; }
  /* Раскладка: слева фото, справа цена */
  .ta-amento-page--product, .ta-prod, .ta-prod-body { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .ta-prod__title-row { margin: 0 0 3mm !important; }
  .ta-prod__title { font-size: 20pt !important; color: #000 !important; }
  .ta-prod__hero { display: grid !important; grid-template-columns: 90mm minmax(0, 1fr) !important; gap: 8mm !important; align-items: start !important; }
  .ta-prod__gal-col { order: 0 !important; }
  .ta-prod__buy-col { order: 1 !important; }
  .ta-prod__stage { width: 90mm !important; max-width: 90mm !important; height: 90mm !important; aspect-ratio: auto !important; border: 1px solid #ccc !important; border-radius: 3mm !important; cursor: default !important; }
  .ta-prod__stage-img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
  .ta-prod__buy { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: none !important; }
  .ta-prod__price-row { margin-top: 0 !important; }
  .ta-prod__price { font-size: 26pt !important; color: #000 !important; }
  .ta-prod__vat { font-size: 10pt; color: #333 !important; }
  /* Характеристики и чертёж: одна колонка, карточки без теней */
  .ta-prod-body { display: block !important; }
  #specs.ta-prod-sec { padding: 8mm 0 0 !important; overflow: visible !important; }
  #specs .ta-prod-sec__head { margin-bottom: 3mm !important; max-width: none !important; }
  #specs .ta-prod-sec__h { font-size: 15pt !important; }
  .ta-prod-specs-grid { display: block !important; }
  .ta-prod-spec-card { border: 1px solid #ccc !important; border-radius: 3mm !important; padding: 4mm !important; margin-bottom: 5mm !important; break-inside: avoid; overflow: visible !important; }
  .ta-prod-spec-card--two .ta-prod-spec-card__cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ta-prod-spec-card__ico { display: none !important; }
  .ta-prod-spec-card__h { font-size: 12pt !important; margin: 0 0 3mm !important; }
  .ta-prod__key-row { font-size: 10pt !important; padding: 1.2mm 2mm !important; }
  .ta-prod__key-row.is-alt { background: #f3f4f7 !important; }
  .ta-prod-draw { height: 85mm !important; border: 1px solid #ccc !important; border-radius: 3mm !important; }
  .ta-prod-draw img { inset: 2mm !important; width: calc(100% - 4mm) !important; height: calc(100% - 4mm) !important; }
}
