/* =====================================================
   CEREN GÜZEL BOUTIQUE — Public site stilleri (v2)
   Tasarım: krem zemin + koyu kahve · serif + sans
===================================================== */

:root {
  --bg:        #F5F1EC;
  --bg-2:      #FAF7F2;
  --card:      #FFFFFF;
  --text:      #3D332B;
  --muted:     #8B7E72;
  --line:      #C9BFB3;
  --line-soft: #E5DDD3;
  --accent:    #3D332B;
  --accent-hover: #2A2520;
  --sale:      #A0524D;
  --ok:        #7A8471;
  --warn:      #C49858;
  --shadow:    0 2px 18px rgba(60, 46, 32, 0.06);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --script:'Great Vibes', cursive;

  --header-h: 78px;
  --header-h-mobile: 60px;
}

* { box-sizing: border-box; min-width: 0; }

html { overflow-x: clip; }   /* sticky header'ı bozmaz */
body {
  margin: 0; padding: 0; font-family: var(--sans);
  color: var(--text); background: var(--bg);
  font-size: 14px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;          /* yatay scroll yasak ama sticky çalışır */
}

img, video, iframe { max-width: 100%; height: auto; }
table { max-width: 100%; }
pre, code { overflow-x: auto; max-width: 100%; }

/* Footer marka logosu — anasayfa logosunun büyük versiyonu */
.footer-brand { margin-bottom: 14px; line-height: 1; }
.footer-brand .fb-mono { font-family: var(--script); font-size: 42px; color: #FBF7F1; }
.footer-brand .fb-name { font-family: var(--serif); font-size: 16px; letter-spacing: 5px;
                          text-transform: uppercase; color: #FBF7F1; margin-top: 4px; }
.footer-brand .fb-sub  { font-size: 10px; letter-spacing: 3.5px; color: #B3A595;
                          text-transform: uppercase; margin-top: 3px; }

a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--muted); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; letter-spacing: .5px; line-height: 1.2; margin: 0; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-title {
  text-align: center; margin-bottom: 36px;
  font-family: var(--serif); font-size: 28px; letter-spacing: 4px; text-transform: uppercase;
}
.section-title::after { content:''; display:block; width:50px; height:1px; background:var(--line); margin:14px auto 0; }

/* =================== TOP BAR =================== */
.top-bar {
  background: var(--accent); color: #FBF7F1;
  text-align: center; font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 8px 16px;
}

/* =================== HEADER =================== */
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 90;
  transition: box-shadow .3s;
}
header.site.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 24px;
  height: var(--header-h);
  max-width: 1480px; margin: 0 auto;
  gap: 24px;
}

/* SOL — logo + hamburger */
.header-left { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none; padding: 6px; cursor: pointer;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 4px; align-items: center;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--text);
  transition: transform .3s;
}

.logo { display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo-mono { font-family: var(--script); font-size: 38px; color: var(--accent); line-height: .8; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-name { font-family: var(--serif); font-size: 16px; letter-spacing: 5px;
             text-transform: uppercase; }
.logo-sub  { font-size: 9px; letter-spacing: 3.5px; color: var(--muted); text-transform: uppercase; }

/* ORTA — menü */
.main-nav {
  display: flex; justify-content: center; gap: 30px; flex-wrap: nowrap;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  margin: 0; padding: 0; list-style: none;
}
.main-nav > li { position: relative; flex-shrink: 0; }
.main-nav > li > a { padding: 28px 0; display: inline-block; font-weight: 500; white-space: nowrap; }
.main-nav > li > a:hover { color: var(--muted); }
/* İndirim menü öğesi — göze çarpan kırmızı (masaüstü + mobil) */
.nav-sale { color: #D62828 !important; font-weight: 700 !important; letter-spacing: inherit; }
.nav-sale:hover { color: #A81E1E !important; }
.main-nav > li:hover > .submenu { display: block; }
.submenu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line-soft);
  min-width: 200px; padding: 12px 0; z-index: 60;
  box-shadow: var(--shadow);
}
.submenu a { display: block; padding: 8px 22px; font-size: 11px; letter-spacing: 1.5px; }
.submenu a:hover { background: var(--bg); }

/* SAĞ — ikonlar */
.icons { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.icon-btn {
  position: relative; display: inline-flex; padding: 8px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.icon-btn svg { width: 20px; height: 20px; stroke: var(--text); }
.icon-btn:hover svg { stroke: var(--muted); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: #fff; font-size: 9px;
  min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px;
  display: grid; place-items: center; font-weight: 600;
}

/* =================== ARAMA OVERLAY =================== */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(245,241,236,.97); backdrop-filter: blur(8px);
  z-index: 200; transform: translateY(-100%); transition: transform .35s ease;
  padding: 40px 24px;
}
.search-overlay.open { transform: translateY(0); }
.search-wrap { max-width: 720px; margin: 0 auto; position: relative; }
.search-form {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 12px;
}
.search-form input {
  flex: 1; background: transparent; border: 0; outline: 0;
  font-family: var(--serif); font-size: 22px; color: var(--text);
  padding: 8px 0;
}
.search-form input::placeholder { color: var(--muted); font-style: italic; }
.search-form button { padding: 8px; cursor: pointer; }
.search-form button svg { stroke: var(--accent); }
.search-close { font-size: 18px; color: var(--muted); margin-left: 8px; }
.search-suggestions { margin-top: 16px; max-height: 60vh; overflow-y: auto; }
.ss-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; background: #fff; border: 1px solid var(--line-soft);
  margin-bottom: 6px;
}
.ss-item img { width: 48px; height: 60px; object-fit: cover; background: var(--bg-2); }
.ss-item span { display: flex; flex-direction: column; flex: 1; }
.ss-item strong { font-weight: 500; font-size: 14px; }
.ss-item em { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }
.ss-empty { padding: 24px; text-align: center; color: var(--muted); font-style: italic; }

/* =================== MOBİL MENÜ DRAWER =================== */
.mobile-menu {
  position: fixed; top: 0; left: -85%; width: 85%; max-width: 360px; height: 100vh;
  background: #fff; z-index: 250;
  transition: left .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { left: 0; }
.mobile-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 240; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-backdrop.on { opacity: 1; pointer-events: auto; }

.mobile-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--line-soft);
}
.mobile-close { font-size: 22px; color: var(--muted); padding: 4px 8px; }
.mobile-search { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.mobile-search form { display: flex; background: var(--bg); border: 1px solid var(--line-soft); }
.mobile-search input {
  flex: 1; border: 0; background: transparent; padding: 10px 14px;
  font-size: 13px; outline: 0;
}
.mobile-search button { padding: 0 14px; }
.mobile-search button svg { stroke: var(--muted); }

.mobile-nav { padding: 8px 0; }
.mobile-cat { border-bottom: 1px solid var(--line-soft); }
.mobile-cat summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; cursor: pointer; list-style: none;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
}
.mobile-cat summary::-webkit-details-marker { display: none; }
.mobile-cat summary a { flex: 1; }
.mobile-cat .chev { font-size: 20px; color: var(--muted); transition: transform .2s; }
.mobile-cat[open] .chev { transform: rotate(90deg); }
.mobile-subs { background: var(--bg); padding: 4px 0; }
.mobile-subs a {
  display: block; padding: 10px 32px; font-size: 12px;
  letter-spacing: .5px; color: var(--text);
}
.mobile-subs a:hover { background: var(--bg-2); }

.mobile-menu-foot {
  margin-top: auto; padding: 16px 0; border-top: 1px solid var(--line-soft);
}
.mobile-menu-foot a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px; font-size: 13px; letter-spacing: .5px;
}
.mobile-menu-foot a svg { stroke: var(--muted); }
.mobile-menu-foot a:hover { background: var(--bg); }

/* =================== HERO =================== */
.hero { position: relative; background: var(--bg-2); }
.hero-slide {
  min-height: 480px; display: flex; align-items: center; justify-content: center;
  padding: 60px 24px; text-align: center; background-size: cover; background-position: center;
}
.hero h1 { font-family: var(--serif); font-size: 56px; letter-spacing: 6px;
           text-transform: uppercase; font-weight: 400; }
.hero p  { font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
           color: var(--muted); margin: 16px 0 28px; }

/* =================== BUTONLAR =================== */
.btn {
  display: inline-block; padding: 14px 32px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); cursor: pointer;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 500; transition: all .25s;
  text-align: center;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 10px; letter-spacing: 2px; }

/* =================== ÜRÜN KARTI =================== */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px;
}
.product-card { display: block; }
.product-card .img-wrap {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--bg-2); margin-bottom: 12px;
}
.product-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, opacity .4s;
}
.product-card .img-wrap img.alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .img-wrap img.alt { opacity: 1; }
.product-card:hover .img-wrap img.main { transform: scale(1.04); }
.product-card .badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.badge-new   { background: var(--accent); color:#fff; padding:4px 10px;
               font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.badge-sale  { background: var(--sale); color:#fff; padding:4px 10px;
               font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.fav-btn {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.95); border: 0; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
}
.fav-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 1.5; }
.fav-btn.active svg { fill: var(--sale); stroke: var(--sale); }
.product-card .pname {
  font-size: 13px; letter-spacing: .5px; line-height: 1.4;
  margin-bottom: 4px; min-height: 36px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .price { font-size: 14px; font-weight: 600; }
.product-card .price .old { text-decoration: line-through; color: var(--muted);
                            margin-right: 8px; font-weight: 400; }
.product-card .price .new { color: var(--sale); }

/* =================== KATEGORİ KARTI =================== */
.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cat-card {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover;
                transition: transform .6s; position: absolute; inset: 0; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .lbl {
  position: relative; z-index: 2;
  width: 100%; padding: 18px 12px;
  text-align: center; color: #fff;
  font-family: var(--serif); font-size: 18px;
  letter-spacing: 4px; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  background: linear-gradient(0deg, rgba(0,0,0,.4) 0%, transparent 100%);
}

/* =================== FOOTER =================== */
footer.site {
  background: var(--accent); color: #DCD0C0;
  padding: 56px 0 20px; margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px;
  margin-bottom: 36px;
}
footer h4 { color: #FBF7F1; font-family: var(--serif); font-size: 14px;
            letter-spacing: 4px; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; font-size: 13px; }
footer a { color: #DCD0C0; }
footer a:hover { color: #fff; }
.social { display: flex; gap: 14px; }
.social a {
  width: 36px; height: 36px; border: 1px solid #5A4E40;
  display: grid; place-items: center;
}
.social svg { width: 16px; height: 16px; fill: currentColor; }
.newsletter-form { display: flex; margin-top: 14px; min-width: 0; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 12px 14px; background: transparent;
  border: 1px solid #5A4E40; color: #fff; font-size: 12px; border-right: 0;
  outline: 0;
}
.newsletter-form input::placeholder { color: #998877; }
.newsletter-form button {
  padding: 12px 18px; background: #FBF7F1; color: var(--accent);
  border: 0; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; white-space: nowrap; cursor: pointer;
}
.copyright {
  border-top: 1px solid #5A4E40; padding-top: 20px;
  text-align: center; font-size: 11px; letter-spacing: 1px; color: #998877;
}

/* =================== FLOATING BUTONLAR =================== */
.float-actions {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .25s;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn svg { width: 24px; height: 24px; fill: currentColor; }
.float-btn.wa {
  background: #25D366;
  animation: wa-pulse 2.5s infinite;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 18px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.6); }
  60%  { box-shadow: 0 6px 18px rgba(37,211,102,.4), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 18px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}
.float-btn.top { opacity: 0; pointer-events: none; transition: opacity .3s, transform .25s; }
.float-btn.top.visible { opacity: 1; pointer-events: auto; }

/* =================== BREADCRUMB =================== */
.breadcrumb { padding: 16px 0; font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .current { color: var(--text); }

/* =================== KATEGORİ SAYFASI =================== */
.cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; }
.cat-sidebar h4 { font-family: var(--serif); font-size: 14px;
                  letter-spacing: 3px; text-transform: uppercase; margin: 0 0 14px;
                  padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.filter-group { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.filter-group label { display: flex; align-items: center; gap: 8px;
                      font-size: 13px; margin-bottom: 6px; cursor: pointer; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatches label {
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); position: relative;
}
.color-swatches input { position: absolute; opacity: 0; }
.color-swatches input:checked + .dot { box-shadow: 0 0 0 2px var(--accent); border-radius: 50%; }

.cat-toolbar { display: flex; justify-content: space-between; align-items: center;
               margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.cat-toolbar .count { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.mobile-filter-btn { display: none; }

/* =================== ÜRÜN DETAY =================== */
.product-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 24px 0; }
.gallery .main-img { aspect-ratio: 3/4; background: var(--bg-2); }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs img {
  width: 70px; height: 90px; object-fit: cover; cursor: pointer;
  border: 2px solid transparent;
}
.gallery .thumbs img.active { border-color: var(--accent); }

.product-info h1 { font-family: var(--serif); font-size: 28px; letter-spacing: 2px; margin-bottom: 10px; }
.product-info .sku { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 18px; }
.product-info .rating { display: flex; align-items: center; gap: 8px;
                        margin-bottom: 18px; font-size: 12px; color: var(--muted); }
.product-info .stars { color: var(--warn); letter-spacing: 2px; font-size: 16px; }
.product-info .price-box { margin: 20px 0; padding: 18px 0;
                            border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.product-info .price-now { font-size: 26px; font-weight: 600; color: var(--text); }
.product-info .price-old { text-decoration: line-through; color: var(--muted);
                            margin-left: 10px; font-size: 16px; }
.product-info .vat-info { font-size: 11px; color: var(--muted); margin-top: 4px; }

.variant-group { margin: 20px 0; }
.variant-group .lbl {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between;
}
.variant-group .lbl a { color: var(--accent); text-decoration: underline; }
.size-options, .color-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-options label, .color-options label {
  border: 1px solid var(--line); padding: 9px 18px; cursor: pointer;
  font-size: 12px; letter-spacing: 1.5px; min-width: 48px; text-align: center;
  transition: all .2s; position: relative;
}
.size-options input, .color-options input { position: absolute; opacity: 0; }
.size-options input:checked ~ .lab,
.color-options input:checked ~ .lab { background: var(--accent); color: #fff; }
.color-options label { width: 36px; height: 36px; padding: 0;
                        border-radius: 50%; }

/* Beden secili durum: tum kutuyu belirgin doldur (eskiden sadece harf arkasi boyaniyordu) */
.size-options input:checked ~ .lab { display: block; margin: -9px -18px; padding: 9px 18px; background: var(--accent); color: #fff; }
.size-options label:has(input:checked) { background: var(--accent); border-color: var(--accent); box-shadow: 0 2px 10px rgba(61,51,43,.28); }
.size-options label:has(input:checked) .lab { background: transparent; margin: 0; padding: 0; display: inline; color: #fff; }
.size-options label:hover { border-color: var(--accent); }

.qty-row { display: flex; align-items: center; gap: 14px; margin: 24px 0; }
.qty-stepper { display: flex; border: 1px solid var(--line); }
.qty-stepper button { width: 36px; height: 44px; background: transparent;
                       border: 0; font-size: 18px; color: var(--text); }
.qty-stepper input { width: 56px; height: 44px; text-align: center;
                     border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
                     font-size: 14px; background: #fff; }

.add-to-cart { flex: 1; padding: 16px; font-size: 12px; letter-spacing: 4px; }

.product-meta { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft);
                font-size: 12px; line-height: 2; color: var(--muted); }

.product-tabs { margin-top: 56px; }
.tab-nav { display: flex; border-bottom: 1px solid var(--line-soft); margin-bottom: 24px;
           overflow-x: auto; }
.tab-nav button {
  padding: 14px 24px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap;
}
.tab-nav button.active { color: var(--text); border-bottom-color: var(--accent); }
.tab-content { display: none; padding: 14px 0; font-size: 14px; line-height: 1.8; }
.tab-content.active { display: block; }

/* Mobil sticky CTA (ürün detay) */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px; z-index: 75;
  box-shadow: 0 -4px 12px rgba(0,0,0,.06);
}

/* =================== FORM ALANLARI =================== */
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],
input[type=date],input[type=datetime-local],input[type=search],input[type=url],textarea,select {
  padding: 10px 14px; border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 14px; color: var(--text); width: 100%;
  outline: 0;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 11px; letter-spacing: 1.5px;
                     text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* =================== RESPONSIVE =================== */
/* Tablet ve altı: masaüstü menü sığmadığı için hamburger'a geç (iPad yatay dahil) */
@media (max-width: 1200px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* CMS sayfa tabloları (Kargo ücreti vb.): hücreler üstten hizalı, sol sütun sabit — kayık görünmesin */
.page-content-body table td { vertical-align: top; }
.page-content-body table td:first-child { width: 42%; padding-right: 16px; }

/* CMS sayfa içeriği: 2 sütunlu inline grid'ler telefonda tek sütuna insin (İletişim vb.) */
@media (max-width: 700px) {
  .page-content-body [style*="grid-template-columns:1fr 1fr"],
  .page-content-body [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

@media (max-width: 900px) {
  :root { --header-h: var(--header-h-mobile); }

  .header-inner { grid-template-columns: auto 1fr auto; padding: 0 12px; gap: 6px;
                   width: 100%; max-width: 100%; }
  .header-left { min-width: 0; overflow: hidden; }
  .icons { min-width: 0; }
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .icons { gap: 2px; }
  .icon-btn { width: 36px; height: 36px; padding: 6px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .hide-mobile { display: none; }
  .logo-mono { font-size: 28px; }
  .logo-name { font-size: 13px; letter-spacing: 3.5px; }
  .logo-sub { font-size: 8px; letter-spacing: 2.5px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  h1 { font-size: 22px; }
  .hero h1 { font-size: 30px; letter-spacing: 4px; }
  .hero-slide { min-height: 340px; padding: 40px 20px; }
  .hero p { font-size: 11px; letter-spacing: 2px; }

  .container { padding: 0 14px; }
  .section { padding: 36px 0; }
  .section-title { font-size: 20px; letter-spacing: 3px; margin-bottom: 24px; }

  .cat-layout { grid-template-columns: 1fr; }
  .cat-sidebar { display: none; }
  .mobile-filter-btn { display: inline-block; }

  .cat-card { aspect-ratio: 4/5; }
  .cat-card .lbl { font-size: 13px; letter-spacing: 2.5px; padding: 14px 8px; }

  .product-info h1 { font-size: 22px; }
  .gallery .thumbs img { width: 56px; height: 72px; }

  /* sticky alt CTA mobile */
  .mobile-cta-bar { display: flex; align-items: center; gap: 10px; }
  body.has-mobile-cta { padding-bottom: 76px; }

  /* float WhatsApp daha küçük ve daha üstte (sticky CTA üstünde) */
  .float-actions { right: 12px; bottom: 80px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; }

  footer.site { padding: 36px 0 16px; margin-top: 40px; }
  .copyright { font-size: 10px; }

  .hero h1 { font-size: 26px; }

  /* tabs scroll */
  .tab-nav { gap: 0; }
}

@media (max-width: 480px) {
  .product-grid { gap: 12px 8px; }
  .product-card .pname { font-size: 12px; min-height: 32px; }
  .product-card .price { font-size: 13px; }
  .hero h1 { font-size: 22px; letter-spacing: 3px; }
  .hero p { font-size: 10px; }

  .logo { gap: 8px; }
  .logo-mono { font-size: 26px; }
  .logo-name { font-size: 11px; letter-spacing: 2.5px; }
  .logo-sub  { font-size: 7px; letter-spacing: 2px; }
}

/* iOS Safari fix — viewport-fit */
@supports (padding: max(0px)) {
  .float-actions { bottom: max(16px, env(safe-area-inset-bottom)); }
  .mobile-cta-bar { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* Erişilebilirlik */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
