/* ── HIGHLIGHTS BAR ── */
.highlights-bar {
  background: var(--white, #fff);
  border-top: 1px solid rgba(0,0,0,0.05); /* Separator from main header */
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 12px 0;
  width: 100%;
}
.highlights-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.highlights-inner::-webkit-scrollbar { display: none; }

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.highlight-item:hover { transform: scale(1.05); }

.highlight-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #1C1C1C;
  padding: 2.5px;
  position: relative;
}
.highlight-ring.seen { border-color: #ccc; }

.highlight-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #D4B896;
}

.highlight-new-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #1a3626; /* Forest */
  border-radius: 50%;
  border: 1.5px solid #fff;
}

.highlight-label {
  font-size: 9.5px;
  font-weight: 500;
  color: #1f2937;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* ── STORY VIEWER ── */
.story-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.story-overlay.open { display: flex; }

.story-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  max-height: 820px;
  background: #111;
  overflow: hidden;
  border-radius: 0;
}

/* Progress bars */
.story-progress {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 10;
}
.story-prog-track {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.story-prog-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.1s linear;
}
.story-prog-fill.done { width: 100%; transition: none; }
.story-prog-fill.active { width: 0%; }

/* Story header */
.story-header {
  position: absolute;
  top: 24px;
  left: 16px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.story-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  object-fit: cover;
  background: #D4B896;
  flex-shrink: 0;
}
.story-brand {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.story-time {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
}
.story-close {
  position: absolute;
  top: 24px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Story media */
.story-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.story-slide.active { display: block; }
.story-slide img,
.story-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Story gradient overlay */
.story-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

/* Story bottom content */
.story-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 32px;
  z-index: 6;
}
.story-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a84c; /* Gold-lt */
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.story-product-name {
  font-family: 'Orange Avenue DEMO', 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.1;
}
.story-price {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}
.story-price strong { color: #fff; font-weight: 500; }
.story-price s { color: rgba(255,255,255,0.5); font-size: 12px; }
.story-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1f2937;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}
.story-shop-btn:hover { background: #f5ede0; }

/* Tap zones */
.story-tap-prev,
.story-tap-next {
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  z-index: 8;
  cursor: pointer;
  background: transparent;
  border: none;
}
.story-tap-prev { left: 0; }
.story-tap-next { right: 0; }

@media (max-width: 480px) {
  .highlights-inner { 
    justify-content: flex-start;
    gap: 12px; 
    padding: 0 16px;
  }
  .highlight-item {
    width: calc((100vw - 32px - (3 * 12px)) / 4.3);
  }
  .highlight-ring { width: 60px; height: 60px; }
  .story-container { max-height: 100vh; border-radius: 0; }
}
