ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
}

body {
  /* background-color: #F5EDDF;*/
  font-family: Gilroy;
  margin: 0 auto;
  scroll-padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
}

h5 {
  font-size: 0.9rem;
}

.pt-30 {
  padding-top: 30px;
}

.pt-50 {
  padding-top: 50px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.pt-250 {
  padding-top: 250px;
}

.pt-250 h1 {
  margin-bottom: 20px;
}

.pt-250 p {
  margin-bottom: 10px;
}

p {
  margin: 0;
  padding: 0;
  color: #7D7D7D;
}

.center {
  text-align: center !important;
}

.page-content {
  position: relative;
}

.target {
  scroll-margin-top: 260px;
}

.target--modify {
  scroll-margin-top: 150px;
}

/*Search */
.search-container {
  position: sticky;
  top: 95px;
  background: #fff;
  padding: 10px !important;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-align: center;
}

input#productSearch {
  width: 90%;
  max-width: 500px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-main {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  color: #ffffff;
  width: 98%;
  margin: 0 auto;
  align-items: center;
}

.header-logo {
  width: 30%;
}

.header-info p {
  color: #ffffff;
}

.header {
  background: #502628;
  padding: 20px 0;
}

.header-link_mail {
  font-size: 1rem;
}

.header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 20px;
  width: 20%;
}

.header-info a {
  color: white;
}

.header-bottom {
    text-decoration: unset;
    width: 45%;
    text-align: center;
}

.header-bottom p {
    color: #fff;
}

/* Footer */

.footer-info p {
  color: #ffffff;
}

.footer {
  background: #502628;
  padding: 20px 0;
}

.footer-link_mail {
  font-size: 1rem;
}

.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 30px;
  font-size: 2rem;
  justify-content: space-between;
}

.footer-info a {
  color: white;
}

.footer-info-18 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 1.5rem;
}

.btn-new {
  margin: 0 auto;
  padding: 20px 100px;
  border-radius: 60px;
  border: none;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 15px;
  padding-left: 15px;
  background: #fff;
}

.background-image {
  background: url(/img/main-slider.jpg);
  background-size: contain;
  background-repeat: no-repeat;
}


/*
.container-new {
  padding: 0 20px; 
}*/

.slider-item {
  display: block;
  height: 650px;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6
}

.slider-pic {
  height: 700px;
}

.slider-item {
  position: relative;
  height: 100%;
}

.slider-pic {
  /* position: absolute; */
  top: 0;
  right: 0;
}

.slider-title {
  top: 60%;
  padding: 20px;
  width: 40%;
  right: 0;
}

.slider-title .modify {
  padding-left: 120px;
}

.slider-text,
.slider-text--2 {
  position: absolute;
  color: #fff;
  font-weight: 700;
  background: none;
}

.slider-text {
  font-size: 50px;
  top: 55%;
  left: 3%;
  width: 30%;
  line-height: 1;
}

.section {
  padding-bottom: 100px;
}

.section--popular {
  margin-top: -100px;
}

.section-title {
  font-size: 80px;
  font-weight: 1000;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1;
}

.section-title .modify {
  padding-left: 70px;
  text-align: right;
}


.section-title .modify-reverse {
  padding-right: 200px;
}

.section-title .modify::before {
  position: absolute;
  content: "";
  display: block;
  width: 90px;
  height: 90px;
  background-repeat: no-repeat;
  top: -50%;
  left: -15%;
  transform: translate(15%, 0%);
  background-image: url("./img/h2_sup.svg");
  background-position: center center;
  background-size: 80px;
  z-index: 1;
}

.section-title--white .modify::before {
  position: absolute;
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  top: -10%;
  left: 0%;
  background-image: url("./img/h2_sup-w.svg");
  background-position: center center;
  background-size: 70px;
  z-index: 1;
}

.section-title--big {
  width: 40%;
}

span.h2--modify {
  padding-left: 7rem;
}

.section-title--white {
  color: #fff;
  align-items: center;
  padding-left: 30px;
  background-color: #502628;
  position: absolute;
}

.section-title--white .modify {
  padding-left: 230px;
}

.section-text {
  color: black;
  font-weight: bold;
  min-height: 40px;
}

/* Vine */

.section-list {
  display: flex;
  flex-wrap: wrap;
}

.section-item {
  position: relative;
  flex: 1 1 calc(33.33% - 24px);
  margin-bottom: 24px;
  border-radius: 15px;
  max-height: 550px;
  background: #fff;
  max-width: 400px;
}

.section-item:not(:nth-child(3n)) {
  margin-right: 24px;
}

.section-item_mod {
  margin-bottom: 0;
}

.section-photo {
  height: 300px;
  width: 100%;
  margin-bottom: 30px;
}

.section-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px 15px 0 0;
}

.section-img_big {
  border-radius: 15px;
}

.section-info {
  padding: 0px 45px 45px;
  z-index: 1;
}

.section-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.section-top,
.section-text {
  margin-bottom: 16px;
}

.section-link {
  position: absolute;
  left: 0;
  bottom: 27px;
  width: 100%;
  padding: 0 54px;
  background-image: url('../icons/small-arrow-w.svg');
  background-repeat: no-repeat;
  background-position: center right 15%;
  font-size: 20px;
  line-height: 40px;
  font-weight: 500;
  color: #fff;
}

.section-price {
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
}

.section-desc {
  margin-bottom: 20px;
  color: #999;
}

.btn-vine {
  border-radius: 32px;
  background-color: #502628;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 20px 50px;
}

.d-flex--center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Catalog */

.section-names {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-desc_content {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.section-desc_content p {
  margin: 0;
}

.section-desc.section-desc--modify {
    width: 80%;
}

.section-desc_content--modify {
    margin-top: 10px;
}


.section-list.button-list {
  position: sticky;
  top: 150px;
  z-index: 20;
  background: #fff;
  justify-content: space-between;
}

.button-items {
  width: calc(95%/10);
  font-size: 1.5rem;
  padding: 10px 0;
}

.button-items a {
  color: #000;
  text-decoration: auto;
}

.button-link {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Winemt */

.gallery-list {
  display: flex;
  align-items: center;
  align-content: center;
}

.gallery-item {
  width: 100%;
  height: 400px;
}

.gallery-pic {
  width: 100%;
  height: 100%;
}

.gallery-img {
  width: 100%;
  object-fit: contain;
}


/* Afisha */

.afisha-item {
  width: calc(96%/3);
  padding-bottom: 10px;
}

.afisha-pic {
  width: 100%;
  height: 550px;
}

.afisha-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.afisha-list {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

/* Partners */

.partner-item {
  width: calc(96%/3);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.partner-logo {
  width: 100%;
  object-fit: scale-down;
}

/* Age Modal */

body.age-restricted .page-content,
body.age-restricted .page-content * {
    filter: blur(10px) !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

#ageModal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.age-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.4s ease-out;
    z-index: 10000;
}

.age-modal-content h2 {
    margin-top: 0;
    color: #d32f2f;
}

.age-modal-content p {
    line-height: 1.6;
    color: #333;
}

.age-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.btn-yes {
    background: #4CAF50;
    color: white;
}

.btn-no {
    background: #f44336;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Age Modal End */

/* Button UP */

#scrollToTopBtn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  background: #6c5ce7;
  background: linear-gradient(135deg, #502628, #96400f);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scrollToTopBtn:hover {
  background: linear-gradient(135deg, #5647d1, #8a84ff);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

#scrollToTopBtn:active {
  transform: scale(0.95);
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Button UP End */

/* Media CSS */

@media(max-width:1600px) {

  span.h2--modify {
    padding-left: 4rem;
  }

  .footer-info {
    font-size: 1.8rem;
  }

}

@media(max-width:1199px) {

  .slider-pic {
    height: 600px;
  }

  .section-title {
    font-size: 60px;
  }

  .footer-info {
    font-size: 1.4rem;
    padding: 20px;
  }

  .header-bottom {
    font-size: 1.4rem;
  }
  .background-image{
    background: none;
  }

}

@media(max-width:990px) {

  .slider-pic {
    height: 450px;
  }

  .header-logo,
  .header-info {
    width: unset;
  }

  span.h2--modify {
    padding-left: 3rem;
  }

  .section-title {
    font-size: 40px;
  }

  .footer-info {
    font-size: 1.2rem;
  }

  .section-list {
    justify-content: center;
  }

  .section-item {
    flex: none;
    width: 50%;
  }

  .section-item {
    margin: 0 !important;
  }

  .button-items {
    width: calc(95%/5);
    padding: 0;
    font-size: 1.2rem;
  }

  .afisha-pic {
    height: 400px;
  }
  .afisha-item {
    width: calc(96%/2);
  }
  
  .target {
    scroll-margin-top: 260px;
  }

  input#productSearch {
	font-size: 12px;
	padding: 5px;
  }
}

@media(max-width:768px) {

  
  .header-bottom {
    position:absolute;
    top:75%;
    left: -13%;
    font-size: 1rem;
  }
  
  .slider-pic {
    height: 350px;
  }

  .section-title {
    font-size: 30px;
  }

  .footer-info {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }

  .partner-item {
    width: calc(90%/2);
  }

  .gallery-list {
    flex-direction: column;
  }
  
  .gallery-item {
    height: 470px;
  }
  
  #scrollToTopBtn {
    right: 15px;
    bottom: 15px;
    width: 45px;
    height: 45px;
  }

}

@media(max-width:600px) {

  span.h2--modify {
    padding-left: 2rem;
  }

  .button-items {
    width: calc(95%/5);
    padding: 0;
    font-size: 0.8rem;
  }

  .section-list.button-list {
  top: 70px;
  }

  .gallery-item {
    height: 370px;
  }

  .header-bottom {
    left: -10%;
  }
}

@media(max-width:530px) {
  
  .header-logo img {
    width: 150px;
  }
  
  .header-info {
    font-size: 1rem;
  }
  
  .header-link_mail {
    font-size: 0.7rem;
  }
}

@media(max-width:480px) {

  .section-title {
    display: none;
  }

  .header-bottom {
    left: -10%;
    font-size: 0.8rem;
  }

  .afisha-list {
    flex-wrap: wrap;
  }

  .afisha-item {
    width: 100%;
  }

  span.h2--modify {
    padding-left: 1rem;
  }

  .section-title {
    font-size: 25px;
  }

  .section-item {
    width: 100%;
    margin-bottom: 20px !important;
  }

  .gallery-item {
    height: 270px;
  }

  .search-container {
    top: 80px;
  }
  
  .section-list.button-list {
    top: 130px;
  }
}