/** Shopify CDN: Minification failed

Line 20:0 All "@import" rules must come first

**/
/* Google Fonts import */
/* =============================================
   MP OVERRIDE: MrPhone palette (rosso #DC2626, sfondo nero)
   ============================================= */
:root {
  --color-primary: #DC2626;
  --color-primary-hover: #B91C1C;
  --color-primary-shadow: rgba(220,38,38,.3);
  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-text: #f8fafc;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

/* Override body font to use Inter */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fade-in .25s ease forwards;
}

.spinner {
  display: inline-block;
  width: .875rem;
  height: .875rem;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  vertical-align: middle;
  margin-right: .375rem;
}

.spinner--dark {
  border-color: rgba(0,0,0,.15);
  border-top-color: var(--color-primary);
}

/* =============================================
   LOADING SKELETON
   ============================================= */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: .5rem;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   FOCUS STYLES (ACCESSIBILITY)
   ============================================= */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* =============================================
   TOPBAR ENHANCEMENTS
   ============================================= */
.topbar {
  transition: box-shadow .2s;
}

.topbar.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* =============================================
   FORMS BASE (portati da Base44 — mancavano: input/bottoni nudi)
   ============================================= */
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-label { font-size: .8rem; font-weight: 700; color: #18181b; }
.form-input, .form-textarea {
  width: 100%;
  border: 1.5px solid #e4e4e7;
  border-radius: .875rem;
  padding: .8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #09090b;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-primary, #DC2626);
  box-shadow: 0 0 0 3px rgba(220,38,38,.15);
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: none;
  border-radius: .875rem;
  font-family: inherit;
  font-weight: 800;
  font-size: .9rem;
  padding: .7rem 1.25rem;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s, background .15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-primary, #DC2626);
  color: #fff;
  box-shadow: 0 6px 16px rgba(220,38,38,.3);
}
.btn-primary:hover { background: #B91C1C; }
.btn-lg { padding: .95rem 1.5rem; font-size: 1rem; border-radius: 1rem; }

/* =============================================
   FORMS ENHANCEMENTS
   ============================================= */
.form-input::placeholder { color: #94a3b8; }
.form-textarea::placeholder { color: #94a3b8; }
.form-input:disabled, .form-textarea:disabled {
  background: #f1f5f9;
  cursor: not-allowed;
  opacity: .7;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* =============================================
   BUTTONS ENHANCEMENTS
   ============================================= */
.btn {
  -webkit-font-smoothing: antialiased;
}

.btn:active {
  transform: scale(.98);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* =============================================
   CARD HOVER EFFECTS
   ============================================= */
.card-hover {
  transition: box-shadow .2s, transform .2s;
}

.card-hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* =============================================
   CUSTOM SCROLLBAR
   ============================================= */
@media (min-width: 769px) {
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: #f1f5f9; }
  ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
  ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
}

/* =============================================
   RESPONSIVE TOPBAR MOBILE MENU
   ============================================= */
.topbar__menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
  color: var(--color-secondary);
}

.topbar__mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: #fff;
  z-index: 49;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  gap: 0;
  border-top: 1px solid #e2e8f0;
  overflow-y: auto;
}

.topbar__mobile-menu.open {
  display: flex;
}

.topbar__mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-secondary);
  border-bottom: 1px solid #f1f5f9;
}

.topbar__mobile-menu a:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .topbar__menu-toggle { display: flex; align-items: center; justify-content: center; }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
  .topbar, .footer, .topbar__cta { display: none; }
  body { background: #fff; }
}
