.story .hoder-seen #head-title h3 {
    position: relative;
    font-weight: 600;
    padding-bottom: 10px;
    font-size: 16px;
}

.story .seen-box .seen-item {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 10px;
    border-radius: 10px;
    background: #ffffff;
}

.story .seen-box .seen-item:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
}

.story .seen-box .seen-item img {
    padding: 2px;
    width: 80px;
    height: 80px;
    align-self: center;
    border-radius: 100%;
    border: 2px #d90268 solid
}

.story .seen-box .seen-item a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 5px;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
}

.story .seen-box .seen-item a:hover {
    color: #d90268;
}
 .modal-content {
      background-color: #d9d9d9;
      height: 800px;
      border-radius: 0;
    }
    .progress-bar-container {
      width: 80%;
      height: 8px;
      background-color: #aaa;
      border-radius: 5px;
      margin-top: 8px;
    }
    .progress-bar-main {
      height: 8px;
      background-color: #555;
      border-radius: 5px;
      width: 70%;
    }
    .progress-bar-sub {
      height: 5px;
      background-color: #666;
      border-radius: 5px;
      width: 40%;
      margin-top: 4px;
    }
    .btn-red {
      background-color: #c7003f;
      border: none;
    }
    .btn-red:hover {
      background-color: #a50032;
    }
    .icon-text {
      font-size: 16px;
      color: black;
    }
    .top-bar {
      font-weight: bold;
      font-size: 20px;
      direction: rtl;
      display: flex;
      justify-content: space-between;
      padding: 10px 16px;
      font-family: "Vazir", sans-serif;
    }
    .bottom-bar {
      margin-top: 15px;
      background-color: white;
      border-radius: 10px;
      padding: 8px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .bottom-text {
      width: 70%;
      height: 20px;
      background-color: #aaa;
      border-radius: 4px;
    }
    .bottom-sub-text {
      width: 40%;
      height: 15px;
      background-color: #888;
      border-radius: 4px;
      margin-top: 4px;
    }
    .icon-heart,
    .icon-comment {
      font-size: 24px;
      margin-left: 10px;
      color: #333;
      cursor: pointer;
      user-select: none;
    }
    .play-button {
      width: 50px;
      height: 50px;
      background-color: #c7003f;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-size: 24px;
      cursor: pointer;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    
        .story-dialog {
            width: 100%;
            max-width: 420px;
            margin: 0 auto;
        }

        .story-modal-content {
            height: 90vh;
            border-radius: 14px;
            overflow: hidden;
            background: #000;
            position: relative;
        }

        .story-stage {
            position: relative;
            height: calc(90vh - 170px);
            background: #000;
            overflow: hidden;
        }

        .story-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .top-bar {
            position: absolute;
            top: 12px;
            left: 12px;
            right: 12px;
            z-index: 8;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #fff;
            font-size: 14px;
        }

        /* Close (X) */
        .story-close {
            width: 34px;
            height: 34px;
            border-radius: 999px;
            border: 0;
            background: rgba(0, 0, 0, 0.35);
            color: #fff;
            font-size: 22px;
            line-height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .story-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 7;
            width: 62px;
            height: 62px;
            border-radius: 50%;
            border: 0;
            background: rgba(0, 0, 0, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .story-actions {
            position: absolute;
            right: 12px;
            bottom: 12px;
            z-index: 8;
            color: #fff;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .story-action {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .icon-text {
            font-size: 13px;
        }

        /* product card */
        .story-product {
            height: 170px;
            background: #fff;
            padding: 12px;
        }

        .story-title {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 10px;
            text-align: right;
        }

        .story-bottom-bar {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .story-add-btn {
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 14px;
        }

        .story-prices {
            flex: 1;
            font-size: 12px;
            text-align: right;
        }

        .story-thumb {
            width: 70px;
            height: 55px;
            border-radius: 10px;
            overflow: hidden;
            background: #eee;
            flex-shrink: 0;
        }

        .story-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .story-caption {
            display: block;
            margin-top: 6px;
            font-size: 11px;
            line-height: 1.4;
            color: #333;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    