/* ============================================================
   PATTES & PRESTIGE — sur-mesure.css
   ============================================================ */

.sm-login-required {
  max-width: 560px;
  margin: 2rem auto 6rem;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.sm-login-required__icon { font-size: 4rem; margin-bottom: 1rem; }
.sm-login-required h2 { font-size: 2rem; margin-bottom: 1rem; }
.sm-login-required p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 0.5rem; }
.sm-login-required__actions { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }

.sm-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5vw 6rem;
  position: relative;
  z-index: 1;
}

.sm-welcome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.8rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.sm-welcome span { font-size: 1.8rem; flex-shrink: 0; }

.sm-form { padding: 2.5rem; }

.sm-section { margin-bottom: 0; }
.sm-section__title {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.sm-sep { height: 1px; background: rgba(58,47,39,0.07); margin: 2rem 0; }
.sm-hint { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.6; }
.sm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Product picker */
.sm-product-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sm-product-option { cursor: pointer; }
.sm-product-option input { display: none; }
.sm-product-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(58,47,39,0.14);
  background: rgba(255,255,255,0.35);
  color: var(--text-mid);
  transition: all 0.2s;
  min-width: 90px;
  font-size: 0.82rem;
}
.sm-product-option:has(input:checked) span {
  background: color-mix(in srgb, var(--season-primary,#e8a4b8) 15%, rgba(255,255,255,0.8));
  border-color: color-mix(in srgb, var(--season-primary,#e8a4b8) 45%, transparent);
  color: var(--text);
  box-shadow: 0 3px 12px color-mix(in srgb, var(--season-primary,#e8a4b8) 15%, transparent);
}
.sm-product-emoji { font-size: 1.8rem; }

/* Color presets */
.sm-color-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-color-btn {
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(58,47,39,0.14);
  background: rgba(255,255,255,0.35);
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.sm-color-btn:hover, .sm-color-btn.active {
  background: color-mix(in srgb, var(--season-primary,#e8a4b8) 12%, rgba(255,255,255,0.8));
  border-color: color-mix(in srgb, var(--season-primary,#e8a4b8) 40%, transparent);
  color: var(--text);
}

/* Metal picker */
.sm-metal-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-metal-option { cursor: pointer; }
.sm-metal-option input { display: none; }
.sm-metal-option span {
  display: block;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(58,47,39,0.14);
  background: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  color: var(--text-mid);
  transition: all 0.2s;
}
.sm-metal-option:has(input:checked) span {
  background: color-mix(in srgb, var(--season-primary,#e8a4b8) 15%, rgba(255,255,255,0.8));
  border-color: color-mix(in srgb, var(--season-primary,#e8a4b8) 45%, transparent);
  color: var(--text);
}

/* Deco picker */
.sm-deco-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-deco-option { cursor: pointer; }
.sm-deco-option input { display: none; }
.sm-deco-option span {
  display: block;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(58,47,39,0.14);
  background: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  color: var(--text-mid);
  transition: all 0.2s;
}
.sm-deco-option:has(input:checked) span {
  background: color-mix(in srgb, var(--season-primary,#e8a4b8) 15%, rgba(255,255,255,0.8));
  border-color: color-mix(in srgb, var(--season-primary,#e8a4b8) 45%, transparent);
  color: var(--text);
}

.sm-contact-info { margin-top: 2rem; padding: 1.5rem !important; }

.btn-sm-send {
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}
.btn-sm-send:hover { transform: translateY(-2px); }

.sm-success {
  text-align: center;
  padding: 4rem 3rem;
  margin-top: 2rem;
}
.sm-success__icon { font-size: 5rem; margin-bottom: 1.5rem; animation: bounce 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.sm-success h2 { font-size: 2rem; margin-bottom: 1rem; }
.sm-success p { color: var(--text-mid); line-height: 1.7; margin-bottom: 0.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

@media (max-width: 700px) {
  .sm-row { grid-template-columns: 1fr; }
  .sm-form { padding: 1.5rem; }
}
