/* S7 homepage hero CTA + mobile first-screen tighten, 2026-12-01.
   Overlay only; does not rewrite published CSS. Homepage-only (linked from index.html). */

/* Two in-page hero actions: primary discovers products, secondary opens categories. */
.v2hv-links{
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
}
.v2hv-links a.pri{
  width:auto;
  min-width:10.25rem;
  padding:0 18px;
}
.v2hv-links a.ghost{
  width:auto;
  flex:0 1 auto;
  white-space:nowrap;
}

/* Override 11-26 “primary full-width + two half-width ghosts” below 1280. */
@media (max-width:1279px){
  .v2hv-links{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:stretch;
  }
  .v2hv-links a{
    width:auto;
    white-space:nowrap;
  }
  .v2hv-links a.pri{
    width:auto;
    flex:0 0 auto;
    min-height:48px;
    font-size:.98rem;
  }
  .v2hv-links a.ghost{
    width:auto;
    flex:0 1 auto;
    min-height:44px;
  }
}

/* Narrow phones: stack so “Kategorilere göz at” stays on one line. */
@media (max-width:480px){
  .v2hv-links{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    margin-top:14px;
  }
  .v2hv-links a.pri,
  .v2hv-links a.ghost{
    width:100%;
    flex:1 1 auto;
    white-space:nowrap;
    min-width:0;
  }
  .v2hv-links a.ghost{min-height:44px}
}

/* Stacked hero (below 1280): cap the official still so a 1024×768
   first screen is not swallowed by an ~640px-tall illustration. */
@media (max-width:1279px){
  .v2hv-visual{max-width:min(520px,100%)}
  .v2hv-visual img,
  .v2hv-scene{
    max-height:280px;
    width:100%;
    height:auto;
    object-fit:contain;
    object-position:center;
  }
}

/* Tighten the mid-hero feature row and category tray on tablets/phones
   so Öne çıkan (Kiss / LiveGo / YOYO) arrives earlier. Do not remove categories. */
@media (max-width:819px){
  .v2hv-stage{padding:10px 0 16px}
  .v2hv-inner{row-gap:10px;padding:2px 0 6px}
  .v2hv-copy{padding-top:0}
  .v2hv-pill{margin-bottom:8px}
  .v2hv-copy .v2-lead{
    margin-top:8px;
    font-size:.95rem;
    line-height:1.45;
  }

  /* Shorten feature chips: keep titles, hide supporting lines. */
  .v2hv-feats{gap:6px 8px}
  .v2hv-feats li{align-items:center}
  .v2hv-feats .ico{width:28px;height:28px;border-radius:9px}
  .v2hv-feats .ico svg{width:14px;height:14px}
  .v2hv-feats b{font-size:.75rem;line-height:1.2}
  .v2hv-feats span{display:none}

  /* Cap the official still so it does not consume a full mobile viewport.
     Contain (no crop of faces or UI chrome). */
  .v2hv-visual{max-width:min(420px,100%)}
  .v2hv-visual img,
  .v2hv-scene{
    max-height:240px;
    width:100%;
    height:auto;
    object-fit:contain;
    object-position:center;
  }

  .v2-cat-tray-wrap{margin-top:-14px;padding-bottom:4px}
  .v2-cat-tray{padding:8px;gap:6px}
  .v2-home .v2-cat{padding:8px 6px;gap:4px}
  .v2-home .v2-cat .ico{width:28px;height:28px}
  .v2-home .v2-cat h3{font-size:.76rem;line-height:1.25}
  .v2-cat-go{width:16px;height:16px;top:6px;inset-inline-end:6px}
  .v2-cat-go svg{width:10px;height:10px}

  /* Bring the featured row up once the tray ends. */
  .v2-home #kesfet{padding:16px 0 12px}
  .v2-home #kesfet .v2-sec-head{margin-bottom:4px}
  .v2-home #kesfet .v2-sec-head h2{font-size:1.25rem}
  .v2-home #kesfet > .lead{margin:6px 0 0;font-size:.9rem;line-height:1.4}
  .v2-home .v2-filters{margin:8px 0 6px;gap:6px}
  .v2-home .v2-filters button{min-height:36px;padding:0 12px;font-size:.85rem}
  .v2-home .v2-grid--featured{margin-top:8px;gap:8px}
}

@media (max-width:400px){
  .v2hv-copy h1,
  #hero.v2hv-stage h1{font-size:1.55rem;line-height:1.16}
  .v2hv-copy .v2-lead{font-size:.92rem}
  .v2hv-visual img,
  .v2hv-scene{max-height:200px}
  .v2-home .v2-cat{padding:7px 6px}
  .v2-home .v2-cat h3{font-size:.72rem;line-height:1.25}
  .v2hv-feats b{font-size:.72rem}
}

@media (max-width:320px){
  .v2hv-copy h1,
  #hero.v2hv-stage h1{font-size:1.42rem}
  .v2hv-visual img,
  .v2hv-scene{max-height:160px}
  .v2-home .v2-cat .ico{width:26px;height:26px}
  .v2-home .v2-cat h3{font-size:.7rem}
  .v2hv-links a{font-size:.9rem}
}


/* Desktop typography inset (t1193u). Mobile first-screen rules above stay unchanged.
   Align the hero with header .w (max-width 1160px, padding-inline 20px),
   so copy/features line up with the logo (80px at 1280; 20px at 1024)
   instead of a 16px viewport gutter.

   1024–1279 (t1196u): use the accepted 1280 two-column hero, slightly tighter,
   instead of the stacked layout from s7-v2-home-visual-1125.css. This also
   overrides the stacked illustration cap in the max-width:1279px block above.
   The min-width:1280px block and max-width:819px mobile rules stay unchanged. */
@media (min-width: 1024px) and (max-width: 1279px){
  .v2hv-stage{padding:16px 0 28px}
  .v2hv-inner{
    display:grid;
    width:min(1160px,100%);
    max-width:1160px;
    margin-inline:auto;
    padding:6px 20px 10px;
    box-sizing:border-box;
    column-gap:20px;
    row-gap:12px;
    align-items:start;
    grid-template-columns:minmax(22rem,1.3fr) minmax(15rem,1fr);
    grid-template-areas:"copy visual" "feats visual";
  }
  .v2hv-copy{padding-top:4px;max-width:none}
  .v2hv-copy h1,
  #hero.v2hv-stage h1{
    font-size:clamp(1.7rem, 2.5vw, 2.2rem);
    line-height:1.14;
  }
  .v2hv-copy .v2-lead{
    margin-top:12px;
    font-size:.98rem;
    line-height:1.45;
    max-width:32rem;
  }
  .v2hv-links{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    margin-top:16px;
  }
  .v2hv-links a{
    width:auto;
    white-space:nowrap;
  }
  .v2hv-links a.pri{
    width:auto;
    flex:0 0 auto;
    min-height:48px;
    font-size:.98rem;
  }
  .v2hv-links a.ghost{
    width:auto;
    flex:0 1 auto;
    min-height:44px;
  }
  .v2hv-visual{
    width:100%;
    max-width:none;
    margin:0;
    justify-self:stretch;
    align-self:center;
  }
  .v2hv-visual img,
  .v2hv-scene{
    max-height:none;
    width:100%;
    height:auto;
    object-fit:contain;
    object-position:center right;
  }
  .v2hv-feats{gap:8px 10px}
  .v2hv-feats b{font-size:.8rem}
  .v2hv-feats span{font-size:.7rem;text-wrap:pretty}
}


@media (min-width: 1280px){
  .v2hv-inner{
    width:1160px;
    max-width:1160px;
    margin-inline:auto;
    padding:8px 20px 12px;
    box-sizing:border-box;
    column-gap:28px;
    /* Slightly wider left track so “Kategori seçimi” keeps “bakın” on one line. */
    grid-template-columns:minmax(24rem,1.2fr) minmax(20rem,1fr);
  }
  .v2hv-feats{gap:10px 16px}
  .v2hv-feats span{text-wrap:pretty}
}
