/* Общие стили */
*,
*::after,
*::before { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: "Lora", serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: #fff; }
h1,h2,h3,h4 { color: #1097d6; font-weight: 600; font-style: italic; margin:0.5em 0; }

/* Страница */
.page { display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: 260px 1fr 260px; min-height: 100vh; background: #53137d; }
header { grid-column: 1/4; position: relative; z-index: 25; }

/* Header */
.header-top { display: flex; justify-content: center; align-items: center; background: #53137d; color: #fff; padding: 8px; }
.header-top-item { font-size: 26px; margin-right: 15px; }
.header-top-item-phone { display: flex; align-items: center; font-size: 22px; }
.header-top-item-phone img { width: 20px; margin-right: 10px; }

/* Десктоп меню */
.nav-container { background: #53137d; grid-row: 2; width: 260px; }
.nav { margin: 4px auto; width: 250px; }
.nav__link { display: block; font-size: 110%; line-height: 33px; color:#fff; border-top:1px solid #fff; border-bottom:1px solid #fff; transition:0.3s; padding:0 5px; }
.nav__link-active { color: rgb(197, 216, 112); border-color: white; }
.nav__link:hover { color:#a2eeaf; background-color: purple; }

/* Мобильное меню */
.menu-wrapper {
  display: none;
  position: fixed;
  width: 100%;
  height: 40px;
  background: #53137d;
  top: 0;
  z-index: 10;
}

.menu-icon {
  display: none;
  position: fixed;
  right: 10px;
  top: 15px;
  width: 30px;
  height: 30px;
  z-index: 50;
  cursor: pointer;
}

.menu-icon-line,
.menu-icon-line::before,
.menu-icon-line::after {
  content: '';
  display: block;
  width: 29px;
  height: 4px;
  background: #fff;
  position: relative;
  transition: 0.3s;
}

.menu-icon-line::before {
  top: -10px;
  position: absolute;
}

.menu-icon-line::after {
  top: 10px;
  position: absolute;
}

.menu-icon.menu-icon-active .menu-icon-line {
  background: transparent;
}

.menu-icon.menu-icon-active .menu-icon-line::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-icon.menu-icon-active .menu-icon-line::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Мобильная навигация с использованием transform */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: #320b4d;
  text-align: center;
  padding-top: 0;
  overflow-y: auto;
  z-index: 50;
  box-sizing: border-box;

  transform: translateX(-100%); /* полностью спрятано за экраном слева */
  transition: transform 0.3s ease-in-out; /* плавное выезжание */
}

.mobile-nav--active {
  transform: translateX(0); /* выезжает полностью */
}

.mobile-nav__link {
  display: block;
  font-size: 110%;
  line-height: 31px;
  color: #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 5px 0;
}

.mobile-nav__link-active {
  color: rgb(197, 216, 112);
}

.mobile-nav__link:hover {
  color: #a2eeaf;
  background-color: purple;
}

.indent {
  text-indent: 2em;
}
.title-indent {
  margin-left: 2em;
}
.gallery {
  text-align: center;
}
/* Контент */
.main-info { grid-row:2; grid-column:2; background:#fff; padding:15px; font-size:18px; line-height:1.5; }
.content-img { text-align:center; margin:15px 0; }
.main-info a {
  display: inline-block;
  margin: 5px;
    color: #0066cc;
    text-decoration: underline;
}
.main-info a:hover {
    color: #004499;
}


/* Footer */
footer {
    grid-column: 1/4;
    background: #53137d;
    color: #fff;
    padding: 0;

    /* Центрируем ВСЁ содержимое футера */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer h4 {
    margin: 5px 0;
    font-size: 16px;
    line-height: 1.2;
}

/* Центрирование блоков внутри футера */
.footer-info,
.footer-bottom-pages {
    margin: 0 auto;
    text-align: center;
    padding: 0px 5px 0px;
}

/* Убираем лишние отступы у иконок likely */
footer .likely {
    margin: 0 !important;
}

footer .likely__widget {
    margin: 0 4px !important;
    padding: 0 !important;
}
.row {
  display: flex;
  flex-wrap: wrap;
  background-color: rgb(213, 210, 255);
  padding: 4px;
}
.col-goods {
  width: 25%;
  padding: 5px;
}
.goods {
  justify-content: center;
  background-color: rgb(255, 255, 255);
  height: 100%;
  padding: 10px;
  text-align: center;
}
.price {
  color: rgb(245, 94, 94);
  font-weight: 700;
  padding: 5px;
}