/**
 * Styles for Buoni Sconto Gallery page
 */
#block-proplan-loyalty-theme-content{
  background-color: white;
  padding-top: 50px;
}

.buoni--sconto--faq {
  padding: 60px 0;
  background-color: #ffffff;
}

.buoni--sconto--faq .faq-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  font-size: 28px;
  font-weight: 300;
  color: #666;
  transition: transform 0.3s ease;
  width: 30px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #fff;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 20px 25px;
}

.faq-answer p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}
.faq-answer ul{
  margin-left: 20px;
}

.faq-answer ul li{
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.faq-answer a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

#login-layer{
  position: fixed;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid;
  border-radius: 10px;
  display: none;
}
#login-layer.active{
  display: block;
}
#login-layer .close{
  position: absolute;
  right: 10px;
  border: unset;
  width: 30px;
  height: 30px;
  background-color: #e81c24;
  padding: unset;
  color: #ffffff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  font-family: 'robotolight', sans-serif!important;
  top: 10px;
  border: 1px solid #e81c24;
}
#login-layer .close:hover{
  background-color: #ffffff;
  color: #e81c24;
}
#login-layer .links{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

#login-layer .links a{
  background-color: #e81c24;
  color: #ffffffff;
  padding: 5px 20px;
  border-radius: 5px;
  border: 1px solid #e81c24;
  transition: all 0.3s ease;
}

#login-layer .links a:hover{
  text-decoration: none;
  color: #e81c24;
  background-color: #ffffffff;
  transition: all 0.3s ease;
}

#login-layer .title {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}
