@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  outline: none;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  letter-spacing: 0.05vw;
  box-sizing: border-box;
  text-decoration: none;
  
}


html {
  height: 100%;
  margin: 0;
  padding: 0;
  background-size: cover;
}


body {
    background-size: cover;
    padding-top: 2vw; 
    
}






/* HERO */
.hero {
  width: 100%;
  top: 5vw;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.banner img {
  width: 90%;
  height: 25vw;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 2vw;
  z-index: 1;
  filter: brightness(0.5);
}

.hero-title {
  font-size: 8vw;
  color: white;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  z-index: 2;
  position: absolute;
  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
  text-shadow: 0vw 0vw 1vw black;
}








/* LIST */

.shopping-container {
  text-align: center;
  padding: 1vw 2vw;
  padding-bottom: 6vw;
  border-radius: 2vw;
  width: 80%;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  margin-top: 6vw;
}

.shopping-category {
  margin-bottom: 4vw;
  width: 65%;
  margin: 0 auto;
  background-color: #58131330;
  border-radius: 1vw;
  padding-bottom: 2vw;
}

.shopping-category-title {
  font-size: 1.5vw;
  padding: 0.5vw;
  color: white;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1vw;
  background-color: #922f2f;
  border-radius: 1vw 1vw 0vw 0vw;
}

.shopping-title {
  font-size: 3.5vw;
  font-weight: 500;
  text-align: center;
  margin-bottom: -1vw;
  margin-top: 0.75vw;
}

.shopping-subtitle {
  font-size: 1.15vw;
  margin-left: 0vw;
  text-align: center;
}

.shopping-wines {
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  gap: 1vw;
}

.shopping-wine {
  width: 13vw;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.shopping-wine-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85vw;
  margin-bottom: 1.25vw;
}

.shopping-wine-name {
  font-size: 1.2vw;
  margin-top: -1vw;
  font-weight: 400;
  border-radius: 0.7vw;
  color: white;
  padding: 0.7vw;
  background-color: #922f2f;
  width: 14vw;
  border: none;
  margin-left: -0.15vw;
  cursor: pointer;
}

.shopping-wine-img {
  width: 6vw;
  transition: transform 0.3s ease;
  z-index: 1;
}

.shopping-wine:hover {
  transform: scale(1.015);
}

.shopping-wine:hover .shopping-wine-bg {
  transform: scale(1.025);
}

.shopping-wine:hover .shopping-wine-img {
  animation: shake 0.5s ease forwards;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  100% { transform: rotate(0) scale(1.015); }
}

.shopping-wine-price {
  display: block;
  position: absolute;
  bottom: -1.05vw;
  left: 38%;
  transform: translateX(-50%) translateY(-89%);
  width: 10vw;
  background-color: #922f2f;
  color: white;
  border-radius: 1vw;
  padding: 0.75vw;
  font-size: 1vw;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.shopping-wine:hover .shopping-wine-price {
  opacity: 1;
}


.shopping-cart-button {
  background-color: #922f2f;
  padding: 0.6vw;
  align-items: center;
  margin-top: -1vw;
  border-radius: 0.5vw;
  margin-left: 0.15vw;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.35vw;
}

.shopping-cart-button:hover {
  background-color: rgba(129, 36, 36, 0.256);
  border: none;
  color: rgb(61, 12, 12);
}

.fa-plus {
  font-size: 1.35vw;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.shopping-cart-button:hover .fa-plus {
  transform: rotate(90deg);
}














@media (max-width: 768px) {

  .shopping-container {
    padding: 0vw 0vw;
    padding-bottom: 1vw;
    border-radius: 5vw;
    margin-top: 10vw;
    width: 100%;
    background-color: #ffffff00;
  }

  .shopping-category {
    padding: 0vw 0vw;
    margin-bottom: 8vw;
    width: 100%;
    border-radius: 0vw;
    padding-bottom: 5vw;
  }

  .shopping-category-title {
    font-size: 4vw;
    padding: 2vw;
  }

  .shopping-title {
    font-size: 8vw;
    padding-top: 4vw;
  }

  .shopping-subtitle {
    font-size: 3.5vw;
    margin-top: -0.7vw;
    padding-bottom: 3vw;
  }

  .shopping-wines {
    gap: 1vw;
  }

  .shopping-wine {
    width: 30vw;
  }
}







@media (max-width: 768px) {
  .shopping-cart-button {
    padding: 2.35vw;
    border-radius: 1.35vw;
    margin-left: 0.75vw;
  }

  .fa-plus:before {
    font-size: 4vw;
    margin-top: -1.35vw;
  }
}

@media (max-width: 768px) {
  .shopping-cart-button {
    padding: 2.35vw;
    border-radius: 1.35vw;
    margin-left: 0.75vw;
  }

  .fa-check:before {
    font-size: 4vw;
    margin-top: -1.35vw;
  }
}


@media (max-width: 768px) {
  .shopping-wine-button {
    font-size: 4vw;
    border-radius: 1.35vw;
    width: 97%;
  margin-top: 5vw;
} 
}


@media (max-width: 768px) {
  .shopping-wine-price {
    display: none;
  }
}

@media (max-width: 768px) {
  .shopping-wine-img {
    width: 15vw;
  }
}


@media (max-width: 768px) {
  .shopping-wine-info {
    margin-top: 1vw;
  }
  
  .shopping-wine-name {
    font-size: 3vw;
    border-radius: 1.35vw;
    padding: 1.5vw;
    width: 30vw;
  }
}


.arrow-btn {
  color: white;
  border: none;
  font-size: 2vw;
  cursor: pointer;
  position: absolute;
  margin-top: -19vw;
  transition: background-color 0.2s ease;
  width: 2vw;
}

arrow-btn:hover {
  background-color: #00000054;
}



.arrow-left {
  left: 0;
  margin-left: 25.3vw;
  border-radius: 0vw 0.5vw 0.5vw 0vw;
  background-color: #0000003b;
}

.arrow-left:hover {
  background-color: #00000054;
}

.arrow-right {
  right: 0;
  margin-right: 25.3vw;
  border-radius: 0.5vw 0vw 0vw 0.5vw;
  background-color: #0000003b;
}

.arrow-right:hover {
  background-color: #00000054;
}

.wine-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-dots {
  display: flex;
  gap: 0.5vw;
  margin-bottom: -1vw;
}

.dot {
  width: 1vw;
  height: 1vw;
  border-radius: 50%;
  background-color: #a58686;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.dot.active {
  background-color: #a74949;
}


.shopping-wine-page {
  display: flex;
  gap: 1vw;
  position: relative; /* UmoÃ…Â¾nÃƒÂ­ umiestniÃ…Â¥ Ã…Â¡ÃƒÂ­pky na okraj kontajnera */
}




@media (max-width: 768px) {

.arrow-btn {
  color: white;
  border: none;
  font-size: 5vw;
  cursor: pointer;
  position: absolute;
  margin-top: -45vw;
  transition: background-color 0.2s ease;
  width: 5vw;
}
  
  .arrow-left {
    margin-left: 0vw;
    border-radius: 0vw 0.5vw 0.5vw 0vw;
    background-color: #0000003b;
  }
  
  .arrow-right {
    margin-right: 0vw;
    border-radius: 0.5vw 0vw 0vw 0.5vw;
    background-color: #0000003b;
  }
  
  .pagination-dots {
    display: flex;
    gap: 1vw;
    margin-top: 1vw;
    margin-bottom: -2.5vw;
  }
  
  .dot {
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    background-color: #a58686;
    cursor: pointer;
  }
  
  .dot.active {
    background-color: #a74949;
  }
  
  .shopping-wine-page {
    display: flex;
    gap: 1vw;
    position: relative;
  }
}





.shopping-cart-button i {
  font-size: 1.25vw;
  width: 1.5vw;
  height: 1.5vw;
  text-align: center;
  justify-content: center;
  align-content: center;
  display: flex;
  padding: 0.15vw;
}



.wine-ribolla {
  font-size: 0.85vw;
  padding: 0.865vw 0vw;
}

@media (max-width: 768px) {
  .wine-ribolla {
    font-size: 2vw;
    padding: 1.865vw 0vw;
  }
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 18vw;
  }

  .banner img {
    width: 100%;
    height: 40vw;
    border-radius: 0vw;
  }
}