/* =========================
   STORY BAR
========================= */

.story-bar{
  display:flex;
  gap:14px;
  padding:12px 10px;
  overflow-x:auto;
  scrollbar-width:none;
}

.story-bar::-webkit-scrollbar{
  display:none;
}

.story-item{
  text-align:center;
  cursor:pointer;
  width:72px;
  flex-shrink:0;
}

.story-ring{
  width:68px;
  height:68px;
  border-radius:50%;
  padding:3px;
  background:linear-gradient(45deg,#ff004c,#ff9f00);
}

.story-ring img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
}

.story-title{
  font-size:11px;
  margin-top:4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* =========================
   STORY MODAL
========================= */

.story-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.story-modal.active{
  display:flex;
}

.story-modal-content{
  position:relative;
  width:360px;
  height:640px;
  max-width:95vw;
  max-height:95vh;
  background:#000;
  border-radius:18px;
  overflow:hidden;
}

.story-modal-content img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.story-close{
  position:absolute;
  top:10px;
  right:10px;
  z-index:99999;
  background:rgba(0,0,0,.6);
  border:none;
  color:#fff;
  font-size:20px;
  padding:6px 10px;
  border-radius:50%;
  cursor:pointer;
}

.story-link{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:#fff;
  color:#000;
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
}

/* =========================
   GLOBAL HOME UI
========================= */

.sv-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.sv-section-title h4{
  margin:0;
  font-weight:800;
}

.sv-section-title a{
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}

/* =========================
   TRUST BAR
========================= */

.trust-bar{
  border:1px solid #eee;
  border-radius:14px;
  padding:14px;
  display:flex;
  gap:12px;
  justify-content:space-between;
  flex-wrap:wrap;
  background:#fff;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:210px;
}

.trust-ico{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #eee;
  background:#fafafa;
  font-size:18px;
}

/* =========================
   MAIN SLIDER
========================= */

.sv-slider-wrap{
  position:relative;
}

.sv-slide{
  width:100%;
  height:420px;
  border-radius:14px;
  background-repeat:no-repeat;
  position:relative;
  overflow:hidden;
}

.sv-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,0));
}

@media(max-width:768px){
  .sv-slide{
    height:230px;
    border-radius:12px;
  }
}

.slide-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:#e11d48;
  color:#fff;
  font-weight:800;
  padding:6px 10px;
  border-radius:10px;
  font-size:12px;
}

/* =========================
   CATEGORY CHIPS
========================= */

.chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chip{
  border:1px solid #eee;
  background:#fff;
  padding:9px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  text-decoration:none;
  color:#111;
  transition:.2s;
}

.chip:hover{
  transform:translateY(-2px);
  border-color:#111;
}


.brand-box{
  width:110px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  text-decoration:none;
  transition:transform .25s ease;
}

.brand-img{
  width:90px;
  height:90px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #eee;
  background:#fff;
  transition:transform .25s ease;
}

.brand-box .small{
  margin-top:8px;
  font-size:13px;
  font-weight:600;
  color:#000;
}

.brand-cta{
  margin-top:4px;
  font-size:12px;
  font-weight:700;
  background:#111;
  color:#fff;
  padding:5px 12px;
  border-radius:999px;
  opacity:0;
  transform:translateY(6px);
  transition:.25s;
}

.brand-box:hover{
  transform:translateY(-4px);
}

.brand-box:hover .brand-img{
  transform:scale(1.08);
}

.brand-box:hover .brand-cta{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   FLASH BOX
========================= */

.flash-wrap{
  border:1px solid #eee;
  background:#fff;
  border-radius:16px;
  padding:16px;
}

.flash-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.countdown{
  display:flex;
  gap:6px;
  align-items:center;
  font-weight:900;
}

.cd-box{
  min-width:44px;
  padding:8px 10px;
  border-radius:12px;
  background:#bae40f;
  color:#111;
  text-align:center;
  font-size:13px;
}

@keyframes brandScroll{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(calc(-50% - 15px));
  }
}
.brand-marquee{
  width:100%;
  overflow:hidden;
  padding:20px 0;
}

.brand-track{
  display:flex;
  gap:30px;
  align-items:center;
  width:max-content;
}

.brand-item{
  flex:0 0 auto;
  width:110px;
  text-align:center;
  text-decoration:none;
  color:#000;
}

.brand-item img{
  width:90px;
  height:90px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #eee;
}

.brand-item span{
  display:block;
  margin-top:8px;
  font-size:13px;
  font-weight:600;
}
.brand-track{
  cursor: grab;
  user-select: none;
}