/* ===== Defnem İç Giyim — Design System ===== */

:root {
  --rose: #f5527a;
  --rose-dark: #c43a5c;
  --rose-light: #f7a8bc;
  --plum: #45182a;
  --cream: #fdf7f5;
  --cream-alt: #fbeef1;
  --text: #4a2c35;
  --text-light: #8f7078;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(69, 24, 42, 0.08);
  --shadow-hover: 0 16px 40px rgba(69, 24, 42, 0.14);
  --container: 1220px;
  --ff-heading: "Playfair Display", Georgia, serif;
  --ff-body: "Jost", "Poppins", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--plum);
  margin: 0 0 .5em;
  font-weight: 600;
}
p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section-alt { background: var(--cream-alt); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--text-light); font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rose); color: var(--white); box-shadow: 0 8px 24px rgba(245, 82, 122, .35); }
.btn-primary:hover { background: var(--rose-dark); box-shadow: 0 12px 28px rgba(245, 82, 122, .45); }
.btn-outline { background: transparent; border-color: var(--plum); color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-light { background: var(--white); color: var(--rose-dark); }
.btn-light:hover { background: var(--rose-light); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; color: var(--white); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  /* backdrop-filter bilerek kullanılmıyor: bu, içindeki position:fixed mobil menüyü
     viewport yerine header'ın kendi (kısa) kutusuna göre konumlandırmasına sebep oluyordu
     — mobil menü açılınca sadece tek bir öğe sığacak kadar kısa görünüyordu. */
  background: var(--cream);
  border-bottom: 1px solid rgba(69,24,42,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; }
.logo-text { font-family: var(--ff-heading); font-size: 20px; color: var(--plum); font-weight: 700; }
.logo-text span { color: var(--rose); }

.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--rose-dark); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(69,24,42,.15);
  background: var(--white);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--plum);
  position: relative;
  transition: all .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--rose-light) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--rose); font-style: normal; }
.hero p.lead { font-size: 18px; color: var(--text-light); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--ff-heading); font-size: 30px; color: var(--plum); }
.hero-stats div span { font-size: 13px; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/5;
}
.hero-media .frame img, .hero-media .frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 4px rgba(37,211,102,.2); }

/* ===== Category Cards ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--plum);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .5s ease, opacity .3s; }
.cat-card:hover img { transform: scale(1.08); opacity: .55; }
.cat-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(69,24,42,0) 30%, rgba(69,24,42,.85) 100%);
  display: flex; align-items: flex-end;
  padding: 18px;
}
.cat-card span { color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.3; }

.cat-card.soon { background: linear-gradient(160deg, var(--rose-dark), var(--plum)); }
.cat-card.soon .overlay {
  background: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}
.soon-badge {
  background: rgba(255,255,255,.18);
  color: var(--rose-light) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--cream-alt); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media .product-gallery, .product-media .gallery-slide { height: 100%; }
.product-media .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.product-media .gallery-arrow { width: 26px; height: 26px; font-size: 14px; }
.product-media .gallery-prev { left: 8px; }
.product-media .gallery-next { right: 8px; }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--rose); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 100px; text-transform: uppercase;
}
.product-tag-soon {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: var(--plum); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 100px; text-transform: uppercase;
}
.coming-soon-note {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  background: var(--cream-alt); color: var(--plum);
  border: 1px solid rgba(69,24,42,.15);
  padding: 10px 18px; border-radius: 100px;
  font-weight: 600; font-size: 14px;
}
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 17px; margin: 0; }
.product-body .code { font-size: 13px; color: var(--text-light); }
.product-body .btn { margin-top: auto; white-space: normal; text-align: center; line-height: 1.3; }

.color-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.color-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(69,24,42,.15);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
  cursor: default;
}
a.color-dot { display: inline-block; cursor: pointer; }
a.color-dot:hover { box-shadow: inset 0 0 0 2px rgba(255,255,255,.6), 0 0 0 2px var(--rose); }

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(69,24,42,.15);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--rose); color: var(--rose-dark); }
.filter-btn.active { background: var(--plum); border-color: var(--plum); color: var(--white); }

.sort-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-light);
}
.sort-bar select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(69,24,42,.15);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
  cursor: pointer;
}
.sort-bar select:hover { border-color: var(--rose); }

.empty-cat {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 16px;
}

/* ===== About teaser / split sections ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .content h2 { font-size: clamp(26px, 3.6vw, 36px); }
.product-detail .content { display: flex; flex-direction: column; gap: 14px; }
.product-detail .media { aspect-ratio: auto; background: var(--cream-alt); position: relative; }

.product-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.product-gallery::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; }
.gallery-slide img { display: block; width: 100%; height: auto; object-fit: contain; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.85); color: var(--plum);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.gallery-arrow:hover { background: var(--white); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.swatch-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; font-size: 14px; }
.swatch-list li { display: flex; align-items: center; gap: 6px; }
.swatch-link { display: flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; cursor: pointer; }
.swatch-link:hover { color: var(--rose-dark); }
.feature-list { display: grid; gap: 18px; margin-top: 24px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-item h4 { margin: 0 0 4px; font-size: 16px; }
.feature-item p { margin: 0; font-size: 14px; color: var(--text-light); }

/* ===== Info strip ===== */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--plum);
  border-radius: var(--radius);
  padding: 44px 30px;
  color: var(--white);
}
.info-item { text-align: center; }
.info-item .num { font-family: var(--ff-heading); font-size: 34px; color: var(--rose-light); }
.info-item .label { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; opacity: .8; margin-top: 4px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--rose-dark), var(--rose));
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--plum); color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 { color: var(--white); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-about img { height: 44px; margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 1.7; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--rose-light); }
.footer-contact li { font-size: 14px; margin-bottom: 12px; display: flex; gap: 10px; }
.footer-ico { color: var(--rose-light); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background .2s;
}
.social-row a:hover { background: var(--rose); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--rose-light); }

/* ===== Catalog banner ===== */
.catalog-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1.5px solid var(--rose-light);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 40px;
}
.catalog-banner-text { display: flex; align-items: center; gap: 14px; }
.catalog-banner-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.catalog-banner h3 { margin: 0 0 2px; font-size: 17px; }
.catalog-banner p { margin: 0; font-size: 14px; color: var(--text-light); }

/* ===== Breadcrumb / page header ===== */
.page-header {
  background: linear-gradient(135deg, var(--rose-light), var(--cream));
  padding: 64px 0 48px;
  text-align: center;
}
.page-header h1 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 8px; }
.page-header .crumbs { font-size: 14px; color: var(--text-light); }
.page-header .crumbs a { color: var(--rose-dark); font-weight: 500; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow);
}
.contact-card .feature-icon { background: var(--rose-light); }
.contact-card h4 { margin: 0 0 4px; font-size: 15px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-light); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 420px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 8px 0; font-size: 14px; border-bottom: 1px dashed rgba(69,24,42,.1); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--plum); }

/* ===== About page ===== */
.about-body { max-width: 780px; margin: 0 auto; font-size: 16px; color: var(--text); }
.about-body p { margin-bottom: 20px; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: 100%; right: 24px; width: 200px; z-index: 250;
    background-color: var(--cream); opacity: 1; border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
    padding: 8px 20px; margin-top: 10px;
    max-height: 70vh; overflow-y: auto;
    visibility: hidden;
    transform: translateY(-8px);
    transition: transform .2s ease, visibility .2s;
  }
  .main-nav.open { visibility: visible; transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav ul > li { width: 100%; border-bottom: 1px solid rgba(69,24,42,.08); }
  .main-nav ul > li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 12px 0; }
  .main-nav .submenu { display: block; padding-left: 14px; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0; }
  .hero-media { order: -1; }
  .hero-copy { text-align: center; }
  .hero-copy p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner .cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-body .btn { white-space: normal; font-size: 12.5px; padding: 10px 8px; line-height: 1.3; text-align: center; }
  .product-body { padding: 14px 14px 16px; }
  .product-body h3 { font-size: 15px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: 1fr 1fr; padding: 30px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .cta-banner { padding: 36px 24px; }
}
