@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
}

/*
 * Global add-ons #AD5028
 */
.h1, .h2, .h3, h1, h2, h3, p {
  margin-bottom: 0;
  padding-bottom: 10px;
}
.bg{
  background-color: #F7F7F7;
  background-image: url('../images/bg_table.png');
  background-position: 90% 110px;
  background-size: 80%;
  background-repeat: no-repeat;
}

.ribbon {
	height: 65px;
	line-height: 65px;
	background-color: #AD5028;
	font-weight: 600;
	font-size: 18px;
	color: white;
}

.ribbon .adr {
	box-shadow: -30px 0 0 0 rgba(173, 80, 40, 1);
}

.ribbon .pochta {
	box-shadow: 30px 0 0 0 rgba(173, 80, 40, 1);
}

.header {
  font-size: 18px;
}

.header .logo {
  line-height: 100px;
}

.header .phone {
  padding-top: 30px;
}

.header .phone a.tel {
  color: black;
  font-size: 18px;
  font-weight: 800;
}

.header .phone a {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  color: #FF0000;
}

.header .phone a:hover {
  text-decoration: none;
}

.header .menu {
  line-height: 53px;
	background-color: #AD5028;
  box-shadow: -30px 0 0 0 rgba(173, 80, 40, 1);
}

.header .menu ul {
  box-shadow: 30px 0 0 0 rgba(173, 80, 40, 1);
  margin-bottom: 0;
}

.header .menu ul li {
  display: inline;
}

.header .menu ul li a {
  text-decoration: none;
	color: white;
  margin: 0 15px;
}

.header .menu span {
  color: #000;
  padding-right: 10px;
}

.search-bar {
  margin: 0 0 15px;
}

.search input {
  width: 100%;
  text-indent: 20px;
}

.search-icon {
  position: absolute;
  top: 28px;
  left: 10px;
  width: 15px;
}

input.typeahead{
  text-indent: 20px;
  width: 75%;
}

.tt-menu {
  width: 120%;
  background-color: #fff;
  margin-top: 10px;
  border: 1px dotted grey;
  text-indent: 20px;
}

.tt-suggestion {
  margin: 5px 0;
  cursor: pointer;
}

.panel-body a {
  color: black;
}

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
  background: #fff;
}

.panel-default > .panel-heading {
  background-color: #fff;
}

.panel-default > .panel-heading h4{
  font-weight: bold;
}

.panel-default > .panel-heading h4 a{
  text-decoration: none;
}

.panel-default > .panel-heading h4 a:hover{
  text-decoration: none;
}

.panel-body ul {
  list-style: none;
}

.panel-body ul li {
  margin-left: -30px;
  font-weight: 300;
  font-size: 16px;
}

.first{
  height: 526px;
}

.first h1 {
  font-size: 45px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: 3px;
  padding: 110px 0 70px 0;
}

.first a {
  border-radius: 30px;
}

.screen {
  background-color: #fff;
  box-shadow: -30px 0 0 0 rgba(255, 255, 255, 0.8);
}
.wrap {
  box-shadow: 30px 0 0 0 rgba(255, 255, 255, 0.8);
}

.screen h1{
  padding: 30px 0;
  margin: 0 !important;
}

.content, .screen {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 300;
}

.hr-shelf {
  margin: -30px auto 50px;
  padding: 0;
  height: 50px;
  border: none;
  border-bottom: 1px solid #c1bdba;
  box-shadow: 0 15px 20px -20px #333;
  width: 75%;
}

h2.main {
  text-align: center;
  margin-top: 30px;
  font-weight: 700;
}

/*Карточки*/

.card {
  display: inline-block; /* Строчно-блочный элемент */
  overflow: hidden; /* Скрываем всё за контуром */
}
.card img {
  box-shadow: none;
  border-radius: 0;
  transition: 1s; /* Время эффекта */
  display: block; /* Убираем небольшой отступ снизу */
  margin: 0 auto;
}
.card img:hover {
  transform: scale(1.2); /* Увеличиваем масштаб */
}

.card{
  margin:0 auto;
  height: 290px;
  display:block;
  text-align:center;
  position:relative;
  border-radius: 20px;
  box-shadow: rgb(0 0 0 / 20%) 0px 0px 7px 0px;
  margin: 10px 0;
}

.card .title{
  opacity:1;
  position:absolute;
  bottom:0;
  left:50%;
  transform:translate(-50%, 0);
  transition: 0.5s;
  width:100%;
  font-size:26px;
  background-color:rgba(255, 255, 255, 0.8);
  padding:10px 10px;
  color:black;
  font-weight: 700;
}
.card:hover .title{
  opacity:1;
}

.card .title span {
  color: #FF0000;
}

.product{
  height: 400px;
  border-radius: 20px;
  box-shadow: rgb(0 0 0 / 20%) 0px 0px 7px 0px;
  margin: 10px 0;
  overflow: hidden;
}

.product img {
  margin: 0 auto;
  height:279px;
}

.product .title{
  padding: 0 30px;
  font-weight: 700;
}

.product .title a{
  color: black;
}

.price {
  font-size: 24px;
  font-weight: 500;
  color: #FF0000;
}

.old-price {
  font-size: 20px;
  color: black;
  text-decoration: line-through;
}

.addToCart {
  margin: 20px 0;
}

.addToCart a{
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
}


/* end Карточки*/

.lid {
  margin: 50px auto;
  width: 200px;
}

.lid a {
  border-radius: 30px;
  display: block;
  line-height: 50px;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
}

.not-found {
  background-color: #F7F7F7;
  box-shadow: -30px 0 0 0 rgba(247, 247, 247);
  margin-bottom: 30px;
  height: 130px;
}

.not-found div {
  height: 130px;
  box-shadow: 30px 0 0 0 rgba(247, 247, 247);
  padding: 10px;
}

.not-found p {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.why {
  margin: 50px 0;
}

.why h3 {
  margin:0 100px 25px 0;
  font-size: 24px;
  font-weight: 600;
}

.why p {
  color: #757474;
  margin-right: 100px;
  font-size: 16px;
  margin-bottom: 50px;
}

.quality, .guarantees, .delivery, .profi {
  background-repeat: no-repeat;
  background-size: 100px;
  background-position: 95% 0;
}

.quality {
  background-image: url('../images/5.png');
}

.guarantees {
  background-image: url('../images/7.png');
}

.delivery {
  background-image: url('../images/8.png');
}

.profi {
  background-image: url('../images/6.png');
}

.froz, .climb, .assembly, .garbage {
  background-size: 100%;
  height: 220px;
  padding: 35px 50% 0 10px;

}

.froz{
  background-image: url('../images/pr1.png');
}

.climb{
  background-image: url('../images/pr2.png');
}

.assembly{
  background-image: url('../images/pr3.png');
}

.garbage{
  background-image: url('../images/pr4.png');
}

.more a{
  font-size:20px;
  font-weight: 500;
  border-color: white;
  color: white;
  border-radius: 30px;
  background-color: unset;
}

.more a:hover{
  border: 1px solid red;
  color: red;
  background-color: unset;
}

.more{
  opacity:0;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, 0);
  transition: 0.5s;
  width:100%;
  /*background-color:rgba(255, 255, 255, 0.8);*/
  padding:10px 10px;
  text-align: center;
}
.more:hover{
  opacity:1;
}

.carousel-inner {
  padding-bottom: 50px;
}

.carousel-inner .item {
  height: 138px;
  padding: 10px;
}

.carousel-inner .item p{
  padding: 0 20px;
  margin-bottom: 15px;
  font-size: 20px;
}

.carousel-inner .item p.sig{
  font-weight: 600;
}

.carousel-indicators li.active {
  background-color: red;
}

.carousel-indicators li {
  border: 1px solid red;
}

.carousel-control span{
  color: red;
}

.carousel-control span:before, span:after {
	font-size: 80px;
}

.carousel-control.left, .carousel-control.right {
  background: none;
}

.cart {
  width: 100px;
  height: 100px;
  padding: 10px 0;
  background-repeat: no-repeat;
  background-color: red;
  font-size: 14px;
  border-radius: 50px;
  position: fixed;
  top: 20%;
  right: 10px;
}

.cart a {
  color: white;
  text-decoration: none;
}

.cart span{
  font-size: 16px;
}

.cart span.glyphicon{
  display: block;
  font-size: 40px;
}

footer {
  background-color: #0C0902;
  color: white;
  box-shadow: -30px 0 0 0 rgba(12, 9, 2);
}

footer a {
	color: white;
}

footer .f{
  /*height: 138px;*/
  padding: 30px 0;
  box-shadow: 30px 0 0 0 rgba(12, 9, 2);
}

footer .info ul {
  list-style: none;
  margin-left: -30px;
}

footer .cprt a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
}

footer .top a{
  color: white !important;
  font-size: 24px;
}

pre {
  padding-left: 350px !important;
}

.clearfix {
  padding-bottom: 30px !important;
}

.h-300 {
  min-height: 300px;
}

@media (min-width: 768px) {

  .main .page-header {
    margin-top: 0;
  }

  .main {
    padding-right: 40px;
    padding-left: 40px;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px 5px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    border-right: 1px solid #eee;
    box-shadow: 5px 0 5px -5px rgba(0, 0, 0, .5);
  }
}

@media  (max-width: 768px) {
  .bg {
    background: none;
  }

	.ribbon {
		font-size: 12px;
		overflow: hidden;
	}

  .header {
    font-size: 14px;
  }

  .header .menu {
    line-height: 35px;
  }

  .header .menu ul li a {
    margin: 0 10px;
  }

  .header .menu span {
    padding-right: 0;
  }

  .first {
    text-align: center;
    height: 330px;
  }

  .first h1 {
    font-size: 35px;
    padding: 30px 0 30px 0;
  }

  .card .title{
    opacity:1;
  }

  .product {
    height: 480px;
  }

  .product .title h3{
    font-size: 18px;
  }

  .content .price, .content .addToCart {
    text-align: center;
  }

  .cart{
    top: 35%;
    right: 10px;
  }

  footer .top {
    text-align: center !important;
  }

  }
  
  @media (min-width: 1200px) {
      
    .product {
        height: 480px;
    }

  }