:root,body{--s-bg:#0f2036;--s-panel:#172e4b;--s-line:#385371;--s-text:#eff5ff;--s-muted:#bbcce0;--s-accent:#9ec9ff;--s-ink:#10243a;--line:var(--s-line);--glass:var(--s-panel);--muted:var(--s-muted)}
html body{background:var(--s-bg);color:var(--s-text);font-family:"Golos Text",system-ui,sans-serif}
body :is(h1,h2,h3,h4,input,textarea,select,button){font-family:inherit}
body main :is(h1,h2,h3){letter-spacing:-.035em}
body main h1{font-weight:700;line-height:1.08}
body :is(.restored-header,.mobile-nav,footer){background-color:var(--s-bg);border-color:var(--s-line)}
body :is(.shop-menu,.shop-filters,.shop-product,.shop-entries a,.article-link,.cart-row,.empty,.notice,.product,.service-request form,#checkout-form,#receipt){background:var(--s-panel);border-color:var(--s-line);border-radius:16px}
body :is(.button,.shop-buy,.service-contact){border-radius:12px}
body :is(.button.primary,.service-contact,.shop-buy){background:var(--s-accent);color:var(--s-ink)}
body :is(button,summary,.button,.service-contact,.city,.tile,.service-tile,.cobalt-card,.shop-entries a,.shop-menu a,.mobile-nav a,.icon-button,.cobalt-store,.cobalt-courier){user-select:none;-webkit-user-select:none;text-decoration:none}
@media(hover:hover){
 body :is(button,summary,.button,.service-contact,.city,.tile,.service-tile,.shop-entries a,.shop-menu a,.mobile-nav a,.icon-button,.cobalt-card,.cobalt-store,.cobalt-courier):hover{filter:none;text-decoration:none;box-shadow:inset 0 0 0 1px #84a9d3}
 body :is(.button.primary,.service-contact,.shop-buy):hover{background:#b5d7ff;color:var(--s-ink)}
}
.cobalt-home{max-width:1160px;margin:auto;padding:clamp(20px,4vw,48px) max(16px,2%) 48px}
.cobalt-home h1{font-size:clamp(38px,6vw,72px);margin:0 0 24px}
.cobalt-pair,.cobalt-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cobalt-card{display:grid;grid-template-rows:1fr auto;min-width:0;padding:clamp(14px,2.6vw,34px);border:1px solid var(--s-line);border-radius:18px;background:linear-gradient(145deg,#213f64,#162c49)}
.cobalt-card figure{display:flex;align-items:center;justify-content:center;margin:0;height:clamp(148px,22vw,244px)}
.cobalt-card img{width:100%;height:100%;padding:6px;object-fit:contain}
.cobalt-drawing{filter:grayscale(1) invert(1) brightness(3) contrast(1.22);mix-blend-mode:screen}
.cobalt-card h2{padding-top:16px;margin:12px 0 0;font-size:clamp(20px,3.2vw,40px);line-height:1.13}
.cobalt-home section+section{margin-top:clamp(26px,4vw,46px)}
.cobalt-home section>h2{font-size:clamp(30px,4vw,48px);margin:0 0 16px}
.cobalt-store,.cobalt-courier{display:flex;align-items:center;gap:20px;padding:20px;background:var(--s-panel);border:1px solid var(--s-line);border-radius:16px}
.cobalt-store img{width:25%;height:110px;object-fit:contain}
.cobalt-store h3,.cobalt-courier h2{margin:0;font-size:clamp(20px,2.5vw,30px);line-height:1.15}
.cobalt-store p,.cobalt-courier p{margin:6px 0 0;color:var(--s-muted)}
.cobalt-courier{display:block;margin-top:20px}
@media(hover:hover){.cobalt-home a:hover{background:#234367;border-color:#95b8e2}}
@media(max-width:680px){.cobalt-pair{gap:10px}.cobalt-card{padding:12px;border-radius:14px}.cobalt-card figure{height:clamp(110px,30vw,165px)}.cobalt-card h2{margin-top:8px;padding-top:12px;font-size:clamp(17px,4.8vw,26px)}.cobalt-home h1{margin-bottom:16px}.cobalt-stores{grid-template-columns:1fr;gap:12px}.cobalt-store{padding:14px}.cobalt-store img{height:82px}}
@media(max-width:700px){.tiles{grid-template-columns:minmax(0,1fr)}.tiles .tile{min-width:0}.tiles h2,.container h1,.article-link,.prose{overflow-wrap:anywhere}}

body :is(.cobalt-card,.cobalt-store,.cobalt-courier,.service-tile,.shop-entries a,.shop-menu a,.button,button,summary):any-link,
body :is(.cobalt-card,.cobalt-store,.cobalt-courier,.service-tile,.shop-entries a,.shop-menu a,.button,button,summary) :is(h2,h3,strong,span){text-decoration:none}
@media (hover:hover){
 body .shop-chips label:hover span,body .shop-toolbar select:hover,body .price-selection .price-card:hover{box-shadow:inset 0 0 0 1px #84a9d3;text-decoration:none}
}

body .handle-colors input[type=radio]{color:var(--s-text)}
@media (hover:hover){
 body .handle-colors input[type=radio]:hover{border-color:#d2e7ff;box-shadow:0 0 0 2px #789ac0}
 body .handle-colors input[type=radio]:focus-visible:hover{box-shadow:none}
}

/* Keep the label steady while the clickable surface responds to the pointer. */
body a.contact-number,
body #contact-panel a:not(.button),
body main.service-request a.back,
body main.service-request .parent-nav a {
  border-radius:8px;
  text-decoration:none;
  padding-inline:6px;
}
body main.service-request a.back,
body main.service-request .parent-nav a {color:#bed2e9}
body .service-request .rate,
body .courier-form select {border-radius:10px}
@media (hover:hover) {
  body a.contact-number:hover,
  body #contact-panel a:not(.button):hover,
  body main.service-request a.back:hover,
  body main.service-request .parent-nav a:hover,
  body .service-request .rate:hover,
  body .courier-form select:hover {
    background-color:#263f5c;
    box-shadow:inset 0 0 0 1px #84a9d3;
    text-decoration:none;
  }
  body main article.tile:has(.contact-number):hover {box-shadow:none;border-color:var(--s-line)}
}

body :is(.studio-info,.tile) a.contact-number,body #contact-panel a.studio-phone{
 color:#eff7ff;background:#223f60;border:1px solid #506f90;border-radius:10px;
 font-weight:700;font-size:clamp(16px,1.45vw,20px);font-variant-numeric:tabular-nums;
 padding:4px 9px;margin:0;text-decoration:none;line-height:1.25;display:inline-flex;align-items:center;gap:7px;min-height:36px;width:fit-content
}
body .studio-info dd{gap:5px}
.contact-number::before,.studio-phone::before{content:"";width:15px;height:15px;flex:none;background:#acd4ff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' d='M5 3h4l2 5-3 2c1.5 3 3 4.5 6 6l2-3 5 2v4c0 2-2 3-4 2C10 19 5 14 3 7c-.5-2 0-4 2-4Z'/%3E%3C/svg%3E") center/contain no-repeat}
body :is(.studio-social,.studio-messengers){display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
body :is(.studio-social,.studio-messengers) a.button,body #contact-panel .studio-social a.button{display:inline-flex;width:auto;align-items:center;justify-content:center;margin:0;min-height:36px;padding:6px 10px;font-size:14px;font-weight:600;border:1px solid #51708d;border-radius:9px;text-decoration:none}
body #contact-panel .studio-social{margin:8px 0 12px}body #contact-panel .studio-phone{margin-bottom:4px}body #contact-panel .studio-phone span{font-size:12px;font-weight:400}
@media(hover:hover){body :is(.studio-info,.tile) a.contact-number:hover,body #contact-panel a.studio-phone:hover{background:#2c4d72;box-shadow:inset 0 0 0 1px #9fc5ef}}
@media(max-width:380px){body .studio-info dl{grid-template-columns:4em minmax(0,1fr);column-gap:6px}body .studio-info a.contact-number{font-size:16px;padding-inline:6px;gap:4px}}
@media(pointer:coarse){body :is(.studio-info,.tile) a.contact-number,body :is(.studio-social,.studio-messengers) a.button{min-height:42px}}

body .studio-social a.button,body #contact-panel .studio-social a.button{
  width:44px;height:44px;min-height:44px;padding:0;font-size:0;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center
}
.studio-social a[href*="t.me/"]{--icon:url('/assets/social/telegram.svg');--tint:#67caff}
.studio-social a[href*="wa.me/"]{--icon:url('/assets/social/whatsapp.svg');--tint:#68dda3}
.studio-social a[href*="instagram.com/"]{--icon:url('/assets/social/instagram.svg');--tint:#ff9bc3}
.studio-social a.button::before{content:"";width:23px;height:23px;background:var(--tint);mask:var(--icon) center/contain no-repeat}

body .studio-social a.button,body #contact-panel .studio-social a.button{gap:0}
.studio-social a[href^="https://web.max.ru/"]::before{mask:none;background:transparent url("/assets/social/max.png") center/contain no-repeat}

@font-face{font-family:"Golos Text";src:url("/assets/fonts/golostext.woff2") format("woff2");font-style:normal;font-weight:400 900;font-display:swap}
html body main :is(h1,h2,h3,h4){font-family:"Golos Text",system-ui,sans-serif;font-weight:630;font-synthesis:none}
html body .cobalt-home :is(h1,h2,h3){letter-spacing:-.045em;line-height:1.12}
html body .cobalt-home h1{font-size:clamp(36px,5.15vw,72px)}
html body .cobalt-card h2{font-size:clamp(18px,2.45vw,33px)}

html body:has(.shop),html body:has(.hero),html body .shop,
html body :is(button,input,select,textarea,.button,.icon-button,.parent-nav a,main a.back),
html body .shop :is(select,input,button){font-family:"Golos Text",system-ui,sans-serif}

body .mobile-nav a:is(:hover,:active){box-shadow:none;background:transparent;text-decoration:none}
body .mobile-nav a:is(:hover,:active) svg{fill:#b9dcff;stroke:#b9dcff}
body .mobile-nav a[href="/services/"]:is(:hover,:active) svg{stroke-width:2.8}

@media (hover:hover) {
  body .service-tiles a.service-tile:hover,
  body a.tile:hover,
  body a.cobalt-store:hover,
  body a.cobalt-courier:hover,
  body .shop-entries a:hover,
  body .shop-menu a:hover,
  body .restored-header .icon-button:hover,
  body .restored-header .city:not(.active):hover,
  body #service-search-results>a:hover,
  body .button:not(.primary):not(.service-contact):not([aria-current=page]):hover {
    background-color:#203b5a;
    border-color:#45617f;
    box-shadow:none;
  }
  body a.cobalt-card:hover {
    background:linear-gradient(145deg,#29496f,#1c3554);
    border-color:#45617f;
    box-shadow:none;
  }
  body :is(.button.primary,.service-contact,.shop-buy):hover {
    background-color:#abd0ff;
    box-shadow:none;
  }
}

body .restored-header nav[aria-label="Главное меню"] a{
 display:inline-flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;min-height:44px;text-decoration:none
}
body .restored-header nav[aria-label="Главное меню"] a svg{display:block;width:22px;height:22px;flex:none;margin:0}
@media(hover:hover){
 body .restored-header nav[aria-label="Главное меню"] a:hover{
  background:transparent;box-shadow:none;text-decoration:none;filter:none
 }
 body .restored-header nav[aria-label="Главное меню"] a:hover svg{fill:#b9dcff;stroke:#b9dcff}
 body .shop :is(.shop-menu,.shop-filters)>summary:hover,
 body .shop .shop-chips label:hover span,
 body .price-toolbar button:hover,
 body .shop .shop-toolbar select:hover{background-color:#203b5a;box-shadow:none;filter:none}
 body .shop .shop-menu a[aria-current]:hover{background-color:#305477}
 body .shop .shop-chips label:hover input:checked+span,
 body .price-toolbar button.active:hover{background-color:#abd0ff}
 body .shop :is(.shop-menu,.shop-filters)>summary:hover{border-radius:8px}
 body .request-preview button:hover{filter:none;background-color:#abd0ff}
}

@media (min-width:768px) {
 body header.restored-header {
   display:grid;
   grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);
   align-items:center;
   column-gap:12px;
 }
 body header.restored-header > .brand {justify-self:start}
 body header.restored-header > nav {justify-self:center;margin:0}
 body header.restored-header > .head-actions {justify-self:end}
}
@media (min-width:768px) and (max-width:900px), (min-width:1101px) and (max-width:1149px) {
 body header.restored-header > nav {grid-column:1/-1;grid-row:2}
 body header.restored-header > .head-actions {grid-column:3;grid-row:1}
}

/* Consistent controls: 27 November 2026. */
body main .button,body main .service-contact,body main form>button:not([aria-label]){
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:44px;max-width:100%;padding:10px 16px;border-radius:10px;
 font:600 14px/1.4 "Golos Text",system-ui,sans-serif;text-align:center;vertical-align:middle;
 white-space:normal;text-decoration:none;
}
body main textarea{
 display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:120px;margin-top:8px;
 padding:12px 14px;border:1px solid var(--s-line);border-radius:12px;background:var(--s-bg);
 color:var(--s-text);font:400 16px/1.5 "Golos Text",system-ui,sans-serif;resize:vertical;
}
body main textarea::placeholder{color:var(--s-muted)}
body main :is(.courier-form,#checkout-form) label:has(>input[type=checkbox]){
 display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.45;font-weight:400;
}
body main :is(.courier-form,#checkout-form) input[type=checkbox]{
 appearance:auto;display:inline-block;flex:0 0 18px;width:18px;height:18px;min-height:18px;
 margin:0;padding:0;accent-color:var(--s-accent);border-radius:4px;
}
body .courier-modes{display:flex;gap:10px;flex-wrap:wrap}
body .courier-modes .button{flex:1;min-width:140px;margin:0}
body #receipt>div:has(>a),body #receipt>p:has(>.button){display:flex;align-items:center;flex-wrap:wrap;gap:10px}
@media(max-width:600px){body main .button{padding:10px 14px}body main .button+.button{margin-left:0}body main textarea{min-height:128px}}

/* Icon actions retain square proportions. */
body main .product-tools button,body main .shop-actions a{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;margin:0;gap:0}

/* Mobile controls audit: keep quantity steppers inside narrow product cards. */
body main .product-tools{flex-wrap:wrap;align-items:center;gap:8px}
body main .product-tools .item-stepper{flex:0 0 auto;max-width:100%}
body main .product-tools .item-stepper button{flex:0 0 44px}
@media(max-width:374px){body .shop-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){html{scroll-padding-bottom:88px}body main :is(button,input,textarea,select,a){scroll-margin-bottom:88px}}

/* Desktop form and action spacing audit, 27 November 2026. */
body main .product-tools + .button{margin-top:12px}
body main #cart > .button{margin:0 8px 10px 0}
body main .courier-form{padding:24px}
body main .courier-form label{margin:0 0 16px;font-size:14px;line-height:1.45}
body main .courier-form input:not([type=checkbox]):not([type=hidden]){min-height:46px;margin:8px 0 0;padding:10px 12px;font-size:16px;font-weight:400}
body main .courier-form textarea[name]{min-height:120px;margin-top:8px;padding:12px 14px;font-size:16px;font-weight:400}
body main .courier-form > small{display:block;margin:0 0 16px;line-height:1.5}
body main .courier-form > button{margin:0 8px 8px 0}
@media(max-width:600px){body main .courier-form{padding:18px}}
/* Contact panel: clear action and separated phone rows. */
body #contact-panel a.studio-phone{display:flex;width:100%;min-height:44px;margin:0 0 10px;padding:10px 12px;gap:10px}
body #contact-panel a.studio-phone span{margin-left:auto}
body #contact-panel a.panel-address{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;margin:8px 0 0;padding:10px 16px;background:#9fc9ff;color:#10243b;border-radius:12px;font-weight:600;text-decoration:none}
@media(hover:hover){body #contact-panel a.panel-address:hover{background:#b2d4ff;color:#10243b;text-decoration:none}}
body #contact-panel a.studio-phone{font-size:16px;white-space:nowrap;gap:8px}
body #contact-panel a.studio-phone span{font-size:11px;white-space:nowrap}
/* Studio directory: consistent rhythm and action sizes. */
body main.contact-page .studio-info{padding:24px;gap:28px}
body main.contact-page .studio-details>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
body main.contact-page .studio-info h2,body main.contact-page .studio-info p{margin:0}
body main.contact-page .studio-info dl{margin:18px 0;row-gap:12px;align-items:center}
body main.contact-page .studio-info dd{gap:8px}
body main.contact-page a.contact-number{margin:0;min-height:44px;padding:10px 12px;white-space:nowrap;font-size:16px}
body main.contact-page .studio-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body main.contact-page .studio-actions>.button{min-height:44px;padding:10px 14px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;margin:0}
body main.contact-page .studio-social{flex-basis:100%;margin:2px 0 0;gap:10px}
@media(max-width:600px){body main.contact-page .studio-info{padding:18px;gap:18px}body main.contact-page .studio-info dl{grid-template-columns:1fr;gap:6px}body main.contact-page .studio-info dd{margin-bottom:6px}body main.contact-page .studio-actions>.button{width:100%}}

/* Confirmed specifications and workshop guidance. */
.catalog-hand-badge{display:inline-flex;align-items:center;align-self:flex-start;padding:5px 10px;border-radius:8px;background:#254365;color:#edf4ff;font-size:14px;line-height:1.4;margin:6px 0}
.specs-guide{margin:16px 0;padding:12px 16px;border-radius:12px;background:#172e49}
.specs-guide summary{cursor:pointer;font-weight:600;min-height:24px}
.specs-guide p,.equipment-kit-note,.specs-source{font-size:15px;line-height:1.6}
.repair-kit-notice{margin:20px 0;padding:18px 20px;background:#172e49;border-radius:14px;max-width:72ch}
.repair-kit-notice p{margin:8px 0 0;line-height:1.6}
.repair-next{margin-top:32px}
body .equipment-specs{min-width:0;overflow-wrap:anywhere}
body .equipment-specs dd{min-width:0}
@media(max-width:600px){body .equipment-specs{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px}.repair-kit-notice{padding:16px}.specs-guide{padding:12px}}
