/* =========================================================
   Glam Baby Wear - Main Styles
   (Bootstrap 5 ile uyumlu, modern-soft UI)
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root{
  --bg: #ffffff;
  --text: #121212;
  --muted: rgba(18,18,18,.62);

  --soft: #fbf7f4;
  --soft2:#f3f6f6;

  --border: rgba(0,0,0,.07);
  --shadow: 0 14px 30px rgba(0,0,0,.06);

  --brand: #b07b67;          /* pastel kahve/rose */
  --brand-2: #111315;        /* koyu buton */
  --brand-3: #ffffff;

  --radius: 18px;
  --radius-lg: 26px;
}

/* ---------- Base ---------- */
html, body{
  height: 100%;
}
body{
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; }
img{ max-width: 100%; height: auto; }

::selection{
  background: rgba(176,123,103,.25);
}

.container{
  max-width: 1140px;
}

/* ---------- Helpers ---------- */
.section-title{
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-subtitle{
  color: var(--muted);
}
.rounded-4{ border-radius: var(--radius) !important; }

.text-muted{ color: var(--muted) !important; }

/* Chips */
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--border);
  font-size: 12px;
  line-height: 1;
  color: rgba(18,18,18,.78);
  white-space: nowrap;
}
.chip i{ font-size: 14px; }

/* ---------- Buttons (Bootstrap override minimal) ---------- */
.btn{
  border-radius: 14px;
  font-weight: 600;
}
.btn-dark{
  background: var(--brand-2) !important;
  border-color: var(--brand-2) !important;
}
.btn-dark:hover{
  filter: brightness(1.08);
}
.btn-outline-dark{
  border-color: rgba(0,0,0,.25) !important;
}
.btn-outline-dark:hover{
  background: rgba(0,0,0,.06) !important;
}

/* ---------- Forms focus ---------- */
.form-control:focus, .form-select:focus{
  border-color: rgba(176,123,103,.45);
  box-shadow: 0 0 0 .2rem rgba(176,123,103,.15);
}

/* ---------- Topbar ---------- */
.topbar{
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.topbar .topbar-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 10px 0;
  gap: 12px;
}
.topbar .left{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar .right{
  display:flex;
  gap: 16px;
}
.topbar a{
  text-decoration: none;
  color: rgba(18,18,18,.72);
}
.topbar a:hover{
  color: rgba(18,18,18,1);
}

/* ---------- Header / Navbar ---------- */
.site-header{
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
}
.brand{
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration:none;
  font-size: 18px;
}
.nav-links{
  display:flex;
  gap: 18px;
  align-items:center;
}
.nav-links a{
  text-decoration: none;
  color: rgba(18,18,18,.75);
  font-weight: 600;
  font-size: 14px;
}
.nav-links a:hover{
  color: rgba(18,18,18,1);
}
.header-actions{
  display:flex;
  gap: 10px;
  align-items:center;
}
.searchbox{
  display:flex;
  align-items:center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow:hidden;
  padding: 6px 8px 6px 14px;
  min-width: 280px;
}
.searchbox input{
  border:0;
  outline:none;
  width: 100%;
  font-size: 14px;
}
.searchbox button{
  border:0;
  width: 40px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-2);
  color:#fff;
}
.icon-btn{
  width: 40px;
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:#fff;
  text-decoration:none;
}
.icon-btn:hover{
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.hero{
  padding: 34px 0 12px;
}
.hero-card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  background: #fff;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(176,123,103,.22);
  background: rgba(176,123,103,.08);
  color: rgba(18,18,18,.78);
  font-size: 12px;
  font-weight: 700;
}
.hero h1{
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin: 14px 0 8px;
}
.hero p{
  color: var(--muted);
  max-width: 520px;
}
.hero-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero-right{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--border);
  background: var(--soft2);
}
.hero-right img{
  width:100%;
  height: 320px;
  object-fit: cover;
  display:block;
}
.hero-mini-cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.mini-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}
.mini-card .k{
  font-size: 12px;
  color: var(--muted);
}
.mini-card .v{
  font-weight: 800;
}
.mini-card a{
  font-size: 12px;
  color: #1b63ff;
  text-decoration:none;
}
.mini-card a:hover{ text-decoration: underline; }

/* ---------- Section spacing ---------- */
.section{
  padding: 28px 0;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.section-head .link{
  font-size: 13px;
  text-decoration:none;
  color: #1b63ff;
}
.section-head .link:hover{ text-decoration: underline; }

/* ---------- Category cards ---------- */
.cat-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  transition: .2s ease;
  height: 100%;
}
.cat-card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.cat-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--soft2);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.cat-title{
  font-weight: 800;
  font-size: 14px;
  margin: 0;
}
.cat-meta{
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Product cards ---------- */
.product-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  transition: .2s ease;
  height: 100%;
}
.product-card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.product-card .media{
  position: relative;
  background: var(--soft2);
}
.product-card .media img{
  width:100%;
  height: 200px;
  object-fit: cover;
  display:block;
}
.product-card .tag{
  position:absolute;
  top:12px;
  left:12px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.product-card .body{
  padding: 14px 14px 16px;
}
.product-card .title{
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 4px;
}
.product-card .meta{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.product-card .price{
  font-weight: 900;
  color: var(--brand);
  font-size: 14px;
}

/* ---------- Why / feature row ---------- */
.why-box{
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.why-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 14px;
}
.why-title{
  font-weight: 900;
  margin-bottom: 6px;
}
.why-text{
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.feature{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  display:flex;
  gap: 10px;
}
.feature .ico{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--soft2);
  border: 1px solid var(--border);
}
.feature .t{
  font-weight: 800;
  font-size: 13px;
}
.feature .d{
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Blog cards ---------- */
.blog-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  background: #fff;
  transition: .2s ease;
  height:100%;
}
.blog-card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.blog-card img{
  width:100%;
  height: 160px;
  object-fit: cover;
  display:block;
  background: var(--soft2);
}
.blog-card .body{
  padding: 14px;
}
.blog-card .meta{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.blog-card .title{
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 8px;
}
.blog-card .link{
  font-size: 12px;
  color: #1b63ff;
  text-decoration:none;
}
.blog-card .link:hover{ text-decoration: underline; }

/* ---------- Newsletter ---------- */
.newsletter{
  background: var(--soft2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.newsletter h3{
  font-weight: 900;
  margin-bottom: 6px;
}
.newsletter p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.newsletter .form{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:center;
  margin-top: 14px;
}
.newsletter input{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 280px;
  outline: none;
}
.newsletter button{
  border-radius: 14px;
}

/* ---------- Footer ---------- */
.footer{
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer .f-title{
  font-weight: 900;
  margin-bottom: 8px;
}
.footer .f-text{
  color: var(--muted);
  font-size: 13px;
}
.footer a{
  text-decoration:none;
  color: rgba(18,18,18,.72);
}
.footer a:hover{
  color: rgba(18,18,18,1);
}
.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb a{
  color: rgba(20,20,20,.7);
}
.breadcrumb a:hover{
  color: rgba(20,20,20,1);
}
.opacity-75{ opacity: .75; }

/* =========================================================
   CATEGORY PAGE (filters)
   ========================================================= */
.filter-box{
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:#fff;
  padding: 18px;
}

/* =========================================================
   PRODUCT PAGE (detail)
   ========================================================= */
.product-gallery .main{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #f6f6f6;
}
.product-gallery .main img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
@media (max-width: 991px){
  .product-gallery .main img{ height: 320px; }
}
.product-gallery .pbadge{
  position:absolute;
  top:14px; left:14px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.product-gallery .thumbs{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-top:12px;
}
.product-gallery .thumb{
  border:1px solid var(--border);
  border-radius: 14px;
  overflow:hidden;
  background:#fff;
  padding:0;
  cursor:pointer;
  transition: .2s ease;
}
.product-gallery .thumb.active,
.product-gallery .thumb:hover{
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.product-gallery .thumb img{
  width:100%;
  height:90px;
  object-fit: cover;
  display:block;
}
.price-box{
  background: var(--soft2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  display:flex;
  align-items: baseline;
  gap: 10px;
}
.price-box .old{
  color: rgba(0,0,0,.45);
  text-decoration: line-through;
  font-weight: 700;
}
.price-box .now{
  font-size: 28px;
  font-weight: 900;
}
.qty{
  display:flex;
  align-items:center;
  border:1px solid rgba(0,0,0,.1);
  border-radius: 14px;
  overflow:hidden;
  width: 160px;
  background:#fff;
}
.qbtn{
  width:44px;
  height:42px;
  background:#fff;
  border:0;
  font-size: 18px;
}
.qinput{
  width: 72px;
  height: 42px;
  border:0;
  text-align:center;
  outline:none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px){
  .searchbox{ min-width: 220px; }
  .why-grid{ grid-template-columns: 1fr; }
  .hero-right img{ height: 260px; }
  .nav-links{ display:none; } /* mobilde menüye geçebiliriz */
}

@media (max-width: 576px){
  .header-inner{ padding: 12px 0; }
  .searchbox{ display:none; }
  .product-card .media img{ height: 170px; }
  .newsletter input{ min-width: 100%; }
}

.category-box{
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:24px 18px;
  text-align:center;
  transition:.25s;
  background:#fff;
}
.category-box:hover{
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transform:translateY(-3px);
}
.category-box .icon{
  font-size:32px;
  color:#222;
  margin-bottom:10px;
}
.category-box .title{
  font-weight:600;
  margin-bottom:4px;
  color:#000;
}
.category-box .desc{
  font-size:13px;
  color:#777;
}

