/* Yeblin mağaza vitrini. Ölçü ve renkler eski (ikas) sitedeki tasarımdan alınmıştır. */
:root {
  --ink: #000;
  --dark: #232323;
  --green: #28632e;
  --marquee: #4f7336;
  --pink: #ffe8e8;
  --pink-text: #b05d5d;
  --navy: #000058;
  --soft: #f5f5f5;
  --softer: #fafafa;
  --muted: #9da5af;
  --line: #e4e4e7;
  --pad: clamp(16px, 3.75vw, 54px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.5 Poppins, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Duyuru şeridi */
.announce { background: var(--pink); color: var(--pink-text); height: 38px; overflow: hidden; font-size: 12px; font-weight: 500; letter-spacing: 0.48px; text-transform: uppercase; text-align: center; }
.announce div { animation: announce 8s infinite; }
.announce span { display: block; height: 38px; line-height: 38px; }
@keyframes announce { 0%, 42% { transform: translateY(0); } 50%, 92% { transform: translateY(-38px); } 100% { transform: translateY(0); } }

/* Üst menü */
.top { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: rgb(152, 152, 152) 0 5px 5px -7px; height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); }
.top nav { display: flex; align-items: center; margin-left: -15px; }
.top nav a, .top .after a { color: var(--green); font-size: 17px; font-weight: 700; padding: 0 15px; white-space: nowrap; }
.top nav a:hover, .top .after a:hover { opacity: 0.7; }
.top .logo img { width: 160px; height: 70px; object-fit: contain; }
.top .right { display: flex; align-items: center; justify-content: space-between; }
.top .after { margin-left: 22px; }
.top .icons { display: flex; align-items: center; gap: 22px; }
.top .icons a, .top .icons button, .top .menu-btn { display: inline-flex; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.top svg { width: 27px; height: 27px; fill: none; stroke: #000; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top .count { position: absolute; top: -8px; right: -9px; background: #000; color: #fff; border-radius: 50%; min-width: 17px; height: 17px; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 3px; }
.top .menu-btn { display: none; }
.search { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 14px var(--pad); box-shadow: rgb(152, 152, 152) 0 5px 5px -7px; gap: 8px; }
.search.open { display: flex; }
.search input { flex: 1; border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; }

.drawer { display: none; }
@media (max-width: 1100px) {
  .top { grid-template-columns: 1fr auto 1fr; height: 60px; }
  .top nav, .top .after { display: none; }
  .top .menu-btn { display: inline-flex; }
  .top .logo img { width: 110px; height: 50px; }
  .top .right { justify-content: flex-end; }
  .top .icons { gap: 18px; }
  .drawer { display: block; position: fixed; inset: 0; z-index: 40; visibility: hidden; }
  .drawer.open { visibility: visible; }
  .drawer .shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 0.2s; border: 0; width: 100%; }
  .drawer.open .shade { opacity: 1; }
  .drawer .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 85vw); background: #fff; padding: 20px; transform: translateX(-100%); transition: transform 0.25s; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
  .drawer.open .panel { transform: none; }
  .drawer a { color: var(--green); font-weight: 700; font-size: 17px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .drawer .close { align-self: flex-end; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px 8px; }
}

/* Kayan yazı */
.marquee { background: var(--marquee); color: #fff; height: 36px; overflow: hidden; white-space: nowrap; font-size: 20px; line-height: 36px; }
.marquee div { display: inline-block; animation: marquee 40s linear infinite; }
.marquee span { padding: 0 25px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Düğmeler */
.btn { display: inline-block; background: var(--dark); color: #fff; border: 0; padding: 11px 26px; font-size: 14px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; cursor: pointer; text-align: center; line-height: 21px; }
.btn.white { background: #fff; color: #000; }
.btn.label { letter-spacing: normal; text-transform: none; min-width: 150px; }
.btn:hover { opacity: 0.88; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Ana görsel (slider) */
.hero { position: relative; height: min(648px, 45vw); min-height: 420px; overflow: hidden; background: #ddd; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; visibility: hidden; display: grid; place-items: center; text-align: center; color: #fff; }
.hero .slide.on { opacity: 1; visibility: visible; }
.hero .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .slide > div { position: relative; padding: 0 70px; }
.hero h2 { font-size: clamp(28px, 3.75vw, 54px); font-weight: 900; line-height: 1.4; }
.hero p { font-size: clamp(16px, 1.9vw, 27px); font-weight: 900; margin-bottom: 14px; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 2px solid #000; background: transparent; cursor: pointer; display: grid; place-items: center; z-index: 2; padding: 0; }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: #000; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.arrow.prev { left: 42px; }
.arrow.next { right: 42px; }
.hero .dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; gap: 12px; justify-content: center; align-items: center; z-index: 2; }
.hero .dots button { width: 8px; height: 8px; border-radius: 8px; border: 0; background: #fff; padding: 0; cursor: pointer; transition: width 0.2s; }
.hero .dots button.on { width: 30px; background: #000; }

@media (max-width: 800px) { .hero { height: 520px; min-height: 0; } .hero > .arrow { display: none; } .hero .slide > div { padding: 0 20px; } }

/* Bölümler */
.section { padding: 36px var(--pad) 44px; }
.section.soft { background: var(--soft); }
.title-left { font-size: 30px; font-weight: 900; line-height: 45px; margin-bottom: 24px; }
.title-center { font-size: 35px; font-weight: 700; line-height: 52px; text-align: center; margin-bottom: 20px; }
.title-navy { font-size: 35.2px; font-weight: 900; color: var(--navy); text-align: center; line-height: 53px; margin-bottom: 20px; }
.band { background: var(--softer); height: 191px; display: grid; place-items: center; }
.band h2 { font-size: 29.25px; font-weight: 900; font-style: italic; text-decoration: underline; color: #2b2b2b; }

/* Ürün kartı ve sıralar */
.card { display: block; min-width: 0; }
.card .pic { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; }
.card .name { font-size: 14px; line-height: 20px; margin-top: 12px; min-height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card .price { font-size: 18px; font-weight: 900; margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .price s { font-weight: 400; color: #8a8a8a; font-size: 14px; }
.card .off { background: #000; color: #fff; font-size: 11px; font-weight: 700; padding: 6px 5px; line-height: 1; }
.card .hint { font-size: 13px; line-height: 20px; }
.card .sold { font-size: 12px; color: #8a8a8a; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; } }

.row { position: relative; }
.row .track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.row .track::-webkit-scrollbar { display: none; }
.row .track > * { scroll-snap-align: start; }
.row .arrow { top: 32%; width: 34px; height: 34px; background: rgba(255, 255, 255, 0.85); }
.row .arrow.prev { left: 0; }
.row .arrow.next { right: 0; }
@media (min-width: 800px) { .row .track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; } }
@media (min-width: 1100px) { .row .track { grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; } .row.five .track { grid-auto-columns: calc((100% - 72px) / 4.4); } }

/* Kategori görselleri */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 5px; align-items: start; }
.tile { position: relative; display: block; overflow: hidden; color: #fff; text-align: center; }
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile .over { position: absolute; left: 0; right: 0; bottom: 9%; padding: 0 12px; }
.tile h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 900; line-height: 1.5; }
.tile p { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.cats .tile { aspect-ratio: 465 / 581; }
.cats .tile.tall { aspect-ratio: 465 / 698; }
@media (max-width: 800px) { .cats { grid-template-columns: 1fr; } .cats .tile, .cats .tile.tall { aspect-ratio: 4 / 5; } }

/* Çok satanlar: solda görsel, sağda ürünler */
.best { display: grid; grid-template-columns: 23.5% minmax(0, 1fr); gap: 24px; align-items: start; }
.best > img { width: 100%; aspect-ratio: 314 / 350; object-fit: cover; }
@media (max-width: 800px) { .best { grid-template-columns: 1fr; } .best > img { display: none; } }

/* Koleksiyonlar */
.kol { background: linear-gradient(var(--pink) 0 54%, #fff 54%); padding: 16px var(--pad) 16px; }
.kol > h2 { font-size: 40px; font-weight: 900; color: #fff; line-height: 60px; margin: 44px 0 52px; }
.kol .tile { aspect-ratio: 1318 / 741; display: grid; place-items: center; }
.kol .tile .mid { position: relative; }
.kol .tile h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.5; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 16px var(--pad); }
.mosaic .left { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mosaic .tile { background: #fff; }
.mosaic .wide { grid-column: 1 / -1; aspect-ratio: 647 / 360; }
.mosaic .wide img { object-fit: contain; }
.mosaic .sq { aspect-ratio: 312 / 360; }
.mosaic .big { height: 100%; min-height: 420px; }
.mosaic .tile .over { bottom: 26px; }
@media (max-width: 800px) { .mosaic { grid-template-columns: 1fr; gap: 12px; } .mosaic .left { gap: 12px; } .kol > h2 { font-size: 28px; margin: 20px 0; } }

/* Özellikler */
.features { display: flex; justify-content: center; gap: clamp(24px, 8vw, 110px); padding: 32px var(--pad); flex-wrap: wrap; text-align: center; font-size: 14px; }
.features img { width: 35px; height: 35px; margin: 0 auto 10px; }

/* Bülten */
.news { position: relative; min-height: 314px; display: grid; place-items: center; text-align: center; color: #fff; padding: 40px 16px; background: #cecece; }
.news > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news > div { position: relative; }
.news h2 { font-size: 38.4px; font-weight: 900; line-height: 58px; }
.news form { display: flex; justify-content: center; margin-top: 22px; }
.news input { width: 280px; max-width: 60vw; height: 47px; border: 0; padding: 0 20px; font-size: 16px; background: #fff; color: #000; }
.news button { background: #000; color: #fff; border: 0; padding: 14px 15px; font-size: 14px; font-weight: 700; cursor: pointer; }
.news .done { font-weight: 700; margin-top: 18px; }

/* Alt bilgi */
.foot { background: #fff; }
.foot .in { padding: 15px var(--pad) 0; }
.foot .flogo { width: 88px; height: 50px; object-fit: contain; }
.foot .cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 24px; margin-top: 20px; min-height: 150px; }
.foot h3 { font-size: 18px; font-weight: 600; color: #1d1d1d; padding: 10px 0; line-height: 27px; }
.foot .cols a { display: block; color: var(--muted); font-size: 14px; line-height: 21px; margin-bottom: 12px; }
.foot .cols a:hover { color: #000; }
.foot address { font-style: normal; font-size: 15px; line-height: 1.25; padding-top: 10px; }
.foot .cols address a { display: inline; color: inherit; font-size: inherit; margin: 0; }
.foot .bar { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 30px; }
.foot .social { display: flex; gap: 18px; }
.foot .social svg { width: 24px; height: 24px; fill: none; stroke: #000; stroke-width: 2; }
.foot .pay { display: flex; gap: 8px; }
.foot .pay img { width: 36px; height: 24px; object-fit: contain; }
.foot .copy { background: #000; color: #fff; font-size: 13px; padding: 20px var(--pad); line-height: 21px; }
@media (max-width: 800px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

.wa { position: fixed; right: 30px; bottom: 30px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; z-index: 20; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); }
.wa svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Kategori sayfası */
.listing { padding: 24px var(--pad) 60px; min-height: 60vh; }
.listing .head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 16px; }
.listing h1 { font-size: 30px; font-weight: 400; line-height: 45px; }
.listing .head span { font-size: 11px; color: #555; }
.listing .tools { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 20px; }
.listing .tools input { border: 1px solid #ececec; padding: 0 10px; height: 42px; font-size: 13px; width: 100%; }
.sorts { display: flex; background: var(--softer); overflow-x: auto; scrollbar-width: none; }
.sorts a { padding: 0 20px; font-size: 13px; line-height: 42px; white-space: nowrap; border-bottom: 2px solid transparent; }
.sorts a.on { background: var(--soft); border-bottom-color: #000; }
.empty { color: #666; padding: 60px 0; text-align: center; }
@media (max-width: 800px) { .listing .tools { grid-template-columns: 1fr; gap: 10px; } }

/* Ürün sayfası */
.pdp { padding: 14px var(--pad) 40px; }
.pdp .crumb { font-size: 13px; display: inline-block; margin-bottom: 18px; }
.pdp .cols { display: grid; grid-template-columns: minmax(0, 1fr) 30.5%; gap: 44px; align-items: start; }
.gallery { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; }
.gallery .thumbs { display: flex; flex-direction: column; gap: 14px; max-height: 620px; overflow-y: auto; scrollbar-width: none; }
.gallery .thumbs button { border: 1px solid transparent; padding: 0; background: #fff; cursor: pointer; aspect-ratio: 1; display: grid; place-items: center; }
.gallery .thumbs button.on { border-color: #000; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery .stage { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; min-height: 0; }
.gallery .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery .stage .arrow { width: 40px; height: 40px; }
.gallery .stage .arrow.prev { left: 0; }
.gallery .stage .arrow.next { right: 0; }
.gallery .ph { background: var(--soft); width: 100%; height: 100%; }
.info h1 { font-size: 15px; font-weight: 400; line-height: 23px; }
.info .code { font-size: 11px; color: #666; margin-top: 12px; }
.info .price { font-size: 14px; font-weight: 900; margin: 30px 0 28px; display: flex; gap: 10px; align-items: center; }
.info .price s { font-weight: 400; color: #8a8a8a; }
.info .price .off { background: #000; color: #fff; font-size: 11px; padding: 6px 5px; line-height: 1; }
.info fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.info legend { font-size: 12px; color: #666; padding: 0; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; }
.opts span { display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 12px; border: 1px solid #ececec; font-size: 12px; font-weight: 700; cursor: pointer; background: #fff; }
.opts input:checked + span { background: #000; color: #fff; border-color: #000; }
.opts input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.opts input:disabled + span { color: #bbb; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - 1px), #ddd, transparent calc(50% + 1px)); }
.info .add { width: 100%; height: 56px; font-weight: 900; font-size: 13px; letter-spacing: 0; }
.info .ok { background: #e8f5e9; color: #1b5e20; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.info .ok a { text-decoration: underline; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; font-size: 11px; line-height: 15px; }
.perks div { display: flex; align-items: center; gap: 12px; }
.perks img { width: 30px; height: 30px; }
.info details { background: var(--softer); padding: 14px 16px; }
.info summary { font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.info summary::-webkit-details-marker { display: none; }
.info summary::after { content: "+"; font-size: 16px; line-height: 1; }
.info details[open] summary::after { content: "–"; }
.info .desc { font-size: 11px; line-height: 14px; white-space: pre-line; margin-top: 14px; }
@media (max-width: 900px) {
  .pdp .cols { grid-template-columns: 1fr; gap: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .gallery .thumbs button { width: 64px; flex: none; }
  .info h1 { font-size: 18px; line-height: 27px; }
  .info .code { font-size: 13px; }
  .info .price { font-size: 17px; }
  .info legend { font-size: 14px; }
  .opts span { font-size: 13px; }
  .info .add { font-size: 15px; }
  .perks { grid-template-columns: 1fr; font-size: 13px; }
  .info summary { font-size: 14px; }
  .info .desc { font-size: 13px; line-height: 18px; }
}

/* Sepet ve düz sayfalar */
.page { padding: 28px var(--pad) 64px; max-width: 1100px; margin: 0 auto; min-height: 60vh; }
.page h1 { font-size: 30px; font-weight: 400; margin-bottom: 20px; }
.cart-lines { list-style: none; padding: 0; margin: 0 0 24px; }
.cart-lines li { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-lines img, .cart-lines .ph { width: 84px; height: 84px; object-fit: contain; background: var(--softer); }
.cart-lines form { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.cart-lines input[type="number"] { width: 64px; border: 1px solid var(--line); padding: 6px 8px; }
.cart-lines .mini { background: #fff; border: 1px solid var(--line); padding: 6px 12px; font-size: 12px; cursor: pointer; }
.note { color: #666; font-size: 13px; }
.totals { max-width: 380px; margin-left: auto; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 5px 0; }
.totals .sum { font-weight: 900; font-size: 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.totals .btn { width: 100%; margin-top: 16px; height: 52px; }
.prose { white-space: pre-line; font-size: 14px; line-height: 1.7; }
