body {
  background-color: #FEF1F6;
  margin: 0;
  font-family: "Georgia", serif;
}

/* === CONTAINER SLIDER === */
.image-shadow-box-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.slider-box {
  width: 90%;
  height: 500px;
  border-radius: 25px;
  background: #fff;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.dots {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  background: #e06699;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.dot.active {
  background: #f7c3d5;
}

/* === TITOLO NEL BOX === */
.content-box {
  width: 85%;
  margin: 4px auto;
  background: rgba(250, 132, 186);
  border-radius: 15px;
  box-shadow:
    inset 0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 -4px 20px rgba(0, 0, 0, 0.15),
    inset 4px 0 20px rgba(0, 0, 0, 0.15),
    inset -4px 0 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  padding: 20px 10px;
}

.content-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  color:white;
}

/* === MAIN LAYOUT === */
main {
  background: #fce4ec;
  margin: 0 auto;
  padding: 20px;
  width: 95%;
  border-radius: 25px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

/* === FILTRI === */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filters select {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.selected-filters span {
  background: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid #aaa;
  display: inline-flex;
  align-items: center;
}
.selected-filters span button {
  margin-left: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: red;
}

/* === GRIGLIA PRODOTTI === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.product,
.fixed-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.product:hover {
  transform: translateY(-4px);
}

.product img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
.product-description {
  display: none;
  font-size: 0.95rem;
  color: #333;
  margin-top: 10px;
  text-align: center;
}
.info-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 8px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* === PREZZO & SCONTO === */
.price-old {
  text-decoration: line-through;
  background: #f99;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.95rem;
}
.price-new {
  background: #f7c3d5;
  color: #000;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 5px;
  font-size: 0.95rem;
}
.discount-code {
  color: #1565c0;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  padding: 4px 8px;
  border-radius: 6px;
  margin: 8px 0;
  font-size: 0.9rem;
}

/* === CTA E TAG === */
.cta-button {
  background: linear-gradient(to top, #e06699, #f68cbf);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 10px 0;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags span {
  background: #fff;
  border: 1px solid #ccc;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.bp {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* mantiene proporzioni quadrate */
  overflow: hidden;
  border-radius: 12px;
  min-height: 280px;
}

.bp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  display: block;
}

.description-hover {
  position: absolute;
  inset: 0;
  background: white;
  color: #333;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
  overflow-y: auto;
}

.description-header {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
}

.description-body {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

.description-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.description-buttons button {
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: #f68cbf;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.description-buttons button:hover {
  background: #e06699;
}

.bp:hover img {
  opacity: 0;
}

.bp:hover .description-hover {
  opacity: 1;
}






/* === FILTRI (STILE PROFESSIONALE) === */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filters select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fafafa;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.filters select:focus {
  border-color: #e06699;
  outline: none;
}

/* FILTRI ATTIVI */
.selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.selected-filters span {
  background: #fce4ec;
  color: #333;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  border: 1px solid #f68cbf;
}

.selected-filters span button {
  margin-left: 8px;
  background: none;
  border: none;
  color: #e91e63;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.selected-filters span button:hover {
  color: #ad1457;
}








.filters-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 10px;
}

.filters-modern select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #2a0075; /* viola scuro */
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid #6400c9;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  transition: border-color 0.3s ease;
}

/* Freccia */
.filters-modern select::after {
  position: absolute;
  right: 20px;
  color: white;
}

/* Opzioni nel menu a discesa */
.filters-modern select option {
  color: #000;
  background-color: #e0e0ff;
  font-weight: 400;
}








.filters-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 10px;
}

.filters-modern select {
  appearance: none;
  background-color: #e06699;
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid #f7c3d5;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 36px;
  transition: border-color 0.3s ease;
  font-family: sans-serif;
  text-align:center;
}

.filters-modern select:focus {
  outline: none;
  border-color: #d64f7a;
}

.filters-modern select option {
  color: #333;
  background-color: #fff;
}

/* === FILTRI SELEZIONATI (già ottimi, ma coerenti) === */
.selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.selected-filters span {
  background: #fce4ec;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  border: 1px solid #f68cbf;
}

.selected-filters span button {
  margin-left: 8px;
  background: none;
  border: none;
  color: #e91e63;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.selected-filters span button:hover {
  color: #ad1457;
}
.filters-modern select {
  position: relative;
  z-index: 1;
}
.filters-modern select option{
  margin-top:30px;
}
.filters-modern {
  justify-content: center; /* centra gli elementi */
  width: 100%;
}