/*!
 * MedyaZirve — Demo Mağaza Kabuğu: ortak iskelet stilleri
 * Renk/tipografi temanın değişkenlerinden gelir:
 *   --brand --brand-dark --brand-soft --ink --ink-2 --ink-3
 *   --line --line-2 --bg --bg-2 --surface --r --shadow
 * Bu dosya renk TANIMLAMAZ; sadece düzeni kurar.
 */

.container.wide { width: min(1500px, 100% - 2rem); }

/* ---------------- Kayan şerit ---------------- */
.marq { overflow: hidden; white-space: nowrap; }
.marq__run { display: inline-flex; align-items: center; animation: mz-marq 38s linear infinite; will-change: transform; }
.marq__i { padding: 0 2.2rem; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@keyframes mz-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marq:hover .marq__run { animation-play-state: paused; }

.marq--top { background: var(--ink); color: #fff; padding: .5rem 0; }
.marq--deal, .marq--fresh { padding: .7rem 0; margin: 1.6rem 0; }
.marq--deal { background: var(--brand); color: #fff; }
.marq--fresh { background: var(--ink); color: #fff; }
.marq--deal .marq__i, .marq--fresh .marq__i { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.marq--fresh .marq__i:nth-child(even) { color: var(--brand); }

/* ---------------- Fayda barı ---------------- */
.utilbar { border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.utilbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.utilbar__l, .utilbar__r { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.utilbar a:hover { color: var(--brand); }

/* ---------------- Başlık ---------------- */
.hdr { background: var(--surface); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line); }
.hdr__top { display: flex; align-items: center; gap: 1.6rem; padding: .95rem 0; }
.hdr__logo { display: flex; align-items: center; gap: .45rem; font-size: 23px; font-weight: 800; letter-spacing: -.035em; flex: none; }
.hdr__logo svg { width: 27px; height: 27px; color: var(--brand); }
.hdr__logo b { color: var(--brand); }

.search { flex: 1 1 auto; position: relative; min-width: 0; max-width: 640px; }
.search input { width: 100%; height: 44px; padding: 0 3rem 0 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); font-size: 14px; }
.search input:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.search__go { position: absolute; right: 5px; top: 5px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); }
.search__go:hover { background: var(--brand-soft); color: var(--brand); }
.sugg { position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 80; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; max-height: 380px; overflow-y: auto; }
.sugg a { display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; }
.sugg a:hover, .sugg a:focus { background: var(--line-2); }
.sugg img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; flex: none; background: #fff; }
.sugg__n { font-size: 13.5px; line-height: 1.25; }
.sugg__c { font-size: 11.5px; color: var(--ink-3); }
.sugg__empty { padding: .9rem .8rem; font-size: 13.5px; color: var(--ink-3); }

.hdr__acts { display: flex; align-items: center; gap: 1.3rem; flex: none; }
.act { position: relative; display: inline-flex; align-items: center; gap: .45rem; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.act:hover { color: var(--brand); }
.act svg { width: 21px; height: 21px; flex: none; }
.act__n { position: absolute; left: 12px; top: -6px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; font-style: normal; }
.act__n[data-zero] { display: none; }
.act--cart { padding-left: .9rem; border-left: 1px solid var(--line); }
.act--cart b { color: var(--ink); }

/* ---------------- Kategori menüsü ---------------- */
.catnav { border-top: 1px solid var(--line-2); position: relative; }
.catnav__in { display: flex; align-items: center; gap: 1.4rem; }
.catnav__all { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 0; font-size: 13.5px; font-weight: 700; color: var(--ink); flex: none; }
.catnav__all.on, .catnav__all:hover { color: var(--brand); }
.catnav__list { display: flex; gap: 1.15rem; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__list a { display: block; padding: .7rem 0; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.catnav__list a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.catnav__blog { flex: none; padding: .45rem 1.5rem; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.catnav__blog:hover { background: var(--brand); }

.megamenu { position: absolute; inset-inline: 0; top: 100%; z-index: 70; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 14px 30px -12px rgba(16, 24, 40, .28); }
.megamenu__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem; padding: 1.3rem 0 1.6rem; }
.megamenu__col { min-width: 0; display: flex; flex-direction: column; gap: .28rem; }
.megamenu__h { font-size: 13.5px; font-weight: 700; margin-bottom: .2rem; }
.megamenu__col a { font-size: 13px; color: var(--ink-3); }
.megamenu__col a:hover { color: var(--brand); }

/* ---------------- Yuvarlak kategori şeridi ---------------- */
.chips { position: relative; padding: 1.3rem 0 .4rem; }
.chips__track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: .2rem .2rem 1rem; }
.chips__track::-webkit-scrollbar { display: none; }
.chip-cat { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; }
.chip-cat__ph { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.chip-cat:hover .chip-cat__ph { border-color: var(--brand); transform: translateY(-3px); }
.chip-cat__ph img { width: 100%; height: 100%; object-fit: cover; }
.chip-cat__t { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.chips__nav, .rail__nav {
  position: absolute; border-radius: 50%; z-index: 3; line-height: 1; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.chips__nav:hover, .rail__nav:hover { color: var(--brand); border-color: var(--brand); }
.chips__nav { top: 46px; width: 34px; height: 34px; font-size: 20px; }
.chips__nav--prev { left: -14px; }
.chips__nav--next { right: -14px; }

/* ---------------- Banner mozaiği ---------------- */
.mosaic { display: grid; gap: .9rem; margin: .6rem 0 0; }
.mosaic__row { display: grid; gap: .9rem; }
.mosaic__row > * { min-width: 0; }
.mosaic__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mosaic__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bn { position: relative; display: flex; align-items: stretch; overflow: hidden; border-radius: 10px; background: var(--bn, #444); color: #fff; min-height: 190px; transition: transform .18s ease; }
.bn:hover { transform: translateY(-2px); }
.bn__img { flex: 0 0 44%; position: relative; overflow: hidden; }
.bn__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bn) 100%); }
.bn__img img { width: 100%; height: 100%; object-fit: cover; }
.bn__copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: 1.3rem 1.5rem 1.3rem .6rem; }
.bn__kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }
.bn__title { font-size: clamp(17px, 1.9vw, 24px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; text-transform: uppercase; }
.bn__cta { margin-top: .7rem; align-self: flex-start; padding: .35rem .8rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bn:hover .bn__cta { background: #fff; color: var(--bn); border-color: #fff; }

/* Koyu kategori karosu */
.tile { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #0d1017; aspect-ratio: 16 / 11; }
.tile__t { position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: .55rem .8rem; background: linear-gradient(#0d1017, rgba(13, 16, 23, .0)); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tile__img { display: block; height: 100%; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .tile__img img { transform: scale(1.05); }

/* ---------------- Ürün rayı ---------------- */
.rail { position: relative; }
.rail__track { display: flex; gap: .9rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: .4rem; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > .card { flex: 0 0 232px; }
.rail__nav { top: 38%; width: 38px; height: 38px; font-size: 22px; }
.rail__nav--prev { left: -16px; }
.rail__nav--next { right: -16px; }

.allbtn { display: flex; justify-content: center; margin: 1.6rem 0 .5rem; }

/* ---------------- Güven barı ---------------- */
.trust { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 2rem; }
.trust__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; padding: 1.1rem 0; }
.trust__in > * { min-width: 0; }
.trust__i { display: flex; align-items: center; gap: .8rem; padding: .3rem 1rem; border-right: 1px solid var(--line); }
.trust__i:last-child { border-right: 0; }
.trust__ic { width: 34px; height: 34px; flex: none; color: var(--ink-2); }
.trust__ic svg { width: 100%; height: 100%; }
.trust__i b { display: block; font-size: 13.5px; }
.trust__i span span { font-size: 12px; color: var(--ink-3); }

/* ---------------- SEO metin kutusu ---------------- */
.seobox { border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem 1.8rem; margin-top: 2rem; }
.seobox h2 { font-size: 15px; font-weight: 700; text-align: center; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 1rem; }
.seobox h3 { font-size: 13.5px; font-weight: 700; margin: 1rem 0 .3rem; }
.seobox p { font-size: 13px; line-height: 1.75; color: var(--ink-3); }

/* ---------------- Footer ---------------- */
.ftr { background: var(--bg-2); border-top: 1px solid var(--line); padding: 2rem 0 1.2rem; }
.ftr__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ftr__soc { display: flex; gap: .5rem; }
.ftr__soc i { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.ftr__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.6rem; padding: 1.6rem 0; }
.ftr__grid > * { min-width: 0; }
.ftr__col h4 { font-size: 13.5px; margin-bottom: .6rem; }
.ftr__col li { padding: .2rem 0; font-size: 13px; color: var(--ink-3); }
.ftr__news { grid-column: span 2; }
.ftr__form { display: flex; gap: .4rem; margin: .6rem 0 .5rem; }
.ftr__form input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ftr__form input:focus { outline: none; border-color: var(--brand); }
.ftr__kvkk { display: flex; align-items: flex-start; gap: .45rem; font-size: 11.5px; color: var(--ink-3); }
.ftr__kvkk input { accent-color: var(--brand); margin-top: .12rem; }
.ftr__bot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.ftr__pay { display: flex; gap: .4rem; }
.ftr__pay i { padding: .18rem .5rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink-2); }

/* ---------------- WhatsApp ---------------- */
.wa { position: fixed; left: 1rem; bottom: 1rem; z-index: 500; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.wa svg { width: 26px; height: 26px; }
.wa:hover { background: #1fb856; }

/* ---------------- Duyarlı ---------------- */
@media (max-width: 1180px) {
  .chips__nav, .rail__nav { display: none; }
}
@media (max-width: 900px) {
  .mosaic__row--3, .mosaic__row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utilbar__l { display: none; }
  .ftr__news { grid-column: span 1; }
}
@media (max-width: 760px) {
  .hdr__top { flex-wrap: wrap; gap: .8rem 1rem; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hdr__acts { gap: .9rem; margin-left: auto; }
  .act > span { display: none; }
  .act--cart > span { display: inline; font-size: 12px; }
  .mosaic__row--2, .mosaic__row--3, .mosaic__row--4 { grid-template-columns: 1fr; }
  .bn { min-height: 150px; }
  .rail__track > .card { flex: 0 0 172px; }
}
@media (max-width: 420px) {
  .chip-cat { width: 76px; }
  .chip-cat__ph { width: 70px; height: 70px; }
}
