@import url('https://use.typekit.net/qxk4lzc.css');
@import url('typography.css?v=20260904-typography-system68');

@layer reset-style {

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  * {
    margin: 0;
  }

  img,
  picture,
  svg,
  canvas,
  video {
    max-inline-size: 100%;
  }

  p {
    color: #121212;
    word-wrap: break-word;
    font-weight: 400;
    margin-bottom: 8px;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #214ecd;
    word-wrap: break-word;
  }
}

@layer default {
  :root {
    --font-primary: 'neue-haas-grotesk-display', 'Helvetica Neue', Arial, sans-serif;
    --blue-1: #214ecd;
    --primary-color: #214ecd;
    --blue-500: var(--blue-1);
    --blue-600: var(--blue-1);
    --accent: var(--blue-1);
    --muted: #666;
    --panel-bg: #fbfcfe;
    --field-height: 44px;
    --primary-grey: #121212;
    --secondary-grey: #3B3B3B;
    --tertiary-grey: #e6e6e6;
    --white-color: #fff;
    --overlay-bg: rgba(0, 0, 0, 0.3);
    --container: min(94vw, 1480px);
    --header-height: 64px;
  }

  html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
  }

  body {
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-primary);
    font-weight: 400;
    color: #3B3B3B;
    line-height: var(--lh-body, 1.6);
    overflow-x: hidden;
  }
}

@layer ally {
  :focus-visible {
    outline: 3px solid #0a2b4c;
    outline-offset: 3px;
  }

  [id] {
    scroll-margin-top: calc(var(--header-height, 64px) + var(--product-subnav-height, 0px) + 1rem);
  }

  .sr-only,
  .sr-only-focusable {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-inline-width: 0;
  }

  .sr-only-focusable:active,
  .sr-only-focusable:focus {
    position: absolute;
    top: 0;
    left: 0;
    inline-size: 100%;
    block-size: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    padding: 16px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--white-color);
    z-index: 1000;
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

@layer layout {
  .container {
    width: 100%;
    max-width: var(--container, 1480px) !important;
    margin-inline: auto;
  }

  main {
    /* larghezza del contenuto ridotta per adattarsi meglio al layout newslist */
    margin: 0 auto;
    min-height: 60vh;
  }
}

/* Standard Container for consistent alignment */
.standard-container {
    width: 100%;
    max-width: var(--container, 1480px);
    margin-inline: auto;
    padding-inline: 20px;
}





/* --- Breadcrumb bar --- */
#breadcrumb {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
  padding: 0 20px;
  color: #6b6b6b;
  box-sizing: border-box;
  z-index: 90;
  margin-top: 86px;
}

#breadcrumb nav {
  max-width: var(--container, 1480px);
  margin: 0 auto;
  padding: 16px 0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 0;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  font-size: var(--fs-small, 0.875rem);
  font-weight: 500;
  color: #333;
  text-transform: none;
  letter-spacing: normal;
  line-height: var(--lh-small, 1.4);
}

.breadcrumb-list li::after {
  content: "/";
  margin: 0 10px;
  color: #aaa;
}

.breadcrumb-list li:last-child::after {
  content: "";
}

#breadcrumb .crumb {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

#breadcrumb a.crumb:hover,
#breadcrumb a.crumb:focus-visible {
  color: var(--category-accent, #ff0000);
  text-decoration: underline;
}

#breadcrumb .current {
  color: #202020;
  font-weight: 600;
}

/* Keep legacy video scripts compatible without inheriting their old breadcrumb skin. */
#breadcrumb .video-breadcrumb {
  margin: 0 auto;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
}

#breadcrumb .video-breadcrumb li + li::before {
  content: none;
}
:where(
  main img,
  main video,
  .card,
  [class*="card"],
  .prod-card,
  [class*="product-card"],
  [class*="menu"],
  [class*="panel"],
  .btn,
  .cta,
  [class*="cta"],
  .history-cta,
  button,
  input,
  select,
  textarea
) {
  border-radius: 3px !important;
}
