
/* === Дополнения к дизайн-системе === */
:root {
  --lh-body: 1.5;
  --lh-heading: 1.3;
  --lh-button: 1.2;

  --heading-margin-top: var(--space-xs);
  --heading-margin-bottom: var(--space-sm);
}
/* === Конец дополнений === */


:root {
  /* 🎨 Цвета */
  --color-primary: #0098c7;
  --color-secondary: #e15730;
  --color-gray-light: #f8f8f8;
  --color-gray-medium: #eee;
  --color-gray-deep: #444;
  --color-text: #000;
  --color-text-muted: #aaa;
  --color-bg: #fff;

  /* 📝 Шрифты */
  --font-family-base: "Montserrat", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.9rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.2rem;
  --font-size-xl: 1.4rem;

  /* 📐 Отступы */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  /* 🟦 Радиусы */
  --radius-sm: 0.6em;
  --radius-md: 1em;
  --radius-lg: 2em;
  --radius-round: 100%;

  /* 🌑 Тени */
  --shadow-sm: 0 .25rem 1rem rgb(0 0 0 / 10%);
  --shadow-md: 0 .4em 1.5em rgb(0 0 0 / 3%);
  --shadow-hover: 0 .4em 1.5em rgb(0 0 0 / 3%);

  /* ⚡ Переходы */
  --transition-fast: all 0.15s ease-in-out;
  --transition-slow: all 0.35s ease-in-out;
}

/* Дальше — твои стили, переписанные под переменные */

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

:root{
  --orange: var(--color-secondary);
  --blue: var(--color-primary);
  --gray: var(--color-gray-light);
  --trans: all 0.15s ease-in-out;
  --shadow-hover: 0.4em 0.4em 1.5em rgb(0 0 0 / 3%);
  --shadow: 0.4em 0.4em 1.5em rgb(0 0 0 / 2%);
  --smallFont: .9rem;
  --grayBg: var(--color-gray-medium);
}

html {
  scroll-behavior: smooth;
}

/* STYLE CLASSES */

.rounded {
  border-radius: var(--radius-md);
}

.grayBg {
  background: var(--grayBg);
}

.smallFont {
  font-size: var(--smallFont);
}

.xs-font {
    font-size: var(--font-size-xs);
}

.grayCard, #grayCard {
  border-radius: var(--radius-md);
  background: var(--grayBg);
  padding: .5rem .9rem;
  font-size: var(--smallFont);
}

#grayCard p {
  margin-bottom: 0;
}

.image {
  width: 100%;
  max-width: 32rem;
}

.hide {
  opacity: 0;
}

.barbos{
  color: white;
  text-decoration: none;
  background: -o-linear-gradient(30deg, #2a3b80, #2a5580);
  background: linear-gradient(60deg, #2a3b80, #2a5580);
  cursor: hover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  padding: var(--space-md) 1.5rem;
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  max-width: 33.5em;
}

.barbos:hover{
  color: white;
  text-decoration: none;
}

.barbos img{
  position: absolute;
  width: 6em!important;
  right: 1em;
  top: -1em;
  -webkit-transform: scale(1.2);
      -ms-transform: scale(1.2);
          transform: scale(1.2);
  margin-bottom: 0!important;
}

.barbos img,
.barbos h3,
.barbos p {
  margin: 0;
}

.barbos h3{
  margin-bottom: .25em;
}

body{
  font-family: var(--font-family-base), sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--lh-body);
  color: black;
  background-color: var(--gray);
  max-width: 100%;
  min-width: 20em;
  margin: 0 auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  grid-row-gap: 8em;
}


h1, h2, h3{
  font-weight: 600;
  margin: var(--space-xs) 0 var(--space-sm) 0;
  line-height: var(--lh-heading);
}

p{
  margin-top: 0;
  margin-bottom: 1em;
}

.gray, s{
    color: var(--color-text-muted);
}

.deep {
    color: var(--color-gray-deep);
}

a{
  color: inherit;
  text-decoration-line: underline;
  -webkit-text-decoration-line: underline;
  text-decoration-color: var(--orange);
  -webkit-text-decoration-color: var(--orange);
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

a:hover{
  text-decoration: none;
  color: var(--orange);
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

a:active{
  text-decoration: none;
  color: var(--orange);
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.logo{
  text-decoration: none;
}

.logo:hover{
  cursor: pointer;
  color: inherit;
}

.btn, button{
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: white;
  text-align: center;
  font: inherit;
  font-weight: 600;
  background-color: var(--blue);
  padding: var(--space-md) 1.25em;
  text-decoration: none;
  border-style: none;
  border-radius: var(--space-xl);
  outline-color: var(--orange);
  text-decoration: none;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

#wa{
  padding: var(--space-md) 1.25em;
  -webkit-box-shadow: none;
          box-shadow: none;
}

#orange{
  background-color: var(--orange);
}

#orange:hover{
  -webkit-box-shadow: 0 .25rem 2rem rgb(88 34 19 / 25%);
          box-shadow: 0 .25rem 2rem rgb(88 34 19 / 25%);
}

.orange-text{
  color: var(--orange);
}

button{
  width: 100%;
}

.btn:hover, button:hover{
  -webkit-box-shadow: 0 .25rem 2rem rgb(0 152 199 / 25%);
          box-shadow: 0 .25rem 2rem rgb(0 152 199 / 25%);
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.btn:active, button:active{
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button,
textarea::-webkit-scrollbar{
  -webkit-appearance: none;
  margin: 0;
}

textarea {
  -ms-overflow-style: none;
  scrollbar-width: none;  /* Firefox */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  resize: none;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input,
.select-selected,
textarea {
  color: inherit;
  font: inherit;
  font-weight: 600;
  background-color: white;
  padding: var(--space-md) 1.25em;
  text-decoration: none;
  border-style: none;
  border-radius: var(--space-xl);
  -webkit-box-shadow: none;
          box-shadow: none;
  outline-color: var(--orange);
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

::-webkit-input-placeholder{
  color: var(--color-text-muted);
}

::-moz-placeholder{
  color: var(--color-text-muted);
}

:-ms-input-placeholder{
  color: var(--color-text-muted);
}

::-ms-input-placeholder{
  color: var(--color-text-muted);
}

::placeholder{
  color: var(--color-text-muted);
}

input:hover{
  -webkit-box-shadow: var(--shadow-hover);
          box-shadow: var(--shadow-hover);
}

input:focus{
  -webkit-box-shadow: var(--shadow-hover);
          box-shadow: var(--shadow-hover);
  outline: none;
}

#reverse {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}

.anchor {
  position: absolute;
  top: -2rem;
}

.submit {
  position: relative;
}

.sticky {
    position: sticky;
    top: 2rem;
}

.fas, .fab {
  margin-right: .4em;
}

.form-msg {
  margin-top: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
}

.form-msg .fas {
  font-size: 1.25em;
  margin-right: 0.75em;
}

.error{
  color: #BF3F3F;
}

.success{
  color: #58A65D;
}

/* The container must be positioned relative: */

.inline {
    display: inline-flex;
    flex-wrap: wrap;
}

.radio-label {
  padding: .5em .75em;
  border-radius: 3em;
  font-weight: 600;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  margin-top: .5em;
  margin-right: .5em;
  cursor: pointer;
  background-color: white;
}

input[type="radio"]:checked+label { 
    background-color: #4a4a4a;
    color: white;
}

input[type="radio"] {
    appearance: none;
    display: none;
}

select {
  display: none;
}

.custom-select {
  position: relative;
  margin-bottom: 0!important; 
}

.select-selected::after {
  position: absolute;
  content: "";
  top: 50%;
  -webkit-transform: translate(-50%, -10%);
      -ms-transform: translate(-50%, -10%);
          transform: translate(-50%, -10%);
  right: .7em;
  width: 0;
  height: 0;
  border: .25em solid transparent;
  border-color: var(--orange) transparent transparent transparent;
}

.select-selected {
  margin-bottom: 0!important;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active::after {
  border-color: transparent transparent var(--orange) transparent;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: inherit;
  cursor: pointer;
}

.select-items {
  border-radius: var(--space-xl);
}

.select-items div {
  padding: var(--space-md) 1.25em;
  border-radius: var(--radius-lg);
  margin: 0!important;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none!important;
}

.select-items div:hover {
  color: white;
  background-color: var(--orange);
}

.card{
  background: white;
  -webkit-box-shadow: var(--shadow-hover);
          box-shadow: var(--shadow-hover);
  padding: 2em;
  border-radius: var(--radius-md);
}

header, .contacts{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  z-index: 99;
}

.topbar{
  height: 5em;
  padding: 0 0 2em 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main{
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
  grid-column-gap: 3em;
  grid-row-gap: 1em;
}

.start{
  -webkit-box-align:start;
      -ms-flex-align:start;
          align-items:start
}

.cta{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.text, iframe{
  margin-bottom: 1em;

}

.map img{
  border-radius: var(--radius-md);
  -webkit-box-shadow: var(--shadow);
          box-shadow: var(--shadow);
  margin-bottom: 1em;
}

.text h1{
  max-width: 22rem;
}

.cta img{
  width: 100%;
  margin-bottom: 1em;
  max-width: 27em;
}

.submit, .map{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.inputs{
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
  grid-column-gap: 1em;
}

.inputs div{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: .75em;
}

.inputs label {
  font-size: .75em;
  font-weight: 600;
}

.popular{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.popular-list{
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7em, 1fr));
  grid-column-gap: .25em;
  grid-row-gap: 1.5em;
}

.popular-list a{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  margin: 0.5em;
}

.popular-list img{
  width: 100%;
  opacity: 76%;
  border-radius: 100%;
  margin-bottom: .5em;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.popular-list img:hover{
  opacity: 100%;
  -webkit-transform: translateY(-.2rem);
      -ms-transform: translateY(-.2rem);
          transform: translateY(-.2rem);
  -webkit-box-shadow: 0 .25rem 1rem rgb(0 0 0 / 10%);
          box-shadow: 0 .25rem 1rem rgb(0 0 0 / 10%);
}

.popular-list p{
  margin-bottom: 0;
}

.logo{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.logo img{
  margin-right: .8em;
  height: 2em;
}

.logo p{
  font-weight: 600;
  margin: 0;
}

.logo:hover{
  color: inherit;
  text-decoration: none;
}

.mobile-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  z-index: 998;
  position: fixed;
  bottom: .8em;
}

#left {
  left: 1.5em;
}

#right {
  right: 1.5em;
  text-align: right;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

#right .fas, #right .fab {
    margin-right: 0;
    margin-left: .75em;
}

#right .fa-times, #right .fa-paw {
    margin-right: .4em;
    margin-left: 0;
}

#right p {
    margin-bottom: 0;
}


.mobile-nav-toggle-open,
.mobile-nav-toggle-close {
  padding: var(--space-md);
  width: 7em;
  border-radius: var(--space-xl);
  font-weight: 600;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-box-shadow: 0 -0.4em 2em rgb(0 0 0 / 15%);
          box-shadow: 0 -0.4em 2em rgb(0 0 0 / 15%);
  margin-top: 1em;
  cursor: pointer;
}

.mobile-nav-toggle-close {
  background-color: var(--color-gray-deep);
  color: white;
  opacity: 1;
}

.mobile-nav-toggle-open {
  background-color: white;
  opacity: .98;
  
}

.mobile-nav-toggle {
  display: none;
}

nav {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: 6em;
  background: white;
  -webkit-box-shadow: 0 -0.4em 2em rgb(0 0 0 / 15%);
          box-shadow: 0 -0.4em 2em rgb(0 0 0 / 15%);
  padding: .7em 1.5em;
  border-radius: var(--radius-md);
}

#left a {
  text-decoration: none;
  font-weight: 600;
  margin: 1em 0;
}

.mobile-nav-toggle:checked ~ nav,
.mobile-nav-toggle:checked ~ .mobile-nav-toggle-close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.mobile-nav-toggle:not(:checked) ~ .mobile-nav-toggle-close {
  display: none;
}

.mobile-nav-toggle:checked ~ .mobile-nav-toggle-open {
  display: none;
}

.phone a{
  text-decoration: none;
  font-weight: 600;
  margin: 0 1em;
}

.phone a{
  margin-right: 0;
}

.nav a:hover, .phone a:hover, nav a:hover{
  color: var(--orange);
}

.wrapper {
  width: 100%;
  max-width: 80em;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 4vw;
  position: relative;
}

.narrow {
    max-width: 48rem;
}

footer {
  background-color: white;
  padding: var(--space-xxl) 0 1em 0;
  border-radius: var(--radius-lg);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  -webkit-box-shadow: 0 .25rem 2rem rgb(0 0 0 / 2%);
          box-shadow: 0 .25rem 2rem rgb(0 0 0 / 2%);
  z-index: 999;
}

#foo-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.foo-nav {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5em, 1fr));
  grid-column-gap: .25em;
  grid-row-gap: 1.5em;
}

.foo-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: var(--space-xxl);
}

.foo-list h3, .foo-list a, .foo-list p,
.foo-list h3:hover, .foo-list a:hover, .foo-list p:hover {
  font-size: 1em;
  text-decoration: none;
  margin: .25em;
}

.foo-contacts {
  width: 100%;
  margin-top: 3em;
  color: var(--color-text-muted);
}

#add-to-form {
  display: none;
}

.summary {
  position: relative;
  background: antiquewhite;
  padding: .5rem .9rem;
  border-radius: var(--radius-md);
}

@media screen and (max-width: 54rem) {

  .foo-list h3, .foo-list a, .foo-list p,
  .foo-list h3:hover, .foo-list a:hover, .foo-list p:hover {
    padding: .3rem 0;
  }
  
  #sticky {
    position: sticky;
    top: 0;
    background-color: var(--gray);
  }
  
  #submit {
  position: absolute;
  top: -10rem;
}
  
  #add-to-form,
  #add-to-form:hover,
  #add-to-form:active {
  display: block;
  margin: auto;
  background: var(--color-gray-deep);
  -webkit-box-shadow: none;
          box-shadow: none;
  
  }
  
  .summary {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}


@media screen and (max-width: 25em) {
  /*body{
    font-size: .975rem;
  }*/

  header .phone {
    display: none;
  }
  
  h1 {
      font-size: 1.4rem;
  }
  
  h2 {
      font-size: 1.2rem;
  }
  
}

/* Reviews */

.reviews {
  background: -o-linear-gradient(30deg, #111, #444);
  background: linear-gradient(60deg, #111, #444);
  font-family: inherit;
  padding: 5em 0;
}

.reviews .text {
  color: white;
  z-index: 99;
}

.stars {
  height: 1em;
}

.reviews .btn, .text .btn, .reviews h1 {
  max-width: 16rem;
}

.slider {
  -ms-overflow-style: none;
  scrollbar-width: none;  /* Firefox */
  -ms-scroll-snap-type: y mandatory;
      scroll-snap-type: y mandatory;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 22.5em;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  border-radius: var(--radius-md);
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide {
  scroll-snap-align: start;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: auto;
  margin-bottom: 1em;
}

.slide:nth-last-child(1) {
  margin-bottom: 0;
}

/* A C C O R D I O N   S T Y L E  */

.tab input {
  display: none;
}

.calc input,
.row input,
#base-info input {
  display: block;
}

.tabs {
  max-width: 30rem;
  overflow: hidden;
  margin-top: 1em;
}

.tab {
  width: 100%;
  color: inherit;
  overflow: hidden;
}

.tab h3{
  font-size: 1em;
  margin: .25em 0;
}

.tab-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
  background: white;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
  /* Icon */
}
.tab-label:hover {
  border-color: var(--color-gray-light);
}
.tab-label::after {
  content: "\00D7";
  width: 1em;
  font-size: 1.5em;
  text-align: center;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all 0.35s;
  -o-transition: all 0.35s;
  transition: all 0.35s;
}

.tab-label p {
    margin-bottom: 0.25em;
    font-weight: 400;
    font-size: .85rem;
}

.tab-content {
  visibility: hidden;
  height: 0;
  padding: 0 1em;
  color: inherit;
  background: var(--gray);
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

.tabs input:checked + .tab-label {
  border-radius: var(--radius-sm);
}
.tabs input:checked + .tab-label::after {
  content: "\00D7";
  color: var(--orange);
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
.tabs input:checked ~ .tab-content {
  visibility: visible;
  height: auto;
  padding: var(--space-md) var(--space-xs);
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.row b {
  margin-left: 1em;
}

.category {
  margin-bottom: 1em;
}

.category p,
#base-info p {
  color: var(--color-gray-deep);
  font-size: var(--font-size-sm);
}

.selected-services h3,
.selected-services p {
  margin: var(--space-xs) 0;
}

.selected-services h3 {
  font-size: var(--font-size-md);
}

.selected-services,
#services-block {
  margin-bottom: var(--space-sm);
}

.category:last-child {
  margin-bottom: 0;
}

.tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  border-radius: var(--space-xl);;
  margin-bottom: 0.5em;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.tags p,
.tags a,
.tags p:hover,
.tags a:hover {
  font-weight: 600;
  margin-bottom: 0;
  text-decoration: none;
}

.tag {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0.75em;
  font-size: var(--smallFont);
  border-radius: var(--radius-md);
  background: var(--color-gray-medium);
  margin: 0.25em 0.5em 0.25em 0;
}

.tags img{
  height: 1em;
  width: 1em;
  margin-bottom: 0;
  margin-right: .5em;
}

.tab ul {
  list-style-type: none;
  padding-left: .5rem;
}

.slidecontainer {
  width: 100%; /* Width of the outside container */
  padding: .5em 0;
}

/* The slider itself */

.slidecontainer input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  padding: 0;
  margin: 1em 0 2em 0;
}

.slidecontainer span {
  margin-left: 0.35rem;
}

.rangeslider {
  -webkit-appearance: none;
  width: 100%;
  height: .5rem;
  background: #d3d3d3;
  outline: none;
  border-radius: .5rem;
  -webkit-transition: .2s;
  -webkit-transition: opacity .2s;
  -o-transition: opacity .2s;
  transition: opacity .2s;
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.rangeslider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  /* transform: translateY(-.5rem);*/
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-secondary);
  border-radius: 1rem;
  border: .5rem solid white;
  -webkit-box-shadow: 1px 2px 3px rgb(0 0 0 / 10%);
          box-shadow: 1px 2px 3px rgb(0 0 0 / 10%);
  cursor: pointer;
}

.rangeslider::-moz-range-thumb {
  width: .5rem;
  height: .5rem;
  background: var(--color-secondary);
  border-radius: 1rem;
  border: .5rem solid white;
  box-shadow: 1px 2px 3px rgb(0 0 0 / 10%);
  cursor: pointer;
}

.ideas img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.ideas img:hover {
  -webkit-transform: scale(1.02) rotate(1deg);
      -ms-transform: scale(1.02) rotate(1deg);
          transform: scale(1.02) rotate(1deg);
  -webkit-box-shadow: var(--shadow-hover);
          box-shadow: var(--shadow-hover);
}

.gallery {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
  gap: 1em;
  grid-auto-flow: row dense;
}

.black {
  background: -o-linear-gradient(30deg, #111, #444);
  background: linear-gradient(60deg, #111, #444);
  font-family: inherit;
  padding: 2em 0;
  color: white;
}

.black .map {
  position: relative;
}

.black p, .black .text {
  margin-bottom: 0;
  max-width: 25em;
  z-index: 2;
}

#iphone {
  height: 5em;
  z-index: 1;
}

.iphone{
  position: absolute;
  top: -8em;
  right: 1em;
  width: 100%;
  max-width: 28em;
  -webkit-box-shadow: none!important;
          box-shadow: none!important;
  -webkit-animation: 4s ease-in-out infinite soar;
          animation: 4s ease-in-out infinite soar;
}

/* ANIMATIONS */

.popup {
  -webkit-animation: 1s ease-out forwards popup;
          animation: 1s ease-out forwards popup;
}

@-webkit-keyframes popup {
  from {
      opacity: 0;
    -webkit-transform: translate(.25rem, -.25rem);
            transform: translate(.25rem, -.25rem);
    }

  to {
      opacity: 1;
    -webkit-transform: translate(0em, 0em);
            transform: translate(0em, 0em);
    }
}

@keyframes popup {
  from {
      opacity: 0;
    -webkit-transform: translate(.25rem, -.25rem);
            transform: translate(.25rem, -.25rem);
    }

  to {
      opacity: 1;
    -webkit-transform: translate(0em, 0em);
            transform: translate(0em, 0em);
    }
}

@-webkit-keyframes soar {
  
  0% {
    -webkit-transform: translateY(0) rotate(20deg);
            transform: translateY(0) rotate(20deg);
    }
  50% {
    -webkit-transform: translateY(.2rem) rotate(18deg);
            transform: translateY(.2rem) rotate(18deg);
    }
  100% {
    -webkit-transform: translateY(0) rotate(20deg);
            transform: translateY(0) rotate(20deg);
    }

}

@keyframes soar {
  
  0% {
    -webkit-transform: translateY(0) rotate(20deg);
            transform: translateY(0) rotate(20deg);
    }
  50% {
    -webkit-transform: translateY(.2rem) rotate(18deg);
            transform: translateY(.2rem) rotate(18deg);
    }
  100% {
    -webkit-transform: translateY(0) rotate(20deg);
            transform: translateY(0) rotate(20deg);
    }

}

.snippet {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: var(--space-md) 0;
}

.snippet h2,
.snippet p {
    margin: 0 0 0.25rem 0.25rem;
}

.snippet img {
    width: 5rem;
    margin-bottom: 0;
}

.media {
    padding: 3rem 6vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: rgb(225,87,48);
    background: -o-radial-gradient(circle, rgba(225,87,48,0.027070203081232536) 0%, rgba(225,87,48,0.11670605742296913) 100%);
    background: radial-gradient(circle, rgba(225,87,48,0.027070203081232536) 0%, rgba(225,87,48,0.11670605742296913) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="var(--color-secondary)",endColorstr="var(--color-secondary)",GradientType=1);
}

.media h1,
.media h3,
.media a {
    margin: 2rem 1rem;
}

.media a {
    width: 3rem;
    text-decoration: none;
}

.media img {
    width: 3rem;
}

.show {
    display: flex;
}

.banner-wr {
  display: none;
  min-width: 100vw;
  min-height: 100vh;
  position: fixed;
  z-index: 1001;
  background-color: rgba(0, 0, 0, .5);
}

.banner {
  max-width: 22em;
  margin: auto;
  position: relative;
}

.emoji {
  font-size: 6rem;
  position: absolute;
  top: -4.5rem;
  left: -2.5rem;
  transform: rotate(-20deg);
}

.search-bar {
  width: 100%;
  display: flex;
  justify-content: left;
  margin: 1em 0 2em; /* чтобы было дыхание */
}
.search-bar input {
  max-width: 40rem; /* ограничим ширину, чтобы не растягивалось слишком сильно */
}

.masked {
  width: 100%;
  background-color: lightblue; 
  -webkit-mask-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8c3ZnIHZpZXdCb3g9IjAgMCAyMDAgMjAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGZpbGw9IiNGRjAwNjYiIGQ9Ik01MC42LC02NC45QzY1LjgsLTU4LjYsNzguNSwtNDQuMSw4NC4xLC0yNy4zQzg5LjcsLTEwLjQsODguMSw4LjksODEuMywyNS40Qzc0LjUsNDEuOSw2Mi41LDU1LjcsNDguMSw1OS4xQzMzLjcsNjIuNSwxNi44LDU1LjUsMC45LDU0LjJDLTE1LDUyLjksLTMwLDU3LjQsLTQzLjQsNTMuN0MtNTYuOCw1MCwtNjguNywzOC4xLC03NS40LDIzLjJDLTgyLDguMiwtODMuNSwtOS43LC03NS42LC0yMS43Qy02Ny44LC0zMy43LC01MC41LC0zOS43LC0zNi4zLC00Ni40Qy0yMi4yLC01MywtMTEuMSwtNjAuMywzLjMsLTY0LjlDMTcuNywtNjkuNCwzNS40LC03MS4zLDUwLjYsLTY0LjlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDAgMTAwKSIgLz4KPC9zdmc+Cg==');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 81%;
}

#count {
  width: 3rem;
}

#base-info,
#addons-list {
    margin-bottom: var(--space-lg);
}

.row div {
    display: flex;
}


.row span{
    margin: var(--space-xxs);
    font-weight: 600;
    position: relative;
    padding-left: var(--space-lg);
    cursor: pointer;
}

#base-info p,
#addons-list p,
#extras-list p,
#ozon-list p,
#uz-list p,
#subs-list p{
    font-size: var(--font-size-sm);
    padding-left: var(--space-lg);
}

.row span::before {
    content: "\00D7";
    position: absolute;
    left: 0;
    top: 50%;
    width: var(--space-sm);
    transform: translateY(-50%) rotate(45deg);
    font-size: var(--space-lg);
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

input[type="checkbox"]:checked + span::before {
  color: var(--orange);
  transform: translateY(-50%) rotate(0deg);
}
