/* BEAUTY 21: shared navigation, 2026-11-10. Legacy menu blocks remain in Tilda. */
#t-header { position: sticky; top: 0; z-index: 10000; background: #fff; height: 99px; }
html { scroll-padding-top: 110px; }
body:has(#rec1420779851) :is(#rec293121113,
#rec293808786,
#rec293127297,
#rec293808888,
#rec293127392,
#rec293808942,
#rec293128534,
#rec293809185,
#rec293128599,
#rec293809355,
#rec293128705,
#rec293809422,
#rec293128928,
#rec293809512,
#rec293127505,
#rec293809066,
#rec298213944,
#rec305537029,
#rec305576891,
#rec305538685,
#rec305576999,
#rec305536952,
#rec305577055,
#rec305540620,
#rec305576768,
#rec313797378,
#rec298772385,
#rec444197863,
#rec444197919,
#rec444207863,
#rec444207897,
#rec568056914,
#rec568056915,
#rec568081433,
#rec568081434,
#rec568098406,
#rec568098407,
#rec568146662,
#rec568146663) { display: none !important; }

@media (max-width: 980px) {
  #t-header { height: 50px; }
  html { scroll-padding-top: 65px; }
  #rec1420779851 .t199__mmenu { padding: 16px 0 !important; box-sizing: border-box; height: calc(100dvh - 50px) !important; overflow-y: auto; }
  #rec1420779851 .t199__menu-item { font-size: 18px !important; line-height: 48px !important; min-height: 48px; }
  #rec1420779851 .t-menusub__link-item { font-size: 16px !important; line-height: 24px !important; }
}

/* Readable page titles on narrow screens; keep all service text. */
@media (max-width: 480px) {
  #allrecords h1 { font-size: 28px !important; line-height: 1.3 !important; overflow-wrap: break-word; }
  #allrecords h1 * { font-size: inherit !important; line-height: inherit !important; }
  #allrecords > .t-rec[data-record-type="30"]:has(h1),
  #allrecords > .t-rec[data-record-type="33"]:has(h1) { padding-top: 40px !important; padding-bottom: 30px !important; }
}

@media (min-width: 981px) {
  #rec1420779851 .t-menusub__menu, #rec1420779851 .t-menusub__content { width: 320px !important; max-width: calc(100vw - 40px); }
  #rec1420779851 .t-menusub__content { max-height: calc(100dvh - 120px); overflow-x: hidden; overflow-y: auto; }
}

/* Preserve the original BEAUTY 21 kokoshnik logo on the homepage. */
#rec163271872 #nav163271872 { display: block !important; position: relative !important; top: auto !important; height: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
#rec163271872 .t461__listwrapper,
#rec163271872 .t461__middlelinewrapper,
#rec163271872 .t461__bottomwrapper,
#rec163271872 .t461__alladditional,
#rec163271872 .tmenu-mobile { display: none !important; }
#rec163271872 .t461__maincontainer { padding: 0 !important; }
#rec163271872 .t461__topwrapper { display: block !important; height: auto !important; padding: 24px 0 !important; }
#rec163271872 .t461__logowrapper,
#rec163271872 .t461__logowrapper2 { position: static !important; display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; text-align: center; }
#rec163271872 .t461__imglogo { display: inline-block !important; width: 260px !important; max-width: 80vw !important; height: auto !important; max-height: none !important; }

/* BEAUTY 21: typography only, 2026-11-10. Source wording and prices are unchanged. */
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) { font-family: Raleway, Arial, sans-serif !important; font-size: 18px !important; line-height: 1.65 !important; font-weight: 400; text-align: left !important; color: #333 !important; max-width: 760px; margin-left: auto; margin-right: auto; }
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) * { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; text-align: inherit !important; }
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) p { margin-top: 0; margin-bottom: 1em; }
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) p:empty { display: none; }
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) br + br { display: none; }
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) :is(ul,ol) { margin: .6em 0 1em; padding-left: 1.4em; }
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) li { margin-bottom: .35em; }
:is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec851906284,#rec851906286,#rec851906287) { padding-top: 40px !important; padding-bottom: 40px !important; }
#rec1447775051 .t-col { float: none !important; width: 100% !important; max-width: 840px; padding: 0 20px !important; margin: 0 auto !important; box-sizing: border-box; }
#rec1447775051 [field="descr"] p:has(> strong:only-child) { font-size: 22px !important; line-height: 1.4 !important; margin-top: 1.2em; margin-bottom: .7em; }
#rec568101571 :is([field="text"],[field="descr"]) { color: #fff !important; }
#rec568101571 [field="descr"] { font-family: CASTELAR, Arial, sans-serif !important; font-size: 24px !important; line-height: 1.45 !important; }
@media (max-width: 480px) {
  :is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec568101571,#rec851906284,#rec851906286,#rec851906287) :is([field="text"],[field="descr"]) { font-size: 17px !important; line-height: 1.65 !important; }
  :is(#rec1447663261,#rec1447775051,#rec1447697951,#rec1447725361,#rec1447709231,#rec1447840311,#rec1447510691,#rec289212766,#rec1678611381,#rec1447486701,#rec851906284,#rec851906286,#rec851906287) { padding-top: 28px !important; padding-bottom: 28px !important; }
  #rec1447775051 [field="descr"] p:has(> strong:only-child) { font-size: 20px !important; }
  #rec568101571 [field="descr"] { font-size: 20px !important; }
}

/* Remove redundant breaks around the existing hair-section subtitle. */
#rec1447775051 [field="descr"] p + br,
#rec1447775051 [field="descr"] br:has(+ p),
#rec1447775051 [field="descr"] br:has(+ br + p) { display: none; }

/* BEAUTY 21: mobile price cards and persistent booking, 2026-11-10. Original cells, prices and booking URLs retained. */
@media (max-width: 640px) {
body:has(.b21-service-actions) {padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
body:has(.b21-service-actions) .b21-service-actions {position:fixed!important;bottom:0;left:0;right:0;z-index:9998;max-width:none;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))!important;gap:10px;background:#fff;border-top:1px solid #ddd;box-shadow:0 -3px 14px #00000014;flex-wrap:nowrap}
body:has(.b21-service-actions) .b21-service-actions a {min-height:48px;flex:1;min-width:0;font-size:14px;padding:12px 8px}
body:has(.b21-service-actions) .t431__table-wrapper {width:100%!important;max-width:100%!important;overflow:visible!important}
body:has(.b21-service-actions) .t431__table,body:has(.b21-service-actions) .t431__tbody {display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
body:has(.b21-service-actions) .t431__tbody tr {display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;box-sizing:border-box;width:100%;margin:0 0 12px;padding:16px;background:#fff!important;border:1px solid #dedede;border-radius:12px}
body:has(.b21-service-actions) .t431 .t431__td {display:block;box-sizing:border-box;width:auto!important;min-width:0;max-width:100%;padding:0!important;border:0!important;font:400 16px/1.5 Raleway,Arial,sans-serif!important;color:#222!important;overflow-wrap:break-word;text-align:left!important}
body:has(.b21-service-actions) .t431 .t431__td * {font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;color:inherit!important}
body:has(.b21-service-actions) .t431 .t431__td:empty {display:none!important}
body:has(.b21-service-actions) .t431 .t431__td:nth-child(2) {font-weight:600!important;text-align:right!important}
body:has(.b21-service-actions) .t431 tr:has(td:nth-child(2):empty) td:first-child {grid-column:1 / -1;font-weight:600!important}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659,#rec240411462) .t431__tbody tr {display:block!important}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659,#rec240411462) .t431__tbody tr:first-child {display:none!important}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659,#rec240411462) .t431 .t431__td:first-child {font-weight:600!important;font-size:17px!important;margin-bottom:10px}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659,#rec240411462) .t431 .t431__td:not(:first-child):not(:empty) {display:flex!important;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:baseline;padding:5px 0!important;text-align:left!important;font-weight:500!important}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659,#rec240411462) .t431 .t431__td::before {font:400 14px/1.5 Raleway,Arial,sans-serif;color:#555;flex:1;min-width:88px}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659) tr:has(td:nth-child(3):not(:empty)) td:nth-child(2)::before {content:"По уши"}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659) tr:has(td:nth-child(3):not(:empty)) td:nth-child(3)::before {content:"По плечи"}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659) tr:has(td:nth-child(3):not(:empty)) td:nth-child(4)::before {content:"До лопаток"}
:is(#rec240210261,#rec240212364,#rec240216936,#rec240223628,#rec458553456,#rec240388659) tr:has(td:nth-child(3):not(:empty)) td:nth-child(5)::before {content:"Ниже лопаток"}
#rec240411462 td:nth-child(2)::before {content:"Лазерная"}
#rec240411462 td:nth-child(3)::before {content:"Восковая"}
#rec240411462 td:nth-child(4)::before {content:"Сахарная"}
#rec240411462 td:nth-child(5)::before {content:"Воск SKIN’S"}
:is(#rec235100737,#rec289210150) .t431__tbody tr {display:block!important}
:is(#rec235100737,#rec289210150) .t431 .t431__td:first-child {font-weight:600!important;font-size:18px!important;margin-bottom:8px}
:is(#rec235100737,#rec289210150) .t431 .t431__td:nth-child(2) {font-weight:400!important;font-size:16px!important;color:#4d4d4d!important;text-align:left!important;margin-bottom:14px}
:is(#rec235100737,#rec289210150) .t431 .t431__td:nth-child(n+3) {display:flex!important;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:8px!important;font-weight:600!important}
:is(#rec235100737,#rec289210150) .t431 .t431__td:nth-child(3)::before {content:"Длительность";font-weight:400;color:#555}
:is(#rec235100737,#rec289210150) .t431 .t431__td:nth-child(4)::before {content:"Стоимость";font-weight:400;color:#555}
:is(#rec289252971,#rec289289986,#rec458553433) [field="descr"] {font:400 16px/1.5 Raleway,Arial,sans-serif!important;text-align:left!important;padding:0 20px;box-sizing:border-box}
:is(#rec289252971,#rec289289986,#rec458553433) [field="descr"] * {font:inherit!important}
}
