/* Stili Personalizzati per chic on-line - Boutique & Vetrina Lookbook */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --color-gold: #C5A880;
  --color-gold-hover: #B39266;
  --color-gold-light: #F4EFE6;
  --color-dark: #141414;
  --color-dark-surface: #1E1E1E;
  --color-bg: #FAF8F5;
  --color-surface: #FFFFFF;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-dark);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.font-serif-luxury {
  font-family: var(--font-serif);
}

/* Effetto Lookbook Hover per le foto delle modelle */
.look-card {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.look-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.look-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #f0ede8;
}

.look-image-wrapper img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.look-card:hover .look-image-wrapper img {
  transform: scale(1.04);
}

/* Badge Lusso */
.badge-luxury {
  background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
  color: #F5EFEB;
  border: 1px solid rgba(197, 168, 128, 0.35);
}

.badge-gold {
  background: linear-gradient(135deg, #C5A880 0%, #A88656 100%);
  color: #FFFFFF;
}

/* Bottone WhatsApp e CTAs */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #C5A880 0%, #A88656 100%);
  color: white;
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #B39266 0%, #957545 100%);
  box-shadow: 0 6px 18px rgba(197, 168, 128, 0.4);
}

/* Animazione Modale */
.modal-enter {
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Barra Categorie a Scorrimento Orizzontale Mobile-First */
.category-scroll-bar {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.category-scroll-bar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, iOS */
}

/* Stile Taglie Selezionabili */
.size-chip {
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.size-chip.selected {
  background-color: var(--color-dark);
  color: white;
  border-color: var(--color-dark);
}

/* Ottimizzazioni Mobile & Touch */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Feedback tattile per smartphone */
.look-card:active {
  transform: scale(0.98);
}
.btn-whatsapp:active,
.btn-gold:active,
.size-chip:active {
  transform: scale(0.96);
}

/* Supporto Safe Area per iPhone (Notch & Home Bar) */
.safe-pb {
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

/* Prevenzione zoom automatico indesiderato su iOS Safari */
@media (max-width: 640px) {
  input[type="text"],
  input[type="password"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Floating Action Button (Pulsante WhatsApp Mobile) */
.fab-whatsapp {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: 1.25rem;
  z-index: 40;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  animation: pulseFab 2.5s infinite;
}

@keyframes pulseFab {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Stili Galleria Multi-Foto */
.gallery-thumb {
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.gallery-thumb.active {
  border-color: #C5A880 !important;
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.5);
  transform: scale(1.05);
}

/* Stili Tavolozza Cerchietti Colore */
.color-swatch-chip {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.color-swatch-chip:hover {
  transform: translateY(-2px) scale(1.05);
}
.color-swatch-chip.selected {
  outline: 2.5px solid #1C1917;
  outline-offset: 2.5px;
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  display: inline-block;
  vertical-align: middle;
}

