.stories-wrap{
      max-width: 1280px;
      margin: 40px auto;
      padding: 0 20px;
    }

    .stories-carousel{
      position: relative;
    }

    .stories-carousel .carousel-inner{
      overflow: visible;
    }

    .stories-row{
      display: flex;
      gap: 16px;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 4px 6px 10px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .stories-row::-webkit-scrollbar{ height: 8px; }
    .stories-row::-webkit-scrollbar-thumb{ background: #bbb; border-radius: 10px; }

    .story-card{
      position: relative;
      flex: 0 0 calc((100% - 4*16px)/5); /* 5 cards visíveis no desktop */
      min-width: 260px;
      max-width: 260px;
      height: 410px;
      border-radius: 14px;
      overflow: hidden;
      background: #ddd;
      box-shadow: 0 6px 20px rgba(0,0,0,.10);
      scroll-snap-align: start;
    }

    .story-video,
    .story-image{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: #d9d9d9;
    }

    .story-overlay{
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0,0,0,.10) 0%,
        rgba(0,0,0,.05) 35%,
        rgba(0,0,0,.22) 65%,
        rgba(0,0,0,.35) 100%
      );
      pointer-events: none;
    }

    .story-top-icons{
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 3;
      display: flex;
      gap: 8px;
    }

    .story-top-icons button{
      width: 26px;
      height: 26px;
      border: none;
      border-radius: 50%;
      background: rgba(255,255,255,.25);
      color: #fff;
      display: grid;
      place-items: center;
      backdrop-filter: blur(2px);
      cursor: pointer;
      padding: 0;
    }

    .story-caption{
      position: absolute;
      top: 90px;
      left: 16px;
      right: 16px;
      z-index: 3;
      color: #fff;
      font-weight: 700;
      line-height: 1.15;
      font-size: 18px;
      text-shadow: 0 1px 2px rgba(0,0,0,.25);
    }

    .story-play{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 4;
      width: 66px;
      height: 66px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.35);
      background: rgba(255,255,255,.12);
      color: #fff;
      display: grid;
      place-items: center;
      backdrop-filter: blur(3px);
      cursor: pointer;
      transition: .2s ease;
    }

    .story-play:hover{
      background: rgba(255,255,255,.20);
      transform: translate(-50%, -50%) scale(1.04);
    }

    .story-play i{
      font-size: 24px;
      margin-left: 3px;
    }

    /* Pulso no ícone de play */
    .story-play::after{
      content:"";
      position:absolute;
      inset:-10px;
      border-radius:50%;
      border:2px solid rgba(255,255,255,0.55);
      opacity:0;
      animation:pulseGlow 1.6s ease-out infinite;
      z-index:-1;
    }

    .story-product{
      position: absolute;
      right: 10px;
      bottom: 10px;
      z-index: 5;
      border: 1px solid rgba(255,255,255,.35);
      border-radius: 26px;
      padding: 4px;
      display: flex;
      align-items: center;
      gap: 10px;
      backdrop-filter: blur(6px);
    }

    /* Badge pulsante */
    .pulse-border{
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
    }
    .pulse-border::after{
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,0.55);
      opacity: 0;
      animation: pulseGlow 1.6s ease-out infinite;
    }
    @keyframes pulseGlow{
      0%   { transform: scale(0.75); opacity: 0.65; }
      60%  { transform: scale(1.45); opacity: 0; }
      100% { transform: scale(1.45); opacity: 0; }
    }

    .story-product-thumb{
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: #fff;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid rgba(0,0,0,.04);
    }

    .story-product-info{
      min-width: 0;
      color: #fff;
      line-height: 1.1;
    }

    .story-product-title{
      font-size: 12px;
      font-weight: 700;
      margin: 0 0 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .story-product-price{
      font-size: 12px;
      font-weight: 700;
      opacity: .95;
      margin: 0;
    }

    .stories-carousel .carousel-control-prev,
    .stories-carousel .carousel-control-next{
      width: 42px;
      height: 42px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 1;
      background: rgba(120,120,120,.7);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 16px rgba(0,0,0,.22);
    }

    .stories-carousel .carousel-control-prev{ left: -10px; }
    .stories-carousel .carousel-control-next{ right: -10px; }

    .stories-carousel .carousel-control-prev-icon,
    .stories-carousel .carousel-control-next-icon{
      background-image: none;
      width: auto;
      height: auto;
      font-size: 22px;
      color: #fff;
    }

    .stories-carousel .carousel-inner{
      cursor: grab;
      user-select: none;
      touch-action: pan-y;
    }

    .carousel-inner.is-dragging{
      cursor: grabbing;
    }

    /* Responsivo */
    @media (max-width: 1200px){
      .story-card{ height: 390px; }
    }

    @media (max-width: 992px){
      .stories-row{ gap: 12px; }
      .story-card{ height: 340px; }
      .story-caption{ top: 70px; font-size: 15px; }
    }

    @media (max-width: 768px){
      /* Mobile: 4 cards visíveis */
      .stories-row{
        gap: 12px;
        padding: 10px 14px 16px;
        scroll-snap-type: x mandatory;
      }
      .story-card{
        flex: 0 0 calc((100% - 3*12px)/4);
        min-width: 260px;
        max-width: 260px;
        height: 410px;
      }
      .story-caption{ font-size: 14px; top: 60px; }
      .story-play{ width: 54px; height: 54px; }
      .story-play i{ font-size: 20px; }
      .story-product{ padding: 6px; gap: 8px; }
      .story-product-thumb{ width: 38px; height: 38px; }

      .stories-carousel .carousel-control-prev,
      .stories-carousel .carousel-control-next{
        display: none !important;
      }
    }
    .bg-button{
      background-color: rgb(117 53 151) !important;
      color: #fff;
    }