/* Öne Çıkan Kategoriler — dört uyumlu pastel ton.
   Sadece kategori adı ve yön oku. Sonsuz kaydırma ayarları aynen korunur. */
.home-page-v2 .home-section-categories{
  padding:34px 0 35px;
  background:#fff;
  border-bottom:1px solid #edf0f6;
}
.home-page-v2 .home-section-categories .home-popular-categories-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 17px;
}
.home-page-v2 .home-section-categories .home-popular-categories-head h2{
  margin:0;
  color:#172338;
  font-size:clamp(23px,2.1vw,29px);
  font-weight:750;
  letter-spacing:-.75px;
  line-height:1.3;
}
.home-page-v2 .home-section-categories .home-popular-categories-head>a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  padding:7px 0;
  color:#405578;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:color .18s ease;
}
.home-page-v2 .home-section-categories .home-popular-categories-head>a:hover{
  color:var(--primary,#4056d6);
}
.home-page-v2 .home-section-categories .home-popular-categories-head>a i{
  font-size:11px;
  transition:transform .18s ease;
}
.home-page-v2 .home-section-categories .home-popular-categories-head>a:hover i{
  transform:translateX(3px);
}
.home-page-v2 .home-section-categories .home-popular-category-row{
  display:flex;
  align-items:stretch;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  gap:11px;
  margin:0;
  padding:5px 0 11px;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  scroll-snap-type:none;
  scrollbar-width:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 15px,#000 calc(100% - 15px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 15px,#000 calc(100% - 15px),transparent 100%);
}
.home-page-v2 .home-section-categories .home-category-marquee-track{
  display:flex;
  align-items:stretch;
  flex-wrap:nowrap;
  width:max-content;
  min-width:max-content;
  gap:11px;
}
.home-page-v2 .home-section-categories .home-popular-category{
  --cat-bg:#edf3ff;
  --cat-bg-end:#f6f8ff;
  --cat-border:#d7e3fb;
  --cat-accent:#476bc2;
  --cat-arrow-bg:#dce8fc;
  position:relative;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex:0 0 202px;
  width:202px;
  min-width:202px;
  max-width:202px;
  height:75px;
  min-height:75px;
  margin:0;
  padding:14px 14px 14px 17px;
  border:1px solid var(--cat-border);
  border-radius:11px;
  background:linear-gradient(122deg,var(--cat-bg),var(--cat-bg-end));
  color:#223650;
  text-align:left;
  text-decoration:none!important;
  box-shadow:0 2px 9px rgba(25,50,89,.035);
  scroll-snap-align:none;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
/* Tek bir pastel aile içinde dört sakin vurgu. */
.home-page-v2 .home-section-categories .home-popular-category:nth-child(4n+2){
  --cat-bg:#e8f7f2;
  --cat-bg-end:#f4fbf8;
  --cat-border:#cfece2;
  --cat-accent:#267d6f;
  --cat-arrow-bg:#d4efe5;
}
.home-page-v2 .home-section-categories .home-popular-category:nth-child(4n+3){
  --cat-bg:#f1edfb;
  --cat-bg-end:#faf8fe;
  --cat-border:#e4daf7;
  --cat-accent:#7354a4;
  --cat-arrow-bg:#e7dcf7;
}
.home-page-v2 .home-section-categories .home-popular-category:nth-child(4n+4){
  --cat-bg:#fff3e8;
  --cat-bg-end:#fffbf6;
  --cat-border:#f5e2cf;
  --cat-accent:#a16a36;
  --cat-arrow-bg:#f8e5d0;
}
.home-page-v2 .home-section-categories .home-popular-category::before{
  content:"";
  position:absolute;
  top:-1px;
  left:17px;
  width:43px;
  height:3px;
  border-radius:0 0 4px 4px;
  background:var(--cat-accent);
  opacity:.85;
  transition:width .18s ease;
}
.home-page-v2 .home-section-categories .home-popular-category:hover,
.home-page-v2 .home-section-categories .home-popular-category:focus-visible{
  border-color:var(--cat-accent);
  box-shadow:0 8px 19px rgba(28,60,106,.10);
  transform:translateY(-2px);
}
.home-page-v2 .home-section-categories .home-popular-category:hover::before{
  width:68px;
}
.home-page-v2 .home-section-categories .home-popular-category:focus-visible{
  outline:2px solid var(--cat-accent);
  outline-offset:2px;
}
.home-page-v2 .home-section-categories .home-category-title{
  display:block;
  flex:1 1 auto;
  min-width:0;
  margin:0;
  color:#243851;
  font-size:13px;
  font-weight:750;
  letter-spacing:-.2px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.home-page-v2 .home-section-categories .home-category-arrow{
  display:grid;
  place-items:center;
  flex:0 0 29px;
  width:29px;
  height:29px;
  border:1px solid var(--cat-border);
  border-radius:8px;
  background:var(--cat-arrow-bg);
  color:var(--cat-accent);
  font-size:11px;
  transition:color .2s ease,background-color .2s ease,border-color .2s ease;
}
.home-page-v2 .home-section-categories .home-popular-category:hover .home-category-arrow{
  border-color:var(--cat-accent);
  background:var(--cat-accent);
  color:#fff;
}
@media(max-width:760px){
  .home-page-v2 .home-section-categories{padding:26px 0 30px}
  .home-page-v2 .home-section-categories .home-popular-categories-head{margin-bottom:14px;gap:10px}
  .home-page-v2 .home-section-categories .home-popular-categories-head h2{
    font-size:clamp(19px,4.9vw,23px);
    letter-spacing:-.5px;
  }
  .home-page-v2 .home-section-categories .home-popular-categories-head>a{
    gap:5px;
    font-size:11px;
  }
  .home-page-v2 .home-section-categories .home-popular-category-row{gap:9px;padding:5px 0 10px}
  .home-page-v2 .home-section-categories .home-category-marquee-track{gap:9px}
  .home-page-v2 .home-section-categories .home-popular-category{
    flex-basis:182px;
    width:182px;
    min-width:182px;
    max-width:182px;
    height:67px;
    min-height:67px;
    padding:11px 11px 11px 14px;
    border-radius:10px;
  }
  .home-page-v2 .home-section-categories .home-category-title{font-size:12px}
  .home-page-v2 .home-section-categories .home-category-arrow{
    flex-basis:26px;width:26px;height:26px;
  }
}
@media(max-width:400px){
  .home-page-v2 .home-section-categories .home-popular-categories-head h2{font-size:19px}
  .home-page-v2 .home-section-categories .home-popular-categories-head>a{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .home-page-v2 .home-section-categories .home-popular-category,
  .home-page-v2 .home-section-categories .home-category-arrow{transition:none;transform:none}
  .home-page-v2 .home-section-categories .home-popular-category-row{
    -webkit-mask-image:none;mask-image:none;
    overflow-x:auto;touch-action:auto;scroll-snap-type:x proximity;
  }
}
