/* --- Color Variables and Settings --- */
/* --- Component Start --- */
.story-box {
  user-select: none;
  direction: rtl;
  /* Reset */
  /* -----------------------------------------
     1. Story Circles List (Thumbnails)
  ----------------------------------------- */
  /* -----------------------------------------
     2. Story Viewer Modal
  ----------------------------------------- */
  /* -----------------------------------------
     3. Header
  ----------------------------------------- */
  /* -----------------------------------------
     4. Product Card (Green)
  ----------------------------------------- */
  /* -----------------------------------------
     5. Dynamic Footer
  ----------------------------------------- */
  /* -----------------------------------------
     6. Other Components (Progress, Nav, Animation)
  ----------------------------------------- */
  /* -----------------------------------------
     7. Mobile Responsive
  ----------------------------------------- */
}
.story-box * {
  box-sizing: border-box;
}
.story-box a {
  text-decoration: none;
}
.story-box .stories-container {
  display: flex;
  gap: 15px;
  padding: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.story-box .stories-container::-webkit-scrollbar {
  display: none;
}
.story-box .story-circle {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.story-box .story-circle:active {
  transform: scale(0.95);
}
.story-box .img-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #a6bc22, #8fa31d, #f09433);
  position: relative;
}
.story-box .img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  background-color: #eee;
}
.story-box .username {
  font-size: 12px;
  margin-top: 8px;
  color: #262626;
  max-width: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.story-box .story-viewer {
  display: none; /* Managed by JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.story-box .story-viewer.active {
  opacity: 1;
}
.story-box .media-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #000000;
  pointer-events: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.story-box .story-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-box .story-header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2020;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}
.story-box .story-header .header-right-group {
  display: flex;
  align-items: center;
}
.story-box .story-header .header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-left: 10px;
}
.story-box .story-header .header-info {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin-left: 10px;
}
.story-box .story-header .header-info .header-username {
  font-weight: bold;
}
.story-box .follow-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.story-box .follow-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.story-box .follow-btn.following {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.story-box .close-btn {
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  font-weight: bold;
  opacity: 0.8;
}
.story-box .close-btn:hover {
  opacity: 1;
}
.story-box .product-card {
  display: none;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  width: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  align-items: center;
  gap: 12px;
  z-index: 2030;
  animation: slideUp 0.4s ease-out;
}
.story-box .product-card:active {
  transform: scale(0.98);
}
.story-box .product-card .product-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #eee;
}
.story-box .product-card .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-box .product-card .product-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  gap: 4px;
}
.story-box .product-card .product-details .product-title {
  font-size: 13px;
  font-weight: bold;
  color: #333;
}
.story-box .product-card .product-details .product-price {
  font-size: 12px;
  color: #a6bc22;
  font-weight: bold;
}
.story-box .product-card .product-action {
  background-color: #a6bc22;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}
.story-box .story-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 20px 30px;
  z-index: 2020;
  color: #ffffff;
  text-align: right;
  font-size: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  transition: padding-bottom 0.3s ease;
}
.story-box .story-footer.has-product {
  padding-bottom: 110px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
}
.story-box .progress-container {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  padding: 0 5px;
  display: flex;
  gap: 4px;
  z-index: 2030;
}
.story-box .progress-container .progress-bg {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.story-box .progress-container .progress-bg .progress-bar {
  height: 100%;
  background: #ffffff;
  width: 0%;
  transition: width 0.1s linear;
}
.story-box .nav-area {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  z-index: 2010;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.story-box .nav-area.nav-left {
  left: 0;
}
.story-box .nav-area.nav-right {
  right: 0;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .story-box .media-wrapper {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .story-box .story-viewer {
    background-color: #000000;
  }
  .story-box .story-header {
    top: 25px;
  }
  .story-box .product-card {
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: auto;
  }
  .story-box .story-footer {
    padding-bottom: 40px;
  }
  .story-box .story-footer.has-product {
    padding-bottom: 120px;
  }
}/*# sourceMappingURL=style.css.map */