/* =========================================
   Aviola Horizontal Menu — style.css
   Colors are controlled via Elementor
   Style panel controls (selectors).
   ========================================= */

/* Nav strip */
.ahm-nav {
  display: flex;
  flex-direction: row;        /* always horizontal */
  flex-wrap: nowrap;          /* never wrap to next line */
  align-items: center;
  overflow-x: auto;           /* scroll on mobile if items overflow */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  gap: 20px;                  /* overridden by Elementor slider control */
  padding: 10px 0;
  width: 100%;
  /* hide scrollbar */
  scrollbar-width: none;
}
.ahm-nav::-webkit-scrollbar {
  display: none;
}

/* Individual link */
.ahm-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  white-space: nowrap;        /* keep each label on one line */
  text-decoration: none;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 4px;
  scroll-snap-align: start;
  flex-shrink: 0;             /* don't shrink items */
  transition: color 0.2s ease;
}

/* Underline indicator */
.ahm-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}
.ahm-item:hover::after,
.ahm-item.active::after {
  background-color: #111;
}

/* Badge (NEW / SALE etc.) */
.ahm-badge {
  display: inline-block;
  background-color: #111;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 2px;
  line-height: 1.3;
  vertical-align: middle;
  margin-left: 2px;
}

/* Empty state */
.ahm-empty {
  padding: 12px;
  color: #999;
  font-style: italic;
  text-align: center;
}