.ferges-catalog-evo{
  --bg:var(--nectar-bg-color,#F4F2EF); --card:rgb(255,255,255); --media:var(--nectar-extra-color-2,#E0DEDB); --ink:var(--nectar-font-color,#161514); --muted:#76746E;
  --brand:var(--nectar-extra-color-1,#D5C49E); --cta:var(--nectar-accent-color,#525252); --cta-ink:var(--nectar-font-light-color,#F4F2EF); --incart:#8A8F7E; --line:var(--nectar-extra-color-2,#DCD9D2); --price:var(--nectar-font-color,#161514);
  --surface:#FEFEFC; --text-soft:#5A5953; --media-icon:#C8C6BC; --error:#8D3B32; --cta-hover:#3F3F3F;
  --font-serif:var(--fgcat-theme-font, inherit); --font-display:var(--fgcat-theme-font, inherit);
  --font-sans:var(--fgcat-theme-font, inherit); --radius:18px;
  --fgcat-hero-scale:1; --fgcat-body-scale:1; --fgcat-control-scale:1; --fgcat-card-brand-scale:1; --fgcat-card-name-scale:1;
  --fgcat-card-meta-scale:1; --fgcat-price-scale:1; --fgcat-drawer-title-scale:1; --fgcat-modal-title-scale:1; --fgcat-modal-text-scale:1;
  --fgcat-viewport-top:0px; --fgcat-viewport-height:100dvh; --fgcat-viewport-bottom-offset:0px;
background:var(--bg);color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;padding-bottom:60px;min-height:100vh}
.ferges-catalog-evo.ferges-catalog-evo__portal{position:static!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
.ferges-catalog-evo,.ferges-catalog-evo *,.ferges-catalog-evo *::before,.ferges-catalog-evo *::after{box-sizing:border-box}
.ferges-catalog-evo img,.ferges-catalog-evo svg{display:block}

.ferges-catalog-evo .cartcap{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:999px;height:46px;padding:0 22px;font-family:var(--font-sans);font-size:var(--fgcat-control-13);color:var(--ink);cursor:pointer;white-space:nowrap;flex:0 0 auto;box-shadow:0 6px 20px rgba(40,38,32,.06)}
.ferges-catalog-evo .cartcap:hover{border-color:var(--brand)}
.ferges-catalog-evo .cartcap svg{width:16px;height:16px;flex:0 0 16px}

.ferges-catalog-evo .page{max-width:1180px;margin:0 auto;padding:72px 24px 40px}
.ferges-catalog-evo .hero__top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ferges-catalog-evo .hero .hero__top h1{font-family:var(--font-display);font-weight:500;font-size:var(--fgcat-hero-size);letter-spacing:.01em;margin:.1em 0 .12em}
.ferges-catalog-evo .hero p{color:var(--muted);font-size:var(--fgcat-body-15);margin:0}
.ferges-catalog-evo .br-m{display:none}

.ferges-catalog-evo .audience-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;width:216px;margin:28px 0 0;padding:3px;border:1px solid var(--line);border-radius:999px;background:#e8e5df}
.ferges-catalog-evo .audience-tab{height:44px;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:999px;background:transparent;color:var(--ink);font-family:var(--font-sans);font-size:var(--fgcat-control-13);line-height:1;cursor:pointer;transition:background .18s ease,color .18s ease,transform .15s ease}
.ferges-catalog-evo .audience-tab span{font-size:17px;line-height:1}
.ferges-catalog-evo .audience-tab.is-active{background:var(--cta);color:var(--cta-ink)}
.ferges-catalog-evo .audience-tab:not(.is-active):hover{background:rgba(255,255,255,.48)}
.ferges-catalog-evo .audience-tab.is-active:hover{background:var(--cta-hover)}
.ferges-catalog-evo .audience-tab:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.ferges-catalog-evo .audience-tab:active{transform:scale(.98)}
.ferges-catalog-evo .bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 20px}
.ferges-catalog-evo .chips{display:flex;gap:8px;flex-wrap:wrap}
.ferges-catalog-evo .chip{font-size:var(--fgcat-control-13);border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:999px;padding:9px 17px;cursor:pointer}
.ferges-catalog-evo .chip.is-active{background:var(--cta);color:var(--cta-ink);border-color:var(--cta)}
.ferges-catalog-evo .filters{font-size:var(--fgcat-control-13);border:1px solid var(--line);border-radius:999px;padding:9px 16px;background:var(--surface);cursor:pointer;display:inline-flex;gap:8px;align-items:center;color:var(--ink)}
.ferges-catalog-evo .filters svg{width:16px;height:16px}
.ferges-catalog-evo .count{color:var(--muted);font-size:var(--fgcat-control-13)}
.ferges-catalog-evo .bar .sp{flex:1}
.ferges-catalog-evo .sort{font-family:var(--font-sans);font-size:var(--fgcat-control-13);border:1px solid var(--line);border-radius:999px;padding:9px 40px 9px 16px;background:var(--surface);color:var(--ink);appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer}
.ferges-catalog-evo .select-wrap{position:relative;display:inline-block}
.ferges-catalog-evo .sort-icon{display:none;pointer-events:none;color:var(--ink)}
.ferges-catalog-evo .select-chevron{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:14px;height:14px;pointer-events:none;color:var(--ink);transition:transform .25s ease}
.ferges-catalog-evo .select-wrap:focus-within .select-chevron{transform:translateY(-50%) rotate(180deg)}

.ferges-catalog-evo .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:start}
@media(max-width:1100px){.ferges-catalog-evo .grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.ferges-catalog-evo .grid{grid-template-columns:repeat(2,1fr);gap:12px}}

.ferges-catalog-evo .card{display:flex;flex-direction:column;background:var(--card);border:0;border-radius:var(--radius);overflow:hidden;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.ferges-catalog-evo .card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(40,38,32,.10)}
.ferges-catalog-evo .card__media{aspect-ratio:1/1;background:var(--media);display:flex;align-items:center;justify-content:center;color:var(--media-icon);position:relative;overflow:hidden}
.ferges-catalog-evo .fgcat-product-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.ferges-catalog-evo .fgcat-product-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--media-icon)}
.ferges-catalog-evo .fgcat-product-ph__img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.ferges-catalog-evo .has-image .fgcat-product-ph{display:none}
.ferges-catalog-evo .is-placeholder .fgcat-product-ph{display:flex}
.ferges-catalog-evo .card__media.has-image,.ferges-catalog-evo .modal__media.has-image,.ferges-catalog-evo .citem__img.has-image,.ferges-catalog-evo .fgcat-detail__media.has-image,.ferges-catalog-evo .fgcat-related__media.has-image{background:var(--surface)}
.ferges-catalog-evo .card__media.has-image .fgcat-product-img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;display:block;transform:scale(1.025);transform-origin:center;backface-visibility:hidden}
.ferges-catalog-evo .card__media .fgcat-product-img{padding:0}
.ferges-catalog-evo .card__media svg{width:44px;height:44px;opacity:.75}
.ferges-catalog-evo .card__body{display:flex;flex-direction:column;flex:1;padding:14px 14px 15px;background:var(--card)}
.ferges-catalog-evo .card__brand{font-size:var(--fgcat-card-brand-10);letter-spacing:.15em;text-transform:uppercase;color:var(--brand);font-weight:600;margin-bottom:8px;min-height:var(--fgcat-card-brand-min-13)}
.ferges-catalog-evo .card__badges,.ferges-catalog-evo .modal__badges,.ferges-catalog-evo .fgcat-detail__badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.ferges-catalog-evo .product-badge{display:inline-flex;align-items:center;min-height:20px;border:1px solid var(--line);border-radius:999px;padding:3px 8px;font-family:var(--font-sans);font-size:var(--fgcat-body-11);line-height:1;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);background:var(--surface)}
.ferges-catalog-evo .card .card__name{font-family:var(--font-serif);font-weight:700;font-size:var(--fgcat-product-card-name-15-5,14.1px);line-height:1.46;color:var(--ink);min-height:var(--fgcat-product-card-name-min-15-5,41.2px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.ferges-catalog-evo .card__spec{font-size:var(--fgcat-card-meta-12);color:var(--muted);min-height:var(--fgcat-card-meta-min-16);margin-top:8px}
.ferges-catalog-evo .card__price{font-family:var(--font-serif);font-weight:600;font-size:var(--fgcat-price-18);color:var(--price);margin-top:10px;display:flex;flex-wrap:wrap;gap:5px 8px;align-items:baseline}
.ferges-catalog-evo .price-old{font-family:var(--font-serif);font-size:.74em;font-weight:500;color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:currentColor}
.ferges-catalog-evo .price-now{font-family:var(--font-serif);font-weight:600;color:var(--price)}
.ferges-catalog-evo .card__cta{display:flex;gap:8px;align-items:center;margin-top:13px}
.ferges-catalog-evo .card .btn-cart,.ferges-catalog-evo .modal .btn-cart{flex:1;font-family:var(--font-sans);font-size:var(--fgcat-control-12-5);letter-spacing:.02em;border:0;border-radius:999px;background:var(--cta);color:var(--cta-ink);padding:11px 14px;cursor:pointer;transition:background .2s}
.ferges-catalog-evo .card .btn-cart:hover,.ferges-catalog-evo .modal .btn-cart:hover{background:var(--cta-hover)}
.ferges-catalog-evo .card.in-cart .btn-cart{background:var(--incart)}
.ferges-catalog-evo .card.is-unavailable{opacity:.72}
.ferges-catalog-evo .card .btn-cart:disabled,.ferges-catalog-evo .modal .btn-cart:disabled,.ferges-catalog-evo .fgcat-detail__buy .btn-cart:disabled{background:var(--line);color:var(--muted);cursor:not-allowed;box-shadow:none}
.ferges-catalog-evo .btn-tg{width:40px;height:40px;flex:0 0 40px;border:0;background:none;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s}
.ferges-catalog-evo .btn-tg:hover svg{fill:var(--brand)}
.ferges-catalog-evo .btn-tg svg{width:20px;height:20px;fill:var(--cta)}

.ferges-catalog-evo .more{display:flex;justify-content:center;margin:32px 0 8px}
.ferges-catalog-evo .more button{font-family:var(--font-sans);font-size:var(--fgcat-control-13);border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:14px 34px;cursor:pointer}

.ferges-catalog-evo .scrim{position:fixed;inset:0;background:rgba(31,30,27,.30);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:.25s;z-index:2147483000}
.ferges-catalog-evo .scrim.show{opacity:1;visibility:visible}
.ferges-catalog-evo .drawer{position:fixed;top:50%;left:50%;right:auto;height:auto;width:820px;max-width:calc(100vw - 48px);max-height:calc(100vh - 160px);background:var(--surface);z-index:2147483020;transform:translate(-50%,calc(-50% - 14px));opacity:0;visibility:hidden;transition:opacity .18s ease,transform .22s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;overflow:hidden;border-radius:18px;box-shadow:0 24px 70px rgba(40,38,32,.24)}
.ferges-catalog-evo .drawer.show{transform:translate(-50%,-50%);opacity:1;visibility:visible}
.ferges-catalog-evo .drawer__head{flex:0 0 auto;padding:22px 22px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface)}
.ferges-catalog-evo .drawer .drawer__head h3{font-family:var(--font-display);font-weight:500;font-size:var(--fgcat-drawer-title-26);margin:0}
.ferges-catalog-evo .drawer__head button{background:none;border:0;font-family:var(--font-sans);font-size:var(--fgcat-control-11);letter-spacing:.1em;text-transform:uppercase;color:var(--cta);cursor:pointer}
.ferges-catalog-evo .drawer__head .close{font-size:var(--fgcat-control-20);color:var(--ink);letter-spacing:0}
.ferges-catalog-evo .drawer__body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--cta) transparent;padding:6px 22px 18px}
.ferges-catalog-evo .drawer__body::-webkit-scrollbar{width:8px}
.ferges-catalog-evo .drawer__body::-webkit-scrollbar-track{background:transparent;border-radius:999px;margin:10px 0}
.ferges-catalog-evo .drawer__body::-webkit-scrollbar-thumb{background:var(--cta);border:3px solid var(--surface);border-radius:999px}
.ferges-catalog-evo .drawer__foot{flex:0 0 auto;padding:16px 22px 18px;border-top:1px solid var(--line);background:var(--surface)}
.ferges-catalog-evo .apply{width:100%;min-height:52px;border:0;border-radius:999px;background:var(--cta);color:var(--cta-ink);font-size:var(--fgcat-control-13);padding:15px;cursor:pointer}

.ferges-catalog-evo .toggle{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:var(--fgcat-body-14);cursor:pointer}
.ferges-catalog-evo .sw{width:42px;height:24px;border-radius:999px;background:#cfcdc3;position:relative;transition:.2s;flex:0 0 42px}
.ferges-catalog-evo .sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--surface);transition:.2s}
.ferges-catalog-evo .toggle.on .sw{background:var(--incart)}
.ferges-catalog-evo .toggle.on .sw::after{left:21px}
.ferges-catalog-evo .fgroup{padding:16px 0;border-bottom:1px solid var(--line)}
.ferges-catalog-evo .fgroup__t{font-size:var(--fgcat-body-11);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
.ferges-catalog-evo .price-row{display:flex;gap:10px}
.ferges-catalog-evo .price-row input{flex:1;font-family:var(--font-sans);border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:var(--surface);font-size:var(--fgcat-control-14);width:100%}
.ferges-catalog-evo .opt{display:flex;align-items:center;gap:11px;padding:8px 0;font-size:var(--fgcat-body-14);cursor:pointer}
.ferges-catalog-evo .opt input{width:17px;height:17px;accent-color:var(--cta)}
.ferges-catalog-evo .opt__label{min-width:0;line-height:1.22;overflow-wrap:anywhere}
.ferges-catalog-evo .opt .n{margin-left:auto;color:var(--brand);font-size:var(--fgcat-body-12)}
.ferges-catalog-evo #fBrand{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-items:start}
.ferges-catalog-evo #fBrand .fgroup__t{grid-column:1/-1}
.ferges-catalog-evo #fBrand .opt{padding:6px 0}

.ferges-catalog-evo .citem{display:flex;gap:12px;padding:4px 0 14px;border-bottom:1px solid var(--line)}
.ferges-catalog-evo .citem__img{width:60px;height:60px;border-radius:10px;background:var(--media);flex:0 0 60px;display:flex;align-items:center;justify-content:center;color:var(--media-icon);position:relative;overflow:hidden}
.ferges-catalog-evo .citem__img .fgcat-product-img{padding:0;width:100%;height:100%;max-width:none;flex:0 0 100%;object-fit:cover;transform:scale(1.025);transform-origin:center;backface-visibility:hidden}
.ferges-catalog-evo .citem__img svg{width:24px;height:24px;opacity:.75}
.ferges-catalog-evo .citem__bd{flex:1;min-width:0}
.ferges-catalog-evo .citem__bd .b{font-size:var(--fgcat-card-brand-10-5);letter-spacing:.14em;text-transform:uppercase;color:var(--brand);font-weight:600}
.ferges-catalog-evo .citem__bd .nm{font-family:var(--font-serif);font-weight:700;font-size:var(--fgcat-product-card-name-15-5,14.1px);margin:4px 0 4px;line-height:1.46;color:var(--ink)}
.ferges-catalog-evo .citem__bd .pr{font-family:var(--font-serif);font-weight:600;font-size:var(--fgcat-price-18)}
.ferges-catalog-evo .qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;overflow:hidden;margin-top:8px;background:var(--surface)}
.ferges-catalog-evo .qty button{width:28px;height:28px;border:0;background:var(--surface);cursor:pointer;font-size:var(--fgcat-control-15);color:var(--ink)}
.ferges-catalog-evo .qty span{min-width:28px;text-align:center;font-size:var(--fgcat-control-13)}
.ferges-catalog-evo .del{background:none;border:0;color:var(--muted);font-size:var(--fgcat-control-12);cursor:pointer;margin-top:8px;display:block}
.ferges-catalog-evo .total{display:flex;justify-content:space-between;align-items:baseline;margin:12px 0 2px}
.ferges-catalog-evo .total .lab{font-size:var(--fgcat-body-11);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ferges-catalog-evo .total .val{font-family:var(--font-serif);font-weight:600;font-size:var(--fgcat-price-22)}
.ferges-catalog-evo .fineprint{color:var(--muted);font-size:var(--fgcat-body-12);margin:6px 0 14px}
.ferges-catalog-evo .cart-empty{display:none;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:34px 24px 30px;text-align:center;color:var(--muted);font-size:var(--fgcat-body-14)}
.ferges-catalog-evo .cart-empty__icon{width:96px;height:96px;display:flex;align-items:center;justify-content:center;background:transparent}
.ferges-catalog-evo .cart-empty__icon img{display:block;width:96px;height:96px;object-fit:contain}
.ferges-catalog-evo .cart-empty__title{font-family:var(--font-serif);font-size:var(--fgcat-body-16);font-weight:600;color:var(--ink)}
.ferges-catalog-evo .cart-empty__text{font-size:var(--fgcat-body-13);color:var(--muted)}

/* cart popover — растёт по контенту, scroll появляется только при переполнении */
.ferges-catalog-evo .popcatch{position:fixed;inset:0;z-index:2147483010;background:transparent;visibility:hidden}
.ferges-catalog-evo .popcatch.show{visibility:visible}
.ferges-catalog-evo .cartpop{position:fixed;z-index:2147483030;top:96px;right:max(24px,calc((100vw - 1180px) / 2 + 24px));bottom:auto;width:390px;max-width:calc(100vw - 32px);height:auto;max-height:calc(100vh - 120px);display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain;background:var(--surface);border-radius:18px;box-shadow:0 22px 54px rgba(40,38,32,.22);padding:0;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s}
.ferges-catalog-evo .cartpop.show{opacity:1;visibility:visible;transform:none}
.ferges-catalog-evo .cartpop.is-empty{width:min(360px,calc(100vw - 32px));min-height:260px;max-height:min(360px,calc(100vh - 120px))}
.ferges-catalog-evo .cartpop.is-empty.show{transform:none}
.ferges-catalog-evo .cartpop.has-items #cartItems{max-height:calc(100vh - 270px)}
.ferges-catalog-evo .cartpop__head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;margin:0;padding:16px 18px 8px;background:var(--surface)}
.ferges-catalog-evo .cartpop__head span{font-size:var(--fgcat-body-11);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ferges-catalog-evo .cartpop__head button{border:0;background:none;font-size:var(--fgcat-control-18);cursor:pointer;color:var(--ink)}
.ferges-catalog-evo #cartView,.ferges-catalog-evo #cartFull,.ferges-catalog-evo #checkoutView,.ferges-catalog-evo #doneView{min-height:0}
.ferges-catalog-evo #cartView{height:auto;max-height:inherit;display:flex;flex-direction:column;min-height:0}
.ferges-catalog-evo #cartFull{flex:1 1 auto;min-height:0;max-height:inherit;display:flex;flex-direction:column}
.ferges-catalog-evo #cartItems{flex:1 1 auto;min-height:0;max-height:calc(100vh - 270px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--cta) transparent;border-radius:14px;padding:0 12px 10px 18px}
.ferges-catalog-evo #cartItems::-webkit-scrollbar{width:9px}
.ferges-catalog-evo #cartItems::-webkit-scrollbar-track{background:transparent;border-radius:999px;margin:10px 0}
.ferges-catalog-evo #cartItems::-webkit-scrollbar-thumb{background:var(--cta);border:3px solid var(--surface);border-radius:999px}
.ferges-catalog-evo #cartItems::-webkit-scrollbar-thumb:hover{background:var(--brand)}
.ferges-catalog-evo #cartItems .citem:last-child{border-bottom:0}
.ferges-catalog-evo .cartpop__summary{position:sticky;z-index:2;bottom:0;flex:0 0 auto;margin:0;padding:14px 18px 18px;background:var(--surface);box-shadow:0 -1px 0 var(--line)}
.ferges-catalog-evo .cart-chat-title{margin:14px 0 9px;font-size:var(--fgcat-body-11);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ferges-catalog-evo .cart-chat-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ferges-catalog-evo .cart-chat-actions button{min-width:0;height:44px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-family:var(--font-sans);font-size:var(--fgcat-control-13);line-height:1;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .15s ease}
.ferges-catalog-evo .cart-chat-actions button:hover{border-color:var(--ink)}
.ferges-catalog-evo .cart-chat-actions button:active{transform:scale(.98)}
.ferges-catalog-evo .cart-chat-actions button:disabled{opacity:.45;cursor:not-allowed;transform:none}
.ferges-catalog-evo .cart-chat-status{min-height:34px;margin:8px 0 0;color:var(--muted);font-size:var(--fgcat-body-12);line-height:1.45}
.ferges-catalog-evo [data-ferges-legacy-checkout][hidden]{display:none!important}
.ferges-catalog-evo #checkoutView,.ferges-catalog-evo #doneView{flex:1 1 auto;min-height:0;max-height:inherit;height:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 18px 18px;background:var(--surface)}
.ferges-catalog-evo #checkoutView{flex-direction:column;overflow:hidden}
.ferges-catalog-evo #doneView{overflow-y:auto}
.ferges-catalog-evo #checkoutView .cartpop__head,.ferges-catalog-evo #doneView .cartpop__head{margin:0 -18px 8px}
.ferges-catalog-evo .checkout-fields{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--cta) transparent;padding:0 0 12px}
.ferges-catalog-evo .checkout-fields::-webkit-scrollbar{width:8px}
.ferges-catalog-evo .checkout-fields::-webkit-scrollbar-track{background:transparent;border-radius:999px;margin:10px 0}
.ferges-catalog-evo .checkout-fields::-webkit-scrollbar-thumb{background:var(--cta);border:3px solid var(--surface);border-radius:999px}
.ferges-catalog-evo .co-back{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;background:none;cursor:pointer;padding:0;margin-left:-4px}
.ferges-catalog-evo .co-back svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ferges-catalog-evo .co-field{margin:14px 0 0}
.ferges-catalog-evo .co-field label{display:block;font-size:var(--fgcat-body-11);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 7px}
.ferges-catalog-evo .co-field input,.ferges-catalog-evo .co-field textarea{width:100%;font-family:var(--font-sans);border:1px solid var(--line);border-radius:12px;padding:13px 14px;background:var(--surface);font-size:var(--fgcat-control-14);color:var(--ink);outline:0;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.ferges-catalog-evo .co-field.is-focused input,.ferges-catalog-evo .co-field.is-focused textarea,.ferges-catalog-evo .co-field input:focus,.ferges-catalog-evo .co-field textarea:focus{border-color:var(--cta);box-shadow:0 0 0 3px rgba(70,68,60,.1)}
.ferges-catalog-evo .co-field.is-error input,.ferges-catalog-evo .co-field.is-error textarea{border-color:var(--error);box-shadow:0 0 0 3px rgba(143,58,49,.1)}
.ferges-catalog-evo .co-field textarea{min-height:84px;resize:vertical}
.ferges-catalog-evo .co-consent{display:grid;grid-template-columns:16px minmax(0,1fr);gap:10px;align-items:flex-start;margin:16px 0 0;font-size:var(--fgcat-body-12);color:var(--muted);line-height:1.5}
.ferges-catalog-evo .co-consent input{appearance:none;-webkit-appearance:none;position:relative;display:inline-block;flex:0 0 16px;margin:2px 0 0;width:16px;height:16px;border:1px solid var(--line);border-radius:3px;background:var(--surface);outline:0;box-shadow:none;cursor:pointer;transition:border-color .18s ease,background .18s ease}
.ferges-catalog-evo .co-consent input:checked{border-color:var(--cta);background:var(--cta)}
.ferges-catalog-evo .co-consent input:checked::after{content:"";position:absolute;left:4px;top:2px;width:5px;height:8px;border:solid var(--cta-ink);border-width:0 2px 2px 0;transform:rotate(45deg)}
.ferges-catalog-evo .co-consent.is-focused input{border-color:var(--cta);outline:0;box-shadow:none}
.ferges-catalog-evo .co-consent.is-error input{border-color:var(--error);outline:0;box-shadow:none}
.ferges-catalog-evo .co-consent__text{display:block;min-width:0;overflow-wrap:anywhere}
.ferges-catalog-evo .co-consent__text label{display:inline;margin:0;color:inherit;font:inherit;letter-spacing:0;text-transform:none;cursor:pointer}
.ferges-catalog-evo .co-consent a{color:var(--brand);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.ferges-catalog-evo .co-error{min-height:18px;margin:8px 0 0;color:var(--error);font-size:var(--fgcat-body-12);line-height:1.45}
.ferges-catalog-evo .checkout-actions{position:relative;z-index:2;flex:0 0 auto;margin:0 -18px -18px;padding:14px 18px 18px;background:var(--surface);box-shadow:0 -1px 0 var(--line)}
.ferges-catalog-evo .co-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.ferges-catalog-evo .apply[disabled],.ferges-catalog-evo .apply[aria-disabled="true"]{opacity:.45;cursor:not-allowed;transform:none!important}
.ferges-catalog-evo .co-fallback{margin:10px 0 12px;line-height:1.45}
.ferges-catalog-evo .co-fallback a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
.ferges-catalog-evo .order-receipt{flex-direction:column;align-items:center;gap:12px}
.ferges-catalog-evo .order-receipt .cartpop__head{align-self:stretch;flex:0 0 auto}
.ferges-catalog-evo .receipt-title{order:1;font-family:var(--font-display);font-weight:500;font-size:var(--fgcat-modal-title-24);line-height:1.08;color:var(--ink)}
.ferges-catalog-evo .receipt-code{order:2;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:var(--fgcat-body-12);letter-spacing:.08em}
.ferges-catalog-evo .receipt-qr{order:3;width:min(228px,70vw);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;margin:2px auto;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;color:var(--muted);font-size:var(--fgcat-body-12)}
.ferges-catalog-evo .receipt-qr svg{display:block;width:100%;height:100%}
.ferges-catalog-evo .receipt-copy{order:4;margin:0 auto;max-width:310px;color:var(--muted);font-size:var(--fgcat-body-12);line-height:1.55}
.ferges-catalog-evo .receipt-actions{order:5;display:flex;flex-direction:column;gap:10px;width:100%;max-width:310px;margin-top:2px}
.ferges-catalog-evo .receipt-actions .apply,.ferges-catalog-evo .receipt-actions .co-secondary{width:100%}
.ferges-catalog-evo .co-total{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 2px}
.ferges-catalog-evo .co-total .lab{font-size:var(--fgcat-body-11);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ferges-catalog-evo .co-total .val{font-family:var(--font-serif);font-weight:600;font-size:var(--fgcat-price-22)}
.ferges-catalog-evo .apply.tg{display:flex;align-items:center;justify-content:center;gap:8px}
.ferges-catalog-evo .apply.tg svg{width:16px;height:16px;fill:var(--cta-ink)}
.ferges-catalog-evo .co-secondary{width:100%;border:1px solid var(--line);background:none;border-radius:999px;font-size:var(--fgcat-control-13);padding:13px;cursor:pointer;margin-top:10px;color:var(--ink);font-family:var(--font-sans)}

/* product modal — стабильный размер, фото крупное и квадратное */
.ferges-catalog-evo .modal{position:fixed;z-index:2147483040;top:50%;left:50%;transform:translate(-50%,-46%);opacity:0;visibility:hidden;transition:.25s;width:980px;height:560px;max-width:calc(100% - 32px);max-height:calc(100vh - 64px);background:var(--surface);border-radius:18px;display:grid;grid-template-columns:560px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;overflow:hidden;box-shadow:0 30px 80px rgba(40,38,32,.3)}
.ferges-catalog-evo .modal.show{transform:translate(-50%,-50%);opacity:1;visibility:visible}
.ferges-catalog-evo .modal__scroll{display:contents;min-width:0;min-height:0}
.ferges-catalog-evo .modal__media{grid-column:1;grid-row:1/span 2;align-self:stretch;aspect-ratio:1/1;background:var(--media);min-height:0;height:100%;display:flex;align-items:center;justify-content:center;color:var(--media-icon);position:relative;overflow:hidden}
.ferges-catalog-evo .modal__media .fgcat-product-img{padding:0}
.ferges-catalog-evo .modal__media.has-image .fgcat-product-img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;display:block;transform:scale(1.025);transform-origin:center;backface-visibility:hidden}
.ferges-catalog-evo .modal__media svg{width:62px;height:62px;opacity:.75}
.ferges-catalog-evo .modal__body{grid-column:2;grid-row:1;padding:28px 28px 0;position:relative;display:flex;flex-direction:column;background:var(--surface);min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--cta) transparent}
.ferges-catalog-evo .modal__body::-webkit-scrollbar{width:8px}
.ferges-catalog-evo .modal__body::-webkit-scrollbar-track{background:transparent;border-radius:999px;margin:10px 0}
.ferges-catalog-evo .modal__body::-webkit-scrollbar-thumb{background:var(--cta);border:3px solid var(--surface);border-radius:999px}
.ferges-catalog-evo .modal__close{position:absolute;top:14px;right:16px;border:0;background:none;font-size:var(--fgcat-control-22);cursor:pointer;color:var(--ink)}
.ferges-catalog-evo .cartpop__head>button,.ferges-catalog-evo .modal__close,.ferges-catalog-evo .drawer__head .close{transition:transform .28s cubic-bezier(.4,0,.2,1),color .15s ease}
.ferges-catalog-evo .cartpop__head>button:hover,.ferges-catalog-evo .modal__close:hover,.ferges-catalog-evo .drawer__head .close:hover{transform:rotate(90deg);color:var(--brand)}
.ferges-catalog-evo .cartpop__head>button:active,.ferges-catalog-evo .modal__close:active,.ferges-catalog-evo .drawer__head .close:active{transform:rotate(90deg) scale(.9)}
.ferges-catalog-evo .modal__brand{font-size:var(--fgcat-card-brand-10-5);letter-spacing:.15em;text-transform:uppercase;color:var(--brand);font-weight:600}
.ferges-catalog-evo .modal .modal__name{font-family:var(--font-display);font-weight:700;font-size:var(--fgcat-product-modal-title-30,21px);line-height:1.32;margin:9px 0 6px}
.ferges-catalog-evo .modal__spec{color:var(--muted);font-size:var(--fgcat-modal-text-13)}
.ferges-catalog-evo .modal__desc{font-size:var(--fgcat-modal-text-13-5);line-height:1.6;color:var(--text-soft);margin:14px 0 0;flex:0 0 auto;min-height:0}
.ferges-catalog-evo .modal__detail-link{display:inline-flex;width:auto;align-self:flex-start;align-items:center;margin:14px 0 30px;padding:0;background:none;color:var(--brand);font-size:var(--fgcat-modal-text-13);font-weight:600;line-height:1.3;text-decoration:none;border:0;border-bottom:1px solid transparent;transition:border-color .18s ease,color .18s ease}
.ferges-catalog-evo .modal__detail-link:hover{color:var(--ink);border-bottom-color:currentColor}
.ferges-catalog-evo .modal__bottom{grid-column:2;grid-row:2;position:relative;z-index:2;margin:0;flex:0 0 auto;background:var(--surface);padding:18px 28px 28px;box-shadow:0 -1px 0 var(--line)}
.ferges-catalog-evo .modal__price{font-family:var(--font-serif);font-weight:600;font-size:var(--fgcat-price-25);display:flex;flex-wrap:wrap;gap:5px 10px;align-items:baseline}
.ferges-catalog-evo .modal__actions{display:flex;flex-direction:column;gap:12px;margin-top:18px;flex:0 0 auto}
.ferges-catalog-evo .modal__actions .btn-cart{width:100%;height:52px;min-height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;padding:0 18px;line-height:1.1;white-space:nowrap}
.ferges-catalog-evo .tg-pill{display:flex;width:100%;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:14px 22px;font-size:var(--fgcat-control-13);cursor:pointer;color:var(--cta);white-space:nowrap}
.ferges-catalog-evo .tg-pill svg{width:18px;height:18px;fill:var(--cta)}

.ferges-catalog-evo .fgcat-detail{max-width:1180px;margin:0 auto;padding:72px 24px 64px}
.ferges-catalog-evo .fgcat-detail__crumbs{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:var(--fgcat-body-12);margin:0 0 18px}
.ferges-catalog-evo .fgcat-detail__crumbs a,.ferges-catalog-evo .fgcat-detail__back{color:var(--cta);text-decoration:none;border-bottom:1px solid transparent}
.ferges-catalog-evo .fgcat-detail__crumbs a:hover,.ferges-catalog-evo .fgcat-detail__back:hover{border-bottom-color:currentColor}
.ferges-catalog-evo .fgcat-detail__crumbs span::before{content:"/";margin-right:10px;color:var(--line)}
.ferges-catalog-evo .fgcat-detail__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);gap:42px;align-items:start}
.ferges-catalog-evo .fgcat-detail__media-wrap{min-width:0}
.ferges-catalog-evo .fgcat-detail__media{aspect-ratio:1/1;border-radius:18px;background:var(--media);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--media-icon)}
.ferges-catalog-evo .fgcat-detail__media.has-image{background:var(--surface)}
.ferges-catalog-evo .fgcat-detail__media .fgcat-product-img{width:100%;height:100%;object-fit:cover;object-position:center}
.ferges-catalog-evo .fgcat-detail__media.has-image .fgcat-product-img,.ferges-catalog-evo .fgcat-related__media.has-image .fgcat-product-img{transform:scale(1.025);transform-origin:center;backface-visibility:hidden}
.ferges-catalog-evo .fgcat-detail__media .fgcat-product-ph__img{width:100%;height:100%;object-fit:cover;object-position:center}
.ferges-catalog-evo .fgcat-detail__gallery{display:flex;gap:10px;margin-top:12px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ferges-catalog-evo .fgcat-detail__gallery::-webkit-scrollbar{display:none}
.ferges-catalog-evo .fgcat-detail__thumb{width:72px;height:72px;flex:0 0 72px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:0;overflow:hidden;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease}
.ferges-catalog-evo .fgcat-detail__thumb.is-active{border-color:var(--cta);box-shadow:0 0 0 2px rgba(70,68,62,.12)}
.ferges-catalog-evo .fgcat-detail__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.ferges-catalog-evo .fgcat-detail__content{display:flex;flex-direction:column;min-width:0}
.ferges-catalog-evo .fgcat-detail__brand{font-size:var(--fgcat-detail-brand-13-65,13.65px);letter-spacing:.15em;text-transform:uppercase;color:var(--brand);font-weight:600;margin:0 0 12px}
.ferges-catalog-evo .fgcat-detail__badges{margin-bottom:12px}
.ferges-catalog-evo .fgcat-detail h1{font-family:var(--font-display);font-weight:700;font-size:clamp(22px,2vw,28px);line-height:1.18;letter-spacing:0;margin:0}
.ferges-catalog-evo .fgcat-detail__spec{color:var(--muted);font-size:var(--fgcat-body-15);margin:14px 0 0}
.ferges-catalog-evo .fgcat-detail__desc{font-size:var(--fgcat-body-15);line-height:1.7;color:var(--text-soft);margin:24px 0 0}
.ferges-catalog-evo .fgcat-detail__desc p{margin:0 0 1em}
.ferges-catalog-evo .fgcat-detail__accordions{margin:18px 0 0;border-top:1px solid var(--line)}
.ferges-catalog-evo .fgcat-detail__accordions details{border-bottom:1px solid var(--line);padding:0}
.ferges-catalog-evo .fgcat-detail__accordions summary{cursor:pointer;list-style:none;padding:18px 0;font-size:var(--fgcat-body-14);font-weight:700;color:var(--ink);display:flex;justify-content:space-between;gap:16px}
.ferges-catalog-evo .fgcat-detail__accordions summary::-webkit-details-marker{display:none}
.ferges-catalog-evo .fgcat-detail__accordions summary::after{content:"+";font-size:22px;line-height:1;color:var(--brand)}
.ferges-catalog-evo .fgcat-detail__accordions details[open] summary::after{content:"−"}
.ferges-catalog-evo .fgcat-detail__accordions details>div{color:var(--text-soft);font-size:var(--fgcat-body-14);line-height:1.65;padding:0 0 18px}
.ferges-catalog-evo .fgcat-detail__chars{display:grid;gap:10px;margin:0}
.ferges-catalog-evo .fgcat-detail__chars>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px}
.ferges-catalog-evo .fgcat-detail__chars dt{color:var(--muted)}
.ferges-catalog-evo .fgcat-detail__chars dd{margin:0;color:var(--ink)}
.ferges-catalog-evo .fgcat-detail__buy{margin-top:30px;padding-top:22px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:14px}
.ferges-catalog-evo .fgcat-detail__price{font-family:var(--font-serif);font-weight:600;font-size:var(--fgcat-price-32);color:var(--price);margin-bottom:4px;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline}
.ferges-catalog-evo .fgcat-detail__buy .btn-cart,.ferges-catalog-evo .fgcat-detail__mobile-buy .btn-cart{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;border:0;border-radius:999px;background:var(--cta);color:var(--cta-ink);font-family:var(--font-sans);font-size:var(--fgcat-control-13);line-height:1.1;padding:0 18px;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .15s ease}
.ferges-catalog-evo .fgcat-detail__buy .btn-cart:hover,.ferges-catalog-evo .fgcat-detail__mobile-buy .btn-cart:hover{background:var(--cta-hover)}
.ferges-catalog-evo .fgcat-detail__buy .btn-cart,.ferges-catalog-evo .fgcat-detail__buy .tg-pill{min-height:54px}
.ferges-catalog-evo .fgcat-detail__mobile-buy{display:none}
body.material-ocm-open .ferges-catalog-evo .fgcat-detail__mobile-buy,#header-outer.side-widget-open ~ * .ferges-catalog-evo .fgcat-detail__mobile-buy{display:none!important}
.ferges-catalog-evo .fgcat-detail__mobile-actions{display:grid;gap:10px}
.ferges-catalog-evo .fgcat-related{margin:58px 0 0}
.ferges-catalog-evo .fgcat-related h2{font-family:var(--font-display);font-weight:600;font-size:clamp(26px,3vw,38px);line-height:1.15;margin:0 0 20px}
.ferges-catalog-evo .fgcat-related__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ferges-catalog-evo .fgcat-related__card{display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius);background:var(--surface);color:var(--ink);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.ferges-catalog-evo .fgcat-related__card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(40,38,32,.1)}
.ferges-catalog-evo .fgcat-related__media{aspect-ratio:1/1;background:var(--media);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--media-icon)}
.ferges-catalog-evo .fgcat-related__media.has-image{background:var(--surface)}
.ferges-catalog-evo .fgcat-related__media .fgcat-product-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.ferges-catalog-evo .fgcat-related__body{display:flex;flex:1;flex-direction:column;padding:13px 14px 15px;background:var(--surface)}
.ferges-catalog-evo .fgcat-related__brand{font-size:var(--fgcat-card-brand-10);letter-spacing:.15em;text-transform:uppercase;color:var(--brand);font-weight:600;margin-bottom:8px}
.ferges-catalog-evo .fgcat-related__name{font-family:var(--font-serif);font-size:var(--fgcat-product-card-name-15-5,14.1px);font-weight:700;line-height:1.42;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ferges-catalog-evo .fgcat-related__spec{font-size:var(--fgcat-card-meta-12);color:var(--muted);margin-top:8px}
.ferges-catalog-evo .fgcat-related__price{font-size:var(--fgcat-price-18);margin-top:auto;padding-top:10px;display:flex;flex-wrap:wrap;gap:5px 8px;align-items:baseline}
.ferges-catalog-evo .fgcat-detail--missing{max-width:720px}
@media(max-width:760px){.ferges-catalog-evo .modal{grid-template-columns:1fr;height:auto}.ferges-catalog-evo .modal__media{align-self:start;aspect-ratio:1/1;min-height:0;height:auto;width:100%}}
.ferges-catalog-evo .chip,.ferges-catalog-evo .filters,.ferges-catalog-evo .sort,.ferges-catalog-evo .more button,.ferges-catalog-evo .apply,.ferges-catalog-evo .co-secondary,.ferges-catalog-evo .tg-pill,.ferges-catalog-evo .qty button,.ferges-catalog-evo .del,.ferges-catalog-evo .co-back,.ferges-catalog-evo .drawer__head button,.ferges-catalog-evo .opt,.ferges-catalog-evo .cartcap,.ferges-catalog-evo .btn-cart{transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .15s ease}
.ferges-catalog-evo .chip:hover{border-color:var(--ink)}
.ferges-catalog-evo .chip.is-active:hover{background:var(--cta-hover);border-color:var(--cta-hover)}
.ferges-catalog-evo .filters:hover{border-color:var(--ink)}
.ferges-catalog-evo .sort:hover{border-color:var(--ink)}
.ferges-catalog-evo .more button:hover{border-color:var(--ink)}
.ferges-catalog-evo .apply:hover{background:var(--cta-hover)}
.ferges-catalog-evo .apply:active,.ferges-catalog-evo .more button:active,.ferges-catalog-evo .chip:active,.ferges-catalog-evo .filters:active,.ferges-catalog-evo .btn-cart:active{transform:scale(.98)}
.ferges-catalog-evo .co-secondary:hover{border-color:var(--ink)}
.ferges-catalog-evo .tg-pill:hover{border-color:var(--brand)}
.ferges-catalog-evo .qty button:hover{background:var(--media)}
.ferges-catalog-evo .del:hover{color:var(--ink)}
.ferges-catalog-evo .co-back:hover{color:var(--brand)}
.ferges-catalog-evo .drawer__head button:not(.close):hover{opacity:.6}
.ferges-catalog-evo .opt:hover{color:var(--ink)}
.ferges-catalog-evo .scrim:not(.show),.ferges-catalog-evo .popcatch:not(.show),.ferges-catalog-evo .drawer:not(.show),.ferges-catalog-evo .cartpop:not(.show),.ferges-catalog-evo .modal:not(.show){display:none!important}
@media(max-width:760px){
  html.ferges-catalog-evo-overlay-open,body.ferges-catalog-evo-overlay-open{overflow:hidden;overscroll-behavior:none;touch-action:none}
  body.ferges-catalog-evo-overlay-open #header-outer,
  body.ferges-catalog-evo-drawer-open #header-outer{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
}
@media(max-width:760px){
  #ajax-content-wrap,.ocm-effect-wrap,.ocm-effect-wrap-inner,.container-wrap{max-width:100vw!important;overflow-x:clip!important}
  .ferges-catalog-evo:not(.ferges-catalog-evo__portal){width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow-x:hidden;overflow-y:visible;overscroll-behavior-x:none;touch-action:pan-y}
  .ferges-catalog-evo .page{width:100%;max-width:100vw;overflow-x:hidden;padding:14px 14px 40px}
  .ferges-catalog-evo .hero__top{align-items:center;flex-direction:row;justify-content:space-between;gap:10px}
  .ferges-catalog-evo .hero .hero__top h1{font-size:clamp(var(--fgcat-hero-mobile-min),10.8vw,var(--fgcat-hero-mobile-max));line-height:1.04;margin:0;min-width:0}
  .ferges-catalog-evo .hero p{display:none}
  .ferges-catalog-evo .cartcap{height:42px;max-width:132px;padding:0 14px;font-size:var(--fgcat-control-13);box-shadow:0 5px 16px rgba(40,38,32,.07)}
  .ferges-catalog-evo .audience-tabs{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:24px 0 0}
  .ferges-catalog-evo .audience-tab{width:100%;height:44px;font-size:var(--fgcat-control-15)}
  .ferges-catalog-evo .bar{display:grid;grid-template-columns:calc((100% - 12px) / 2) minmax(0,1fr) 72px;align-items:center;gap:12px 10px;margin:14px 0 18px}
  .ferges-catalog-evo .chips{order:1;grid-column:1/-1;width:auto;max-width:none;margin-left:-14px;margin-right:-14px;padding:0 14px 4px;gap:6px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-padding:14px;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 20px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 20px),transparent 100%)}
  .ferges-catalog-evo .chips::-webkit-scrollbar{display:none}
  .ferges-catalog-evo .chip{flex:0 0 auto;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;font-size:var(--fgcat-control-15)}
  .ferges-catalog-evo .bar .sp{display:none}
  .ferges-catalog-evo .filters{order:2;grid-column:1;width:100%;min-width:0;height:44px;justify-content:center;padding:0 14px;font-size:var(--fgcat-control-15);white-space:nowrap}
  .ferges-catalog-evo .filters svg{flex:0 0 16px}
  .ferges-catalog-evo .count{order:3;grid-column:2;font-size:var(--fgcat-control-15);line-height:44px;white-space:nowrap}
  .ferges-catalog-evo .select-wrap{order:4;grid-column:3;width:72px;height:44px;min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink)}
  .ferges-catalog-evo .sort-icon{display:block;position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;flex:0 0 18px}
  .ferges-catalog-evo .sort{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;opacity:0;font-size:16px}
  .ferges-catalog-evo .select-chevron{right:13px;width:16px;height:16px}
  .ferges-catalog-evo .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;width:100%;max-width:100%;overflow:visible}
  .ferges-catalog-evo .grid>*{min-width:0;max-width:100%}
  .ferges-catalog-evo .card{min-width:0;max-width:100%;border-radius:14px;contain:paint;isolation:isolate;backface-visibility:hidden}
  .ferges-catalog-evo .card:hover{transform:none;box-shadow:none}
  .ferges-catalog-evo .card__media svg{width:36px;height:36px}
  .ferges-catalog-evo .card__body{padding:11px 12px 12px;flex:0 0 auto;min-width:0;max-width:100%;min-height:0}
  .ferges-catalog-evo .card__brand{font-size:var(--fgcat-card-brand-10);line-height:1.24;letter-spacing:.13em;min-width:0;max-width:100%;min-height:24px;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .ferges-catalog-evo .card .card__name{font-size:var(--fgcat-product-card-name-15,13.65px);line-height:1.46;min-width:0;max-width:100%;min-height:var(--fgcat-product-card-name-min-15,39.9px)}
  .ferges-catalog-evo .card__spec{font-size:var(--fgcat-card-meta-12);margin-top:7px;min-width:0;max-width:100%;min-height:14px}
  .ferges-catalog-evo .card__price{font-size:var(--fgcat-price-19);margin-top:8px}
  .ferges-catalog-evo .card__cta{gap:8px;margin-top:10px;padding-top:0;min-width:0;max-width:100%}
  .ferges-catalog-evo .card .btn-cart,.ferges-catalog-evo .modal .btn-cart{height:40px;min-width:0;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-size:var(--fgcat-control-12-5);line-height:1;white-space:nowrap}
  .ferges-catalog-evo .modal__actions .btn-cart{height:52px;min-height:52px;flex:0 0 52px;padding:0 18px;line-height:1.1}
  .ferges-catalog-evo .btn-tg{width:34px;height:40px;flex:0 0 34px}
  .ferges-catalog-evo .btn-tg svg{width:20px;height:20px}
  .ferges-catalog-evo .scrim{z-index:2147483000;inset:-2px 0 -160px 0;min-height:calc(var(--fgcat-viewport-height,100dvh) + 160px)}
  .ferges-catalog-evo .drawer{z-index:2147483020;left:12px;right:12px;top:calc(var(--fgcat-viewport-top,0px) + 12px);bottom:auto;width:auto;max-width:none;height:auto;max-height:calc(var(--fgcat-viewport-height,100dvh) - 24px);min-height:0;transform:translateY(18px);box-shadow:0 18px 54px rgba(40,38,32,.22);border-radius:22px}
  .ferges-catalog-evo .drawer.show{transform:none}
  .ferges-catalog-evo .drawer__head{padding:calc(18px + env(safe-area-inset-top)) 18px 14px}
  .ferges-catalog-evo .drawer .drawer__head h3{font-size:var(--fgcat-drawer-title-24)}
  .ferges-catalog-evo .drawer__body{padding:8px 18px 18px;overscroll-behavior:contain}
  .ferges-catalog-evo .drawer__foot{position:sticky;z-index:2;bottom:0;background:var(--bg);padding:14px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 var(--line)}
  .ferges-catalog-evo .fgroup{padding:18px 0}
  .ferges-catalog-evo #fBrand{display:block}
  .ferges-catalog-evo #fBrand .opt{padding:10px 0}
  .ferges-catalog-evo .price-row input{height:48px;border-radius:14px;font-size:16px}
  .ferges-catalog-evo .opt{gap:14px;padding:10px 0;font-size:var(--fgcat-body-16)}
  .ferges-catalog-evo .opt input{width:22px;height:22px;flex:0 0 22px}
  .ferges-catalog-evo .opt .n{font-size:var(--fgcat-body-15)}
  .ferges-catalog-evo .apply{min-height:52px;font-size:var(--fgcat-control-15)}
  .ferges-catalog-evo .popcatch{z-index:2147483010}
  .ferges-catalog-evo .cartpop{z-index:2147483030;left:12px!important;right:12px!important;top:calc(var(--fgcat-viewport-top,0px) + 12px)!important;bottom:auto!important;width:auto;max-width:none;max-height:calc(var(--fgcat-viewport-height,100dvh) - 24px);height:auto;overflow:hidden;border-radius:22px;padding:0}
  .ferges-catalog-evo .cartpop.show{transform:none}
  .ferges-catalog-evo .cartpop.is-empty{left:18px!important;right:18px!important;top:50%!important;bottom:auto!important;width:auto;min-height:260px;max-height:340px;transform:translateY(-50%)}
  .ferges-catalog-evo .cartpop.is-empty.show{transform:translateY(-50%)}
  .ferges-catalog-evo .cartpop.has-items #cartFull{max-height:calc(var(--fgcat-viewport-height,100dvh) - 86px)}
  .ferges-catalog-evo .cartpop.has-items #cartItems{max-height:calc(var(--fgcat-viewport-height,100dvh) - 330px)}
  .ferges-catalog-evo #cartItems{padding:0 10px 12px 18px}
  .ferges-catalog-evo .cartpop__summary{padding-bottom:calc(28px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 var(--line)}
  .ferges-catalog-evo #checkoutView,.ferges-catalog-evo #doneView{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  .ferges-catalog-evo .co-field input,.ferges-catalog-evo .co-field textarea{font-size:16px}
  .ferges-catalog-evo #checkoutView.is-typing .checkout-actions .co-total,.ferges-catalog-evo #checkoutView.is-typing .checkout-actions .fineprint{display:none}
  .ferges-catalog-evo #checkoutView.is-typing .checkout-actions{padding-top:12px}
  .ferges-catalog-evo .receipt-actions{order:3}
  .ferges-catalog-evo .receipt-qr{order:4;width:min(210px,62vw)}
  .ferges-catalog-evo .receipt-copy{order:5}
  .ferges-catalog-evo .modal{z-index:2147483040;top:calc(var(--fgcat-viewport-top,0px) + 12px);left:12px;right:12px;bottom:auto;width:auto;max-width:none;height:auto;max-height:calc(var(--fgcat-viewport-height,100dvh) - 24px);display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;overscroll-behavior:contain;touch-action:pan-y;border-radius:22px;transform:translateY(18px);background:var(--surface)}
  .ferges-catalog-evo .modal.show{transform:none}
  .ferges-catalog-evo .modal__scroll{grid-column:1;grid-row:1;display:block;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--cta) transparent;background:var(--surface)}
  .ferges-catalog-evo .modal__scroll::-webkit-scrollbar{width:7px;height:7px}
  .ferges-catalog-evo .modal__scroll::-webkit-scrollbar-track{background:transparent;border-radius:999px;margin:10px 0}
  .ferges-catalog-evo .modal__scroll::-webkit-scrollbar-thumb{background:var(--cta);border:3px solid var(--surface);border-radius:999px}
  .ferges-catalog-evo .modal__media{grid-column:auto;grid-row:auto;align-self:start;flex:0 0 auto;aspect-ratio:1/1;min-height:0;height:auto;width:calc(100% + 2px);max-height:none;margin-left:-1px;margin-right:-1px}
  .ferges-catalog-evo .modal__body{flex:0 0 auto;min-height:0;overflow:visible;overscroll-behavior:auto;-webkit-overflow-scrolling:auto;touch-action:auto;padding-bottom:24px;scrollbar-gutter:auto}
  .ferges-catalog-evo .modal__bottom{grid-column:1;grid-row:2;position:relative;z-index:2;margin:0;padding:16px 28px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 var(--line)}
  .ferges-catalog-evo .fgcat-detail{width:100%;max-width:100vw;padding:14px 14px calc(178px + env(safe-area-inset-bottom));overflow-x:hidden}
  .ferges-catalog-evo .fgcat-detail__crumbs{margin:4px 0 14px;font-size:var(--fgcat-body-12);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .ferges-catalog-evo .fgcat-detail__grid{display:grid;grid-template-columns:1fr;gap:20px}
  .ferges-catalog-evo .fgcat-detail__media-wrap{min-width:0}
  .ferges-catalog-evo .fgcat-detail__media{border-radius:18px}
  .ferges-catalog-evo .fgcat-detail__gallery{gap:8px;margin-top:10px;padding-bottom:2px}
  .ferges-catalog-evo .fgcat-detail__thumb{width:58px;height:58px;flex-basis:58px;border-radius:10px}
  .ferges-catalog-evo .fgcat-detail h1{font-size:clamp(23px,5.6vw,28px);line-height:1.18}
  .ferges-catalog-evo .fgcat-detail__desc{font-size:var(--fgcat-body-16);line-height:1.68;margin-top:20px}
  .ferges-catalog-evo .fgcat-detail__buy{margin-top:24px;padding-top:20px}
  .ferges-catalog-evo .fgcat-detail__content>.fgcat-detail__buy{display:none}
  .ferges-catalog-evo .fgcat-detail__price{font-size:var(--fgcat-price-32)}
  .ferges-catalog-evo .fgcat-detail__chars>div{grid-template-columns:1fr;gap:4px}
  .ferges-catalog-evo .fgcat-detail__mobile-buy{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:2147481000;display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:14px;box-shadow:0 18px 50px rgba(40,38,32,.18)}
  .ferges-catalog-evo .fgcat-detail__mobile-buy .fgcat-detail__price{font-size:var(--fgcat-price-25);margin:0}
  .ferges-catalog-evo .fgcat-detail__mobile-buy .btn-cart,.ferges-catalog-evo .fgcat-detail__mobile-buy .tg-pill{min-height:52px}
  .ferges-catalog-evo .fgcat-related__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ferges-catalog-evo .br-m{display:inline}
}
@supports(-webkit-touch-callout:none){
  @media(max-width:760px){
    .ferges-catalog-evo .drawer__body{padding-bottom:18px}
    .ferges-catalog-evo .drawer__foot{padding-bottom:calc(18px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 var(--line)}
    .ferges-catalog-evo .cartpop__summary{padding-bottom:calc(24px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 var(--line)}
    .ferges-catalog-evo #checkoutView,.ferges-catalog-evo #doneView{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
    .ferges-catalog-evo .modal__body{padding-bottom:24px}
  }
}
@media(max-width:380px){
  .ferges-catalog-evo .page{padding-left:12px;padding-right:12px}
  .ferges-catalog-evo .chips{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px;scroll-padding:12px}
  .ferges-catalog-evo .hero .hero__top h1{font-size:var(--fgcat-hero-xs-size)}
  .ferges-catalog-evo .cartcap{max-width:126px;padding:0 12px}
  .ferges-catalog-evo .chip{padding:0 14px}
  .ferges-catalog-evo .grid{gap:12px 10px}
  .ferges-catalog-evo .bar{grid-template-columns:calc((100% - 10px) / 2) minmax(0,1fr) 70px;gap:12px 8px}
  .ferges-catalog-evo .filters{padding:0 12px;gap:7px}
  .ferges-catalog-evo .count{font-size:var(--fgcat-control-14)}
  .ferges-catalog-evo .select-wrap{width:70px}
  .ferges-catalog-evo .sort-icon{left:12.5px;width:17px;height:17px;flex-basis:17px}
  .ferges-catalog-evo .select-chevron{right:12px}
  .ferges-catalog-evo .card__body{padding:10px 10px 11px}
  .ferges-catalog-evo .card .card__name{font-size:var(--fgcat-product-card-name-14,12.74px);min-height:var(--fgcat-product-card-name-min-14,37.2px)}
  .ferges-catalog-evo .card .btn-cart{height:40px;min-height:40px;font-size:var(--fgcat-control-12);padding:0 10px}
  .ferges-catalog-evo .modal__actions .btn-cart{height:52px;min-height:52px;flex-basis:52px;font-size:var(--fgcat-control-12-5);padding:0 18px}
  .ferges-catalog-evo .btn-tg{width:32px;flex-basis:32px}
}

.ferges-catalog-evo .drawer__body,.ferges-catalog-evo #cartItems,.ferges-catalog-evo .checkout-fields,.ferges-catalog-evo .modal__body,.ferges-catalog-evo .modal__scroll{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--cta) transparent}
.ferges-catalog-evo .drawer__body::-webkit-scrollbar,.ferges-catalog-evo #cartItems::-webkit-scrollbar,.ferges-catalog-evo .checkout-fields::-webkit-scrollbar,.ferges-catalog-evo .modal__body::-webkit-scrollbar,.ferges-catalog-evo .modal__scroll::-webkit-scrollbar{width:7px;height:7px}
.ferges-catalog-evo .drawer__body::-webkit-scrollbar-track,.ferges-catalog-evo #cartItems::-webkit-scrollbar-track,.ferges-catalog-evo .checkout-fields::-webkit-scrollbar-track,.ferges-catalog-evo .modal__body::-webkit-scrollbar-track,.ferges-catalog-evo .modal__scroll::-webkit-scrollbar-track{background:transparent;border-radius:999px;margin:10px 0}
.ferges-catalog-evo .drawer__body::-webkit-scrollbar-thumb,.ferges-catalog-evo #cartItems::-webkit-scrollbar-thumb,.ferges-catalog-evo .checkout-fields::-webkit-scrollbar-thumb,.ferges-catalog-evo .modal__body::-webkit-scrollbar-thumb,.ferges-catalog-evo .modal__scroll::-webkit-scrollbar-thumb{background:var(--cta);border:2px solid transparent;background-clip:content-box;border-radius:999px}
.ferges-catalog-evo .drawer__body::-webkit-scrollbar-thumb:hover,.ferges-catalog-evo #cartItems::-webkit-scrollbar-thumb:hover,.ferges-catalog-evo .checkout-fields::-webkit-scrollbar-thumb:hover,.ferges-catalog-evo .modal__body::-webkit-scrollbar-thumb:hover,.ferges-catalog-evo .modal__scroll::-webkit-scrollbar-thumb:hover{background:var(--brand);background-clip:content-box}

/* === Checkout redesign по макету Figma 1495:12997 · 03.07.2026 (Claude) === */
.ferges-catalog-evo .cartpop{border-radius:28px}
.ferges-catalog-evo #checkoutView .cartpop__head span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:600}
.ferges-catalog-evo .co-field{margin-bottom:20px}
.ferges-catalog-evo .co-field label{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.ferges-catalog-evo .co-field input,.ferges-catalog-evo .co-field textarea{border-radius:14px;padding:15px 16px;font-size:15px;min-height:52px}
.ferges-catalog-evo .co-field textarea{min-height:120px}
.ferges-catalog-evo .co-consent{margin:2px 0 4px;gap:10px}
.ferges-catalog-evo .co-consent input{flex:0 0 20px;width:20px;height:20px;border-radius:5px}
.ferges-catalog-evo .co-consent input:checked::after{left:6px;top:3px;width:6px;height:10px}
.ferges-catalog-evo .co-consent__text{font-size:13px;line-height:1.5}
.ferges-catalog-evo .checkout-actions{padding-top:16px}
.ferges-catalog-evo .checkout-actions .co-total{margin:0 0 10px}
.ferges-catalog-evo .checkout-actions .co-total .val{font-size:26px}
.ferges-catalog-evo .checkout-actions .fineprint.co-note{text-align:center;font-size:13px;line-height:1.5;font-weight:400;color:var(--muted);margin:0 0 14px}
.ferges-catalog-evo .checkout-actions .fineprint.co-note a{color:var(--brand);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.ferges-catalog-evo .co-actions-row{display:flex;gap:12px;align-items:stretch}
.ferges-catalog-evo .co-return{flex:0 0 52px;width:52px;height:52px;border-radius:999px;border:1px solid var(--line);background:var(--media);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.ferges-catalog-evo .co-return svg{width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ferges-catalog-evo .co-return:hover{border-color:var(--ink)}
.ferges-catalog-evo .co-actions-row .apply.tg{flex:1;min-height:52px;border-radius:999px;font-size:15px;margin:0}


/* === Квиток: единая колонка по ширине QR + правки Рудольфа 03.07 === */
.ferges-catalog-evo .receipt-qr{width:min(240px,70vw)}
.ferges-catalog-evo .receipt-actions{max-width:min(240px,70vw);margin-left:auto;margin-right:auto}
.ferges-catalog-evo .receipt-copy{max-width:min(240px,70vw)}
@media(max-width:760px){
  .ferges-catalog-evo .receipt-qr{width:min(230px,64vw)}
  .ferges-catalog-evo .receipt-actions{max-width:min(230px,64vw)}
  .ferges-catalog-evo .receipt-copy{max-width:min(230px,64vw)}
}
/* Чекаут: симметрия отступов вокруг подписи + фирменный цвет CTA (03.07) */
.ferges-catalog-evo .checkout-actions{padding:14px 18px 18px}
.ferges-catalog-evo .checkout-actions .co-total{margin:0 0 12px}
.ferges-catalog-evo .checkout-actions .fineprint.co-note{margin:0 0 12px}
.ferges-catalog-evo .co-actions-row .apply.tg{background:#46443e}
.ferges-catalog-evo .co-actions-row .apply.tg:hover:not(:disabled){background:#3a3833}

/* === QR-рамка: равные поля со всех сторон (фикс Safari aspect-ratio во flex) · 03.07.2026 Claude === */
.ferges-catalog-evo .receipt-qr{aspect-ratio:auto;height:auto;max-width:100%}
.ferges-catalog-evo .receipt-qr svg{display:block;width:100%;height:auto;aspect-ratio:1/1}
