/* Страница услуги: каркас карточки, общие элементы калькулятора (кнопки-варианты, галочки с подсказками, регион)
   и состояния корзины. Оформление блоков шаблона — в самом шаблоне Elementor «Карточка услуги». */
body.ml-service-page{background:#041019!important}.ml-service-template{width:100%;min-width:0}.ml-service-template .ml-service-image-empty{display:grid;place-items:center;aspect-ratio:16/9;padding:24px;background:#0c1c26;color:#cbd4d7;font:700 24px/1.5 Manrope,sans-serif;text-align:center}#ml-service-form{padding:18px 22px 22px;font:400 15px/1.7 Manrope,sans-serif;color:#e0ded9}#ml-product-root #ml-service-form h3{font-size:19px;margin:0 0 20px}#ml-service-form .ml-service-option{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #293c47;cursor:pointer}#ml-service-form .ml-service-option input{margin-top:7px;accent-color:#69ada9}#ml-service-form .ml-service-option span{flex:1}#ml-service-form .ml-service-option small{color:#d5b879;white-space:nowrap}#ml-service-form .ml-service-select{display:grid;gap:8px;margin:18px 0}#ml-service-form select{background:#10222d;color:#e0ded9;border:1px solid #344b57;border-radius:6px;height:auto;min-height:44px;white-space:normal}#ml-service-form .ml-service-base-note{font-size:15px;line-height:1.8;color:#e0ded9;margin:0}.ml-service-page #mlp-sticky-price .woocommerce-Price-amount{font:inherit;color:inherit}.ml-service-page #mlp-sticky-price bdi{font:inherit}.ml-service-page #mlp-mobile-price .woocommerce-Price-amount{font:inherit;color:inherit}.ml-service-page #mlp-details-text:empty{display:none}.ml-service-page .mlp-order-column{min-width:0}#ml-product-root #ml-service-form :focus-visible{outline:2px solid #69ada9;outline-offset:3px}

/* Shared mobile catalog controls: loaded before product content. */
#mlp-mobile-catalog-toggle{display:none}
#mlp-mobile-catalog-content{width:100%!important}

@media(max-width:1024px){#ml-product-layout>.ml-catalog-sidebar{padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
#mlp-mobile-catalog-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:13px 16px;border:1px solid #2b414e;border-radius:10px;background:#0c1b26;color:#dce7ed;text-align:left;font-family:Manrope,sans-serif;cursor:pointer;text-transform:none;letter-spacing:0}
#mlp-mobile-catalog-toggle span:first-child{display:flex;flex-direction:column;gap:4px}
#mlp-mobile-catalog-toggle small{color:#8eabb9;font:400 10px/1.5 Manrope,sans-serif}
#mlp-mobile-catalog-toggle strong{font:600 13px/1.5 Manrope,sans-serif}
#mlp-mobile-catalog-toggle:focus-visible{outline:2px solid #a599c5;outline-offset:3px}
#mlp-mobile-catalog-toggle .mlp-mobile-catalog-icon{font-size:20px;color:#a599c5;transition:transform .2s}
#mlp-mobile-catalog-toggle[aria-expanded="true"] .mlp-mobile-catalog-icon{transform:rotate(180deg)}
#mlp-mobile-catalog-content{padding:14px 12px!important;border:1px solid #283b47;border-radius:10px;background:#0c1922}
#mlp-mobile-catalog-content:not(.is-open){display:none!important}
#ml-product-layout>.ml-catalog-sidebar{gap:10px!important}
}

@media(min-width:1025px){#mlp-mobile-catalog-toggle{display:none!important}}

@media(prefers-reduced-motion:reduce){#mlp-mobile-catalog-toggle .mlp-mobile-catalog-icon{transition:none}}

/* Shared calculator design. Leveling is the visual reference; all services inherit these controls. */
#ml-product-root{--ml-control-gold:var(--mlp-gold,#d5b879);--ml-control-accent:var(--mlp-accent,#63cfd6);--ml-control-bg:#152530;--ml-control-border:#344956;--ml-control-active-bg:#15343f;--ml-control-active-border:#5297a0;--ml-control-active-text:#b9eff1;--ml-control-text:var(--mlp-text,#dce5eb)}
#ml-product-root :is(#mlp-calculator,#ml-gold-form,#ml-service-form,#ml-dungeon-form){font-family:Manrope,Arial,sans-serif;color:var(--ml-control-text)}
#ml-product-root :is(#mlp-calculator,#ml-gold-form,#ml-service-form,#ml-dungeon-form) legend{color:var(--ml-control-gold);font-size:13px!important;font-weight:700;line-height:1.5!important}
#ml-product-root .mlp-segments{display:flex;gap:7px}
#ml-product-root .mlp-segments label{flex:1;position:relative;cursor:pointer;min-width:0;margin:0}
#ml-product-root .mlp-segments input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
#ml-product-root#ml-product-root .mlp-segments>label>span{display:flex;justify-content:center;align-items:center;min-height:44px;padding:7px 13px;background:var(--ml-control-bg);border:1px solid var(--ml-control-border);border-radius:6px;color:var(--ml-control-text);font:400 12px/1.5 Manrope,Arial,sans-serif;white-space:nowrap;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
#ml-product-root#ml-product-root .mlp-segments input:checked+span{border-color:var(--ml-control-active-border);background:var(--ml-control-active-bg);color:var(--ml-control-active-text);box-shadow:0 0 15px #43cdd415}
#ml-product-root#ml-product-root .mlp-segments label:hover>span{background:linear-gradient(140deg,rgba(99,207,214,.12),#15343f 82%);border-color:#61bfc5;box-shadow:0 0 20px rgba(80,200,207,.18),inset 0 0 18px rgba(80,200,207,.035);transform:translateY(-1px)}
#ml-product-root#ml-product-root .mlp-segments label:active>span{transform:translateY(0)}
#ml-product-root .mlp-segments input:focus-visible+span{outline:2px solid var(--ml-control-accent);outline-offset:3px}
#ml-product-root .mlp-method label{position:relative}
#ml-product-root#ml-product-root .mlp-method label>span{gap:4px;padding-inline:8px}
#ml-product-root#ml-product-root .mlp-method label>span small{font:700 10px/1 Manrope,Arial,sans-serif;color:var(--ml-control-gold)}
#ml-product-root#ml-product-root .mlp-method-tooltip{position:absolute;z-index:50;left:50%;bottom:calc(100% + 10px);width:min(300px,calc(100vw - 48px));padding:12px 14px;border:1px solid #69568d;border-radius:9px;background:#151927;box-shadow:0 12px 30px #020814b8;color:#e7e6f0;font:500 12px/1.55 Manrope,Arial,sans-serif;text-align:center;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,5px);transition:opacity .22s ease,visibility .22s ease,transform .22s ease}
#ml-product-root#ml-product-root .mlp-method-tooltip em{font-style:normal;font-weight:700}
#ml-product-root#ml-product-root .mlp-method-tooltip em.gold{color:var(--ml-control-gold,#d5b879)}
#ml-product-root#ml-product-root .mlp-method-tooltip em.teal{color:var(--ml-control-accent,#63cfd6)}
#ml-product-root#ml-product-root .mlp-method label:is(:hover,:focus-within) .mlp-method-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}
#ml-product-root#ml-product-root .mlp-method label:first-child .mlp-method-tooltip{left:0;transform:translateY(5px)}
#ml-product-root#ml-product-root .mlp-method label:first-child:is(:hover,:focus-within) .mlp-method-tooltip{transform:translateY(0)}
#ml-product-root#ml-product-root .mlp-method label:last-child .mlp-method-tooltip{left:auto;right:0;transform:translateY(5px)}
#ml-product-root#ml-product-root .mlp-method label:last-child:is(:hover,:focus-within) .mlp-method-tooltip{transform:translateY(0)}
@media(max-width:600px){#ml-product-root#ml-product-root .mlp-method label>span{padding-inline:4px;font-size:10px;white-space:normal;text-align:center}}

#ml-product-root :is(#mlp-calculator,#ml-gold-form,#ml-service-form,#ml-dungeon-form) .mlp-region{display:flex;align-items:center;gap:20px;margin-top:0;min-width:0}
#ml-product-root :is(#mlp-calculator,#ml-gold-form,#ml-service-form,#ml-dungeon-form) .mlp-region legend{float:none;width:auto;margin:0;display:block;flex:1;font-size:14px!important}
#ml-product-root .mlp-region .mlp-segments{clear:none;display:flex}
#ml-product-root#ml-product-root .mlp-region .mlp-segments span{gap:8px;padding:8px 12px}
#ml-product-root .mlp-region-flag{display:inline-block;width:22px;height:15px;object-fit:cover;border-radius:2px;flex:0 0 22px;border:1px solid rgba(255,255,255,.12)}
#ml-product-root .mlp-speed-icon{display:block;width:17px;height:17px;flex:0 0 17px;filter:drop-shadow(0 0 3px rgba(99,207,214,.2))}
#ml-product-root #ml-gold-form .mlg-field legend{float:none;width:auto;padding:0;margin:0 0 12px}
#ml-product-root #ml-gold-form .mlg-express strong{display:flex;align-items:center;gap:7px;font-family:Manrope,Arial,sans-serif;font-weight:650}
#ml-product-root #ml-gold-form .mlg-presets button.is-active{border-color:var(--ml-control-active-border);background:var(--ml-control-active-bg);color:var(--ml-control-active-text);box-shadow:0 0 15px #43cdd415}
#ml-product-root #ml-gold-form .mlg-express:has(input:checked){border-color:var(--ml-control-active-border);background:var(--ml-control-active-bg);box-shadow:0 0 15px #43cdd415}
#ml-product-root #ml-gold-form .mlg-express:hover{border-color:#61bfc5}
@media(max-width:360px){#ml-product-root#ml-product-root .mlg-segments>label>span{padding-inline:5px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#ml-product-root .mlp-segments label>span{transition:none!important;transform:none!important}}

#ml-product-root #ml-service-form .mlp-region{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #293e48}
#ml-product-root #ml-dungeon-form .mlp-region{padding-bottom:18px;margin-bottom:18px;border:0;border-bottom:1px solid #293e48}
/* One question-tooltip design for all product calculators, including currency delivery rows. */
#ml-product-root#ml-product-root .mlp-addon{position:relative;display:flex;align-items:center;gap:8px;min-height:46px;border:1px solid transparent;border-radius:7px;padding:3px 6px;margin-inline:-6px;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
#ml-product-root#ml-product-root .mlp-addon:hover{background:rgba(77,172,179,.065);border-color:rgba(99,207,214,.16);transform:translateX(2px)}
#ml-product-root#ml-product-root .mlp-addon .mlp-addon-label{display:flex;align-items:center;gap:7px;min-width:0;flex:1;cursor:pointer;font:500 11px/1.4 Manrope,Arial,sans-serif;color:#cbd8de}
#ml-product-root#ml-product-root .mlp-addon .mlp-addon-label input{appearance:none;-webkit-appearance:none;width:18px;height:18px;flex:0 0 18px;margin:0;border:1.5px solid #617684;border-radius:4px;background:#132632;cursor:pointer;position:relative}
#ml-product-root#ml-product-root .mlp-addon .mlp-addon-label input:checked{background:#6861e7;border-color:#817af1}
#ml-product-root#ml-product-root .mlp-addon .mlp-addon-label input:checked:after{content:'✓';position:absolute;inset:0;color:#fff;font:700 13px/15px Manrope,Arial,sans-serif;text-align:center}
#ml-product-root#ml-product-root .mlp-addon .mlp-addon-label input:focus-visible{outline:2px solid #b8adef;outline-offset:2px}
#ml-product-root#ml-product-root .mlp-help{width:36px;height:36px;flex:0 0 36px;border:1px solid #3c5262;border-radius:50%;padding:0;background:#1d3445;color:#b3c4d1;font:700 12px/1 Manrope,Arial,sans-serif;cursor:help;text-align:center}
#ml-product-root#ml-product-root .mlp-help:is(:hover,:focus-visible){color:#d3c6ff;border-color:#8882e9;box-shadow:0 0 10px #9287ff55}
#ml-product-root#ml-product-root .mlp-addon .mlp-tip{display:block!important;position:absolute;z-index:40;right:0;bottom:calc(100% + 9px);width:min(280px,calc(100vw - 50px))!important;max-width:calc(100vw - 50px)!important;margin:0;padding:12px 14px;border:1px solid #69568d;border-radius:9px;background:#151927;box-shadow:0 12px 30px #020814b8;color:#e7e6f0;font:500 12px/1.55 Manrope,Arial,sans-serif;text-align:center;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(5px);transition:opacity .22s ease,visibility .22s ease,transform .22s ease}
#ml-product-root#ml-product-root .mlp-addon .mlp-help:is(:hover,:focus-visible)+.mlp-tip{opacity:1;visibility:visible;transform:translateY(0)}
#ml-product-root#ml-product-root .mlp-addon .mlp-tip::after{display:none}
#ml-product-root#ml-product-root .mlp-addon-icon{width:19px;flex:0 0 19px;text-align:center;font:normal 15px/1.4 system-ui,sans-serif}
#ml-product-root#ml-product-root .mlp-addon-name{min-width:0;flex:1}
@media(prefers-reduced-motion:reduce){#ml-product-root#ml-product-root .mlp-addon,#ml-product-root#ml-product-root .mlp-addon .mlp-tip{transition:none;transform:none}}
/* Fieldset legends have native layout behaviour: keep the title out of the button row. */
#ml-product-root :is(#mlp-calculator,#ml-gold-form,#ml-service-form,#ml-dungeon-form) .mlp-region{position:relative;display:block!important;min-height:64px;padding:0 0 18px!important;margin:0 0 18px!important}
#ml-product-root :is(#mlp-calculator,#ml-gold-form,#ml-service-form,#ml-dungeon-form) .mlp-region legend{position:absolute;left:0;top:12px;float:none!important;clear:none!important;margin:0!important;width:auto!important}
#ml-product-root :is(#mlp-calculator,#ml-gold-form,#ml-service-form,#ml-dungeon-form) .mlp-region .mlp-segments{width:max-content;max-width:calc(100% - 70px);margin-left:auto;clear:none!important}
/* Single quantity slider shares the leveling range palette, thumb and rail. */
#ml-product-root .mlg-single-range{position:relative;height:32px;margin:8px 6px 0}
#ml-product-root .mlg-single-range .mlp-range-rail{top:14px}
#ml-product-root .mlg-single-range .mlp-range-rail i{right:auto;width:0}
#ml-product-root .mlg-single-range input{position:absolute;inset:0;width:100%;height:32px;margin:0;padding:0;appearance:none;-webkit-appearance:none;background:transparent;border:0;box-shadow:none;outline:none;cursor:pointer}
#ml-product-root .mlg-single-range input::-webkit-slider-thumb{width:16px;height:16px;border-radius:50%;background:var(--ml-control-gold);border:2px solid #e4cc94;box-shadow:0 0 9px #d5b87944;appearance:none;-webkit-appearance:none;cursor:grab}
#ml-product-root .mlg-single-range input::-moz-range-thumb{width:14px;height:14px;background:var(--ml-control-gold);border:2px solid #e4cc94;border-radius:50%;cursor:grab}
#ml-product-root .mlg-single-range input::-moz-range-track{background:transparent}
#ml-product-root .mlg-single-range input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--ml-control-accent);outline-offset:3px}
#ml-product-root #ml-gold-form .mlg-discount{font:500 11px/1.6 Manrope,Arial,sans-serif;color:var(--ml-control-gold);margin:12px 0 0}

#ml-product-root [hidden]{display:none!important}
#ml-product-root .ml-extra-options{min-width:0;border:0;padding:0;margin:18px 0}
#ml-product-root .ml-extra-options .ml-profession-kit-select{display:grid;gap:7px;margin:14px 0;font:600 12px/1.45 Manrope,Arial,sans-serif;color:var(--ml-control-gold)}
#ml-product-root .ml-extra-options select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--ml-control-border);border-radius:7px;background:var(--ml-control-bg);color:var(--ml-control-text);font:500 12px/1.45 Manrope,Arial,sans-serif}
#ml-product-root .ml-extra-options select:focus-visible{outline:2px solid var(--ml-control-accent);outline-offset:2px}
#ml-product-root .ml-extra-options .mlp-addon-price{margin-left:auto;white-space:nowrap;color:var(--ml-control-gold)}

/* Состояние добавления в корзину */
#ml-product-root .mlp-cart-status{font:500 13px/1.5 Manrope,Arial,sans-serif;color:#f4d1c6;margin:10px 0 0;max-width:100%}
#ml-product-root .mlp-cart-status[hidden]{display:none!important}
#ml-product-root .mlp-mobile-orderbar .mlp-cart-status{grid-column:1/-1;margin:0;font-size:12px}
#ml-product-root .mlp-primary[disabled]{opacity:.65;cursor:wait}

/* Рамка изображения — опора для бирок Hot / Sale / Preorder */
#ml-product-root .mlp-art-frame{position:relative}

/* Гайд под карточкой; пустой шорткод не оставляет места в колонке */
#mlp-leveling-guide{display:flex;flex-direction:column;gap:28px}
#ml-product-shell .elementor-widget-shortcode:has(>.elementor-shortcode:empty){display:none}

/* Телефон: пока внизу видна панель цены, кнопка чата встаёт в саму панель (справа), а «Наверх» не показывается —
   раньше обе кнопки висели над содержимым и перекрывали «+» и варианты количества в калькуляторе.
   Усиленные селекторы перекрывают старые правила с !important из шаблона Elementor «общий шаблон товара». */
@media(max-width:700px){
html body:has(#mlp-mobile-orderbar:not([hidden])) #ml-product-root#ml-product-root .mlp-mobile-orderbar:not([hidden]){grid-template-columns:minmax(0,1fr) auto;padding-right:72px}
html body:has(#mlp-mobile-orderbar:not([hidden])) #ml-product-root#ml-product-root .mlp-mobile-orderbar .mlp-primary{padding-left:12px;padding-right:12px;white-space:nowrap}
html body:has(#mlp-mobile-orderbar:not([hidden])) #mlcw-btn{width:46px!important;height:46px!important;right:14px!important;bottom:15px!important;box-shadow:0 4px 14px rgba(0,0,0,.3)!important}
html body:has(#mlp-mobile-orderbar:not([hidden])) #mlcw-btn svg{width:21px;height:21px}
html body:has(#mlp-mobile-orderbar:not([hidden])) #mlcw-peek{bottom:86px!important;right:12px!important}
html body:has(#mlp-mobile-orderbar:not([hidden])) #ml-back-to-top{display:none!important}
}
/* «Как пройдёт выполнение» — подсказки по способу выполнения (OrderFlow) */
#ml-product-shell #ml-product-root #mlp-flow{margin:34px 0 0}
#ml-product-shell #ml-product-root #mlp-flow>h2{font:800 var(--ml-copy-heading-size,28px)/1.4 Manrope,Arial,sans-serif;letter-spacing:0;color:var(--ml-copy-heading,#f2f0eb);margin:0 0 18px}
#ml-product-shell #ml-product-root .mlp-flow-v[hidden]{display:none}
#ml-product-shell #ml-product-root .mlp-flow-steps{counter-reset:mlflow;list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
#ml-product-shell #ml-product-root .mlp-flow-steps li{counter-increment:mlflow;position:relative;margin:0;padding:44px 14px 14px;border:1px solid #243a46;border-radius:12px;background:#0a1923;color:#c9d7de;font:400 14px/1.55 Manrope,Arial,sans-serif}
#ml-product-shell #ml-product-root .mlp-flow-steps li::before{content:counter(mlflow);position:absolute;left:14px;top:12px;width:24px;height:24px;border-radius:50%;background:rgba(112,203,208,.14);color:#70cbd0;font:700 13px/24px Manrope,Arial,sans-serif;text-align:center}
#ml-product-shell #ml-product-root .mlp-flow-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#ml-product-shell #ml-product-root .mlp-flow-cols h3{margin:0 0 10px;color:#d5b879;font:700 16px/1.4 Manrope,Arial,sans-serif}
#ml-product-shell #ml-product-root .mlp-flow-cols ul{margin:0;padding-left:20px;color:#c9d7de;font:400 15px/1.6 Manrope,Arial,sans-serif}
#ml-product-shell #ml-product-root .mlp-flow-cols li{margin:0 0 8px}
#ml-product-shell #ml-product-root .mlp-flow-cols li::marker{color:#70cbd0}
@media(max-width:700px){#ml-product-shell #ml-product-root .mlp-flow-steps,#ml-product-shell #ml-product-root .mlp-flow-cols{grid-template-columns:1fr}#ml-product-shell #ml-product-root .mlp-flow-steps{gap:8px}#ml-product-shell #ml-product-root .mlp-flow-steps li{padding:11px 14px 11px 50px}#ml-product-shell #ml-product-root .mlp-flow-steps li::before{top:11px}#ml-product-shell #ml-product-root #mlp-flow>h2{font-size:24px}}
