/* =============================================================
   page-products.css — Ürünler (urunler.html). Premium katalog / lookbook.
   Anasayfa dili: sıcak kâğıt + tek kırmızı, kâğıtta yüzen yuvarlak medya,
   katman/overlap ile derinlik, sakin tipografi, hairline ayraç YOK.
   ROOT'lar (her selector kökünden türer):
     .mcy-pworlds  : ürün dünyaları — asimetrik immersive bento (signature)
     .mcy-pfeature : öne çıkan koleksiyon — foto üstü yüzen kart (overlap)
     .mcy-pcat     : katalog — filtre + varyasyonlu editöryel ürün grid
     .mcy-pbrands  : markalar — yumuşak logo bulutu + güven satırı
   ============================================================= */

/* ====================================================================
   1) ÜRÜN DÜNYALARI — asimetrik immersive bento
   ==================================================================== */
.mcy-pworlds {
  --p-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; justify-content: center; background: var(--bg-color);
  padding: clamp(44px, 7vh, 92px) clamp(16px, 3vw, 40px) clamp(20px, 3vh, 40px);
}
.mcy-pworlds .mcy-pworlds__inner { width: 100%; max-width: 1280px; }

/* Asimetrik header (sol başlık, sağ açıklama) */
.mcy-pworlds .mcy-pworlds__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 48px; margin-bottom: clamp(24px, 3vw, 40px); }
.mcy-pworlds .mcy-pworlds__eyebrow { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--primary-color); }
.mcy-pworlds .mcy-pworlds__title { margin: 0; max-width: 18ch; font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.02; letter-spacing: -0.04em; color: var(--text-dark-dark); text-wrap: balance; }
.mcy-pworlds .mcy-pworlds__title b { color: var(--primary-color); }
.mcy-pworlds .mcy-pworlds__intro { flex: 0 1 38ch; margin: 0 0 6px; font-size: clamp(0.95rem, 1.15vw, 1.05rem); line-height: 1.55; color: rgba(28, 22, 18, 0.6); }

/* Bento ızgarası */
.mcy-pworlds .mcy-pworlds__bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(192px, 17vw, 230px); grid-auto-flow: row dense;
  gap: clamp(12px, 1.2vw, 18px);
}
.mcy-pworlds .mcy-pworlds__tile {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 22px; background: #241c15; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(18px, 1.6vw, 24px);
  box-shadow: 0 26px 50px -34px rgba(28, 22, 18, 0.4);
  transition: transform 0.4s var(--p-ease), box-shadow 0.4s var(--p-ease);
}
.mcy-pworlds .mcy-pworlds__tile--feature { grid-column: span 2; grid-row: span 2; }
.mcy-pworlds .mcy-pworlds__tile--wide { grid-column: span 2; }
.mcy-pworlds .mcy-pworlds__tile:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -38px rgba(28, 22, 18, 0.55); }
.mcy-pworlds .mcy-pworlds__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--p-ease); }
.mcy-pworlds .mcy-pworlds__tile:hover .mcy-pworlds__img { transform: scale(1.06); }
.mcy-pworlds .mcy-pworlds__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 6% 104%, rgba(234, 29, 38, 0.16) 0%, transparent 56%),
    linear-gradient(to top, rgba(18, 12, 8, 0.82) 0%, rgba(18, 12, 8, 0.18) 44%, rgba(18, 12, 8, 0.04) 72%);
}
.mcy-pworlds .mcy-pworlds__count { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(252, 251, 251, 0.7); }
.mcy-pworlds .mcy-pworlds__name {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 7px;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.04; letter-spacing: -0.03em; color: var(--text-light);
}
.mcy-pworlds .mcy-pworlds__tile--feature .mcy-pworlds__name { font-size: clamp(1.85rem, 2.7vw, 2.6rem); }
.mcy-pworlds .mcy-pworlds__arrow { display: inline-flex; flex-shrink: 0; color: var(--primary-color); opacity: 0; transform: translateX(-8px); transition: opacity 0.35s var(--p-ease), transform 0.35s var(--p-ease); }
.mcy-pworlds .mcy-pworlds__arrow .mcy-ico { width: clamp(18px, 1.8vw, 24px); height: clamp(18px, 1.8vw, 24px); }
.mcy-pworlds .mcy-pworlds__tile:hover .mcy-pworlds__arrow { opacity: 1; transform: translateX(0); }
.mcy-pworlds .mcy-pworlds__tag { margin-top: 9px; max-width: 32ch; font-size: 13px; line-height: 1.5; color: rgba(252, 251, 251, 0.8); }

/* ====================================================================
   2) ÖNE ÇIKAN KOLEKSİYON — foto üstü yüzen kart (overlap / derinlik)
   ==================================================================== */
.mcy-pfeature {
  --p-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; justify-content: center; background: var(--bg-color);
  padding: clamp(36px, 5vh, 72px) clamp(16px, 3vw, 40px);
}
.mcy-pfeature .mcy-pfeature__inner { position: relative; width: 100%; max-width: 1200px; }
.mcy-pfeature .mcy-pfeature__media {
  position: relative; overflow: hidden; border-radius: clamp(22px, 2.2vw, 30px);
  aspect-ratio: 16 / 8; background: #241c15;
  box-shadow: 0 50px 90px -56px rgba(28, 22, 18, 0.5);
}
.mcy-pfeature .mcy-pfeature__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--p-ease); }
.mcy-pfeature .mcy-pfeature__inner:hover .mcy-pfeature__photo { transform: scale(1.03); }
.mcy-pfeature .mcy-pfeature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(18, 12, 8, 0.28) 0%, transparent 46%); }
/* Yüzen beyaz kart — foto kenarına biner */
.mcy-pfeature .mcy-pfeature__card {
  position: absolute; left: clamp(20px, 3vw, 52px); bottom: clamp(-30px, -2.4vw, -24px);
  z-index: 2; width: min(440px, 80%);
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--card-bg); border-radius: 24px; padding: clamp(26px, 2.4vw, 36px);
  box-shadow: 0 46px 80px -38px rgba(28, 22, 18, 0.5);
}
.mcy-pfeature .mcy-pfeature__brand { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary-color); }
.mcy-pfeature .mcy-pfeature__name { display: block; margin: 14px 0 0; font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2.05rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--text-dark-dark); }
.mcy-pfeature .mcy-pfeature__text { display: block; margin: 14px 0 0; font-size: 14px; line-height: 1.65; color: rgba(28, 22, 18, 0.64); }
.mcy-pfeature .mcy-pfeature__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.mcy-pfeature .mcy-pfeature__meta span { padding: 6px 12px; border-radius: 999px; background: rgba(28, 22, 18, 0.05); font-size: 12px; font-weight: 500; color: rgba(28, 22, 18, 0.68); }
.mcy-pfeature .mcy-pfeature__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px; color: var(--primary-color); transition: gap 0.22s var(--p-ease); }
.mcy-pfeature .mcy-pfeature__card:hover .mcy-pfeature__cta { gap: 12px; }
.mcy-pfeature .mcy-pfeature__cta .mcy-ico { width: 16px; height: 16px; }

/* ====================================================================
   3) KATALOG — filtre + varyasyonlu editöryel ürün grid
   ==================================================================== */
.mcy-pcat {
  --p-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; justify-content: center; background: var(--bg-color);
  padding: clamp(44px, 7vh, 92px) clamp(16px, 3vw, 40px) clamp(48px, 7vh, 92px);
}
.mcy-pcat .mcy-pcat__inner { width: 100%; max-width: 1280px; }
.mcy-pcat .mcy-pcat__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 48px; margin-bottom: clamp(22px, 2.6vw, 34px); }
.mcy-pcat .mcy-pcat__eyebrow { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--primary-color); }
.mcy-pcat .mcy-pcat__title { margin: 0; font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.04; letter-spacing: -0.04em; color: var(--text-dark-dark); }
.mcy-pcat .mcy-pcat__title b { color: var(--primary-color); }
.mcy-pcat .mcy-pcat__intro { flex: 0 1 40ch; margin: 0 0 6px; font-size: clamp(0.92rem, 1.1vw, 1rem); line-height: 1.55; color: rgba(28, 22, 18, 0.6); }

/* Filtre — kayan kırmızı göstergeli sekme barı */
.mcy-pcat .mcy-pcat__bar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(24px, 2.8vw, 38px); }
.mcy-pcat .mcy-pcat__tabs { position: relative; display: flex; flex-wrap: nowrap; gap: clamp(14px, 2vw, 30px); max-width: 100%; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 12px; }
.mcy-pcat .mcy-pcat__tabs::-webkit-scrollbar { display: none; }
.mcy-pcat .mcy-pcat__tab {
  position: relative; white-space: nowrap; padding: 2px 0; background: none; border: 0; cursor: pointer;
  font-family: "Poppins", sans-serif; font-size: clamp(0.98rem, 1.3vw, 1.18rem); font-weight: 600; letter-spacing: -0.015em;
  color: rgba(28, 22, 18, 0.4); transition: color 0.25s var(--p-ease);
}
.mcy-pcat .mcy-pcat__tab:hover { color: rgba(28, 22, 18, 0.7); }
.mcy-pcat .mcy-pcat__tab.is-active { color: var(--text-dark-dark); }
.mcy-pcat .mcy-pcat__tab sup { margin-left: 3px; font-size: 0.6em; font-weight: 700; color: var(--primary-color); vertical-align: super; }
.mcy-pcat .mcy-pcat__ink { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; border-radius: 3px; background: var(--primary-color); box-shadow: 0 4px 10px -4px rgba(234, 29, 38, 0.6); transform: translateX(0); transition: transform 0.42s var(--p-ease), width 0.42s var(--p-ease); }
.mcy-pcat .mcy-pcat__count { flex-shrink: 0; padding-bottom: 12px; font-size: 13px; color: rgba(28, 22, 18, 0.5); white-space: nowrap; }
.mcy-pcat .mcy-pcat__count b { color: var(--text-dark); font-weight: 600; }

/* Izgara */
.mcy-pcat .mcy-pcat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.mcy-pcat .mcy-pcat__empty { display: none; grid-column: 1 / -1; padding: 44px 0; text-align: center; font-size: 15px; color: rgba(28, 22, 18, 0.55); }
.mcy-pcat .mcy-pcat__empty a { color: var(--primary-color); text-decoration: underline; text-underline-offset: 2px; }
.mcy-pcat .mcy-pcat__grid[data-empty="true"] .mcy-pcat__empty { display: block; }

/* Ürün kartı — açık "teşhir" kartı: beyaz yüzeyde çerçeveli ürün fotosu + rafine künye */
.mcy-pcat .mcy-pcat__card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--card-bg); border-radius: 22px; padding: 12px;
  box-shadow: 0 30px 56px -42px rgba(28, 22, 18, 0.42);
  transition: transform 0.4s var(--p-ease), box-shadow 0.4s var(--p-ease);
}
.mcy-pcat .mcy-pcat__card[hidden] { display: none; }
.mcy-pcat .mcy-pcat__card:hover { transform: translateY(-6px); box-shadow: 0 52px 88px -44px rgba(28, 22, 18, 0.5); }
.mcy-pcat .mcy-pcat__media { position: relative; overflow: hidden; border-radius: 15px; aspect-ratio: 4 / 3; background: #f3efe9; }
.mcy-pcat .mcy-pcat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--p-ease); }
.mcy-pcat .mcy-pcat__card:hover .mcy-pcat__media img { transform: scale(1.05); }
.mcy-pcat .mcy-pcat__cat {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark);
  box-shadow: 0 8px 18px -10px rgba(28, 22, 18, 0.4);
}
.mcy-pcat .mcy-pcat__body { display: flex; flex-direction: column; flex: 1; padding: 17px 8px 7px; }
.mcy-pcat .mcy-pcat__brand { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary-color); }
.mcy-pcat .mcy-pcat__name { margin-top: 6px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1.1rem, 1.45vw, 1.32rem); line-height: 1.16; letter-spacing: -0.025em; color: var(--text-dark-dark); }
.mcy-pcat .mcy-pcat__spec { margin-top: 6px; font-size: 13px; line-height: 1.45; color: rgba(28, 22, 18, 0.56); }
.mcy-pcat .mcy-pcat__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.mcy-pcat .mcy-pcat__incele { display: inline-flex; align-items: center; gap: 7px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px; color: var(--text-dark); transition: color 0.25s var(--p-ease), gap 0.25s var(--p-ease); }
.mcy-pcat .mcy-pcat__card:hover .mcy-pcat__incele { color: var(--primary-color); gap: 11px; }
.mcy-pcat .mcy-pcat__go {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 999px; background: rgba(28, 22, 18, 0.05); color: var(--text-dark);
  transition: background-color 0.28s var(--p-ease), color 0.28s var(--p-ease), transform 0.28s var(--p-ease);
}
.mcy-pcat .mcy-pcat__card:hover .mcy-pcat__go { background: var(--primary-color); color: var(--text-light); transform: translate(2px, -2px); }
.mcy-pcat .mcy-pcat__go .mcy-ico { width: 16px; height: 16px; }

/* ====================================================================
   4) MARKALAR — yumuşak logo bulutu + güven satırı
   ==================================================================== */
.mcy-pbrands {
  --p-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; justify-content: center; background: var(--bg-color);
  padding: 0 clamp(16px, 3vw, 40px) clamp(52px, 8vh, 100px);
}
.mcy-pbrands .mcy-pbrands__inner { width: 100%; max-width: 1280px; }
.mcy-pbrands .mcy-pbrands__panel { border-radius: clamp(24px, 2.4vw, 32px); background: #f3efe9; padding: clamp(30px, 4vw, 56px); }
.mcy-pbrands .mcy-pbrands__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 48px; margin-bottom: clamp(24px, 3vw, 38px); }
.mcy-pbrands .mcy-pbrands__eyebrow { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary-color); }
.mcy-pbrands .mcy-pbrands__title { margin: 0; max-width: 18ch; font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.06; letter-spacing: -0.035em; color: var(--text-dark-dark); text-wrap: balance; }
.mcy-pbrands .mcy-pbrands__title b { color: var(--primary-color); }
.mcy-pbrands .mcy-pbrands__intro { flex: 0 1 40ch; margin: 0 0 4px; font-size: clamp(0.92rem, 1.1vw, 1rem); line-height: 1.55; color: rgba(28, 22, 18, 0.62); }

.mcy-pbrands .mcy-pbrands__wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1vw, 14px); }
.mcy-pbrands .mcy-pbrands__logo {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2;
  border-radius: 14px; background: rgba(255, 255, 255, 0.7);
  transition: background-color 0.3s var(--p-ease), transform 0.3s var(--p-ease), box-shadow 0.3s var(--p-ease);
}
.mcy-pbrands .mcy-pbrands__logo:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(28, 22, 18, 0.3); }
.mcy-pbrands .mcy-pbrands__logo img { max-width: 64%; max-height: 46%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: filter 0.3s var(--p-ease), opacity 0.3s var(--p-ease); }
.mcy-pbrands .mcy-pbrands__logo:hover img { filter: grayscale(0); opacity: 1; }

/* Güven satırı (ayraç değil; ikon + metin) */
.mcy-pbrands .mcy-pbrands__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: clamp(22px, 2.6vw, 32px); }
.mcy-pbrands .mcy-pbrands__titem { display: inline-flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 13.5px; color: var(--text-dark); }
.mcy-pbrands .mcy-pbrands__tico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(234, 29, 38, 0.1); color: var(--primary-color); }
.mcy-pbrands .mcy-pbrands__tico .mcy-ico { width: 17px; height: 17px; }

/* ====================================================================
   Reveal gate (JS yoksa / reduced-motion'da içerik görünür)
   ==================================================================== */
.mcy-anim-ready .mcy-reveal { opacity: 0; transform: translateY(26px); }

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 980px) {
  .mcy-pworlds .mcy-pworlds__bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(178px, 30vw, 220px); }
  .mcy-pworlds .mcy-pworlds__tile--feature { grid-column: span 2; grid-row: span 1; }
  .mcy-pworlds .mcy-pworlds__tile--wide { grid-column: span 2; }
  .mcy-pcat .mcy-pcat__grid { grid-template-columns: repeat(2, 1fr); }
  .mcy-pbrands .mcy-pbrands__wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 680px) {
  .mcy-pworlds .mcy-pworlds__head, .mcy-pcat .mcy-pcat__head, .mcy-pbrands .mcy-pbrands__head { flex-direction: column; align-items: flex-start; }
  .mcy-pworlds .mcy-pworlds__intro, .mcy-pcat .mcy-pcat__intro, .mcy-pbrands .mcy-pbrands__intro { flex-basis: auto; }
  .mcy-pfeature .mcy-pfeature__media { aspect-ratio: 4 / 5; }
  .mcy-pfeature .mcy-pfeature__card { position: relative; left: 0; bottom: 0; width: auto; margin: -40px clamp(8px, 4vw, 20px) 0; }
}
@media (max-width: 560px) {
  .mcy-pworlds .mcy-pworlds__bento { grid-template-columns: 1fr; grid-auto-rows: clamp(200px, 56vw, 260px); }
  .mcy-pworlds .mcy-pworlds__tile--feature, .mcy-pworlds .mcy-pworlds__tile--wide { grid-column: span 1; }
  .mcy-pcat .mcy-pcat__grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .mcy-pbrands .mcy-pbrands__wall { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .mcy-pworlds .mcy-pworlds__img,
  .mcy-pfeature .mcy-pfeature__photo,
  .mcy-pcat .mcy-pcat__media img { transition: none; transform: none; }
  .mcy-pworlds .mcy-pworlds__tile:hover, .mcy-pcat .mcy-pcat__card:hover { transform: none; }
  .mcy-anim-ready .mcy-reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .mcy-pcat .mcy-pcat__cat { backdrop-filter: none; background: rgba(255, 255, 255, 0.95); }
}
