/*
 Theme Name:   Wine Suite WP Theme Child
 Description:  Wine Suite WP Theme Child Theme
 Author:       Wine Suite
 Author URI:   https://wine-suite.com
 Template:     wine-suite
 Version:      6.0.0-beta1
 Requires at least: 5.0
 Tested up to: 6.5.2
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  wine-suite
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/* Example CSS to change primary color */

body {
  margin: 0 120px 0 120px;
  font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#language-icon{
  cursor: pointer;
}
.woocommerce-cart-form{
  margin-top:15px;
}
a.disabled {
pointer-events: none;
    opacity: 0.2 !important;
    cursor: not-allowed !important;
    text-decoration: none !important;
    color: #aaa !important;
    background: #000 !important;
}
.navbar {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  z-index: 9999;
  background-color: white;
  justify-content: space-between;
  padding: 0 110px;
}

.left-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 1;
}

.burger-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.woocommerce-cart-form__contents .actions .button{
  background: #000000;
    color: #fff;
    border: 1px solid #000;
}
.burger-icon {
  cursor: pointer;
  width: 60px;
  padding: 0.8rem;
}

.burger-icon.open {
  background-color: black;
  border-radius: 10%;
}

.burger-icon svg {
  color: black;
}

.burger-icon.open svg {
  color: white;
}

.title-logo {
  position: absolute;
  left: 0%;
  width: 100%;
  font-weight: 500;
  font-size: 38px;
  line-height: 49px;
  text-align: center;
  color: black;
  text-decoration: none;
}

.title-logo:hover {
  text-decoration: underline;
}

.main-menu {
  position: fixed;
  display: none;
  width: 250px;
  height: auto;
  background-color: white;
  box-shadow: 0px 2px 8px rgb(0 0 0 / 25%);
  border-radius: 4px;
  color: black;
  z-index: 1000;
}

.main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu ul li {
  padding: 10px 20px;
}

.main-menu ul li a {
  text-decoration: none;
  color: black;
}

.main-menu ul li a:hover {
  text-decoration: underline;
  color: black;
}

nav.main-menu.open {
  display: block;
  left: 110px;
  top: 5rem;
  height: auto;
}

.right-nav {
  z-index: 1;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.right-nav img {
  padding-left: 10px;
  padding-right: 10px;
}

.language-menu {
  position: fixed;
  display: none; /* Initially hidden */
  width: 100px;
  height: auto;
  background-color: white;
  box-shadow: 0px 2px 8px rgb(0 0 0 / 25%);
  border-radius: 4px;
  color: black;
  z-index: 1000;
}

.language-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.language-menu ul li {
  padding: 10px 20px;
}

.language-menu ul li a {
  text-decoration: none;
  color: black;
}

.lamguage-menu ul li a:hover {
  text-decoration: underline;
  color: black;
}

.language-menu.open {
  display: block;
  translate: -60px;
  top: 60px;
  height: auto;
}

.icon-container {
  position: relative;
}

.icon-container.login {
  display: none;
}

.icon-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  color: black;
  width: 250px;
  box-shadow: 0px 2px 8px rgb(0 0 0 / 25%);
  display: none;
  border-radius: 4px;
  z-index: 1000;
}

.icon-menu ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.icon-menu ul li {
  padding: 10px 20px;
}

.icon-menu ul li a {
  color: black;
  text-decoration: none;
}

.icon-menu ul li a:hover {
  text-decoration: underline;
}

.icon-container.open .icon-menu {
  display: block;
}

.search-field {
  padding: 10px;
  width: 100%;
  max-width: 300px;
  border: none;
  outline: none;
  text-decoration: underline;
}

.search-field:focus-visible {
  border: none;
}

.search-submit {
  padding: 10px;
  border-radius: 5px;
  border: none;
  background: none;
}

/*Home Page Template*/

.central-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
}
.img-intro {
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
}

.central-image button {
  position: absolute;
  width: 280px;
  height: 50px;
  font-weight: 550;
  border-radius: 4px;
  background: white;
  color: black;
  border: none;
}

.central-image button:hover {
  background: black;
  color: white;
  text-decoration: none;
}

.text-with-logo {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.expandable-container {
  position: relative;
  max-height: 12rem;
  overflow: hidden;
  transition: max-height 0.8s ease;
}

.expandable-container.expanded {
  max-height: none;
}

.expandable-text {
  margin-bottom: 40px;
  width: 60%;
  font-size: 20px;
}

.expand-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  transition: opacity 0.8s ease;
  text-decoration: underline;
  font-size: 20px;
}

.expand-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-text {
  margin-top: 2rem;
}

.intro-text-logo {
  width: 240px;
  max-width: 300px;
}
.custom-product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.custom-product-info a {
  text-decoration: none;
  color: black;
}

p.product-categories {
  font-size: small;
}

p.discover-more {
  text-decoration: underline;
}

p.short-description {
  text-align: start;
}

.icons-wine {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
}

.icon-wine-marketing {
  width: 100px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-box {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 3rem 0;
}

.btn-category-box{
  background: white;
  color: black;
  padding: 1.4rem;
  font-size: 1.8rem;
}

.btn-category-box:hover {
  background: black;
  color: white;
}
#catalogo-vini{
  scroll-margin-top: 6.5rem;
}
.section-title{
 scroll-margin-top: 6.5rem;
 text-align: center; 
 margin: 4rem 0;
}
#identita-di-territorio{
  margin-top:0;
}

/*Woocommerce customization*/
li.menu-item.woofc-menu-item.menu-item-type-woofc {
  display: none;
}

.woocommerce .row {
  display: flex;
  flex-direction: column;
}
.woocommerce .card {
  display: flex;
  flex-direction: row;
  border-radius: 0;
  border-right: none;
  border-left: none;
  border-top: none;
  padding-bottom: 5rem;
}

.woocommerce .row > * {
  width: 100% !important;
}

.woocommerce .add-to-cart-container {
  width: 200px;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.btn-primary {
  background-color: black !important;
  border: none !important;
  color: white !important;
}

.woocommerce .btn-primary {
  background-color: white !important;
  color: black !important;
  border-color: black !important;
  border: 2px solid !important;
}

.woocommerce .btn-primary:hover {
  background-color: black !important;
  color: white !important;
  border-color: black !important;
  border: 2px solid !important;
}

.woocommerce .btn-primary:active {
  background-color: black !important;
  color: white !important;
  border-color: black !important;
  border: 2px solid !important;
}

.woocommerce .btn-primary:focus {
  background-color: black !important;
  color: white !important;
  border-color: black !important;
  border-width: 2px !important;
  border: solid !important;
}

.woocommerce
  .card
  a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: start;
  justify-content: space-between;
}

.order-first {
  display: none !important;
}

.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
  width: 52% !important;
}

.woocommerce div.product form.cart div.quantity{
  display: flex;
  justify-content: center;
}

/*Woo Fly Cart*/

.woofc-count.woofc-count-shake {
  animation: none;
  -webkit-transform: none;
  backface-visibility: unset;
  perspective: none;
  position: fixed;
  margin: 1rem 110px 0 0 !important;
}

.woofc-count:hover {
  top: 0;
  right: 0;
  left: auto;
  bottom: auto;
  margin: 1rem 110px 0 0 !important;
}

.woofc-count {
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  top: 0;
  right: 0;
  left: auto;
  bottom: auto;
  margin: 1rem 110px 0 0 !important;
}

/*Product Page*/
.col.label {
  font-weight: 700;
}

.more-details li {
  padding: 10px 0 10px;
}

.tab-scroller {
  display: none !important;
}

.listeattribute {
  list-style: none;
}

.wc-breadcrumb {
  display: none !important;
}

.woocommerce-product-gallery__wrapper {
  margin: 6rem 0 0 0;
}
.woocommerce div.product div.summary {
  margin: 6rem 0 0 0;
  display: flex;
  flex-direction: column;
}

.woocommerce div.product form.cart {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  flex-direction: column;
}

.woocommerce div.product form.cart .button {
  font-weight: 550;
  border-radius: 4px;
  background: white;
  color: black;
  border: 2px solid black;
}

.woocommerce div.product form.cart .button:hover {
  background: black;
  color: white;
  text-decoration: none;
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
  max-width: 300px;
  object-fit: cover;
  margin-right: 2rem;
}

.product-category .card img,
.product.card img {
  width: 300px;
}

.product_meta {
  display: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
  display: none !important;
}

button.minus.input-group-text {
  border-radius: 50%;
  background: black;
  color: white;
}

button.plus.input-group-text {
  border-radius: 50%;
  background: black;
  color: white;
}

.custom-more-info-section {
  padding: 3rem 0;
}

/*Footer*/

.winesuite-footer {
  background: white;
}

.winesuite-footer a {
  text-decoration: none;
}

.icons-line {
  display: flex;
  gap: 20px;
}

.logo-container {
  display: flex;
  justify-content: center;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 5rem 0 5rem 0;
}

.footer-icons {
  display: flex;
  justify-content: space-between;
  padding-bottom: 3rem;
  align-items: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-iframe{
  height: 500px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  padding: 10px 0 10px 0;
}

.footer-links a {
  text-decoration: none;
  color: black;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  padding-bottom: 5px;
}

.input-group{
  justify-content: center;
}

/* Form page */
.register-form .woocommerce .col-1 {
  display: none;
}

.register-form .woocommerce form .form-row input.input-text,
select {
  background: #eceded;
}



/*mobile*/
@media only screen and (max-width: 500px) {
  .title-logo {
    width: 200px;
    margin: auto;
    position: relative;
  }

  .woofc-area.woofc-style-01 .woofc-area-mid .woofc-item .woofc-item-inner{
    flex-direction: column;
  }

  .woocommerce .add-to-cart-container {
    width: 200px;
    position: relative;
    right: 0;
    margin: auto;
    padding-top: 30px;
    bottom: 1rem;
  }
}

@media only screen and (max-width: 768px) {
  body {
    margin: 0 !important;
  }

  .navbar {
    padding: 0;
  }

  .right-nav img {
    margin-right: 15px;
  }

  .search-form {
    display: none;
  }

  .language-icon {
    display: none;
  }

  .icon-container.login {
    display: none;
  }

  .intro-text {
    margin: 1rem;
  }

  .intro-text-logo {
    display: none;
  }

  .expandable-container {
    margin: 0;
    max-height: 11rem;
    display: flex;
    flex-direction: column;
  }
  .expandable-text {
    width: 100%;
    margin-left: 1rem;
  }
  .expand-btn {
    margin-left: 1rem;
  }

  nav.main-menu.open {
    display: block;
    left: 0;
    top: 80px;
    height: 100%;
    width: 70%;
  }

  .woocommerce .card {
    flex-direction: column !important;
  }

  .woocommerce
    .card
    a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    flex-direction: column !important;
  }

  img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    margin: 0;
    align-self: center;
  }

  .footer-container {
    flex-direction: column !important;
    align-items: center;
  }

  .footer-content {
    flex-direction: column !important;
    gap: 5rem;
  }

  .footer-icons {
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    padding-bottom: 4rem;
    flex-direction: column;
  }

  .woofc-count.woofc-count-shake {
    margin: 1rem !important;
  }

  .woofc-count:hover {
    margin: 1rem !important;
  }

  .woofc-count {
    margin: 1rem !important;
  }
}

@media only screen and (max-width: 1024px) {
  .footer-container {
    flex-direction: column !important;
    align-items: center;
  }

  .footer-content {
    flex-direction: column !important;
    gap: 5rem;
  }

  .footer-icons {
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    padding-bottom: 4rem;
    flex-direction: column;
  }

}

/*CAT FILTER*/
button.category-filter,
button.tag-filter,
#filterButton {
  background-color: black;
  color: white;
  transition: background-color 0.1s ease;
  border-radius: 5px;
  padding: 0.3rem;
  min-width: 100px;
  border: 2px solid white;
}

button.category-filter.selected,
button.tag-filter.selected {
  background-color: black;
  color: white;
  border: 2px solid black;
}

@media only screen and (max-width: 768px){
  .btn-category-box{
  background: white;
  color: black;
  transition: background-color 0.1s ease;
  border-radius: 5px;
  padding: 2rem;
  min-width: 400px;
  border: 2px solid black;
  font-size: 1.5rem;
}

.btn-category-box:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
}

.category-box {
  flex-direction: column;
  align-items: center;
}

}

.container-fluid{
  padding-left: 0 !important;
}

.informativa{
  margin: 6rem 10rem 0 10rem;
}
@media only screen and (max-width: 768px){
  .informativa{
  margin: 3rem 1rem 0 1rem;
  }
}

.woocommerce-loop-product__title,
.woocommerce div.product .product_title{
  text-transform: uppercase;
}

.menu-mobile-language{
  display: none;
}
@media only screen and (max-width: 768px){
  .menu-mobile-language{
    display: flex;
  }
  .menu-mobile-language ul {
    display: flex;
  }
}

form.search-form {
    display: none;
}

.logo-container {
  display: none;
}